text
stringlengths
10
953k
export interface ILocateJavaHomeOptions { // Semantic versioning string (e.g. ~1.6, >1.6....) version?: string; // Are you specifically looking for a JDK over a JRE? mustBeJDK?: boolean; // Are you specifically looking for a JRE over a JDK? mustBeJRE?: boolean; // Are you looking for a 64-bit JAVA_HOME? ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Request, Response } from "express"; import { ContractInfo } from "./../../adapters/ethereum-blockchain/structs/contract-info"; import * as policyParsingService from "./../services/binding-policy-parser"; import * as deploymentService from "./../services/deployment-mediator"; import * as policyInfoCollector fr...
const fs = require('fs-extra'); import * as path from 'path'; import { CloudFormation, Fn, Template, Cognito } from "cloudform-types"; import GraphQLTransform from '..'; import Transformer from '../Transformer'; import DeploymentResources from '../DeploymentResources'; import { StackMapping } from '../GraphQLTransform'...
import { enginesVersion } from '@prisma/engines' import { getPlatform } from '@prisma/get-platform' import { arg, Command, format, getSchemaPath, HelpError, isError, } from '@prisma/sdk' import StudioServer from '@prisma/studio-server' import chalk from 'chalk' import getPort from 'get-port' import open fro...
module BABYLON { export class DefaultRenderingPipeline extends PostProcessRenderPipeline implements IDisposable, IAnimatable { private _scene: Scene; readonly PassPostProcessId: string = "PassPostProcessEffect"; readonly HighLightsPostProcessId: string = "HighLightsPostProc...
import { graphql } from 'gatsby'; import React from 'react'; import styled from '@emotion/styled'; import { css } from '@emotion/core'; import Footer from '../components/Footer'; import SiteNav from '../components/header/SiteNav'; import PostCard from '../components/PostCard'; import Wrapper from '../components/Wrappe...
/* * 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 { CoreSetup } from 'src/core/public'...
import { Stack, Checkbox, Badge, Button } from 'bumbag' import React from 'react' import { sendAction } from '../actions' import { useStore } from '../useStore' export function ActionsTab() { const [{ useDevBundles, useRumSlim, logEventsFromRequests, devServerStatus, blockIntakeRequests }, setStore] = useStore()...
export { wordlist } from "@scure/bip39/wordlists/japanese";
import pdfMake from 'pdfmake/build/pdfmake'; import pdfFonts from 'pdfmake/build/vfs_fonts'; import { ModeReglementEnum } from 'app/exchange/mode_reglement_enum'; import { Injectable } from '@angular/core'; pdfMake.vfs = pdfFonts.pdfMake.vfs; pdfMake.fonts = { TimesNewRoman: { normal: 'TimesNewRoman.ttf', ...
import { SyntaxKind } from "@ts-morph/common"; import { expect } from "chai"; import { ConditionalTypeNode } from "../../../../compiler"; import { getInfoFromTextWithDescendant } from "../../testHelpers"; describe(nameof(ConditionalTypeNode), () => { function getNode(text: string) { return getInfoFromTextW...
import { Document } from 'mongoose'; export interface IAttachment extends Document { id: string; size: string; extension: string; mimeType: string; bucketRef: string; filename: string; uploadedBy: string; targetRef: string; }
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { CreateSubnetRequest, CreateSubnetResult } from "../models/index"; import { deserializeAws_ec2CreateSubnetCommand, serializeAws_ec2CreateSubnetCommand } from "../protocols/Aws_ec2"; import { getSerdePlugin } from "@aw...
// deno-lint-ignore-file no-explicit-any import type { Reflect } from "../reflect.ts"; import { create, innerValidate, isRuntype, type Runtype, type RuntypeBase, type Static, type VisitedState, } from "../runtype.ts"; import show from "../show.ts"; import { FAILURE, SUCCESS, typeOf } from "../util.ts"; im...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="en"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Crew</source> <translation>About Crew</translation> </message> <message> ...
import { mat2d, vec2, vec3, vec4, mat4 } from "gl-matrix"; export declare const DEG_TO_RAD: number; export declare const RAD_TO_DEG: number; export declare const HALF_PI: number; export declare const TAU: number; export declare const EPSILON = 0.000001; export declare function composeMat2d(out: mat2d, position: vec2, s...
import { Component, Injectable } from '@angular/core'; import { Message } from '../models/message'; @Injectable() export class NotificationsService { protected _messages: Array<Message> = null; public get Messages(): Promise<Array<Message>> { return new Promise<Array<Message>>((resolve, reject) => {...
/* * Copyright 2018- The Pixie 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 ag...
/** * 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. */ import {Scope} from '../../scopes'; import { ClassPrivateProperty, classPrivateProperty, AnyNode, } from '@romejs/js-ast'; ...
import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, Inject, Input, OnDestroy, OnInit, Output, } from '@angular/core'; import { BehaviorSubject, fromEvent, Observable, Subject, Subscription } from 'rxjs'; import { filter, skip, switchMap, take, takeUntil, withLatestFr...
export const E_MALFORMED = 'malformed id';
import { blue, bold, cyan, green, grey, italic, red, reset, yellow } from 'colors'; import { inject, injectable } from 'inversify'; import { keyBy } from 'lodash'; import { ScanningStrategy } from '../detectors'; import { PracticeEvaluationResult } from '../model'; import { ArgumentsProvider } from '../scanner'; import...
import { NgModule } from '@angular/core'; import { SERComponent} from './ser.component'; import { DashboardModule } from './dashboard/dashboard.module'; import { SERRoutingModule } from './ser-routing.module'; import { ThemeModule } from '../@theme/theme.module'; import { ServiciosService } from '../ser/servicios/serv...
import { Component, OnInit } from '@angular/core'; import { AppsessionService } from '../service/appsession.service'; @Component({ selector: 'app-commentcard', templateUrl: './commentcard.component.html' }) export class CommentcardComponent implements OnInit { titleKey: string = "CommentCard"; constructor(pri...
"use strict"; import { MandrillHelper } from "../helpers/mandrillHelper"; import { ensureUserWallet, creditUserWallet } from "../helpers/walletFunctions" import { Exchange } from "../models/Exchange"; import { Payment, BillingDepositModel } from "../models/Payment"; import { User, UserModel } from "../models/User"; im...
import { ButtonProps } from '@material-ui/core/Button'; export type ButtonBaseProps = Omit<ButtonProps, 'style' | 'variant' | 'color'>;
import BigNumber from 'bignumber.js' import { useCallback, useMemo } from 'react' import { useDispatch } from 'react-redux' import { hideAlert, showError } from 'src/alert/actions' import { RequestEvents, SendEvents } from 'src/analytics/Events' import { SendOrigin } from 'src/analytics/types' import ValoraAnalytics fr...
import {Request} from "./Request"; export interface Client { requestDefaults: Partial<Request>; request<T>(request: Request): Promise<T>; }
import component from './fa-IR/component'; import globalHeader from './fa-IR/globalHeader'; import menu from './fa-IR/menu'; import pwa from './fa-IR/pwa'; import settingDrawer from './fa-IR/settingDrawer'; import settings from './fa-IR/settings'; import pages from './fa-IR/pages'; export default { 'navBar.lang': 'ز...
// /src/maps/directions_car_filled/materialiconstwotone/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgDirectionsCarFilledTwotone = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"> <g> <rect fill...
/** * @license * Copyright 2017 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 ...
import { AgInputTextArea } from "../../widgets/agInputTextArea"; import { Constants } from "../../constants"; import { ICellEditorComp, ICellEditorParams } from "../../interfaces/iCellEditor"; import { PopupComponent } from "../../widgets/popupComponent"; import { RefSelector } from "../../widgets/componentAnnotations"...
import React from "react"; import routes from "../../routes/sidebar"; import SidebarSubmenu from "./SidebarSubmenu"; import { SidebarMenu } from "./SidebarMenu"; export const SidebarContent: React.FC<{}> = () => { return ( <div className="py-4 text-gray-500 dark:text-gray-400"> <a className="ml-6 t...
import _ from "lodash"; import { ObjectID } from "mongodb"; import { Request } from "express"; import { Record, Model, Params } from "../../types"; import { SqlError } from "../Error"; import { eventBus } from "../eventBus"; const replaceId = (datas: Record[] | Record) => { const eject = (data: any) => { if (data...
import { CacheFile, getSafeCategory, CacheCategory, CacheKey } from '../../types/ClientCache' import Identity from '../../types/Identity' import { Uri, UrisOfStrings, GetUriFromIdFunction, PathExistsFunction, UrisOfIds } from '../../types/handlers' import { Proposed } from 'vscode-languageserver' import { getId, getUri...
/* * 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 { compileFormattingRules } from '../message'; import { filebeatIcingaR...
import * as func from './func'; export { func };
import fs from 'fs'; let JSONbig = require('json-bigint')({ useNativeBigInt: true }); import { ApiPromise, WsProvider } from '@polkadot/api'; import { encodeAddress } from '@polkadot/keyring'; async function start() { let staging = JSONbig.parse(fs.readFileSync('staging.json', 'utf8')); let acuityEndpoint = 'ws:...
import { RequestData } from '../../@types' export class RequestResolverService { private request: any constructor(req: any) { this.request = req } public getRequestData(): RequestData { return { headers: this.request.headers, method: this.request.method, body: this.request.body, query: this.reque...
import "jest-extended"; import { Container } from "@packages/core-kernel"; import { Identifiers } from "@packages/core-manager/src/ioc/identifiers"; import { SimpleTokenValidator } from "@packages/core-manager/src/server/validators/token"; import { Sandbox } from "@packages/core-test-framework"; let sandbox: Sandbox;...
import {Input, Pipe, PipeTransform} from '@angular/core'; @Pipe({ name: 'advancedFilter', }) export class AdvancedFilterPipe implements PipeTransform { transform(arr: any[], query: string): any[] { if (!arr || !query) { return arr; } return arr.filter(item => JSON.stringify(item).toLowerCase().i...
import { enableProdMode } from "@angular/core"; import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"; import * as Sentry from "@sentry/angular"; import { Integrations } from "@sentry/tracing"; import { AppModule } from "./app/app.module"; import { environment } from "./environments/environment"; ...
import { Component, Input, Output, EventEmitter, HostBinding } from "@angular/core"; @Component({ selector: "ibm-inline-loading", template: ` <div class="bx--inline-loading__animation"> <div *ngIf="success === false" class="bx--loading bx--loading--small" [ngClass]="{ 'bx--loading--stop': ...
import EventEmitter from 'events' import ora from 'ora' import { PARSE_EVENTS } from '@/src/types/events' import { toPercent } from '@/src/helpers/cal' export default class ProgressPrinter { private emitter: EventEmitter private type: string private spinner: ora.Ora = null private spinnerTotal: number = null...
/* eslint-disable @typescript-eslint/no-explicit-any */ const initState = { dailyOrders: [], fundsMonthly: [], summaryCount: { total: 0, invest: 0, redemption: 0, fundSwitchR: 0, fundSwitchS: 0, }, }; const summaryReducer = (state = initState, action: any) => { switch (action.type) { ...
import { TransactionInstruction } from '@safecoin/web3.js'; import BN from 'bn.js'; import { StringPublicKey } from '../../utils'; export declare function redeemParticipationBidV3(vault: StringPublicKey, safetyDepositTokenStore: StringPublicKey, destination: StringPublicKey, safetyDeposit: StringPublicKey, bidder: Stri...
import type { HeaderCellProps } from '../HeaderCell'; import type { SortDirection } from '../enums'; type SharedHeaderCellProps<R, SR> = Pick<HeaderCellProps<R, SR>, | 'column' | 'sortColumn' | 'sortDirection' | 'onSort' >; interface Props<R, SR> extends SharedHeaderCellProps<R, SR> { children: React.ReactN...
// Copyright 2018 The Oppia Authors. 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 ap...
<TS language="es" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Haz clic derecho para editar la dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> ...
import ExpressServer from './ExpressServer' import AddPhoneEndpoint from '../business/AddPhoneEndpoint' import DeletePhoneEndpoint from '../business/DeletePhoneEndpoint' import FetchPhonesEndpoint from '../business/FetchPhonesEndpoint' import UpdatePhoneEndpoint from '../business/UpdatePhoneEndpoint' import PhoneRepo...
import { createSlice, PayloadAction } from '@reduxjs/toolkit' import { ToCeloRates } from 'src/features/exchange/types' export interface ExchangeState { toCeloRates: ToCeloRates } export const exchangeInitialState: ExchangeState = { toCeloRates: {}, } const exchangeSlice = createSlice({ name: 'exchange', ini...
import { mdiDevices } from "@mdi/js"; import { CSSResultGroup, html, LitElement, TemplateResult } from "lit"; import { customElement, property, state } from "lit/decorators"; import { fireEvent } from "../../../../common/dom/fire_event"; import "../../../../components/ha-dialog"; import { DeviceConsumptionEnergyPrefere...
import type { AddressSlice } from '@slices/Address' import type { ContactSlice } from '@slices/Contact' import type { HoursSlice } from '@slices/Hours' import type { NoticeSlice } from '@slices/Notice' import type { PricesSlice } from '@slices/Prices' import type { ImageField, KeyTextField } from '@prismicio/types' imp...
/** * @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 */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js const u = undefined; exp...
export const enTranslation = { fullCDPQName: 'CDPQ', brand: 'Brand', ourBrand: 'Our Brand', productDesign: 'Product Design', designSystem: 'Système de design', designTools: 'Design Tools', requis: 'Required', pathBrandPage: '/en/brand/', pathProductDesignPage: '/en/product-design/', pathDesignSystem...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { shallow } from 'enzyme'; import * as React from 'react'; import { ContentPage } from 'views/content/content-page'; import { ContentPanel } from 'views/content/content-panel'; import { ContentActionMessageCreator } ...
import { addItemToBag, pickUpItem, removeFromBag } from "./grab-bag-utils"; import { SocketMessageType } from "./socket-message-type"; export default class GrabBagWindow extends Application { private static dialog: GrabBagWindow; static get defaultOptions(): ApplicationOptions { return mergeObject(super.defau...
/** * Copyright (c) 2019 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { ParamDefinition as PD } from '../../../mol-util/param-definition'; import { Vec3 } from '../../../mol-math/linear-algebra'; import { NumberArray } fro...
import { Argument, KlasaMessage, Possible, Duration, util } from 'klasa'; export default class extends Argument { public run(arg: string, possible: Possible, message: KlasaMessage) { const duration = new Duration(arg); if (duration.offset <= 0 || !util.isNumber(duration.fromNow.getTime())) { throw message.la...
declare type DomainKeyDefaultStateMap = { [domainKey: string]: any; }; export default DomainKeyDefaultStateMap;
import { expect } from 'chai'; import { EditorView, VSBrowser } from 'vscode-extension-tester'; import * as path from 'path'; import * as fs from 'fs-extra'; import * as tmp from 'tmp'; import { Project } from '../../util/project'; import { dismissNotifications } from '../../util/common'; describe('Module smoke', func...
/** * XML/HTML parser from string into DOM Document. */ // tslint:disable-next-line: interface-over-type-literal type DOMParser = { prototype: any; new (): any; }; /** * `node-canvas` exports. */ interface ICanvas { createCanvas(width: number, height: number): any; loadImage(src: string): Promise<any>; } inte...
import styled from "styled-components"; import { ThemeProp } from "./common"; export enum TextType { P1 = "p1", P2 = "p2", P3 = "p3", H1 = "h1", H2 = "h2", H3 = "h3", H4 = "h4", H5 = "h5", H6 = "h6", } export type TextProps = { type: TextType; underline?: boolean; italic?: boolean; }; const t...
import * as React from 'react'; import StyleContext from './StyleContext'; import type { KeyType } from './Cache'; export default function useClientCache<CacheType>( prefix: string, keyPath: KeyType[], cacheFn: () => CacheType, onCacheRemove?: (cache: CacheType) => void, ): CacheType { const { cache: globalC...
import { Component, OnInit } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { LanguageService } from '../../../services/util/language.service'; @Component({ selector: 'app-home-participant-page', templateUrl: './home-participant-page.component.html', styleUrls: ['./home-part...
import * as fs from 'tns-core-modules/file-system'; import { isString } from 'tns-core-modules/utils/types'; export const LOG_DEBUG = '@nstudio/nativescript-audio-player --- DEBUG:'; export const LOG_ERROR = '@nstudio/nativescript-audio-player --- ERROR:'; export interface TNSPlayerI { /** * native instance gett...
export * from './command-bar'; export * from './connect'; export * from './demo-mode'; export * from './device-view'; export * from './error-dialog'; export * from './external-link'; export * from './logger'; export * from './number-picker'; export * from './router';
/** * @license * Copyright Google LLC 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 {EventEmitter} from '@angular/core'; import {Observable} from 'rxjs'; import {removeListItem} from './directi...
/** * @file Security Middleware * * @description * Nest Express's Security Bootstrap Middlewares * * @author Chris Van <chrisvan.vshmr@gmail.com> | <chris.legaxy@gmail.com> * @copyright CPC * @since 1.0.0 * @version 1.0.0 */ import { NestExpressApplication } from '@nestjs/platform-exp...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { LoginComponent } from './login.component'; describe('LoginComponent', () => { let component: LoginComponent; let fixture: ComponentFixture<LoginComponent>; beforeEach(async(() => { TestBed.configureTestingModule({ dec...
declare var __DEV__; export const EXPLORER_URLS = __TEST__ ? { BTC: "https://live.blockcypher.com/btc-testnet/tx/#{txid}", ETH: "https://kovan.etherscan.io/tx/#{txid}", GAS: "https://scan.nel.group/#testnet/transaction/#{txid}", LTC: "https://chain.so/tx/LTCTEST/#{txid}", QTUM: "https:/...
export { default as Line, LineConfig } from './line'; export { default as Treemap, TreemapConfig } from './treemap'; export { default as StepLine, StepLineConfig } from './step-line'; export { default as Bar, BarConfig } from './bar'; export { default as StackedBar, StackedBarConfig } from './stacked-bar'; export { def...
/* * Copyright 2017 Palantir Technologies, Inc. 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 req...
/* eslint-disable no-unused-expressions */ import { stripIndent } from "common-tags" import { IGatsbyImageData } from "." import type sharp from "gatsby-plugin-sharp/safe-sharp" const DEFAULT_PIXEL_DENSITIES = [0.25, 0.5, 1, 2] export const DEFAULT_BREAKPOINTS = [750, 1080, 1366, 1920] export const EVERY_BREAKPOINT = ...
/** * @typedef * @property - Unique class name of the corresponding css * @property - Insert css into the document owned by the target element. */ export interface StyledInjector { className: string; inject(el: HTMLElement | SVGElement, options?: Partial<InjectOptions>): InjectResult; } /** * @typedef * @...
import { NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkManagerClient"; import { DisassociateCustomerGatewayRequest, DisassociateCustomerGatewayResponse } from "../models/models_0"; import { deserializeAws_restJson1DisassociateCustomerGatewayCommand, serializeAws_restJso...
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {WaiterConfiguration} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/conf...
import { BookmarkFilled20 } from "../../"; export = BookmarkFilled20;
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { inject, injectable } from 'inversify'; import { IExtensionSingleActivationService } from '../../../activation/types'; import { IDebugService } from '../../../common/application/types'; import { Debug...
import { NotificationTone as NotificationToneDefinition, NotificationVariant as NotificationVariantDefinition, } from "./types" import { NotificationProps as NotificationPropsDefinition, NotificationContextValue as NotificationContextValueDefinition, } from "./Notification" export type NotificationTone = Notif...
import avertaBoldFont from '@gnosis.pm/safe-react-components/dist/fonts/averta-bold.woff2' import avertaFont from '@gnosis.pm/safe-react-components/dist/fonts/averta-normal.woff2' import { createGlobalStyle } from 'styled-components' import { normalize } from 'styled-normalize' const GlobalStyles = createGlobalStyle` ...
import { Controller, Body, Param, Get, Post, Put, Delete, // UseGuards, } from '@nestjs/common' import {BudgetsService} from './budgets.service' import {Budget} from './budget.schema' import {BudgetDto} from './budget.dto' // import {AuthGuard} from '@nestjs/passport' // import {Permissi...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SlidesModule } from '@codelab/slides'; import { SlidesRoutes } from '@codelab/slides/src/lib/routing/slide-routes'; import { RouterModule } from '@angular/router'; import { CodeSyncComponent } from './code-sync.component'...
import { Authority, Namespace, ObjectID } from "@phylopic/utils" import { EntityParameters } from "./EntityParameters" import { NodeEmbedded } from "../../types/NodeWithEmbedded" export interface ResolveParameters extends EntityParameters<NodeEmbedded> { authority: Authority namespace: Namespace objectID: O...
// Loaded from https://deno.land/x/cliffy@v0.18.0/command/completions/_bash_completions_generator.ts import type { Command } from "../command.ts"; import type { IArgument } from "../types.ts"; /** Generates bash completions script. */ export class BashCompletionsGenerator { /** Generates bash completions script fo...
import {Keys} from "core/dom" import {UIEvent, PanEvent, TapEvent, KeyEvent} from "core/ui_events" import * as p from "core/properties" import {isArray} from "core/util/types" import {EditTool, EditToolView} from "./edit_tool" import {bk_tool_icon_freehand_draw} from "styles/icons" export class FreehandDrawToolView ex...
import {Atom, Connector, Level, Map2d} from "./model/model.js" import {Clock, ControlHost, MoveOperation} from "./controls/controls.js" import {TouchControl} from "./controls/touch.js" import {ArrayUtils, Direction, Hold, ObservableValue, ObservableValueImpl, Option, Options} from "../lib/common.js" import {ArenaPainte...
import { Body, Controller, Delete, Get, Param, Post, Put } from "@nestjs/common"; import { Produto } from "./produto.model"; import { ProdutosService } from "./produtos.service"; @Controller('produtos') export class ProdutosController { constructor(private produtosService: ProdutosService) { } @Get() asyn...
import {Routes} from "@angular/router"; import {DashboardComponent} from "./dashboard.component"; export const DashboardRoutes: Routes = [ { path: '', component: DashboardComponent }, ];
"use strict"; /* * Copyright (C) 1998-2018 by Northwoods Software Corporation. All Rights Reserved. */ import * as go from "../release/go"; // A custom Tool for freehand drawing /** * @constructor * @extends Tool * @class * This tool allows the user to draw a shape using the mouse. * It collects all of the points f...
import { useEffect } from "react"; import { LiquityStoreState, LQTYStake } from "@liquity/lib-base"; import { LiquityStoreUpdate, useLiquityReducer } from "@liquity/lib-react"; import { useMyTransactionState } from "../../Transaction"; import { StakingViewAction, StakingViewContext } from "./StakingViewContext"; ty...
export default (one, two, three, value, state, options) => { if (value % 1 !== 0) { return this.createError('number.round', { v: value }, state, options); } return value; };
import {TidalArtistInfo} from "./TidalArtistInfo"; export interface TidalAlbum { id: number, title: string, /** * in Seconds */ duration: number, streamReady: boolean, streamStartDate: string, allowStreaming: boolean, premiumStreamingOnly: boolean, numberOfTracks: number, ...
import { OperationDefinitionNode } from 'graphql'; import { ReactQueryVisitor } from './visitor'; import { FetcherRenderer } from './fetcher'; import { parseMapper, ParsedMapper, buildMapperImport } from '@graphql-codegen/visitor-plugin-common'; import { CustomFetch } from './config'; export class CustomMapperFetcher ...
import React from 'react'; import { PreferredPosition } from '../../../PositionedOverlay'; export interface TooltipOverlayProps { id: string; active: boolean; light?: boolean; preferredPosition?: PreferredPosition; children?: React.ReactNode; activator: HTMLElement; onClose(): void; } export...
import { registerDecorator, ValidationArguments, ValidationOptions, } from 'class-validator'; export function IsEqualTo( property: string, validationOptions?: ValidationOptions, ) { return (object: any, propertyName: string) => { registerDecorator({ name: 'isEqualTo', target: object.constru...
import { combineReducers } from 'redux'; import { loadingBarReducer as loadingBar } from 'react-redux-loading-bar'; import authentication, { AuthenticationState } from './authentication'; import applicationProfile, { ApplicationProfileState } from './application-profile'; import administration, { AdministrationState ...
import React from 'react'; import ReactDOM from 'react-dom'; import Router from './components/Router'; import reportWebVitals from './reportWebVitals'; ReactDOM.render( <React.StrictMode> <Router /> </React.StrictMode>, document.getElementById('root') ); // If you want to start measuring performance in your app,...
export * from './useVMIAndPodsForVM';