text
stringlengths
10
953k
import { ServerConnection } from "@jupyterlab/services"; import "@jupyterlab/terminal/style/index.css"; import { MessageTypes } from "Contracts/ExplorerContracts"; import postRobot from "post-robot"; import { HttpHeaders } from "../Common/Constants"; import { Action } from "../Shared/Telemetry/TelemetryConstants"; impo...
import React from 'react'; import classNames from 'classnames'; import { PossibleSizes } from '@teambit/base-ui.theme.sizes'; import { Paragraph } from '@teambit/base-ui.text.paragraph'; import { alignItems, text } from '@teambit/base-ui.layout.align'; import { Grid } from '@teambit/base-ui.layout.grid-component'; im...
import { Observer } from 'rxjs'; export declare function xObserverInvokeAll<Element>(this_: Observer<Element>, value: Element): void;
/* Copyright 2021 The Matrix.org Foundation C.I.C. 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 ...
import * as TestUtilities from "../testUtilities"; import { addHeaderPrefix } from "./header"; describe("builder/header module has a", () => { describe("addHeaderPrefix function that", () => { it("should add a header prefix to the specified string", () => { TestUtilities.assertMultiLine( addHeaderP...
import * as React from "react"; import { GraphCanvasEvent } from "../common/GraphEvent.constant"; import { IContainerRect } from "../Graph.interface"; import { distance, getContainerCenter } from "../utils"; import { EventChannel } from "../utils/eventChannel"; import { ITouchHandler } from "./TouchController"; /** *...
import { HttpException, HttpStatus, Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { ColumnEntity } from 'src/column/column.entity'; import { CommentEntity } from 'src/comment/comment.entity'; import { UserEntity } from 'src/user/user.entity'; import { Repository } from '...
/* * 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 { i18n } from '@kbn/i18n'; import { setup as visualizations } from '.....
//anotherapp.ts var message = "I'm another app !"; console.log(message);
import {Position, Range, TextDocument} from "vscode-languageserver"; import { DafnyKeyWords, SymbolString } from "./../../strings/stringRessources"; import { containsPosition } from "./../../vscodeFunctions/positionHelper"; export enum SymbolType { Unknown, Class, Method, Function, Field, Call, Definition, Predicat...
import { MenuItem } from './../index'; import { ElementRenderMode} from './../index'; import { Component, Directive, AfterViewInit, ElementRef, Input, OnInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { BaseElement, Smart } from './smart.element'; export { ElementRenderMode} from './../index'; ...
export { default } from "./Accueil";
import { Component, OnInit } from '@angular/core'; import { AlertService } from 'angular-x-alerts'; import { StockService } from '../../_services/stocks.service'; import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'app-rupture', templateUrl: './rupture.component.html', styleUrls: ['...
import { Guideline } from './guideline'; import { GuidelineLevel } from '../enums/guideline-level.enum'; import { ContentType } from '../enums/content-type.enum'; import { CodeSnippet } from '../entities/code-snippet'; describe('Guideline', () => { let guideline: Guideline; let guidelineNumber: string = '1.2.3.4.5';...
import {useSelector, useDispatch} from 'react-redux'; import {WrappedExperience, ExperienceProps, Experience} from '../interfaces/experience'; import {RootState} from '../reducers'; import {pick} from 'lodash'; import { searchExperiences, searchPeople, searchTags, cloneExperience, loadExperiences, loadExp...
import express from 'express'; const router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { res.render('index', { title: 'TypeScript' }); }); export default router;
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. const { remove, test } = Deno; import { assert, assertEquals } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { copyBytes, tempFile } from "./util.ts"; test(function testCopyBytes(): void { const dst = new Uint8A...
import React from "react"; import ReactDOM from "react-dom"; import "./index.scss"; import App from "./App"; import reportWebVitals from "./reportWebVitals"; import { StoreContext } from "redux-react-hook"; import { makeStore } from "./store/Store"; import "./i18n"; // import "./setupProxy"; const store = makeStore();...
import { Router } from '@angular/router'; import { Observable } from 'rxjs/Observable'; import { Component, OnInit, Output, EventEmitter } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { IListaEspera } from './../../../interfaces/turnos/IListaEspera'; import { Plex } from '@andes...
import { DEG_TO_RAD } from "@pixi/math"; import { SmoothGraphics as Graphics } from "@pixi/graphics-smooth"; import { random, TickQueue } from "../../core/engine"; import { OneShotAnimation } from "./OneShotAnimation"; interface Particle { x: number; y: number; radius: number; endX: number; endY: n...
import React, { useEffect } from "react"; import { connect, ConnectedProps } from "react-redux"; import { makeStyles } from "@material-ui/core/styles"; import Container from "@material-ui/core/Container"; import Grid from "@material-ui/core/Grid"; import TasksTable from "../components/TasksTable"; import QueueInfoBanne...
// Please don't have includes in here that aren't inside the DSL folder, or the d.ts/flow defs break import { GitDSL, GitJSONDSL } from "../dsl/GitDSL" import { GitHubDSL } from "../dsl/GitHubDSL" import { BitBucketServerDSL, BitBucketServerJSONDSL } from "../dsl/BitBucketServerDSL" import { DangerUtilsDSL } from "./D...
import { Component, Input, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { LanguageService } from 'src/app/core/language/language.service'; import { Beneficiary, BeneficiaryOptions } from 'src/app/models/beneficiary'; import { NationalId } from 'src/app/models/national-id'; import { ...
// @material-ui/icons import Dashboard from '@material-ui/icons/Dashboard'; import Person from '@material-ui/icons/Person'; import LibraryBooks from '@material-ui/icons/LibraryBooks'; import BubbleChart from '@material-ui/icons/BubbleChart'; import LocationOn from '@material-ui/icons/LocationOn'; import Notifications f...
import React from 'react' import { useActions, useValues } from 'kea' import { teamLogic } from 'scenes/teamLogic' import { PersonPropertySelect } from 'lib/components/PersonPropertySelect/PersonPropertySelect' import { Divider, Select, SelectProps, Tag } from 'antd' import { EventSelect } from 'lib/components/EventSel...
import { $TSContext } from 'amplify-cli-core'; import { shouldRenderComponents } from '../commands/utils/shouldRenderComponents'; describe('should render components', () => { let context: $TSContext | any; beforeEach(() => { context = { input: { options: { 'no-codegen': false, }...
import * as fs from 'fs'; import * as path from 'path'; import { moduleRoot } from './config'; export const header = () => { const pkgPath = path.join(moduleRoot(), 'package.json'), pkg = JSON.parse(fs.readFileSync(pkgPath, { encoding: 'utf8' })), version = pkg.version; return `/* ** DON'T EDIT THIS...
// Copyright 2019 PingCAP, Inc. // // 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 i...
// Copyright (c) jdneo. All rights reserved. // Licensed under the MIT license. import { ViewColumn } from "vscode"; import { openKeybindingsEditor, promptHintMessage } from "../utils/uiUtils"; import { ILeetCodeWebviewOption, LeetCodeWebview } from "./LeetCodeWebview"; import { markdownEngine } from "./markdownEngine...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="fa"> <context> <name>Account</name> <message> <location filename="../pages/Account.qml" line="53"/> <source>Set the label of the selected account:</source> <translation>تنظیم برچسب برای حساب انتخاب شده:</tra...
/******************************************************************************** * Copyright (C) 2019 TypeFox and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * Th...
/// <reference types="node" /> /// <reference types="mocha" /> import * as fs from 'fs' import { basename, normalize } from 'path' import * as assert from 'power-assert' import { FModel } from 'win32-def' import * as Win from '../src/index' import * as H from '../src/lib/helper' const filename = basename(__filename)...
import {Observable, throwError} from 'rxjs'; import {HttpErrorResponse, HttpEvent, HttpHandler, HttpHeaders, HttpInterceptor, HttpRequest} from '@angular/common/http'; import {AuthService} from '../../services/auth/auth.service'; import {NotificationsService} from '../../services/notifications/notifications.service'; i...
import { graphQLRequest, graphQLRequestAsUser, resetDB, disconnect } from '@/tests/helpers'; import { UserFactory } from '@/tests/factories/user'; beforeEach(async () => resetDB()); afterAll(async () => disconnect()); describe('me query', () => { describe('not logged in', () => { it('returns null ', async () =>...
import React from 'react'; // styles import { StyledSpan } from './ThumbnailStyle'; export interface ThumbnailProps { imageUrl?: string | null; size?: number; } function Thumbnail({ imageUrl, size }: ThumbnailProps) { if (imageUrl !== null && imageUrl !== undefined) { if (imageUrl.split('\\')[1] !== undefi...
import { $ } from 'zx'; export default async function fish() { if ((await $`brew -v`.exitCode) !== 0) { await $`curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash /dev/stdin -c`; } // install fish await $`brew install fish`; // install oh-my-fish plugin await $`curl ...
import ListItem from "@material-ui/core/ListItem"; import ListItemIcon from "@material-ui/core/ListItemIcon"; import ListItemText from "@material-ui/core/ListItemText"; import React, { ReactNode } from "react"; interface NavDrawerProps { name: string; children: ReactNode; } const NavDrawerLink: React.FC<NavDrawer...
export declare type Dimensions = { x: number; y: number; width: number; height: number; }; export declare type SVGState = { scale?: number; scaleX?: number; scaleY?: number; originX?: number; originY?: number; translateX?: number; translateY?: number; skewX?: number; ...
/* * Copyright 2021 The Backstage 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 applicable law or ...
export const WALLET_TYPES = [ { key: 'proton', value: 'Mobile Wallet' }, { key: 'webauth', value: 'Web Wallet' }, { key: 'anchor', value: 'Anchor' }, ]
const colors = [ "bg-theme-50", "text-theme-50", "bg-theme-100", "text-theme-100", "bg-theme-200", "text-theme-200", "bg-theme-300", "text-theme-300", "bg-theme-400", "text-theme-400", "bg-theme-500", "text-theme-500", "bg-theme-600", "text-theme-600", "bg-theme-700", "text-theme-700", ...
// inspired by https://github.com/song940/kelp-static/blob/express/index.js // this proxy assumes you have codap, building-models and cloud-file-manager all checked out in sibling folders to sage-modeler-site // the proxy exists to load CODAP, Sage and CFM all with the same domain so cross-iframe communication works a...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { inject, injectable } from 'inversify'; import { NotebookDocument } from 'vscode'; import { IExtensionSingleActivationService } from '../../activation/types'; import { IVSCodeNotebook } from '../../co...
import { Component, EventEmitter, HostBinding, Input, OnChanges, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { checkRequiredProp, trackID } from '@helpers/index'; import { Alert } from '@models/index'; import { AbstractControl, FormGroup } from '@angular/forms'; @Component({ selector: 'app-file-...
import styled from "styled-components"; export const ModalWrapper = styled.div` min-width: 32rem; .MuiOutlinedInput-root { width: 100%; } .MuiTextField-root { width: 100%; } `; export const AddResourceWrapper = styled.div` width: 100%; display: flex; justify-content: flex-end; padding-bottom...
import * as http from 'http'; import * as tls from 'tls'; import * as https from 'https'; import * as net from 'net'; import * as fs from 'fs'; import * as _ from 'lodash'; import {ILoggerApi, Log, TodoException} from '@typexs/base'; import {DEFAULT_SERVER_OPTIONS, IServerOptions} from './IServerOptions'; import {Exce...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ i...
/* eslint-disable @typescript-eslint/no-unused-vars */ import path from "path"; import favicon from "serve-favicon"; import compress from "compression"; import helmet from "helmet"; import cors from "cors"; import feathers from "@feathersjs/feathers"; import configuration from "@feathersjs/configuration"; import expre...
import { auth } from 'firebase/app'; import { Users } from './../model/user'; import { UserServiceService } from './user-service.service'; import { Injectable, NgZone } from '@angular/core'; import { AngularFireAuth } from '@angular/fire/auth'; import { AngularFirestore, AngularFirestoreDocument, } from '@angular...
import { visitNodeAndChildren } from 'composite-call/dist/transformer-utils'; import { Program, SourceFile, TransformationContext, TransformerFactory, } from 'typescript'; import { config } from './config'; import { visitor } from './visitor'; function transformer(program: Program): TransformerFactory<SourceF...
import type * as core from '@contentlayer/core' import type { PosixFilePath } from '@contentlayer/utils' import { errorToString, pattern } from '@contentlayer/utils' import { Tagged } from '@contentlayer/utils/effect' import type { DocumentContentType } from '../index.js' import { handleFetchDataErrors } from './aggre...
import { expect } from '@open-wc/testing'; import '../examples/hello'; const parent = document.querySelector('test-parent')!; const childWrapDiv = parent.shadowRoot?.querySelector('.child-wrap'); const parentDiv = parent.shadowRoot?.querySelector('.parent'); const child = parent.shadowRoot?.querySelector('test-child')...
import { IClone } from '@jscpd/core'; export interface IScannerOptions { ignore: string[]; } export interface IScanOptions { fix?: boolean; framework?: string; languageType?: 'js' | 'ts'; tempFileDir?: string; timeout?: number; disableESLint?: boolean; disableMaintainability?: boolean; disableRepeat...
import { Context, Schema } from 'koishi' import basic, { BasicConfig } from './basic' export * from './basic' declare module 'koishi' { interface Modules { common: typeof import('.') } } export const name = 'common' export interface Config extends BasicConfig {} export const Config = Schema.object({ echo...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Component, ViewChild, Input, Output, ElementRef, EventEmitter, OnInit, AfterViewInit } from '@angular/core'; import { BaThemePreloader } from '../../../theme/services'; // import 'amcharts3'; // import 'amcharts3/amcharts/plugins/responsive/responsive.js'; // import 'amcharts3/amcharts/serial.js'; // import...
import { MigrationInterface, QueryRunner, TableColumn, TableForeignKey, } from 'typeorm'; export default class AddCategoryIdToTransactions1593354392515 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.addColumn( 'transactions', new...
export * from './MessageResponseHandler'; export * from './RedirectResponseHandler'; export * from './ReloadResponseHandler';
import { PoiEntity } from './poi.models'; import { poiAdapter, PoiPartialState, initialState } from './poi.reducer'; import * as PoiSelectors from './poi.selectors'; describe('Poi Selectors', () => { const ERROR_MSG = 'No Error Available'; const getPoiId = (it: PoiEntity) => it.id; const createPoiEntity = (id: s...
import { expect } from "vitest"; import { StructError, StructErrorInfo } from "./error"; export function expectOk(actual: any, expected: any) { expect(actual).toEqual({ ok: true, value: expected }); } export function expectErr( actual: any, message: string, info?: StructErrorInfo, ) { expect(actual.ok).toB...
import React, { useEffect } from 'react'; import styled from 'styled-components'; import { Trans } from '@lingui/macro'; import { Flex, Link, Loading } from '@ecostake/core'; import { Box, Card, CardContent, Typography } from '@material-ui/core'; import type UnconfirmedPlotNFT from '../../types/UnconfirmedPlotNFT'; imp...
/** * Copyright 2015 The Incremental DOM Authors. * Copyright 2017 trivago N.V. * * 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 * ...
import styled, { withProps } from '../styled-components'; export const OneOfList = styled.ul` margin: 0; padding: 0; list-style: none; display: inline-block; `; export const OneOfLabel = styled.span` font-size: 0.9em; margin-right: 10px; color: ${props => props.theme.colors.primary.main}; font-family:...
import { Application as ExpressApp, Request, Response, Router } from 'express'; import { HummockConfig } from '../../models/config'; import { Logger, pGreen, pYellow } from '../log'; import { getLaunchers, LauncherService } from '../launcher'; import { ServerToggleDto, StubbDetailsDto } from '../../models/types'; cons...
import { Button, Collapse } from 'antd'; import classNames from 'classnames'; import React, { useContext, useState, useEffect } from 'react'; import { UpdateArgs } from '../../types/config-section'; import { ServerStatusContext } from '../../utils/server-status-context'; import { AlertMessageContext } from '../../utils...
import React from 'react'; import { useModal } from '../../../../hooks'; import './styles.scss'; export interface ModalHeaderProps { children: React.ReactNode; className?: string; } /** * The wrapper for the header content of the Modal. */ const ModalHeader: React.FC<ModalHeaderProps> = props => { const { c...
export { DecisionTreeCreateInput } from "./DecisionTreeCreateInput"; export { DecisionTreeCreateManyInput } from "./DecisionTreeCreateManyInput"; export { DecisionTreeUpdateInput } from "./DecisionTreeUpdateInput"; export { DecisionTreeWhereInput } from "./DecisionTreeWhereInput"; export { DecisionTreeWhereUniqueInput ...
import { NgModule } from '@angular/core'; import { NavigationEnd, Router, RouterModule, Routes } from '@angular/router'; import { AppUiCustomizationService } from '@shared/common/ui/app-ui-customization.service'; const routes: Routes = [ { path: '', redirectTo: '/app/main/dashboard', pathMatch: 'full' }, { ...
import {Component} from '@angular/core'; import {FormBuilder, FormGroup, Validators} from '@angular/forms'; @Component({ selector: 'app-cmp30', templateUrl: './cmp30.component.html', styleUrls: ['./cmp30.component.scss'] }) export class Cmp30Component { addressForm: FormGroup = this.fb.group({ company: nul...
import { FlexibleExtractor, FlexibleEvent } from "../../event"; import { RouteData } from "../../router"; import { injectable } from "inversify"; @injectable() export class EventData implements FlexibleExtractor{ public get staticRouting(): RouteData<string> { return {}; } public async extractValue...
import { Express } from 'express'; import fetch from 'node-fetch'; import { spotifyController } from './controllers'; export const setup = (app: Express): void => { app.get('/current.svg', spotifyController.getCurrentlyPlayingSongSvg); };
const marked = require('marked') import sanitizeHtml from 'sanitize-html'; function sanitizeText(text: string): string { const sanitized: string = sanitizeHtml(text) const sanitizedPlusLinkClass = sanitized.replace(/<a/g, `<a class="u-animation-2 color-accent-1"`) return sanitizedPlusLinkClass } function mdToHtml...
import _debounce from 'lodash/debounce'; import { onBeforeUnmount, ref } from 'vue'; function makeOnline() { let usedCount = 0; const isOnline = ref(true); const onlineHandler = () => { isOnline.value = true; // location.reload() }; const offlineHandler = () => { isOnline.value = false; }; ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="en"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About microCoin</source> <translation>About microCoin</t...
import { NgSelectModule } from '@ng-select/ng-select'; import { NbAuthModule } from '@nebular/auth'; import { NgModule } from "@angular/core"; import { ThemeModule } from "../@theme/theme.module"; import { DashboardModule } from "./dashboard/dashboard.module"; import { MiscellaneousModule } from "./miscellaneous/miscel...
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack"; import * as __aws_sdk_types from "@aws-sdk/types"; import { ListPhoneNumberOrders } from "../model/operations/ListPhoneNumberOrders"; import { InputTypesUnion } from "../types/InputTypesUnion"; import { OutputTypesUnion } from "../types/OutputType...
import { useState } from 'react' import '../styles/tasklist.scss' import { FiTrash, FiCheckSquare } from 'react-icons/fi' interface Task { id: number; title: string; isComplete: boolean; } export function TaskList() { const [tasks, setTasks] = useState<Task[]>([]); const [newTaskTitle, setNewTaskTitle] = ...
import React, { ReactChild, useState } from "react"; import { ProfileHeaderWrapper } from "./ProfileHeaderWrapper"; import { Button } from "./Button"; import { UserBadge } from "./UserBadge"; import { SingleUser } from "./UserAvatar/SingleUser"; import { SolidCompass, SolidFriends, SolidMessages, SolidPersonAdd...
import { CheckCircleIcon, InformationCircleIcon, XCircleIcon } from "@heroicons/react/solid"; import classNames from "classnames"; import { ReactNode } from "react"; export interface AlertProps { title?: ReactNode; message?: ReactNode; actions?: ReactNode; className?: string; severity: "success" | "warning" ...
/* eslint-disable */ import { cRLNumber } from "../CertificateExtensions/cRLNumber.oa"; import { id_asx_cRLNumber } from "../ExtensionAttributes/id-asx-cRLNumber.va"; import { id_ce_a_cRLNumber } from "../ExtensionAttributes/id-ce-a-cRLNumber.va"; import { ATTRIBUTE } from "../InformationFramework/ATTRIBUTE.oca"; impor...
// Polyfills.ts - Some Polyfills for old browsers, e.g. IE8, and nodeJS // /* globals globalThis */ import { Utils } from "./Utils"; export var Polyfills = { iCount: 0 // empty }; // IE: window.console is only available when Dev Tools are open if (!Utils.console) { const oUtilsConsole: any = { cpcBasicLog: "LO...
<TS language="en_US" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Right-click to edit address or label</translation> </message> <message> <source>Create a new address</source> <translati...
import * as React from 'react'; import { Toolbar, ToolbarProps } from '../index'; import { ToolbarButton } from '../ToolbarButton'; import { ToolbarDivider } from '../ToolbarDivider'; import { ToolbarToggleButton } from '../ToolbarToggleButton'; import { ToolbarRadioGroup } from '../ToolbarRadioGroup'; import { Toolbar...
import github from './alpha2/github/lukes/ISO-3166-Countries-with-Regional-Codes'; export default github;
import * as path from 'path'; import * as program from 'commander'; import * as shell from 'shelljs'; import { Component } from './component'; import { isNutmegComponent, exit, notifyOfUpdate } from './utils'; notifyOfUpdate(); program.command('build <path>', 'compile a Web Component') .parse(process.argv); ...
/*----------------------------------------------------------------------------- | Copyright (c) 2014-2015, PhosphorJS Contributors | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |--------------------------------------------------...
import { defineMessages } from "react-intl"; export const messages = defineMessages({ title: { id: "DPz5y6", defaultMessage: "Assign Staff Members", description: "dialog header" }, searchInputLabel: { id: "UQ4Kuh", defaultMessage: "Search Staff Members", description: "input label" }, ...
import { xml } from '@xmpp/client'; import { BehaviorSubject, of } from 'rxjs'; import { catchError, first, mergeMap, map, timeout } from 'rxjs/operators'; import { LogService } from '../../../log.service'; import { XmppChatAdapter } from '../xmpp-chat-adapter.service'; import { AbstractXmppPlugin } from './abstract-xm...
import * as React from 'react'; import { match } from 'react-router-dom'; export interface PageProps { name: string; url: string; match?: match<IdParam>; } export interface IdParam { id: number; } declare global { interface System { import(request: string): Promise<any>; } var Sys...
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient"; import { UntagResourceRequest, UntagResourceResponse } from "../models/index"; import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_...
import { Action } from '@ngrx/store'; import * as actionTypes from '@app/store-actions/action-types'; import * as api from '@app/api/_index'; export class SetProjectCredentialsAction implements Action { readonly type = actionTypes.SET_PROJECT_CREDENTIALS; constructor( public payload: api.SetProjectCredentials...
/* * 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 { IRouter } from 'kibana/server'; import { ENDPOINT_LIST_ITEM_URL } f...
import { Comparable, Serializable } from "../interfaces"; import { ApplicationCommandOption, ApplicationCommandOptionChoice, ApplicationCommandOptionType, ApplicationCommandOptionWithChoice, } from "../definitions"; import { SlashChoiceList } from "./choices"; type InputChoiceValue = ApplicationCommandOptionChoice...
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-ge...
import { insert, spread, assign, createComponent, delegateEvents } from "dom-expressions/src/runtime"; interface Runtime { insert: typeof insert; spread: typeof spread; assign: typeof assign; createComponent: typeof createComponent; delegateEvents: typeof delegateEvents; } type ExpandableNode = No...
import DefaultBatchingStrategyTransaction from "../transactions/DefaultBatchingStrategyTransaction"; import { BatchingStrategy } from "./BatchingStrategy"; const transaction = new DefaultBatchingStrategyTransaction(); const DefaultBatchingStrategy: BatchingStrategy = { isBatchingUpdates: false, /** * C...
it('should translate', () => { expect(t('Hello')).toBe('Hello'); }); it('should translate with string interpolation', () => { expect(t('Hello {name}', { name: 'World' })).toBe('Hello World'); expect(t('Hello {name}', { name: 123 })).toBe('Hello 123'); expect(t('Hello {name}', { name: true })).toBe('Hello true'...
import { CompilerOptions } from 'typescript'; import { Path } from '@angular-devkit/core'; import path from 'path'; import fs from 'fs'; import { logger } from '@storybook/node-logger'; import { TsconfigPathsPlugin } from 'tsconfig-paths-webpack-plugin'; import stripJsonComments from 'strip-json-comments'; import { i...
import { ContentMapping, SceneSource } from 'shared/types' export type AssetId = string export type Asset = { id: AssetId model: string mappings: ContentMapping[] baseUrl: string } export type SerializedSceneState = { entities: SerializedEntity[] } export type SerializedEntity = { id: string component...