text
stringlengths
10
953k
import Card from "@/components/Card"; import { CardPlaceholder } from "@/components/Placeholder"; import { IPost } from "@/interface"; import "@/styles/PageHome.styl"; import { http } from "@/utils"; import * as chunk from "chunk"; import { Component, h } from "preact"; import { Link } from "preact-router/match"; cons...
import React, { useEffect } from 'react'; import { useBlock } from '../src/hooks'; function Second() { const { key, props, update, Provider } = useBlock({ key: 'Second', icon: '', title: 'Second', props: { title: 'Second', }, customizer: { fields: [ { name: 'titl...
import * as React from 'react'; import { useRouteMatch, useLocation } from 'react-router'; import { Link } from 'react-router-dom'; import * as queryString from 'query-string'; import { Menu, Dropdown } from 'antd'; import { DownOutlined } from '@ant-design/icons'; import { ViewList, View } from '@bbp/nexus-sdk'; impor...
import { ComponentType } from 'react'; import { CustomIconProps } from '@monorail/visualComponents/icon/Icon'; export declare const H1: ComponentType<CustomIconProps>;
declare module 'log-to-file';
import { HttpClient, HttpErrorResponse, HttpParams } from '@angular/common/http'; import { Injectable, NgZone } from '@angular/core'; import { bindNodeCallback, combineLatest, from, Observable, of, throwError, zip } from 'rxjs'; import { catchError, first, flatMap, map, share, shareReplay, switchMap, tap, toArray } fro...
/** * Generated bundle index. Do not edit. */ export * from './public_api'; export { AnimationState as ɵs, NgxMaterialTimepickerContainerComponent as ɵt } from './src/app/material-timepicker/components/ngx-material-timepicker-container/ngx-material-timepicker-container.component'; export { NgxMaterialTimepickerConten...
import { Component } from '@angular/core'; import { AbstractControl, FormBuilder, Validators } from '@angular/forms'; import { DeviceService } from '@services/device.service'; @Component({ selector: 'kod-new-player', templateUrl: './new-player.component.html', styleUrls: ['./new-player.component.scss'], }) expor...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MockComponent } from 'ng2-mock-component'; import { EventEmitter } from '@angular/core'; import { ResetClientKeyComponent } from './reset-client-key.component'; import { StoreModule, Store } from '@ngrx/store'; import { ngrxReducers, runtimeChe...
import styled, { media } from "@styled"; import ReactModal from "react-modal"; import Button from "@components/shared/Button"; export const Wrapper = styled.div` margin-top: 52px; `; export const StyledModal = styled(ReactModal)` > div { padding: 96px 0; } ${media.phone` > div { padding: 0; ...
import { vector2 } from '../../math/types/vector2' /** * * @param ctx The context to draw on * @param points an array of points to draw * @param fill if true the polygon will be filled * @param stroke if true the polygno will be stroked */ export const drawPolygon = ( ctx: CanvasRenderingContext2D, point...
import * as React from 'react'; import { StyleSheet, TextInput, Keyboard, I18nManager, InteractionManager, } from 'react-native'; import { PanGestureHandler, State } from 'react-native-gesture-handler'; import Animated, { Easing as OldEasing, // @ts-ignore EasingNode, } from 'react-native-reanimated'; i...
import { SkinSprite } from 'sonolus-core' import { And, bool, Code, Divide, Draw, EntityInfo, EntityMemory, Equal, Floor, GreaterOr, HasSkinSprite, If, Lerp, LessOr, Multiply, Not, NotEqual, Or, Remap, Script, State, Subtract, T...
import { Component, Prop, Vue } from 'vue-property-decorator' import { VueConstructor } from 'vue/types/vue' // @ts-ignore: Work around for https://github.com/Toilal/vue-webpack-template/issues/62 import BlockList from './BlockList.vue' // @ts-ignore: Work around for https://github.com/Toilal/vue-webpack-template/issu...
import { Test, TestingModule } from '@nestjs/testing'; import { DogProvider } from './dog'; describe('Dog', () => { let provider: DogProvider; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [DogProvider], }).compile(); provider = module.get<Do...
import React from 'dom-chef'; import select from 'select-dom'; import delegate from 'delegate-it'; import AlertIcon from 'octicon/alert.svg'; import * as pageDetect from 'github-url-detection'; import features from '.'; import * as api from '../github-helpers/api'; import observeElement from '../helpers/simplified-ele...
import { ContractParam, ContractParamLike, ContractParamType, likeContractParam, } from "../../src/sc/ContractParam"; import { HexString } from "../../src/u"; describe("constructor", () => { test("ContractParamLike", () => { const result = new ContractParam({ type: "String", value: "1" }); expect(re...
import { Component, OnInit } from '@angular/core'; import { ApplicationConfigService } from 'src/app/services/app/application-config.service'; import { WebUISettings, WebUITorrentTableSettings, WebUINetworkSettings, WebUIUploadingSettings, WebUINotificationSettings, WebUIFileSystemSettings } from 'src/utils/Interfaces'...
import { ClockIcon } from "@heroicons/react/outline"; import Link from "next/link"; import { useRouter } from "next/router"; import { useEffect } from "react"; import { useForm } from "react-hook-form"; import { useLocale } from "@lib/hooks/useLocale"; import { useToggleQuery } from "@lib/hooks/useToggleQuery"; import...
// Copyright 2017-2020 @chainx-v2/types 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 { AnyNumber, AnyU8a, AnyString, Codec, Constructor, InterfaceTypes, Registry } from '../types'; import { isU8a, u8aConc...
import IData from '@bin/IData'; import Provider from '@bin/Provider'; import part1 from './part1'; const provider: Provider = async (): Promise<IData> => ({ iso639: { part1: [], }, iso3166: { part1: (await part1()).iso3166.part1, }, script: [], locale: [], }); export default p...
/*! THIS FILE IS AUTO-GENERATED */ export declare class GeneratedAPIs { abusiveexperiencereport(options: any): any; acceleratedmobilepageurl(options: any): any; adexchangebuyer(options: any): any; adexchangebuyer2(options: any): any; adexchangeseller(options: any): any; adexperiencereport(option...
import { Material } from './material'; export class MaterialInbound extends Material { bomId: number; detailsCode: string; } export class MaterialInboundOrder { companyId: number; bomNo: string; createName: string; totalPrice: number; formType: number; id: number; bomResult: number; requestVOList?...
import { Pages } from '../db/models/pages'; export const getAllPages = async () => { const pages: Pages[] = await Pages.findAll(); return pages.map(v => v.toJSON()); };
export type Head<T> = null | undefined | [] | [T] | T[] | T; export type UnHead<T, OR = undefined> = T extends null | undefined ? OR : T extends [infer R, ...unknown[]] ? R : T extends readonly [infer R, ...unknown[]] ? R : T extends [] ? OR : T extends [infer R] ? R : T extends Array<infer R> ? R | OR : ...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, Pol...
import React from 'react'; import Box from '@material-ui/core/Box'; import Header from './components/header/header'; import Footer from './components/footer/footer'; import useStyles from './styles'; type Props = { layoutStyles?: string; children: React.ReactNode; }; const Layout: React.FC<Props> = (props: ...
var arr: number[] = [7, 4, 5, 9, 2, 8, 1, 6, 3]; var sum: number = 0; var i; var len; (i = 0), (len = arr.length); for (; i < len; ++i) { var x = arr[i] as number; sum += x; } console.log(sum);
import { loadEnvConfig } from '@next/env' import chalk from 'chalk' import crypto from 'crypto' import { promises, writeFileSync } from 'fs' import { Worker } from 'jest-worker' import devalue from 'next/dist/compiled/devalue' import escapeStringRegexp from 'next/dist/compiled/escape-string-regexp' import findUp from '...
import { combineLatest, concat, EMPTY, merge } from "rxjs" import styled from "styled-components/macro" import { currencyPairs$, currencyPairUpdates$ } from "services/currencyPairs" import { TileView, useSelectedTileView } from "./selectedView" import { Tile, tile$ } from "./Tile" import { distinctUntilChanged, map...
import React, { Component } from 'react' import jsYaml from 'js-yaml' import Textarea from 'react-textarea-autosize' import Description from '../Param/Description' import ModelParamArray from '@opctl/sdk/src/model/param/array' import { dataGet } from '@opctl/sdk/src/api/client' interface Props { apiBaseUrl: string ...
// This is a generated file from running the "createIcons" script. This file should not be updated manually. import React, { forwardRef } from "react"; import { SVGIcon, SVGIconProps } from "@react-md/icon"; export const LocalGroceryStoreSVGIcon = forwardRef<SVGSVGElement, SVGIconProps>( function LocalGroceryStoreS...
import { getLanguageByAlias } from '../languages'; import { Config } from '../models'; import { corsService } from '../services'; import { hostPatterns } from './utils'; export const isJsbin = (url: string, pattern = new RegExp(hostPatterns.jsbin)) => pattern.test(url); export const importFromJsbin = async (url: stri...
import Long from 'long' import { unzip } from '@gmod/bgzf-filehandle' import VirtualOffset, { fromBytes } from './virtualOffset' import Chunk from './chunk' import { longToNumber, abortBreakPoint, optimizeChunks, BaseOpts } from './util' import IndexFile from './indexFile' const CSI1_MAGIC = 21582659 // CSI\1 const C...
import { GraphQLSchema, DocumentNode } from 'graphql'; import { Source } from '@graphql-tools/utils'; export declare namespace Types { interface GenerateOptions { filename: string; plugins: Types.ConfiguredPlugin[]; schema: DocumentNode; schemaAst?: GraphQLSchema; documents: ...
import { Injectable } from '@angular/core'; import { assign, cloneDeep } from 'lodash-es'; import { FuseMockApiService } from '@fuse/lib/mock-api'; import { user as userData } from 'app/mock-api/common/user/data'; @Injectable({ providedIn: 'root' }) export class UserMockApi { private _user: any = userData; ...
import { IsOptional, IsBoolean } from 'class-validator'; import { ApiProperty } from '@nestjs/swagger'; import { ToBoolean } from '../../decorators/to-boolean.decorator'; export class StoreFrontGetPageQueryDto { @ApiProperty({ required: false }) @IsOptional() @ToBoolean() @IsBoolean() release?: boo...
import AWS from 'aws-sdk'; const ddb = new AWS.DynamoDB({ endpoint: 'http://localhost:8000', region: 'ap-northeast-2', }); const createCommandTable = async (tableName: string) => { await ddb.createTable({ TableName: tableName, AttributeDefinitions: [ { AttributeName: 'id', AttributeType: 'S' }, ...
import { TestBed } from '@angular/core/testing'; import { TableService } from './table.service'; describe('TablesService', () => { let service: TableService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(TableService); }); it('should be created', () => { expect(...
import { betterer } from '@betterer/betterer'; import { createFixture } from '../fixture'; describe('betterer.watch', () => { it('should run in watch mode', async () => { const { logs, paths, resolve, cleanup, writeFile, waitForRun } = await createFixture('test-betterer-watch', { '.betterer.ts': ` import ...
import { RefreshToken } from '@modules/accounts/domain/refresh_token' import { IRefreshTokensRepository } from '../IRefreshTokensRepository' export class InMemoryRefreshTokensRepository implements IRefreshTokensRepository { private refreshTokens: RefreshToken[] = [] async findByUserId(userId: string): Promise<...
import { of , Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { Injectable, Input, EventEmitter } from '@angular/core'; import { ConfigService, ServerResponse, BrowserCacheTtlService } from '@sunbird/shared'; import { PlayerService } from '@sunbird/core'; import { SearchParam, LearnerService, Use...
import { Portal } from '@rmwc/base'; import { fireEvent, render } from '@testing-library/react'; import React from 'react'; import { Provider } from 'react-redux'; import configureStore from 'redux-mock-store'; import { AppState } from '../../../store'; import { openAuthUserDialog } from '../../../store/auth/actions';...
import { getDepositAddresses, init } from '../../src/index'; import readUserConfig from '../user_config'; beforeAll(async () => { const userConfig = readUserConfig(); await init(userConfig); }); test("getDepositAddresses('Newdex')", async () => { const symbols = ['EIDOS', 'EOS', 'MYKEY', 'USDT', 'XXX', 'YAS']; ...
import auth from '../../SpoAuth'; import { Auth } from '../../../../Auth'; import config from '../../../../config'; import request from '../../../../request'; import commands from '../../commands'; import GlobalOptions from '../../../../GlobalOptions'; import { CommandOption, CommandValidate } from '../../../../Com...
/** The MIT License (MIT) */ import { Props, createIcon } from '../Icon' import React from 'react' export default React.forwardRef((props: Props, ref: React.RefObject<HTMLSpanElement>) => ( createIcon(props, ref, { filled: <path fillRule="evenodd" clipRule="evenodd" d="M17.9995 15C17.7735 15 17.5465 14.92...
import { createController } from 'awilix-koa'; // eslint-disable-next-line no-unused-vars import { Context } from 'koa'; // eslint-disable-next-line no-unused-vars import PostService from '../services/post-service'; /** * @apiDefine PostGroup Post endpoints * * Post are tree structured. A root Post has a title and ...
import { test, expect } from "vitest" import { testenv } from "./testenv" import { v4 as uuid } from "uuid" test("sign up for Sprachy", async () => { const asRando = await testenv.asRando() const email = `twodork+${uuid()}@sprachy.com` await asRando.api.signUp({ email: email, password: "yuhyuhyuhyuh", ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { RequestParameters } from "@azure-rest/core-client"; import { RefColorConstant } from "./models"; export type StringGetNullParameters = RequestParameters; export interface StringPutNullBodyParam { /** string body */ body?: string;...
import Service from '@ember/service'; import { setupEngineTest } from 'ember-osf-web/tests/helpers/engines'; import { TestContext } from 'ember-test-helpers'; import { module, test } from 'qunit'; const themeStub = Service.extend(); const headTagsStub = Service.extend(); module('Unit | Route | collections/provider/di...
import httpRequest from '../utils/httpRequest' import { ICustomReqOpts } from '../type' import { E, getWxUrl } from '../utils/utils' import { ERROR } from '../const/code' import { CloudBase } from '../cloudbase' export async function callWxOpenApi( cloudbase: CloudBase, { apiName, requestData }, opts?: ICu...
import { Module } from '@nestjs/common'; import { UserController } from "../controllers/user.controller"; import { UserService } from "../services/user.service"; import { MongooseModule } from "@nestjs/mongoose"; import { UserSchema, User } from "../schemas/user.schema"; @Module({ imports: [ MongooseModule.forFe...
import { useContext, useMemo } from 'react'; import { useSubscription } from 'use-subscription'; import type { ISubscription } from '../../../core-typings/dist'; import { FindOptions, SubscriptionQuery, UserContext } from '../UserContext'; export const useUserSubscriptions = (query: SubscriptionQuery, options?: FindO...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="sk"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Kliknutím pravým tlačidlom upraviť adresu alebo popis</translation> </message> <messag...
import of from '../of' import filter from '../filter' import {expect} from 'chai' import {describe, it} from 'mocha' describe('filter', () => { it('only calls next() for every observable.next() that passes predicate', done => { const numbers: number[] = [] filter(of(5, 10, 15, 20, 25, 30), i => i % 10 === 0...
import { WithStyles, StyleRulesCallback } from '@material-ui/core'; export interface IStyled extends WithStyles<StyleRulesCallback<any, any, any>> {}
import { Test, TestingModule } from '@nestjs/testing'; import { SchedulesTimesService } from './schedules-times.service'; describe('SchedulesTimesService', () => { let service: SchedulesTimesService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [Sche...
<TS language="he" 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> ...
import webpack = require('webpack'); import WebpackDevServer = require('webpack-dev-server'); import { Application } from 'express'; const compiler = webpack({}); const multipleCompiler = webpack([]); // basic example let server = new WebpackDevServer(compiler, { publicPath: "/assets/" }); server.listen(8080); //...
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import * as InlineEditor from '../../../../../../../front_end/ui/legacy/components/inline_editor/inline_editor.js'; const {assert} = chai; describe('Fon...
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
import { DestinationStream } from 'pino' import { DatadogStreamPinoConfig } from './config' export function createWriteStream(config = new DatadogStreamPinoConfig()): DestinationStream { // eslint-disable-next-line global-require, @typescript-eslint/no-var-requires, import/no-unresolved const { createWriteStreamS...
import { RangeValidator } from "./range.validator"; export class InclusiveBetweenValidator extends RangeValidator { constructor(min: number, max: number, errorMessage?: string) { super(min, max, true, errorMessage); this.errorMessageResourceName = "inclusiveBetween"; } }
import { Event } from '@nordfjord/nestjs-cqrs-es' import { UserRegisteredDto } from '../dto/user-registered.dto' export class UserRegistered extends Event<UserRegisteredDto> { constructor(data: UserRegisteredDto) { super(data) } }
// Dependencies import Telegraf, { ContextMessageUpdate, Extra } from 'telegraf' import { strings } from './strings' import { Candidate, findChatsWithCandidates, CaptchaType, Equation, removeMessages, Chat, } from '../models' import { bot } from './bot' import { User, Message } from 'telegram-typings' impor...
import { Component, OnInit, HostBinding, OnDestroy } from '@angular/core'; import { FormGroup, FormControl, FormBuilder, Validators } from '@angular/forms'; import { AuthenticationService } from 'app/service'; import { MessageService } from 'primeng/components/common/messageservice'; import { Router } from '@angular/ro...
import { WebPlugin, FileReadOptions, FileReadResult, FilesystemPlugin, FileWriteOptions, FileWriteResult, FileDeleteResult, FileAppendOptions, FileAppendResult, ReaddirOptions, ReaddirResult, MkdirOptions, MkdirResult, GetUriOptions, RmdirOptions, RmdirResult, GetUriResult, StatOptions, StatResult,Fil...
/** * 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...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ur_PK" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Fiver</source> <translation type="unfinished"/> </message> <message> <location line=...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { NgbModule } from "@ng-bootstrap/ng-bootstrap"; // used to create fake ...
/** * @module botframework-wechat */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { Storage, StoreItems } from 'botbuilder-core'; import { UploadMediaResult } from './weChatSchema'; /** * We chat attachment storage * @private */ export class WeCha...
import express from 'express'; import {ExpressAppPrivateApi, removeAllRoutes} from './remove-all-routes'; describe('removeAllRoutes()', () => { it('uses a private Express API, which still behaves as expected', () => { const app: ExpressAppPrivateApi = express(); expect(app._router).toBeUndefined(); rem...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ChartsModule as Ng2Charts } from 'ng2-charts'; import { NgbModule, NgbActiveModal} from '@ng-bootstrap/ng-bootstrap'; import { FormsModule } from '@angular/forms'; import { DatePipe } from '@angular/common'; // import { ...
import { Cacheable, Cached } from '@d-fischer/cache-decorators'; import { rtfm } from 'twitch-common'; import { BaseApi } from '../../BaseApi'; import type { ChannelData } from '../Channel/Channel'; import { Channel } from '../Channel/Channel'; import type { StreamData } from '../Stream/Stream'; import { Stream } from ...
import DolphinCoin from "@counterfactual/cf-funding-protocol-contracts/build/DolphinCoin.json"; import SingleAssetTwoPartyCoinTransferFromVirtualAppInterpreter from "@counterfactual/cf-funding-protocol-contracts/build/SingleAssetTwoPartyCoinTransferFromVirtualAppInterpreter.json"; import * as waffle from "ethereum-waff...
import { NgModule } from '@angular/core'; import { ScrollingModule } from '@angular/cdk/scrolling'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; import { MatIconModule } from '@angular/material/icon'; import { MatRippleModule } from '@angular/mater...
import { ClientReadableStream } from 'grpc-web' import React, { useState } from 'react' import { EchoServicePromiseClient } from './protos/echo/echo_grpc_web_pb' import { EchoRequest, Empty, ServerStreamingEchoRequest, ServerStreamingEchoResponse } from './protos/echo/echo_pb' const codeToString = (code: number) => { ...
export * from './nft' export * from './api' export * from './transactions' export * from './query' export * from './red-envelope' export * from './search' export * from './geetest'
import { Component, OnInit, Input, OnChanges } from '@angular/core'; import { IEvento, ISession } from '../shared/evento-model'; import { EventoService } from "../evento-service"; import { AuthService } from "../../+users/auth.service"; import { VoterService } from "../+evento-detail/voter.services"; import {...
import * as ActionTypes from '../../../src/scripts/village/constants/ActionTypes' import {Character} from '../../../src/scripts/village/constants/Character' import {Content} from '../../../src/scripts/village/reducers/command' import {ImagePath} from '../../../src/scripts/village/constants/ImagePath' import {ReducerSta...
import { PackageJsonFile } from './package-json-file'; /** * Expect package.json file */ export function expectPackageJson( filePath: string, checks: { packageName: string, } ): void { let file: PackageJsonFile; const fileName: string = checks.packageName.split( '/' ).pop(); it( 'should exist and be valid JSON...
/** https://discord.com/developers/docs/topics/gateway#list-of-intents */ export enum GatewayIntents { /** * - GUILD_CREATE * - GUILD_DELETE * - GUILD_ROLE_CREATE * - GUILD_ROLE_UPDATE * - GUILD_ROLE_DELETE * - CHANNEL_CREATE * - CHANNEL_UPDATE * - CHANNEL_DELETE * - CHANNEL_PINS_UPDATE ...
declare module '*.md' { const content: string; export default content; }
// Type definitions for sc-errors 1.4 // Project: https://github.com/SocketCluster/sc-errors // Definitions by: Daniel Rose <https://github.com/DanielRose> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.4 export class AuthTokenExpiredError extends Error { expiry: Date; ...
/** * @module common/server */ /** */ import {Env} from "@tsed/core"; import * as Https from "https"; import {ProviderScope} from "../../di/interfaces"; /** * */ export interface IServerMountDirectories { [endpoint: string]: any | string | (any | string)[]; } /** * */ export interface ILoggerSettings { /**...
/* tslint:disable:no-unused-variable */ import {TestBed, fakeAsync, getTestBed} from '@angular/core/testing'; import {RouterTestingModule} from '@angular/router/testing'; import {Injector} from '@angular/core'; import {TranslateService, TranslateLoader, TranslateParser} from '@ngx-translate/core'; import {SharedModule}...
export interface IDropdownOption { id: string; label: string; group: string; displayOnlyLabel?: any } export class DropdownOption implements IDropdownOption { public group: string; constructor(public id: string, public label: string, public displayOnlyLabel?: any) { } }
/* tslint:disable */ /* eslint-disable */ // @generated // This file was automatically generated and should not be edited. import { CheckoutErrorCode } from "../../gqlTypes/globalTypes"; // ==================================================== // GraphQL mutation operation: CheckoutIncludeMerchUpdate // ==============...
export const site: Record<string, any> = { 'name': 'Pycord Guide', 'tagline': 'Imagine a place... where you can learn how to add more features to your Pycord bot', 'url': 'https://guide.pycord.dev', 'orgName': 'Pycord-Development' }
import { Attributes, Role, RoleSettings } from "@valkyr/access"; import { getId } from "@valkyr/security"; /* |-------------------------------------------------------------------------------- | Bitflags |-------------------------------------------------------------------------------- */ export const WORKSPACE_FLA...
import type { DIconProps } from '../Icon'; import { CloseOutlined as AntIcon } from '@ant-design/icons-svg'; import { DIcon } from '../Icon'; export function CloseOutlined(props: Omit<DIconProps, 'dIcon'>) { return <DIcon {...props} dIcon={AntIcon} />; }
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('aspen-d...
import { ObjectType, Field } from "@nestjs/graphql"; @ObjectType('Student') export class StudentType { @Field() id:string; @Field() firstName:string; @Field() lastName: string; }
import {NodeHttpOptions as __HttpOptions__} from '@aws-sdk/types'; import * as __aws_sdk_types from '@aws-sdk/types'; /** * <p>Represents the input of a get commit operation.</p> */ export interface GetCommitInput { /** * <p>The name of the repository to which the commit was made.</p> */ repository...
import React from "react" import { StyleSheet, View } from "react-native" import { SvgIcons } from "../../types/SvgIcons" import Row from "../Row" import SvgIcon from "../SvgIcon" import Typography from "../Typography" interface Props { title: string icon: keyof SvgIcons width: string | number backgroundColor:...
import { EmitterEntity } from "./EmitterEntity"; import { ParticleManager } from "../particles/ParticleManager"; import { Vec2 } from "../utils/Vec2"; import { RocketEntity } from "./RocketEntity"; import { Color } from "../utils/Color"; export class ShipEntity extends EmitterEntity { public static SIZE = 32; ...
import React, { ReactNode } from 'react'; import { AppBar, Toolbar, Box } from '@material-ui/core'; import styled from 'styled-components'; import { Flex, DarkModeToggle, LocaleToggle } from '@chia/core'; import AppTimeBombAlert from '../app/AppTimeBombAlert'; const StyledWrapper = styled(Box)` padding-top: ${({ the...
/** * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ import React from "react"; import { createStyles, withStyles, Theme } from "@material-ui/core/styles"; import Switch, { SwitchClassKey, SwitchProps } from "@material-ui/cor...
import React from "react"; import RegisterForm from "../components/RegisterForm"; import Vincents from "../components/Images/Vincents.jpg"; import './Register/RegisterScreen.css'; function RegisterScreen(){ return( <div className="register-container"> <div className="image"> <i...
import { TestBed } from '@angular/core/testing'; import { WineService } from './wine.service'; describe('WineService', () => { let service: WineService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(WineService); }); it('should be created', () => { expect(servic...