text
stringlengths
10
953k
/** @component checkbox */ import { ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, Output, forwardRef, } from '@angular/core'; import { ControlValueAccessor, FormControl, NG_VALUE_ACCESSOR, } from '@angular/forms'; // tslint:disable:no-use-before-declare const CUSTOM_CHECKBOX_CONTRO...
import React, { useState, useEffect, useRef } from "react"; import moment from "moment"; export const Timer = () => { const timeRef = useRef(0); const [timePassed, setTimePassed] = useState(0); useEffect(() => { const timer = setInterval(() => { setTimePassed(++timeRef.current); }, 1000); ret...
import { createState, useState } from '@speigg/hookstate' import { User } from '@xrengine/common/src/interfaces/User' import { UserResult } from '@xrengine/common/src/interfaces/UserResult' import { AlertService } from '../../common/services/AlertService' import { client } from '../../feathers' import { store, useDispa...
import { ethers } from "ethers"; import { addresses } from "../constants"; import { abi as OlympusStakingv2ABI } from "../abi/OlympusStakingv2.json"; import { abi as sFANv2 } from "../abi/sFanv2.json"; import { setAll, getTokenPrice, getMarketPrice } from "../helpers"; import { NodeHelper } from "src/helpers/NodeHelper...
/** * 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 agreed to...
import { Denops, unknownutil } from "../../deps.ts"; import { command, read } from "./command.ts"; export function main(denops: Denops): void { denops.dispatcher = { ...denops.dispatcher, "status:command": (...args) => { unknownutil.ensureArray(args, unknownutil.isString); return command(denops, ...
export enum SeatStatus { Free, Reserved, Attended } export class SeatModel { name: string; status: SeatStatus; constructor(name: string) { this.name = name; this.status = SeatStatus.Free; } changeStatus(status: SeatStatus) { this.status = status; } }
import { IPlugin } from '../plugin' import { PluginInfo } from '../plugin-info' import { IEvaluator } from '../evaluator' /** * Neopass base configuration interface. */ export interface IBaseConfig { /** * A list of plugins to use, which conform to IPlugin. */ plugins?: IPlugin[] /** * Configure the v...
namespace Core { export class Events<T> { private static handlerGenerator: number = 0; readonly list = new Array<{ handler: (event: T) => void, capture: boolean, id: number }>(); connect(handler: (event: T) => void, capture: boolean = false) { let id = ++Events.handlerGenerator;...
import { Injectable } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { DataSendService } from 'app/core/core-services/data-send.service'; import { RelationManagerService } from 'app/core/core-services/relation-manager.service'; import { ViewModelStoreService } from 'app/core/core...
import { Injectable } from '@angular/core'; import { AuthService } from '../services/auth.service'; import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest, } from '@angular/common/http'; import { Observable } from 'rxjs'; import { catchError } from 'rxjs/operators'; import { throwErr...
import { AliasMixin } from './alias.js'; import { Node } from './node.js'; import { classMap, ValueExpressionNode } from './_internal.js'; export class PostfixUnaryNode extends ValueExpressionNode { public left: Node; public operator: string; constructor(config: { left: Node; operator: string }) { ...
import React, { useContext } from 'react'; import { AbstractButton, ButtonProps, ButtonSize, LinkButtonProps } from './AbstractButton'; import { ThemeContext } from '../../themes'; const getSizeNameComponentSegment = (size: ButtonSize) => { switch (size) { case ButtonSize.ExtraSmall: return 'ExtraSmall'; ...
import { Routes, RouterModule } from '@angular/router'; import { NgModule } from '@angular/core'; import { PodListComponent } from './podList/podList.component'; import { PodDetailsComponent } from './podDetails/podDetails.component'; import { NamespaceComponent } from './namespace/namespace.component'; import { Deploy...
const LINES_PER_LEVEL = 10 const POINTS_PER_LINES = [0, 100, 300, 500, 800] const DROP_FRAMES_PER_LEVEL = [60, 48, 37, 28, 21, 16, 11, 8, 6, 4, 3, 2, 1, 1, 1, 1, 1, 1, 1] const DROP_DISTANCE_PER_LEVEL = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 7, 11, 20] const SOFT_DROP_FRAMES = 2 const LOCK_FRAMES = 30 expo...
'use strict'; import { getTALLanguageConfiguration } from "../../languageconfiguration"; import * as assert from 'assert'; suite('TAL Language Configuration', () => { const cnfg = getTALLanguageConfiguration(); suite('"onEnterRules"', () => { const INDENT_ONENTER_REGEX = cnfg.onEnterRules![2].before...
const convertString = (value?: unknown): string => { if (value === undefined) return 'undefined'; if (value === null) return 'null'; if (typeof value === 'string') return value; if (typeof value === 'number') return value.toString(); if (typeof value === 'boolean') return value.toString(); return JSON.str...
import gql from "graphql-tag"; import { attributeValueFragment } from "./attributes"; import { metadataFragment } from "./metadata"; export const pageFragment = gql` fragment PageFragment on Page { id title slug isPublished } `; export const pageAttributesFragment = gql` ${attributeValueFragmen...
import { EXTERNAL_JS_FILE_LOADER, GOOGLE_MAP_RENDERER_SERVICE, SCRIPT_LOADER, STORE_DATA_SERVICE, STORE_FINDER_CONFIG, STORE_FINDER_SERVICE, } from '../../../../shared/constants'; import { SPARTACUS_CORE, SPARTACUS_STOREFINDER, } from '../../../../shared/libs-constants'; import { ConstructorDeprecation ...
import {ConversionContext, Converter} from './converter'; export class AnyConverter extends Converter { toInstance(params: ConversionContext<any>): any { return params.source; } toPlain(params: ConversionContext<any>): any { return params.source; } getFriendlyName(): string { ...
// https://github.com/simplesmiler/vue-focus // undefined allows for not includig ="true" import { UserModule } from '~/types' export const install: UserModule = ({ app }) => { app.directive('focus', { mounted(el, binding) { if (binding.value || binding.value === undefined) el.focus() else el.blur() ...
/* Copyright Contributors to the Open Cluster Management project */ import React from 'react' import { MemoryRouter } from 'react-router-dom' import { render, screen, waitFor } from '@testing-library/react' import { ClusterDestroy } from './ClusterDestroy' import { ClusterStatus, Cluster } from '../../../../lib/get-cl...
import { API, FileInfo, Options } from 'jscodeshift'; import renameToggleStateless from '../motions/rename-togglestateless'; const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest; function transformer( fileInfo: FileInfo, { jscodeshift: j }: API, options: Options, ) { const source = ...
import {Injectable} from '@angular/core'; import {AbstractStorage} from './ng-extension.storage'; @Injectable() export class NgLocalStorageProvider extends AbstractStorage { constructor() { super(); } public init(): void { for (const key of Object.keys(localStorage)) { this._valueMap.set(key, ses...
import { Box, Button, Flex, Heading, Link } from "@chakra-ui/core"; import NextLink from "next/link"; import { useRouter } from "next/router"; import React from "react"; import { useLogoutMutation, useMeQuery } from "../generated/graphql"; import { isServer } from "../utils/isServer"; import { DarkModeSwitch } from "./...
import * as AssetUtils from '../utils/asset.utils'; import {IGui, StateType} from './gui/i.gui'; import {AssetMode, GameConfig, PublishMode, Sites} from '../config/game.config'; import {GuiMcg} from './gui/mcg.gui'; import {GuiDu} from './gui/du.gui'; import {GuiFgc} from './gui/fgc.gui'; import {ISaver} from './saver/...
import { generateNamespace } from '@gql2ts/from-schema' import { DEFAULT_OPTIONS, DEFAULT_TYPE_MAP } from '@gql2ts/language-typescript' import { ChildProcess, spawn } from 'child_process' import log from 'fancy-log' import globby from 'globby' import { buildSchema, graphql, introspectionQuery, IntrospectionQuery } from...
import utils from './lib/utils'; import Analyzer from './lib/analyzer'; import Egg from './lib/egg'; export { utils, Analyzer, Egg };
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gu_IN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About CREDICOIN</source> <translation>બીટકોઈન વિષે</translation> </...
export { useToastContainer, useToast } from './hooks'; export { cssTransition, collapseToast } from './utils'; export { ToastContainer, Bounce, Flip, Slide, Zoom } from './components'; export { toast } from './core'; export * from './types';
import { Component, OnDestroy } from '@angular/core'; import { NbThemeService } from '@nebular/theme'; @Component({ selector: 'ngx-d3-area-stack', template: ` <ngx-charts-area-chart [scheme]="colorScheme" [results]="multi" [xAxis]="showXAxis" [yAxis]="showYAxis" [legend]="showLege...
import reducer, { CLONING, closeDrawer, CREATING, defaultState, openForCloning, openForCreating } from './index'; describe('domainDrawer reducer', () => { it('should be OPEN when opening for creating', () => { const newState = reducer( defaultState, openForCreating('Created from Add New M...
export const embeddedContent32: string;
// Copyright 2020 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...
import { AuthStatus } from "../types"; import { AUTH_STATUS_UPDATE, emitter } from "./emitter"; import { authLogout, getAuthStatus } from "./zwiftMapApi"; export async function logout(): Promise<void> { const authStatus = getCachedAuthStatus(); if (!authStatus) { return; } writeAuthStatus({ strava: fa...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import React, { useCallback } from 'react'; import { EuiBadge, EuiTableFie...
// Dependencies: import { Request, Response } from 'express'; import { Directory } from '../structure/directory'; import { File } from '../structure/file'; import { FileStructure } from '../structure/file-structure'; import { urlToPath } from '../utilities'; import { Action } from './action'; import { getCopyPath, resp...
import decoder from '../decoder' import login from '../encoder/system/login' import { WebSocket, Bot } from '../event' import logger from '../logger' import init, { close, send } from '../websocket' import config from '../../config' const startAt = new Date().getTime() WebSocket.on('message', (msg) => { if (!decode...
import React from "react" import styled from "styled-components" const Svg = styled.svg` :hover path { stroke: ${props => props.theme.palette.button.fg.hover}; } path { stroke-linejoin: round; stroke: ${props => props.theme.palette.button.fg.dark}; stroke-width: 8; ...
import Albums from './Albums' export default Albums
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { HttpResponse, HttpErrorResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import { QmsBomTechnologyComponent } from '../../../popup/bomTechnologySelection/qms-bom-technology.comp...
/** * Cloud Advisor API * Use the Cloud Advisor API to find potential inefficiencies in your tenancy and address them. Cloud Advisor can help you save money, improve performance, strengthen system resilience, and improve security. For more information, see [Cloud Advisor](/Content/CloudAdvisor/Concepts/cloudadvisorov...
/** * SEO component that queries for data with * Gatsby's useStaticQuery React hook * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from 'react' import { Helmet } from 'react-helmet' import { useStaticQuery, graphql } from 'gatsby' import { FunctionComponent } from 'react' import { React...
import {Action, ActionTypes} from 'src/dashboards/actions/v2' import {Dashboard} from 'src/types/v2' import _ from 'lodash' type State = Dashboard[] export default (state: State = [], action: Action): State => { switch (action.type) { case ActionTypes.LoadDashboards: { const {dashboards} = action.payload ...
/* Copyright 2016 - 2022 The Matrix.org Foundation C.I.C. 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...
export class ChangeUserPasswordDto { constructor(public username: string, public email: string, public currentPassword: string, public newPassword: string) { } }
import React from 'react'; //* *For every file that uses jsx, YOU MUST IMPORT REACT */ import { StyleSheet, Text, View, Platform, ImageBackground, } from 'react-native'; import { ThinButton, } from 'src/elements'; import { defaultProperty } from 'homepairs-images'; import strings from 'homepair...
import {JsonProperty} from './json-property'; import * as jsonSchema from '../test-json-files/test-json-schema.json'; import {JsonSchemaProperty} from './json-schema-property'; describe('JsonProperty', () => { beforeEach(() => { }); describe('JsonProperty types', () => { describe('isScalar', () => { i...
import { ChartBullet16 } from "../../"; export = ChartBullet16;
import { IoT } from "../IoT"; import { IoTClient } from "../IoTClient"; import { ListAuthorizersCommand, ListAuthorizersCommandInput, ListAuthorizersCommandOutput, } from "../commands/ListAuthorizersCommand"; import { IoTPaginationConfiguration } from "./Interfaces"; import { Paginator } from "@aws-sdk/types"; /...
import { useEffect, useState } from "react"; import { StreamPlayerApi } from "@cloudflare/stream-react"; import { PublicKey } from "@solana/web3.js"; import { programs, MetadataJson, MetaDataJsonCategory, MetadataJsonFile, } from "@metaplex/js"; import ContentLoader from "react-content-loader"; import ErrorLogo...
import { error, info } from "loglevel"; import { ItemView, TFile, WorkspaceLeaf } from "obsidian"; import { Debugger } from "src/Debugger"; import MLContainer from "../Components/MLContainer.svelte"; import { ARROW_DIRECTIONS, blankRealNImplied, MATRIX_VIEW, TRAIL_ICON, } from "../constants"; import type { Di...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { QuoteComponent } from './quote/quote.component'; import { ...
export * from './services'; export * from './usecases';
import { Contact } from '././contact'; import { CurrencyCode } from '././currencyCode'; import { LineItem } from '././lineItem'; import { QuoteLineAmountTypes } from '././quoteLineAmountTypes'; import { QuoteStatusCodes } from '././quoteStatusCodes'; import { ValidationError } from '././validationError'; export declare...
import React, { Component } from 'react'; import ReactNative, { requireNativeComponent, ScrollViewProps, UIManager, View } from 'react-native'; // @ts-ignore // tslint:disable-next-line: no-submodule-imports import ScrollResponder from 'react-native/Libraries/Components/ScrollResponder'; const NativeScrollView = requ...
import { IReferences } from 'pip-services3-commons-node'; import { ProcessContainer } from 'pip-services3-container-node'; import { DefaultRpcFactory } from 'pip-services3-rpc-node'; import { CurrentObjectStatesServiceFactory } from '../build/CurrentObjectStatesServiceFactory'; export class CurrentObjectStatesProcess...
import React from "react" import { mount } from "enzyme" import renderer from "react-test-renderer" import { MemoryRouter } from "react-router" import Sidebar from "./SidebarResources" import SidebarItem from "./SidebarItem" import { oneResource, twoResourceView } from "./testdata" import { ResourceView, TriggerMode } ...
/* Copyright 2016-2019 Bowler Hat 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 writing, softwar...
import styled, { CreateStyled } from '@emotion/styled'; export interface Theme { colors: { background: string body: string headings: string borders: string tableOdd: string brand: string black: string white: string attrs: { str: string agi: string int: string ...
/** * OS Management API * API for the OS Management service. Use these API operations for working with Managed instances and Managed instance groups. * OpenAPI spec version: 20190801 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2021...
//-- copyright // OpenProject is a project management system. // Copyright (C) 2012-2015 the OpenProject Foundation (OPF) // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License version 3. // // OpenProject is a fork of ChiliProject, which is a ...
/** * Human Cell Atlas * https://www.humancellatlas.org/ * * Selectors for querying Terra auth-related state from the store. */ // Core dependencies import { createSelector, createFeatureSelector } from "@ngrx/store"; // App dependencies import { selectAuthenticated } from "../../auth/_ngrx/auth.selectors"; impo...
import { HttpClient } from "@angular/common/http"; import { Injectable } from "@angular/core"; import { Observable } from "rxjs"; import { Course } from "./course"; @Injectable({ // Indica que a classe poderá ser injetada via injeção de dependência providedIn: 'root' // Indica que este serviço será carregado no mo...
export * from "./FloatTimeInput";
// THIS FILE IS AUTO GENERATED import { IconTree, IconType } from '../lib' export declare const AiOutlineBorderVerticle: IconType;
export interface NodeInterface { isRoot: boolean; id: number; pathToNode: string; pathToParent: string; isFolder: boolean; isExpanded: boolean; createdDate?: Date; stayOpen?: boolean; name?: string; children?: any; size?: number; }
import * as React from 'react' import Box from '@material-ui/core/Box' import IconButton from '@material-ui/core/IconButton' import MoreVert from '@material-ui/icons/MoreVert' import THTabs from './THTabs' import THTab from './THTab' import THIconTab from './THIconTab' import LaunchPad from './LaunchPad' import { useTo...
import * as mongoose from 'mongoose'; import { EnrollmentStatus } from '../common/enums/enrollmentStatus.enum'; export declare const EnrollmentSchema: mongoose.Schema<any>; export interface Enrollment { courseId: string; learnerId?: string; promoId?: string; transactionId?: string; discountPercentag...
// //Author Maxim Kuzmin//makc// /** Ядро. Навигация. Умолчание. */ export abstract class AppCoreNavigationDefault { /** * Конструктор. * @param {string} apiUrl URL API: тот, с которого должен начинаться абсолютный URL API. * @param {string} basePath Базовый путь: тот, что указан в атрибуте href тэга base....
// External Imports // import remotedev from 'mobx-remotedev/lib/dev'; import { Injectable } from '@angular/core'; import { TokenUser, ITokenUser } from '../../../models/user'; import { observable, computed, action, autorun, t...
/* * MIT License * * Copyright (c) 2018 Nhan Cao * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config'; interface Blob {} declare class Snowball extend...
import { useEffect } from 'react'; import { useAuth } from 'lib/useAuth'; export default function SignOut() { const { signOut } = useAuth(); useEffect(() => { signOut(); }, []); return <div>Signout</div>; }
import { TestBed, async } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ RouterTestingModule ], ...
// Copyright (C) 2020 Intel Corporation // // SPDX-License-Identifier: MIT import './styles.scss'; import React from 'react'; import { RouteComponentProps } from 'react-router'; import { withRouter } from 'react-router-dom'; import { Layout, Icon, Button, Menu, Dropdown, Modal, Row, Co...
import { MediaPackageClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageClient"; import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0"; import { deserializeAws_restJson1CreateChannelCommand, serializeAws_restJson1CreateChannelCommand, } from "../protocols/A...
'use strict'; var $ = require('preconditions').singleton(); import * as _ from 'lodash'; import { Constants, Utils } from './common'; import { Credentials } from './credentials'; import { BitcoreLib, Transactions } from 'crypto-wallet-core'; var Bitcore = BitcoreLib; var Mnemonic = require('bitcore-mnemonic'); var s...
// This icon file is generated by build/generate.ts // tslint:disable import { IconDefinition } from '../types'; export const RadiusBottomrightOutline: IconDefinition = { name: 'radius-bottomright', theme: 'outline', icon: '<svg viewBox="64 64 896 896"><path d="M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 ...
import { expect } from 'chai' import * as sinon from 'sinon' import trackJqueryApis from '../../../src/tracker/trackers/jquery' import * as tracker from '../../../src/tracker/trackers/jquery/tracker' describe('jquery hook', () => { const sandbox = sinon.sandbox.create() const context = <any>window let jQuery, ...
import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient"; import { DescribeJobRequest, DescribeJobResult } from "../models/models_0"; import { deserializeAws_restXmlDescribeJobCommand, serializeAws_restXmlDescribeJobCommand, } from "../protocols/Aws_restXml"; import ...
import { Resolver, Query, Mutation, Args, Int } from '@nestjs/graphql'; import { UserService } from './user.service'; import { User } from './entities/user.entity'; import { CreateUserInput } from './dto/register.input'; import { UpdateUserInput } from './dto/login.input'; @Resolver(() => User) export class UserResolv...
import { Nullable } from "../../types"; import { Scene } from "../../scene"; import { Vector3, TmpVectors, Vector4, Matrix } from "../../Maths/math.vector"; import { Mesh, _CreationDataStorage } from "../mesh"; import { CreateRibbon } from "./ribbonBuilder"; import { Path3D } from "../../Maths/math.path"; /** * Creat...
import * as React from "react" import { render } from "../../../jest.setup" import { isNodeOrChild } from "../utils/is-node-or-child" describe("isNodeOrChild", () => { test("tap event listeners fire", () => { const Component = () => ( <div> <div data-testid="a"> ...
import { axiosInstance } from './axiosConfig' import { dispatchError, dispatchSuccess } from '../commonFunctions/handleSnackbars' import { IShoppingItem } from '../types' export const getShoppingItems = async (tripId: number, setItems: (items: IShoppingItem[]) => void) => { try { const response = await axiosInst...
// Copyright 2015-2021 Swim inc. // // 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 ...
import { Field as GraphQLField, ObjectType } from 'type-graphql'; import { Column, CreateDateColumn, Entity, ManyToOne, OneToMany, PrimaryGeneratedColumn, UpdateDateColumn, } from 'typeorm'; import { Document } from './document'; import { User } from './user'; @Entity() @ObjectType() export class Releas...
import { CountryService } from './../../services/country/country.service'; import { Component, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; import { ProgressSpinnerMode } from '@angular/material/progress-spinner'; import { TicketService } from '../../services/ticket/ticket.s...
import { TRACK_MY_ORDER_ASYNC_SUCCESS } from '../constants' import { EnthusiasmAction } from '../actions' import { StoreState } from '../types/reducer'; const initialState = { component: '', reducer: '', orderNumber: '', orderDate: '', contact: false, status: '', description: '', steps:...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { KeyCodeConstants } from 'common/constants/keycode-constants'; import { DefaultButton, PrimaryButton } from 'office-ui-fabric-react/lib/Button'; import { MaskedTextField } from 'office-ui-fabric-react/lib/TextField';...
import { ByteReader } from './ByteReader' import { MIN_INT } from './constants' import { decodeAssetId } from './decodeAssetId' import { FundingIndex } from './OnChainData' export function readFundingIndices(reader: ByteReader) { const count = reader.readNumber(32) const indices: FundingIndex[] = [] for (let i =...
export * from './aliasConverter/aliasConverter'; export * from './dateConverter/dateConverter'; export * from './enumConverter/enumConverter'; export * from './timeConverter/timeConverter'; import * as _ from 'lodash'; import { objectUtility } from '../../object/object.service'; export interface IConverter<TDataType>...
/* tslint:disable */ import { ConcreteRequest } from "relay-runtime"; import { MockRelayRendererFixtures_artwork$ref } from "./MockRelayRendererFixtures_artwork.graphql"; export type MockRelayRendererFixturesBadQueryVariables = {}; export type MockRelayRendererFixturesBadQueryResponse = { readonly something_that_i...
export interface IToken { accessToken: string; tokenType: string; }
import { graphql, StaticQuery } from 'gatsby'; import React from 'react'; import { Heading, Box, Flex, Image } from 'rebass'; import Paragraph from './Paragraph'; import H2 from './H2'; import Container from './Container'; import List from './List'; import ListItem from './ListItem'; import Gallery from './Gallery'; im...
import { h } from '@stencil/core'; import { newSpecPage } from '@stencil/core/testing'; import { RxjsCounter } from '../rxjs-counter'; import { fakeSchedulers } from 'rxjs-marbles/jest'; describe('rxjs-counter', () => { beforeEach(() => { jest.useFakeTimers(); }); it( 'debounces count change event', ...
import { Vector3Config } from "../../middleware/common/CommonConfig"; import { generateConfigFunction } from "../../utils/utils"; import { Easing, EasingFunction } from "@tweenjs/tween.js"; import { BasicEventConfig } from "../../middleware/object/ObjectCompiler"; // TODO: const timingFunction => string export interfa...
import { FirelordFirestore, TransactionDelete, DocumentReference, MetaType, } from '../types' export const deleteCreator = ((transaction: FirelordFirestore.Transaction) => (reference: DocumentReference<MetaType>) => { const ref = transaction.delete( reference as unknown as FirelordFirestore.DocumentReference...
/// <reference types="node" /> import { IncomingMessage } from "http"; import { MiddlewareBundle } from "./middleware"; export default class MiddlewareExecutor { private exec_index; Run(req: IncomingMessage, path: string): MiddlewareBundle; private Step(mb); }
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; /*...