text stringlengths 10 953k |
|---|
/**
* <p>Specifies when an object transitions to a specified storage class.</p>
*/
export interface _Transition {
/**
* <p>Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.</p>
*/
Date?: Date | string | number;... |
export function calculateLevDistance(src: string, tgt: string): number {
let realCost: number;
// tslint:disable-next-line: one-variable-per-declaration
let srcLength = src.length,
tgtLength = tgt.length,
tempString: string,
tempLength: number; // for swapping
const resultMatrix = new Array();
r... |
import Nano, { Component } from '../lib/index.js'
import { wait } from './helpers.js'
const spy = jest.spyOn(global.console, 'error')
test('should render without errors', async () => {
class Test extends Component {
ready = false
didMount() {
this.ready = true
this.update()
}
render() {
... |
import { makeExecutableSchema, } from 'graphql-tools';
const users: any[] = [
{
id: 1,
name: 'Luiz Henrique Oliveira de Souza',
email: 'luizhenriqque15@gmail.com'
},
{
id: 2,
name: 'Maria Clara Figueira',
email: 'mariaclara@gmail.com'
}
];
const typeDefs... |
import { Injectable } from '@angular/core';
import { MessageBoxComponent } from './message-box.component';
import { MatDialog } from '@angular/material/dialog';
@Injectable()
export class MessageBoxService {
constructor(public dialog: MatDialog) {}
async infoSync(message: string, title: string = 'Info', width: st... |
import { MITOHttp } from './replace'
import { BREADCRUMBTYPES, ERRORTYPES, globalVar, ERROR_TYPE_RE } from '../common'
import { resourceTransform, httpTransform } from './transformData'
import { transportData } from './transportData'
import { breadcrumb } from './breadcrumb'
import { getLocationHref, getTimestamp, isEr... |
import {
formatDate,
getTitleByReportType,
formatSeries,
formatNumber,
isStatements,
isTransactions,
isRequiredReportFrequency,
} from '../utils';
import Translations from '../../config/translations/en.json';
import { RVBalanceSheetSummary, RVReportFrequency, RVReportTypes } from '../../types';
import { ... |
import { constructCFModelTableNameComponent, constructCFModelTableArnComponent } from '../utils/cloudformationHelpers';
import inquirer from 'inquirer';
import path from 'path';
import * as TransformPackage from 'graphql-transformer-core';
import _ from 'lodash';
import { topLevelCommentPrefix, topLevelCommentSuffix, e... |
/* tslint:disable */
/* eslint-disable */
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
import { Controller, ValidationService, FieldErrors, ValidateError, TsoaRoute } from 'tsoa';
// WARNING: This file was auto-gener... |
import * as React from 'react';
import { mount, shallow } from 'enzyme';
import { compose, mergeProps, ComposePreparedOptions } from '@fluentui/react-bindings';
describe('compose', () => {
interface ToggleProps extends React.AllHTMLAttributes<{}> {
as?: string;
defaultChecked?: boolean;
checked?: boolean... |
/* eslint-disable */
import Long from "long";
import _m0 from "protobufjs/minimal";
import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination";
import { TxResponse, GasInfo, Result } from "../../../cosmos/base/abci/v1beta1/abci";
import { Tx } from "../../../cosmos/tx/v1beta1/tx";
export... |
import { ICandidate, IEmployee, IOrganizationEmploymentType, ITag } from '@leano/contracts';
import { Column, Entity, JoinTable, ManyToMany } from 'typeorm';
import { ApiPropertyOptional } from '@nestjs/swagger';
import {
Candidate,
Employee,
Tag,
TenantOrganizationBaseEntity
} from '../core/entities/internal';
@E... |
import * as jsonwebtoken from "jsonwebtoken";
import { configuration } from "../../config";
let { privateKey, algorithm } = configuration.get("jwt") as any;
export const sign = async (
payload: any,
options?: { expiresIn?: string | number }
) => {
return await jsonwebtoken.sign(payload as any, privateKey, {
... |
import { McanoPage } from './app.po';
describe('mcano App', () => {
let page: McanoPage;
beforeEach(() => {
page = new McanoPage();
});
it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('app works!');
});
}); |
import { format } from "date-fns";
import { useEffect, useState } from "react";
import ITweetObject, {
ITweetIncludes,
ITweetData,
IEntitiesURLs,
} from "../types/TweetData";
import ITweetOptions from "../types/TweetOptions";
import { Like, Logo, Reply, Retweet } from "./Icons";
import useUser from "../hooks/useU... |
import * as assert from "@eeue56/ts-assert";
import { Ok } from "@eeue56/ts-core/build/main/lib/result";
import { blockKind, intoBlocks } from "../blocks";
import { compileTypescript } from "../compile";
import { generateDerw } from "../generators/derw";
import { generateElm } from "../generators/elm";
import { generat... |
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', async () => {
await page.navigateTo();
expect(await page.getTitleText()... |
import {ArgsType, Field, Int} from "type-graphql";
import {Min} from "class-validator";
import {Month} from "../enums";
import {Sort} from "../../shared/enums";
@ArgsType()
export class ReviewsByDateArgs {
@Field({description: 'Review Year.'})
@Min(1900)
year: number;
@Field(() => Month, {description... |
import DataLoader from "dataloader";
import { Dictionary, keyBy } from "lodash";
import { LRUMap } from "lru_map";
import {
IProgram,
IStudent,
IStudentDropout,
STUDENT_PROGRAM_TABLE,
STUDENT_TABLE,
StudentDropoutTable,
StudentProgramTable,
StudentTable,
StudentTermTable,
} from "../db/tables";
impor... |
import AsyncStorage from "@react-native-async-storage/async-storage";
import { observer } from "mobx-react-lite";
import React, { useContext } from "react";
import { RefreshControl, ScrollView, StyleSheet, View } from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
import { getTimetable ... |
/*
* Copyright (C) 2015-2018 Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red H... |
export declare class LoginDto {
readonly username: string;
readonly password: string;
} |
export * from './Tags';
export * from './TLV'; |
import { Globals, Util } from '@helpers';
import { Subscription } from '../Subscription';
import { Accessors } from './Accessors';
export class Invoke {
public static observer(
action: 'start' | 'next' | 'error' | 'complete',
payload: any,
subscription: Subscription
): void {
const observer = Acces... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
// IMPORTANT: This file should only be importing from the '../platform/logging' directory, as we
// delete everything in '../platform' except for '../platform/logging' before running smoke tests.
import * as ... |
export * from './ui-resources'; |
export enum UserEventIsFilterType {
NOT_IN_USE,
IN_USE_STATE_1,
IN_USE_STATE_2,
} |
import React from 'react'
function BtnDone() {
return (
<>
<a href="#" className="btn-done">
Aceptar
</a>
</>
)
}
export default BtnDone |
import { Command } from '../../config';
import { Message } from 'discord.js';
const hentaiCommand : Command = {
name: 'hentai',
aliases: ['dio'],
description: 'Invia un hentai',
async run(message : Message) {
await message.channel.sendTyping();
await message.channel.send({ files: ['resources/images/dio.jpeg']... |
export * from './html'; |
// Type definitions for Jasmine 3.0.0
// Project: http://jasmine.github.io/
// Definitions by: Boris Yankov <https://github.com/borisyankov>
// Theodore Brown <https://github.com/theodorejb>
// David Pärsson <https://github.com/davidparsson>
// Gabe Moothart <https://gith... |
import { Component, ElementRef, Renderer } from '@angular/core';
import { Title } from '@angular/platform-browser';
import { PenguinService } from './service/penguin.service';
import { MatSnackBar } from '@angular/material';
import { Router, NavigationEnd } from '@angular/router';
import { CookieService } from 'ngx-coo... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { TripItemComponent } from './trip-item.component';
describe('TripItemComponent', () => {
let component: TripItemComponent;
let fixture: ComponentFixture<TripItemComponent>;
beforeEach(async(() => {
TestBed.configureTestingMod... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eu_ES" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About ATTIS</source>
<translation type="unfinished"/>
</message>
<message>
<location line=... |
import styled from 'styled-components';
export const MainDiv = styled.div`
background: #fff;
width: auto;
z-index: 100;
margin: 0 auto !important;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
width: 100%;
height: auto;
min-height:65vh;
`;
export const S... |
import {
BadRequestException,
Injectable,
InternalServerErrorException,
forwardRef,
Inject,
} from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { CreateUserInput } from './dto/create-user.input';
import { UpdateUserInput } from './dto/updat... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import {HttpClient} from '@angular/common/http';
import {HttpClientTestingModule} from '@angular/common/http/testing';
import {TranslateLoader, TranslateModule, TranslateService} from '@ngx-translate/core';
import {Component, Input, Pipe, PipeTra... |
import {Component, OnInit} from "@angular/core";
import {IPost, DocService} from "../../../../shared";
@Component({
selector: "app-is-length-func",
templateUrl: "./is-length-func.component.html",
styleUrls: ["./is-length-func.component.sass"]
})
export class IsLengthFuncComponent implements OnInit {
versionId... |
import * as fs from 'fs-extra'
import envDotProp from 'env-dot-prop'
import humanize from 'humanize-string'
import titleize from 'titleize'
import get from 'lodash.get'
import { Plugin } from '../Plugin'
import { BabelRC } from '../utils/babel-config'
import { setEnv } from '../config/env'
import * as paths from '../c... |
import React from 'react';
import { PERM_MAPPING, UserPerms } from './Definitions';
/* The individual user that has some sharing permissions */
interface ShareUserProps extends UserPerms {
updatePerms: (userIds: string[], newPerm: string) => void;
key: string;
curUserPerm: string;
}
export default function Shar... |
/* tslint:disable */
/* eslint-disable */
/**
* ORCID Public
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: Latest
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)... |
import { Linter } from '@nrwl/linter';
import { UnitTestRunner } from '../../utils/test-runners';
export interface ApplicationGeneratorOptions {
name: string;
directory?: string;
frontendProject?: string;
linter?: Exclude<Linter, Linter.TsLint>;
skipFormat?: boolean;
skipPackageJson?: boolean;
standalone... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { LocatusPaginationComponent } from './locatus-pagination.component';
describe('LocatusPaginationComponent', () => {
let component: LocatusPaginationComponent;
let fixture: ComponentFixture<LocatusPaginationComponent>;
beforeEach(... |
<TS language="pl_PL" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Kliknij prawy przycisk myszy, aby edytować adres lub etykietę</translation>
</message>
<message>
<source>Create a new address</s... |
import {expect, use} from 'chai';
import chaiAsPromised from 'chai-as-promised';
import {
Keypair,
Authorized,
Connection,
Lockup,
PublicKey,
sendAndConfirmTransaction,
LAMPORTS_PER_SOL,
StakeAuthorizationLayout,
StakeInstruction,
StakeProgram,
SystemInstruction,
Transaction,
} from '../src';
i... |
import { LocalStorageService } from 'angular-2-local-storage';
import { CostsService } from './../costs.service';
import { Modals } from './../../../../ui/components/modals/modals.component';
import { CostsInterface } from './../costs.interface';
import { Component, OnInit } from '@angular/core';
import { NgbActiveModa... |
import {
HardCreate,
HardDeposit,
HardWithdraw,
HardAddSigner,
Block,
Commitment,
getMerkleProof,
getMerkleRoot,
transactionsToArray,
SoftTransfer
} from '../../../app';
import chai from 'chai';
import Tester from '../../Tester';
import { randomHexString } from '../../utils/random';
import { ProofBl... |
import { lazy, object, Schema } from '../schema';
import { V1Timecard, v1TimecardSchema } from './v1Timecard';
export interface V1UpdateTimecardRequest {
/** Represents a timecard for an employee. */
body: V1Timecard;
}
export const v1UpdateTimecardRequestSchema: Schema<V1UpdateTimecardRequest> = object(
{ body... |
// *** 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";
/**
* R... |
import * as fs from "fs";
import * as path from "path";
import {IShader} from "../../Component";
export class Shaders {
public static equirectangular: IShader = {
fragment: fs.readFileSync(path.join(__dirname, "./equirectangular.fragment.glsl"), "utf8"),
vertex: fs.readFileSync(path.join(__dirname... |
import { ComponentType } from 'react';
export declare type ThemeHocOption = {
hover?: boolean;
active?: boolean;
focus?: boolean;
};
export declare type ProviderComponent = ComponentType<any>;
export declare type AddMouseEventOptionAfterConfig = {
enter?: boolean;
leave?: boolean;
down?: boolean... |
import {
ImageStyle,
RegisteredStyle,
StyleSheet,
TextStyle,
ViewStyle
} from 'react-native';
export { RegisteredStyle, ViewStyle, TextStyle, ImageStyle };
export const style = StyleSheet.create({
container: {
padding: 10,
backgroundColor: 'white',
borderBottomWidth: StyleSheet.hairlineWidth,
... |
import * as React from "react";
import { JSX } from "react-jsx";
import { IFluentIconsProps } from '../IFluentIconsProps.types';
const Cellular3G24Filled = (iconProps: IFluentIconsProps, props: React.HTMLAttributes<HTMLElement>): JSX.Element => {
const {
primaryFill,
className
} = iconProps;
return <svg ... |
import { ISpinButtonStyles } from 'office-ui-fabric-react/lib/SpinButton';
import { ITheme } from 'office-ui-fabric-react';
export const SpinButtonStyles = (theme: ITheme): Partial<ISpinButtonStyles> => {
const { semanticColors } = theme;
return {
input: {
backgroundColor: semanticColors.inputBackground,... |
var path = require('path');
var fs = require('fs');
var webpack = require('webpack');
var angularExternals = require('webpack-angular-externals');
var rxjsExternals = require('webpack-rxjs-externals');
const pkg = JSON.parse(fs.readFileSync('./package.json').toString());
module.exports = {
entry: __dirname + '/src/... |
import { HttpMiddleware } from '../types';
import { HttpError } from '../http-error';
/**
* Cors configuration, used by {@link corsMiddleware}
*
* @category http
*/
export interface CorsConfig {
allowOrigin?: string[] | string | RegExp | OriginChecker | true;
allowHeaders?: string[];
allowCredentials?: true;... |
export interface PrestoConnectionParams {
engine: "presto" | "trino";
host: string;
port: number;
username: string;
password: string;
catalog: string;
schema: string;
} |
import { Dialect } from 'sequelize';
import * as dotenv from 'dotenv';
import { IDatabaseConfig } from './interfaces/database.interface';
dotenv.config({ path: `.env/${process.env.NODE_ENV || 'development'}.env` });
export const databaseConfig: IDatabaseConfig = {
development: {
username: process.env.DB_USER,
... |
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { RouterModule } from '@angular/router';
import { StoreSharedModule } from '../../shared';
import {
ShipmentService,
ShipmentPopupService,
ShipmentComponent,
ShipmentDetailComponent,
ShipmentDialogComponent,
ShipmentPopupC... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const faPencilAlt: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligatu... |
import { Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { Book } from '../../shared/book';
import { BookStoreService } from '../../shared/book-store.service';
@Component({
selector: 'bm-book-list',
templateUrl: './book-list.component.html',
styleUrls: ['./book-list.component... |
// (C) 2019-2021 GoodData Corporation
import React, { SyntheticEvent } from "react";
import cx from "classnames";
import { Icon } from "@gooddata/sdk-ui-kit";
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
import { ITheme } from "@gooddata/sdk-backend-spi";
import { DashboardDrillDefinition } from "../../.... |
import Document, {
Html,
Head,
Main,
NextScript,
DocumentContext,
} from 'next/document';
import { ServerStyleSheet } from 'styled-components';
import Analytics from 'components/Analytics';
export default class MyDocument extends Document {
static async getInitialProps(ctx: DocumentContext) {
const sh... |
import type { Config } from "@jest/types";
import { defaults } from "jest-config";
export default async (): Promise<Config.InitialOptions> => {
return {
preset: "ts-jest",
testEnvironment: "node",
verbose: true,
moduleFileExtensions: [...defaults.moduleFileExtensions, ".ts", ".tsx", ".js"],
modul... |
import {ServerLoader, ServerSettings} from "@tsed/common";
import {CreateRequestSessionMiddleware} from "./middlewares/CreateRequestSessionMiddleware";
const cookieParser = require("cookie-parser");
const bodyParser = require("body-parser");
const compress = require("compression");
const methodOverride = require("meth... |
import { CollectionViewer, DataSource } from "@angular/cdk/collections";
import { Observable, BehaviorSubject, Subject, of } from "rxjs";
import { catchError, finalize, first, map, filter, tap } from "rxjs/operators";
import { Injectable } from "@angular/core";
import { HttpActivitiesService } from '../service/activiti... |
export interface Type<T> extends Function {
new (...args: any[]): T;
} |
/*
* Copyright (c) 2008-2020, Hazelcast, 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 ... |
import { Lock } from '@celo/base/lib/lock'
import debugFactory from 'debug'
import { Connection } from './connection'
import { Callback, EncodedTransaction, JsonRpcPayload, JsonRpcResponse, Provider } from './types'
import { hasProperty, stopProvider } from './utils/provider-utils'
import { rpcCallHandler } from './uti... |
import * as React from 'react';
import { Switch, Route } from 'react-router';
import App from './containers/App';
import Home from './home/Home';
export default () => (
<App>
<Switch>
<Route path="/" component={Home} />
</Switch>
</App>
); |
import express from 'express'
import { RouterPros } from './types'
const routes = express.Router()
routes.get<RouterPros>('/', (_, res) => {
return res.send({ message: 'Hello World!' })
})
export default routes |
import React, { ElementType } from 'react';
import { Props } from '../../types';
declare let DEFAULT_PORTAL_TAG: React.ExoticComponent<{
children?: React.ReactNode;
}>;
interface PortalRenderPropArg {
}
export declare function Portal<TTag extends ElementType = typeof DEFAULT_PORTAL_TAG>(props: Props<TTag, PortalRen... |
import { ObjectType, Field } from 'type-graphql';
import {
BaseEntity,
Column,
Entity,
PrimaryGeneratedColumn,
OneToMany,
} from 'typeorm';
import { Movie } from './index';
@ObjectType()
@Entity()
class Genre extends BaseEntity {
@Field()
@PrimaryGeneratedColumn()
id!: number;
@Field()
@Column({ ... |
/* Copyright 2016 The TensorFlow 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 applicable law or agree... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthService } from './services/auth.service';
const routes: Routes = [
{ path: '', redirectTo: 'public/home', pathMatch: 'full'},
{ path: 'public', loadChildren: './public/public.module#PublicModule' },
{ p... |
import { getGeneratorSuccessMessage, getSchemaPathSync, getGenerators } from '@prisma/sdk'
import chalk from 'chalk'
import Debug from '@prisma/debug'
import fs from 'fs'
import logUpdate from 'log-update'
import path from 'path'
import { MigrateEngine } from './MigrateEngine'
import type { EngineResults, EngineArgs } ... |
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { OmniTokenV2 } from "../OmniTokenV2";
export class OmniTokenV2__factor... |
/**
* @license
* Copyright Google Inc. 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 {AotCompiler, CompileDirectiveMetadata, CompileMetadataResolver, CompileNgModuleMetadata, CompileStylesheetMe... |
import { useTransform } from 'framer-motion';
import React from 'react';
import useWrapperScroll from '../Model/useWrapperScroll';
import { Container, Header, Logo, Burger, Footer } from './styles';
const UniqueOverlay: React.FC = () => {
const { scrollYProgress } = useWrapperScroll()
const opacity = useTransfor... |
export declare var google: any;
export interface MVCObject {
addListener(eventName: string, handler: Function): MapsEventListener;
}
export interface MVCArray<T> extends MVCObject {
clear(): void;
getArray(): Array<T>;
getAt(i: number): T;
getLength(): number;
insertAt(i: number, elem: T): void;... |
import { IWidgetOrder, IWidgetHandler } from "@paperbits/common/editing";
import { SignupModel } from "./signupModel";
export class SignupHandlers implements IWidgetHandler {
public async getWidgetOrder(): Promise<IWidgetOrder> {
const widgetOrder: IWidgetOrder = {
name: "signup-cymru",
... |
export default {
badge: 'Značka',
close: 'Zapri',
dataIterator: {
noResultsText: 'Ni iskanega zapisa',
loadingText: 'Nalaganje...',
},
dataTable: {
itemsPerPageText: 'Vrstic na stran:',
ariaLabel: {
sortDescending: ': Razvrščeno padajoče. Aktivirajte za odstranitev razvrščanja.',
s... |
export { Bullhorn as default } from "./"; |
/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. */
import * as React from 'react';
import Screener, { Steps } from 'screener-storybook/src/screener';
import { storiesOf } from '@storybook/react';
import { FabricDecorator } from '../utilities';
import { ActivityItem, IActivi... |
import { PlaceFieldsFragment } from '../../src/generated/graphql';
export const isInternetLocation = (location: PlaceFieldsFragment): boolean =>
location.id === 'helsinki:internet'; |
import { PurchaseOrder } from '../entities/purchase-order.entity';
import { User } from '../../../../users/entities/user.entity';
import { Movie } from '../../../../movies/entities/movie.entity';
import {
Logger,
InternalServerErrorException,
NotFoundException,
} from '@nestjs/common';
import { EntityRepository, ... |
/**
* The response object returned by the [getAuthResponse](../facebook-service/#getAuthResponse) method, and is also used in [LoginResponse](../login-response/) and [LoginStatus](../login-status/).
*/
export interface AuthResponse {
/**
* User access token
*/
accessToken: string;
/**
* Acc... |
<TS language="ta" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>ஒரு புதிய முகவரியை உருவாக்கு</translation>
</message>
<message>
<source>&New</source>
<translation>&புதிய</translation>
</messa... |
import { Bottom_sheetActions,Bottom_sheetActionTypes } from './bottom_sheet_state.actions';
export const initialState: Boolean = true;
export function bottom_sheetReducer(
state: Boolean = initialState,
action: Bottom_sheetActions
): Boolean {
switch (action.type) {
case Bottom_sheetActionTypes.UPSERT:
... |
import { map, mergeMap, throttleTime } from 'rxjs/operators';
import { identity, Unsubscribable } from 'rxjs';
import {
DataQuery,
DataQueryErrorType,
DataSourceApi,
LoadingState,
PanelData,
PanelEvents,
QueryFixAction,
toLegacyResponseData,
} from '@grafana/data';
import {
buildQueryTransaction,
e... |
/* global Audio, HTMLAudioElement, Event */
import {PromiseResolveType} from '../../util/promise';
import {noop} from '../../util/function';
const audioMap: Record<string, HTMLAudioElement> = {};
export function getAudioById(audioId: string): HTMLAudioElement {
if (audioId in audioMap) {
return audioMap[... |
import { svg } from "./_svg";
/**
* https://demo.thi.ng/umbrella/hiccup-carbon-icons/#NUMBER_SMALL_5
*/
// prettier-ignore
export const NUMBER_SMALL_5 = svg(
["path", { d: "M17 21h-4v-2h4v-2h-4v-6h6v2h-4v2h2a2 2 0 012 2v2a2 2 0 01-2 2z" }]
); |
import {renderWithTheme} from '../../test/test-utils';
import {VideoPlayer} from '../video-player';
import {VideoPlayerProps} from '../types';
import {
DEFATULT_VIDEO_PLAYER_CONFIG,
PLAYLISTS_VIDEO_PLAYER_CONFIG,
} from './config';
import {createTheme} from '../../theme';
const DefaultVideoPlayerProps: VideoPlayer... |
import * as vscode from "vscode";
import * as path from "path";
import * as fs from "fs";
/**
* I18n tool
*/
export class I18n {
public readonly nls: Record<string, string> = {};
public static loadMessageBundle(rootPath: string) {
const language = vscode.env.language;
return new I18n({ language, rootPat... |
/**
* @module opcua.miscellaneous
*/
import assert from "node-opcua-assert";
import "util";
import {createFastUninitializedBuffer} from "node-opcua-buffer-utils";
import {isFinite} from "underscore";
const MAXUINT32 = 4294967295; // 2**32 -1;
const noAssert = false;
const performCheck = false;
/**
* a BinaryStream... |
import {Component, OnDestroy, OnInit} from '@angular/core';
import {ManagerService} from '../services/manager.service';
import {Manager} from '../entities/manager';
import {NavigationEnd, Router} from '@angular/router';
import {MatDialog} from '@angular/material/dialog';
import {UpdateManagerComponent} from '../updates... |
import { Graph, Addon, FunctionExt, Shape } from '@antv/x6'
import {
FlowChartRect,
FlowChartImageRect,
FlowChartTitleRect,
FlowChartAnimateText,
NodeGroup,
} from './shape'
import graphData from './data'
export default class FlowGraph {
public static graph: Graph
private static stencil: Addon.Stencil
... |
/*
* 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, { Component } from 'react';
import {
EuiButtonEmpty,
EuiBu... |
import { Color } from './../math/Color';
import { Texture } from './../textures/Texture';
import { Vector2 } from './../math/Vector2';
import { MaterialParameters, Material } from './Material';
import { NormalMapTypes } from '../constants';
export interface MeshStandardMaterialParameters extends MaterialParameters {
... |
export = IsNegatedGlob;
declare function IsNegatedGlob(pattern: string): object; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.