text stringlengths 10 953k |
|---|
import { Command, Editor } from '@ckeditor/ckeditor5-core';
export default class ListCommand extends Command {
readonly type: 'numbered' | 'bulleted';
value: boolean;
constructor(editor: Editor, type: 'numbered' | 'bulleted');
refresh(): void;
execute(options?: { forceValue?: boolean | undefined })... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { PagesAuthRoutingComponent } from './pages-auth-routing/pages-auth-routing.component';
import { RouterModule } from '@angular/router';
import { routesPagesAuth } from './pages-auth.routing';
import { ReactiveFormsModule } ... |
import { Action } from "./action"
import { ActionObserver, ActionObserverDelegate } from "./action_observer"
import { Application } from "./application"
import { Controller } from "./controller"
import { ErrorHandler } from "./error_handler"
import { EventListenerSet } from "./event_listener_set"
import { Module } from... |
/*
acme.component.ts
Copyright (c) 2020 Acme
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, dis... |
import axios from "axios";
const api = axios.create({ baseURL: "/api" });
type Registration = EmailRegistration | PasswordRegistration;
interface EmailRegistration {
method: "email";
username: string;
email: string;
}
interface PasswordRegistration {
method: "password";
username: string;
email: string;
... |
import { RDSDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSDataClient";
import { BatchExecuteStatementRequest, BatchExecuteStatementResponse } from "../models/models_0";
import {
deserializeAws_restJson1BatchExecuteStatementCommand,
serializeAws_restJson1BatchExecuteStatementCommand,
... |
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false,
github_client_id: "7034a7e0f4982e890e11",
g... |
import { relative, sep, normalize, isAbsolute } from "path";
export function pathIsRelativeAndNested(path: string): boolean {
return !isAbsolute(path) && !path.startsWith(`..${sep}`);
}
export function humanizePath(
path: string,
base: string = process.cwd()
): string {
path = normalize(path);
const relativ... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const faArrowRight: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligatu... |
// -*- mode: typescript; indent-tabs-mode: nil; js-basic-offset: 4 -*-
//
// This file is part of ThingTalk
//
// Copyright 2020 The Board of Trustees of the Leland Stanford Junior University
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the... |
import colors from 'colors/safe';
export function textHighlight(str: string) {
return colors.bold(colors.inverse(str));
} |
import './fuzzer'; |
import * as React from 'react';
import ComponentPerfExample from '../../../../components/ComponentDoc/ComponentPerfExample';
import ExampleSection from '../../../../components/ComponentDoc/ExampleSection';
import ComponentBundleSizeExample from '../../../../components/ComponentDoc/ComponentBundleSizeExample';
const P... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
import * as assert from 'assert';
import * as sinon from 'sinon';
import appInsights from '../../../../appInsights';
import auth from '../../../../Auth';
import { Logger } from '../../../../cli';
import Command, { CommandTypes } from '../../../../Command';
import request from '../../../../request';
import Utils from '.... |
import {NodeHttpOptions as __HttpOptions__} from '@aws-sdk/types';
import * as __aws_sdk_types from '@aws-sdk/types';
/**
* <p>Input for GetVaultAccessPolicy.</p>
*/
export interface GetVaultAccessPolicyInput {
/**
* <p>The <code>AccountId</code> value is the AWS account ID of the account that owns the vaul... |
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ElementRef,
HostBinding,
Input,
OnInit,
ViewChild,
AfterViewInit,
SimpleChanges,
ComponentFactoryResolver
} from '@angular/core';
import { GridBaseAPIService } from '.././api.service';
import { IgxRowIslandCompon... |
export * from './decorators';
export * from './utils';
export * from './types'; |
import * as fs from 'fs';
import * as path from 'path';
export function findPathOfPackageJson(str: string): string {
if (str.length === 0) { return null; }
const stat = fs.statSync(str);
if (!stat) {
throw new Error(`this must be somewhere ${str}`);
}
let pjson: string;
let base: string;
if (stat.isD... |
import { utils } from '@common/utils';
import { IRequest, EStoreActions, IntPayload, IntServerPayload, IError } from '@interfaces';
import { ITemplatesBody, ITemplatesModel, TemplatesModel, FaIcons } from '@models';
export const templateupdate: (req: IRequest) => Promise<IRequest | any> = async (
req: IRequest
): ... |
import { BrowserModule } from '@angular/platform-browser';
import { APP_INITIALIZER, NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { AngularMaterialModule } from './angular-material.module';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import... |
import { defaultRegionInfoProvider } from "./endpoints.ts";
import { Logger as __Logger } from "../types/mod.ts";
/**
* @internal
*/
export const ClientSharedValues = {
apiVersion: "2017-09-30",
disableHostPrefix: false,
logger: {} as __Logger,
regionInfoProvider: defaultRegionInfoProvider,
serviceId: "Kin... |
import { ReactNode, useEffect, useState } from "react";
import { createContext } from "react";
import { auth, firebase } from "../services/firebase";
type User = {
id: string;
name: string;
avatar: string;
};
type AuthContextType = {
user: User | undefined;
signInWithGoogle: () => Promise<void>;
};
type Au... |
import React from 'react'
export default function ErrorModal() {
return (
<h1> Error modal </h1>
)
} |
Component({
options: {
addGlobalClass: true
},
properties: {
extClass: {
type: String,
value: ''
},
focus: {
type: Boolean,
value: false
},
placeholder: {
type: String,
value: '搜索'
... |
export const getIsSiderCollapsed = (state) => state.sider.collapsed;
export const getIsSiderLocked = (state) => state.sider.locked; |
export * from './search.component';
export * from './search.module'; |
import { async, ComponentFixture, TestBed } from "@angular/core/testing"
import { LinkToolComponent } from "./link-tool.component"
describe("LinkToolComponent", () => {
let component: LinkToolComponent
let fixture: ComponentFixture<LinkToolComponent>
beforeEach(async(() => {
TestBed.configureTest... |
import { _InstancePatchStateList } from "./_InstancePatchStateList";
import { Structure as _Structure_ } from "@aws-sdk/types";
export const DescribeInstancePatchStatesOutput: _Structure_ = {
type: "structure",
required: [],
members: {
InstancePatchStates: {
shape: _InstancePatchStateList
},
Ne... |
import React from "react";
import { defaultColor } from "../colors";
import { Colors } from "@/interfaces/Colors";
interface IProps {
colors?: Colors;
}
const Hair5 = ({ colors = defaultColor }: IProps = {}) => {
const [color1, color2, color3] = colors;
return (
<g id="hair_5" data-name="hair_5">
<path
fi... |
<TS language="pt_BR" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Clique com botão direito para alterar endereço ou rótulo</translation>
</message>
<message>
<source>Create a new address</source... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TabsPageComponent } from './tabs.component';
const routes: Routes = [
{
path: '',
component: TabsPageComponent,
children: []
},
];
@NgModule({
imp... |
<?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 DTCash</source>
<translation>Acerca de DTCash</translation>
</message>
<message>
<locat... |
import React from 'react';
import { getTimeValues, TimePoint, getTimeAgo, TimeAgoPoint } from './utils/time';
export interface TimeAgoProps {
time: number,
ms: boolean,
isTimePoint: boolean
}
export interface TimeAgoState {
interval?: any,
timeP: number
};
//TODO: Get rid of getting derived state ... |
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: true,
config : {
apiKey: "AIzaSyDth0JyFHiNrZ0E4i... |
import {from, Observable, merge, throwError, of} from 'rxjs'
import {catchError, map, tap} from 'rxjs/operators'
import {GraphQlQueryResponse} from '@octokit/graphql/dist-types/types'
import {graphql} from './graphql'
export interface DeletePackageVersionMutationResponse {
deletePackageVersion: {
success: boolea... |
import { Construct } from "@aws-cdk/core";
import { IAlarm } from "./alarm";
/**
* Interface for objects that can be the targets of CloudWatch alarm actions
*/
export interface IAlarmAction {
bind(scope: Construct, alarm: IAlarm): AlarmActionConfig;
}
/**
* Properties for an alarm action
*/
export interface Ala... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type SchemaKind = "COLLECTION" | "COMMUNITY" | "ITEM" | "%future added value";
export type CollectionAddDrawerQueryVariables = {
parentSlug: string;
sc... |
import crypto from 'crypto';
import { Buffer } from 'buffer';
import * as t from '@babel/types';
import get from 'lodash.get';
const RUNTIME_PACKAGE_NAMES = ['@modern-js/runtime'];
const FUNCTION_USE_LOADER_NAME = 'useLoader';
function getHash(filepath: string) {
const cwd = process.cwd();
const point = filepath.... |
import {Scene} from "./Scene";
import {Game} from "../Game";
import * as BABYLON from 'babylonjs';
import { WaterMaterial } from 'babylonjs-materials';
import {EnvironmentCaveExit} from "./Mountains/CaveExit/EnvironmentCaveExit";
import {Fog} from "../Particles/Fog";
import {Guard} from "../Characters/npc/Guard";
expo... |
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 styled from '@emotion/styled';
import CloseIcon from '@material-ui/icons/Close';
import LockOutlined from '@material-ui/icons/LockOutlined';
import React from 'react';
import { useTranslation } from 'react-i18next';
import Avatar from 'verdaccio-ui/components/Avatar';
import Box from 'verdaccio-ui/components/Bo... |
import * as React from 'react';
import { withInfoSettings, withStyledComponents, storiesOf, withInfo, withKnobs } from '../../../../StorybookBase.s';
import { Header } from '../../../Header'
import { Icon } from '../../../Icon'
storiesOf('Controls/Header/Types', module)
.addDecorator(withInfo({...withInfoSettings, p... |
export const DISCORD_APP_PIPE = '__discord_app_pipe__'; |
import { expect, ifExitCodeIsOtherThan, logOutput, PickEvent } from '@integration/testing-tools';
import { SceneTagged } from '@serenity-js/core/lib/events';
import { CapabilityTag, FeatureTag } from '@serenity-js/core/lib/model';
import 'mocha';
import { given } from 'mocha-testdata';
import { CucumberRunner, cucumbe... |
/* eslint-disable */
// This file is automatically generated
import React from 'react'
import createIcon from './base/createIcon'
const svgElement = (
<svg viewBox='0 0 512 512'>
<rect width='416' height='288' x='48' y='144' fill='none' strokeLinejoin='round' strokeWidth='32' rx='48' ry='48'/><path fill='... |
import { UserService } from './user.service';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { NgZorroAntdModule } from 'ng-zorro-antd';
@NgModule({
imports: [
CommonModule,
Reactive... |
import * as vscode from "vscode";
import { createSelectionFromVSCode } from "./editor/adapters/vscode-editor";
import { Selection } from "./editor/selection";
import { RefactoringWithActionProvider } from "./types";
import * as t from "./ast";
export { RefactoringActionProvider };
class RefactoringActionProvider imp... |
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
import { GetDevicePositionHistoryRequest, GetDevicePositionHistoryResponse } from "../models/models_0";
import { Command as $Command } from "@aws-sdk/smithy-client";
import { Handler, MiddlewareStack, HttpHandlerOpt... |
import { Buffer } from 'buffer'
export { Buffer }
export type Inflates = { inflateAsync: (b: Buffer) => Buffer | Promise<Buffer>, brotliDecompressAsync: (b: Buffer) => Buffer | Promise<Buffer> }
const blank = Buffer.alloc(16)
// https://github.com/lovelyyoshino/Bilibili-Live-API/blob/master/API.WebSocket.md
const cu... |
import { Component, Input, Inject } from '@angular/core';
import { FormBuilder } from '@angular/forms';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
import { HttpClient, HttpHeaders, HttpErrorResponse } from '@angular/common/http';
// import { Observable, of } from 'rxjs';
// import { map, catchEr... |
import React from "react"
import { SearchIcon } from "./SearchIcon"
import "../../scss/searchbox/search-box.scss"
type SearchBoxProps = {
onChange: (v: string) => void
value: string
placeholder?: string
}
// SearchBox provides a component that can be used as a search box.
// The ref provides access to the underlyi... |
// Type definitions for mark.js 8.11
// Project: https://markjs.io/
// Definitions by: Soner Köksal <https://github.com/renjfk>
// Roman Hotsiy <https://github.com/RomanGotsiy>
// Lucian Buzzo <https://github.com/LucianBuzzo>
// Joao Lourenco <https://github.com/blackstar... |
import { Intent, ContextModule } from "@artsy/cohesion"
import {
Box,
Button,
Flex,
FlexProps,
Radio,
RadioGroup,
Sans,
Separator,
Serif,
Spacer,
} from "@artsy/palette"
import { ArtworkSidebarCommercial_artwork } from "__generated__/ArtworkSidebarCommercial_artwork.graphql"
import { ArtworkSidebarC... |
import { parse } from '../../../../src';
// import validJsonFile from '../../../data/validJsonFile';
describe('Given invalid inputs was provided', () => {
it('should throw error', () => {
// @ts-ignore
expect(() => parse()).toThrow();
// @ts-ignore
expect(() => parse('')).toThrow();
// @ts-ignore... |
import { Component, defineComponent, h } from 'vue'
import { Maybe } from '../abstract/BasicTypes'
import { Key } from '../abstract/Key'
import {
OpacityDecoration,
OpacityDecorationSteps,
} from '../abstract/OpacityDecoration'
interface OpacityI {
child: Component
key?: Maybe<Key>
opacity: OpacityDecoration... |
import * as React from 'react';
import { NormalizedBuilderImages } from '../../../utils/imagestream-utils';
import { ImageData } from '../import-types';
import FormSection from '../section/FormSection';
import BuilderImageSelector from './BuilderImageSelector';
import BuilderImageTagSelector from './BuilderImageTagSele... |
export { Paragraph32 as default } from "../"; |
import { expect } from "chai";
import fetchMock from "fetch-mock";
import { RestAPI } from "../../src/api/RestAPI";
import { Platforms } from "../../src/resources/Platforms";
import { generateFixture as generatePlatform } from "../fixtures/platforms";
import { testEndpoint } from "../utils";
describe("Platforms", () ... |
import type { TaggedUnionURI } from "../../Algebra/TaggedUnion"
import { interpreter } from "../../HKT"
import { mapRecord } from "../../Utils"
import { guardApplyConfig, GuardType, GuardURI } from "../base"
export const guardTaggedUnionInterpreter = interpreter<GuardURI, TaggedUnionURI>()(
() => ({
_F: GuardURI... |
declare const UI_MODE: string;
export enum UIMode {
Development,
Production,
}
let mode: UIMode | null;
switch (UI_MODE) {
case "dev":
mode = UIMode.Development;
break;
case "prod":
mode = UIMode.Production;
break;
default:
mode = null;
break;
}
ex... |
import { PlainExtension, toHtml } from '@remirror/core';
import {
BlockquoteExtension,
BoldExtension,
HeadingExtension,
LinkExtension,
} from '@remirror/testing';
import { cleanup } from '@remirror/testing/react';
import { renderEditor } from '../jest-remirror-editor';
beforeEach(cleanup);
test('renders an e... |
import { ThemeOptions } from '@mui/material/styles';
const lightTheme: ThemeOptions = {
palette: {
mode: 'light',
},
};
export default lightTheme; |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
export interface Paginate {
data: any;
pages: any;
total: number;
hasNextPage: boolean;
hasPrevPage: boolean;
page: number;
size: number;
} |
export { Sale } from './sale';
export { Payment } from './payment';
export { Environment } from './environment';
export { CieloEcommerce } from './cieloEcommerce';
export { CreditCard } from './creditCard';
export { CardBrands } from './cardBrands';
export { Customer } from './customer';
export { CardToken } from './ca... |
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/sequelize';
import { CreatedRoleDTO } from './dto/created-role.dto';
import { Role } from './role.model';
@Injectable()
export class RolesService {
constructor(@InjectModel(Role) private roleRepository: typeof Role) { }
async cr... |
// TODO: Change utility emissions to scope 2
// TODO: Add activity UOM
// Fix OrbitDB import issue
import { SingleBar, Presets } from 'cli-progress';
import { create } from 'ipfs-http-client';
const OrbitDB = require('orbit-db');
import type DocumentStore from 'orbit-db-docstore';
import yargs from 'yargs';
import { h... |
export const REDIS_CACHE_KEYS = {
activeCompanies: 'activeCompanies',
}; |
import { Component } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'hns-explorer';
constructor(private translateService: Translat... |
export const WORDS = [
'abc',
'asa',
'adesg',
'afogados',
'aimore',
'ajax',
'alaves',
'albania',
'alecrim',
'alemanha',
'almirantebarroso',
'altoacre',
'altosanto',
'altos',
'amadense',
'amax',
'americarj',
'americanoma',
'americanorj',
'americato',
'americamg',
'americape',
... |
import Pool from './pool'
import MockAgent from './mock-agent'
import { Interceptable, MockInterceptor } from './mock-interceptor'
import Dispatcher from './dispatcher'
export = MockPool
/** MockPool extends the Pool API and allows one to mock requests. */
declare class MockPool extends Pool implements Interceptable ... |
import { MigrationInterface, QueryRunner, Table } from 'typeorm';
export default class CreateUserTokens1608835773694
implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.createTable(
new Table({
name: 'user_tokens',
columns: [
... |
import * as React from 'react'
import { Helmet } from 'react-helmet'
import { connect } from 'react-redux'
import { resolve } from 'url'
import { ScreenSize } from '../../reducers/mediaQuery'
import { setCoursesSelf64, deleteCourseSelf64, deleteCourseUploaded64 } from '../../actions'
import { Course64Panel } from '..... |
// *** 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";
/*... |
/**
* @license
* Copyright Alibaba.com 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://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
const locale = {
placeholder: 'समय का चयन करें'
};
export default locale; |
import { TraktScrobble } from '@apis/TraktScrobble';
import { BrowserStorage } from '@common/BrowserStorage';
import {
EventDispatcher,
ScrobbleErrorData,
ScrobbleSuccessData,
SearchErrorData,
StorageOptionsChangeData,
} from '@common/Events';
import { I18N } from '@common/I18N';
import { Messaging } from '@common... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
@NgModule({
imports: [
CommonModule
],
declarations: []
})
export class HeroesRoutingModule { } |
import { Construct } from "@aws-cdk/core";
export interface Stage {
stackPrefix: string;
}
const knownStageNames = ["dev", "prod"];
export const getStage = (construct: Construct): Stage => {
const stageName = process.env.MB_STAGE || "dev";
if (!knownStageNames.includes(stageName)) {
throw new Error(`unknow... |
/* eslint-disable camelcase */
/**
*
* LoginSocialGithub
*
*/
import React, {
forwardRef,
memo,
useCallback,
useEffect,
useImperativeHandle,
useState
} from 'react'
import { IResolveParams, objectType, TypeCrossFunction } from '../'
interface Props {
state?: string
scope?: string
client_id: strin... |
import React from "react"
import NewLayout from "../components/layout"
import { NoPicNavCard } from "../components/content-cards"
import { IndexCardGrid } from "../components/content-wrappers"
import { ExternalButton } from "../components/buttons"
export default function Home() {
return (
<NewLayout
titleT... |
import {addFeature} from "./features/addFeature";
import {groupRecoveryFeature} from "./features/groupRecovery/groupRecoveryFeature";
import {functionBaseFeature} from "./features/functions/functionBaseFeature";
import {multiplyFeature} from "./features/multiplyFeature";
import {numberBaseFeature} from "./features/numb... |
import { State } from '../state';
import * as path from 'path'
import * as akala from '@akala/core'
export default function requireCmd(this: State, injector: akala.Injector, target: string, cwd: string): unknown
{
// console.log(arguments);
if (target && !path.isAbsolute(target))
target = path.resolve... |
import { equals } from 'ramda';
import * as React from 'react';
import { RouteComponentProps } from 'react-router-dom';
import { compose } from 'recompose';
import CircleProgress from 'src/components/CircleProgress';
import { makeStyles, Theme } from 'src/components/core/styles';
import Typography from 'src/components/... |
import { ElementRef, ViewContainerRef } from '@angular/core';
import { EngBase } from './common/angularbase';
export declare class ExtMessageboxComponent extends EngBase {
constructor(eRef: ElementRef, hostComponent: EngBase, vc: ViewContainerRef);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnChanges(... |
import { BerryOrm } from "../core/berry-orm.class";
import { PrimaryKey } from "../field/field-values/primary-key.type";
import { AnyEntity } from "./any-entity.type";
export interface EntityType<Entity extends AnyEntity = AnyEntity> {
new (orm: BerryOrm, primaryKey: PrimaryKey<Entity>): Entity;
prototype: Entity;... |
import { BuilderOutput, createBuilder, BuilderContext } from '@angular-devkit/architect';
import { ProjectGraphDependency } from '@nrwl/tao/src/shared/project-graph';
import { getProjectsByTag } from './lib';
import { SemanticReleaseWorkspaceSchema } from './workspace-schema';
const builder: any = createBuilder(seman... |
import { TestBed } from '@angular/core/testing';
import { ResultSelectionStore } from './result-selection.store';
import {HttpClientTestingModule} from "@angular/common/http/testing";
import {ResultSelectionService} from "./result-selection.service";
import {RouterTestingModule} from "@angular/router/testing";
descri... |
import { makeRequester, Requester } from './http_req';
import { IOptions } from './options';
import { hasTdigest, TDigestStat } from './tdshared';
const FLUSH_INTERVAL = 15000; // 15 seconds
interface IQueryKey {
method: string;
route: string;
query: string;
func: string;
file: string;
line: number;
tim... |
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerExecutionContext,
HttpHandlerOptions... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Aero</source>
<translation type="unfinished"/>
</message>
<message>
<location line="+39... |
import * as React from 'react'
import cx from 'classnames'
import { TeamsProcessedSvgIconSpec } from '../types'
import { teamsIconClassNames } from '../teamsIconClassNames'
export default {
icon: ({ classes }) => (
<svg role="presentation" focusable="false" viewBox="0 0 16 16" className={classes.svg}>
<g>
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
import { DbIconDefinition } from "@digibearapp/digibear-common-types";
declare const dbChevronDoubleUpSmall: DbIconDefinition;
export default dbChevronDoubleUpSmall; |
import { GeneratorOptions } from '@prisma/generator-helper';
import { parseEnvValue } from '@prisma/sdk';
import * as path from 'path';
import { GeneratorPathNotExists } from './error-handler';
import * as prettier from 'prettier';
import { JSONSchema7 } from 'json-schema';
import Model from './components/Model';
impor... |
/*
* Power BI Visual CLI
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
* MIT License
*
* 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, ... |
export declare const externalModuleIdStrategy: (moduleId: string, embedded?: string[]) => boolean; |
import { getMultipleCryptoUSDValue } from 'get-crypto-fiat-values'
import dedent from 'ts-dedent'
import { Portfolio, TradeOrder } from './types'
export const calculateCurrentPortfolioAllocation = (
oPortfolio: Portfolio,
runningTotal: number
) => {
Object.keys(oPortfolio).forEach(key => {
oPortfol... |
/*
The MIT License (MIT)
Copyright (c) 2016 Tom Zoehner
Copyright (c) 2018 Thomas Bluemel
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 ri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.