text
stringlengths
10
953k
import classNames from 'classnames'; import React from 'react'; import { SETTINGS } from 'core/config/settings'; import { IPipelineTemplateV2 } from 'core/domain/IPipelineTemplateV2'; import { Spinner } from 'core/widgets/spinners/Spinner'; import { IPipelineTemplate } from '../config/templates/PipelineTemplateReader...
import * as React from 'react'; import { IconProps } from './types'; const LeftArrowI: React.FunctionComponent<IconProps> = (props) => { const color = props.color ? props.color : "#000"; return ( <svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg" clas...
import languages from '../../res/languages.json'; export interface ISO639Language { name: string; local: string; '1': string; '2': string; '2T': string; '2B': string; '3': string; } /** * "und" is intended for cases where the language in the data * has not been identified, such as when it is mislabele...
export const podsInputCNPJ =
import * as React from "react"; import * as ReactDOM from "react-dom"; import * as Constants from "../constants"; import { Toolbar, IItem, IFlyoutMenu, DEFAULT_TOOLBAR_SIZE, TOOLBAR_BACKGROUND_COLOR } from "./toolbar"; import { PlaceholderComponent } from "../api/registry/component"; import { tr } f...
import * as ReactDOM from "react-dom"; import App from "./App"; it("renders without crashing", () => { const div = document.createElement("div"); ReactDOM.render(<App />, div); ReactDOM.unmountComponentAtNode(div); });
import { getObjectList, getObjectURL, ObjectStorageClusterID, ObjectStorageObject } from '@linode/api-v4/lib/object-storage'; import { APIError } from '@linode/api-v4/lib/types'; import { withSnackbar, WithSnackbarProps } from 'notistack'; import { prop, sortBy } from 'ramda'; import * as React from 'react'; im...
import { UploadedArtworkIndex } from "../../../../common/tableDefinitions"; export const RequestValidationSchema = { "type": "object", "properties": { body: { "type": "object", "properties": { "uploaderId": { "type": "string" }...
/** * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; import { StoreModule } from '@ngrx/store'; import { RTLReducer } from '../../../../../store/rtl.reducers'; import { CommonService } from '../../../../../shared/services/common.service'; import { LoggerService } from '../../../../../shared...
import * as React from 'react' function SvgTwitterIcon(props: React.SVGProps<SVGSVGElement>) { return ( <svg aria-hidden="true" data-prefix="fab" data-icon="twitter" className="twitter-icon_svg__svg-inline--fa twitter-icon_svg__fa-twitter twitter-icon_svg__fa-w-16" xmlns="http://www...
import * as React from 'react'; import { CounterBadge } from '..'; import { classes } from './CounterBadgeExtendedGood.st.css'; export const CounterBadgePerf = () => { return <CounterBadge className={classes.root} value={20} />; };
import { NavMenuLink } from './NavMenu.model'; const NavLinks: NavMenuLink[] = [ { name: 'About Us', path: '/about-us' }, { name: 'Services', path: '/services', subMenu: [ { name: 'Transfer', path: '/services/transfer' }, { name: 'Food Order', path: '/services/menu' }, ], }, { name:...
import IListInterface from '../interfaces/list.interface' import IBookInterface from '../interfaces/book.interface' class List implements IListInterface { public id: string; public userId: string; public books: IBookInterface; constructor(book: IListInterface) { Object.assign(this, book); ...
/* eslint-disable */ // This file is automatically generated import React from 'react' import createIcon from './base/createIcon' const svgElement = ( <svg viewBox='0 0 512 512'> <rect width='288' height='352' x='112' y='32' fill='none' strokeMiterlimit='10' strokeWidth='32' rx='48' ry='48'/><path fill='n...
import "phaser"; import { Resource } from "src/components/resource" import { ResourceType } from "src/components/resourceType"; import { Random } from "src/utils/random"; import { CountersRepo } from "src/components/countersRepo"; const valueMinedPerClick = 3; const treeTypes = [ new ResourceType('tree1', 7), new ...
import { Injectable } from '@angular/core'; import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpErrorResponse, } from '@angular/common/http'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/retry' import { ErrorsService } from '../@services/error.service'; ...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import chalk from 'chalk'; import fs from 'fs'; import path from 'path'; import {execSync, spawn, ChildProcess} from...
import VehicleDoor from "./VehicleDoor"; export default interface Vehicle { vehicleCategoryId: string; vehicleCategoryName: string; platformIds?: string[]; children: VehicleChild[]; } export interface VehicleChild { vehicleCategoryId: string; childSequence: number; doors: VehicleDoor[]; }
import { OutputClient } from '../../types'; import { GeneratorClientExtra, GeneratorOperations, GeneratorOptions, GeneratorVerbsOptions, } from '../../types/generator'; import { pascal } from '../../utils/case'; import { generateAngular, generateAngularFooter, generateAngularHeader, generateAngularTitle...
export * from './IClientDataAccess'; export * from './IUserDataAccess'; export * from './IDataAccessLayer'; export * from './IRoleDataAccess';
/* tslint:disable */ /* eslint-disable */ import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type ArtworkInquiryForm_artwork = { readonly internalID: string; readonly title: string | null; readonly date: string | null; readonly artist: { readonl...
import React, {useCallback} from 'react'; import {signIn, signOut, useSession} from "next-auth/react"; import styles from "../../styles/NavBar.module.css" import {LoginButton} from "@/components/NavBar/LoginButton"; import {RegisterButton} from "@/components/NavBar/RegisterButton"; interface NavBarProps { } export f...
import {CSSModule} from '../index'; interface Props { tag?: React.ReactType; active?: boolean; disabled?: boolean; color?: string; action?: boolean; className?: string; cssModule?: CSSModule; href?: string; } declare var ListGroupItem: React.StatelessComponent<Props>; export default ListGroupItem;
declare module 'next-manifest/manifest';
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from '../../../../environments/environment'; import { share } from 'rxjs/operators'; @Injectable({ providedIn: 'root' }) export class EmployeeDbService { employee_url = '/api/grh/employee/'; con...
import { Log } from 'bblog'; import { GameServerPacket } from '../gs.packet'; import { GamePacket } from './game.server'; import { UnitType } from '../../core/unit'; import { BitReader } from '../../util/bit/bit.reader'; import { NpcSuperUnique } from '../../core/super.unique'; import { SessionState } from '../state/se...
import { Component, Input, AfterContentInit, ElementRef, HostBinding, TemplateRef, ViewChild, ContentChild } from "@angular/core"; import { TextArea } from "./text-area.directive"; /** * [See demo](../../?path=/story/input--label) * * ```html * <ibm-label labelState="success"> * <label label>Field with ...
/** * Helpers for marking up CodeMirror editors. */ import * as py from "@andrewhead/python-program-analysis"; import { ICodeCellModel } from "@jupyterlab/cells"; import { NotebookPanel } from "@jupyterlab/notebook"; import { PanelLayout, Widget } from "@phosphor/widgets"; import { LineHandle } from "codemirror"; /* ...
import { applyMiddleware, createStore, combineReducers } from "redux"; import { createEpicMiddleware } from "redux-observable"; import { AnyAction, Success } from "typescript-fsa"; import { BehaviorSubject } from 'rxjs'; import { mergeMap } from 'rxjs/operators'; import { initReducers, initEpics } from "./init/InitRedu...
import React, { ChangeEvent, useCallback, useMemo } from 'react'; import { Text, Box, BaseInput } from '@tlon/indigo-react'; import { PropFunc } from '~/types'; type StatelessUrlInputProps = PropFunc<typeof BaseInput> & { value?: string; error?: string; focussed?: boolean; disabled?: boolean; onChange?: (va...
import { Controller, Post, Body, Res, Req, BadRequestException } from '@nestjs/common' import { Request, Response } from 'express' import * as path from 'path' import { NotificationsService } from '../../notifications/services/notifications.service' import { AccountService } from '../../account/service/account.service'...
import { MathFunctions, Vec2, Vec3, BooleanParameter, NumberParameter, Vec2Parameter, Vec3Parameter, ListParameter, StructParameter, TreeItemParameter, Operator, OperatorOutputMode, Registry, Xfo, XfoOperatorOutput, } from '@zeainc/zea-engine' /** Class representing an explode part parame...
export function isDOMNode(node: any): node is Element | Text { return node.nodeType && (node.nodeType === Node.ELEMENT_NODE || node.nodeType === Node.TEXT_NODE); } export function isElement(node: any): node is Element { return node.nodeType === Node.ELEMENT_NODE; } // a range for test TextNode clientRect const cy...
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { nombre:string = 'Brayan'; apellido:string = "Laínez"; }
import { async, ComponentFixture, TestBed } from '@angular/core/testing' import { SettingsComponent } from './settings.component' describe('SettingsComponent', () => { let component: SettingsComponent let fixture: ComponentFixture<SettingsComponent> beforeEach(async(() => { TestBed.configureTestingModule({...
import classNames from 'classnames' import type { CSSProperties, FC, RenderProp } from '../helpers/types' import FormFooter from './FormFooter' const FxForm: FC<{ style?: CSSProperties renderFooter?: RenderProp }> = props => { const classes = classNames('fx-form', props.className) return ( <div className=...
export * from './patient.model'; export * from './patients.service'; export * from '../list'; export * from './patient-attend.directive';
import { getScrollElement, scrollByPoint } from '../../content'; import { pointerCoord, raf } from '../../helpers'; import { isFocused, relocateInput } from './common'; import { getScrollData } from './scroll-data'; export const enableScrollAssist = ( componentEl: HTMLElement, inputEl: HTMLInputElement | HTMLText...
/// <reference path="../../../../typings/angularjs/angular.d.ts"/> /// <reference path="../../../../typings/angular-file-upload/angular-file-upload.d.ts"/> /// <reference path="../../../../typings/jquery/jquery.d.ts"/> var addfirendCtr = angular.module("webim.addfirend", ["webim.main.server"]); addfirendCtr.controlle...
import { NextApiRequest, NextApiResponse } from "next"; import { $backend } from "../../../lib/backend"; import { values, mapValues, isUndefined } from "lodash-es"; import { Sites } from "../../../lib/sites"; import { importer } from "../../../lib/import"; export const algoliaKeys = async (req: NextApiRequest, res: Ne...
import { assertSuccess, assertAnnotated } from './testHelper'; describe('use-host-property-decorator', () => { it('should fail when "host" is used in @Component', () => { let source = ` @Component({ host: { ~~~~~~~ '(click)': 'bar()' } ~ }) class Bar {}...
import { openScreen } from './screens.js'; import * as GameScreen from './screens/game.js'; import * as ResultScreen from './screens/result.js'; GameScreen.setTurnHandler( turnHandler ); GameScreen.setTurnHandler2( turnHandler2 ); GameScreen.setTurnHandler3( turnHandler3 ); GameScreen.setTurnHandler4( turnHandler4 ...
import { Component, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import escape from 'lodash-es/escape'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/startWith'; import { Observable } from 'rxjs/Observable'; import { routeAnimation } from '../../../core/common/route.animation...
import { registerPlugin } from '@capacitor/core'; import type { PushNotificationsPlugin } from './definitions'; const PushNotifications = registerPlugin<PushNotificationsPlugin>('PushNotifications'); export * from './definitions'; export { PushNotifications };
export default { get name(): string { return 'ExpoSecureStore'; }, };
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import * as React from 'react'; import { Tool } from 'react-svg-pan-zoom'; import { Image, ImageName } from '../react-common/image'; import { ImageButton } from '../react-common/imageButton'; import { getLocStr...
import * as sinon from 'sinon'; import { expect } from 'chai'; import { WebSocketGateway } from '../utils/socket-gateway.decorator'; import { WebSocketServer } from '../utils/gateway-server.decorator'; import { SubscribeMessage } from '../utils/subscribe-message.decorator'; import { GatewayMetadataExplorer } from '../g...
const lineHeights = { 8: '0.5rem', 12: '0.75rem', 14: '0.875rem', 16: '1rem', 18: '1.1125rem', 20: '1.25rem', 22: '1.375rem', 24: '1.50rem', 28: '1.75rem', 32: '2rem', 36: '2.25rem', 56: '3.5rem', 72: '4.5rem', 80: '5rem', 96: '6rem' }; export { lineHeights };
import { Discord, On, ArgsOf, Client } from '@typeit/discord'; import { MessageAttachment } from 'discord.js'; import { getVideoMeta, Result } from 'tiktok-scraper'; import fetch from 'node-fetch'; import { config, debug } from 'core/config'; const linkify = require('linkifyjs'); @Discord('!') class NewMessageHandle...
version https://git-lfs.github.com/spec/v1 oid sha256:239bd848b55e42a86d9fb7e9bc300bc82083926161fe4fe6f609226800e4d8b8 size 2737656
import { isValid, isFn, isMap, isWeakMap, isSet, isWeakSet, isPlainObj, isArr, } from './checkers' import { ProxyRaw, MakeObservableSymbol } from './environment' import { Annotation } from './types' const RAW_TYPE = Symbol('RAW_TYPE') const OBSERVABLE_TYPE = Symbol('OBSERVABLE_TYPE') const hasOwnProper...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import * as coreClient from "@azure/core-client"; import * as coreAuth from "@azure/core-...
angular.module('app').directive('uxdKeyboardServiceWrapper', () => { return { restrict: 'E', template: require('./keyboard-service-wrapper.directive.html'), controller: ['$scope', 'keyboardService', function ($scope, keyboardService) { var vm = this; vm.testKeyInput ...
import { Nullable } from "../types"; import { Tools } from "./tools"; import { Vector3 } from "../Maths/math.vector"; import { Scalar } from "../Maths/math.scalar"; import { SphericalPolynomial } from "../Maths/sphericalPolynomial"; import { InternalTexture } from "../Materials/Textures/internalTexture"; import { BaseT...
import * as React from 'react'; import { PureComponent } from 'react'; import { WithProviders, ContextIdentifierProvider, } from '@atlaskit/editor-common'; import { ProviderFactory } from '@atlaskit/editor-common'; import { MediaCard, MediaCardProps, MediaProvider } from '../../ui/MediaCard'; export interface Medi...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { FormattedMessage } from '@kbn/i18n/react'; import React, { FC } from...
export default `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><circle cx="10" cy="10" r="9" fill="currentColor"/><path d="M10 0C4.486 0 0 4.486 0 10s4.486 10 10 10 10-4.486 10-10S15.514 0 10 0m0 18c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8-3.589 8-8 8M7 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m6-2a1 1 0 1 0 0 2 1...
import { Extension, MenuData, CommandGetter } from 'tiptap'; import { CommandFunction } from 'tiptap-commands'; import { MenuBtnView, MenuBtnComponentOptions } from '@/../types'; import { setTextAlign, isTextAlignActive } from '@/utils/text_align'; import { Alignment, ALIGN_PATTERN } from '@/constants'; import CommandB...
import { gql } from 'apollo-server'; const typeDefs = gql` extend type Query { collectionDetails(slug: ID, draft: Boolean): CollectionDetails! collectionList(visibleOnFrontpage: Boolean): CollectionListResponse! } type CollectionListResponse { data: [CollectionDetails!]! } type CollectionDetail...
/* * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
import Head from "next/head"; import { Content } from "carbon-components-react"; import { AuthDevOnly } from "@/modules/auth/client"; import { MessagingServiceProvider } from "@/modules/messaging/client/context"; import { MessagingAllInOne } from "@/modules/messaging/client/components/MessagingAllInOne"; export defau...
import * as redis from 'redis'; import { GitHubRepositoryJsonCacheRepository } from '../domain/GitHubRepositoryJsonCacheRepository'; import { RedisGitHubRepositoryJsonCacheRepository } from './RedisGitHubRepositoryJsonCacheRepository'; export class RedisGitHubGistJsonCacheRepository extends RedisGitHubRepositoryJ...
import * as React from 'react'; interface Props { userName : string; onChange : (name : string) => any } export const NameEditComponent = (props: Props) => { return ( <div> <label>Update Name:</label> <input value={props.userName} onChange={(e : any) => props.onChange(e.target.v...
import { Injectable } from '@angular/core'; import { AngularFirestore, AngularFirestoreCollection, AngularFirestoreDocument } from 'angularfire2/firestore'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { Session } from '../models'; @Injectable({ providedIn: 'root...
import { NextFunction, Request, Response } from 'express'; import { validationResult } from 'express-validator'; class ValidationResponder { constructor() { } static fieldValidationResponder() { return (req: Request, res: Response, next: NextFunction) => { const errors = validationResult(req); i...
import { AfterViewInit, Component, ViewChild, OnInit, OnDestroy} from '@angular/core'; import { MatPaginator} from '@angular/material/paginator'; import { MatTableDataSource} from '@angular/material/table'; import { MatSort} from '@angular/material/sort'; import { Subscription } from 'rxjs'; import { MatSnackBar } f...
import React from 'react'; import Document, { Html, Head, Main, NextScript, DocumentInitialProps, DocumentContext, } from 'next/document'; import { ServerStyleSheet } from 'styled-components'; export default class MyDocument extends Document { static async getInitialProps( ctx: DocumentContext, )...
import React from 'react'; import ProCard from 'infrad-pro-card'; export default () => { return ( <> <ProCard title="横向内部卡片" bordered headerBordered gutter={16}> <ProCard title="内部卡片标题" type="inner" bordered> 内部卡片内容 </ProCard> <ProCard title="内部卡片标题" type="inner" bordered>...
import { HomeAssistant } from "custom-card-helpers"; import { HassEntity } from "home-assistant-js-websocket"; import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit"; import { customElement, property } from "lit/decorators.js"; import { classMap } from "lit/directives/class-map.js"; import "../../....
import { Response, Request } from 'express' import { queryArticleList, createArticle, editArticle, queryArtChildren, ArtItem, queryFullText } from '../model/article' import env from '../../config' const getTrees = async (list: ArtItem[], levelLimit: number, res: any[] = []) => { if (levelLimit-- === 0) r...
'use strict'; const r1 = /\s+'[^ "]+'[ ]*:/g; const r2 = /\s+"[^ ']+"[ ]*:/g; const r3 = /:[ ]*"[^']*"[^"']/g; // const r = /^4444$/; export const run = (v: any) => { v = v.replace(r1, (m: string) => { const first = m.indexOf("'"); const lst = m.lastIndexOf("'"); return m.slice(first+1, lst) + ':'...
//// { compiler: { }, order: 2 } // The nullish coalescing operator is an alternative to || // which returns the right-side expression if the left-side // is null or undefined. // In contrast, || uses falsy checks, meaning an empty // string or the number 0 would be considered false. // A good example for this feat...
import net from 'net'; import tls from 'tls'; import http from 'http'; import http2 from 'http2'; declare namespace PureHttp { export interface IRequest { originalUrl: string; location: string | undefined; protocol: string | undefined; host: string | undefined; hostname: string | undefined; ...
export const c_tooltip__content_PaddingRight: { "name": "--pf-c-tooltip__content--PaddingRight", "value": "0.5rem", "var": "var(--pf-c-tooltip__content--PaddingRight)" }; export default c_tooltip__content_PaddingRight;
import { mount, ReactWrapper } from 'enzyme'; import * as React from 'react'; import LinodeThemeWrapper from 'src/LinodeThemeWrapper'; import VolumeDrawer from './VolumeDrawer'; const getLabelField = (w: ReactWrapper): ReactWrapper => w.find('TextField[data-qa-volume-label]'); const getSizeField = (w: ReactWrapper):...
import { Component } from 'react'; import Text from 'src/components/Text' import { IMapGrouping } from 'src/models/maps.models' import checkmarkIcon from 'src/assets/icons/icon-checkmark.svg' import { Flex, Image } from 'rebass' import { inject } from 'mobx-react' import { MapsStore } from 'src/stores/Maps/maps.store' ...
/** * @file Bike 自行车 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper( 'bike', true, (props: ISvgIconProps) => ( <svg width={props.size} ...
import { CaseStyle } from "kryo"; import { LiteralType } from "kryo/lib/literal.js"; import { RecordIoType, RecordType } from "kryo/lib/record.js"; import { ActionBase } from "../action-base.js"; import { $ActionType, ActionType } from "../action-type.js"; export interface StackSwap extends ActionBase { action: Act...
import { Injectable } from '@angular/core'; import { CoreModule } from '../core.module'; import { User } from '../models/user.interface'; @Injectable({ providedIn: CoreModule }) export class UserService { getUser(): User { return { id: 1, name: 'Subin', admin: true }; } }
// Copyright 2020 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
import { RawCommands, Content } from '../types' declare module '@tiptap-es5/core' { interface Commands<ReturnType> { insertContent: { /** * Insert a node or string of HTML at the current position. */ insertContent: (value: Content) => ReturnType, } } } export const insertContent:...
interface result { query: string; values: any; prefixValues(): any; getValuesArray(): any[]; getValuesObject: any; } interface mongosql { sql(query: any, values: any[]): result; toString(): string; toQuery(): result; }
import { svg } from "./_svg"; /** * https://demo.thi.ng/umbrella/hiccup-carbon-icons/#REPEAT_ONE */ // prettier-ignore export const REPEAT_ONE = svg( ["path", { d: "M26 6H5.83l3.58-3.59L8 1 2 7l6 6 1.41-1.41L5.83 8H26v7h2V8a2 2 0 00-2-2zM22.59 20.41L26.17 24H6v-7H4v7a2 2 0 002 2h20.17l-3.58 3.59L24 31l6-6-6-6z" ...
export interface CANCEL { __CANCEL_OBJECT__?:void; toString():'CANCEL'; } export const CANCEL:CANCEL = {toString(){ return 'CANCEL'; }}; export enum AttributeName { ZombieSpawnReinforcementsChange="minecraft:zombie.spawn.reinforcements", PlayerHunger="minecraft:player.hunger", PlayerSaturation="minecraft:p...
import { _DefaultRetention, _UnmarshalledDefaultRetention } from "./_DefaultRetention"; /** * <p>The container element for an object lock rule.</p> */ export interface _ObjectLockRule { /** * <p>The default retention period that you want to apply to new objects placed in the specified bucket.</p> */ De...
import { Equatable } from "@swindle/core"; /** * Identifier Interface * * Identifier interface indicates that an object can be used as an identifier for another object. */ export interface Identifier extends Equatable { /** * gets the id value. */ id(): any; }
/*! * @license * Alfresco Example Content Application * * Copyright (C) 2005 - 2018 Alfresco Software Limited * * This file is part of the Alfresco Example Content Application. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the ...
import * as git from "isomorphic-git" import { StatusMatrix, StatusRow } from "../../types" export async function updateStatusMatrix( projectRoot: string, matrix: StatusMatrix, patterns: string[] ): Promise<StatusMatrix> { // return getStagingStatus(projectRoot) if (patterns.length === 0) { return git.st...
const openwhydYouTubeExtractor = { getEid: function (url) { // code imported from playem-all if ( /(youtube\.com\/(v\/|embed\/|(?:.+)?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]+)/.test( url ) || /^\/yt\/([a-zA-Z0-9_-]+)/.test(url) || /youtube\.com\/attribution_link\?.*v%3D([^ %]+)/.tes...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Supermoon</source> <translation type="unfinished"/> </message> <message> <location line...
import React from 'react'; import { render } from '@testing-library/react'; // this adds custom jest matchers from jest-dom import '@testing-library/jest-dom/extend-expect'; import { MockedProvider, MockedResponse } from '@apollo/client/testing'; type RenderApolloOptions = { mocks?: MockedResponse[], addTypename?:...
//import { Config } from 'knex'; import * as Knex from 'knex'; // Update with your config settings. const conf = { db: { client: 'pg', connection: process.env.DATABASE_URL || 'postgres://postgres:zayro8905@localhost:5432/imaginamos', }, port: process.env.PORT || 3000, dblocal: 'postgres://postgres:zayro89...
import * as vscode from 'vscode'; const semver = require('semver'); const https = require('https'); const k8s = require('@kubernetes/client-node'); const path = require('path'); const os = require('os'); const LIBRARIES: { [platform: string]: [var_name: string, lib_name: string] } = { 'darwin': ['DYLD_INSERT_LIBRARI...
export class PackageModel { projectName: string; projectNo: string; opportunityName: string; job: string; place: string; locationId: number; quarter: string; customerId: number; classify: string; customerContactId: number; consultantUnitCustomerId: number; consultantAddre...
import { GeneralSteps, Keyboard, Keys, Log, Logger, Pipeline, UiFinder, Waiter } from '@ephox/agar'; import { UnitTest } from '@ephox/bedrock-client'; import { document } from '@ephox/dom-globals'; import { TinyApis, TinyDom, TinyLoader, TinyUi } from '@ephox/mcagar'; import { Element } from '@ephox/sugar'; import Pre...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp2006Component } from './comp...
import * as vscode from "vscode"; import { registerRepoCommands } from "./commands"; import { registerCommentController } from "./comments"; import { registerRepoFileSystemProvider } from "./fileSystem"; import { refreshRepositories } from "./store/actions"; import { initializeStorage } from "./store/storage"; import {...
import { Type } from '../common/cli-types'; import { ParameterDescription } from '../parameters/parameter-models'; import { OptionDescription } from '../options/option-models'; import { ModuleDescription } from '../module/module-models'; import { Provider } from '../dependency-injection/providers'; /** * Interface th...
import { EventEmitter } from 'events' import { deprecate } from 'electron' const binding = process.atomBinding('web_frame') class WebFrame extends EventEmitter { constructor (public context: Window) { super() // Lots of webview would subscribe to webFrame's events. this.setMaxListeners(0) } findFr...