text stringlengths 10 953k |
|---|
import invariant from 'assert';
import { isInteger, getByteLength, BufferEncoding } from './helpers';
function getClassNamespace(item: any, scope: Record<string, any>) {
return (
Object.keys(scope).find((key) => item instanceof scope[key]) ||
item.__PHP_Incomplete_Class_Name ||
item.constru... |
// Type definitions for lodash.invertBy 4.7
// Project: https://lodash.com
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version... |
/**
* Copyright (c) CloudIO, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
export * from './core/StateXTypes';
export * from './core/StateXHooks';
export * from './core/StateXUIHooks';
export * from './c... |
import { Injectable } from '@angular/core';
import { Http, RequestOptions } from '@angular/http';
import { ChapterData } from '../models/chapter-data';
import { PhotoData } from '../models/photo-data';
import { RunningData } from '../models/running-data';
import 'rxjs/add/operator/map';
/*
Generated class for the Da... |
import { ModelClass } from '@src/model';
import { Schema } from '@src/schema';
import { HasOneProperty } from '@src/schema/HasOneProperty';
import { log as parentLog, property } from './';
const log = parentLog.child('hasOne');
export interface HasOneOptions {
inverse?: string;
}
/** Accepts/returns a model (or mo... |
// this class is generated, please do not modify
export class LocationSummary {
constructor(readonly factCount: number,
readonly nodeCount: number,
readonly routeCount: number,
readonly changeCount: number) {
}
public static fromJSON(jsonObject: any): LocationSummary {... |
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { FormsModule } from '@angular/forms';
import { FormlyModule } from '@ngx-formly/core';
import { FormlySe... |
/*
* Copyright (C) 2017/2021 e-voyageurs technologies
*
* 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... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About MultCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line=... |
/// <reference types="react" />
export declare const ScatterChart: {
new (props: import("./generateCategoricalChart").CategoricalChartProps): {
uniqueChartId: any;
clipPathId: any;
legendInstance: any;
container?: any;
componentDidMount(): void;
componentDidUpdate(pre... |
import {
handleNoResult,
MachineTranslatePayload,
MachineTranslateResult,
SearchFunction,
GetSrcPageFunction,
DictSearchResult
} from '../helpers'
import {
isContainChinese,
isContainJapanese,
isContainKorean
} from '@/_helpers/lang-check'
import { storage } from '@/_helpers/browser-api'
import md5 fr... |
import React from 'react';
import { NumberInput, useMantineTheme } from '@mantine/core';
import CodeDemo from '../../../../components/CodeDemo/CodeDemo';
const code = `import React from 'react';
import { NumberInput } from '@mantine/core';
function Demo() {
return (
<>
<NumberInput
label="With con... |
import { BaseUuidEntity } from "./sys$BaseUuidEntity";
import { User } from "./sec$User";
import { EntityLogAttr } from "./sec$EntityLogAttr";
export class EntityLogItem extends BaseUuidEntity {
static NAME = "sec$EntityLog";
createTs?: any | null;
createdBy?: string | null;
eventTs?: any | null;
us... |
import { observable, computed, action } from 'mobx';
import { createModelSchema, primitive, reference, list, object, identifier, serialize, deserialize, getDefaultModelSchema, serializable, alias } from 'serializr';
import { TodoModel } from 'app/models';
export class TodoStore {
constructor() {
this.todos = [];... |
import { Global, Module } from '@nestjs/common';
import { databaseProvider } from './database.provider';
import { productRepository } from './repositories/product.repository';
@Global()
@Module({
exports:[ databaseProvider, productRepository],
providers: [ databaseProvider, productRepository]
})
export class Data... |
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import { AppThunk } from './store';
interface ModalState {
show: boolean;
mode: string;
text: string;
}
const initialState: ModalState = {
show: false,
mode: '',
text: '',
};
export const modalSlice = createSlice({
name: 'moda... |
// smithy-typescript generated code
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,
HandlerEx... |
/**
* Ilyde Apis
* OpenApi interface which exposes Ilyde resources to frontends
*
* OpenAPI spec version: 0.2.0
* Contact: alessiofiorentino@hopenly.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class man... |
import { isHexColor, showErrorMessage } from "./helpers";
export { isHexColor, showErrorMessage }; |
import {Mapper} from '../../lib/Mapper';
import {MapperSpecConfig} from '../MapperSpec';
import Contact from '../Helper/Contact';
import ContactMapper from '../Helper/ContactMapper';
import PersonMapper from '../Helper/PersonMapper';
import personMapperSpecConfig from './personMapperSpecConfig';
import Pointer from '..... |
export const sampleProducts = [
{
"ProductID": 1,
"ProductName": "Chai",
"SupplierID": 1,
"CategoryID": 1,
"QuantityPerUnit": "10 boxes x 20 bags",
"UnitPrice": 18,
"UnitsInStock": 39,
"UnitsOnOrder": 0,
"ReorderLevel": 10,
"Discontinued": false,
"Cate... |
import { _OptionGroup } from "./_OptionGroup";
import { Structure as _Structure_ } from "@aws-sdk/types";
export const ModifyOptionGroupOutput: _Structure_ = {
type: "structure",
required: [],
members: {
OptionGroup: {
shape: _OptionGroup
}
}
}; |
// Copyright 2017-2020 @polkadot/app-123code authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
//import { BareProps } from '@polkadot/react-components/types';
//import React, { useState } from 'react';
//import style... |
const ArrowLeft = ({ ...props }) => {
return (
<svg
width="74"
height="71"
viewBox="0 0 74 71"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M16.0827 35.5H58.7588"
stroke="currentColor"
... |
import * as React from 'react';
import { StyledIconProps } from '../../StyledIconBase';
export declare const LogoGithubDimensions: {
height: number;
width: number;
}; |
/*
* Copyright 2019 Google LLC. 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
import React from "react";
import { createMaterialBottomTabNavigator } from "@react-navigation/material-bottom-tabs";
import { MaterialIcons as Icon } from "@expo/vector-icons";
import Home from "../../pages/Home";
import { StyleSheet } from "react-native";
const { Navigator, Screen } = createMaterialBottomTabNavigat... |
import React from 'react'
import '@testing-library/jest-dom/extend-expect'
import { render, fireEvent } from '@testing-library/react'
import ProductUserCountForm from '../components/ProductUserCountForm'
import { Product, ProductUserCount } from '../types/objects'
import { PRODUCT_USER_COUNT_REQUEST_TYPE, productUserCo... |
/* tslint:disable:no-unused-variable */
import { TestBed, async, ComponentFixture } from '@angular/core/testing';
import { AppComponent } from './app.component';
import { AboutComponent } from "./about/about.component";
import { ClarityModule } from "@clr/angular";
import { ROUTING } from "./app.routing";
import { APP... |
import { Projects } from "./types";
/** Shared project instances. */
export const projects: Projects = {}; |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
import Page = require('../../../../base/Page');
import Response = require('../../../../http/response');
import V1 = require('../../V1');
import serialize = require('../../../../base/serialize');
import {... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome... |
import {BadRequestException, Injectable, NotFoundException} from "@nestjs/common";
import {InjectRepository} from "@nestjs/typeorm";
import {Repository} from "typeorm";
import {Class} from "./entities/class.entity";
import {PaginationQueryDto} from "../common/dto/pagination-query.dto";
import {CreateClassDto} from "./d... |
import AppError from '@shared/errors/AppError';
import FakeCacheProvider from '@shared/container/providers/CacheProvider/fakes/FakeCacheProvider';
import FakeHashProvider from '../providers/HashProvider/fakes/FakeHashProvider';
import FakeUsersRepository from '../repositories/fakes/FakeUsersRepository';
import Authe... |
import Downshift, { DownshiftState, StateChangeOptions } from 'downshift';
import * as React from 'react';
import ActionsPanel from 'src/components/ActionsPanel';
import AddNewLink from 'src/components/AddNewLink';
import Button from 'src/components/Button';
import Chip from 'src/components/core/Chip';
import Divider f... |
/**
* Error thrown when an unknown property is found during template evaluation.
*/
export class UnknownPropertyError extends Error {
/**
* The name of the unknown property.
*/
readonly propertyName: string
constructor(propertyName: string) {
super(`Unknown property: ${propertyName}`)
this.prope... |
import {Component} from '@angular/core';
import {changeDetection} from '@demo/emulate/change-detection';
import {encapsulation} from '@demo/emulate/encapsulation';
@Component({
selector: 'tui-dropdown-context-example-1',
templateUrl: './index.html',
styleUrls: ['./index.less'],
changeDetection,
enc... |
import { Module } from '@nestjs/common';
import { PostsService } from './posts.service';
import { PostsResolver } from './posts.resolver';
import {PrismaService} from "../prisma/prisma.service";
@Module({
providers: [PostsResolver, PostsService, PrismaService]
})
export class PostsModule {} |
/**
* Mappings from AssemblyScript types to WebAssembly types.
* @module types
*//***/
import {
Class,
FunctionTarget,
Program,
DecoratorFlags
} from "./program";
import {
NativeType,
ExpressionRef,
Module
} from "./module";
/** Indicates the kind of a type. */
export const enum TypeKind {
// sig... |
import {IToken} from "chevrotain";
import {ICSTLeaf} from "../../_types/CST/ICSTLeaf";
/**
* Creates a concrete syntax leaf
* @param token The token to create a leaf for
* @returns The leaf to be created
*/
export function createCSTLeaf(token: IToken): ICSTLeaf {
return {
type: token.tokenType,
... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { BtnVolverComponent } from './btn-volver.component';
describe('BtnVolverComponent', () => {
let component: BtnVolverComponent;
let fixture: ComponentFixture<BtnVolverComponent>;
beforeEach(async(() => {
TestBed.configureTesti... |
export {};
//# sourceMappingURL=choice_token.stories.d.ts.map |
import { yupResolver } from "@hookform/resolvers";
import MuiAlert from "@material-ui/lab/Alert";
import Skeleton from "@material-ui/lab/Skeleton";
import { useLoadScript } from "@react-google-maps/api";
import React, { useCallback } from "react";
import { FormProvider, useForm } from "react-hook-form";
import { useTra... |
export { Component as CryptoAddress } from './component'; |
/* tslint:disable:no-unused-variable */
import { ComponentFixture, TestBed, inject, waitForAsync, fakeAsync, tick } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
... |
import Link from 'next/link'
import Head from 'next/head'
import ExtLink from './ext-link'
import { useRouter } from 'next/router'
import styles from '../styles/header.module.css'
const navItems: { label: string; page?: string; link?: string }[] = [
{ label: 'Home', page: '/' },
{ label: 'Blog', page: '/blog' },
... |
import { ObjectType, Field, ID } from '@nestjs/graphql';
@ObjectType('Student')
export class StudentType {
@Field((type) => ID)
id: string;
@Field()
firstName: string;
@Field()
lastName: string;
} |
import { ListStepsInput } from "../shapes/ListStepsInput";
import { ListStepsOutput } from "../shapes/ListStepsOutput";
import { InternalServerException } from "../shapes/InternalServerException";
import { InvalidRequestException } from "../shapes/InvalidRequestException";
import { OperationModel as _Operation_ } from ... |
/* GENERATED FILE */
import * as React from 'react';
import Svg, { Rect, Path } from 'react-native-svg';
import { IconProps } from '../lib';
function Folder(props: IconProps) {
return (
<Svg
id="Raw"
viewBox="0 0 256 256"
width={props.size}
height={props.size}
{...props}
>
... |
/**
* @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 { TestBed, inject } from '@angular/core/testing';
import { Service793Service } from './service-793.service';... |
import { User } from '../../api/models/User';
export const getReleaseNotesUrl = (version: string): string => {
return `https://github.com/globaldothealth/list/releases/tag/${version}`;
};
// Send custom event to Google Tag Manager
interface IVariable {
[key: string]: string | boolean | number | undefined;
}
... |
import { DropdownProps } from '../dropdown/interface';
import { SizeType } from '../config-provider/SizeContext';
export type Value = string | number;
export type KeyMapping = {
label?: string;
value?: string;
};
export type NodeData = {
label?: string;
value?: Value;
disabled?: boolean;
children?: NodeDa... |
import { IsString, MinLength } from 'class-validator';
export class ResetPasswordDto {
@IsString()
@MinLength(5, {
message: 'Invalid password length',
})
readonly password: string;
} |
import { PatientModel } from "../../Patient/models";
import { RightArrowIcon } from "../Icons/ArrowIcon";
export interface ITeleICUPatientVitalsCardProps {
patient: PatientModel;
}
export default function TeleICUPatientVitalsCard({
patient,
}: ITeleICUPatientVitalsCardProps) {
return (
<div className="lg:w-... |
import fs from 'fs'
import { join } from 'path'
import { promisify } from 'util'
const readdir = promisify(fs.readdir)
const stat = promisify(fs.stat)
const rmdir = promisify(fs.rmdir)
const unlink = promisify(fs.unlink)
const sleep = promisify(setTimeout)
const unlinkFile = async (p: string, t = 1): Promise<void> =>... |
/** An error subclass which is thrown when there are too many pending push or next operations on a single repeater. */
export declare class RepeaterOverflowError extends Error {
constructor(message: string);
}
/*** BUFFERS ***/
/** A special queue interface which allow multiple values to be pushed onto a repeater w... |
import {moduleMetadata, storiesOf} from '@storybook/angular';
import {withKnobs} from '@storybook/addon-knobs';
import {SurveyQuestionModule} from './survey-question.module';
import {createSurveyQuestion} from './survey-question.utils';
import {QuestionType} from './survey-question.types';
import {QuestionVariant} from... |
export const CreditCard = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="feather feather-credit-card">
<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="1" y1="10" x2="23" y2="10"></line>
</svg>` |
import * as React from 'react';
import { GlobalState } from 'ducks/rootReducer';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { Issue } from 'interfaces';
import { getIssues } from 'ducks/issue/reducer';
import { logClick } from 'ducks/utilMethods';
import { GetIssuesReques... |
import { Feather } from '@expo/vector-icons';
import React from 'react';
import {
StyleSheet,
Text,
View,
Animated
} from 'react-native'
import { RectButton, RectButtonProps } from 'react-native-gesture-handler';
import Swipeable from 'react-native-gesture-handler/Swipeable';
import { SvgFromUri } from... |
import QueryBuilder from './query_builder';
import moment from 'moment';
describe('QueryBuilder', () => {
let builder: QueryBuilder;
beforeEach(function() {
builder = new QueryBuilder(
'query=Tablename | where $__timeFilter(Timestamp)',
{
interval: '5m',
range: {
from: mo... |
import {
tabify,
codify,
snippetToCode,
removeNewline,
filterPropType,
} from './utils';
import { MUST_INCLUDE_PROP_TYPES } from './parentProps';
import { ComponentDoc, Props } from 'react-docgen-typescript';
import orderBy from 'lodash/orderBy';
import prettier from 'prettier';
import dedent from 'dedent';
i... |
import React from 'react';
import { Icon, IconProps } from '@chakra-ui/icon';
export const AccessibilityOutlineIcon = (props: IconProps) => (
<Icon
viewBox="0 0 512 512"
fill="currentcolor"
stroke="currentcolor"
{...props}
>
<circle
fill="none"
stroke="currentColor"
strokeLine... |
import { createApp, close, createHttpRequest } from '@midwayjs/mock';
import { Framework } from '@midwayjs/web';
import * as assert from 'assert';
describe('test/controller/home.test.ts', () => {
it('should POST /api/get_user', async () => {
// create app
const app = await createApp<Framework>();
// ma... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eu_ES" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About D8coin</source>
<translation>D8coin-i buruz</translation>
</m... |
import { Column, Entity, Index, PrimaryGeneratedColumn } from "typeorm";
@Index("order_id_uindex", ["id"], { unique: true })
@Entity("order", { schema: "yunlu" })
export class Order {
@PrimaryGeneratedColumn({ type: "int", name: "id" })
id: number;
@Column("varchar", {
name: "place_order_time",
nullable... |
import { TestBed } from '@angular/core/testing';
import { TeacherServiceService } from './teacher-service.service';
describe('TeacherServiceService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
const service: TeacherServiceService = TestBed.get(TeacherService... |
import { Avatar, Button, chakra, Divider, HStack, Input, Skeleton, Stack, Tag, Text } from "@chakra-ui/react"
import Label from "@components/shared/label"
import OutwardLink from "@components/shared/outwardLink"
import { useProjectTitle, useProjectDescription, useProjectAuthor } from "@core/hooks/useProjectMetadata"
im... |
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root',
})
export class TokenStorageService {
constructor() { }
/**
* initializeCredentials
* set the credentials local strorage
* @param credentials string
*/
public initializeCredentials(credentials) {
localStorage.setIte... |
import {bootstrap} from 'angular2/platform/browser'
import {AppComponent} from './app.component'
import {enableProdMode} from 'angular2/core';
enableProdMode();
bootstrap(AppComponent); |
import * as React from 'react';
function SvgTrainIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M8.5 17C9.32843 17 10 16.3284 10 15.5C10 14.6716 9.32843 14 8.5 14C7.67157 14 ... |
type NameToTypeMap = {
readonly bool: boolean;
readonly number: number;
readonly string: string;
};
type RemoveSymbolFromEnd<
TUrl,
TSymbol extends string
> = TUrl extends `${infer S}${TSymbol}` ? S : TUrl;
type RemoveTailFromUrl<TUrl> = RemoveSymbolFromEnd<
RemoveSymbolFromEnd<TUrl, '?'>,
'/'
>;
type N... |
import { AppModule as SimpleAppModule } from './app.module';
import { AppComponent as SimpleAppComponent } from './app.component';
const SimpleExampleConfig = {
title: 'Simple',
component: SimpleAppComponent,
debug: false,
files: [
{ file: 'app.component.html', content: require('!!prismjs-loader?lang=html!... |
import { IPrismComponents } from '@stoplight/prism-core';
import { IHttpOperation } from '@stoplight/types';
import fetch from 'node-fetch';
import { pipe } from 'fp-ts/lib/pipeable';
import * as E from 'fp-ts/lib/Either';
import * as TE from 'fp-ts/lib/TaskEither';
import * as RTE from 'fp-ts/lib/ReaderTaskEither';
im... |
import React, {useState} from "react";
import { RouteProp } from '@react-navigation/core';
import { FrameNavigationProp } from "react-nativescript-navigation";
import { MainStackParamList } from "./NavigationParamList";
import { StyleSheet } from "react-nativescript";
type SecondaryScreenProps = {
route: RouteProp... |
'use strict'
import { Str } from './str'
export interface StrContract {
/**
* Creates a new providing chainable string operations. This new
* instance clones the original string and works with the clone.
* It won’t modify the original string value.
*
* @param value - `value` is the value being wrapp... |
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { first } from 'rxjs/operators';
import * as Octokit from '@octokit/rest';
@Injectable({
providedIn: 'root'
})
export class GitHubService {
lastParamas: object;
lastToken: string;
token: string;
issues = [];
constructor(... |
import gherkin from 'gherkin'
import { messages } from 'cucumber-messages'
import { CucumberStream, makeDummyStepDefinitions } from 'fake-cucumber'
import { Readable, Writable } from 'stream'
import assert from 'assert'
import CucumberQuery from '../src/CucumberQuery'
describe('CucumberQuery', () => {
describe('#get... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import {Box, Button, Typography} from "@material-ui/core";
import CloudDownload from "@material-ui/icons/CloudDownload";
import Code from "@material-ui/icons/Code";
import {FC} from "react";
import Textfit from "react-textfit";
import {useBodySize} from "../../../hooks/useBodySize";
import {Link, PlainLink} from "../..... |
//repository are class decorated with @EntityRepository which extends Repostiory from typeorm and gives the type of the entity the repository tends to
import { EntityRepository, Repository } from 'typeorm';
import { Auth } from '../entities/auth.entity';
import * as bcrypt from 'bcrypt';
import { AuthDto } from './dto... |
import {expectType} from 'tsd';
import prettyBytes = require('.');
const options: prettyBytes.Options = {};
expectType<string>(prettyBytes(1337));
expectType<string>(prettyBytes(42, {signed: true}));
expectType<string>(prettyBytes(1337, {locale: 'de'}));
expectType<string>(prettyBytes(1337, {locale: true}));
expectTy... |
/* eslint-disable sort-keys */
import { setToSetSimple } from './setUtil'
import { cardIsLegal, fetchRemoteFile, smartGlob } from './util'
import { Set, SupportedLanguages, Card, Types } from 'db/interfaces'
import { Card as CardSingle, CardResume } from '@tcgdex/sdk/dist/types/interfaces'
import translate from './tran... |
import { wombats } from "@data";
const Hero = () => (
<>
<section className="py-16 px-6 md:px-0 min-h-screen border-b border-tundora">
<div className="container mx-auto">
<div className="flex flex-wrap justify-center text-center items-center">
<div className="w-full w-full lg:w-8/12 justi... |
import { ecCurve, IPrivateKeyFormat, SECP256k1NStore } from "@tkey/common-types";
import BN from "bn.js";
class SECP256K1Format implements IPrivateKeyFormat {
privateKeys: BN[];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
ecParams: any;
privateKeyType: string;
constructor(privateKeys: B... |
import { VtlBoolean } from "../vtl/VtlBoolean";
import { VtlExpression } from "../vtl/VtlExpression";
import { VtlMap } from "../vtl/VtlMap";
import { VtlString } from "../vtl/VtlString";
import { VtlVoid } from "../vtl/VtlVoid";
import { AppSyncVtlUtilityDynamoDB } from "./AppSyncVtlUtilityDynamoDB";
export class App... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const faBoxingGlove: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligat... |
/*
Copyright 2022 The Dapr Authors
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, software
d... |
import { LanguageCode } from '@vendure/common/lib/generated-types';
import { ID } from '@vendure/common/lib/shared-types';
import i18next from 'i18next';
import { DEFAULT_LANGUAGE_CODE } from '../../common/constants';
import { Channel } from '../../entity/channel/channel.entity';
import { AuthenticatedSession } from '... |
import { Module } from '@nestjs/common'
import { EpisodesService } from '@pct-org/types/episode'
import { SeasonsResolver } from './seasons.resolver'
@Module({
providers: [
SeasonsResolver,
EpisodesService
]
})
export class SeasonsModule {
} |
import {
CanActivate,
ExceptionFilter,
HttpServer,
INestApplication,
INestMicroservice,
NestHybridApplicationOptions,
NestInterceptor,
PipeTransform,
RequestMethod,
VersioningOptions,
VersioningType,
WebSocketAdapter,
} from '@nestjs/common';
import { RouteInfo } from '@nestjs/common/interfaces'... |
import Debt from "./entities/Debt";
import AddDebtRequest from "./models/AddDebtRequest";
export default interface DebtsClient {
addDebt(addDebtRequest: AddDebtRequest): Promise<Debt>;
updateDebt(debtId: number, addDebtRequest: AddDebtRequest): Promise<Debt>;
getDebt(debtId: number): Promise<Debt>;
get... |
import Knex from 'knex';
export async function up(knex: Knex){
return knex.schema.createTable("items", table => {
table.increments("id").primary();
table.string("image").notNullable();
table.string("title").notNullable();
});
}
export async function down(knex: Knex){
return knex.sc... |
import React, { useState } from 'react';
import 'index.scss';
import BuilderForm from 'Components/Views/BuilderForm';
export default {
title: 'BuilderForm',
component: BuilderForm
};
export const TextFormField = () => {
const [givenName, setGivenName] = useState('');
const [surname, setSurname] = useState(''... |
import { Injectable } from '@angular/core';
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
import { Observable } from 'rxjs';
import { AuthenticationService } from '../services/authentication.service';
@Injectable()
export class JwtInterceptor implements HttpInterceptor {
... |
'use strict';
import { Diagnostic, DiagnosticCollection, DiagnosticSeverity, languages, Position, Range, TextDocument, workspace } from 'vscode';
import * as Constants from '../common/constants';
import { ResolveState } from '../models/httpVariableResolveResult';
import { RequestVariableCacheKey } from '../models/requ... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ar_EG">
<context>
<name>MainUI</name>
<message>
<location filename="../mainUI.ui" line="14"/>
<location filename="../mainUI.cpp" line="286"/>
<source>Media Player</source>
<translation type="unfinish... |
import * as React from 'react';
import styled, { css, FlattenSimpleInterpolation, keyframes } from 'styled-components';
import Badge from 'antd/lib/badge';
import { macro } from '@synerise/ds-typography';
import { ThemeProps } from '@synerise/ds-core/dist/js/DSProvider/ThemeProvider/theme';
import { BadgeProps } from '... |
/**
configuration object for configuring
the diffrect aspects of each snowflake
*/
export type SnowFlakeConfig = {
/**
svg tag for each flake, by deafult a snowflake is given
*/
flake?: string
/**
z index value for defining the paralax effect, setting it to 1 will disable the para... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.