text
stringlengths
10
953k
/** * Associate the CreationPolicy attribute with a resource to prevent its status from reaching create complete until * AWS CloudFormation receives a specified number of success signals or the timeout period is exceeded. To signal a * resource, you can use the cfn-signal helper script or SignalResource API. AWS Clo...
// package: google.ads.googleads.v3.enums // file: google/ads/googleads/v3/enums/location_extension_targeting_criterion_field.proto import * as jspb from "google-protobuf"; import * as google_api_annotations_pb from "../../../../../google/api/annotations_pb"; export class LocationExtensionTargetingCriterionFieldEnum ...
import { TemplateResult } from "lit"; import { IconTemplate } from "src/types"; export declare function renderIcon(icon: IconTemplate, opts?: { width?: number; height?: number; title?: string; }): TemplateResult | string;
/** * @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 {AST} from '../../../expression_parser/ast'; import * as i18n from '../../../i18n/i18n_ast'; import * as o fro...
import React, { SVGProps } from 'react'; import generateIcon from '../../generateIcon'; const SolidBolt = (props: SVGProps<SVGSVGElement>) => { return ( <svg viewBox="0 0 320 512" width="1em" height="1em" {...props}> <path d="M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 2...
import { Component, OnInit, EventEmitter, Output } from '@angular/core'; import { SeitenService } from 'src/app/services/seiten.service'; import { Router, ActivatedRoute } from '@angular/router'; @Component({ selector: 'app-navibar', templateUrl: './navibar.component.html', styleUrls: ['./navibar.component.css']...
import { WinObject } from "components/window/src/window"; abstract class Modal { protected _target: HTMLElement | null; protected _background: HTMLElement | null; constructor(target: HTMLElement, Action: (e: Event) => void = (e: Event) => e.stopPropagation()) { this._target = target; this._...
import * as Mongoose from 'mongoose'; import { todoListModel } from '../routes/todolist/model'; import { IDatabase } from './interface'; import { userModel } from '../routes/user/model'; export function start() : IDatabase { Mongoose.connect("mongodb://localhost:27017/todolists"); return({ todoListMode...
<TS language="kk_KZ" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Жаңа адрес енгізу</translation> </message> <message> <source>&amp;New</source> <translation>Жаңа</translation> </message> <messa...
import { PublicKey, TransactionCtorFields } from '@solana/web3.js'; import BN from 'bn.js'; import { Transaction } from '@metaplex-foundation/mpl-core'; declare type MintToParams = { mint: PublicKey; dest: PublicKey; amount: number | BN; authority?: PublicKey; }; export declare class MintTo extends Tran...
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, Input, OnDestroy } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { editor } from 'monaco-editor'; import { Subject, Subscription } from 'rxjs'; import { debounceTime } from 'r...
import type { Definition, DefinitionType } from '@yozora/ast' import type { BaseBlockTokenizerProps, PartialYastBlockToken, PhrasingContentLine, } from '@yozora/core-tokenizer' import type { LinkDestinationCollectingState } from './util/link-destination' import type { LinkLabelCollectingState } from './util/link-...
import React, { useMemo, useState } from 'react' import { ButtonBase, Menu } from '@material-ui/core' import { useTranslation } from 'react-i18next' import MenuItemsList from './MenuItemsList' import { createStyles, makeStyles, Theme } from '@material-ui/core/styles' import { MENU_ITEMS, MenuItem } from './MenuItems' i...
import { Ref, computed, watch, ref } from 'vue' import { TableRow, ITableItem } from './useRows' export type TSelectMode = 'single' | 'multiple' export type TEmits = 'update:modelValue' | 'selectionChange' export type TSelectionChange = { currentSelectedItems: ITableItem[], previousSelectedItems: ITableItem[], } e...
import { _DeviceStatusInfo } from "./_DeviceStatusInfo"; import { Structure as _Structure_ } from "@aws-sdk/types"; export const _DeviceData: _Structure_ = { type: "structure", required: [], members: { DeviceArn: { shape: { type: "string" } }, DeviceSerialNumber: { shape: { ...
import { createFeatureSelector, createSelector } from "@ngrx/store"; import { AppState } from "../app.state"; import { MenuState } from "./menu.state"; export const menuFeatureName = "menu"; export const selectMenuFeature = createFeatureSelector<AppState, MenuState>( menuFeatureName ); export const selectIsMenuDr...
import { click, render } from '@ember/test-helpers'; import { hbs } from 'ember-cli-htmlbars'; import setupMirage from 'ember-cli-mirage/test-support/setup-mirage'; import { setupRenderingTest } from 'ember-qunit'; import { module, test } from 'qunit'; module('Integration | Component | debouncer', hooks => { setup...
import * as React from 'react'; import { Link } from 'gatsby'; import _ from 'lodash'; import Img from 'gatsby-image'; import { PostCardWrapper, PostPreview, PostDetails, PostDate, PostTitle, Excerpt, PostContent, PostTags, } from './post-card.style'; interface PostCardProps { image?: any; title: s...
import {Component} from "angular2/core"; import {SideMenu} from "./sideMenu.component.ts"; import {TopBar} from "./topBar.component.ts"; import {RouteConfig, RouterLink} from "angular2/router"; import {MainView} from "./mainView.component"; import {EventsHome} from "./../../events/components/eventsHome.component"; impo...
import hash from 'hash-sum' import { readFile, remove, writeFileSync } from 'fs-extra' import { parse, compileTemplate, compileStyle, SFCStyleBlock } from '@vue/compiler-sfc' import { replaceExt } from '../shared/fsUtils' import { compileScript } from './compileScript' import { clearEmptyLine, compileLess, emitStyleEnt...
import { CtxUser } from 'src/lib/decorators/ctx-user.decorators'; import { Body, Controller, Delete, Get, HttpStatus, Param, Post, Put, Res, UseGuards, } from '@nestjs/common'; import { JwtAuthGuard } from 'src/lib/guards/auth.guard'; import { Product } from '../schemas/product.schema'; import { Pro...
$(document).on('ready', () => { //write javascript code here });
import styles from '../styles/Home.module.css' import { useRouter } from 'next/router' import { useEffect } from 'react' import Dashboard from './dashboard'; import { useTheme } from 'next-themes' export default function Home() { const router = useRouter() const {theme, setTheme} = useTheme(); useEffect(() => { ...
import * as vscode from 'vscode' import * as path from 'path'; import {TypeScriptImporter} from './TypeScriptImporter'; import {Symbol} from './ImportIndex'; export class Importer { private spacesBetweenBraces: boolean; private doubleQuotes: boolean; private preferRelative: boolean; constructor( pri...
export function getPrefix(value: number) { return value < 0 ? '-£' : '£'; };
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import { mock, IScope, IQService } from 'angular'; import { CONFIGURE_PIPELINE_TEMPLATE_MODAL_CTRL, ConfigurePipelineTemplateModalController, } from './configurePipelineTemplateModal.controller'; import { IVariable } from './inputs/variableInput.service'; import { ApplicationModelBuilder } from 'core/application/a...
import PluginSDK from "PluginSDK"; import AppDispatcher from "#SRC/js/events/AppDispatcher"; import Config from "#SRC/js/config/Config"; import BaseStore from "#SRC/js/stores/BaseStore"; import Item from "#SRC/js/structs/Item"; import { APPEND, PREPEND } from "#SRC/js/constants/SystemLogTypes"; import { REQUEST_MES...
// smithy-typescript generated code import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerEx...
export type SheetType = 'google' | 'excel'; export type SheetInput = { apiKey: string; sheetUrl: string }; export type InputData = | Blob | File | ArrayBufferLike | Uint8Array | ReadableStream | string | SheetInput; export type DataSource = InputData | Promise<InputData> | (() => Promise<...
import { ChangeEvent, FunctionComponent } from 'react'; import { optional, string } from 'superstruct'; import Input from '../../ui/Input'; import Text from '../../ui/Text'; import Field from '../Field'; interface Props { values: Record<string, string>; errors: string[]; onChange(event: ChangeEvent<HTMLInputEle...
import { initializeApp } from 'firebase/app' import { getAuth, GoogleAuthProvider, signInWithPopup, onAuthStateChanged, signInAnonymously, signOut } from 'firebase/auth' export const config = { apiKey: process.env.NEXT_PUBLIC_FIREBASE_API_KEY, authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN, ...
<TS language="mk_MK" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Десен клик за уредување на адреса или етикета</translation> </message> <message> <source>Create a new address</source> <...
import * as React from 'react'; import createSvgIcon from '../utils/createSvgIcon'; const PageListMirroredSolidIcon = createSvgIcon({ svg: ({ classes }) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" className={classes.svg}> <path d="M256 0v1792h1536V0H256zm1152 1152h128v128h-128v-128...
import { Component, OnInit } from '@angular/core'; import { NgForm } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; import { TestService } from '../../service/test.service'; import { Test } from '../../model/test'; @Component({ selector: 'app-test-editor', templateUrl: './test-edi...
export const signupWrapperStyles = (theme: any) => ({ logo: { fill: 'currentColor', height: '2em', display: 'inline-block', fontSize: '21px', transition: 'fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms', userSelect: 'none', flexShrink: 0 }, pageContainer:...
declare module '*.json' { const value: Array<any>; export default value; }
// spell-checker:ignore cmyk, colorpicker export interface SkyColorpickerCmyk { cyan: number; magenta: number; yellow: number; key: number; }
import { AutoEncoder, Field, PatchableDecoder } from "../classes/AutoEncoder"; import { Decoder } from "../classes/Decoder"; export function field<T>(settings: { optional?: boolean; nullable?: boolean; decoder: PatchableDecoder<T>; defaultValue?: () => any; patchDefaultValue?: () => any; upgra...
<TS language="km_KH" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>ចុចខាងស្តាំដើម្បីកែអាស្រយដ្ឋាន​ ឬ ស្លាក</translation> </message> <message> <source>Create a new address</source> <transl...
export declare const TASK_TYPECHAIN: string; export declare const TASK_TYPECHAIN_GENERATE_TYPES: string;
export const jwtConstants = { secret: 'thisismysecretkey', }; export enum Role { Merchant = 'merchant', Admin = 'admin', Customer = 'customer', }; export const saltOrRounds = 10;
export interface AuthenticateTokenResponseDto { }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Kodacoin</source> <translation>Au sujet de Kodacoin</translation> </message> <message> ...
import { PhoneNumberPipe } from './phone-number.pipe'; let pipe: PhoneNumberPipe; describe('Pipe: PhoneNumber', () => { beforeEach(() => { pipe = new PhoneNumberPipe(); }) it('create an instance', () => { expect(pipe).toBeTruthy(); }); it('should return correct default mask', () => { // arran...
import { AgmCoreModule } from '@agm/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@ang...
import React, { useState } from 'react'; import { useIntl } from 'react-intl'; import classNames from 'classnames'; import { rgba, useThemeContext, DropdownWrapper } from '@biffbish/aave-ui-kit'; import { useProtocolDataContext } from '../../../libs/protocol-data-provider'; import GradientText from '../../basic/Gradie...
import * as dom from "dts-dom"; import { ParameterFlags } from "dts-dom"; import { writeFileSync } from "fs"; import { Configuration } from "./Configuration"; /* tslint:disable:no-var-requires */ // These modules only exports a function, so require is necessary here const jsdocCommentParser = require("comment-parser")...
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { map, shareReplay } from 'rxjs/operators'; import { Course } from '../model/course'; import { Lesson } from '../model/lesson'; @Injectable({ providedIn: 'root' }) export class ...
import React, { SVGAttributes } from 'react'; export interface ExcavatorProps extends SVGAttributes<SVGElement> { [key: string]: any; size?: 'xs' | 's' | 'm' | 'l' | 'xl' | number; color?: string; } const sizes = { xs: 12, s: 16, m: 20, l: 24, xl: 32 }; export const Excavator: React.FC<ExcavatorProps> = (...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; const routes: Routes = []; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) export class FacturacionRoutingModule { }
import { CancellationToken, HttpExecutor, newError, safeStringifyJson, UpdateFileInfo, UpdateInfo, WindowsUpdateInfo } from "builder-util-runtime" import { OutgoingHttpHeaders, RequestOptions } from "http" import { safeLoad } from "js-yaml" import { URL } from "url" import { newUrlFromBase, ResolvedUpdateFileInfo } fro...
import { SetMetadata } from '@nestjs/common'; import { Role } from 'nest-access-control'; export const UseScopes = (...scopes: (string | Role)[]) => { const processedScopes: Role[] = scopes.map(scope => { if ('string' === typeof scope) { const [resource, action, possession] = scope.split(':'); return...
import { Body, Controller, Delete, Get, Param, Patch, Post, Query } from '@nestjs/common'; import { ApiOkResponse, ApiTags } from '@nestjs/swagger'; import { CreatePurchaseBillDto } from './dto/create-purchase-bill.dto'; import { UpdatePurchaseBillDto } from './dto/update-purchase-bill.dto'; import { PurchaseBill } fro...
import { TrackImage, State, LastFMResponseBody } from './types'; import { parseSong } from './lib'; import useSWR from 'swr'; /** * Use Last.fm * @param username The username of the last.fm user to track * @param token Your API token * @param interval Optional, this is the interval between each request * @param i...
import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'price' }) export class PricePipe implements PipeTransform { transform(data: any, currency: string): any { let value: any; if (currency === 'INR') { value = data.india; } else if (currency === 'USD') { value = data.us; ...
import { pull, uniq, flatten } from 'lodash'; import { LitElement, customElement, property, TemplateResult, html, css } from 'lit-element'; import { unsafeSVG } from 'lit-html/directives/unsafe-svg'; import InstanceComponentsDistribution from './InstancesComponentsDistribution'; import powerBlackIcon from './assets/i...
import Button from '@salesforce/design-system-react/components/button'; import Dropdown from '@salesforce/design-system-react/components/menu-dropdown'; import i18n from 'i18next'; import React from 'react'; import { ORG_TYPES, OrgTypes } from '@/js/utils/constants'; const UserActions = ({ type, assignedUserId, ...
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { ComplainTypeApiService } from '../complain-type-api.service'; import { ComplainTypeViewModel } from '../complain-data.model'; import { CustomGridColumns } from '@bionic/shared-component'; import { HttpErrorResponse } from '@angular/common/ht...
import fetch from 'node-fetch'; import { stringify } from 'querystring'; import { QUERIED_US_ALGOLIA_KEY, US_ALGOLIA_HEADERS, QUERIED_US_GET_GAMES_URL } from '../utils/constants'; import type { QueriedGameResult, QueriedGamesAmericaOptions, QueriedGameUS } from '../utils/interfaces'; import { EshopError } from '../util...
/* * Copyright © 2020 Lisk Foundation * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied, modified, * propagated...
// @generated /* tslint:disable */ /* eslint-disable */ // This file was automatically generated and should not be edited. // ==================================================== // GraphQL fragment: HandleStartExecutionFragment // ==================================================== export interface HandleStartExecu...
interface Response<T> { status: number; data?: T; } interface Params { method: "GET" | "POST"; url: string; body?: object; cookies?: string; } export async function fetchData<T>({ method, url, body, cookies, }: Params): Promise<Response<T>> { try { const res = await fetch(url, { method...
import { Subject } from 'rxjs'; import { OrgModel } from '../../models/org.model'; import { Component, OnInit, Input } from '@angular/core'; import { FormGroup, FormControl, AbstractControl } from '@angular/forms'; import { IdeUserAccessStateManagerContext } from '../../core/ide-user-access-state-manager.context'; impo...
import { ExecutionContext, Injectable, UnauthorizedException, } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { ERROR } from 'src/constants'; @Injectable() export class AnyAuthGuard extends AuthGuard('jwt') { canActivate(context: ExecutionContext) { retur...
import { Injectable } from '@angular/core'; @Injectable() export class DelonCacheConfig { /** * 缓存模式,默认:`promise` * - `promise` 约定模式,允许 `key` 作为 http 获取数据 * - `none` 正常模式 */ mode?: 'promise' | 'none' = 'promise'; /** * 重命名返回参数,例如: * - `null` 返回体为内容 * - `list` 返回体应 `{ list...
import {Dirent} from "fs"; const fs = require('fs'); const path = require('path'); export default class FileUtils { static isAccessAllowed(aPath: string): boolean { // This app should only have access to the root image folder and thumbnail folder const allowedDirectories = [this.getRootFolderPath(), this.get...
import { TaxFormUserInput } from '../../src/types/TaxFormUserInput' export const withSpaInput: TaxFormUserInput = { priloha3_r11_socialne: '1000', priloha3_r13_zdravotne: '1000', r005_meno: 'Fake', r004_priezvisko: 'Name', r001_dic: '233123123', r003_nace: '62010 - Počítačové programovanie', r007_ulica: ...
import { Test, TestingModule } from '@nestjs/testing'; import { PublicationService } from './publication.service'; describe('PublicationService', () => { let service: PublicationService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [PublicationServic...
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { HierarchyBaseEdgeInfo, HierarchyBaseNodeInfo, HierarchyGraphDef, HierarchyGraphEdgeDef, HierarchyGraphNodeDef, HierarchyG...
import { createAction, props } from '@ngrx/store'; import { LoginAttemptDto, LoginRequestDto, LoginResultDto, RefreshTokenDto, UserRegistrationDto, } from './user-models'; export const userLoginAttempt = createAction('[User] LoginAttempt'); export const userLoginAttemptSucceeded = createAction( '[User] Log...
import Profile from "../schema"; import { SFPowerkit } from "../../../sfpowerkit"; import * as fs from "fs"; import xml2js = require("xml2js"); const nonArayProperties = [ "custom", "description", "fullName", "userLicense", "$" ]; const PROFILE_NAMESPACE = "http://soap.sforce.com/2006/04/metadata"; export d...
import { Body, Controller, Inject, InternalServerErrorException, NotFoundException, Post, UnprocessableEntityException, } from '@nestjs/common'; import { ApiInternalServerErrorResponse, ApiTags } from '@nestjs/swagger'; import { CadastrarAluno } from '../../../_business/alunos/casos-de-uso/cadastrar-aluno...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Givecoin</source> <translation>O Givecoinu</translation> </messa...
export enum OnboardingSelectors { AnalyticsAllowBtn = 'analytics-allow-btn', AnalyticsDenyBtn = 'analytics-deny-btn', BackUpSecretKeyBtn = 'back-up-secret-key-btn', ConfirmPasswordInput = 'confirm-password-input', HideStepsBtn = 'hide-steps-btn', HiroWalletLogoRouteToHome = 'hiro-wallet-logo-route-to-home',...
import React from 'react'; class MicroBit extends React.PureComponent { render() { return ( <div className="main-wrapper"> <h2 style={{padding: '5%'}}> microBit here ! </h2> </div> ); } } export default MicroBit;
/// <reference path="../IListeners.ts" /> module xlib.ui.element.elements.strong { import IEvent = elements.IEvent; export interface IListeners<T> extends elements.IListeners<T> { click?: (event?: IEvent<T>) => void; dblclick?: (event?: IEvent<T>) => void; mousedown?: (event?: IEvent<T>) => void; ...
/** * @file Tabletennis 乒乓球 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import React from 'react'; import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper( 'tabletennis', true, (props: ISvgIconProps) => ( <...
// This file can be replaced during build by using the `fileReplacements` array. // `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { production: false, identityApi: 'http://localhost:5750/identity'...
import { css } from '@emotion/react'; import { theme } from '@expo/styleguide'; import emojiRegex from 'emoji-regex'; import * as React from 'react'; import { paragraph } from './typography'; import { Info } from '~/components/icons/Info'; import * as Constants from '~/constants/theme'; const attributes = { 'data-...
/** * @license * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/// <reference types="node" /> import { EventEmitter } from "events"; import { Message, BaseMessage, ModelDetailsMessage, UserDetailsMessage, SessionDetailsMessage } from "./sMessages"; export declare class Model implements EventEmitter { uid: number; nm: string; tags: string[]; private knownSessions; ...
// Type definitions for Pixi.js 4.5 // Project: https://github.com/pixijs/pixi.js/tree/dev // Definitions by: clark-stevenson <https://github.com/pixijs/pixi-typescript> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 declare namespace PIXI { // from CONST const VE...
import clsx from 'clsx'; import { useContext } from 'react'; import { InspectedFC } from 'src/common/inspection'; import { InspectionContext, InspectionContextUpdater } from 'src/contexts/InspectionContext'; import { useInspectorPosition } from 'src/hooks/useInspectorPosition'; import scss from './Inspector.module.sc...
import { textSync } from 'figlet'; import * as cowsay from '../src'; const text = textSync('Success', { font: 'Slant' }); console.log(cowsay.say(text, { nowrap: true }));
import React from 'react'; import { useTranslation } from 'react-i18next'; import { ChoicesFilterSection } from 'src/components'; interface Props { value: string; onChange: (value: string) => void; } function LanguageFilter(props: Props) { const { t } = useTranslation(); const languageChoices = { en: t('...
import {ResultKeysEnum, ResultsIndexesEnum} from '../../../enums'; import {GiosResultsParamFactory} from '../../../factories/external-providers/gios'; import {ResultsModel} from '../../../models/resources'; export class AirQualityIndexCalculator { private readonly airQualityIndex: ResultsIndexesEnum; private reado...
/*! Copyright (c) 2019, XAPPmedia */ import { expect } from "chai"; import { Intent } from "stentor-models"; import { mergeIntents, mergeModels, MergeModelsResults, MergePatternsResults, mergeUtterancePatterns } from "../merge"; const intentOne: Intent = { intentId: "one", appId: "appOne", organizationId:...
export interface Place { formatted_address: string; polyLine: string; name: string; opening_hours: boolean; vicinity: string; geometry: object; location: object; }
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { BreadcrumbDirective } from './breadcrumb.directive'; import { BreadcrumbItemDirective } from './breadcrumb-item.directive'; import { BreadcrumbLinkDirective } from './breadcrumb-link.directive'; @NgModule({ imports:...
import type React from "react"; import type { Thunk } from "react-hook-thunk-reducer"; import useThunkReducer from "react-hook-thunk-reducer"; import type { ClutchError } from "@clutch-sh/core"; enum ManagerAction { HYDRATE_START, HYDRATE_END, SET, UPDATE, RESET, } export interface ManagerLayout { [key: s...
import * as Path from "path"; import { Reflection } from "../reflections/abstract"; import { ReflectionGroup } from "../ReflectionGroup"; import { SourceDirectory } from "./directory"; /** * Represents references of reflections to their defining source files. * * @see [[DeclarationReflection.sources]] */ export i...
<TS language="fi" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Napsauta hiiren kakkospainiketta muokataksesi osoitetta tai nimikettä</translation> </message> <message> <source>Create a new addre...
import { IStandardLogFile, ModeType } from "../typings/types"; /** * 日志标准化工具 * @param log 日志内容 * @param mode 日志模式 * @param type 日志类型 * @param filter 日志过滤器 */ export declare const formatter: (log: string, mode?: ModeType | undefined, type?: "access" | "error" | undefined, filter?: RegExp | undefined) => string[]; ...
// // João Mendes // Mar 2019 // import * as React from 'react'; import styles from './TenantProperties.module.scss'; import { ITenantPropertiesProps } from './ITenantPropertiesProps'; import { ITenantPropertiesState } from './ITenantPropertiesState'; import { escape } from '@microsoft/sp-lodash-subset'; import { ListV...
import Touchable from '@celo/react-components/components/Touchable' import { iconHitslop } from '@celo/react-components/styles/variables' import * as React from 'react' import { StyleSheet } from 'react-native' import InfoIcon from 'src/icons/InfoIcon' import { navigate } from 'src/navigator/NavigationService' import {...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. /// <reference types="cypress" /> // *************************************************************** // Each command should be properly documented using JSDoc. // See https://jsdoc.app/index.html for refere...
export * from './agent.entity'; export * from './base.entity'; export * from './mail-queue-log.entity';
import React, { forwardRef, useState } from 'react'; import { AppBar, Button, Divider, FormControlLabel, IconButton, InputAdornment, ListItemIcon, Menu, MenuItem, Switch, TextField, Toolbar, Typography, } from '@material-ui/core'; import { observer } from 'mobx-react'; import CachedIcon from '...
import * as vscode from 'vscode' import * as fs from 'fs' import * as path from 'path' import * as opn from 'opn' import * as WebSocket from 'ws' import {Extension} from '../main' import {SyncTeXRecord} from './locator' interface Position {} interface Client { type: 'viewer' | 'tab' prevType?: 'viewer' | 'ta...