text stringlengths 10 953k |
|---|
import { Builder, Omit, wx } from '@vbs/mini-request-utils';
import { FullRequestOption } from './http';
/**
* 微信请求参数 (不包含回调函数)
*/
export type RequestParams = Omit<
wx.RequestOption,
'success' | 'fail' | 'complete'
>;
/**
* 构建请求参数
* @param data - 完整配置参数
*/
export function transformRequestSendDefault<
T ext... |
import '../styles/globals.css'
import type { AppProps } from 'next/app'
import { useLiff } from '@/../contexts/liff'
function MyApp({ Component, pageProps }: AppProps) {
useLiff()
return <Component {...pageProps} />
}
export default MyApp |
import { ReactElement, useEffect, useState } from 'react'
import debounce from 'lodash/debounce'
import { observer } from 'mobx-react-lite'
import { getApiUrl } from '@core/get-api-url'
import { useParams } from '@core/hooks/use-params'
import { LocalStoreManager } from '@core/storage-management/local-store-manager'
i... |
/* eslint-disable import/no-extraneous-dependencies */
import { Request, Response } from 'express'
import httpMocks from 'node-mocks-http'
import redisMock from 'redis-mock'
import SequelizeMock from 'sequelize-mock'
import { container } from '../../../src/server/util/inversify'
import { DependencyIds } from '../../..... |
import { Dom7Array } from 'dom7';
import { CSSSelector } from '../shared';
import Swiper from '../swiper-class';
export interface LazyMethods {
/**
* Load/update lazy images based on current slider state (position)
*/
load(): void;
/**
* Force to load lazy images in slide by specified index
* @param... |
import Gun from 'gun';
import Sea from 'gun/sea';
import 'gun/lib/radix';
import 'gun/lib/radisk';
import 'gun/lib/store';
import 'gun/lib/rindexed';
import 'gun/lib/not.js';
import { EventEmitter } from 'events';
(Gun as any).SEA = Sea;
interface Admin {
pubKey: string;
name: string;
}
interface Contact {
pu... |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'acme-bank';
} |
import awsSdkTracker from './aws-sdk'
import { trackMysql } from './mysql'
import { trackPostgres } from './postgres'
import { trackElasticsearch } from './elasticsearch'
import { trackHttp } from './http/http'
import { trackHttp2 } from './http/http2'
import { trackMongoDb } from './mongodb'
import { config } from '..... |
import express from 'express';
import cors from 'cors';
import './database/connection';
import routes from './routes';
const app = express();
app.use((request, response, next) =>{
response.header("Access-Control-Allow-Origin", "*");
response.header("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE");
res... |
import Account from "@/account";
import { createStyles, Theme, WithStyles } from "@material-ui/core";
export const accountItemStyles = (theme: Theme) =>
createStyles({
image: {
color: theme.palette.primary.main,
height: 30,
width: 30
},
root: {
flexGrow: 1
},
text: {
... |
import { Hidden } from '@material-ui/core';
import React from 'react';
import AccountButton from './account-button';
import ApiButton from './api-button';
import GithubButton from './github-button';
import LanguageButton from './language-button';
import LoginButton from './login-button';
import MoreIconButton from './m... |
/**
* @jest-environment ./prisma/prisma-environment-jest
*/
import { app } from '../../app';
import request from 'supertest';
describe('Create User', () => {
it('should be able to create a new user', async () => {
const response = await request(app).post('/users').send({
username: 'John Doe',
emai... |
import { CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput } from "../commands/CreateSavingsPlanCommand";
import {
DescribeSavingsPlanRatesCommandInput,
DescribeSavingsPlanRatesCommandOutput,
} from "../commands/DescribeSavingsPlanRatesCommand";
import {
DescribeSavingsPlansCommandInput,
DescribeSav... |
import lc from '../lib/index';
const state = lc.createState({
inputVal: 'test',
list: ['one', 'two', 'three'],
});
const listComponent = state.list.map(each => <li>{each}</li>)
const RootComponent = <div>
<input value={state.inputVal} placeholder="placeholder" />
<ul>{listComponent}</ul>
</div>;
lc.re... |
import {
BillOfMaterial,
BillOfMaterialModel,
BillOfMaterialModule, CatalogModel, GlobalRefVariable, isModuleRefVariable, ModuleRefVariable,
SingleModuleVersion, TerraformComponent
} from '../../models';
import {TerraformBuilder} from './terraform-builder.impl';
import {Container} from 'typescript-ioc';
import ... |
/**
* Utilities for interacting with general Genesys Cloud App UI components
*
* @since 1.0.0
*/
import BaseApi from './base';
/**
* Utilities for interacting with general Genesys Cloud App UI components
*
* @noInheritDoc
* @since 1.0.0
*/
class CoreUiApi extends BaseApi {
/**
* Show the help UI. N... |
const isFunction = (value: any): value is Function => {
return typeof value === "function";
};
export { isFunction }; |
import { include } from 'named-urls';
export default include('/extensions', {
extension: include(':extensionId', {
details: '',
update: 'update',
}),
import: 'import',
list: '',
}); |
export class ResponseDto {
isSuccess: boolean;
responseMessage: string;
} |
import { Event } from '@linode/api-v4/lib/account';
import { entityFactory, eventFactory } from 'src/factories/events';
import getEventMessage, {
eventMessageCreators,
safeSecondaryEntityLabel
} from './eventMessageGenerator';
beforeEach(() => {
jest.spyOn(console, 'error').mockImplementation(() => {});
jest.s... |
import {
Component,
OnInit,
Input,
ViewChild,
HostBinding,
Renderer2,
ElementRef,
ChangeDetectionStrategy,
OnDestroy,
ChangeDetectorRef,
NgZone,
Injector,
forwardRef,
OnChanges,
SimpleChanges,
AfterViewChecked,
DoCheck
} from '@angular/core';
import { ... |
// Copyright 2017-2021 @polkadot/util-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Params } from './types';
import scryptsy from 'scryptsy';
import { bufferToU8a, u8aToBuffer, u8aToU8a } from '@polkadot/util';
import { isReady, scrypt } from '@polkadot/wasm-crypto';
import { ra... |
import { DirectConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectConnectClient";
import { CreateDirectConnectGatewayRequest, CreateDirectConnectGatewayResult } from "../models/models_0";
import {
deserializeAws_json1_1CreateDirectConnectGatewayCommand,
serializeAws_json1_1CreateDir... |
import {
ensureInitialized,
sendMessageRequestToParent,
waitForMessageQueue,
sendMessageEventToChild,
} from '../internal/internalAPIs';
import { GlobalVars } from '../internal/globalVars';
import { FrameContexts, HostClientType } from './constants';
/**
* Namespace to interact with the authentication-specifi... |
import {readFile} from 'fs';
import {resolve as resolvePath} from 'path';
import {compareURLPatterns} from '../../src/utils/url';
import {parseArray, formatArray, getTextDiffIndex, getTextPositionMessage} from '../../src/utils/text';
import {parseInversionFixes, formatInversionFixes} from '../../src/generators/css-filt... |
// Type definitions for ag-grid v16.0.1
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
import { GridOptions } from "./entities/gridOptions";
import { IFrameworkFactory } from "./interfaces/iFrameworkFactory";
export interface GridParams {
globalEventListener?: Func... |
/*
* 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 from 'react';
import { Provider } from 'react-redux';
import { L... |
import {IconDefinition, IconName, IconPrefix} from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const faSink: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligatures: st... |
import { Directive, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute, QueryParamsHandling, Router } from '@angular/router';
import { BehaviorSubject, combineLatest, Observable, Subject } from 'rxjs';
import { distinctUntilChanged, map, shareReplay, takeUntil } from 'rxjs/operators';
import { QueryResu... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
// Generated Source
interface PagingDeviceInfo {
/**
* Internal identifier of a paging device
*/
id?: string;
/**
* Link to a paging device resource
*/
uri?: string;
/**
* Name of a paging device
*/
name?: string;
}
export default PagingDeviceInfo; |
import { isNullish, isFunction } from '../utils/type';
export default function validateFunctionArg(
arg: any,
argName: string, {
isRequired = false,
}: {
isRequired?: boolean,
} = {},
) {
if (isNullish(arg) && !isRequired) {
return;
}
if (!isFunction(arg)) {
throw new Error(`"${argName}"... |
import * as vscode from 'vscode';
import * as child_process from 'child_process';
import * as path from 'path';
import * as luacheck from './luacheck';
import * as execution from './execution';
// :line:range: (code) message
const diagnosticRe = /^:(\d+):(\d+)-(\d+): \(([EW])\d+\) (.+)$/
function str2diagserv(str: st... |
export const en = {
_Language: "English",
Language: "Language",
DarkMode: "Dark mode",
DeleteCache: "Delete cache",
ScanAndPlay: "Scan & play",
Play: "play",
Version: "Version",
LibrariesVersion: "Libraries version",
Collection: "My collection",
DevelopedBy: "Created by",
CheckForUpdates: "Check f... |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'provaAngular';
} |
import { Group } from './group.interface';
export type DefaultCustomAttributes = Record<string, unknown>;
export interface User<
TCustomAttributes extends object = DefaultCustomAttributes,
> {
id: string;
directory_id: string;
raw_attributes: any;
custom_attributes: TCustomAttributes;
idp_id: string;
fi... |
/// <reference path="fourslash.ts" />
////class A {
//// #private = 1;
////}
////
////class B extends A {
//// /**/
////}
verify.completions({
marker: "",
exact: completion.classElementKeywords,
isNewIdentifierLocation: true
}); |
#!/usr/bin/env -S node --no-warnings --loader ts-node/esm
/**
* Wechaty Chatbot SDK - https://github.com/wechaty/wechaty
*
* @copyright 2016 Huan LI (李卓桓) <https://github.com/huan>, and
* Wechaty Contributors <https://github.com/wechaty>.
*
* Licensed under the Apache License, Version 2.0 ... |
export class CaseInsensitiveMap<T, U> extends Map<T, U> {
set(key: T, value: U): this {
if (typeof key === 'string') {
key = key.toLowerCase() as any as T;
}
return super.set(key, value);
}
get(key: T): U | undefined {
if (typeof key === 'string') {
key = key.toLowerCase() as any as T;
}
return sup... |
import {MigrationInterface, QueryRunner} from "typeorm";
export class AddIsReadColumnToNotifications1651075877166 implements MigrationInterface {
name = 'AddIsReadColumnToNotifications1651075877166'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE "notifi... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
import {debug, info} from '../support';
export class Logging {
name: string = '';
log(action: string, ...msg: string[]) {
let className = this.constructor.name;
info(`${action}: ${className}('${this.name}')`, ...msg);
}
debug(context: string, ...msg: string[]) {
let className = this.constructor.n... |
import { Balance } from './balance';
export interface RefundAvailableSum {
accountBalance: Balance;
refundedAmount: Balance;
} |
import * as _ from '../src/Traversal'
import * as A from 'fp-ts/lib/ReadonlyArray'
import * as Id from 'fp-ts/lib/Identity'
import * as O from 'fp-ts/lib/Option'
import { pipe } from 'fp-ts/lib/pipeable'
import { monoidSum } from 'fp-ts/lib/Monoid'
import * as U from './util'
import { ReadonlyRecord } from 'fp-ts/lib/R... |
/** @format */
import React, { ReactElement } from "react";
import { translations } from "../../../../../utils/i18n";
export interface StateProps {
allowFutureEntries: boolean;
}
export interface DispatchProps {
updateFutureEntriesPref: (allowFutureEntries: boolean) => void;
}
type Props = StateProps & DispatchP... |
/**
* Takes key+pred pairs, returns a regex function that matches (all) values
* in sequence, returning a map containing the keys of each matched regex
* and its corresponding value.
* @param keyPredForms
* @returns {function(*): *}
*/
export declare function cat(keyPredForms: any): (values: any) => any; |
import { IGetDriverOutput } from "../../../domain/modules/driver/usecase/GetDriverByIdUseCase";
import Driver from "../../../domain/modules/driver/entity/Driver";
import { GET_DRIVER_BY_ID_SUCCESS } from "../../redux/driver/DriverActionTypes";
import { IReduxDispatch } from "../IReduxDispatch";
import ReduxPresenter fr... |
import { IDBConnection } from '../database/db';
import { IInsertStyleSchema, IStyleModel, ValidationRepository } from '../repositories/validation-repository';
import { ICsvState } from '../utils/media/csv/csv-file';
import { DWCArchive } from '../utils/media/dwc/dwc-archive-file';
import { IMediaState } from '../utils/... |
// declare var $: any;
declare let Mditor: any;
declare let Mustache: any;
declare let saveAs: any;
declare let CodeMirror: any;
declare let bsCustomFileInput: any;
declare let Toastify:any; |
import React from 'react';
import { AppLoading } from 'expo';
import { StatusBar } from 'react-native';
import { Roboto_400Regular, Roboto_500Medium } from '@expo-google-fonts/roboto';
import { Ubuntu_700Bold, useFonts } from '@expo-google-fonts/ubuntu';
import Routes from './src/routes';
export default function App... |
import supertest = require("supertest");
import {
connect, drop, newUser, addCategoryAndRegexp
} from "../../helpers/database";
import { init } from "../../helpers/server";
import auth = require("@db/auth");
import { newName, newIds } from "../../helpers/utils";
/**
* About [Issue 21](https://github.com/BoxSyste... |
type JSONType = "string" | "number" | "boolean" | "object" | "array" | "null";
/**
* Takes a randomly nested property from a JSON-object
* and returns its JSONType
*/
function getType(json: any): JSONType {
if (json === null) return "null";
const jsonType = typeof json;
if (jsonType === "object") {
if (... |
import { ReadModelResolvers } from '@resolve-js/core'
import { ResolveStore } from '@resolve-js/readmodel-base'
import { GetStoriesParams } from '../../types'
const getStories = async (type, store, { first, offset }) => {
const search = type && type.constructor === String ? { type } : {}
const skip = first || 0
... |
/**
* @Filename : fbdBlock.ts
*
* @Author : Leonie de Santis
*
* @Last_Modified : 13.05.2021
*
*/
import {ConnectionPoint, PLCNode} from '../PLCNode';
export class FbdBlock {
public xml: any;
public typeName: string;
public instanceName: string;
public localId: string;
public width = 30;
public hei... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
URLObject,
VariableType,
} from './format/schema-generated';
import { INetConsoleParameter } from '../../../net/net-console-http';
/**
* Constructs a Postman v2.1-schema-compatible "URLObject", given the Network Console param... |
import { Headers, RequestOptions } from '@angular/http';
import { User } from '../models/index'
export class BaseService {
protected jwt() {
// create authorization header with jwt token
let t = localStorage.getItem('currentUser');
let headers = new Headers();
headers.append("Cont... |
import React from 'react';
import { SegmentedControlIOS, StyleProp, ViewStyle } from 'react-native';
import { SegmentedControlPropsType } from './PropsType';
export interface SegmentedControlProps extends SegmentedControlPropsType {
style?: StyleProp<ViewStyle>;
}
export default class SegmentedControl extends React... |
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
import { SetRepositoryPolicyRequest, SetRepositoryPolicyResponse } from "../models/models_0";
import {
deserializeAws_json1_1SetRepositoryPolicyCommand,
serializeAws_json1_1SetRepositoryPolicyCommand,
} from "../protocols... |
import React from 'react';
import styled from 'styled-components';
import Button from '@atlaskit/button/standard-button';
import {
ExampleEditor as FullPageEditor,
LOCALSTORAGE_defaultDocKey,
} from './5-full-page';
import EditorContext from '../src/ui/EditorContext';
import { DevTools } from '../example-helpers/De... |
import commands from '../../commands';
import Command, { CommandError, CommandOption, CommandValidate } from '../../../../Command';
import * as sinon from 'sinon';
import appInsights from '../../../../appInsights';
import auth from '../../../../Auth';
const command: Command = require('./teams-message-get');
import * as... |
export interface IConfig {
overrideEmail: string | null;
from?: string | null;
css: string[];
input: string;
output: string;
templates: string;
partials: string;
transport: any;
emailsDirectory: string;
}
export interface IEmails {
[name: string]: IEmail;
}
export interface IEmai... |
import * as React from "react";
import {Command, GenerateMarkdownPreview, MdeState} from "./types";
import {getDefaultCommands} from "./commands";
import {layoutMap, LayoutMap} from "./LayoutMap";
import {ContentState, EditorState} from "draft-js";
import {getMdeStateFromDraftState} from "./util/DraftUtil";
export int... |
declare const Zotero: any
declare const Components: any
declare const AddonManager: any
import { Translators } from '../translators'
import { getItemsAsync } from '../get-items-async'
import { Preferences as Prefs } from '../prefs'
import * as unicode_table from 'unicode2latex/tables/unicode.json'
const unicode2latex... |
import { Entity, PrimaryGeneratedColumn, Column, OneToMany } from 'typeorm';
import { Purchase } from 'src/purchase/purchase.entity';
import { Length, IsEmail, IsNotEmpty, Min } from 'class-validator';
@Entity()
export class User {
@PrimaryGeneratedColumn()
id: number
@Column()
@Length(3, 20)
@IsNotEmpty()... |
<TS language="nl" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Rechtermuisklik om het adres of label te wijzigen</translation>
</message>
<message>
<source>Create a new address</source>
... |
/**
* @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 { toArray } from 'rxjs/operators';
import { LogEntry, Logger } from './logger';
import { NullLogger } from './... |
import wxApi = require("weixin-js-sdk")
const axios = require('axios');
const systemInfo = {
SDKVersion: "2.10.4",
batteryLevel: 100,
benchmarkLevel: 1,
brand: "devtools",
devicePixelRatio: 3,
fontSizeSetting: 16,
language: "zh",
model: "iPhone X",
pixelRatio: 3,
platform: "devtools",
safeArea: ... |
import { GetterTree, ActionTree, MutationTree, Commit } from 'vuex'
const defaultState: IdentityMintStruct = {
identities: {},
}
export const state = () => defaultState
export type State = ReturnType<typeof state>
export const getters: GetterTree<State, State> = {
getIdentityMintFor(
state: IdentityMintStru... |
import React, { useEffect, useState } from 'react'
import { Link } from 'react-router-dom'
import { FiPlus, FiArrowRight } from 'react-icons/fi'
import { Map, TileLayer, Marker, Popup } from 'react-leaflet'
import mapMarkerImg from '../images/map-marker.svg'
import '../styles/pages/orphanages-map.css'
import mapIcon... |
import i18n from 'i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import en from './en';
import es from './es';
export default i18n.use(LanguageDetector).init({
resources: { en, es },
fallbackLng: 'en',
defaultNS: 'default',
interpolation: {
escapeValue: false,
},
react: {
... |
import { url } from '../support';
describe('Testing the login feature', () => {
it('Login as waiter', () => {
cy.visit('');
cy.url().should('eq', `${url}restaurant`);
cy.loginWaiter();
cy.url().should('eq', `${url}orders`);
});
it('Logout', () => {
cy.logout();
cy.url().should('eq', `${u... |
/* eslint-disable jest/require-top-level-describe */
import { rest } from 'msw';
import { setupServer } from 'msw/node';
import Router from 'next/router';
import { render, screen, waitFor } from '../../../testUtils';
import { UNAUTHORIZED } from '../../utils/statusCodes';
import { AuthContextProvider, endpoints } from... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About PLACO</source>
<translation>關于黑幣</translation>
</message>
<message>
<location line="... |
import { ICard } from './ICard';
export const shuffleCards: (cards: ICard[]) => ICard[] = cards => {
const arr = [...cards];
for (let i = arr.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[arr[i], arr[j]] = [arr[j], arr[i]];
}
return arr;
}; |
import {
Component,
EventEmitter,
HostBinding,
Input,
OnInit,
Output
} from '@angular/core';
@Component({
selector: 'shared-checkbox',
templateUrl: './checkbox.component.html',
styleUrls: ['./checkbox.component.scss'],
host: {
class: 'shared-checkbox'
}
})
export class CheckboxComponent imple... |
import { AbstractGauge } from './gauge';
import './styles/arc.scss';
export interface ArcGaugeOptions {
value: number;
max: number;
label: string;
size?: number;
width?: number;
height?: number;
thickness?: number;
title?: string;
color?: string;
steps?: [number, number, number, ... |
import React from "react";
import {
Connection,
TransactionSignature,
Transaction,
Message,
} from "@analog/web3.js";
import { useCluster, Cluster } from "../cluster";
import * as Cache from "providers/cache";
import { ActionType, FetchStatus } from "providers/cache";
import { reportError } from "utils/sentry";... |
import { NextApiRequest, NextApiResponse } from 'next'
import pMap from 'p-map'
import { chunk, flatten, orderBy } from 'lodash'
import { utils as etherUtils, BigNumber } from 'ethers'
import type { OpenseaResponse, Asset } from '../../../utils/openseaTypes'
import type { LootAttrName } from '../../../utils/lootTypes'
... |
import { useCallback, useEffect, useState } from 'react'
import IonIcon from '@sentre/antd-ionicon'
import { fetchCGK } from 'shared/util'
import { parseColor } from './parseColor'
const PriceIndicator = ({
ticket,
colorized = false,
className,
}: {
ticket: string
colorized?: boolean
className?: string
}... |
import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
import { AppRoutingModule } from './app-routing.m... |
import { Requester } from '@hint/utils-connector-tools';
import { ResourceLoader } from 'jsdom';
import { NetworkData } from 'hint';
import { debug as d } from '@hint/utils-debug';
const debug: debug.IDebugger = d(__filename);
export class EvaluateCustomResourceLoader extends ResourceLoader {
private _requester: ... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DialogConfirmAmountComponent } from './dialog-confirm-amount.component';
describe('DialogConfirmAmountComponent', () => {
let component: DialogConfirmAmountComponent;
let fixture: ComponentFixture<DialogConfirmAmountComponent>;
beforeE... |
import * as React from 'react';
function VeilederLokal({ mood }: { mood: 'happy' | 'uncertain' }) {
return (
<svg width={49} height={85} viewBox="0 0 49 85">
<title>{'Group 2'}</title>
<g fillRule="nonzero" fill="none">
<path
d="M24.7 57.9c4.7 0 8... |
import {ChangeDetectionStrategy, Component, Inject} from '@angular/core';
import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';
import {from} from 'rxjs';
import {tap} from 'rxjs/operators';
import {StateService} from '../../../../services/state.service';
@Component({
selector: 'mfo-terms-dialog',
... |
// package: kin.agora.transaction.v4
// file: transaction/v4/transaction_service.proto
/* tslint:disable */
/* eslint-disable */
import * as grpc from "@grpc/grpc-js";
import * as transaction_v4_transaction_service_pb from "../../transaction/v4/transaction_service_pb";
import * as validate_validate_pb from "../../val... |
import { Guard, Narrowable } from '../types';
import { isComparable } from './is-comparable';
import { isEquatable } from './is-equatable';
import { isIdenticalTo } from './is-identical-to';
import { or } from './or';
/**
* Creates a guard that tests if a value is equal to a specified object. Values are compared by i... |
import * as vscode from 'vscode';
import axios, { AxiosError } from 'axios';
import LanguagesHoverProvider from './hover/provider';
import { monitorWorkerStatus, getDocStyleConfig, getCustomConfig, getHighlightedText, getWidth } from './helpers/utils';
import { changeProgressColor, removeProgressColor, displaySignInVie... |
export interface Scene {
marktype: string;
}
export class Bounds {
x1: number;
y1: number;
x2: number;
y2: number;
}
export interface SceneItem {
bounds: Bounds;
mark: { role: string };
x: number;
y: number;
}
export type SceneRect = SceneItem & {
height: number;
width: number;
};
export type ... |
/// <reference types="node" />
import { ChildProcess } from 'child_process';
import { Config } from './config';
export declare class BlockingProxyRunner {
private config;
bpProcess: ChildProcess;
port: number;
constructor(config: Config);
start(): Promise<{}>;
checkSupportedConfig(): void;
} |
import * as React from "react";
import { CarbonIconProps } from "../../";
declare const LogoQuora16: React.ForwardRefExoticComponent<
CarbonIconProps & React.RefAttributes<SVGSVGElement>
>;
export default LogoQuora16; |
import { Structure as _Structure_ } from "@aws-sdk/types";
export const DescribeRecipeInput: _Structure_ = {
type: "structure",
required: ["recipeArn"],
members: {
recipeArn: {
shape: {
type: "string"
}
}
}
}; |
import React, { Component } from "react";
import styled from "styled-components";
interface IProps {
className?: string;
type: string;
}
const Container = styled.i``;
export class XEIcon extends Component<IProps> {
public render() {
const { className, type } = this.props;
return <Container className={`... |
/* eslint-disable import/no-unresolved,no-unused-vars */
import { DocumentClient } from 'aws-sdk/clients/dynamodb';
import Operation, { IPaginatedResult } from './operation';
import { IPaginationOptions } from './paginate';
import { IFilterConditions } from './build-keys';
import { FilterCondition } from './filter-cond... |
export * from './ClientActions'; |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff} from '../cleanupSemantic';
import {INVERTED_COLOR} from '... |
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
import { ListStackSetOperationsInput, ListStackSetOperationsOutput } from "../models/models_0";
import { Command as $Command } from "@aws-sdk/smithy-client";
import { Handler, MiddlewareStack, HttpHandle... |
import { Transport } from '@bisect/bisect-core-ts';
import { IVersion } from './types';
//////////////////////////////////////////////////////////////////////////////
export default class StreamComparison {
public constructor(private readonly transport: Transport) {}
public async getAll(): Promise<any> {
... |
import { Input } from "../option";
import { UX } from "../ux";
import chalk from "chalk";
import { getProfile } from "../aws";
let pressAnyKey = require("press-any-key");
/**
* Pick AWS credentials
*/
export class CredentialsInput extends Input<string> {
message = "Credentials";
code = "credentials";
value!:... |
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-base';
interface Blob {}
declare class AutoScalin... |
import { ObjectType, Field, ID } from "@nestjs/graphql";
@ObjectType('Student')
export class StudentType {
@Field(type => ID)
_id: string;
@Field()
firstName: string;
@Field()
lastName: string;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.