text
stringlengths
10
953k
import { BuyOrderWithShippingDetails } from "v2/Apps/__tests__/Fixtures/Order" export const settingOrderShipmentFailure = { commerceSetShipping: { orderOrError: { error: { type: "validation", code: "Not permitted", data: null, }, }, }, } export const settingOrderShipmen...
/* * Copyright (C) 2017-2020 HERE Europe B.V. * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ import * as THREE from "three"; /** * Unit of measurement used to specify a font's size. */ export enum FontUnit { Em, Pixel, Point, Percent } /** * P...
/** * Core commands * Pokemon Showdown - http://pokemonshowdown.com/ * * These are core commands - basic commands required for Pokemon Showdown * to run. A lot of these are sent by the client. * * System commands should not be modified, added, or removed. If you'd * like to modify or add commands, add or edit f...
export function render(data) { return `<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <meta charset="utf-8"> <!-- utf-8 works for most cases --> <meta name="viewport" content="width=device-w...
import {State} from "./state"; import {SizeListener, SizeListenerCallbackParameters} from "./size-listener"; import {VisibilityListener} from "./visibility-listener"; import {Disposable} from "./interfaces/disposable"; export class Animator implements Disposable { private container: HTMLElement; private nextF...
import { Button } from '@mui/material'; import { NavigateOptions, To, useNavigate } from 'react-router-dom'; const LinkButton = (props: { children: string; to: To; navigateOptions?: NavigateOptions; }) => { const navigate = useNavigate(); return ( <Button onClick={() => navigate(props.to, props.na...
import { USER_STATUS } from '~/constants/user_status'; import { EUserActions } from './types'; import type { TUserAction, TUserState } from './types'; export const initialState: TUserState = { _id: '', nickname: '', email: '', confirmed: false, status: USER_STATUS.ACTIVE, thoughts: '', token: '', }; co...
import { Component, Inject, NgModule, PLATFORM_ID, Renderer2, Type, } from '@angular/core'; import { async, ComponentFixture, TestBed, TestModuleMetadata, } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { CmsComponent, CmsConfig, CmsService, ContentSlot...
/*--------------------------------------------------------- * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------*/ import * as vscode from 'vscode'; import fs = require('fs'); import * as path from 'path'; import * as ...
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent { title = 'progressive-hue'; }
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; @Component({ selector: 'darkninja-resolution', templateUrl: './resolution.component.html', styleUrls: ['./resolution.component.css'], changeDetection: ChangeDetectionStrategy.OnPush }) export class ResolutionComponent implements OnInit...
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { TagEntity } from './tag.entity'; @Injectable() export class TagService { constructor(@InjectRepository(TagEntity) private readonly tagRepository: Repository<TagEntity>) {} ...
/* * CloudBeaver - Cloud Database Manager * Copyright (C) 2020-2022 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 { Bootstrap, injectable } from '@cloudbeaver/core-di'; import { VersionUpdateService } from ...
import * as path from "path"; import * as vscode from "vscode"; import { WORKSPACE_ROOT_FILE_NAME, WORKSPACE_ROOT_FOLDER_NAME } from "./constants"; export enum EditorKind { Code, VSCodium, } export default class Resources { readonly editorKind: EditorKind; private _projectsDirectory: string; con...
/* eslint global-require: off, no-console: off */ /** * This module executes inside of electron's main process. You can start * electron renderer process from here and communicate with the other processes * through IPC. * * When running `yarn build` or `yarn build-main`, this file is compiled to * `./app/main.pr...
import * as os from 'os'; import * as path from 'path'; import * as cdk from 'aws-cdk-lib'; import * as fs from 'fs-extra'; import * as reflect from 'jsii-reflect'; import { DeclarativeStack, loadTypeSystem } from '../src'; let _cachedTS: reflect.TypeSystem; async function obtainTypeSystem() { // Load the typesystem...
import 'vue' type EventHandler = (...args: any[]) => void declare module 'vue' { interface ComponentCustomProps { // should be removed after Vue supported component events typing // see: https://github.com/vuejs/vue-next/issues/1553 // https://github.com/vuejs/vue-next/issues/3029 onHide?: Even...
import { StatusCode } from "node-opcua-status-code"; import { ClientSession } from "../client_session"; import { EventStuff } from "./client_alarm"; /** * * @param session * @param eventStuff * @param comment */ export declare function acknowledgeCondition(session: ClientSession, eventStuff: EventStuff, comment: s...
export const environment = { production: true, host: 'https://test-provider.jsql.it', apiKey: 'dawid.senko-angular7@jsql.it', devKey: 'production-dawid.senko-angular7@jsql.it' };
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { CategoriesController } from './categories.controller'; import { CategoriesRepository } from './categories.repository'; import { CategoriesService } from './categories.service'; @Module({ imports: [TypeOrmModule.forFeat...
import React, { useState } from "react" import { observer } from "mobx-react-lite" import { RefreshControl, ScrollView, View, ViewStyle } from "react-native" import styled from "styled-components/native" import { Break, FlexContainer, FlexItem, Header, Screen, Switch, Text } from "../../components" import { useNavigati...
declare namespace JSX { interface Element<P = any> { type: any; props: P; children: Children; ref?: any; } interface ElementAttributesProperty { props: {}; } interface ElementChildrenAttribute { children: {}; } interface IntrinsicElements { div: IntrinsicElement; p: Intr...
import { Mapper } from "../../../shared/infra/Mapper"; import { Comment } from "../domain/comment"; import { UniqueEntityID } from "../../../shared/domain/UniqueEntityID"; import { PostId } from "../domain/postId"; import { MemberId } from "../domain/memberId"; import { CommentId } from "../domain/commentId"; import { ...
const graphData = { cells: [ { position: { x: 420, y: 160, }, size: { width: 80, height: 42, }, attrs: { text: { text: 'Start', }, body: { rx: 24, ry: 24, }, }, shape: 'flow-char...
import { DatePipe } from '@angular/common'; import { NgModule } from '@angular/core'; import { LoggerModule } from '../core/util/logger/logger.module'; import { NzI18nPipe } from './nz-i18n.pipe'; import { NZ_DATE_LOCALE, NZ_I18N } from './nz-i18n.token'; @NgModule({ imports : [ LoggerModule ], declarations:...
import { Component, OnInit } from '@angular/core'; import { HeaderService } from './header.service'; @Component({ selector: 'app-header', templateUrl: './header.component.html', styleUrls: ['./header.component.css'] }) export class HeaderComponent implements OnInit { constructor(private headerService: HeaderS...
import type { Renderable } from '../render'; import { isArray } from './is-array'; import { isValidElement } from '../create-element'; export type CoercedRenderable = Exclude<Renderable, boolean | number | undefined>; export function coerceRenderable(renderable: Renderable | void): CoercedRenderable { if (renderab...
import { renderHook, act } from '@testing-library/react-hooks'; import { useUndoableReducer, excludeActionTypes, } from '../src/useUndoableReducer'; const INCREMENT = 'INCREMENT'; const DECREMENT = 'DECREMENT'; const initialState = { count: 0, }; const testReducer = (state: { count: number }, action: any) => {...
module ex10 { export function f(x:number):number { return x * 2; } }
/* eslint-env mocha */ import assert from 'assert' import lastDayOfMonth from '.' describe('lastDayOfMonth', () => { it('returns the date with the time set to 00:00:00 and the date set to the last day of a month', () => { const date = new Date(2014, 8 /* Sep */, 2, 11, 55, 0) const result = lastDayOfMonth(d...
// We require the Hardhat Runtime Environment explicitly here. This is optional // but useful for running the script in a standalone fashion through `node <script>`. // // When running the script with `hardhat run <script>` you'll find the Hardhat // Runtime Environment's members available in the global scope. import {...
import { UserCreateWithoutSesionsInput } from "../inputs/UserCreateWithoutSesionsInput"; import { UserWhereUniqueInput } from "../inputs/UserWhereUniqueInput"; export declare class UserCreateOrConnectWithoutSesionsInput { where: UserWhereUniqueInput; create: UserCreateWithoutSesionsInput; }
const httpServerConfig = { url: 'http://localhost', port: 8080, } export default httpServerConfig
import { ComponentInterface } from '../../stencil.core'; export declare class App implements ComponentInterface { el: HTMLElement; componentDidLoad(): void; hostData(): { class: { [x: string]: boolean; 'ion-page': boolean; 'force-statusbar-padding': boolean; ...
import { expect, haveResourceLike } from "@aws-cdk/assert"; import codedeploy = require('@aws-cdk/aws-codedeploy'); import codepipeline = require('@aws-cdk/aws-codepipeline'); import cdk = require('@aws-cdk/core'); import { Test } from 'nodeunit'; import cpactions = require('../../lib'); export = { 'CodeDeploy ECS D...
import { CredentialsProviderError } from "@aws-sdk/property-provider"; import { loadSharedConfigFiles, Profile, SharedConfigFiles, SharedConfigInit as BaseSharedConfigInit, } from "@aws-sdk/shared-ini-file-loader"; import { Provider } from "@aws-sdk/types"; const DEFAULT_PROFILE = "default"; export const ENV_P...
import * as React from 'react'; import VirtualMachineSnapshotModel from '@kubevirt-ui/kubevirt-api/console/models/VirtualMachineSnapshotModel'; import { V1alpha1VirtualMachineSnapshot, // V1alpha1VirtualMachineSnapshot, V1VirtualMachine, } from '@kubevirt-ui/kubevirt-api/kubevirt'; import TabModal from '@kubevir...
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
/** *This is YLWL:IoT */ enum HttpMethod { GET, POST, PUT, HEAD, DELETE, PATCH, OPTIONS, CONNECT, TRACE } //% weight=10 color=#0fbc11 icon="\uf213" block="YLWL:IoT" namespace ylwl_IoT { const NEW_LINE: string = '\u000D' + '\u000A' // 初始化 const AT_RST: string = 'AT+...
export namespace Tsoa { export interface Metadata { controllers: Controller[]; referenceTypeMap: ReferenceTypeMap; } export interface Controller { location: string; methods: Method[]; name: string; path: string; } export interface Method { deprecated?: boolean; description?: ...
import tz = require("timezone") import {AbstractSlider, AbstractRangeSliderView} from "./abstract_slider" import * as p from "core/properties" export class DateRangeSliderView extends AbstractRangeSliderView { model: DateRangeSlider } export namespace DateRangeSlider { export type Attrs = p.AttrsOf<Props> exp...
// Type definitions for Node.js 10.3.x // Project: http://nodejs.org/ // Definitions by: Microsoft TypeScript <http://typescriptlang.org> // DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped> // Parambir Singh <https://github.com/parambirs> // Christian ...
import { authInitialState, AuthState } from "@store/authSlice"; import { jotsInitialState, JotsState } from "@store/jotSlice"; import { networkInitialState, NetworkState } from "@store/networkSlice"; import { topicInitialState, TopicState } from "@store/topicSlice"; import { RootState } from ".."; const _appInitialSta...
import React, { FC } from 'react' import FontAwesome5 from 'react-native-vector-icons/FontAwesome5' import styled, { css } from 'styled-components/native' type Props = { icon: string brands?: boolean solid?: boolean title: string action: () => void last?: boolean } export const IconRow: FC<Props> = ({ i...
////////////////////////////////// //Auto-generated. Do NOT modify!// ////////////////////////////////// import { MessageKey, QueryKey, Type, EnumType, registerSymbol } from './Reflection' import * as Entities from './Signum.Entities' export interface ModifiableEntity { Type: string; toStr: string; modified: bo...
import mongoose from "mongoose"; async function connect() { const mongooseDB = await mongoose.connect('mongodb://localhost:27017/test'); console.log(typeof(mongooseDB)); }
import { IAction } from '../actions/helpers'; export enum AgentStatus { Connecting = 0, Connected, Trusted, Configured } export interface IHomeState { status: AgentStatus; } export function home(state: IHomeState = { status: AgentStatus.Connecting }, action: IAction): IHomeState { return state; }
import mongoose from 'mongoose'; import { updateIfCurrentPlugin } from "mongoose-update-if-current"; interface TicketAttrs{ title: string; price: number; userId: string; } interface TicketDoc extends mongoose.Document{ title: string; price: number; userId: string; version : number; ord...
import { LanguageResources } from "./language-resources"; /** * Represents a language manager. */ export class LanguageManager { /** List of registered languages. */ public static registeredLanguages: { [language: string]: LanguageResources } = {}; /** * Registers a list of localized messages for t...
import { sectionName as parentSectionName } from "../sectionName"; export const sectionName = `${parentSectionName}/MyServicesSavedConfigs`;
/* tslint:disable */ /* eslint-disable */ /** * Lob * The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p> Looking for our [previous documentation](https://lob.github.io/legacy-docs/)? * * The version of th...
import { NgModule } from '@angular/core'; import * as ngCommon from '@angular/common'; import { FormsModule } from '@angular/forms'; import { HttpModule, JsonpModule } from '@angular/http'; import { ModalModule, TooltipModule, TabsModule } from 'ngx-bootstrap'; import { FileUploadModule } from 'ng2-file-upload'; import...
import React, { FC } from 'react'; import { Icon, IconInterface } from "@redesign-system/ui-core"; export const PistonIcon: FC<IconInterface> = function PistonIcon({ className, ...propsRest }) { const classNames = `PistonIcon ${className}`; return ( <Icon alt="Piston" classN...
import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { pickHTMLProps } from 'pick-react-known-prop'; import { propsToOptions } from './ConfigUtils'; /* tslint:disable-next-line */ import { TabulatorFull as Tabulator } from 'tabulator-tables'; import { Tabulator as TabulatorTypes } from './type...
import { CodeGenerator } from '@bit/bit.javascript.raw.code-generator'; import { canonizeNpmId, toCanonicalClassName, } from '@bit/bit.javascript.default-generator.canonize'; const codeGenerator = new CodeGenerator(); export const mainFile = 'index.tsx'; export function makeReactNativeTemplate({ npmId }: { npmId: s...
import URLSearchParamsReal from '@ungap/url-search-params' import { AppState, Platform } from 'react-native' import DeviceInfo from 'react-native-device-info' import { eventChannel } from 'redux-saga' import { call, cancelled, delay, put, race, select, spawn, take, takeEvery, takeLatest, } from 'red...
import { JsPackageManager } from './JsPackageManager'; export class NPMProxy extends JsPackageManager { readonly type = 'npm'; initPackageJson() { return this.executeCommand('npm', ['init', '-y']); } getRunStorybookCommand(): string { return 'npm run storybook'; } getRunCommand(command: string):...
/* * @bitkidd/adonis-credentials * * (c) Chirill Ceban <cc@bitkidd.dev> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import execa from 'execa' import fs, { promises as fsp } from 'fs' import { BaseCommand, flags } from '@adonis...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sk" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About MUTUALCOIN</source> <translation>O MUTUALCOINe</translation> </message> <message> <loca...
export interface RangeFilterInterface { eq?: string|number|null; ne?: string|number|null; }
import { getToken } from 'utils/cookies'; import axios from '../../../axios/axios'; export const getAllAreasController = async () => { const config = { headers: { Authorization: `${getToken()}`, }, }; console.log('Token: ', getToken()); try { const res = await axios.get('/admin/restaurant/are...
/* * Copyright (c) 2019, Xiaomi, Inc. All rights reserved. * This source code is licensed under the Apache License Version 2.0, which * can be found in the LICENSE file in the root directory of this source tree. */ import { ConnectState, ConnectProps } from '@/models/connect'; import { Guide, Chart, Geom, Coord, A...
import * as Processor from "./lib/image/index" const { app, BrowserWindow, screen } = require('electron') const { ipcMain } = require('electron') const path = require('path') // const Img const sleep = (delay) => new Promise((resolve) => setTimeout(resolve, delay)) function createWindow ( display, i? ) { var pro...
import React from 'react'; import uniqueId from 'lodash/uniqueId'; import isUndefined from 'lodash/isUndefined'; import assign from 'lodash/assign'; import omit from 'lodash/omit'; import pick from 'lodash/pick'; import { ColProps } from 'antd/lib/col'; import { Row } from 'antd'; import Field, { FieldProps } from './F...
// Game engine let Game = (function () { // initialize the needed object let canvas: HTMLCanvasElement = document.getElementsByTagName("canvas")[0]; let stage: createjs.Stage; let currentSceneState: scenes.State; let currentScene: objects.Scene; let MoveInstruction: scenes.MoveInstruction; let ShootInstr...
import {Route} from "@angular/router"; import {ResetPasswordComponent} from "./reset-password.component"; export const ResetPasswordRoutes: Route[] = [ { path: 'reset-password', component: ResetPasswordComponent } ];
import { RAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RAMClient"; import { ListPermissionsRequest, ListPermissionsResponse } from "../models/models_0"; import { deserializeAws_restJson1ListPermissionsCommand, serializeAws_restJson1ListPermissionsCommand, } from "../protocols/Aws_restJso...
import { autosell, canInteract, cliExecute, equip, myClass, myLevel, myPrimestat, mySpleenUse, print, retrieveItem, runChoice, setAutoAttack, use, useFamiliar, visitUrl, } from "kolmafia"; import { $classes, $effect, $effects, $familiar, $item, $stat, Clan, get, have, M...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Zvrcoin</source> <translation>Informatio de Zvrcoin</translation> ...
import { expect } from '@jest/globals'; import extractDomainFromUrl from '../../src/utils/extractDomainFromUrl'; describe('Given a URL', () => { it('should extract the domain name for https', () => { expect(extractDomainFromUrl('https://force-power-8147.cs115.my.salesforce.com')).toBe( 'force-p...
import { ModuleWithProviders } from "@angular/core"; import { DragDropConfig } from './src/dnd.config'; import { DragDropService, DragDropSortableService } from './src/dnd.service'; export * from './src/abstract.component'; export * from './src/dnd.config'; export * from './src/dnd.service'; export * from './src/dragga...
/** * Copyright 2019 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * @Description: 控制面板 * @Author: tankm * @Since: 2021-01-26 17:03:05 * @LastModifiy: tankm * @LastUpdatedTime: 2021-01-26 17:03:12 */
import { Model } from 'objection'; import { BaseModel } from './base.model'; export class BookModel extends BaseModel { static tableName = 'book'; name: string; static relationMappings = { reviews: { modelClass: `${__dirname}/review.model`, relation: Model.HasManyRelation, join: { ...
declare var wp: any; declare var _: any; import { EpsilonRepeaterUtils } from './repeater-utils'; import { EpsilonRepeaterSectionRow } from './repeater-section-row'; import { EpsilonFieldRepeater } from '../repeater'; import { EpsilonSectionRepeater } from '../section-repeater'; export class EpsilonRepeaterSectionUtil...
import { GridDataTypeBuilder } from './../gridDataTypeBuilder'; import { SectionBuilder } from './sectionBuilder'; export class GridLayoutBuilder { parentBuilder: GridDataTypeBuilder; name; sectionBuilders; constructor(parrentBuilder: GridDataTypeBuilder) { this.parentBuilder = parrentBuilder; this.se...
/*! * @license * Copyright 2016 Alfresco Software, Ltd. * * 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 app...
import Home from '../components/home'; export default Home;
/** * Returns the value for the provided key from local storage interpreted as a * boolean or the provided `defaultValue` if the key doesn't exist. * * @param key local storage entry to find * @param defaultValue fallback value if key not found */ export function getBoolean(key: string): boolean | undefined expor...
function loadUsingBuildConfig(): void { for(let i = 0; i < __mod__.buildConfig.resourceDirs.size(); i++) { Logger.Log(__mod__.buildConfig.resourceDirs.get(i).resourceType, "ссяв"); if(__mod__.buildConfig.resourceDirs.get(i).resourceType == "resource") { Logger.Log(__mod__.dir + __mod__.b...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as Busboy from 'busboy'; import * as express from 'express'; import * as csv from 'csvtojson'; import * as functions from 'firebase-functions'; import * as ajv from 'ajv'; import * as admin from 'firebase-admin'; import nanoid = require('nanoid'); import {constants} from 'http2'; import {CORS} from '../consts/...
import * as React from 'react'; import { Icon, Anchor, } from 'antd'; import { GlobalStyleSet, FixedControlContainer, FixedControlContent, FixedControlList, FixedControlListItem, } from './style'; import { ICommonBaseArticleInfo, } from '../Details.types'; import DetailsControlCollection from './collec...
<TS language="uz@Cyrl" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Манзил ёки ёрлиқни таҳрирлаш учун икки марта босинг</translation> </message> <message> <source>Create a new address</source> ...
/* eslint-disable @typescript-eslint/require-await */ import { act as hookAct, renderHook } from "@testing-library/react-hooks"; import { ConfigurationProvider, EnvironmentProvider } from "app/contexts"; import nock from "nock"; import React from "react"; import { act, env, getDefaultProfileId, syncDelegates, useDefaul...
import { NgModule } from '@angular/core'; import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; const routes: Routes = [ { path: 'home', loadChildren: () => import('./home/home.module').then(m => m.HomePageModule) }, { path: 'historico', loadChildren: () => import('./historic...
/* tslint:disable */ import { CreateAgent, agent, decorateClass, decorateMember, IsAgent } from '../../../lib'; import { AgentChecker } from '../attributes/AgentChecker'; import { RandomInterceptor } from '../attributes/RandomInterceptor'; import { RoundInterceptor } from '../attributes/RoundInterceptor'; import { Meta...
export const c_form_control_m_warning_BackgroundPositionX: { "name": "--pf-c-form-control--m-warning--BackgroundPositionX", "value": "calc(100% - calc(0.5rem - 0.0625rem))", "var": "var(--pf-c-form-control--m-warning--BackgroundPositionX)" }; export default c_form_control_m_warning_BackgroundPositionX;
/* eslint-disable @typescript-eslint/ban-types */ /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-non-null-assertion */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { hooks } from ...
/* Copyright 2020. Huawei Technologies Co., Ltd. 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 https://www.apache.org/licenses/LICENSE-2.0 Unless ...
import DSCMateImageContract from "./src/DSCMateImageContract"; (async () => { for (let i = 0; i < 10000; i += 1) { if (await DSCMateImageContract.image(i) === "") { console.log(`Mate #${i} NOT Uploaded!`); break; } else { console.log(`Mate #${i} Checked.`); ...
import GL from '@luma.gl/constants'; import {isWebGL2} from '@luma.gl/gltools'; export function isRenderbufferFormatSupported(gl: WebGLRenderingContext, format: GL): boolean { const info = RENDERBUFFER_FORMATS[format]; // Unknown format if (!info) { return false; } if (info.ext) { return Boolean(gl.g...
/* IMPORT */ import {describe} from 'ava-spec'; import connectify from '../utils/connectify'; import {mount} from '../utils/enzyme'; import Mocks from '../mocks/connect'; import App from '../mocks/stores/app'; import Counter from '../mocks/stores/counter'; /* SUSPEND */ describe ( 'suspend', it => { it ( 'can sus...
import { validate } from '../constants'; import Formidate from '../index'; describe('Formidate', () => { describe('addCustomType', () => { it('should add a new custom type', () => { Formidate.addCustomType('even', (v) => v % 2 === 0); expect(validate.validators.type.types.even).toBeDefined(); e...
import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, } from "../LexRuntimeServiceClient"; import { GetSessionRequest, GetSessionResponse } from "../models/models_0"; import { deserializeAws_restJson1GetSessionCommand, serializeAws_restJson1GetSessionCommand, } from "../protoc...
// Copyright (c) 2019 Uber Technologies, 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 a...
import { MockContentConfig } from "./MockContent"; import { CONTENT_NAME_CHALLENGE_CHARSETS, CONTENT_NAME_CHALLENGE_ENTITIES, CONTENT_NAME_CHALLENGE_LENGTH, CONTENT_NAME_CHALLENGE_RTL, CONTENT_NAME_CHALLENGE_XSS, PNG_BLUE_10x10, PNG_BLUE_240x135, PNG_GREEN_10x10, PNG_GREEN_240x135, PNG_RED_10x10, ...
import {Observable} from 'rxjs'; import {Injectable} from '@angular/core'; import {ApiService} from './api.service'; import {Report} from '../model/Report'; import {Insurance} from '../model/Insurance'; @Injectable({providedIn: 'root'}) export class InsuranceService { constructor(private apiService: ApiService) {...
/** @type {import('../core.js').Syntax} */ declare function splunkSpl(Prism: any): void declare namespace splunkSpl { const displayName: string const aliases: any[] } export default splunkSpl