text
stringlengths
10
953k
import { echoCliLeaf as echoCommand } from './echo'; import { CliLeaf } from '../cli-leaf'; import { CliBranch } from '../cli-branch'; import { runCliAndExit } from '../run-cli-and-exit'; const hiddenEcho = CliLeaf({ ...echoCommand, name: 'hidden-echo', description: 'This command is a clone of "echo" but with "h...
import { tap } from './tap'; import { EmptyError } from '../util/EmptyError'; import { MonoTypeOperatorFunction } from '../types'; /** * If the source observable completes without emitting a value, it will emit * an error. The error will be created at that time by the optional * `errorFactory` argument, otherwise, ...
/* @internal */ namespace ts.refactor.extractSymbol { const refactorName = "Extract Symbol"; registerRefactor(refactorName, { getAvailableActions, getEditsForAction }); /** * Compute the associated code actions * Exported for tests. */ export function getAvailableActions(context: Refacto...
/** * Gets an element's position in pixels relative to the viewport. The returned * object represents the position of the element's top left corner. */ declare function getElementPosition( element: HTMLElement, ): { x: number; y: number; width: number; height: number; }; declare namespace getEle...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Artbyte</source> <translation>Sobre Artbyte</translation> </message> <message> <loca...
import { PlotRow } from '../model/plot-data'; import { SeriesPlotRow } from '../model/series-data'; import { SeriesType } from '../model/series-options'; import { TimePoint, TimePointIndex } from '../model/time-data'; import { BarData, HistogramData, isWhitespaceData, LineData, SeriesDataItemTypeMap } from './data-con...
export enum ProfileStateEnum { None = <any> 'none', Changed = <any> 'changed', Saved = <any> 'saved' }
import createIcon from './../createIcon' export default createIcon('la la-network-wired')
/* * Copyright 2020 Spotify AB * * 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...
import { ReadMore } from "lib/Components/ReadMore" import { truncatedTextLimit } from "lib/utils/hardware" import { Schema } from "lib/utils/track" import { Sans } from "palette" import React from "react" interface Tracking { flow: Schema.Flow contextModule: Schema.ContextModules } interface ArtworkDetailsRowProp...
import React from 'react' import { RouteConfigComponentProps, renderRoutes } from 'react-router-config' /** * <Switch {...switchProps}> {routes.map((route, i) => ( <Route key={route.key || i} path={route.path} exact={route.exact} strict={route.strict} render={props => route...
import { getState } from '../lib/shared' import { filterVerb } from '../lib/args' import { numericValueOf } from './index.search' import chalk from 'chalk' function applyActorFilters (entry) { const f = getState('filters').actorFilters const fLength = Object.values(f).filter(e => e).length // no filters to apply...
import Bot from "structures/Bot"; import * as DJS from "discord.js"; export async function skip( bot: Bot, interaction: DJS.CommandInteraction, lang: typeof import("@locales/english").default, ) { const member = await bot.utils.findMember(interaction, [interaction.user.id], { allowAuthor: true, }); if...
export const PDD_AD_API_UNIT_CREATIVE_UPDATE_SMART_CREATIVE = 'pdd.ad.api.unit.creative.update.smart.creative'; export const PDD_AD_API_UNIT_CREATIVE_UPDATE_SMART_CREATIVE_LIMITERS = [ { limiterLevel: 1, timeRange: 10, times: 20, }, ]; /** * 接口名称:更新智能创意 * 接口标识:pdd.ad.api.unit.creative.update.smart.c...
import React from 'react'; import PropTypes from 'prop-types'; import { makeStyles, useTheme, Theme, createStyles } from '@material-ui/core/styles'; import Table from '@material-ui/core/Table'; import TableBody from '@material-ui/core/TableBody'; import TableCell from '@material-ui/core/TableCell'; import TableFooter f...
/* * 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 React from 'react'; import { i18n } from '@kbn/i18n'; import { Formatt...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Bitbucks</source> <translation>Thông tin về Bitbucks</translation> </message> <message> ...
import React from 'react'; import { Card, Avatar } from "antd"; import { EditOutlined, EllipsisOutlined, SettingOutlined } from "@ant-design/icons"; const { Meta } = Card; function EmployeeCard(props: any) { const {name, description} = props; return ( <Card style={{ width: 300, ...
import { getExportProps } from './getExportProps'; test('normal', () => { const props = getExportProps( ` const foo = () => {}; const bar = {}; foo.a = 1; foo.b = '2'; foo.c = function() {}; foo.d = { aa: '1', bb: true, cc: { dd: 90 }, ee: [2], ff: null, gg: undefined, hh: () => {}, jj() {...
import { WORDS } from '../constants/wordlist' import { VALID_GUESSES } from '../constants/validGuesses' import { HINTS } from '../constants/hints' import { WRONG_SPOT_MESSAGE, NOT_CONTAINED_MESSAGE } from '../constants/strings' import { getGuessStatuses } from './statuses' import { default as GraphemeSplitter } from 'g...
import { animate, style, transition, trigger } from '@angular/animations'; import { Component, Input, ChangeDetectionStrategy } from '@angular/core'; @Component({ selector: 'app-tooltip', templateUrl: './tooltip.component.html', styleUrls: ['./tooltip.component.scss'], changeDetection: ChangeDetectionStrategy....
import { Component, Input } from '@angular/core'; export interface ICandidateTotal { candidate: string; count: number; } @Component({ selector: 'vv-results', templateUrl: './results-component.html', }) export class ResultsComponent { public sortedTally: ICandidateTotal[]; public displayedColumns: string[...
/* Copyright 2019 City of Los Angeles. 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 a...
import { shallow } from 'enzyme'; import * as React from 'react'; import { Row, RowProps } from './EventRow'; const message = 'this is a message.'; const props: RowProps = { action: 'linode_boot', message, type: 'linode', created: '2018-01-01', username: null, classes: { root: '', message: '' }, ...
export { isReactive, isRef, markRaw, markReactive, reactive, ref, customRef, Ref, set, shallowReactive, shallowRef, toRaw, toRef, toRefs, triggerRef, unref, UnwrapRef, isReadonly, shallowReadonly, } from '../reactivity'
import { Component, OnInit, Input } from '@angular/core'; @Component({ selector: 'ngx-my-select-group', templateUrl: './my-select-group.component.html', styleUrls: ['./my-select-group.component.scss'] }) export class MySelectGroupComponent implements OnInit { @Input() selectdatas:any; // 选择的 selectdata...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { FormControl, FormGroupDirective, FormBuilder, FormGroup, NgForm, Validators } from '@angular/forms'; import { ErrorStateMatcher } from '@angular/material/core'; import * as firebase from 'firebase'; /*...
import { Component, OnInit } from '@angular/core'; import {trigger, state, style, animate, transition,} from '@angular/animations'; @Component({ selector: 'app-accordion', templateUrl: './accordion.component.html', styleUrls: ['./accordion.component.css'], animations:[ trigger('openClose', [ state('op...
import { getObjectTypedKeys, interpolationSafeWindowsPath, printShellCommandOutput, runShellCommand, } from 'augment-vir/dist/node'; import {existsSync, readFile, remove, writeFile} from 'fs-extra'; import {join} from 'path'; import {testGroup, TestInputObject} from 'test-vir'; import {VirmatorCliComman...
namespace tileworld { // TODO // - world size export class ProjectSettings extends RuleVisualsBase { private askDeleteRule: boolean = false; constructor(p: Project) { super(p); this.setCol(0); this.setRow(0); controller.A.onEvent(ControllerButtonEvent.Pre...
import { Component, OnInit } from "@angular/core"; import { ActivatedRoute } from "@angular/router"; import { SeoService } from "src/app/_services/seo/seo.service"; @Component({ selector: "app-prayers-basic", templateUrl: "./prayers-basic.page.html", styleUrls: ["./prayers-basic.page.scss"] }) export class PrayersB...
import { ApolloClient, InMemoryCache } from '@apollo/client' import { env } from '../util/env' export const apolloClient = new ApolloClient({ uri: env.backendBaseUrl + '/graphql', cache: new InMemoryCache(), defaultOptions: { watchQuery: { fetchPolicy: 'cache-and-network', }, }, })
/* * Prepares SVGs exported from Adobe Illustrator managing their IDs and class * names in a predictable way. * * Layers/paths/etc. in Illustrator named in various ways will result in SVG * elements with corresponding IDs and class names: * * General format: * * [_...] | [id]:[classname[.classname[...]]]:[...
import {AxiosInstance} from 'axios'; import reactotron from 'reactotron-react-native'; import {FeedListDataType, CreateFeedInterface} from './types'; export default function createFeedApi(api: AxiosInstance): CreateFeedInterface { async function getFeed(): FeedListDataType { const baseUri = '/feed'; const r...
/* eslint-disable no-case-declarations */ import { IncomingMessage } from 'http'; import { inject, injectable } from 'inversify'; import mirakurun from 'mirakurun'; import * as mapid from '../../../node_modules/mirakurun/api'; import IChannelDB from '../db/IChannelDB'; import IChannelTypeIndex from '../db/IChannelTypeH...
import axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, } from 'axios'; /** * Configuration for the Axios `request` method. */ export interface RetryConfig { /** * The number of times to retry the request. Defaults to 3. */ retry?: number; /** * The number of retries al...
import { Copy, Flags, Paragraph, ExternalLink, CopyText, Bold } from '../../components' import Br from '../../elements/br' export default Copy([ Flags(), CopyText([ Paragraph('Competitivi Împreună', { style: { marginTop: '0px', marginBottom: '20px', }, }), Paragraph( `...
import { graphql } from "gatsby" import { MDXProvider } from "@mdx-js/react" import { MDXRenderer } from "gatsby-plugin-mdx" import React from "react" import "twin.macro" import Layout from "./layout" import GithubLink, { GithubLinkLocation } from "../plugins/github-link" type MdxNode = { id: string body: string ...
import React, { FC, useState } from "react"; import { FormMessage, TextField } from "@react-md/form"; import { Grid } from "@react-md/utils"; const id = "simple-help-and-error-messages"; const SimpleHelpAndErrorMessages: FC = () => { const [value1, setValue1] = useState(""); const [value2, setValue2] = useState("...
import { IAction } from 'store/helpers/definitions'; import IPhotosModel from 'data/models/Photos'; import { IPhotosParams } from 'data/api/photos/definitions'; export enum PhotosActionTypes { FETCHING = 'photos/FETCHING', LOADED = 'photos/LOADED', FETCH_ERROR = 'photos/FETCH_ERROR', RESET = 'photos/RESET', } exp...
import { JsonObject, JsonProperty } from 'json2typescript'; export interface IArtifact { key: string; path: string; type: ArtifactType; pathOnly: boolean; linkedArtifactId?: string; fileExtension?: string; } export interface IArtifactWithPath extends IArtifact { pathOnly: false; } export const checkArti...
import { Currency, CurrencyAmount, ETHER, JSBI, Pair, Percent, Price, TokenAmount } from '@uniswap/sdk' import { useCallback, useMemo } from 'react' import { useDispatch, useSelector } from 'react-redux' import { PairState, usePair } from '../../data/Reserves' import { useTotalSupply } from '../../data/TotalSupply' im...
import { Injectable } from '@angular/core'; import * as Rx from "rxjs"; @Injectable({ providedIn: 'root' }) export class WebsocketService { constructor() { } private subject: Rx.Subject<MessageEvent>; public connect(url): Rx.Subject<MessageEvent> { console.log(url); if (!this.subject) { this.s...
import { DeepPartial } from '../helpers/strict-type-checks'; import { LineStyle, LineType, LineWidth } from '../renderers/draw-line'; import { AutoScaleMargins } from './autoscale-info-impl'; import { PriceFormatterFn } from './price-formatter-fn'; import { PriceScaleMargins } from './price-scale'; /** * Represents...
import React, { Dispatch, ReactNode, useState } from 'react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faFileCode, faFolderOpen, faFolder } from '@fortawesome/free-solid-svg-icons'; // @ts-ignore import style from './components.scss'; import { cls } from '../../utils'; import { createD...
/** * @license * Copyright 2020 Google LLC. All Rights Reserved. * 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 a...
import { Component } from '@angular/core'; @Component({ selector: 'app-tweet-item-placeholder', templateUrl: './tweet-item-placeholder.component.html', styleUrls: ['./tweet-item-placeholder.component.scss'] }) export class TweetItemPlaceholderComponent { }
import { IonicNativePlugin } from '@ionic-native/core'; import { Observable } from 'rxjs/Observable'; /** * @name Bluetooth Serial * @description This plugin enables serial communication over Bluetooth. It was written for communicating between Android or iOS and an Arduino (not Android to Android or iOS to iOS). * @...
import { SyntheticEvent } from "react"; import { composeEventHandlers } from "./index"; describe("utils", () => { test("composeEventHandlers: composes event handlers", () => { const event = {} as SyntheticEvent; const onClick = jest.fn(); const onFocus = jest.fn(); const onKeyDown = jest.fn(); co...
import { StyledIcon } from '@styled-icons/styled-icon'; export declare const ArrowDropDownCircle: StyledIcon; export declare const ArrowDropDownCircleDimensions: { height: number; width: number; };
import React from 'react'; import { Story, Meta } from '@storybook/react'; import TestPageContainer from '../../../../../utils/test-utils/TestPageContainer'; import Lineage, { Props } from '../Lineage'; import { sampleDownstreamLineage, sampleUpstreamLineage } from './lineageEntities'; export default { title: 'Da...
import { ApiResponse, RequestOptions } from '../core'; import { ObtainTokenRequest, obtainTokenRequestSchema, } from '../models/obtainTokenRequest'; import { ObtainTokenResponse, obtainTokenResponseSchema, } from '../models/obtainTokenResponse'; import { RenewTokenRequest, renewTokenRequestSchema, } from '....
import { Notation } from "../notation"; import Decimal from "break_infinity.js/break_infinity"; import { ScientificNotation } from "../scientific"; const scientific = new ScientificNotation(); export class EvilNotation extends Notation { public get name(): string { return "Evil"; } public formatDecimal(val...
// Supported local currency codes // Please keep it sorted alphabetically export enum LocalCurrencyCode { AUD = 'AUD', BRL = 'BRL', CAD = 'CAD', COP = 'COP', CVE = 'CVE', EUR = 'EUR', GBP = 'GBP', GHS = 'GHS', KES = 'KES', LRD = 'LRD', MXN = 'MXN', NGN = 'NGN', PHP = 'PHP', RUB = 'RUB', SL...
import {OperationT} from './operation'; export interface IExecute { execute(op: OperationT): void }
import { connect } from 'react-redux'; import { Dispatch } from 'redux'; import * as ApplicationActions from '../../actions/application-action'; import { StoreState } from '../../state'; import ManageAccountPage, { ManageAccountPageDispatchProps, ManageAccountPageProps } from '../ManageAccountPage'; const mapStat...
import { constant, pipe } from 'fp-ts/function'; import * as ReadonlyArray from 'fp-ts/ReadonlyArray'; import * as rxjs from 'rxjs'; import * as lib from 'lib'; import * as elements from 'elements'; import * as models from 'models'; import * as states from 'states'; export const observe = (e: lib.element.types.HTMLE...
import {glMatrix, mat4, vec3, vec4} from "gl-matrix"; import {loadProgram} from "./utils"; const VERTEX_SHADER_SOURCE = ` attribute vec3 coordinate; uniform mat4 modelMatrix; uniform mat4 viewMatrix; uniform mat4 projectionMatrix; void main() { gl_Position = projectionMatrix * viewMatrix * modelMatrix * vec4(co...
import { Module } from '@nestjs/common'; import { ClientsModule, Transport } from '@nestjs/microservices'; import { ReportModule } from '../report'; import { InitCommand } from './init.command'; import { UpdateCommand } from './update.command'; import { ExportCommand } from './export.command'; import { API_SERVICE } fr...
/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * 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 b...
/* * Copyright (c) 2019 the Octant contributors. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { Injectable } from '@angular/core'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { NotifierService, NotifierSession, NotifierSignalType, } from '../../notifier/notifier...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as React from 'react'; import * as moment from 'moment'; import RcTimePicker from 'rc-time-picker/lib/TimePicker'; import classNames from 'classnames'; import LocaleReceiver from '../locale-provider/LocaleReceiver'; import defaultLocale from './locale/en_US'; export function generateShowHourMinuteSecond(forma...
import React from 'react'; import Link from 'next/link'; import { ActionIcon, Menu, createStyles } from '@mantine/core'; import { User, Login, Forms } from 'tabler-icons-react'; import { Paths } from '@/utils/paths'; const useStyles = createStyles((theme) => ({ hoverItem: { '&:hover': { backgroundColor: ...
import React from 'react'; import { api } from './services/api'; import { SideBar } from './components/SideBar'; import { Content } from './components/Content'; import './styles/global.scss'; interface GenreResponseProps { id: number; name: 'action' | 'comedy' | 'documentary' | 'drama' | 'horror' | 'family'; tit...
import { Component, OnInit } from '@angular/core'; import { AppState } from '../app.service'; @Component({ selector: 'home', styleUrls: [ './home.component.css' ], templateUrl: './home.component.html' }) export class HomeComponent implements OnInit { constructor(public appState: AppState) {} public ngOnInit(...
import { ExecutionContext, Injectable, UnauthorizedException } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { AuthService } from '../services'; /** * Auth Guard using passport local strategy * * @export * @class LocalAuthGuard * @extends {AuthGuard('local')} */ @Injectable() expor...
import { MockElement } from './element.mock' export class MockHeadElement extends MockElement { constructor() { super('head'); } }
import { Component, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'fury-inbox-compose', templateUrl: './inbox-compose.component.html', styleUrls: ['./inbox-compose.component.scss'] }) export class InboxComposeComponent implements OnInit { constr...
import { Result } from '../src'; describe('Result tests', () => { type User = { username: string; }; class ExampleError extends Error { constructor(message: string) { super(message); Object.setPrototypeOf(this, ExampleError.prototype); this.name = this.constructor.name; } } it...
import { ComponentPropsWithoutRef, FC, ReactElement, useState } from 'react'; import { ThemeProvider } from '@emotion/react'; import { StyledCollapsible } from './collapsibleStyles'; import Button from 'src/Button/Button'; import { ReactComponent as ChevronUp } from './assets/chevron-up.svg'; import { ReactComp...
export default { get name(): string { return 'ExpoBrightness'; }, };
import type Random from '@dicebear/core/lib/random'; import type Options from '../options'; import getOption from './getOption'; import { eyes } from '../paths'; export default function (options: Options, random: Random) { let eyeType = []; if (getOption('eyes', 'close', options)) { eyeType.push(eyes.closed);...
import { Injectable } from '@nestjs/common'; import { InjectModel } from 'nestjs-typegoose'; import { Author } from './models/author.model'; import { ReturnModelType } from '@typegoose/typegoose'; @Injectable() export class AuthorService { @InjectModel(Author) private readonly authModel: ReturnModelType< typeof ...
export class DeliveryAddress { id: number; zipCode: string; streetName: string; streetNumber: number; province: string; city: string; }
import * as os from 'os'; import * as async from 'async'; import { ICallback, IConfig, TUnaryFunction } from '../types'; import { PowerManager } from './power-manager'; import { Ticker } from './ticker'; import { ChildProcess, fork } from 'child_process'; import { resolve } from 'path'; import { events } from './events...
import { HttpClient, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { ISession, IUser } from 'interfaces'; import { Observable, of, Subject, Subscription } from 'rxjs'; import { API_BASE_URL } from './api'; /** * Services for work...
const delay = (): void => { setTimeout((): void => {}, 10000) } export default delay
import { downloadImages } from './src/daily-photos'; import * as meow from 'meow'; const cli = meow(` Usage $ daily-wallpaper <path> `); downloadImages(cli.input[0]);
import fse from 'fs-extra'; import path from 'path'; import { fileURLToPath } from 'url'; import { dirname } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); const pack = fse.readJSONSync(path.join(__dirname, '../package.json')); export const JAMSERVE_VERSION = pac...
import React from 'react'; import { StyleSheet } from 'react-native'; import { ButtonProps, Button } from '../Button'; import { RneFunctionComponent } from '../helpers'; export interface DialogButtonProps extends ButtonProps {} /** This is used to add a button to the Dialog. * Receives all [Button](button#props) pro...
export class B { static getVal():number { return 100; } }
import React, { CSSProperties, FocusEventHandler, MouseEventHandler } from 'react'; import classNames from 'classnames'; import { getConfig } from '../configure'; import createFromIconfontCN from './IconFont'; export interface IconProps { type: string; className?: string; title?: string; customFontName?: strin...
import { HttpService } from '@nestjs/axios'; import { Injectable } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import { JSDOM } from 'jsdom'; import { forkJoin, map, Observable } from 'rxjs'; import { IGospelContempla } from './core/interface/gospel'; import { IMass } from './core/interface/m...
// Type definitions for nano 6.4 // Project: https://github.com/apache/couchdb-nano // Definitions by: Tim Jacobi <https://github.com/timjacobi> // Kovács Vince <https://github.com/vincekovacs> // Glynn Bird <https://github.com/glynnbird> // Kyle Chine <https://github.com...
import { HttpClientTestingModule } from '@angular/common/http/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; import { CalendarComponent } from './calendar.component'; import { MaterialModule } from 'src/app/shared/material/material.mod...
import { useState, useEffect } from 'react' import { renderHook } from '..' describe('error hook tests', () => { function useError(throwError?: boolean) { if (throwError) { throw new Error('expected') } return true } function useAsyncError(throwError: boolean) { const [value, setValue] = ...
import { AddonGeneratorsToolbox, CreateComponentOptions } from "../types"; export default (toolbox: AddonGeneratorsToolbox) => { const createComponent = async (options: CreateComponentOptions) => { const { componentAtomicType, componentDescription, componentParadigmType,...
<?xml version="1.0" encoding="UTF-8"?> <tileset version="1.2" tiledversion="1.3.3" name="[A]Water_pipo" tilewidth="32" tileheight="32" tilecount="3072" columns="64"> <image source="../../../../starter-kit-client/src/maps/assets/[A]Water_pipo.png" width="2048" height="1536"/> <terraintypes> <terrain name="water1" ti...
import * as DockerEvents from 'docker-events'; import * as Docker from 'dockerode'; import * as R from 'ramda'; import checkers from './checkers/'; import { docker, findContainers, getContainerNeighbours, parseContainerName, parseContainerNetwork, parseEnvironment, renameContainers, stopAndRemoveContain...
import { loadEnvConfig } from '@next/env' import chalk from 'chalk' import crypto from 'crypto' import { isMatch } from 'next/dist/compiled/micromatch' import { promises, writeFileSync } from 'fs' import { Worker } from '../lib/worker' import devalue from 'next/dist/compiled/devalue' import escapeStringRegexp from 'nex...
export type UpdateFunction = () => void export type ClassDecorator<T> = (constructor: T) => void export type PropertyDecorator<T, U> = <K extends string>(proto: T & Record<K, U>, key: K) => void export type MethodDecorator<T, U> = <K extends string>(proto: T & Record<K, U>, key: K, descriptor: TypedPropertyDescripto...
import { pipe } from "fp-ts/lib/function"; import * as RT from "fp-ts/lib/ReaderTask"; import type { Server as IOServer } from "socket.io"; import type { Maps } from "./maps"; import * as auth from "./auth"; type MapsDependency = { maps: Maps; }; type SocketDependency = { socketServer: IOServer; }; const emitLeg...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. import { createReadStream } from "fs"; import fetch from "node-fetch"; import { readManifestFile } from "./manifestInfo"; import { usageDataObject } from './defaults'; export class ManifestValidationDetails { public ad...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Eclipse</source> <translation>О Eclipse-у</translation> </messag...
import databaseURI from './database' export { databaseURI } export * from './environments'
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { NbButtonModule, NbCardModule, NbIconModule, NbSpinnerModule } from '@nebular/theme'; import { ImportExportRoutingModule } from './import-export-routing.module'; import { ImportExportComponent } from './import-export.compo...
import { Component, OnInit, ViewChild, ElementRef, NgZone, ChangeDetectorRef } from '@angular/core'; import { Router } from '@angular/router'; import { Contest } from '../../models/contest'; import { ContestsService } from '../../services/contests.service'; import { ApiService } from '../../services/api.service'; impor...
declare module '*.gql' { import { DocumentNode } from 'graphql' const query: DocumentNode export default query } declare module '*.graphql' { import { DocumentNode } from 'graphql' const value: DocumentNode export default value }
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { ICompositeFilter, IFilter, FilterMethods, CohortSource, ErrorCohort, ErrorCohortStats, ExpandableText, getRandomId, Metrics, MetricCohortStats, ModelAssessmentContext, defaultModelAssessmentContext } from "@resp...