text
stringlengths
10
953k
import { Module } from '@nestjs/common'; import { EntityController } from './entity.controller'; import { EntityService } from './entity.service'; import { TypeOrmModule } from '@nestjs/typeorm'; import { entity } from '../entities/entity'; @Module({ imports: [ TypeOrmModule.forFeature([entity]) ], controlle...
import { WEBSITE_URL } from './config'; import { Engine, MockError } from './lib/Engine'; import { emptyChallenges, authData1, authData1Verified, getChallenges, } from './test-data'; let engine: Engine = null!; beforeEach(async () => { engine = new Engine(page, WEBSITE_URL); await engine.setup(); }); des...
<TS language="en_AU" version="2.1"> <context> <name>AddressBookPage</name> </context> <context> <name>AddressTableModel</name> </context> <context> <name>AskPassphraseDialog</name> </context> <context> <name>BanTableModel</name> </context> <context> <name>BitcoinGUI</name> <messa...
import { Component } from '@angular/core'; @Component({ selector: 'usermanagement', template: `<router-outlet></router-outlet>` }) export class UserManagement { constructor() { } }
import ApolloClient from 'apollo-boost'; export default new ApolloClient({ uri: 'http://localhost:3000', });
/** * Copyright (c) 2020-present, Goldman Sachs * * 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 l...
import React from "react" import { Badge } from "../badge" import type { BadgeProps } from "../badge" const ReScript = (props: BadgeProps) => <Badge name="ReScript" {...props} backgroundColor="#E6484F" /> export default ReScript
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. export const DefaultScopeSuffix = "/.default"; export const imdsEndpoint = "http://169.254.169.254/metadata/identity/oauth2/token"; export const imdsApiVersion = "2018-02-01"; export const azureArcAPIVersion = "2019-08-15";
import { rgba } from "polished"; import { ButtonHTMLAttributes, FC, ReactNode } from "react"; import styled, { css } from "styled-components"; import { BackgroundColor, ThemeColor } from "theme/GlobalStyle"; interface Props extends ButtonHTMLAttributes<HTMLButtonElement> { color?: ThemeColor; icon?: ReactNode; t...
/* * Copyright 2020 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 *...
import subMinutes from "date-fns/sub_minutes"; import knex from "../knex"; export const addIP = async (ipToGet: string) => { const ip = ipToGet.toLowerCase(); const currentIP = await knex<IP>("ips") .where({ ip }) .first(); if (currentIP) { const currentDate = new Date().toISOString(); await k...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Any modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Licensed to Ela...
import { useState } from 'react'; import { TextInput } from '../components/text-input/text-input'; export default { title: 'Inputs', component: TextInput, }; export const DefaultTextField = () => { const [value, setValue] = useState(''); return <TextInput value={value} onChange={(e) => setValue(e.target.value...
import * as sfn from '@aws-cdk/aws-stepfunctions'; import * as cdk from '@aws-cdk/core'; import * as tasks from '../lib'; class JobPollerStack extends cdk.Stack { constructor(scope: cdk.App, id: string, props: cdk.StackProps = {}) { super(scope, id, props); const submitJobActivity = new sfn.Activity(this, '...
import { config } from 'app/config/config'; import { backEndInvoker } from 'app/controllers/core/common/back-end-invoker'; import { VideogameCatalogController, VideogameController, VideogameDefinitionsController } from 'app/controllers/core/entities/media-items/videogame'; import { videogameCatalogDetailsMapper, videog...
import SmartReducer from '../../types/SmartReducer'; declare var _default: (target: any, actionType: string, reducerFunction: SmartReducer<any, any, any>) => void; export default _default;
import { IsInt, IsNotEmpty, Max, Min } from 'class-validator'; import { Vote } from 'src/entities/vote.entity'; export class NewVoteDTO { @IsNotEmpty() @IsInt() @Min(1) @Max(5) choose: number; toEntity(): Vote { return new Vote(this.choose); } }
/** * Edge Impulse API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * ...
/** * 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...
import React, { useState } from 'react'; import { boolean, select, text } from '@storybook/addon-knobs'; import { createMetadata, createStory } from '../../../utils/storybook'; import { groups, simpleItems } from '../../Combobox/__mocks__/data.mock'; import { DefaultPropForm, DefaultPropView, form, view } from '../../...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="da" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Squardcoin</source> <translation>Om Squardcoin</translation> </m...
/* tslint:disable */ /* eslint-disable */ // This file was automatically generated and should not be edited. import { OrderUpdateInput, OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes"; // ===...
import { Constants } from '../constants' export type AuthState = { isAuthenticated: boolean isAdmin: boolean email?: string uid?: string displayName?: string photoURL?: string } const initialState: AuthState = { isAuthenticated: false, isAdmin: false } export const auth = ( state: AuthState = initi...
/** * @license * Copyright 2020 Dynatrace 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 ag...
import { useContentGqlHandler } from "../utils/useContentGqlHandler"; import { CmsGroup } from "~/types"; import camelCase from "lodash/camelCase"; describe("ContentModel modelId variations", () => { const manageHandlerOpts = { path: "manage/en-US" }; const { createContentModelGroupMutation } = useContentGqlH...
import styled, { css } from 'styled-components' export const Wrapper = styled.div` display: grid; grid-template-rows: auto 1fr; height: 100%; ` export const Sidebar = styled.div` background: #ffffff; box-shadow: inset 0 2px 12px -8px rgba(0, 0, 0, 0.6); display: grid; grid-template-rows: auto 1fr; hei...
import { IsArray, ValidationOptions } from 'class-validator'; import { applyDecorators } from '@nestjs/common'; import { IsFile } from './is-file.validator'; export function IsFiles(validationOptions?: ValidationOptions): PropertyDecorator { return applyDecorators( IsArray(validationOptions), IsFile(Object....
import { Card } from "@material-ui/core/"; import * as React from "react"; import { Route } from "react-router-dom"; import How from "./how/How"; import SideBar from "./SideBar"; import What from "./what/What"; import WhatL from "./whatL/WhatL"; import Who from "./who/Who"; import Why from "./why/Why"; interface IPro...
import ATOMChecker from '@/modules/cosmos'; describe('preCheck()', () => { // mainnet const mainnetChecker = new ATOMChecker(); it('should validated when use correct atom address', () => { expect( mainnetChecker.preCheck('cosmos144fzpepuvdftv4u4r9kq8t35ap2crruv4u3udz') ).toBe(true); expect( ...
import CommonProps from '../types/CommonProps' import PropTypes from 'prop-types' import React from 'react' import cx from 'classnames' import detectElementType from 'lib/detectElementType' import getUnhandledProps from 'lib/getUnhandledProps' export type BoxProps = CommonProps const Box: React.FC<BoxProps> = ({ chil...
// Copyright (C) 2020 Intel Corporation // // SPDX-License-Identifier: MIT import React from 'react'; import { GlobalHotKeys, ExtendedKeyMapOptions } from 'react-hotkeys'; import Tooltip from 'antd/lib/tooltip'; import Layout from 'antd/lib/layout'; import Slider from 'antd/lib/slider'; import { ColorBy, GridCol...
import React, { Fragment } from "react"; import { useQuery } from "@apollo/react-hooks"; import gql from "graphql-tag"; import { LaunchTile, Header, Button, Loading } from "../components"; import { RouteComponentProps } from "@reach/router"; import * as GetLaunchListTypes from "./__generated__/GetLaunchList"; export ...
export { default as UseAxiosBasic } from './Basic'; export { default as UseAxiosCancel } from './Cancel'; export { default as UseAxiosChange } from './Change'; export { default as UseAxiosRetry } from './Retry'; export { default as UseAxiosCustomInstance } from './CustomAxiosInstance'; export { default as UseAxiosRaceC...
import React, { Component } from 'react'; import { StyleSheet, TouchableOpacity, Image, Text, View, ViewStyle, TextStyle, ScrollView, } from 'react-native'; // import CpListPasien from './CpListPasien'; import { Card, Subheading, Button, DataTable, Divider, Caption, Title} from 'react-native-paper...
/** * This function exists to solve two problems: * * 1. In older versions of Serverless, Serverless crashes when it encounters * an unusually structured `Error` type. See * [the issue](https://github.com/serverless/serverless/issues/6267). * 2. The `Ajv` library, which is used for JSON validation, throws u...
import * as React from 'react'; type QuickStartPageProps = { title?: string; }; export function QuickStartPage(props: QuickStartPageProps) { const { title = 'QuickStart' } = props; return ( <div> <h3 className='mb-4'>{title}</h3> <p>A quick start page from starter/quickstart-minimal.tsx</p> ...
import { modalActions } from 'actions/modal'; import { createButtonCommandDesc } from 'components/editing/elements/commands/commandFactories'; import { EditorProps } from 'components/editing/elements/interfaces'; import { PopupContentModal } from 'components/editing/elements/popup/PopupContentModal'; import { InlineChr...
import { IArray, ILinkedList, ITree } from "@Interface/specific"; import { IList } from "@Interface/common"; import { Console } from "@Utils/emphasize"; import { ArrayTypes, ListTypes, TreeTypes, ListPrintOrder } from "@Utils/types"; import { ICompareFunc } from "@Utils/compare"; import { Errors } from "@Utils/error-ha...
import config from './config'; export * from './config'; export default config;
import { SectionedConfig, BitcoinConfig } from './types'; import { BITCOIN_CONFIG_OPTIONS } from './bitcoin-config-options'; import { getChainName } from './get-chain-name'; import { mergeBitcoinConfigs } from './merge-bitcoin-configs'; export function mergeSection(sectionedConfig: SectionedConfig): BitcoinConfig { ...
import { _ViewDeclaration } from '../state/interface'; import { PathNode } from '../path/pathNode'; /** The context ref can be anything that has a `name` and a `parent` reference to another IContextRef */ export interface ViewContext { name: string; parent: ViewContext; } export interface ActiveUIView { /**...
/* tslint:disable */ /* eslint-disable */ /** * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 10.7.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)...
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { DataFetcherService } from '../../service/data-fetcher.service'; import { SubscriptionService } from 'src/app/service/subscription.service'; declare interface RouteInfo { path: string; title: string; icon: string...
import { ItemSourcePF2e } from "@item/data"; import { MigrationBase } from "../base"; export declare class Migration654ActionTypeAndCount extends MigrationBase { static version: number; updateItem(item: ItemSourcePF2e): Promise<void>; }
import { Pipe, PipeTransform } from '@angular/core'; import { DomSanitizer} from '@angular/platform-browser'; @Pipe({ name: 'safe' }) export class SafePipe implements PipeTransform { constructor(private sanitizer: DomSanitizer) {} transform(url) { return this.sanitizer.bypassSecurityTrustResourceUrl(ur...
<TS language="zh_CN" version="2.0"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>右键点击编辑地址或标签</translation> </message> <message> <source>Create a new address</source> <translation>创建新地址</translation> ...
/** * Component container * * @public */ export class Component extends HTMLElement { public name: string = `bud-overlay` /** * `true` if component has been rendered * * @public */ public rendered: boolean /** * WHM payload * * @public */ public payload: any public documentBod...
import { useLocation } from '@reach/router'; import React, { FC, useState, useContext, useEffect } from 'react'; import { navigate } from 'gatsby'; import { ApiResponse, ErrorResponse, JwtToken } from '@api'; import { Container, Layout, PageTitle, PageBody, Seo, } from '@components/shared'; import { useSiteM...
export default function convertHourToMinutes(time: string) { const [hour, minutes] = time.split(":").map(Number) const timeInMinutes = (hour * 60) + minutes return timeInMinutes }
import { io, Tensor } from '@tensorflow/tfjs-core'; import { Constraint, MaxNormConfig, MinMaxNormConfig, UnitNormConfig } from './constraints'; import { ContainerConfig, InputConfig, InputLayerConfig, Layer, LayerConfig, SymbolicTensor } from './engine/topology'; import { Model } from './engine/training'; import { Con...
import { MachineLearning } from "../MachineLearning"; import { MachineLearningClient } from "../MachineLearningClient"; import { DescribeDataSourcesCommand, DescribeDataSourcesCommandInput, DescribeDataSourcesCommandOutput, } from "../commands/DescribeDataSourcesCommand"; import { MachineLearningPaginationConfigu...
import { FC } from 'react' export const Slogan: FC = () => { return ( <svg width="250" height="16" viewBox="0 0 250 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M3.06319 4.6258L7.59692 11.5008V4.55635C7.57129 4.20191 7.67334 3.85001 7.88462 3.56428C7.98193 3.4533 8.10278 3.36543 8.23836 3.307...
import { Request, Response, NextFunction} from "express"; import {tokenService} from "../../SERVICES/secure/tokenService"; export class PermisosMiddleWare { static GetUUIDUserToken(req:Request, res:Response, next:NextFunction) { console.log(`TOKEN ${req.get('X-TOKEN')}`); if(req.get('X-TOKEN')) { ...
import { DocType, TerritoryType } from './azure-search'; export const parsePage = (page: string | string[]) => { let parsedPage = Number(page); if (!parsedPage || parsedPage < 1) { parsedPage = 1; } return parsedPage; }; const typeQueryStringSeparator = '|'; const formatDocTypeFilters = (s: string): DocT...
import { Request, Response } from 'express'; import { container } from 'tsyringe'; import { ListProviderDayAvailabilityService } from '@modules/appointments/services/list-provider-day-availability-service'; export class ProviderDayAvailabilityController { public async index(request: Request, response: Response): Pr...
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { Observable, Subject } from 'rxjs'; import { NbBooleanInput } from '../helpers'; import { NbPortalDirective } from '../cdk/overlay/mapping'; import { NbPlatform } from '../cdk/platform/platform-service...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Cityfarmer</source> <translation>در مورد Cityfarmer</translation> ...
import { AirbyteConnectionStatus, AirbyteConnectionStatusMessage, AirbyteSpec, } from 'faros-airbyte-cdk'; import fs from 'fs'; import {getLocal} from 'mockttp'; import os from 'os'; import {CLI, read} from './cli'; import {tempConfig} from './temp'; describe('index', () => { const mockttp = getLocal({debug: ...
import * as React from "react"; import { MobileMenu } from "src/components/MobileMenu"; import { MobileMenuItem } from "src/components/MobileMenu/Item"; import { IconType } from "src/components/Icon/Type"; type ItemType = { title: string; icon: IconType; to: string; }; export type MobileMenuContainerProps...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
declare global { interface Stats { station: Station; listeners: Listeners; live: Live; now_playing: NowPlaying; playing_next: PlayingNext; is_online: boolean; cache: string; } interface Station { id: number; name: string; shortcode: string; description: string; fro...
import { deprecate, deprecateFunc } from '@ember/application/deprecations'; deprecate('this is no longer advised', false, { id: 'no-longer-advised', until: 'v4.0', }); deprecate('this is no longer advised', false, { id: 'no-longer-advised', until: 'v4.0', url: 'https://emberjs.com', }); deprecate('...
export default { UserRepository: Symbol.for('USER_REPOSITORY'), };
import { ReadOptions, ReadSaveObject } from './types'; export default function readBrs(rawBytes: Uint8Array, options?: ReadOptions): ReadSaveObject;
export { SurveyService } from './services/survey-service';
import { Component, ChangeDetectionStrategy, Input, OnDestroy } from '@angular/core'; @Component({ selector: 'app-counter', templateUrl: './counter.component.html', changeDetection: ChangeDetectionStrategy.OnPush }) export class CounterComponent implements OnDestroy { @Input() ivyEnabled: boolean = null!; @...
"use strict" import * as parser from '../parser' import { SyntaxError, TypeError, ImportError, ImplementationError } from './errors' import { readFileSync } from 'fs' export interface ErrorHandler { handle(e: Error) } export class StdErrorOutput implements ErrorHandler { handle(e: Error) { if (e in...
import { EntityRepository, Repository, LessThanOrEqual } from 'typeorm'; import Rank from '../models/rank.model'; @EntityRepository(Rank) export default class RankRepository extends Repository<Rank> { /** * Locate the closet rank to a given experience (closest min) * @param experience The experience to l...
import type { Tree } from '@nrwl/devkit'; import { joinPathFragments, writeJson } from '@nrwl/devkit'; import { createTreeWithEmptyWorkspace } from '@nrwl/devkit/testing'; import { Linter } from '@nrwl/linter'; import { storybookVersion } from '@nrwl/storybook'; import { overrideCollectionResolutionForTesting, wrap...
import React, { useState, useCallback } from 'react'; import TextField from '@material-ui/core/TextField'; import AppBar from '@material-ui/core/AppBar'; import Tab from '@material-ui/core/Tab'; import Tabs from '@material-ui/core/Tabs'; import Markdown from '../shared-components/Markdown'; import { useUniqueId } from ...
import { Output } from 'webpack'; import createServer from '../create-server'; import getConfig from '../config'; const cwd = process.cwd(); afterEach(() => { process.chdir(cwd); }); test('createServer should return an object containing a server instance', async () => { process.chdir('test/apps/basic'); const conf...
import Painter from './painter'; interface IClearPainterParams { color?: string; } export default class ClearPainter extends Painter { private readonly params; get red(): number; set red(v: number); get green(): number; set green(v: number); get blue(): number; set blue(v: number); g...
import { CdkDrag, DragRef } from '@angular/cdk/drag-drop'; import { OnDestroy, NgZone, ChangeDetectorRef, SimpleChanges, OnChanges } from '@angular/core'; import { Subject } from 'rxjs'; import { AutoScroll } from './auto-scroll'; import { DragDebugService } from './drag-debug.service'; export declare class DragScrollD...
/** @license MIT License Copyright (c) 2021 Paul H Mason. All rights reserved. */ import { QuarkPanel } from '@quark-elements/core/elements/panel/QuarkPanel.js'; import { css } from 'lit'; /** * @customtype component * @summary A filled variant Material Design panel. * @defaulttag qm-filled-panel * @displaynam...
import {NgModule} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {HttpModule} from '@angular/http'; import {AppComponent} from './app.component'; import {routing} from './app.routing'; @NgModule({ imports: [BrowserModule, routing, HttpModule], declarat...
import { unstable_batchedUpdates as reactBatchUpdate } from 'react-dom'; import { StoreQuery } from './store-query'; import { StoreStateUpdateTracker } from './store-state-update-tracker'; import { ExtractActions, IActions } from './types'; /** * Actions in Store */ export class StoreActions { /** * Proxy the a...
// Type definitions for postcss-icss-values 2.0 // Project: https://github.com/css-modules/postcss-icss-values // Definitions by: Jeow Li Huan <https://github.com/huan086> // Definitions: https://github.com/huan086/postcss-plugins-typings // TypeScript Version: 2.2 import { Plugin } from "postcss"; declare const valu...
import type { TopologyVersion } from './sdam/server_description'; import type { Document } from './bson'; import type { TopologyDescription } from './sdam/topology_description'; /** @public */ export type AnyError = MongoError | Error; /** @internal */ const kErrorLabels = Symbol('errorLabels'); /** * @internal * ...
import {Component, ContentChild, Input, Inject, AfterViewInit, forwardRef} from '@angular/core'; import {SbItemBodyComponent} from './sb-item-body'; import {SqueezeBoxComponent} from './squeeze-box.component'; @Component({ exportAs: 'sb-item', selector: 'sb-item', template: ` <div class="sb-item" [...
// @ts-nocheck import CardSpacer from "@mzawadie/components/CardSpacer"; import { ConfirmButtonTransitionState } from "@mzawadie/components/ConfirmButton"; import Container from "@mzawadie/components/Container"; import ControlledSwitch from "@mzawadie/components/ControlledSwitch"; import Form from "@mzawadie/components...
import PageHeader from '@salesforce/design-system-react/components/page-header'; import * as React from 'react'; import { Trans } from 'react-i18next'; import { Link } from 'react-router-dom'; import JobProgressIndicator from '@/components/jobs/progressIndicator'; import PlanProgressIndicator from '@/components/plans/...
export enum SectionPostsType { Index = "INDEX", Gamazone = "Gamezone", Reset_Popular = "RESET_POPULAR" }
import { FirehoseResult } from '@console/internal/components/utils'; import { DeploymentKind, PodKind, K8sResourceConditionStatus } from '@console/internal/module/k8s'; import { ConfigurationModel, RouteModel, RevisionModel, ServiceModel, EventSourceCronJobModel, EventSourceContainerModel, EventSourceCame...
import { EventHandler } from "@endless-trash/event-handler"; import { Prompt } from "@endless-trash/prompt"; import { WebsocketHostInput, WebsocketHostOutput, } from "@endless-trash/websocket-host"; import { EventHandlerInput } from "./event-handler-input"; export const eventHandler: EventHandler< WebsocketHostI...
export function getNamedRange(sheet: GSheet.Sheet, name: string): GSheet.Range { return sheet.getRange(name); }
import { Container, IDestroyOptions } from '@pixi/display'; import { autoDetectRenderer, Renderer, IRendererOptionsAuto, AbstractRenderer } from '@pixi/core'; import { Rectangle } from '@pixi/math'; export interface IApplicationPlugin { init: (...params: any[]) => any; destroy: (...params: any[]) => any; } ex...
import { ContentLoader } from "./contentLoader"; import { extractSpecifications } from "./extractSpecifications"; import { ContentGQL, ManifestSpec, ManifestItem, DocsContent, DocsContentDocs, } from "./types"; import { sortDocsByOrder, sortDocsByType, populateObject } from "./helpers"; export const extractC...
import VueRouter, { Route } from 'vue-router' import db from '#/datastore' import axios from 'axios' declare module 'vue/types/vue' { interface Vue { $router: VueRouter, $route: Route, $db: typeof db $http: typeof axios $builtInPicBed: string[] } }
/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net */ import './search.less'; import type { ISelectionRange, MarkerInfo, IJodit, Nullable, IContro...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
export const COLORS_LEVEL_1 = [ "#5B8FF9", "#61DDAA", "#65789B", "#F6BD16", "#7262fd", "#78D3F8", "#9661BC", "#F6903D", "#008685", "#F08BB4", ]; export const COLORS_LEVEL_2 = [ "#5B8FF9", "#CDDDFD", "#61DDAA", "#CDF3E4", "#65789B", "#CED4DE", "#F6BD16...
import StatsDClient, { ClientOptions, StatsD } from "hot-shots"; import * as fs from "fs-extra"; import { EOL } from "os"; import { NativeMetricSender } from "./NativeMetricSender"; import { DataDogMetricsSender } from "./nativeMetricSenderImpl/DataDogMetricSender"; import { Logger } from "../logger/SFPLogger"; import ...
import type { PersistenceService } from "./persistenceService"; import Wreck from "@hapi/wreck"; import config from "../../config"; /** * Persistence service that relies on the runner for storing * the form configurations in memory. * This should likely never be used in production but is a handy * development util...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { MatButtonModule, MatCheckboxModule, MatDialogModule, MatFormFieldModule, MatIconModule, MatInputModule, MatMenuModule, MatRippleModule, MatSelectModule, MatToolbarModule } from '@angular/material'; import { Tr...
/** * @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 { InterpolationConfig } from '../ml_parser/interpolation_config'; import { AST, ASTWithSource, AbsoluteSourceS...
export interface CodePenInfo { url: string; avatar?: number; title?: string; color?: string; }
<TS language="pt_BR" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Clique com botão direito para alterar endereço ou rótulo</translation> </message> <message> <source>Create a new address</source...
import { StyleSheet, TextStyle } from 'react-native' export enum colors { white = '#FFFFFF', light = '#E5E5E5', gray = '#DDDDDD', screenGray = '#545C64', placeholderGray = '#D1D5D8', placeholderDarkMode = '#838486', secondary = '#81868B', dark = '#2E3338', gold = '#FBCC5C', goldSelect = 'rgba(251, ...
/** * @generated SignedSource<<de5d7bef0bc8b76c051f6343d17a8f36>> * @lightSyntaxTransform * @nogrep */ /* tslint:disable */ /* eslint-disable */ // @ts-nocheck import { ConcreteRequest, Query } from 'relay-runtime'; export type srcListsQuery$variables = {}; export type srcListsQuery$data = { readonly lists: { ...
/* Hi, here's your problem today. This problem was recently asked by Uber: Given a binary tree, and a target number, find if there is a path from the root to any leaf that sums up to the target. */ export class BinaryTreeNode { constructor( public data: number, public left?: BinaryTreeNode, public right...