text stringlengths 10 953k |
|---|
import * as Types from './types/teams'
import * as RPCTypes from './types/rpc-gen'
import * as RPCChatTypes from './types/rpc-chat-gen'
import * as ChatTypes from './types/chat2'
import {getFullRoute} from './router2'
import invert from 'lodash/invert'
import {teamsTab} from './tabs'
import {memoize} from '../util/memo... |
/* eslint-disable */
/* eslint-disable */
import { Injectable } from '@angular/core';
import { HttpClient, HttpResponse } from '@angular/common/http';
import { BaseService } from '../base-service';
import { ApiConfiguration } from '../api-configuration';
import { StrictHttpResponse } from '../strict-http-response';
imp... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { IFairnessData } from "@responsible-ai/core-ui";
import { FairnessWizard, IFairnessProps } from "@responsible-ai/fairness";
import { Language } from "@responsible-ai/localization";
import { ITheme } from "office-ui-fabric-react";
import... |
import {
createClient,
ExchangeIO,
Operation,
OperationResult,
formatDocument,
} from '@urql/core';
import gql from 'graphql-tag';
import { pipe, map, makeSubject, tap, publish } from 'wonka';
import { offlineExchange } from './offlineExchange';
const mutationOne = gql`
mutation {
updateAuthor {
... |
export function openTimeout() {
return Object.assign(new Error(`Timed out waiting for open connection.`), {
code: `CONNECTION_POOL:OPEN_TIMEOUT`,
});
}
export function queueTimeoutError() {
return Object.assign(
new Error('Timed out waiting for connection from pool.'),
{
code: 'CONNECTION_POOL:Q... |
import { Baksystem, Saksdato } from './fellesSak';
export interface Sak {
temakode: string;
saksid: string;
fagsaksnummer: string;
avsluttet: Saksdato;
fagsystem: string;
baksystem: Baksystem;
} |
import { supportDir, setupDatabaseAndSynchronizer, switchClient } from '../testing/test-utils';
import Folder from '../models/Folder';
import Note from '../models/Note';
import Resource from '../models/Resource';
import shim from '../shim';
const testImagePath = `${supportDir}/photo.jpg`;
describe('models/Resource', ... |
import { Requester } from '@chainlink/ea-bootstrap'
import { Config } from '@chainlink/types'
export const NAME = 'MEDIANIZER'
export const makeConfig = (prefix = ''): Config => {
return Requester.getDefaultConfig(prefix)
} |
import Vue from 'vue'
import Vuetify from 'vuetify'
import { ConfirmDialog } from './index'
export default {
title: 'component/ConfirmDialog',
component: ConfirmDialog,
argTypes: {
}
}
const Template = (args, { argTypes }) => ({
vuetify: new Vuetify({ iconfont: 'mdi' }),
props: Object.keys(argTypes),
co... |
// Copyright 2019 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 _ from 'lodash';
const listEndpoints = require('express-list-endpoints');
import express from 'express';
import {
Info,
Spec,
Schema,
ApiKeySecurity,
Operation,
QueryParameter,
BodyParameter,
Reference,
} from 'swagger-schema-official';
import fs from 'fs';
interface EndPoint {
path: string;
... |
import * as React from "react";
import { InternationalProps, ReactButtonAttr, ForwardRefReturn } from "../../../typings/shared";
import { DataTableSortState, DataTableSortStates } from "./state/sorting";
export type TableHeaderTranslationKey = "carbon.table.header.icon.description";
export interface TableHeaderTransl... |
import { Injectable } from '@angular/core';
import { LaudosLocalService } from './laudos-local.service';
import { LaudosRemoteService } from './laudos-remote.service';
import { LaudoDataTableItem } from '../models/laudo';
import { LaudoRemote } from '../models/laudo-remote';
import * as moment from 'moment';
import * a... |
import { TestBed, inject } from '@angular/core/testing';
import { HomeResolveService } from './home-resolve.service';
describe('HomeResolveService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [HomeResolveService]
});
});
it('should be created', inject([HomeResolveServi... |
export const Items: {[itemid: string]: ModdedItemData} = {
dragonitite: {
name: "Dragonitite",
spritenum: 586,
megaStone: "Dragonite-Mega",
megaEvolves: "Dragonite",
itemUser: ["Dragonite"],
onTakeItem(item, source) {
if (item.megaEvolves === source.baseSpecies.baseSpecies) return false;
return true;... |
import {StyleSheet} from 'react-native';
//{--{
import {appStyles, FONTSIZE, theme} from '../../../app.styles';
//}--}
//{[{
import {appStyles, FONTSIZE} from '../../../app.styles';
import {Theme} from '../../../themes/types';
//}]}
export const getStyles = (/*{[{*/theme: Theme/*}]}*/) => |
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Extended information about an entity including $instance data.
*/
export interface EntityInfo {
/**
* Name of entity.
*/
name: string;
/*... |
import * as mongoose from 'mongoose'
export interface MenuItem extends mongoose.Document {
name: string,
price: number
}
export interface Restaurant extends mongoose.Document {
name: string,
menu: MenuItem[]
}
const menuSchema = new mongoose.Schema({
name: {
type: String,
required: true
},
pric... |
import { round } from 'lodash';
// 默认高度显示100%
const supportHeightItem = {
type: 'line',
data: [100],
lineStyle: {
opacity: 0,
},
symbol: 'none',
tooltip: {
show: false,
},
};
export const getOption = (data: any) => {
const { xAxis: xList, data1, data2 } = data || {};
// 撑起高度处理
supportHeig... |
import {Game} from "./engine/game";
import "./shared/polyfills.js";
import "./styles/reset.css";
import "./styles/main.styl";
const canvas: HTMLCanvasElement = <HTMLCanvasElement>document.querySelector('#canvas');
const game: Game = new Game(canvas);
game.run(); |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MailboxListComponent } from './mailbox-list.component';
describe('MailboxListComponent', () => {
let component: MailboxListComponent;
let fixture: ComponentFixture<MailboxListComponent>;
beforeEach(async(() => {
TestBed.conf... |
declare module 'await-notify' |
export * from './trello.component'; |
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
* Licensed under the MIT License.
*/
import { existsSync, readFileSync, writeFileSync } from 'fs';
import { isAbsolute, join, resolve } from 'path';
import { get } from 'request-promise-native';
import { ConsoleLogger, ILogger } from '../logger';
import ... |
export class Browser {
constructor() {
// empty
}
public isAndroid(): boolean {
const check = navigator.userAgent.match(/Android/i);
return this.resolve(check);
}
public isBlackBerry(): boolean {
const check = navigator.userAgent.match(/BlackBerry/i);
return this.resolve(check);
}
... |
import { Fragment } from 'react';
import { Grid, Typography,Paper, Button } from '@mui/material';
import { Box } from '@mui/system';
import { CartItem } from '~/contexts/CartContext';
import { useCart } from '~/hooks/useCart';
import { formatNumberToCurrency } from '~/utils/formatNumberToCurrency';
import { ToastAnima... |
/// <reference path="../../../../../jqwidgets-ts/jqwidgets.d.ts" />
import { Component, ViewChild, AfterViewChecked, ViewEncapsulation } from '@angular/core';
import { jqxGridComponent } from '../../../../../jqwidgets-ts/angular_jqxgrid';
@Component({
selector: 'my-app',
template: `<angularGrid></angularGrid... |
import "reflect-metadata";
import expect = require("expect.js");
import {Mock, IMock, It} from "typemoq";
import {Subject, Subscription} from "rxjs";
import TickScheduler, {ITickScheduler} from "../scripts/ticks/TickScheduler";
import {IStreamFactory, Event, SpecialEvents, Dictionary, IDateRetriever} from "prettygoat";... |
import { modifyCSS, createDom } from '@antv/dom-util';
import { clone, isString } from '@antv/util';
import Base, { IPluginBaseConfig } from '../base';
import { IAbstractGraph as IGraph } from '@antv/g6-core';
import { Point } from '@antv/g-base';
import insertCss from 'insert-css';
insertCss(`
.g6-component-toolbar... |
import {
ComponentMeta as InternalCodeComponentMeta,
ContextMeta,
registerComponent,
registerContext,
} from '@plasmicapp/host';
import {
ComponentMeta,
LoaderBundleCache,
LoaderBundleOutput,
PageMeta,
PlasmicModulesFetcher,
Registry,
} from '@plasmicapp/loader-core';
import React from 'react';
impo... |
import { expect, should } from 'chai';
import { chunk } from '../src/alpha';
should();
describe(chunk.name + '() - @category Array', () => {
const original: number[] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0];
const array: number[] = original.slice(0);
describe('should handle all out of bound split size', () => {
... |
interface IResult {
firstName: string;
secondName: string;
email: string;
turns: number;
time: string;
difficult: string;
}
export type { IResult }; |
// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
export declare const CgTranscript: IconType; |
import Veiculo, {} from './Veiculo'
export default class Moto extends Veiculo {
/*---- metodo sobrescrito ----*/
public acelerar() : void {
this.velocidade += 20
}
} |
// Copyright 2017-2020 @polkadot/react-hooks authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { UseSudo } from './types';
import { useEffect, useState } from 'react';
import useAccounts from './useAccounts';... |
import { Either, isEither } from "exceptionout";
import { AsyncWorkflow, AsyncWorkflowResult, First, Stage, StageInput, StageList, Workflow, WorkflowResult } from "./types";
export const runAsyncWorkflow =
<Stages extends StageList>(workflow: AsyncWorkflow<Stages>) =>
(workflowInput: StageInput<First<Stages>>)... |
/*
* @Author: Wang Xiang
* @Date: 2019-10-23 10:11:19
* @LastEditTime: 2019-10-23 10:16:28
* @LastEditors: Wang Xiang
*/
import { ResolveConfigOptions } from "prettier";
import { OriginType } from "src/DocParser";
export default class DataSourceConfig {
originUrl: string;
name?: string;
originType: Or... |
import { identity } from '../src';
describe('identity', () => {
it('should return own parameter', () => {
expect(identity.length).toBe(1);
expect(identity(1)).toBe(1);
expect(identity(false)).toBe(false);
const obj = {};
expect(identity(obj)).toBe(obj);
});
}); |
/*
* The MIT License
*
* Copyright 2019 Juliano Maciel Ferreira.
*
* 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 us... |
import { useState, ChangeEvent, FormEvent, MouseEvent } from "react";
import useTitleBar from "../hooks/useTitleBar";
import { helpers, logEvent, toWorker } from "../util";
import type { View } from "../../common/types";
import { PHASE } from "../../common";
const nextSeasonWarning =
"Because the regular season is al... |
import {Component, Input, OnInit} from '@angular/core';
import {TranslatorService} from "../../../../../../services/translator.service";
@Component({
selector: 'finished-items-history',
templateUrl: './finished-items-history.component.html',
styleUrls: ['./finished-items-history.component.scss']
})
export class ... |
import { h, render } from 'preact';
import 'preact/devtools';
import App from './App.js';
import './index.css';
const root = document.getElementById('root')
if (root) {
render(<App />, root);
} |
import * as React from 'react';
import IconButton from '@material-ui/core/IconButton';
import DeleteIcon from '@material-ui/icons/Delete';
import AlarmIcon from '@material-ui/icons/Alarm';
import AddShoppingCartIcon from '@material-ui/icons/AddShoppingCart';
export default function IconButtons() {
return (
<div>... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gl" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SkeletonRevive</source>
<translation>Acerca de SkeletonRevive</translation>
</message>
<message... |
// Copyright 2017-2021 @polkadot/app-parachains authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ParaId } from '@polkadot/types/interfaces';
import React from 'react';
import { useApi, useCall } from '@polkadot/react-hooks';
import Actions from './Actions';
import Parachains from './Parac... |
import React from 'react';
import {PATH_PREFIX} from '@/env';
const Footer = () => {
React.useEffect(() => {
const script = document.createElement('script');
script.src = PATH_PREFIX+'/static/js/kst2.js';
document.body.appendChild(script);
}, [])
const onClick = () => {
openK();
return fals... |
import React from 'react';
import styled from 'styled-components';
import { ColorProps } from '@heathmont/moon-themes';
import { themed } from '@heathmont/moon-utils';
const Svg = (props: React.SVGProps<SVGSVGElement>) => (
<svg
width="1em"
height="1em"
viewBox="0 0 34 59"
fill="none"
xmlns="http... |
import { AxiosInstance } from 'axios';
interface Options {
statusCodes: Number[],
}
const defaults: Options = {
/** @type {Number[]} */
statusCodes: [
401, // Unauthorized
],
};
/**
* https://raw.githubusercontent.com/Flyrell/axios-auth-refresh/master/src/index.js
* Creates an authentication refresh in... |
import { useAuth } from 'hooks/useAuth';
import { useRouter } from 'next/router';
import { useForm } from 'react-hook-form';
import { useState } from 'react';
import Button from '../buttons/button';
interface LoginData {
email: string;
password: string;
}
const LoginForm: React.FC = () => {
const { register, err... |
/*
* Copyright 2019-2020 IBM Corporation
*
* 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 agree... |
import React, { useContext } from 'react';
import { ThemeContext } from 'styled-components';
import { useSideBar } from '../../hooks/SideBar';
import { Container } from './style';
import NavLink from './NavLink';
import logoImgDark from '../../assets/logo-dark.svg';
import logoImgLight from '../../assets/logo-light.... |
import { Request, Response, NextFunction, RequestHandler } from "express";
import { StatusCodes } from "http-status-codes";
import Location, { ILocation } from "model/Location";
import Errors from "Errors";
import utils from "utils";
const validateLocationExists: RequestHandler = async (
req: Request,
res: Respon... |
import React from "react";
import { useStaticQuery, graphql } from "gatsby";
import { AccomplishmentPredicate, accomplishmentPredicatePropType } from "../models/accomplishment";
import { IJob } from "../models/job";
import JobsListItem from "./jobs-list-item";
import AccomplishmentsList from "./accomplishments-list";
... |
import {DriveItem} from '../../../../../models/';
import {createDriveItemFromDiscriminatorValue} from '../../../../../models/createDriveItemFromDiscriminatorValue';
import {ODataError} from '../../../../../models/oDataErrors/';
import {createODataErrorFromDiscriminatorValue} from '../../../../../models/oDataErrors/crea... |
/**
*
* @author Mortal-Li
* @created 2021年9月18日
*/
class GameData {
id: number;
token: string;
nickname: string = "Guest";
avatar: string = "";
level: number = 0;
gems: number = 888;
music_switch: boolean = true;
effect_switch: boolean = true;
}
export default new GameData... |
export interface Recipe {
id: string
name: string
price: number
discount: number
cuisine: string
description: string
isUnavailable: boolean
} |
import {CmpApiModel} from '../CmpApiModel';
import {Command} from './Command';
import {GVL, TCModel} from '@iabtcf/core';
import {PolyFill} from '@iabtcf/util';
import {TCDataCallback, Callback} from '../callback';
import {TCData} from '../response';
export class GetTCDataCommand extends Command {
// eslint-disable... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @legacyServerCallableInstance
* @format
* @emails oncall+draft_js
*/
import {DraftEntityType} from './DraftEntityType';
impor... |
// Copyright 2019 ProximaX Limited. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file
import {expect} from 'chai';
import {Address} from '../../../src/model/account/Address';
import {RichlistEntry} from '../../../src/model/richlist/RichlistEn... |
/**
* @license
* Copyright 2019 Dynatrace 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 ag... |
import { AttachInstancesCommandInput, AttachInstancesCommandOutput } from "../commands/AttachInstancesCommand";
import {
AttachLoadBalancerTargetGroupsCommandInput,
AttachLoadBalancerTargetGroupsCommandOutput,
} from "../commands/AttachLoadBalancerTargetGroupsCommand";
import {
AttachLoadBalancersCommandInput,
... |
/*
* Copyright 2020 Amazon.com or its affiliates
*
* 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 { useMutation, queryCache, MutationResultPair } from 'react-query';
import api from '../services/api';
import CopyPasta from '../interfaces/CopyPasta';
function useUnlikeCopyPasta(): MutationResultPair<
void,
unknown,
CopyPasta,
unknown
> {
return useMutation(
values => api.post(`/copypastas/unli... |
export * from './ihttp.service';
export * from './observable-retry-strategy';
export * from './http.service';
export * from './http.models';
export * from './http.functions';
export * from './http.debugger';
export * from './test-http.service';
export * from './retry-service'; |
/*
* 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.
*/
/// <reference lib="esnext.asynciterable" />
import { SpanStatusCode } from "@azure/core-... |
import path from 'path';
import remarkSlug from 'remark-slug';
import remarkExternalLinks from 'remark-external-links';
import global from 'global';
import type { BuilderConfig, Options } from '@storybook/core-common';
const { log } = console;
// for frameworks that are not working with react, we need to configure
/... |
import React, { useMemo } from 'react';
import { FieldOverrideEditorProps, SelectableValue } from 'src/packages/datav-core/src';
import { HorizontalGroup, IconButton, LineStyle, RadioButtonGroup, Select } from 'src/packages/datav-core/src/ui';
type LineFill = 'solid' | 'dash' | 'dot';
const lineFillOptions: Array<Sel... |
import { all, takeLatest } from 'redux-saga/effects';
import { put } from '@redux-saga/core/effects'; // eslint-disable-line
import axios from 'axios';
import slice from './slice';
const { getFakeFetching, getFakeFetchingSuccess, getFakeFetchingError } = slice.actions;
export const fetchFakeFetching = function* () {
... |
// Type definitions for non-npm package Google Cloud Deploy API v1 1.0
// Project: https://cloud.google.com/deploy/
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
// Nick Amoscato <https://github.com/namoscato>
// Declan Vong <https://github.com/declanvong>
// Defini... |
import { I18n } from '@aws-amplify/core';
import { Component, Prop, h, State, Watch } from '@stencil/core';
import {
FormFieldTypes,
FormFieldType,
PhoneNumberInterface,
PhoneFormFieldType,
} from '../amplify-auth-fields/amplify-auth-fields-interface';
import { NO_AUTH_MODULE_FOUND, COUNTRY_DIAL_CODE_DEFAULT } ... |
import generate from '.'
const h = (...whatever) => whatever
describe('generate', () => {
it('generates simple components', () => {
const { Component } = generate(h, {
Component: {
componentName: 'Component',
tag: undefined,
className: 'component-class',
props: {}
}
... |
export const AuthMetadata = {
AuthRequired: 'auth-required'
}; |
export default {
route: {
Nodes: '节点管理',
NodesList: '列表',
Votes: '投票'
},
node: {
nodeList: {
nodeNetwork: '节点入网',
add: '入网信息',
rest: '重置',
name: '节点名称',
namePlaceholder: '输入关键字搜索',
number: '节点编号',
numberPlaceholder: '输入关键字搜索',
type: '节点类型',
typ... |
<TS language="ru" 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</sourc... |
import { Component, OnInit } from '@angular/core';
declare var require: any;
@Component({
selector: 'kirby-doughnut-chart-showcase',
templateUrl: './doughnut-chart-showcase.component.html',
styleUrls: ['./doughnut-chart-showcase.component.scss']
})
export class DoughnutChartShowcaseComponent implements OnInit {... |
import {NgModule} from '@angular/core';
import {ListService} from './list.service';
import {UserService} from './user.service';
import {AngularFirestoreModule} from 'angularfire2/firestore';
import {ListStore} from './storage/list/list-store';
import {DiffService} from './diff/diff.service';
import {FirestoreListStorag... |
import * as faker from "faker";
import { InstitutionLocation } from "../entities/institution-location.model";
export async function institutionLocationFactory(
incoming?: Partial<InstitutionLocation>,
): Promise<InstitutionLocation> {
const loc = new InstitutionLocation();
loc.name = incoming?.name || faker.comp... |
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { CommonModule } from '@angular/common';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { NgJhipsterModule } from 'ng-jhipster';
import { InfiniteScrollModule } from... |
/* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. */
import * as React from 'react'
const SvgCity = React.forwardRef((props: React.SVGProps<SVGSVGElement>, svgRef: React.Ref<SVGSVGElement>) => (
<svg width="1em" height="1em" viewBox="0 0 32 32" ref={svgRef} {...props}>
<path
fill="currentCol... |
const VisitGrave: LangJob = {
reportString: 'visiting grave.',
label: null,
description: null,
defName: 'VisitGrave'
}
export default VisitGrave; |
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2021 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import styled, { css } from 'reshadow';
const SNACKBAR_FOOTER_STYLES = css`
notification-footer ... |
// @ts-ignore
import {
TranslationString,
ManualApiOptions,
TranslationStringList,
} from '../components/DocsApi/ManualApiOptions'
import { TableData, TableColumn } from '../components/DocsTable/DocsTable'
import { DefineComponent } from 'vue'
import { VueConstructor } from 'vue-class-component'
export type Code... |
import { Transactions } from "./Transactions";
describe('Transactions', () => {
it('should create an instance', () => {
expect(new Transactions()).toBeTruthy();
});
}); |
import { AxiosRequestConfig } from 'axios';
/**
* NOTE: To enable tests for a specific OpenAPI file, add the file name
* as a key of the object, and add at least one request to the array.
*/
export type TestRequestConfig = AxiosRequestConfig & { expectedError?: any };
// A set of test request for a specific API
ex... |
import { ag } from '../../attribute-groups';
PType({
name: 'Beach chair',
key: 'beachchair',
categories: ['furniture'],
attributeRefs: [
...ag.common,
]
}); |
/**
* A type that represents a user and contains a user ID.
*/
export interface UserIdResolvableType {
/**
* The ID of the user.
*/
id: string;
}
/**
* A type that represents a user and contains a user name.
*/
export interface UserNameResolveableType {
/**
* The name of the user.
*/
name: string;
}
/... |
// https://github.com/s-panferov/awesome-typescript-loader/issues/146#issuecomment-248808206
declare module "*.scss" {
const content: string;
export default content;
}
declare module "*.css" {
const content: string;
export default content;
}
declare module "*.json" {
const json: any;
export default json;
} |
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
import {WeightFunction} from "./weight-function.interface";
import {Feature} from "../feature.model";
import {MediaObjectScoreContainer} from "../scores/media-object-score-container.model";
import {SegmentScoreContainer} from "../scores/segment-score-container.model";
export class AverageWeightFunction implements Wei... |
/**
* Copyright 2022 Inrupt Inc.
*
* 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, merge, publish, d... |
import { defineComponent, computed, SetupContext, PropType, ref, h } from 'vue';
import isFunction from 'lodash/isFunction';
import { getColumnFixedStyles } from './hooks/useFixed';
import useClassName from './hooks/useClassName';
import { useConfig } from '../hooks/useConfig';
import { BaseTableCol, TableRowData } fro... |
/// <reference path="./dropbox_types.d.ts" />
/// <reference path="./dropbox.d.ts" />
declare module DropboxTypes {
class DropboxTeam extends DropboxBase {
/**
* The DropboxTeam SDK class.
*/
constructor(options: DropboxOptions);
/**
* Returns an instance of Dropbox that can make calls to ... |
import { Plugin } from '@web/dev-server-core';
import { PolyfillsConfig } from 'polyfills-loader';
export interface LegacyPluginOptions {
polyfills?: PolyfillsConfig;
}
export declare function legacyPlugin(options?: LegacyPluginOptions): Plugin;
export default legacyPlugin;
//# sourceMappingURL=legacyPlugin.d.ts.ma... |
/**
* @public
*/
export interface AnimatePresenceProps {
/**
* By passing `initial={false}`, `AnimatePresence` will disable any initial animations on children
* that are present when the component is first rendered.
*
* ```jsx
* <AnimatePresence initial={false}>
* {isVisible && (
... |
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you 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 appli... |
import { WalletMultiButton } from "@solana/wallet-adapter-react-ui";
import "./MultiButton.css";
const MultiButton = (): JSX.Element => <WalletMultiButton />;
export default MultiButton; |
import { ListItem, Typography } from '@material-ui/core';
import _ from 'lodash';
import React from 'react';
import InfiniteScroll from 'react-infinite-scroll-component';
import { useEffectOnce } from 'react-use';
import { buildGraph, getRandomInt } from 'unigraph-dev-common/lib/utils/utils';
import { AutoDynamicView }... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
import * as monacoEditor from 'monaco-editor/esm/vs/editor/editor.api';
import { Reducer } from 'redux';
import { PYTHON_LANGUAGE } from '../../../../client/common/constants';
import { createDeferred } from '.... |
import { FaceLandmarks } from './FaceLandmarks';
import { Point } from './Point';
export declare class FaceLandmarks5 extends FaceLandmarks {
protected getRefPointsForAlignment(): Point[];
} |
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 CodeStarco... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.