text stringlengths 10 953k |
|---|
import * as React from 'react';
import { Sorting } from './Sorting';
import { Searchbox } from './Searchbox';
import { Filter } from './Filter';
import { Folders } from './Folders';
import { Settings } from '../../models';
import { DashboardMessage } from '../../DashboardMessage';
import { Startup } from '../Startup';
... |
import { Component, Input, OnInit } from '@angular/core';
import { MdDialog } from '@angular/material';
import { DialogVehicleComponent } from './dialog-vehicle.component';
@Component({
selector: 'app-dialog-vehicle-trigger',
templateUrl: './dialog-vehicle-trigger.component.html',
styleUrls: ['./dialog-vehicle... |
import { Module } from '@nestjs/common';
import { UserInfoService } from '../services/user-info.service';
import { UserInfoController } from '../controllers/user-info.controller';
import { ConfigModule } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthModule } from 'src/auth/modules... |
import { Test, TestingModule } from '@nestjs/testing';
import { MailManagerService } from './mail-manager.service';
describe('MailManagerService', () => {
let service: MailManagerService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [MailManagerServi... |
import { Component } from '@angular/core';
@Component({
moduleId: module.id,
selector: 'my-app',
templateUrl: 'app.component.html',
styleUrls: [ 'app.component.css' ]
})
export class AppComponent {
title = 'FieldSight';
} |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
// Export members:
export * from "./activeReceiptRuleSet";
exp... |
import { LogFunction, LogType } from "../../common/main";
import { IPromptCatcher } from "../api";
import { ShellParser } from "./shell-parser";
export class PromptCatcherVms extends ShellParser implements IPromptCatcher {
/**
* Note: only the last prompt will be caught properly.
* If do write several ... |
module.exports = {
group: '原子组件',
componentName: 'ObjectForm',
title: '华源魔方',
docUrl: '',
screenshot: '',
npm: {
destructuring: true,
exportName: 'ObjectForm',
main: '',
package: '@alifd/next',
subName: '',
version: '{{version}}',
},
props: [
{
name: 'name',
propT... |
import { Component, OnInit, Inject } from "@angular/core";
import { Device } from "../../models/device.model";
import { Observable } from "rxjs";
import { MAT_DIALOG_DATA, MatDialogRef } from "@angular/material/dialog";
import { DeviceService } from "src/app/services/device.service";
import { DocumentReference } from "... |
import { ViewChild, Component } from '@angular/core';
import { NavController, NavParams, AlertController, LoadingController, Content } from 'ionic-angular';
import { trigger, style, transition, animate, keyframes, query, stagger } from '@angular/animations';
import { UserService } from '../../app/user.service';
impor... |
import { URLSearchParams } from 'url';
import type { WithGot } from '../types';
/**
*
*/
export interface ProtxRegisterPrepareDto {
id: string;
payeeAddress?: string;
}
/**
*
*/
export interface ProtxRegisterPrepareResponse {
tx: string;
collateralAddress: string;
signMessage: string;
}
/**
*
* @para... |
/// <reference types="react" />
declare const RightFacingFistMediumLightSkinTone: ({ size, rem }: {
size: number | string;
rem?: boolean | undefined;
}) => JSX.Element;
export default RightFacingFistMediumLightSkinTone; |
import { advanceTo } from "jest-date-mock";
import jwt from "jsonwebtoken";
import { UUID } from "../__tests__/patterns";
import { CodeMismatchError, NotAuthorizedError } from "../errors";
import PublicKey from "../keys/cognitoLocal.public.json";
import { CognitoClient, UserPoolClient } from "../services";
import {
R... |
import merge from "deepmerge";
import { myEmitter } from "./event";
import {
ErrorObserver,
IError,
IUnHandleRejectionError
} from "./errorObserver";
import { ISimpleVueError, IVueError } from "./vueErrorObserver";
import { AjaxInterceptor } from "./ajaxInterceptor";
import { VueErrorObserver } from "./vueErrorOb... |
import { resolve } from "path";
import { typescript } from "../lazy-modules";
import { VirtualModule } from "./index";
const match = /\bsecrets$/;
function extractType(value: any): string {
switch (typeof value) {
default:
if (value !== "null") {
if (value instanceof Array) {
return "Readonly<[" + valu... |
import { Environment } from './environment.model';
import { GroupPermission } from './group.model';
import { Parameter } from './parameter.model';
import { Stage } from './stage.model';
import { Usage } from './usage.model';
import { User } from './user.model';
export const pipelineNamePattern: RegExp = new RegExp('^[... |
/* eslint-disable @typescript-eslint/no-unused-vars */
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ErrorLogComponent } from './error-log.component';
describe('ErrorLogComponent', () => {
let component: ErrorLogComponent;
let fixture: ComponentFixture<ErrorLogComponent>;
beforeEach(async(() => {
TestBed.configureTestingMod... |
import { reportError } from 'lib/errorHelper'
import * as ln from './decode'
const lnPrefixes = ['ln', 'LIGHTNING:ln']
export function isLN(s) {
const ok = lnPrefixes.find((p) => s.toLowerCase().startsWith(p.toLowerCase()))
return ok ? true : false
}
export function removeLightningPrefix(data) {
let theData = d... |
import {Component, OnInit, ViewChild} from '@angular/core';
import {NzMessageService} from 'ng-zorro-antd/message';
import {ApiService} from '../../../api/api.service';
import {RequestObj} from '../../../class/HttpReqAndResp';
import {Article} from '../../../class/Article';
import {Title} from '@angular/platform-browse... |
import { PathItemObject, OperationObject, ResponsesObject, ResponseObject } from 'openapi3-ts';
import { ref as templateSchemaRef } from '../../components/schemas/templates/base';
import { ref as templateIdRef } from '../../components/parameters/templateId';
import { ref as errorResponseRef } from '../../components/res... |
/*
* The AnVIL
* https://www.anvilproject.org
*
* The AnVIL - carousel slide component.
*
*/
// Core dependencies
import { GatsbyImage, getImage } from "gatsby-plugin-image";
import React, { FC } from "react";
import { CSSTransition } from "react-transition-group";
// App dependencies
import ButtonCta from "../... |
import * as React from 'react';
export default function Main(): JSX.Element {
const style = {
main: {
margin: '40px 0',
} as React.CSSProperties,
title: {
margin: '0',
fontSize: '40px',
textAlign: 'center',
} as React.CSSProperties,
paragraph: {
color: '#333',
... |
import coreModule from 'app/core/core_module';
import { contextSrv } from 'app/core/services/context_srv';
import config from 'app/core/config';
const template = `
<div class="modal-body">
<div class="modal-header">
<h2 class="modal-header-title">
<i class="fa fa-random"></i>
<span class="p-l-1">Switch Organi... |
import { Chip, Grid, makeStyles, Portal } from '@material-ui/core';
import React, { useState } from 'react';
import PollCardSubmitButton from '../../components/PollCardSubmitButton';
import { MultipleChoiceAnswer } from '../../types';
import { PollAnswerFormProps } from '../types';
type SelectionChipProps = {
class... |
export const TabletLandscape = `<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" fill="currentColor" class="bi bi-tablet-landscape" viewBox="0 0 16 16">
<path d="M1 4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4zm-1 8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2... |
import matchers from './matchers';
import expectPlaywright from "."
describe("expect-playwright", () => {
afterEach(async () => {
await page.evaluate(() => document.body.innerHTML = "")
})
it("should apply the functions", () => {
for (let matcher in matchers) {
// @ts-ignore
expect(expect(nu... |
import { GraphQLResult } from "@aws-amplify/api-graphql";
import { PutResult } from "@aws-amplify/storage";
import {
Button,
Input,
Spinner,
StyleService,
useStyleSheet,
} from "@ui-kitten/components";
import { API, graphqlOperation, Storage } from "aws-amplify";
import * as ImagePicker from "expo-image-picke... |
//////////////////////////////////////////////////////////////////////// Next
import Link from "next/link";
/////////////////////////////////////////////////////////// Styled Components
import {
Wrap,
Solucoes,
Grupo,
GrupoIcones
} from "sections/index/How/StyledHow";
import {
BlocoTexto,
AberturaTexto,... |
import {
PrimaryGeneratedColumn,
Column,
Entity,
BeforeInsert,
ManyToOne,
JoinColumn,
} from 'typeorm';
import * as bcrypt from 'bcrypt';
import { UserType } from '../../user-type/entities/user-type.entity';
import { Country } from '../../countries/entities/country.entity';
@Entity('users')
export class Us... |
import {
Controller,
Get,
Param,
Post,
Body,
Delete,
Put,
ParseUUIDPipe,
Patch,
} from '@nestjs/common';
import { CreateOrderDto } from './dto/create-order.dto';
import { ExternalOrderDto } from './dto/external-order.dto';
import { OrdersDataService } from './orders-data.service';
import { Order } fro... |
/**
* @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 { NgModuleFactory } from '@angular/core';
import { Observable } from 'rxjs/Observable';
export declare functio... |
import React from 'react';
import styled from 'styled-components';
import Link from 'next/link';
const AnnouncementBanner = (): JSX.Element => {
return (
<AnnouncementContainer>
<InfoContainer>
<StyledRow>
<Svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"... |
export class ErrorMessage {
constructor(
public forControl: string,
public forValidator: string,
public text: string
) { }
}
export const ShoppinglistFormErrorMessages = [
new ErrorMessage ('title', 'required', 'Ein Titel muss angegeben werden'),
new ErrorMessage('dueDate', 'req... |
const Uninstall: LangJob = {
reportString: '打包TargetA。',
label: null,
description: null,
defName: 'Uninstall'
}
export default Uninstall; |
import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAc... |
import { GlobeAltIcon } from "@heroicons/react/outline";
import { HeroIcon, PageLink } from "types/PageLink";
export const linkWithDefaultIcon = (
link: PageLink
): PageLink & { icon: HeroIcon } => {
return { ...link, icon: link.icon || GlobeAltIcon };
};
export const linksWithDefaultIcons = (
links: PageLink[]... |
import {ColorsDescription, ThemeDescription} from '@/interfaces/general';
const fontFamilyAccent = 'MailSans, Helvetica, Arial, sans-serif';
const fontFamilyBase = 'Helvetica, Arial, sans-serif';
const fontWeightAccent1 = 400;
const fontWeightAccent2 = 500;
const fontWeightAccent3 = 500;
const fontWeightBase1 = 400;
c... |
export * as websocket from './websocket' |
import {Component, OnInit} from '@angular/core';
import {Observable} from "rxjs";
import {DataElementInstanceService, DataElementInstanceWithLinks} from "../../trade-client";
import {ActivatedRoute, ParamMap, Router} from "@angular/router";
import {switchMap} from "rxjs/operators";
@Component({
selector: 'data-eleme... |
import { FlowWithPickSelectionSetProcessor } from './flow-selection-set-processor';
import { GraphQLSchema, isEnumType } from 'graphql';
import { FlowDocumentsPluginConfig } from './config';
import { FlowOperationVariablesToObject } from '@graphql-codegen/flow';
import {
wrapTypeWithModifiers,
PreResolveTypesProces... |
export class mySchools{
szschoolid: string;
szschoolname: string;
} |
/**
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 20220523
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit t... |
/// <reference path="../../../globals.d.ts"/>
declare module 'goog:goog.array' {
export = goog.array;
}
declare namespace goog.array {
interface ArrayLike<T> {
[index: number]: T;
length: number;
}
/**
* Returns the last element in an array without removing it.
* Same as goo... |
import { Component } from '@angular/core';
import { NavController } from '@ionic/angular';
import { RatingPage } from './rating/rating.page';
@Component({
selector: 'app-tab1',
templateUrl: 'trabalhos.page.html',
styleUrls: ['trabalhos.page.scss']
})
export class TrabalhosPage {
public works: Array<Work>;
... |
import { serverEnv } from 'configs/environment';
import 'database';
import express from 'express';
import 'reflect-metadata';
import { routes } from 'routes';
const app = express();
app
// Use JSON
.use(express.json())
// API Routes
.use('/api', routes)
// Set Port
.listen(serverEnv.port, () => {
console.l... |
import { Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
import { Router } from '@angular/router';
import { Broadcaster } from 'ngx-base';
import { Contexts, Space, SpaceService } from 'ngx-fabric8-wit';
import { ListConfig } from 'patternfly-ng/list';
import { forkJoin, Observable , ... |
import { getContractAddressesForChainOrThrow } from '@0x/contract-addresses';
import {
assertRoughlyEquals,
constants,
expect,
getRandomFloat,
getRandomInteger,
Numberish,
randomAddress,
} from '@0x/contracts-test-utils';
import { assetDataUtils, generatePseudoRandomSalt } from '@0x/order-u... |
/**
* Copyright (c) Microsoft 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 agr... |
import * as rc from "@akashic-extension/raycaster-js";
let isSkipping = false;
g.game.skippingChanged.add(skipping => {
isSkipping = skipping;
});
/**
* イメージアセットからテクスチャを生成します。
*
* @param imageAsset テクスチャにするイメージのアセット。
*/
function createTexture(imageAsset: g.ImageAsset): rc.Texture {
const surface = g.game.resou... |
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
import { Document } from 'mongoose';
export interface IGoogleUser extends Document {
email: string;
employeeId: string;
firstName: string;
lastName: string;
photoUrl: string;
} |
export {};
//# sourceMappingURL=add-class-name.test.d.ts.map |
function WifiIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" {...props}>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M8.111 16.404a5.5 5.5 0 017.778 0M12 20h.01m-7.08-7.071c3.904-3.905 ... |
import mm from "micromatch";
import { analyze, getStats } from "../lib";
import { vlidateStatsJson } from "../lib/validate";
import { log, invalidStatsJson } from "../lib/console/messages";
import { normalizeStats } from "../lib/normalize-stats";
import { reporter as defaultReporter } from "../lib/reporter";
import { c... |
export * from "./jute/index"; |
import React from 'react';
import { Colors } from '../../essentials';
import { IconProps } from '../IconProps';
import { withDeprecatedMessage } from '../../utils/withDeprecatedMessage';
import { ForwardLastIcon } from '../basic';
type Props = IconProps;
const ForwardSmallIcon: React.FC<Props> = withDeprecatedMessage(... |
/*!
* accepts
* Copyright(c) 2021 nipusan
* MIT Licensed
*/
export class Util {
/**
* Check it has data and returns a boolean
*
* @param x data to validate
* @returns boolean
*/
static check(x: any): boolean {
// null data check
if (x == null) {
return false;
} else if (x ===... |
import express, { Request, Response, NextFunction } from 'express'
import compression from 'compression'
import bodyParser from 'body-parser'
import lusca from 'lusca'
import passport from 'passport'
import dotenv from 'dotenv'
import cors from 'cors'
import loggedInUserRouter from './routers/loggedInUser'
import bor... |
import {
ILogger,
LogLevel,
nextId,
onResolve,
resolveAll,
Writable,
} from '@aurelia/kernel';
import {
LifecycleFlags,
BindingMode,
ICollectionObserver,
CollectionKind,
IObserverLocator,
IndexMap,
Scope,
} from '@aurelia/runtime';
import { IRenderLocation } from '../../dom.js';
import { templ... |
// 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,
apiKey:'ab5ab9c1c0bffa685aff300678da76cd7afd07... |
import { reducer } from './reducers';
import { createStore } from 'redux';
import { actions } from './actions';
import { composeWithDevTools } from 'redux-devtools-extension';
const store = createStore(reducer, {}, composeWithDevTools());
// TODO: try doing some store.dispatch() calls here
// HINT: remember to use th... |
import { ReduxProcessStore } from '../../src/ReduxProcessStore'
import { ReduxProcessGroup } from '../../src/ReduxProcessGroup'
import { ReduxProcess } from '../../src/ReduxProcess'
describe('src/ReduxProcessStore::internalReducer', function () {
class Process extends ReduxProcess<string, number, number, number> {
... |
import { Test, TestingModule } from '@nestjs/testing';
import { ClaseService } from './clase.service';
describe('ClaseService', () => {
let service: ClaseService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [ClaseService],
}).compile();
ser... |
import { wrapped } from "../functions";
import { primitive, PossibleRepresentation, ReifiedType, TypeParameterHost } from "../reified";
import { addVariable, lookup, uniqueName, DeclarationFlags, Scope } from "../scope";
import { concat } from "../utils";
import { binary, call, callable, conformance, expr, functionValu... |
import naming from './util/naming';
export * from './decorator/column';
export * from './decorator/compound';
export * from './decorator/entity';
export * from './decorator/join-column';
export * from './decorator/multi-valued';
export * from './decorator/primary';
export * from './decorator/unique';
export { naming ... |
/**
* @license
* Copyright 2020 Google 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... |
import { actionBooksDeleteOne, actionBooksUpsertOne } from './books.actions';
describe('Books Actions', () => {
it('should create ActionBooksUpsertOne action', () => {
const action = actionBooksUpsertOne({
book: {
id: '1',
title: 'test',
author: 'test',
description: ''
... |
import {
Component,
ViewEncapsulation,
ChangeDetectionStrategy,
OnDestroy,
OnInit,
Input,
Optional,
Renderer2
} from '@angular/core';
import { SlkColumnDefDirective } from '../grid';
import { SlkSortDirective } from './sort';
import { take } from 'rxjs/operators';
import { SortDirectiveS... |
// import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'
// import { IonicModule } from '@ionic/angular'
// import { MnemonicKeyboardComponent } from './mnemonic-keyboard.component'
// describe('MnemonicKeyboardComponent', () => {
// let component: MnemonicKeyboardComponent
// let fixtur... |
import 'react-native';
import * as React from 'react';
import {RenderAPI, render} from '@testing-library/react-native';
import {createTestElement, createTestProps} from '../../../../test/testUtils';
import Template from './Template';
let props: any;
let component: React.ReactElement;
let testingLib: RenderAPI;
des... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MatCardModule, MatIconModule } from '@angular/material';
import { RouterTestingModule } from '@angular/router/testing';
import { NgxGalleryModule } from '@kolkov/ngx-gallery';
import { StoreModule } from '@ngrx/store';
import { launchRed... |
import './index.css';
import { useState, useEffect } from 'react';
import Logo from '../../Logo';
import Label from '../../UI/Label';
import Button from '../../UI/Button';
import FavoritePet from '../FavoritePet';
import { SocketConnection } from '../../../SocketConnection';
import Alerts from '../../Alerts';
import ... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { N... |
export class Allergies {
private allergenIndex: number
private possibleAllergies = [
'eggs',
'peanuts',
'shellfish',
'strawberries',
'tomatoes',
'chocolate',
'pollen',
'cats',
] as const
constructor(allergenIndex: number) {
this.allergenIndex = allergenIndex
}
public a... |
/* eslint-disable eslint-comments/no-use */
// this rule tests quotes, which prettier will want to fix and break the tests
/* eslint "@typescript-eslint/internal/plugin-test-formatting": ["error", { formatWithPrettier: false }] */
/* eslint-enable eslint-comments/no-use */
import rule from '../../src/rules/quotes';
im... |
import Controller from '@ember/controller';
import DeveloperAppModel from 'ember-osf-web/models/developer-app';
export default class SettingsApplicationCreateController extends Controller {
developerApp!: DeveloperAppModel;
} |
import React from 'react';
import { Text, StyleSheet, View, Image } from 'react-native';
import { TouchableWithoutFeedback } from 'react-native-gesture-handler';
import { useNavigation } from '@react-navigation/native';
const Header = () => {
const navigation = useNavigation();
const handleOnPress = () => {
n... |
import {
createElement,
useImperativeHandle,
useRef,
useMemo,
forwardRef,
} from 'react';
import {
addSystem,
EvaRefObject,
useComponent,
useResource,
useComponents,
} from '@eva/react-eva';
import {Lottie as LottieComponent, LottieSystem} from '@eva/plugin-renderer-lottie';
addSystem(new LottieSys... |
import { compareConsents } from './consents-comparer';
import { Consent } from '../model';
describe('manager', () => {
it('compareConsents() works correctly', () => {
const a: Consent[] = [
{ category: 'marketing', isAllowed: false },
{ category: 'necessary', isAllowed: true }
];
const b: Consent[] = [
... |
<TS language="fr_FR" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Cliquez droit pour modifier l'adresse ou le label</translation>
</message>
<message>
<source>Create a new address</source>
... |
import Vue from 'vue'
import Component from 'vue-class-component'
@Component({
})
export default class Page1 extends Vue {
name: string = "page1";
mounted() {
}
}
Vue.component('page1', Page1); |
/* eslint-disable @typescript-eslint/no-unused-vars */
import { IncomingMessage } from 'http';
import { prepareAll, releaseAll } from 'true-di';
import createContainer from './container';
import { IDataSourceService, IECommerceService, ILogger } from './interfaces';
import { LogLevel } from './Logger/LogLevel';
type A... |
/**
Copyright 2021 Forestry.io Holdings, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
import { DiamondNodeWidget } from './DiamondNodeWidget';
import { DiamondNodeModel } from './DiamondNodeModel';
import * as React from 'react';
import { AbstractReactFactory } from '@projectstorm/react-canvas-core';
import { DiagramEngine } from '@projectstorm/react-diagrams-core';
export class DiamondNodeFactory exte... |
import * as React from 'react';
import { css } from 'emotion';
import * as distanceInWords from 'date-fns/distance_in_words_to_now';
import { Lozenge } from './Lozenge';
import { LozengeAppearance } from './types';
import { User } from './User';
let queueItemStyles = css({
display: 'block',
boxSizing: 'border-box'... |
import { IAllocGrpNoAllocs } from './alloc_grp_no_allocs'
export interface IAllocGrp {
NoAllocs?: IAllocGrpNoAllocs[]
} |
import SwaggerParser from "@apidevtools/swagger-parser";
import {BadRequest, Exception} from "@tsed/exceptions";
import {getJsonSchema, getSpec, OperationPath, Path, Returns, SpecTypes} from "@tsed/schema";
import Ajv from "ajv";
import {expect} from "chai";
import {unlinkSync, writeJsonSync} from "fs-extra";
import ".... |
/*
* 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 { observer } from 'mobx-react-lite';
import type { ComponentStyle } from '@cloudbeaver/core... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Manages a Linked Service (connection) between an Azure ... |
export declare const serializer: (error: any) => string;
//# sourceMappingURL=error-serializer.d.ts.map |
import { ApplySettings, ServeConfigurations } from '../common/types';
import colors from 'colors';
import { argv } from 'yargs';
import { URL } from 'url';
import { getJSONFile, logDebugString } from '../webpack/helpers';
export const applyOpenUrlSetting: ApplySettings = (config, settings) => {
const configName = ar... |
import { Codec } from '../codec'
import { Context } from '../context'
import { success, Validation } from '../validation'
import { BaseCodec, CodecOptions } from './'
export class OptionalCodec<A, O = A> extends BaseCodec<A | undefined, O | undefined> {
readonly _tag = 'OptionalCodec' as const
constructor(public... |
export default class TypeSchema {
static schema = {
name: 'Type',
primaryKey: 'id',
properties: {
id: { type: 'int', indexed: true },
type: 'TypeDetail',
},
};
} |
import { StateNode, State } from './index';
import { toStateValue, getActionType, flatten, keys } from './utils';
import {
StateValue,
Edge,
Segment,
PathMap,
PathItem,
PathsItem,
PathsMap,
AdjacencyMap,
DefaultContext,
ValueAdjacencyMap,
Event,
EventObject
} from './types';
const EMPTY_MAP = {... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="he" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About FuzzCoin</source>
<translation>אודות לייטקוין</translation>
</me... |
import { stateReducer } from './StateReducer';
import { setState } from './../../actions/';
import { InitialState } from './../../states/';
describe('stateReducer', () => {
it('should return an initial state', () => {
let value;
expect(() => {
return value = stateReducer(undefined, { type: undefined }... |
import {Entity} from './index';
import {ParseNode} from '@microsoft/kiota-abstractions';
export function createEntityFromDiscriminatorValue(parseNode: ParseNode | undefined) : Entity {
if(!parseNode) throw new Error("parseNode cannot be undefined");
return new Entity();
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import { ActionButton } from 'office-ui-fabric-react/lib/Button';
import * as React from 'react';
import { ContentActionMessageCreator } from '../../common/message-creators/content-action-message-creator';
import { NamedSFC... |
import { Component } from '@angular/core';
import { NavController, NavParams} from 'ionic-angular';
import { Data } from '../../providers/data';
import {ResourcePage} from './resource';
/*
Generated class for the Resource page.
See http://ionicframework.com/docs/v2/components/#navigation for more info on
Ionic page... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.