text
stringlengths
10
953k
import { Operations } from '../../shared/interfaces/Operation'; export interface BroadcastResult { result: Result; } export interface Result { id: string; block_num: number; trx_num: number; expired: boolean; ref_block_num: number; ref_block_prefix: number; expiration: string; operations: Operations...
import * as LSP from "vscode-languageserver-protocol"; import Session from "../session"; export default function (session: Session): LSP.RequestHandler<LSP.CodeActionParams, LSP.Command[], never>;
import { join } from "path"; import { apply, url, move, template, mergeWith, TemplateOptions, branchAndMerge, noop, SchematicsException, Tree, Rule } from "@angular-devkit/schematics"; // import { configPath, CliConfig } from '@schematics/angular/utility/config'; import { errorXplat } from "./er...
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { SERVER_API_URL } from 'app/app.constants'; import { NotificationService } from 'app/shared/notification/notification.service'; import { MockSyncStorage } from '../helpers/mocks/service/mock-sync-storage.service'; imp...
import 'mocha' import sinon from 'sinon' import { expect } from 'chai' import { silence } from './log' import { botUser, mockUser, apiUser } from '../utils/config' import * as api from './api' import * as utils from '../utils/testing' import * as driver from './driver' import * as methodCache from './methodCache' cons...
import faker from 'faker' import * as Helper from './http-mocks' export const mockInvalidCredentialsError = (): void => Helper.mockInvalidCredentialsError(/login/) export const mockUnexpectedError = (): void => Helper.mockUnexpectedError(/login/, 'POST') export const mockOk = (): void => Helper.mockOk(/login/,...
/** * This file includes polyfills needed by Angular and is loaded before the app. * You can add your own extra polyfills to this file. * * This file is divided into 2 sections: * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. * 2. Application imports. Files imported...
import { Output, UTXO, UtxoPickerArgs, UtxoPickerResult } from './types' import * as utils from './utils' // implementation very similar to accumulative strategy // add inputs until we reach or surpass the target value (or deplete) // worst-case: O(n) export function forceUseUtxo(args: UtxoPickerArgs): UtxoPickerResul...
import { IssueProcessor } from '@core/processing/issues/issue-processor'; import { PullRequestProcessor } from '@core/processing/pull-requests/pull-request-processor'; import { IGithubApiAssignee } from '@github/api/labels/interfaces/github-api-assignee.interface'; import { IGithubApiProjectCard } from '@github/api/pro...
import { IGuild } from "../../index.js"; import { Method } from "./Method.js"; /** * @category Decorator */ export class DComponentSelectMenu extends Method { private _id: string | RegExp; private _guilds: IGuild[]; private _botIds: string[]; get botIds(): string[] { return this._botIds; } set botId...
import { Component } from '@angular/core'; import { OnDestroy$, takeUntilDestroyed } from '@pdtec/ngx-observable-lifecycle'; import { ObservableService } from './observable.service'; @Component({ selector: 'app-child-1', template: '<div>Child 1 Value: {{value}}</div>', }) export class Child1Component extends OnDes...
/* eslint-disable */ import type { MsgVpnBridgeTlsTrustedCommonName } from './MsgVpnBridgeTlsTrustedCommonName'; import type { MsgVpnBridgeTlsTrustedCommonNameCollections } from './MsgVpnBridgeTlsTrustedCommonNameCollections'; import type { MsgVpnBridgeTlsTrustedCommonNameLinks } from './MsgVpnBridgeTlsTrustedCommonN...
import { GetServerSideProps } from 'next'; import { getSessionRequestByContext } from '@/session'; import { FC, useEffect } from 'react'; import { logOutUser } from '@/client'; import { useAlerts } from '@/alerts'; import { useRouter } from 'next/router'; const LogOut: FC = () => { const Alerts = useAlerts(); cons...
import React, { FC } from 'react'; interface UserActivityState { isUserActive: boolean | null; } export declare const UserActivityContext: React.Context<UserActivityState | null>; declare const UserActivityProvider: FC; declare function useUserActivityState(): UserActivityState; export { UserActivityProvider, useUs...
import { ValidationPipe } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; import * as dayjs from 'dayjs'; import * as utc from 'dayjs/plugin/utc'; import * as timezone from 'dayjs/plugin/timezone'; import * as mongoose from 'mongoose'; async function bootstr...
export type DomifaEnv = { DOMIFA_ENV_PRESET: string; DOMIFA_ENV_PRIORITY: "files" | "process.env"; /** * @deprecated use DOMIFA_SECURITY_FILES_IV instead */ FILES_IV: string; /** * @deprecated use DOMIFA_SECURITY_FILES_PRIVATE instead */ FILES_PRIVATE: string; DOMIFA_SECURITY_FILES_IV: string;...
import { Controller, Get, Param } from '@nestjs/common'; import { UsersService } from './users.service'; @Controller('users') export class UsersController { constructor( private readonly usersService: UsersService ){} @Get('/validation/:eMail') async checkUserValidation(@Param('eMail') eMail) { return await t...
import { Day, DayStatus } from "./day.model"; export class Challenge { constructor(public title: string, public description: string, public year: number, public month: number, private _days: Day[] = []) { if (_days.length > 0) { return; } const daysInMonth = new Date(year, month ...
import packageInfo from "./package.json"; import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; import { fromB...
import { AfterViewInit, Directive, DoCheck, ElementRef, forwardRef, HostListener, Inject, Input, KeyValueDiffer, KeyValueDiffers, OnInit, Optional } from "@angular/core"; import { AbstractControl, ControlValueAccessor, NG_VALIDATORS, NG_VALUE_ACCESSOR, Validator } from "@angular/forms"; import { CurrencyMaskConfig, CUR...
import { Component, Output, EventEmitter, Input, ChangeDetectionStrategy, HostListener, HostBinding } from '@angular/core'; import { daffBackdropAnimations } from '../animation/backdrop-animation'; @Component({ selector: 'daff-backdrop', templateUrl: './backdrop.component.html', styleUrls: ['./backdrop.componen...
/** * Shared Client State Service * * The version of the OpenAPI document: 1.0.0 * Contact: liveapps@tibco.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './mode...
import * as React from 'react'; import { StandardProps } from './index'; export interface FormProps extends StandardProps { /** Set the left and right columns of the layout of the elements within the form */ layout?: 'horizontal' | 'vertical' | 'inline'; /** The fluid property allows the Input 100% of the form...
import {Component} from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'app'; constructor() { } toProductDetails() { } }
import { IUser } from './interfaces/user'; class User { private name: string = ''; constructor(user?: IUser) { if (user) { this.name = user.name; } } public getName(): string { return this.name; } } export default User;
import Node from './shared/Node'; import Block from '../render-dom/Block'; import map_children from './shared/map_children'; import TemplateScope from './shared/TemplateScope'; export default class CatchBlock extends Node { block: Block; scope: TemplateScope; children: Node[]; constructor(component, parent, scope...
import React from 'react'; import { Avatar, Group, AvatarsGroup } from '@mantine/core'; import { avatars } from './_mockdata'; const code = ` import { Avatar, AvatarsGroup } from '@mantine/core'; function Demo() { return ( <AvatarsGroup limit={2} total={7}> <Avatar src="avatar.png" component="a" href="htt...
import { Component } from '@angular/core'; import { Config, ModalController } from '@ionic/angular'; @Component({ selector: 'add-task-modal', templateUrl: 'session-detail-add-task.html' }) export class AddTaskModal { private task = { title: '' } constructor( private config: Config, public...
import { MODELURL } from '..'; const getSavedPlots = async (fileId: string) => { try { const data = await fetch(`${MODELURL}/get_save_plots/${fileId}`, { method: 'GET', }).then((res) => res.json()); console.log('[SUCCESS] GET saved plots', data); return data; } catch (err) { console.log(...
/// <reference path="../node_modules/@types/jest/index.d.ts"/> import { Equalable, eq } from "../src/Equalable"; describe( "Equalable", () => { it( "eq with primitives", () => { expect(eq(true, true)).toBe(true); expect(eq(true, false)).toBe(false); expect(eq(1, 1)...
import axios from 'axios'; const apiKey = process.env.REACT_APP_GIPHY_API_KEY || ''; const instance = axios.create({ baseURL: 'http://api.giphy.com/v1/', params: { api_key: apiKey, } }); export default instance;
/* * Copyright 2020 Scheer PAS Schweiz AG * 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 t...
/** * Representation of the patient object * * THINK: Should really seperate `Identifier` from `body`? * Reason I thought of, might want to mask `Identifier`, special indexing? */ export type Patient<PatientBody extends Data = Data> = Resource< "Patient", { /** * Object containing the patient's indentifying...
import { interpolatePath } from 'd3-interpolate-path'; // $ExpectType (t: number) => string const interpolate = interpolatePath('M0,0 L10,10', 'M10,10 L20,20 L30,30'); // $ExpectType string interpolate(0.6); // $ExpectType string interpolatePath( 'M0,0 L10,10', 'M10,10 L20,20 L30,30', (a, b) => a.x === b...
import AuthInterface from 'modules/authentication/models/AuthInterface'; import { auth } from '../../../shared/services/firebase'; const LoginService = { async requestLogin(email: string, password: string): Promise<AuthInterface> { const loginResponse = await auth.signInWithEmailAndPassword( email, p...
/** * 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 firebase from 'react-native-firebase' import { setAccountAddress } from 'src/app/actions' import { store } from 'src/redux/store' import { DEFAULT_TESTNET } from 'src/utils/config' import logger from 'src/utils/logger' const tag = 'FirebaseDb' export interface Verifier { name: string phoneNum: string fcm...
<TS language="vi_VN" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Nhấn chuột phải để sửa địa chỉ hoặc nhãn</translation> </message> <message> <source>Create a new address</source> <trans...
import { PAG, Vector, Marker } from './types'; import { PAGLayer } from './pag-layer'; import { wasmAwaitRewind } from './utils/decorators'; @wasmAwaitRewind export class PAGComposition extends PAGLayer { public static module: PAG; public constructor(wasmIns: any) { super(wasmIns); } /** * Returns the ...
/// <reference path="fourslash.ts" /> //// function foo (a: number, ...b: number[]) {} //// foo(/*a*/1, /*b*/1, 1, 1); const markers = test.markers(); verify.getInlayHints([ { text: 'a:', position: markers[0].position, kind: ts.InlayHintKind.Parameter, whitespaceAfter: true }, ...
import * as React from "react" import Footer from "../Footer" import { Menu } from "../Menu" import api from "../../data/en/api" import ApiRefTable from "../ApiRefTable" import * as typographyStyles from "../../styles/typography.module.css" import * as containerStyles from "../../styles/container.module.css" export de...
import { EntityRepository, Repository } from "typeorm"; import { UserInfo } from "./user-info.entity"; @EntityRepository(UserInfo) export class UserInfoRepository extends Repository<UserInfo>{ }
import { themeColors } from '/@src/utils/themeColors' export const trendWidgetChartOptions = { series: [ { name: 'series1', data: [31, 40, 28, 51, 42, 109, 100], }, ], chart: { height: '200px', width: '100%', type: 'line', toolbar: { show: false, }, }, colors: [t...
import { zSocket /*, ZesaruxSocket*/ } from './zesaruxsocket'; //import { Z80RegistersClass } from '../z80registers'; import {CpuHistoryClass} from '../cpuhistory'; import {HistoryInstructionInfo, DecodeHistoryInfo} from '../decodehistinfo'; import {Utility} from '../../misc/utility'; /** * Use similar data as Deco...
'use strict'; function split(names:string) { return new Set(names.split(' ')); } // TODO: https://www.w3.org/TR/html52/dom.html#global-attributes (itemprop itemscope itemtype - schema.org) // TODO: https://www.w3.org/TR/html52/dom.html#content-models export const html5 = split( 'html body head base link meta s...
import { Component } from '@angular/core'; import { AngularFire, FirebaseListObservable } from 'angularfire2'; @Component({ selector: 'my-app', template: `<h1>Hello {{name}}</h1> <ul> <li *ngFor="let item of items | async"> {{item.$value}} </li> </ul> `, }) export class AppComponent ...
import assert from 'assert' import * as base32 from 'hi-base32' import * as rlp from 'rlp' import { sscanf } from 'scanf' import { ecdsaVerify } from 'secp256k1' import Multiaddr from 'multiaddr' import base64url from 'base64url' import { PeerInfo } from '../dpt' import { toNewUint8Array, keccak256 } from '../util' co...
import ADComponent from '../common/adComponent' /** * @name ad-popover * @description 气泡提示组件 * @tutorial http://ad-mob.woa.com/src-components-popover-popover */ const componentOptions = ADComponent({ behaviors: [], properties: { /** * @property {String} prefix 默认类名前缀 * @default ad_popover *...
import { Entity, Column, BaseEntity, OneToOne, OneToMany, CreateDateColumn, UpdateDateColumn, PrimaryGeneratedColumn, JoinColumn } from 'typeorm'; import ProjectEntity from './project.entity'; import ProjectRequestEntity from './project-request.entity'; import UserEntity from './user.entity'; @Entity() export default ...
<TS language="uz@Cyrl" 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 "styled-components"; import { Colours } from "./context/deck"; interface IPalette { main: string; contrastText: string; } declare module "styled-components" { export interface DefaultTheme { colours: Colours; } }
import { TimelineStylesNames } from './Timeline'; export const Timeline: Record<TimelineStylesNames, string> = { item: 'Item root element', itemBody: 'Item body, wraps title and content', itemTitle: 'Item title, controlled by title prop', itemContent: 'Item content, controlled by children prop', itemLineActi...
import * as React from 'react'; import { ControlsAreaPage, IControlsPageProps } from '../ControlsAreaPage'; import { SliderPageProps } from './SliderPage.doc'; export const SliderPage: React.FunctionComponent<IControlsPageProps> = props => { return <ControlsAreaPage {...props} {...SliderPageProps[props.platform]} />...
export const generateRandomString = (length: number) => { const chars = 'abcdefghijklmnopqrstuvwxyz0123456789' let nonce = '' while (nonce.length < length) { nonce += chars.charAt(Math.floor(Math.random() * chars.length)) } return nonce } export const encodeParams = (parameters: any) => { const jsons...
import { Component, OnInit } from '@angular/core'; import { Store } from '@ngrx/store'; import { Observable} from 'rxjs'; import { Model } from 'src/app/data-models/model'; import { State } from 'src/app/root-store/root-store.state'; import { selectModel } from 'src/app/root-store/root-store.selectors'; @Component({ ...
import app from '../../forum/app'; import setRouteWithForcedRefresh from '../../common/utils/setRouteWithForcedRefresh'; import SearchState from './SearchState'; type SearchParams = Record<string, string>; export default class GlobalSearchState extends SearchState { private initialValueSet = false; constructor(c...
import {Component, OnInit} from "@angular/core"; import {Router} from "@angular/router"; declare let AWS: any; declare let AWSCognito: any; @Component({ selector: 'awscognito-angular2-app', template: '<p>Hello and welcome!"</p>' }) export class AboutComponent { } @Component({ selector: 'awscognito-angul...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* * Copyright (C) 2021 Vaticle * * 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, Ver...
import React, { VoidFunctionComponent } from 'react' import { usePaginationContext } from '..' const ExampleChildren: VoidFunctionComponent = () => { const { pageData } = usePaginationContext<string>() return ( <ul> {pageData.map(item => ( <li key={item}>{item}</li> ))} </ul> ) } ex...
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient"; import { UpdateDataSourceRequest } from "../models/models_0"; import { deserializeAws_json1_1UpdateDataSourceCommand, serializeAws_json1_1UpdateDataSourceCommand, } from "../protocols/Aws_json1_1"; import { getSerde...
// Copyright 2021 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 agreed to in ...
<TS language="hr" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Desni klik za promjenu adrese ili oznake</translation> </message> <message> <source>Create a new address</source> <translat...
import { NodeDefinition, ThemeDecorators } from "../src/interfaces"; export default class BashDecorators implements ThemeDecorators<string> { public argument(text: string, definition?: NodeDefinition) { return `${text}`; } public arithmeticOperator(text: string, definition?: NodeDefinition) { return `\u...
import RibbonButton from './RibbonButton'; import { EditorPlugin, FormatState } from 'roosterjs-editor-types'; import { LocalizedStrings } from '../../common/type/LocalizedStrings'; /** * Represents a plugin to connect format ribbon component and the editor */ export default interface RibbonPlugin extends EditorPlug...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { TagsO...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { PlayerChooserComponent } from './player-chooser.component'; describe('PlayerChooserComponent', () => { let component: PlayerChooserComponent; let fixture: ComponentFixture<PlayerChooserComponent>; beforeEach(async(() => { Te...
import { Args, Int, Mutation, Query, Resolver } from '@nestjs/graphql'; import { Inject, UseGuards } from '@nestjs/common'; import { CurrentUser, GqlAuthGuard } from '../../auth'; import { SalesInvoice } from '../../model/generated/entities/SalesInvoice'; import { SalesInvoiceModel, SalesInvoicePublishArgsModel, ...
export { default } from './CodeScrollContainer'
import React from 'react'; import { shallow } from 'enzyme'; import { CloudWatchLogsQueryField } from './LogsQueryField'; import { ExploreId } from '../../../../types'; import { DescribeLogGroupsRequest } from '../types'; import { SelectableValue } from '@grafana/data'; jest.mock('lodash/debounce', () => { const fak...
import { ChangeDetectionStrategy, Component, OnInit, Input, Output, Inject, } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { DialogData, ThemePickerService } from './theme-picker.service'; @Component({ selector: 'chat-and-call-theme-picker', tem...
import { newE2EPage } from '@stencil/core/testing' describe('cm-checkbox-group', () => { it('renders', async () => { const page = await newE2EPage() await page.setContent('<cm-checkbox-group></cm-checkbox-group>') const element = await page.find('cm-checkbox-group') expect(element).toHaveClass('hydrated') }...
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, OnInit, ViewChild, } from "@angular/core"; import { ScrollView, TextField } from "@nativescript/core"; import { ToDoItem } from "../../interfaces"; import { uuid } from "../../../../shared/functions"; import { HomeStoreService } fro...
import * as chalk from 'chalk'; export function getIonitronString(quote: string) { const quoteFormatted = quote .split('\n') .map((currentString) => { const lineLength = 68; const paddingLeftSize = Math.floor((lineLength - currentString.length) / 2); const paddingRightSize = paddingLeftSize...
import { DynamoDBRecord } from "aws-lambda"; import { DynamoDB } from "aws-sdk"; /** * Service class for interpreting and formatting * incoming DynamoDB streams */ class StreamService { /** * Extract INSERT events from the DynamoDB Stream, convert them * to a JS object and expand the test results into multi...
<TS language="he" 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 { pages } from "./navigation"; import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router"; import Main from "./../pages/Main.vue"; const routes = pages.map((p) => { return { path: "/" + p.link, component: p.page, name: p.name } as RouteRecordRaw; }); routes.push({ path: "/", component: Ma...
import React, { useContext, useState } from 'react'; import { useSpring, animated } from 'react-spring'; import { MdClose, MdAddCircle, MdRemoveCircle } from 'react-icons/md'; import './GameMenu.css'; import { GameContext } from './App'; import { Game } from '../models/game'; import { Player } from '../models/player'; ...
export * from './async'; export * from './errors'; export { Collection, collect, emptyCollection } from './collection'; export { HashMap } from './hash_map'; export { List, generateList, listRepeat } from './list'; export { Queue } from './queue'; export { Sequence, sequence, sequenceRange, emptySequence, sequenceRepe...
/// <reference types="cypress" /> declare namespace Cypress { interface Chainable<Subject> { /** * Get the text contents of a DOM element. * * @see https://github.com/Lakitna/cypress-commands/blob/master/docs/text.md */ text(options?: Partial<TextOptions>): Chain...
import { Component, Theme, theme, Variant } from '@morfeo/core'; import { useTheme } from './useTheme'; /** * useProps * It returns the default properties of the component. * @param componentName the name of the component inside the Theme components slice * @param variant the component variant * @returns the comp...
import { ServiceType } from "../CiaoService"; import { Protocol } from "../index"; import { enlargeIPv6, formatHostname, formatReverseAddressPTRName, getNetAddress, ipAddressFromReversAddressName, parseFQDN, removeTLD, shortenIPv6, stringify, } from "./domain-formatter"; describe("domain-formatter", ...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export ...
import * as path from 'path'; import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import pkg from './package.json'; process.env.VITE_APP_VERSION = pkg.version; if (process.env.NODE_ENV === 'production') { process.env.VITE_APP_BUILD_EPOCH = new Date().getTime().toString(); } export default def...
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { QuestionAnswerPage } from './question-answer'; import { TranslateModule } from '@ngx-translate/core'; @NgModule({ declarations: [ QuestionAnswerPage, ], imports: [ IonicPageModule.forChild(QuestionAnswerPa...
import sortBy from 'lodash-es/sortBy'; import toPairs from 'lodash-es/toPairs'; import fromPairs from 'lodash-es/fromPairs'; /* 对root.properties进行排序 */ function sortProperties(properties: object): object { const propertiesArr: Array<[string, any]> = (Object.entries || toPairs)(properties); const sortPropertiesArr:...
// This file is automatically generated based on the Looker Core API metadata. export enum LookmlModelExploreFieldMapLayerFormat { Topojson = 'topojson', VectorTileRegion = 'vector_tile_region' } export interface LookmlModelExploreFieldMapLayer { /** URL to the map layer resource. */ url: string /** Specifi...
import React, { FC, useCallback, useMemo } from "react"; import { FlowEditorController } from "scribing-react"; import { ToolButtonProps } from "../components/ToolButton"; import { useMaterialFlowLocale } from "../MaterialFlowLocale"; import Icon from "@mdi/react"; import { mdiImagePlus } from "@mdi/js"; import { MenuI...
import { Injectable } from '@angular/core'; import { Observable, Subject } from 'rxjs/Rx'; import { DummyWorkService } from '../../../../core'; import { AuthService, Principal } from '../../contract'; import { HttpPrincipal } from './http-principal'; import { PrincipalsService } from './principals.service'; import {...
import { HttpResponse } from "@aws-sdk/types"; import { IncomingMessage, Server as HttpServer, ServerResponse } from "http"; import { Http2Server } from "http2"; import { Server as HttpsServer } from "https"; export declare const createResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: S...
/** * Accounting API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.5 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi...
/** * Overview component */ import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e'; /** * Represents the Overview helpers. */ export declare class OverviewHelper extends TestHelper { /** * Specifies the ID of the overview. */ id: string; /** * Specifies the current helper function ...
import {Component, ComponentConstructor, ComponentProps, h} from 'preact'; import {Dispatch, Unsubscribe} from 'small-redux'; import {ProviderContext} from './Provider'; /** * Connects a Preact component to a Redux store. * * @param mapStateToProps This function will be called on every store update * and it’s re...
import { existsSync, readFileSync, writeFileSync } from 'fs'; import { join as joinPath } from 'path'; import { Injectable } from '../injector'; import { LogFactory } from '../services/Logger'; import { isNullOrUndefined } from '../utils/assert'; import { getProjectRoot } from '../utils/getProjectRoot'; import { Shell ...
import { Map } from '@thisisagile/easy'; export class MovieMap extends Map { readonly id = this.prop('imdbID'); readonly title = this.prop('Title'); readonly year = this.prop('Year'); readonly poster = this.prop('Poster'); }
import { PathTree } from "../src/path-tree"; describe('PathTree', () => { it('should find a path', () => { const tree = new PathTree<string>(); tree.add("/something/else", "value"); expect(tree.get("/something/else")).toBe("value"); }); it('should find a path with params', () => { const tree = n...
import { NgModule } from '@angular/core'; import { LogoPipe } from './logo/logo.pipe'; import { ImagePipe } from './image/image.pipe'; import { SanitizerPipe } from './sanitizer/sanitizer.pipe'; import { MediaIconPipe } from './media-icon/media-icon.pipe'; import { StatusPipe } from './status/status.pipe'; import { Pu...
import {MunicipioInterface, Municipio} from './municipio'; import {Departamento} from './departamento'; export interface JuzgadoInterface { tij_id: string, tij_descripcion?: string, prj_numerojuzgado: number, tipo?: string, despacho?: string, depto: Departamento, ciudad: MunicipioInterface } export clas...
import { boom, makeStair, n } from "@effect/core/test/stm/TArray/test-utils" import { constTrue } from "@tsplus/stdlib/data/Function" describe.concurrent("TArray", () => { describe.concurrent("exists", () => { it("detects satisfaction", async () => { const program = makeStair(n) .commit() ....
const typeorm = require('typeorm') /** reads configs from environment variables, if not set, use defaults*/ const getConfigs = () => { return { pageSize: process.env.TRO_DEFAULT_PAGE_SIZE || 25, searchField: process.env.TRO_DEFAULT_SEARCH_FIELD || 'name', orderArg: process.env.TRO_ORDER_ARG...