text stringlengths 10 953k |
|---|
// @filename: types.ts
declare module "*.foo" {
export interface OhNo { star: string }
}
// @filename: test.ts
declare module "a.foo" {
export interface OhNo { a: string }
}
import { OhNo } from "b.foo"
declare let ohno: OhNo;
ohno.a // oh no |
import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient";
import { DescribeInputRequest, DescribeInputResponse } from "../models/models_1";
import {
deserializeAws_restJson1DescribeInputCommand,
serializeAws_restJson1DescribeInputCommand,
} from "../protocols/Aws_res... |
import { StyleSheet } from 'react-native'
const styles = StyleSheet.create({
container: {
flex: 1,
maxWidth: 512,
padding: 8,
},
fab: {
bottom: 0,
margin: 16,
position: 'absolute',
right: 0,
},
wrap: {
flexWrap: 'wrap',
},
})
export default styles |
import Cancellable from "./Cancellable";
import ProgressListener from "./ProgressListener";
export { Cancellable, ProgressListener }; |
import Chunker from "./chunker";
export default async function* (
input: AsyncIterable<Uint8Array>,
size: number,
// This is default false by assumption that most people will want to keep all data and not just silently throw away a chunk. Even if they require all exact-size chunks, they should still receive all ... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { BeerListComponent } from './beer-list/beer-list.component';
import { HttpClientModule } from '@angular/common/http';
import {MatListModule, MatToolbarModule} fro... |
import { WINDOW_LOC } from "../main.js";
import { UserService } from "../services/user.service.js";
import { state } from "../util/state.js";
import { View } from "./view.js";
export class DashboardComponent implements View {
template = `<h1>Welcome, <span id="welcome-username"></span>`;
constructor(private ... |
export namespace CONFIG{
export let server_update_rate:number = 50;
} |
import {
IOptionObjectProps,
ICreateTypeScriptIndex,
INonNullableOptionObjectProps,
} from '@interfaces/IConfigObjectProps';
import { ICTIXOptions } from '@interfaces/ICTIXOptions';
import { exists } from '@tools/misc';
import debug from 'debug';
import merge from 'deepmerge';
import fastGlob from 'fast-glob';
im... |
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { OrderPage } from '../order/order';
import { TradingPage } from '../trading/trading';
import { PaidVoucherPage } from '../paid-voucher/paid-voucher';
import { TaxInvoicePage } from '../tax-invoice/tax-invoice';
@Component(... |
export function kernelLength(xs: any[]): number {
return xs.length;
}
export function kernelEmptyList<a>(): a[] {
return [];
}
export function kernelSort<a>(xs: a[]): a[] {
const ys = [...xs];
ys.sort();
return ys;
}
export function kernelSortBy<a>(fn: (_0: a, _1: a) => number, xs: a[]): a[] {
... |
import type { Observer } from "@undercut/types";
import { expect, jest, test } from "@jest/globals";
import { asObserverFactory } from "@undercut/utils";
import {
toArray,
toConsumer,
toMap,
toNull,
toObject,
toObserver,
toSet,
toValue,
} from "./pull_targets";
test(`toArray`, () => {
expect(toArray()([]))... |
import { Test, TestingModule } from '@nestjs/testing';
import { CoursesService } from './courses.service';
describe('CoursesService', () => {
let service: CoursesService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [CoursesService],
}).compile()... |
import { Model, DataTypes } from 'sequelize'
import { db } from '../../config/database'
export class User extends Model {
public id!: number;
public username!: string;
public email!: string;
public password!: string;
public is_active!: boolean;
}
User.init(
{
id: {
type: DataTypes.INTE... |
/*
* Copyright (c) 2018 Code Architects
*
* Created by Code Architects <info@codearchitects.com> on 2018-10-20.
*/
export interface IInMemoryFileSystem {
save(): Promise<void>;
} |
import { Injectable } from '@angular/core';
import { LocalizationService } from '@abp/localization/localization.service';
import { AppConsts } from '@shared/AppConsts';
@Injectable()
export class AppLocalizationService extends LocalizationService {
l(key: string, ...args: any[]): string {
return this.ls(A... |
/**
* Copyright 2020 Goldman Sachs
*
* 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... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
import Table from "@material-ui/core/Table";
import { storiesOf } from "@storybook/react";
import * as React from "react";
import TablePagination from "@saleor/components/TablePagination";
import CardDecorator from "../../CardDecorator";
import Decorator from "../../Decorator";
storiesOf("Generics / TablePagination",... |
export { compile, parse, preprocess, walk, VERSION } from './types/compiler/index'; |
import { EventEmitter } from '../../stencil.core';
export declare class CollapseItem {
titles: string;
name: string;
open: boolean;
arrow: string;
el: HTMLElement;
vchange: EventEmitter;
timer: any;
$content: any;
$item: any;
height: number;
openHandle(v: any): void;
comp... |
import { Injectable } from '@angular/core';
import { CommonService } from '../../services/common.services';
@Injectable()
export class LayoutService {
constructor(public service: CommonService) { }
public updateAirPollution(): void {
if (!this.service.airPollutionKeys) {
this.service.getAirPoll... |
import * as React from 'react';
import styles from '@patternfly/react-styles/css/components/Toolbar/toolbar';
import { css } from '@patternfly/react-styles';
import { ToolbarContext } from './ToolbarUtils';
import { ToolbarChipGroupContent } from './ToolbarChipGroupContent';
export interface ToolbarProps extends React... |
//tslint:disable
import { Component, ViewEncapsulation } from '@angular/core';
import { MapsTheme, Maps, Legend, Marker, MapsTooltip, ILoadEventArgs } from '@syncfusion/ej2-angular-maps';
import { default_datasource } from './assets/default-datasource';
import { world_map } from './assets/world-map';
Maps.Inject(Legen... |
import { ObjectType } from 'typeorm';
import Paginator, { Order, Cursor, PagingResult } from './Paginator';
export { Order, Cursor, PagingResult };
export interface PagingQuery {
afterCursor?: string;
beforeCursor?: string;
limit?: number;
order?: Order;
}
export interface PaginationKey<ReturnEntity> {
en... |
import type { ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, Ref } from 'vue';
import { Column } from '../column/column-types';
export const bodyTdProps = {
column: {
type: Object as PropType<Column>,
default: () => ({}),
},
row: {
type: Object,
default: () => ({}),
},
inde... |
import Big from "big.js";
import InventoryItemFields from "../types/InventoryItemFields";
/**
* Calculate the total weight of all the instances of an item
* (weight * quantity)
*
* @param {object} item The item to calculate the weight of
* @returns {number} The calculated weight
*/
export const getItemTotalWeigh... |
/**
* @license
* Copyright (c) 2018 Google Inc. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* Code distributed by Google as part of this project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io... |
import { Context, SNSEvent } from "aws-lambda";
import { SQS } from "aws-sdk";
import { env } from "process";
import {
CallingContext,
createErrorResponse,
FunctionCall,
Wrapper,
FunctionReturn
} from "../wrapper";
import { sendResponseQueueMessage } from "./aws-queue";
import { getExecutionLogUrl }... |
import * as React from 'react';
import { makeStyles } from '@material-ui/core';
import TextField from '@material-ui/core/TextField';
import AdapterDateFns from '@material-ui/lab/AdapterDateFns';
import LocalizaitonProvider from '@material-ui/lab/LocalizationProvider';
import DatePicker from '@material-ui/lab/DatePicker... |
import { IoTAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTAnalyticsClient";
import { GetDatasetContentRequest, GetDatasetContentResponse } from "../models/models_0";
import {
deserializeAws_restJson1GetDatasetContentCommand,
serializeAws_restJson1GetDatasetContentCommand,
} from... |
const Ability = `
type Ability {
effect_changes: [AbilityEffectChange]
effect_entries: [VerboseEffect]
flavor_text_entries: [AbilityFlavorText]
generation: NamedAPIResource
id: Int
is_main_series: Boolean
name: String
names: [Name]
pokemon: [AbilityPokemon]
}
`;
export default A... |
interface Props {
isDrawer: boolean;
children: any;
}
const Drawer = ({ isDrawer, children }: Props) => {
return (
<div
className={` transform transition duration-300 z-50 absolute top-full right-0 overflow-hidden w-3/5 md:hidden ${
isDrawer ? 'translate-x-0' : 'translate-x-full'
}`}
... |
import { gql } from '@apollo/client'
export const GET_PROJECTS = gql`
query Projects{
Projects {
id,
title,
desc,
projectOwner,
state,
price,
repository,
createdOn,
startingOn,
endingOn,
teamSizeReq
}
}
`
expor... |
import Observer from "./observer";
export default interface Observeable {
attach(observer: Observer): void;
detach(observer: Observer): void;
notify(): void;
} |
import { Router } from 'express';
import UsersController from '../Controllers/UsersController';
const usersRouter = Router();
const usersController = new UsersController();
usersRouter.post('/', usersController.create);
export default usersRouter; |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type {Config} from '@elric/types';
import {
BaseWatchPlugin,
Prompt,
UpdateConfigCallback,
Usa... |
import { IsNotEmpty, IsOptional, IsInt, IsString } from 'class-validator';
export class CreateTreeAccountDto {
@IsNotEmpty()
@IsString()
title: string; // english
@IsNotEmpty()
@IsString()
titleArb: string; // Arabic
@IsNotEmpty()
@IsString()
titlePer: string; // Persian
@IsOptional()
@IsString... |
import { MemoryManager } from 'classes/managers/memory.manager';
import { ResourceManager } from 'classes/managers/creep-managers/resource.manager';
import { SpawnManager } from 'classes/managers/spawn.manager';
import { ErrorMapper } from 'utils/ErrorMapper';
import { GameReferences } from 'models/game-references';
im... |
import React, { FC, ReactNode } from 'react'
import styled from 'styled-components'
import Image, { ImageProps } from '~/components/Image'
import Touchable from '~/components/Touchable'
import { IconDotsThree } from '~/components/icons/IconDotsThree'
type BadgeColors = 'blue' | 'red' | 'green' | 'orange'
export inter... |
import { CommonModule } from '@angular/common';
import { PieComponent } from './comunes/pie/pie.component';
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { Comunes... |
import type {Vocabulary} from "../../types"
import refKeyword from "./ref"
import typeKeyword, {JTDTypeError} from "./type"
import enumKeyword, {JTDEnumError} from "./enum"
import elements, {JTDElementsError} from "./elements"
import properties, {JTDPropertiesError} from "./properties"
import optionalProperties from ".... |
import { Controller, Post, Body } from '@nestjs/common';
import { CreateUserDTO } from './dto/create-user.dto';
import { UsersService } from './users.service';
import { User } from './user.entity';
@Controller('users')
export class UsersController {
constructor(private usersService: UsersService) {}
@Post()
asy... |
/**
* Example code on how to generate load files for Vegeta load testing tool.
*/
import VegetaLoadGenerator from './VegetaLoadGenerator';
const uniqueDidCount = 20000;
const endpointUrl = 'http://localhost:3000/';
const outputFolder = `d:/vegeta-localhost-jws`;
void (async () => {
console.info(`Generating load r... |
// #docregion
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent { } |
import { GasPrice, lastSyncedHeightQuery } from '@libs/app-fns';
import {
HiveQueryClient,
LcdQueryClient,
QueryClient,
} from '@libs/query-client';
import { NetworkInfo, useWallet } from '@terra-money/use-wallet';
import React, {
Consumer,
Context,
createContext,
ReactNode,
useContext,
useMemo,
} fro... |
import * as React from 'react';
import { downFile } from '../../static/function';
import { Stack, PrimaryButton, DefaultButton, Panel, StackItem } from '@fluentui/react';
import { DRAWEROPTION } from '../../static/const';
import { EXPERIMENT, TRIALS } from '../../static/datamodel';
import { caclMonacoEditorHeight } fro... |
import BigNumber from "big.js"
import { Horizon, Networks, Operation, Server, Transaction, xdr } from "stellar-sdk"
import { WebauthData } from "@satoshipay/stellar-sep-10"
import {
fetchTransferInfos,
KYCResponseType,
TransferResultType,
TransferStatus,
Withdrawal,
WithdrawalInstructionsSuccess,
Withdraw... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {AppController} from '../../app.controller';
import { UsersComponent } from './users.component';
const routes: Routes = [
{
path: '',
component: UsersComponent,
data: {
title: AppController.tra... |
import React from 'react';
import { Normaltekst, Systemtittel } from 'nav-frontend-typografi';
import Tekstboks from '../Tekstboks/Tekstboks';
import NyFaneIkon from '../ikoner/NyFaneIkon';
import { enhetsregisteretOverordnetenhetLink } from '../../../lenker';
import JuridiskEnhetIkon from '../ikoner/JuridiskEnhetIkon'... |
import {Component} from '@angular/core';
@Component({
selector: 'cmp-90',
template: '<strong>90</strong> ',
})
export class Cmp90Component {
add90(x: number) {
return x + 90;
}
} |
import React, { ReactChild } from 'react';
import { Context, MqsSubscriber } from '../../_lib';
import { IHasAliases } from '../../types';
/**
* Pass the alias object provided as context for later use, along with the subscriber
*/
const subscribe = MqsSubscriber.createSubscribe();
type Props = Partial<IHasAliases> ... |
/**
* FoalTS
* Copyright(c) 2017-2020 Loïc Poullain <loic.poullain@centraliens.net>
* Released under the MIT License.
*/
import 'source-map-support/register';
// std
import * as http from 'http';
// 3p
import { Config, createApp } from '@foal/core';
import { createConnection } from '@foal/typeorm/node_modules/ty... |
import { Entity, Column, PrimaryGeneratedColumn, OneToMany } from 'typeorm';
import { Service } from 'src/services/entities/service.entity';
@Entity()
export class Restaurant {
@PrimaryGeneratedColumn()
id: number;
@Column('varchar', { name: 'name', nullable: true })
name: string;
@OneToMany(() => Service,... |
/* eslint-disable @typescript-eslint/camelcase */
import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { RightCircleOutlined } from '@ant-design/icons';
import { Button, Select, Col, Row } from 'antd';
import { useQuery } from 'react-apollo';
import { TFunction } from 'i18nex... |
export declare class ElMainDirective {
} |
export { default } from './SoundManager' |
import { fromJavaScriptMethod } from '../runtime';
import { $Any } from './any';
import { $Callable, $Function } from './function';
import { $Null } from './null';
import { $Number } from './number';
import { DataType } from './type.enum';
import { Interpreter } from '../interpreter';
import { $List } from './list';
e... |
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { CreateCommunityPage } from './create-community';
import { TranslateModule } from '@ngx-translate/core';
@NgModule({
declarations: [
CreateCommunityPage,
],
imports: [
IonicPageModule.forChild(CreateCommuni... |
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { HttpClient, HttpParams } from '@angular/common/http';
import { environment } from '../../environments/environment';
@Injectable({
providedIn: 'root'
})
export class ProductService {
private readonly url = 'product';
construc... |
import { Module } from '@nestjs/common';
import { HashService } from './hash.service';
@Module({
providers: [HashService],
exports: [HashService]
})
export class HashModule {} |
import { AngularComponentOutput } from '../models/angularComponentOutput.interface';
import { ApplicationRef, ComponentFactoryResolver, EmbeddedViewRef, Injectable, Injector } from '@angular/core';
@Injectable()
export class AngularUtilService {
constructor(
private compFactoryResolver: ComponentFactoryResolver,... |
import { Injectable } from '@angular/core';
import { IdleService } from '../idle.service';
import { TaskService } from '../../tasks/task.service';
import { GlobalConfigService } from '../../config/global-config.service';
import { combineLatest, EMPTY, merge, Observable, of, Subject } from 'rxjs';
import {
distinctUnt... |
import React, { FunctionComponent } from 'react';
import { Image } from 'react-native';
import { AvatarProps, BaseAvatar } from './Avatar.shared';
const IOSDiameters = {
xs: 45,
sm: 70,
md: 100
};
/** Avatar */
export const Avatar: FunctionComponent<AvatarProps> = ({ ...props }) => {
const diameter = IOSDiameters[... |
export const addedNewProduct = () =>
`
<h1>Witaj!</h1>
<h2>Dziekujemy za skorzystanie z naszego serwisu!</h2>
<p>Twoj produkt zostal dodany poprawnie.</p>
<p>Pozdrawiam i zyczymy milego dnia</p>
`; |
import { ReactNode } from 'react';
import { AppConfig } from '../utils/AppConfig';
type IMainProps = {
meta: ReactNode;
children: ReactNode;
};
const Main = (props: IMainProps) => (
<div className="antialiased w-full text-gray-700 bg-gray-50">
{props.meta}
<div className="max-w-screen-lg mx-auto">
... |
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... |
import {
ChangeDetectionStrategy,
Component,
ElementRef,
Input,
OnInit,
ViewEncapsulation
} from '@angular/core';
export type HeaderSizes = 1 | 2 | 3 | 4 | 5 | 6;
@Component({
// tslint:disable-next-line
selector: 'h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h... |
import React, { FC } from 'react';
import styled from 'styled-components';
export interface CellContainerProps {
maxWidth?: string;
maxHeight?: string;
}
const StyledCellContainer = styled.div<CellContainerProps>`
margin: 0;
padding: 0;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
m... |
import {CanvasWhiteboardShapeOptions} from "./canvas-whiteboard-shape-options";
import {CanvasWhiteboardPoint} from "../canvas-whiteboard-point";
import {CanvasWhiteboardUpdate} from "../canvas-whiteboard-update.model";
export abstract class CanvasWhiteboardShape {
isVisible: boolean;
protected positionPoint: ... |
import { RouterConfig } from '@angular/router';
import { Home } from './home';
import { ComicsList } from './comics-list';
import { ComicsDetail } from './comics-detail';
export const routes: RouterConfig = [
{ path: '', component: Home },
{ path: 'comics', component: ComicsList },
{ path: 'comics/:id', c... |
import * as path from 'path';
import { Container } from '@artus/injection';
import { ArtusInjectEnum, DEFAULT_LOADER, HOOK_FILE_LOADER, LOADER_NAME_META } from '../constant';
import { Manifest, ManifestItem, LoaderConstructor, Loader, LoaderHookUnit, LoaderFindOptions, LoaderFindResult } from './types';
import Configur... |
import React from 'react';
import { BrowserRouter, Route, Switch, RouteComponentProps } from "react-router-dom";
import routes from './config/routes';
/* Core CSS required for Ionic components to work properly */
import '@ionic/react/css/core.css';
/* Basic CSS for apps built with Ionic */
import '@ionic/react/css/nor... |
import BigNumber from '../../../../../../dependencies/src/bignumber.js-9.0.0/bignumber'
import { changeEndianness, stripHexPrefix, toHexStringRaw } from '../../../../../../utils/hex'
import { padStart } from '../../../../../../utils/padStart'
import { SCALEDecodeResult } from '../SCALEDecoder'
import { SCALEInt } from... |
export default interface IRegisterUserDTO {
name: string;
email: string;
password: string;
} |
/*
* 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 const environment = {
production: true,
restBaseUrl: '/borest'
}; |
import csvEscape from './csvEscape';
import Options from './Options';
import Page from './Page';
type ValueToPlain<T> = (item: T) => null | number | string;
export default async function generateContent<T> (
options: Options<T>,
onContent: (index: number, line: string) => unknown
): Promise< void > {
const... |
export * from "./bulk-writeable";
export * from "./deserializeable";
export * from "./disposable";
export * from "./executeable";
export * from "./observable";
export * from "./readable";
export * from "./serializeable";
export * from "./writeable"; |
/// <reference path="fourslash.ts" />
////let/**/ x: string
// Verifies that the selection goes to 'let' first even though it’s behind the caret
verify.baselineSmartSelection(); |
import { forwardRef, Icon, IconProps } from '@queelag/react-core'
import React, { ForwardedRef } from 'react'
/**
* Usage:
*
* ```typescript
* import { IconDownloadCloud } from '@queelag/react-feather-icons'
*
* function App() {
* return <IconDownloadCloud />
* }
* ```
*
* @category Component
*/
export c... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { h, Fragment } from 'preact';
import Tabular from '../tabular';
import { BaseComponent, BaseProps } from './base';
import { classJoin, className } from '../util/className';
import { Status, TCell } from '../types';
import { Table } from './table/table';
import { HeaderContainer } from './headerContainer';
impo... |
/**
* Base module for all API modules
*
* @since 1.0.0
*/
import commsUtils from '../utils/comms';
const PROTOCOL_NAME = 'purecloud-client-apps';
interface ProtocolDetails {
name: string;
agentName: string;
agentVersion: string;
}
export interface SDKMessagePayload {
action: string;
hook?: st... |
import { AppointmentCreatedHandler } from './appointment-created.handler';
export const EventHandlers = [AppointmentCreatedHandler]; |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-registrar-profesional',
templateUrl: './registrar-profesional.component.html',
styleUrls: ['./registrar-profesional.component.css']
})
export class RegistrarProfesionalComponent implements OnInit {
constructor() { }
ngOnInit() {... |
import { Fix } from '../../Fix'
/**
* Adds the new config properties to configured carvers
*/
export const Carver = Fix.all(
Fix.onFile('worldgen/configured_carver', ({ data }) => fixCarver(data)),
Fix.onFile('worldgen/biome', ({ data }) => {
if (typeof data.carvers === 'object') {
data.carvers.air?.forEach(f... |
// This code file is part of MyDogsBot and is Copyright (c) MyDogsEd 2021.
// See the LICENSE file in the project root for full license text.
// <https://github.com/MyDogsEd/MyDogsBot> <mydogsbot@mydogsed.dev>
import * as cmd from "./cmds/index";
import * as Discord from "discord.js";
/**
* Lists all commands in a ... |
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Fulfillment Inbound
* The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
*
* The version of the OpenAPI document: v0
*
*
* NOT... |
import { NgModule, Type } from '@angular/core';
import { SharedModule } from '@shared';
import { WidgetsRoutingModule } from './widgets-routing.module';
import { WidgetsComponent } from './widgets/widgets.component';
const COMPONENTS: Type<void>[] = [WidgetsComponent];
@NgModule({
imports: [SharedModule, WidgetsR... |
export * from './utils';
export * from './models';
export * from './data-options';
export * from './topicNameValidation'; |
export class UrlBuilder {
getBlock(blockNumber: number) {
return `/block/${blockNumber}`;
}
getTx(txHash: string) {
return `/tx/0x${txHash.replace(/^0x/, "")}`;
}
getCm(txHash: string, txValidationIndex: number) {
return `/tx/0x${txHash.replace(/^0x/, "")}/cm/${txValidation... |
export default function simpleLib(): string {
return 'hello world';
} |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_CL" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Geocoin</source>
<translation>Sobre Geocoin</translation>
</m... |
import {ConfigHelper} from "./ConfigHelper";
import {LocaleHelper} from "./LocaleHelper";
import {parsePageData} from "./DataHelper";
export class PageHelper {
protected data: []
protected pageLocale: any
protected configHelper = new ConfigHelper()
protected localeHelper = new LocaleHelper()
protec... |
import { HttpClient } from '@angular/common/http';
import { File } from '@ionic-native/file/ngx';
import { ImageLoaderConfig } from './image-loader-config';
import { Platform } from "@ionic/angular";
export declare class ImageLoader {
private config;
private file;
private http;
private platform;
/**... |
import React, { useMemo } from 'react'
import { css, DefaultTheme, ThemeProvider as StyledComponentsThemeProvider } from 'styled-components/macro'
import { Colors } from './styled'
export const MEDIA_WIDTHS = {
upToExtraSmall: 500,
upToSmall: 720,
upToMedium: 960,
upToLarge: 1280,
}
const mediaWidthTemplates:... |
import 'jest-extended'; // require for type definitions
import { createTempDirSync } from 'jest-fixtures';
import fse from 'fs-extra';
import path from 'path';
import {
OperationLoader,
newTestExecutionConfig,
TestContext,
WorkerContext
} from '../src';
describe('OperationLoader', () => {
const ass... |
/** Get the instance type of a **`class`** from a class object
* @param C **`typeof`** **`class`**
* @returns **`class`**
* @example
* ```ts
* import {C} from 'ts-toolbelt'
*
* /// `create` takes an instance constructor and creates an instance of it
* declare function create<C extends (new (...args: any[]) => a... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About xscoin</source>
<translation>About xscoin</transla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.