text
stringlengths
10
953k
import { Vue, Component } from 'vue-property-decorator' @Component export default class Main extends Vue { public mounted () { const num: number = Math.floor(Math.random() * 23) + 1 const bg: Vue | Element | Vue[] | Element[] = this.$refs.main_bg this.$(bg).attr('class', `flur-box login-bg${num}`) } ...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../../utilities"; /** * OpenId Connect Provider details. */ export class OpenIdConnectProvi...
import React from 'react'; import { Variant } from '@newrade/core-design-system'; import { BlockMarkdown, SectionBase } from '@newrade/core-gatsby-ui/src'; import { Stack, useTreatTheme } from '@newrade/core-react-ui'; import { PlaceholderMarkdown } from '@newrade/core-react-ui/doc-components'; type Props = {}; expo...
import { prependZeroesToSingleDigit } from "./string" describe("string", () => { describe("prependZeroesToSingleDigit()", () => { it("should prepend zeroes to a single digit", () => { expect(prependZeroesToSingleDigit(5, 1)).toBe("05") expect(prependZeroesToSingleDigit(2, 2)).toBe("...
import { Request, Response, NextFunction } from "express"; import { default as Genre, GenreModel } from "../../models/library/Genre"; import { default as Book, BookModel } from "../../models/library/Book"; import { body, validationResult } from "express-validator/check"; import { sanitizeBody } from "express-validator/...
import { Path, Point } from 'paper'; import { Journey, BrimBean, PointBean } from 'src/app/services/paperjs/paperjs-model'; import * as _ from 'lodash'; import { PaperJSUtils } from 'src/app/services/paperjs/paperjs-utils'; import { Group } from 'paper'; import { ScanPiecesBean } from 'src/app/stores/parameters.service...
/* eslint-disable @typescript-eslint/no-unused-vars */ import { Entity, Column, PrimaryGeneratedColumn, JoinColumn, OneToOne, ManyToOne, OneToMany, ManyToMany, JoinTable, } from 'typeorm'; import { BaseEntity } from './base/base.entity'; import { ApiModelProperty } from '@nestjs/swag...
import https, { RequestOptions } from 'https'; import { CodelyzerRule, PRDetails } from './interfaces'; /** * @description * Calls the github api for the specified path and returns a Promise for the json response. * * @param optionOverrides RequestOptions for the Request. * @returns an object representing the jso...
export default class Extensions { private readonly gl: WebGL2RenderingContext; private readonly list: Map<string, any> = new Map<string, any>(); constructor(gl: WebGL2RenderingContext) { this.gl = gl; this.init(); } private init() { const names: string[] = [ 'EXT_texture_filter_anisotropic', 'EXT_co...
export declare function calculate(numbers: string): number;
import { InboundFilters } from '../../../src/integrations/inboundfilters'; let inboundFilters: any; describe('InboundFilters', () => { beforeEach(() => { inboundFilters = new InboundFilters(); }); describe('shouldDropEvent', () => { it('should drop when error is internal one', () => { inboundFilt...
import { IdentityService } from './../../shared/auth/authentication/identity.service'; import { LeftMenuService, RightMenuService } from './../../shared/services/menu.service'; import { UserinfoComponent } from './userinfo/userinfo.component'; import { InfoComponent } from './info/info.component'; import { PopoverContr...
import type { ExtractPropTypes } from 'vue'; export declare const anchorLinkProps: { prefixCls: import("vue-types").VueTypeValidableDef<string> & { default: string; }; href: import("vue-types").VueTypeValidableDef<string> & { default: string; } & { default: string; }; tit...
/** * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.o...
export {ChartReport} from './chartReport';
class NumberConverter implements Fayde.Data.IValueConverter { Minimum = 0; Maximum = 100; Convert (value: any, targetType: IType, parameter: any, culture: any): any { return value.toString(); } ConvertBack (value: any, targetType: IType, parameter: any, culture: any): any { var min...
import React from 'react' const PlayButton = ({ size, rem }: { size: number | string, rem?: boolean }) => { const width = (typeof size === 'string') ? size : rem ? `${size}rem` : `${size}px` return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" style={{ width: width }}><path fill="#3B88C3" ...
import type { CallbackStorage, FetchTokenResponse, KeycloakAdapter, KeycloakConfig, KeycloakInstance, KeycloakJSON, KeycloakLoginOptions, KeycloakLogoutOptions, KeycloakProfile, KeycloakRegisterOptions, OIDCProviderConfig, } from '@react-keycloak/keycloak-ts'; import InAppBrowser from 'react-nativ...
import { observer } from "mobx-react"; import React, { useEffect } from "react"; import { useStores } from "../use-stores"; import { Interaction } from "../models/ui"; import { Chart } from "../charts/components/chart"; import * as css from "./graph.scss"; import { Annotation } from "../charts/models/chart-annotation";...
// tracing: off import { pipe } from "../../Function" import * as O from "../../Option" import * as T from "../_internal/effect" import * as M from "../_internal/managed" import { Stream } from "./definitions" /** * Transforms the errors emitted by this stream using `f`. */ export function mapError_<R, E, E2, O>( ...
import { test } from 'tap'; import { exec } from 'child_process'; import * as path from 'path'; import { readFileSync, mkdirSync, existsSync } from 'fs'; import { v4 as uuidv4 } from 'uuid'; import { UnsupportedOptionCombinationError } from '../../src/lib/errors/unsupported-option-combination-error'; const osName = re...
import { Routes, RouterModule } from '@angular/router'; import { TeacherDiaryComponent } from './teacher-diary.component'; const routes: Routes = [ { path:'', component: TeacherDiaryComponent }, ]; export const TeacherDiaryRoutes = RouterModule.forChild(routes);
import { Field, Label } from '@components/FormElements'; import Tooltip from '@components/Tooltip/Tooltip'; import { LocalStorage } from '@services/local-storage'; import { useAckeeTracker } from '@utils/providers/ackee'; import { useEffect, useState } from 'react'; import { useIntl } from 'react-intl'; import styles f...
import { Order } from './order'; import { Discount } from './discount'; export class Payment { discount = new Discount(); cash = 0; get total(): number { return this.order.total; } get totalDiscount(): number { if (this.discount.isPercentage) { return (this.discount.value / 100) * this.order.total; } e...
import { Args, BaseTxInfo, createMethod, OptionsWithMeta, UnsignedTransaction, } from '../../util'; export interface ProxyProxy extends Args { /** * Dispatch the given `call` from an account that the sender is authorized for * through, `add_proxy`. */ real: string; /** * Specify the exact ...
import * as orgModel from '../../../../../../data/models/organization/model'; import { SortDirection } from '../../../common'; import { AppError } from '@kbase/ui-components'; import { AsyncModel } from '../../../common'; export enum BrowseOrgsState { NONE = 0, SEARCHING, SUCCESS, ERROR } export type ...
import {Grid, Paper, Tab, Tabs, Typography} from "@material-ui/core" import * as React from "react" import {connect} from "react-redux" import {StoreState} from "../../Redux" import {getGlobalRankGraphs, getGlobalStats} from "../../Requests/Global" import {convertSnakeAndCamelCaseToReadable} from "../../Utils/String" i...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * The CodeArtifact Repository Endpoint data source return...
export { default as AuthorizationError } from "./AuthorizationError"; export { default as BackupError } from "./BackupError";
/** * Handlers are functions that receive events and extract relevant information. Use handlers to filter the useful information out of an event before discarding it. * @param event - the event you want to filter. * @typeParam Input - the type of information that the listener will return from the event * @param pre...
import { TodosListPage } from '../support/todo-list.po'; const page = new TodosListPage(); describe('Todos list', () => { beforeEach(() => { page.navigateTo(); }); it('Should have the correct title', () => { page.getTodosTitle().should('have.text', 'Todos'); }); it('Should show 300 todos in list ...
import React, { Suspense, useEffect, useState } from 'react' import Projects from '@xrengine/editor/src/pages/projects' import { AuthService } from '@xrengine/client-core/src/user/services/AuthService' import EditorContainer from '../components/EditorContainer' import { useAuthState } from '@xrengine/client-core/src/us...
import { assertEquals, assertThrows } from "../../depends.ts"; import { Int8 } from "./int8.ts"; import { Uint8Vector } from "../vector/uint8vector.ts"; Deno.test("Int8.prototype", () => { // constructor assertEquals(new Int8().value(), 0); // value() assertEquals(new Int8(Number.MAX_SAFE_INTEGER).value(), In...
import { h, Fragment } from 'preact'; import { useState } from 'preact/hooks'; import { sleep } from '../sleep'; import Flash, { useFlash } from './Flash'; import { Guest, RequestError } from '../virtual-queue'; import FloatingButton from './FloatingButton'; import GuestList from './GuestList'; const JOIN_BTN_DISABLE...
import { normalize } from 'path' // Evironment export const env = process.env.NODE_ENV // Root path of server export const root = normalize(__dirname + '/../..') // Server port export const port = process.env.PORT || 9000; // Server IP export const ip = process.env.IP || '0.0.0.0' // Server Domain export const do...
import { GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, } from "../GlobalAcceleratorClient"; import { AddCustomRoutingEndpointsRequest, AddCustomRoutingEndpointsResponse } from "../models/models_0"; import { deserializeAws_json1_1AddCustomRoutingEndpointsCommand, serializeAws_js...
import { DomainResource } from './DomainResource'; export enum CatalogEntryStatusEnum{ ACTIVE = 'active', DRAFT = 'draft', RETIRED = 'retired', }
import ReactGA from 'react-ga' import { Dispatch } from 'redux' import { ThunkDispatch } from 'redux-thunk' import addProvider from './addProvider' import { getNetworkId, getNetworkInfo } from 'src/config' import { NOTIFICATIONS, enhanceSnackbarForAction } from 'src/logic/notifications' import enqueueSnackbar from 's...
/** * @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 {patchOnProperties} from '../common/utils'; ((_global: any) => { // patch Notification patchNotification(...
/** The default logger logs only `error` and `warn` to console. To provide custom logging from Permissions: - implement `IPermissionsLogger` methods (or just create a plain JS object with these) - pass an instance to [`setLogger()`](/miscellaneous/variables.html#setLogger) ```js import { setLogger, IPermissio...
/** * lodashMini.ts * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. * * Imports a subset of lodash library needed for ReactXP's implementation. */ import clone = require('lodash/clone'); import compact = require('lodash/compact'); import filter = require('lodash/fi...
import * as _ from 'lodash'; import { EventSubscription } from '../interfaces/EventSubscription'; import { ComponentDidAppearEvent, ComponentDidDisappearEvent, NavigationButtonPressedEvent, SearchBarUpdatedEvent, SearchBarCancelPressedEvent, ComponentEvent, PreviewCompletedEvent, ModalDismissedEvent, ...
import * as TypeGraphQL from "type-graphql"; import * as GraphQLScalars from "graphql-scalars"; import { Prisma } from "../../../client"; import { DecimalJSScalar } from "../../scalars"; @TypeGraphQL.InputType("NestedBigIntNullableFilter", { isAbstract: true }) export class NestedBigIntNullableFilter { @TypeGraphQ...
import React from 'react'; type Props = { htmlFor: string; text: string; }; export default function Label({ htmlFor, text }: Props): JSX.Element { return ( <label className="form__label" htmlFor={htmlFor}> {text} </label> ); }
import React from 'react'; import './CaesarList.scss'; interface Props { list: string[]; } function CaesarList(props: Props) { function renderListItems() { return props.list.map((value: string, index: number) => { if (index === 0) { return null; } return ( <div key={index}>{...
import React from 'react'; import { CogIcon, PlayIcon, ShareIcon, ArchiveIcon, BookOpenIcon } from '@heroicons/react/outline'; import { TemplateIcon } from '@heroicons/react/solid'; import useEditor from 'src/context/hooks/useEditor'; import { DrawerKind, EditorActionKind } from 'src/context/Editor'; import pkg from...
import * as marked from 'marked' import * as highlight from 'highlightjs' const m = marked.setOptions({ breaks: true, gfm: true, highlight: function (code, lang) { if (lang && highlight.getLanguage(lang)) { return highlight.highlight(lang, code).value } return highlight.highlightAuto(code).valu...
import React from 'react'; import {useObviousState} from '../../src/index'; const AddItemButton: React.FunctionComponent = () => { const [list, setList] = useObviousState('list'); const handleOnClick = () => { setList([...list, 'item']); }; return ( <button id='addItem' onClick={handleO...
import { Module } from '@nestjs/common'; import { RecordController } from './record.controller'; import { RecordService } from './record.service'; import { TypeOrmModule } from '@nestjs/typeorm'; import { RecordRepository } from './record.repository'; import { Record } from './record.entity'; import { Unit } from './un...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-trello', templateUrl: './trello.component.html', styleUrls: ['./trello.component.scss'] }) export class TrelloComponent implements OnInit { constructor() { } ngOnInit() { } }
import { AutomationGroup } from './../model/entities/automation-group'; import { Component, Input, OnChanges, SimpleChanges, SimpleChange } from '@angular/core'; import { AppConstantService } from '../service/app-constant-service'; import { AutomationGroupService } from '../service/automation-group-service'; console.l...
import { Web3Provider } from '@ethersproject/providers'; import { strategy as ethReceivedStrategy } from '../eth-received'; import fetch from 'cross-fetch'; export const author = 'mccallofthewild'; export const version = '0.1.0'; const ethCharities = [ ['GiveDirectly', '0xc7464dbcA260A8faF033460622B23467Df5AEA42'], ...
import * as React from "react"; import Svg, { Path, SvgProps } from "react-native-svg"; interface Props extends SvgProps { size?: number; } const ThumbDownIcon = ({ size = 24, ...props }: Props) => { return ( <Svg fill="currentColor" aria-hidden="true" viewBox="0 0 20 20" width={size} ...
import * as _ from 'lodash'; import applyMixins from '../util/applyMixins'; import { List, Leaf, Container, LeafList } from '../model'; import { Searchable, WithAttributes } from './mixins'; import { ListJSON, ListChildJSON, LeafJSON, LeafListJSON, Visitor, NoMatchHandler, Parent, ShouldSkip, ListCh...
import { GraphQLModule } from '@graphql-modules/core'; import { Container } from 'typedi'; import { Connection, useContainer } from 'typeorm'; import { createAccounts } from '../../src/modules/accounts'; import { connect } from '../../src/utils/connect'; useContainer(Container); describe('AccountsModule', () => { ...
import React, { useCallback, useState } from 'react'; import {useDropzone} from 'react-dropzone'; import { FiUpload } from "react-icons/fi"; import "./style.css"; interface Props{ onFileUploaded: (file: File) => void; } const Dropzone: React.FC<Props> = ({ onFileUploaded }) => { const [selectFileUrl, setselectF...
import { Request } from "express"; import * as yup from "yup"; import { ApiError } from "../errors"; export class ClassesCreateAdapter { async isValidRequest(request: Request) { const schema = yup.object({ name: yup .string() .trim() .strict(true) .typeError("Value isn't st...
import { Component, OnInit } from '@angular/core'; import { NgAuthService } from "../ng-auth.service"; import { Router } from '@angular/router'; @Component({ selector: 'app-sign-in', templateUrl: './sign-in.component.html', styleUrls: ['./sign-in.component.css'] }) export class SignInComponent implements OnInit...
import { RouteLocationRaw, RouteLocationNormalizedLoaded } from "vue-router"; import { HasSsrParam } from "./ssr"; import { HasStoreParam } from "./store"; interface PreFetchOptions<TState> extends HasSsrParam, HasStoreParam<TState> { currentRoute: RouteLocationNormalizedLoaded; previousRoute: RouteLocationNormali...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About REBOGROUP</source> <translation>Acerca de REBOGROUP</translation> </message> <message> ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lv_LV" version="2.1"> <context> <name>AboutDialog</name> <message> <source>About Gapcoin Core</source> <translation>Par Gapcoin Core</translation> </message> <message> <source>&lt;b&gt;Gapcoin Core&lt;/b&gt; version</source> ...
import { CoordinatesEngine } from './CoordinatesEngine' import { wheelValues } from '../utils/events' import { V } from '../utils/maths' export interface WheelEngine extends CoordinatesEngine<'wheel'> { wheel(this: WheelEngine, event: WheelEvent): void wheelChange(this: WheelEngine, event: WheelEvent): void whee...
/** *? Form Styles */ /** ** Write your tailwind classes as objects and strings and import them in your component */ export const options = { option__one: "bg-red-500 text-white font-bold py-2 px-4 rounded max-w-xs cursor-pointer", option__two: "bg-green-500 text-white font-bold py-2 px-4 rounded max-w-sm cur...
export const NONE_Y = 0; export const NONE_X = 0; export const INIT_Y = 1; export const INIT_X = 5; export const MAX_X = 11; export const MAX_Y = 17; export type TRow = [ number, number, number, number, number, number, number, number, number, number, number, ]; export type ...
import * as fs from 'fs-extra' import chalk from 'chalk' import defaultsDeep from 'lodash/defaultsDeep' import program from 'commander' import * as DefaultOptions from '../options' import { wrapAction, confirm } from './share' import { Options } from '../typings' const action = async (options: Options = DefaultOptions...
import { Component, OnInit, ElementRef } from '@angular/core'; import { D3Service, D3, Selection } from './../../node_modules/d3-ng2-service'; @Component({ selector: 'app-test-d3', template: '`<p>Hello</p>`', }) export class TestD3Component implements OnInit { private d3: D3; // <-- Define the private member wh...
// tslint:disable /** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator...
import type { CallbackModifier, StopEffect, EffectArrayCallback, Modifier, ModifierReturn, EffectSignalCallback } from "./types"; import type { Fn } from "./common"; /** * A utility for creating custom effect modifiers. * * @param callbackModifier function that is executed when your modifier gets attach...
import { css } from "lit"; export const hacsLinkStyle = css` a { text-decoration: var(--hcv-text-decoration-link); color: var(--hcv-text-color-link); } `; export const hacsIconStyle = css` ha-svg-icon { color: var(--hcv-color-icon); } `; export const hacsButtonStyle = css` mwc-button[raised] { ...
import * as webcrypto from '@peculiar/webcrypto' import { decryptNativeWallet, getPasswordHash } from './login' describe('login', () => { globalThis.crypto = new webcrypto.Crypto() describe('password-hash', () => { it('should fail on getPasswordHash without email', async () => { const email = '' ...
import { EventEmitter } from "events"; interface SqlClient { query: (connStr, query: string, cb: (err: any, rows: any[], more: boolean) => void) => EventEmitter } const {connectionString} = require.main.require("./connectionString") const containerEventsQuery = (serviceId: number, startTimeIso: string, endTimeIso: ...
import type { ICconfig, IState } from './type'; import { Debug } from './debug'; const debug = Debug("src/state.ts") // 获取对象 // 1. React.Children.forEach(statview.props.children) // 注册状态和Layer,statview-ref // 2. 实现statview的行为 // stateview.setCurrent(this | 'somepath') // stateview.keyframes(from , ...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { JoinTeamPageComponent } from './join-team-page.component'; import { RouterTestingModule } from '@angular/router/testing'; import { AngularFireModule } from '@angular/fire/compat'; imp...
export const development = { provider: { network: "other", provider: "jsonrpc", pollingInterval: 50, jsonRpc: { url: "http://localhost", port: 8545, }, }, events: { timeout: 4000, }, }; export default development;
interface IconProps { icon?: Icon; spinning?: boolean; size: IconSize; } type Icon = string | string[]; type IconSize = 'mini' | 'small' | 'normal' | 'large' | string;
/** * Defines the base-class for the QueryConverter class, which adds a helper to simplify param-rendering. */ export class QueryBaseConverter { protected addParamIfSet(params: string[], key: string, param: any) { let value = param.toString(); if (value) { params.push(`${key}=${encodeU...
import { AbstractEntity } from '../../helper/base-entity'; import { Column, Entity } from 'typeorm'; @Entity('tag') export class TagEntity extends AbstractEntity { @Column() tag: string; }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hr" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About VITAL</source> <translation type="unfinished"/> </message> <message> <location line="+3...
// This is an example of how to read a JSON Web Token from an API route import { getToken } from "next-auth/jwt" import type { NextApiRequest, NextApiResponse } from "next" const secret = process.env.NEXTAUTH_SECRET​ export default async (req: NextApiRequest, res: NextApiResponse) => { const token = await getToken(...
/// <reference path="Object.d.ts" /> module dojox.grid.enhanced.plugins{ export class _SelectionPreserver{ _connects : any[]; _selectedById : Object; _trustSelection : any[]; _defaultSelected : bool; selection : any; grid : any; destroy () : any; connect (obj:any,event:any,method:any) : any; reset () : any; _reSelectBy...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About EMC</source> <translation>關于黑幣</translation> </message> <message> <location line="+3...
/** * limelight__header_main_pages__logged_in_user_Setup.ts * * Code for set up Main Pages Header - Logged In Users : for header_main_pages.jsp */ import {limelight__header_main_pages__LoggedInUser_PopulateProjects_After_Delay} from "page_js/header_main_pages/header_main_pages__logged_in_user/limelight__header_ma...
import { Rhum } from "https://deno.land/x/rhum@v1.1.10/mod.ts"; import { hasFileExtension } from "../utils.ts"; import { create, createChallenge, createVerifier, cstring } from "../mod.ts"; interface CodePair { codeVerifier: string; codeChallenge: string; } Rhum.testPlan("test.ts", () => { Rhum.testSuite("hasFi...
/** * @external a * */ /** */ export {StringHelpers} from "./helpers";
/* MIT License Copyright (c) 2021 Looker Data Sciences, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RacunDetaljiComponent } from './racun-detalji.component'; describe('RacunDetaljiComponent', () => { let component: RacunDetaljiComponent; let fixture: ComponentFixture<RacunDetaljiComponent>; beforeEach(async(() => { TestBed...
import { Button, Center, Container } from '@chakra-ui/react'; import { Box, Text } from '@chakra-ui/layout'; import React from 'react'; export const ErrorFallback = ({ error, resetErrorBoundary }) => { return ( <Container role="alert"> <Center h="500px"> <Box> <p>Something went wrong:</p>...
/*! * Copyright Unlok, Vaughn Royko 2011-2019 * http://www.unlok.ca * * Credits & Thanks: * http://www.unlok.ca/credits-thanks/ * * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the moddin...
export default class { private audioContext: AudioContext; public bassSourceBuffer; public snareSourceBuffer; constructor(sourceUrlList) { this.audioContext = new AudioContext(); this.setupSources(sourceUrlList) .catch((error) => console.error(error)); } async setupSources(sourceUrlList):...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as moment from 'moment'; import * as Sequelize from 'sequelize'; import { HasOneGetAssociationMixin, Model } from 'sequelize'; import { assertNever } from 'shared/common'; import * as dates from 'shared/dates'; import { ApplicationsOpenStatus, CompleteRsvpStatus, HackerStatuses, IndividualApplicationStatus, I...
import * as React from "react"; import { IEmojiProps } from "../../styled"; const SvgKeycap11 = (props: IEmojiProps) => ( <svg viewBox="0 0 72 72" width="1em" height="1em" {...props}> <path fill="#d0cfce" d="M11.875 12.166h48V60h-48z" /> <g fill="none" stroke="#000" strokeLinecap="round" ...
import { Controller, Get, Req } from "@tsed/common"; import { Authenticate } from "@tsed/passport"; import { Description, Returns, Security } from "@tsed/schema"; import { User } from "../models/entity/User"; import { Wallet } from "../models/Wallet"; import { PortfolioService } from "../services/utils/PortfolioService...
/** * @file Cruise 航海 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime'; export default IconWrapper( 'cruise', false, (h: IconHelper, props: ISvgIconProps) => ( <svg ...
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { IPRBProxyFactory, IPRBProxyFactoryInterface, } from "../IPRBProxyFactory"; const _abi = [ { anonymous...
import * as React from "react"; import { Container, Header, Title, Content, Text, Button, Icon, Left, Right, Body } from "native-base"; import styles from "./styles"; export interface Props { navigation: any; } export interface State { } class Test extends React.Component<Props, State> { render() { con...
import { NgModule } from '@angular/core'; import { ChartsModule } from 'ng2-charts/ng2-charts'; import { BsDropdownModule } from 'ngx-bootstrap/dropdown'; import { CommonModule } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import {MatDatepickerModule, MatNativeDateModule, ...
import { computed, defineComponent, h, ref, PropType, CSSProperties, Fragment, toRef } from 'vue' import { format, getYear, addMonths, startOfDay, startOfMonth, getMonth } from 'date-fns/esm' import { useMergedState } from 'vooks' import { dateArray } from '../../date-picker/src/utils' impor...
import BoxBase, { BoxBaseProps } from ".."; import { argTypes } from "./ArgTypes.BoxBase.stories.component"; import { Story } from "@storybook/react"; export default { title: "Components/BoxBase/Size/Size", component: BoxBase, argTypes: { ...argTypes, }, }; const Template: Story<BoxBaseProps>...
import { lookupSymbol } from "giraffeql"; import { servicesMap } from "../.."; import { AccessControlMap, ExternalQuery, ServiceFunctionInputs, } from "../../../types"; import { TimeoutError } from "../../core/helpers/error"; import { permissionsCheck } from "../../core/helpers/permissions"; import { isTimeoutImm...