text
stringlengths
10
953k
// 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 in ...
import { IRef, squals, IGetAtt, genComponentName, validatorGeneric } from '../Template' import { verifyIfThen, ifPathEq, has } from '../../utils/validations/objectCheck' import { struct } from 'superstruct' import { AppSyncApi } from './api' import { flowRight } from 'lodash-es' export class AppSyncDataSource implemen...
import { Column, Entity, PrimaryGeneratedColumn, ManyToOne, JoinColumn } from 'typeorm'; import { Company } from '../company/company.entity'; @Entity() export class Team { @PrimaryGeneratedColumn('uuid') id: string; @Column({ length: 50 }) name: string; @Column({ length: 50 }) description: string; @Co...
import { IDonationService } from "./donation-service.interface"; import { DonationRequest } from "app/ui/models/donation/donation-request"; import { Key } from "./../models/user/user-app.model"; import { Injectable } from "@angular/core"; import { DonationRequestRepository } from "../repositories/donation-request.repo...
<TS language="ta" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>ஒரு புதிய முகவரியை உருவாக்கு</translation> </message> <message> <source>&amp;New</source> <translation>&amp;புதிய</translation> </messa...
import React, {ReactNode} from 'react'; import {useClassFor} from '../utils/classFor'; export interface ThemedComponentProps { name: string; children?: ReactNode; className?: string; id?: string; } export const ThemedComponent = ({name, children, className, id}: ThemedComponentProps) => { const themedClass ...
import React from 'react'; import moment from 'moment'; import ProTable, { ProColumns } from '@ant-design/pro-table'; import { Space } from 'antd'; const valueEnum = { 0: 'close', 1: 'running', 2: 'online', 3: 'error', }; export interface TableListItem { key: number; name: string; status: string | numbe...
import Resource from './Resource'; export default class ResourceLoader { private readonly cache: Array<Resource> = []; /** * Loads resources from a list of data URLs. * @param inputList */ public load = (inputList: Array<string>): Promise<Array<Resource>> => { return new Promise((re...
import {DB} from './cache'; import {Player} from './player'; import {Resource} from './source'; import {autoStruct,autoDestory} from './struct'; import {autoShow} from './render'; import {autoControl} from './controller'; import {Keys,World,More,autoConfig} from './common/setting'; import {tools} from './common/tools'...
export * from "./CreateFyghterForm";
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ import type { Fixed128 } from '@polkadot/types/interfaces/runtime'; /** @name Multiplier */ export interface Multiplier extends Fixed128 {} export type PHANTOM_TXPAYMENT = 'txpayment';
/*--------------------------------------------------------- * Copyright (C) Microsoft Corporation. All rights reserved. *--------------------------------------------------------*/ import { Container } from 'inversify'; import * as nls from 'vscode-nls'; import { Cdp } from '../cdp/api'; import { DisposableList, IDis...
import { INode } from "./node"; import { IMember } from "./member"; export interface IThread { node: INode; member: IMember; last_reply_by: string; last_touched: number; title: string; url: string; created: number; content: string; content_rendered: string; last_modified: number; replies: number;...
import { Reducer } from 'redux'; import * as types from '../actions/logging'; export interface LoggingState { status: string; } const INITIAL_STATE: LoggingState = { status: '', }; const Logging: Reducer<LoggingState> = function ( state: LoggingState = INITIAL_STATE, action, ): LoggingState { switch (actio...
/** * This file defines the text used when explaining to the user how to use this model. * It is specific to the task and changes slightly based on the model. */ import React from 'react'; import { Models, Examples } from '@allenai/tugboat/context'; import { NoSelectedModelError, CategorizedExamplesError } from '@a...
import { ZWaveErrorCodes } from "../error/ZWaveError"; import { assertZWaveError } from "../test/assertZWaveError"; import { encodeBitMask, encodeFloatWithScale, encodePartial, getMinIntegerSize, parseBitMask, parseBoolean, parseFloatWithScale, parseMaybeBoolean, parseMaybeNumber, parseNumber, parsePartial, ...
import { ValidationError } from '../src/errors/ValidationError'; import { number } from '../src/schema/NumberSchema'; import { defaultMessages } from '../src/errors/defaultMessages'; describe('Number Schema API', () => { it('should cast the given values', () => { const schema = number(); const string = sche...
import * as React from "react"; import { useHistory } from "react-router-dom"; import { useLocale } from "@/hooks/useLocale"; import { MAIN_MENU } from "@/routes"; import Button from "../shared/button/Button"; import "./NotFound.scss"; function NotFound() { const history = useHistory(); const { i18n } = useLocale(...
import request from 'supertest'; import { Test } from '@nestjs/testing'; import { INestApplication } from '@nestjs/common'; import { AppService } from '../src/app/app.service'; import { AppController } from '../src/app/app.controller'; describe('AppController (e2e)', () => { let app: INestApplication; beforeA...
export class DataObjectsEntity { id: string; name: string; slug: string; fields: []; constructor(partial: Partial<DataObjectsEntity>) { Object.assign(this, partial); } }
import * as React from 'react'; import createBrowserHistory from 'history/createBrowserHistory'; import { Route, Router } from 'react-router-dom'; import { render } from 'react-testing-library'; import { default as SignupComponent } from '../../../components/Signup'; test('Makes sure there are three input fields.', ()...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { NodedetailsComponent } from './nodedetails.component'; describe('NodedetailsComponent', () => { let component: NodedetailsComponent; let fixture: ComponentFixture<NodedetailsComponent>; beforeEach(async(() => { TestBed.confi...
import { BUILD_MANIFEST, REACT_LOADABLE_MANIFEST } from '../lib/constants' import { join } from 'path' import { requirePage } from './require' import { BuildManifest } from './get-page-files' import { AppType, DocumentType } from '../lib/utils' import { PageConfig, GetStaticPaths, GetServerSideProps, GetStaticP...
import { ApiProperty } from '@nestjs/swagger'; import { IsNotEmpty } from 'class-validator'; export class FindAllInDayFromSpecialistDto { @ApiProperty() @IsNotEmpty() crm: string; @ApiProperty() @IsNotEmpty() day: number; @ApiProperty() @IsNotEmpty() month: number; @ApiProperty() @IsNotEmpty() ...
import chai, { expect } from 'chai'; import fs from 'fs-extra'; import * as path from 'path'; import Helper from '../../src/e2e-helper/e2e-helper'; const assertArrays = require('chai-arrays'); chai.use(assertArrays); describe('run bit isolate', function () { this.timeout(0); let helper: Helper; before(() => { ...
import React from 'react'; import { AppProps } from 'next/app'; // import { Header, Foote const App: React.FC<AppProps> = ({ Component, pageProps }) => { return ( <> <Component {...pageProps} /> </> ); }; export default App;
import { Command, flags } from '@oclif/command'; import open from 'open'; import { StartCommand } from '.'; import { appConfig } from '../config'; import app from '../server'; let processExistCode = 0; export default class StartCommandCommand extends Command { static description = 'StartCommands uniflow client.'; ...
import React from "react"; import SimpleBar from "simplebar-react"; import { HasChildren } from "../../utils/Interfaces"; export default function Table({ children }: HasChildren) { return <> <SimpleBar forceVisible = {"x"} autoHide = {false} direction = {'x'}> <table className = {`w-full table-auto mb-6 bg...
import {fromEvent, interval} from "rxjs"; import {filter, map, merge, scan} from "rxjs/operators"; if (typeof window != 'undefined') window.onload = () => { pong(); }; //Constants allow me to reference numbers that are reused a lot const Constants = new class{ readonly player1X = 535; rea...
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Direction, Directionality} from '@angular/cdk/bidi'; import {BooleanInput, coerceBooleanProperty} from '@angu...
import gql from 'graphql-tag'; export const recaptchaPublicKeyQuery = gql` query RecaptchaPublicKeyQuery { getRecaptchaPublicKey @rest(type: "RecaptchaPublicKey", path: "/config/recaptcha-public-key") { publicKey: value } } `;
/** * 0 - Unlinked. * 1 - Main account that is linked to a remote harvester account. * 2 - Remote harvester account that is linked to a balance-holding account. * 3 - Remote harvester eligible account that is unlinked. */ export declare enum AccountType { Unlinked = 0, Main = 1, Remote = 2, Remote_...
import { OvaleAuraClass } from "./Aura"; import aceEvent, { AceEvent } from "@wowts/ace_event-3.0"; import { GetTime, CombatLogGetCurrentEventInfo } from "@wowts/wow-mock"; import { LuaArray } from "@wowts/lua"; import { AceModule } from "@wowts/tsaddon"; import { OvaleClass } from "./Ovale"; let SOUL_FRAGMENTS_BUFF_I...
import React, { useState, useEffect } from "react"; // React-Router-Dom components import { useParams } from "react-router-dom"; // MUI Component import { CircularProgress, Grid, Typography } from "@mui/material"; // icats Component import { ProjectAnalysisApiAxiosParamCreator, AnalysisInputList, RunAxios, } f...
export type ApiPasteFormat = | "4cs" | "6502acme" | "6502kickass" | "6502tasm" | "abap" | "actionscript" | "actionscript3" | "ada" | "aimms" | "algol68" | "apache" | "applescript" | "apt_sources" | "arduino" | "arm" | "asm" | "asp" | "asymptote" | "autoconf" | "autohotkey" | "a...
import * as path from 'path' import { Frame } from 'playwright' import { pageWith } from 'page-with' declare namespace window { export const request: () => Promise<any> } function findFrame(frame: Frame) { return frame.name() === '' } test('intercepts a request from an iframe (nested client)', async () => { co...
/** * * * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
import { Component, NgZone, OnInit } from '@angular/core' import { Router } from '@angular/router' import { Title } from '@angular/platform-browser' import { UserService } from '../user.service' import { User } from '../user.model' import { environment } from './../../../environments/environment' import { CompanyServi...
// Generated by github.com/lolopinto/ent/ent, DO NOT EDIT. import { GraphQLFieldConfigMap, GraphQLID, GraphQLNonNull, GraphQLObjectType, GraphQLString, } from "graphql"; import { RequestContext } from "@snowtop/ent"; import { GraphQLNodeInterface, convertToGQLEnum, nodeIDEncoder, } from "@snowtop/ent/g...
import { AnchorHTMLAttributes } from 'react'; import styled from 'styled-components'; import { rem } from 'polished'; import { tokens } from './NewItemCard.tokens'; import { core } from '../../../tokens'; import { Text as T } from '../../../typography'; import { CirclePlus as CP } from '../../../icons'; import { whit...
/// <reference path="../../localtypings/pxtblockly.d.ts" /> namespace pxtblockly { export interface FieldGridPickerToolTipConfig { yOffset?: number; xOffset?: number; } export interface FieldGridPickerOptions extends Blockly.FieldCustomDropdownOptions { columns?: string; m...
import { BaseEntity, Column, Entity, ManyToOne, PrimaryGeneratedColumn, } from 'typeorm'; import { Event } from '../../events/entity/event.entity'; import { UserEvent } from '../../UserEvent/userEvent.entity'; import { ApiProperty } from '@nestjs/swagger'; @Entity() export class Comment extends BaseEntity { ...
import { expect, syncDB, connection } from "../../mochaSetup"; import { Recipe } from "../../db/entities"; import { Tag } from "../../db/entities"; import { User } from "../../db/entities"; import seed from "../seed"; describe("Seed", () => { beforeEach(syncDB); afterEach(syncDB); it("fills the database with s...
/** * SendinBlue API * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/or...
import * as React from 'react'; interface ColumnProps { columnKey?: string; field?: string; sortField?: string; header?: any; body?: any; footer?: any; sortable?: boolean; filter?: boolean; filterMatchMode?: string; filterPlaceholder?: string; filterType?: string; filter...
import React from 'react'; import { Switch, Route } from 'react-router-dom'; import Layout from '../components/Layout'; import Dashboard from '../pages/Dashboard'; import RankingGeral from '../pages/Ranking' // import List from '../pages/List'; const AppRoutes: React.FC = () => ( <Layout> <Switch> ...
import { memoryUsage } from "node:process"; const digits = 2; /** * Calculate the RAM usage and return a string with the value. */ export const calculateRam = () => { const memory = memoryUsage(); return `RSS: ${(memory.rss / 1024 / 1024).toFixed(digits)}MB\nUsed: ${( memory.heapUsed / 1024 / 1024 ).toFix...
// Type definitions for omggif 1.0 // Project: https://github.com/deanm/omggif // Definitions by: Florian Keller <https://github.com/ffflorian> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 /// <reference types="node" /> export interface GifOptions { background?: nu...
/* * Copyright 2020 InfAI (CC SES) * * 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 ...
// See Models.cs/DeviceData export interface IDeviceData { dataID: number; collectorID: number; value: string; timeStamp: string; } export interface IDeviceDataDict { [driveLetter: string]: IDeviceData[]; }
/* * spurtcommerce API * version 2.1 * http://api.spurtcommerce.com * * Copyright (c) 2019 piccosoft ltd * Author piccosoft ltd <support@piccosoft.com> * Licensed under the MIT license. */ import 'reflect-metadata'; import {IsNotEmpty, IsEmail , IsString } from 'class-validator'; export class CustomerCheckoutR...
// Copyright 2020 EPAM Systems, 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 appli...
import { BadRequestException, ConflictException, InternalServerErrorException } from '@nestjs/common'; import { EntityRepository, Repository } from 'typeorm'; import * as bcrypt from 'bcryptjs'; import { User } from './user.entity'; import { SignInDto, AuthDto, UpdatePasswordDto } from '../dto/auth-credentials.dto'; im...
namespace fgui.utils { export type AttributeDictionary = { [key: string]: string; } export class XmlNode { public context: Node; public nodeName: string; public type: number; public text: string; private $children: XmlNode[]; private $attributes: At...
export class LeagueError { public code: string; public category: string; public name: string; private message: string; get getMessage(): string { return this.message; } private error: Error; get getError(): Error { return this.error; } constructor( name: string, code: string, cat...
import {OptionsBase} from "../OptionsBase"; import {ResponseBodyBase} from "../ResponseBodyBase"; export interface GetCardListOptions extends OptionsBase { /** * Идентификатор покупателя в системе Продавца */ CustomerKey: string; /** * IP-адрес запроса */ IP?: string; } export int...
import { Assets, submitTransaction } from '@allnodes/fireblocks-core'; import bitcore from 'bitcore-lib'; import type { RawMessageData, TransactionArguments, TransactionResponse } from 'fireblocks-sdk'; import { FireblocksSDK, PeerType, TransactionOperation } from 'fireblocks-sdk'; import invariant from 'tiny-invariant...
interface QuestionListItem { CorrectnessProbability: Number; HasPersonalAnswer: Boolean; Id: Number; ImageData: String; IsInWishknowledge: Boolean; LearningSessionStepCount: Number; LinkToComment: String; LinkToDeleteQuestion: String; LinkToEditQuestion: String; LinkToQuestion: ...
import * as React from 'react'; import { ExampleCard, PropertiesTableSet, ComponentPage } from '../../components/index'; import { ContextualMenuBasicExample } from './examples/ContextualMenu.Basic.Example'; import { ContextualMenuCheckmarksExample } from './examples/ContextualMenu.Checkmarks.Example'; import { C...
import React, { FunctionComponent, AnchorHTMLAttributes } from 'react'; import getClassName from '../../helpers/getClassName'; import classNames from '../../lib/classNames'; import usePlatform from '../../hooks/usePlatform'; import Tappable, { TappableProps } from '../Tappable/Tappable'; export interface LinkProps ext...
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {WaiterConfiguration} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/conf...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { Routes, RouterModule } from '@angular/router'; import { IonicModule } from '@ionic/angular'; import { ContactDetailsPage } from './contact-details.page'; const routes: Rout...
import chalk from 'chalk'; import commander from 'commander'; import { ActionsInterface } from '../serviceManager'; import { parseDate } from '../utils'; export default (program: commander.Command, actions: ActionsInterface): commander.Command => { program .command('records [routine-id]') .description(`reco...
import * as TypeGraphQL from "type-graphql"; import * as GraphQLScalars from "graphql-scalars"; import { Prisma } from "@prisma/client"; import { DecimalJSScalar } from "../../scalars"; @TypeGraphQL.InputType({ isAbstract: true }) export class NullableBytesFieldUpdateOperationsInput { @TypeGraphQL.Field(_type => G...
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /// <amd-module name="@angular/common/locales/extra/ps" /> declare const _default: never[]; export default _default;
import { Injectable } from '@angular/core'; import { DynamicFormConfigFactory, DynamicFormLayoutEnum, FormConfig } from '@zsport/api'; @Injectable() export abstract class CompetitionFormConfigFactory extends DynamicFormConfigFactory { public createFormConfig(): FormConfig { return { formControl...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="nl" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About ClubCoin</source> <translation>Over ClubCoin</translation> </message> <message> <locati...
/* tslint:disable */ /* eslint-disable */ // This file was automatically generated and should not be edited. import { AccountErrorCode } from "./../../../../types/globalTypes"; // ==================================================== // GraphQL mutation operation: SetPassword // =======================================...
/** * Checks if `test` is string. * * @param {*} test The value to check. * @returns {boolean} Returns `true` if `value` is string, else `false`. * @example * * isString('test'); // => true * isString(new String('test')); // => true * isString(null); // => false */ export default (test): test is string => typ...
export * from './addStreamModal.component';
/// <reference types="svelte" /> import { SvelteComponentTyped } from "svelte"; export interface CloudPakFamilyProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["svg"]> { tabindex?: string; /** * @default "currentColor" */ fill?: string; } export default class CloudPakFamily extends SvelteC...
const c_content_ol_nested_MarginTop: {"name": "--pf-c-content--ol--nested--MarginTop"; "value": "0.5rem"; "var": "var(--pf-c-content--ol--nested--MarginTop)";} export default c_content_ol_nested_MarginTop
import { Component, OnInit, OnDestroy, AfterViewInit, ViewChild, HostBinding } from '@angular/core'; import { FocusService } from '../../services/focus-service'; import { WorkspaceService } from '../../services/workspace-service'; import { ShortcutService } from '../../services/shortcut-service'; import { untilComponen...
import * as React from "react"; import { ValueBox } from "@alethio/ui/lib/layout/content/box/ValueBox"; export interface IContractIssueValueBoxProps { children: string; } export const ContractIssueValueBox: React.StatelessComponent<IContractIssueValueBoxProps> = ({ children }) => ( <ValueBox variant="normalTh...
export type PartOfSpeechTag = "DET" | "COMMON_NOUN" | "PROPER_NOUN" | "VERB";
'use strict'; import { DebugSession } from "vscode-debugadapter"; import { DartDebugSession } from "./debug_impl"; DebugSession.run(DartDebugSession);
import Axes = require('./Axes'); import Figure = require('./Figure'); export = Line; interface LineProps { alpha: number; coordinates: string; data: string; edgecolor: string; edgewidth: number; id: string; xindex: number; yindex: number; zorder: number; // added by Interactive Legend, read by Tooltip isH...
import React, { useState } from "react"; import Dropdown from "react-bootstrap/Dropdown"; import dai from "../../../dist/assets/dai-logo.svg"; import usdc from "../../../dist/assets/usdc-logo.svg"; import usdt from "../../../dist/assets/usdt-logo.svg"; import eth from "../../../dist/assets/eth-logo.svg"; import link fr...
import fs from 'fs-extra'; (async () => { if (process.argv.length < 3) throw new Error('Wrong usage: rm (path)'); await fs.rm(process.argv[2], { recursive: true }); })().catch(() => null);
// import 'core-js/es/array/find' import './app'
import { CallCredentials, Metadata } from "@grpc/grpc-js"; import { CallMetadataOptions } from "@grpc/grpc-js/build/src/call-credentials"; import nock from "nock"; import { StargateTableBasedToken } from "./StargateTableBasedToken"; import { StargateBearerToken } from "./StargateBearerToken"; const MOCK_SERVICE_ENDPOIN...
<TS language="pt" version="2.1"> <context> <name>AddNewAddressDialog</name> <message> <source>Address</source> <translation>Endereço</translation> </message> </context> <context> <name>AddNewContactDialog</name> </context> <context> <name>AddressBookPage</name> <message> ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import {VgBuffering} from './vg-buffering'; @NgModule({ imports: [ CommonModule ], declarations: [ VgBuffering ], exports: [ VgBuffering ] }) export class VgBufferingModule {}
import * as React from 'react'; import { Box, Button, Paper, Typography } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; import SwipeableViews from 'react-swipeable-views'; import AppPage from './AppPage'; import MobileStepper from '@material-ui/core/MobileStepper'; import KeyboardArro...
import { MailerOptions } from '../interfaces/mailer-options.interface'; import { TemplateAdapter } from '../interfaces/template-adapter.interface'; export declare class EjsAdapter implements TemplateAdapter { private precompiledTemplates; compile(mail: any, callback: any, mailerOptions: MailerOptions): void; }
import { Auth0ClientOptions, RedirectLoginOptions, PopupLoginOptions, PopupConfigOptions, GetUserOptions, GetIdTokenClaimsOptions, RedirectLoginResult, GetTokenSilentlyOptions, GetTokenWithPopupOptions, LogoutOptions, CacheLocation } from './global'; /** * Auth0 SDK for Single Page Applications using [Authorization Co...
import { ALL_PLATFORMS, ALL_SERVER_VERSIONS, ALL_TOPOLOGIES, ServerVersions } from './enums'; import Help from './help'; import { BinaryType, bson as BSON } from '@mongosh/service-provider-core'; import { CommonErrors, MongoshInternalError, MongoshInvalidInputError } from '@mongosh/errors'; import { assertArgsDefined, ...
import React from 'react'; import { Link } from 'gatsby'; const Phone = () => { return( <div> <p className="text-center text-4xl text-red-300 my-10">123-456-7890</p> <Link to='/'> <button className="flex justify-center">Return Home</button> </Link> ...
import { t, Trans } from "@lingui/macro"; import { FormControl, Grid, MenuItem, Select, Typography } from "@mui/material"; import { Skeleton } from "@mui/material"; import { useTheme } from "@mui/material/styles"; import useMediaQuery from "@mui/material/useMediaQuery"; import { DataRow, PrimaryButton } from "@olympusd...
/* eslint-disable no-unused-expressions */ // @ts-nocheck import { expect } from 'chai' import { P_TYPE, P_VALUE } from './constants' import { NBTTypes, tagIntArray } from '../src' describe('@lgou2w/mcnbt - tagIntArray', () => { it('basic', () => { const tag = tagIntArray([1]) expect(tag).to.have.proper...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule } from '@angular/common/http'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { Icons...
import { IGatsbyNode, IGatsbyState, ActionsUnion } from "../types" const getNodesOfType = ( node: IGatsbyNode, state: IGatsbyState["nodesByType"] ): Map<string, IGatsbyNode> => { const { type } = node.internal if (!state.has(type)) { state.set(type, new Map()) } const nodeByType = state.get(type) if...
import { ComponentFixture, discardPeriodicTasks, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { Component, DebugElement, ErrorHandler, NgZone, Type, ViewChild, ViewEncapsulation } from '@angular/core'; import { ConsoleService } from './con...
import { AST, AstVisitor, AccessMember, Assignment, Binary, Chain, Conditional, EmptyExpr, If, Pipe, FunctionCall, ImplicitReceiver, Interpolation, KeyedAccess, LiteralArray, LiteralMap, LiteralPrimitive, MethodCall, PrefixNot, SafeAccessMember, SafeMethodCall } from 'angular2/...
import { layoutPaths } from './../theme/theme.constants'; import { BaImageLoaderService } from './../theme/services/baImageLoader/baImageLoader.service'; import { BaThemeSpinner } from './../theme/services/baThemeSpinner/baThemeSpinner.service'; import { BaThemePreloader } from './../theme/services/baThemePreloader/baT...
import commonData from "./common.data"; const response = {"data": {"jobId": "350da405-c1e9-4fa7-8269-d9aefe3b4b9a"}, "status": 200}; let stepFailedWithError = [ "{\"stack\":\"Error: The given date pattern (null) is not supported.: /*:stylesheet/*:template[4] <xsl:for-each select=\\\"/\\\"> <xsl:call-template name=\\...
export * from './BorderWidth' export * from './Color' export * from './Font' export * from './FontSize' export * from './LetterSpacing' export * from './LineHeight' export * from './Radius' export * from './Shadow'
import { Component, OnInit } from '@angular/core'; @Component({ moduleId: module.id, selector: 'app-fixedplugin-cmp', templateUrl: 'fixedplugin.component.html' }) export class FixedPluginComponent implements OnInit { public sidebarColor = 'black'; public sidebarActiveColor = 'info'; public state = true;...
export * from '@styled-icons/material/DiscFull'
import nock from 'nock'; import fletcher from '.'; describe('fletcher - HTTP client', () => { beforeAll(() => { const mocksDir = `${__dirname}/__data__`; nock('https://foo.com') .persist() .get('/simple.html') .replyWithFile(200, `${mocksDir}/simple.html`) .get('/simple.json') ...