text
stringlengths
10
953k
import React from 'react'; import { Button, Card, InputGroup } from 'react-bootstrap'; import { allSoftware, DictionaryItem } from '@alice/sr2020-admin-ui/app/api/models-engine'; import { SendEvent } from '@alice/sr2020-admin-ui/app/api/event-sender'; export interface WriteSoftwareCardState { software: DictionaryIte...
import { Vector3, EventDispatcher, Camera } from 'three'; declare class FirstPersonControls extends EventDispatcher { object: Camera; domElement: HTMLElement | Document; enabled: boolean; movementSpeed: number; lookSpeed: number; lookVertical: boolean; autoForward: boolean; activeLook: b...
import React, { CSSProperties } from 'react'; import { useSelector } from 'react-redux'; import { selectWinnerId, selectPlayerSymbols, selectGameOver, selectRules } from '../../features/game/gameSlice'; import Board from './Board'; import Hud from './Hud'; import WinScreen from './WinScreen'; const styles: {[classNa...
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; export declare class HcPickerView implements ComponentInterface { value: string; current: number; vis: number; rate: number; itemHeight: number; data: string; index: number; el: HTMLElement; $wrap: HTMLE...
import { components, View } from "./view"; import { Button } from "./button"; import { ImageView } from "./imageview"; import { Label } from "./label"; declare var global: any (global as any).viewOutlets = {} export class Body { private children: View[] private layoutCodes: string[] constructor(protected...
import RootAction from "../../ActionType"; import { CONFIG_TYPEKEYS } from "../configTypeKeys"; const previewStatus = (state = false, action: RootAction) : boolean => { switch (action.type) { case CONFIG_TYPEKEYS.SET_PREVIEW_STATUS: return action.payload; default: return state; } }; export def...
/* tslint:disable */ /* eslint-disable */ /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tec...
/* eslint-disable react-hooks/exhaustive-deps */ import Head from "next/head"; import { useEffect, useState } from "react"; import { WalletMultiButton } from "@solana/wallet-adapter-react-ui"; import useCandyMachine from "../hooks/useCandyMachine"; import useWalletBalance from "../hooks/useWalletBalance"; import { us...
import type { ConversationV3 } from '@assistant/conversation'; import { fetchUser } from 'comicgeeks'; export const handleUsername = async (conv: ConversationV3) => { const username = conv.intent.query?.replace(/\s/g, ''); const user = await fetchUser(username).catch(() => null); if (!user) { conv.add( 'Ther...
import * as React from 'react'; import ProjectFrom from '../../component/projectForm'; import { withRouter } from 'react-router-dom'; import api from '../../common/api'; import { Modal } from 'antd'; const RouterWrap = withRouter((props) => { const { history } = props; function doApply(values) { ...
import { Feed } from '../feed/feed'; import { Keystore, UserIdentity } from '../keystore'; import { Query } from '../query/query'; import { FactEnvelope, FactRecord, FactReference } from '../storage'; import { mapAsync } from '../util/fn'; import { Authorization } from './authorization'; import { AuthorizationEngine } ...
import test from "ava"; import { timeFilterDateFormat, dateFormat } from "../src/format"; test("time filter date formatting", (t) => { const { day, month, week, quarter, year, ...rest } = timeFilterDateFormat; t.deepEqual(rest, {}); const janfirst = new Date("2020-01-01"); const date = new Date("2020-03-20"); ...
interface Setting extends BaseModel { key: string; value: { [key: string]: string }; }
import eventManager from '../../common/EventManager'; import { AppState } from '../types'; import { Event } from '../../@types'; import { getAnnotationMode } from '../common'; import { getCreatorStatus } from '../creator'; export const handleSetStatusAction = (prevState: AppState, nextState: AppState): void => { c...
// Copyright 2018 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
/** * Language Meta Data */ export { default as meta } from '../data/meta.json'; /** * Language Data */ import { default as Afrikaans } from '../data/languages/Afrikaans.json'; import { default as Albanian } from '../data/languages/Albanian.json'; import { default as Arabic } from '../data/languages/Arabic.json'; ...
/* * Copyright (c) 2021 Oracle and/or its affiliates. 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 * * Unle...
import React, { useMemo } from 'react' import { Formik, Form as FormWrapper, getIn, setIn } from 'formik' import { LocalizationProvider } from '@material-ui/pickers' import DateFnsUtils from '@date-io/date-fns' import { FormField } from '../fields/FormField' import { FormProps, FormContext, FormFieldTypes, For...
import { Injectable } from '@angular/core'; import { Headers, Http } from '@angular/http'; import 'rxjs/add/operator/toPromise'; import { Hero } from '../classes/hero'; @Injectable() export class HeroService { private headers = new Headers({ 'Content-Type': 'application/json' }); private heroesUrl = 'api/he...
import VPagination from '../VPagination' import { mount, MountOptions, Wrapper, } from '@vue/test-utils' import Vue from 'vue' Vue.prototype.$vuetify = { rtl: false, icons: { values: { next: 'mdi-chevron-right', prev: 'mdi-chevron-left', }, }, lang: { t: str => str, }, } descri...
import {TypeORMError} from "./TypeORMError.ts"; /** * Thrown when user tries to build a query with RETURNING / OUTPUT statement, * but used database does not support it. */ export class ReturningStatementNotSupportedError extends TypeORMError { constructor() { super( `OUTPUT or RETURNING cla...
import React from 'react'; import { History } from 'history'; import Grid from '@material-ui/core/Grid'; import { Switch, Route, Redirect } from 'react-router'; import { styled } from '@material-ui/core/styles'; import styles from './Account.css'; import { logger } from '$Logger'; import { Stepper, StepperPage } from...
import React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import styled from 'styled-components/macro'; import _ from 'lodash'; import { AppDispatch } from 'store'; import { WalletType } from 'enums'; import { LocalizationProps } from 'types'; import { withLocalizat...
import * as path from 'path'; import * as net from 'net'; import * as sfs from 'fs'; import * as assign from 'lodash.assign'; import 'rxjs/add/observable/of'; import 'rxjs/add/observable/merge'; import 'rxjs/add/operator/pluck'; import 'rxjs/add/operator/reduce'; import { Observable } from 'rxjs/Observable'; import { ...
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-nocheck import { Button, CircularProgress, FormControlLabel, TextField, Typography } from "@material-ui/core"; import Accordion, { AccordionProps } from "@mzawadie/components/Accordion"; import { useChannelsSearch } from "@mzawadie/components/Channels...
import { DefaultToastOptions, Toast } from './types'; export declare enum ActionType { ADD_TOAST = 0, UPDATE_TOAST = 1, UPSERT_TOAST = 2, DISMISS_TOAST = 3, REMOVE_TOAST = 4, START_PAUSE = 5, END_PAUSE = 6 } declare type Action = { type: ActionType.ADD_TOAST; toast: Toast; } | { ...
import { BelongsTo, BelongsToCreateAssociationMixin, BelongsToGetAssociationMixin, BelongsToSetAssociationMixin, DataTypes, FindOptions, Model, } from 'sequelize'; import { sequelize } from '../connection'; export class User extends Model { public static associations: { group: B...
import {Component, Inject, OnInit, Optional} from '@angular/core'; import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material'; export type AlertType = 'primary' | 'accent' | 'warn'; export interface MatAlertDialogData { title?: string; icon?: string; type?: string; message: string; okTextButton?: strin...
import React from 'react' import { Story, ComponentMeta } from '@storybook/react' import { ScrollableTabSetProps, TabSetItem, TabSet, TabSetProps } from '.' export default { component: TabSet, subcomponents: { TabSetItem }, title: 'Tab Set', parameters: { actions: { argTypesRegex: '^on.*' }, layout: '...
import { Component, OnInit, Inject } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ selector: 'app-json-dialog', templateUrl: './json-dialog.component.html', styleUrls: ['./json-dialog.component.scss'], }) export class JsonDialogComponent implements OnInit { const...
import { ElementRef } from '@angular/core'; export interface PositioningOptions { /** The DOM element, ElementRef, or a selector string of an element which will be moved */ element?: HTMLElement | ElementRef | string; /** The DOM element, ElementRef, or a selector string of an element which the element will...
import * as cloudwatch from '@aws-cdk/aws-cloudwatch'; import * as ec2 from '@aws-cdk/aws-ec2'; import * as iam from '@aws-cdk/aws-iam'; import { ConstructNode, IResource, Resource } from '@aws-cdk/core'; import { AliasOptions } from './alias'; import { EventInvokeConfig, EventInvokeConfigOptions } from './event-invoke...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { css } from '@emotion/core'; import { FontWeights, FontSizes } from 'office-ui-fabric-react/lib/Styling'; import { NeutralColors } from '@uifabric/fluent-theme'; export const ContentHeaderStyle = css` padding: 5px 20px; height: 60px...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_UY" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Freakcoin</source> <translation type="unfinished"/> </message> <message> <location l...
import * as ts from 'typescript'; import NodeMutator, { NodeReplacement } from './NodeMutator'; export default class ObjectLiteralMutator extends NodeMutator<ts.ObjectLiteralExpression> { public name = 'ObjectLiteral'; public guard(node: ts.Node): node is ts.ObjectLiteralExpression { return node.kind === ts....
import axios, { AxiosRequestConfig, AxiosResponse } from "axios"; interface BaseRequestConfig extends AxiosRequestConfig { // For now, it's just a clone of AxiosRequestConfig } /** * Performs a GET operation against our backend * @param url {string} The request URL * @param config The request configuration * @r...
import { Injectable } from '@nestjs/common'; import { hash } from 'bcrypt'; import { AccountEntity } from '../../src/core/account/account.entity'; import { AuthService } from '../../src/core/auth/auth.service'; import { ResetPasswordTokenService } from '../../src/core/reset-password-token/reset-password-token.service'...
// *** 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 { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; /*...
let target_num = 0 Sentry.Begin(sentry_mode_e.kI2CMode,0x60) Sentry.VisionSetStatus( SentryStatus.Enable, sentry_vision_e.kVisionCard) Sentry.LedSetColor( sentry_led_color_e.kLedBlue, sentry_led_color_e.kLedGreen) basic.forever(function () { target_num = Sentry.Detected( sentry_vision_e.kVisionCard) serial.writ...
import { BeforeUpdate, Column, Entity, PrimaryGeneratedColumn } from 'typeorm'; @Entity() export class BaseEntity { @PrimaryGeneratedColumn() id: number; @Column({ type: 'timestamptz', default: () => 'CURRENT_TIMESTAMP' }) createdAt: Date; @Column({ type: 'timestamptz', default: () => 'CURRENT_TIMESTAMP' }...
export const renderGuestText = `<div style=" width: 550px; height: auto; border-radius: 5px; margin: 0 auto; border: 1px solid #ffb0b0; box-shadow: 0px 0px 20px #888888; position: relative; padding-bottom: 5px; " > <div style=" background-image: url(https://i.loli.net/201...
import { CreateOneUserInputType } from './create-one-user.input-type'; describe('CreateOneUserInputType', () => { it('should be defined', () => { expect(CreateOneUserInputType).toBeDefined(); expect(new CreateOneUserInputType).toBeDefined(); }); describe('should define field', () => { const objectType = new ...
/*! * Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Amazon Software License (the "License"). You may not use this file except in compliance with the License. A copy of * the License is located at * http://aws.amazon.com/asl/ * or in the "license" file accompa...
import * as React from 'react' import cx from 'classnames' import { TeamsProcessedSvgIconSpec } from '../types' import { teamsIconClassNames } from '../teamsIconClassNames' export default { icon: ({ classes }) => ( <svg role="presentation" focusable="false" className={classes.svg} viewBox="8 8 16 16"> <g> ...
import React, { Component } from 'react'; const styles = { wrapper: { display: flex, width: '100px', height: '40px', }, }; interface IProps {}; interface IState {}; class Component extends Component<IProps, IState> { public render() { return ( <div style={styles.wrapper}> {this.pr...
import { ModelType } from "skinview-utils"; import { BoxGeometry, DoubleSide, FrontSide, Group, Mesh, MeshBasicMaterial, Object3D, Texture, Vector2 } from "three"; function setUVs(box: BoxGeometry, u: number, v: number, width: number, height: number, depth: number, textureWidth: number, textureHeight: number): void { ...
export const mockUserSettingService = (): any => { const toDTO = jest.fn(() => true); return { findByUserId: jest.fn(async (id: string) => ([{ toDTO }])), findByUserIdAndType: jest.fn(async (id: string, type: string) => ({ toDTO })), findByUserIdAndTypeOrDefault: jest.fn(async (id: string, type: string)...
/* * @Author: your name * @Date: 2020-01-24 11:03:54 * @LastEditTime: 2020-06-06 08:49:42 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: /minapp-fetch/src/fetch/data/delete.ts */ import {mysqlConnect} from '../utils/dbMysql' import {changeSqlParam, isJson} from '../uti...
import { render } from '@testing-library/react' import * as React from 'react' import { StyleProvider } from '../StyleProvider/StyleProvider' import Divider from './Divider' describe('component: Divider', () => { test('Should render HR element', () => { const { container } = render( <StyleProvider> ...
import { ICommon, INextjsHelper } from '../../../../typings'; export declare const addRoute: (answers: ICommon.IAnswers, IAddRoutesReplaceParams: INextjsHelper.IAddRoutesReplaceParams) => void;
import { BaseViewModel } from 'shared/view-models'; import { action, makeObservable } from 'mobx'; import { SingleClass } from 'pages/home/models'; import { httpService } from 'shared/services'; import { HttpError, HomepageError } from 'shared/errors'; import { CreateClassForm } from './models'; export class CreateCla...
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { RouterModule } from '@angular/router'; import { JhiLanguageService } from 'ng-jhipster'; import { JhiLanguageHelper } from 'app/core'; import { BlogSharedModule } from 'app/shared'; import { ProductComponent, ProductDetailComponent, Produ...
import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges, ViewChild } from '@angular/core'; import { FormControl, UntypedFormGroup, Validators } from '@angular/forms'; import { IonInput, IonRadio } from '@ionic/angular'; import { formNexInAnimation } from '@sneat/animations'; import { createSetFocusToI...
import {AfterViewInit, Component, Input, OnInit, ViewChild} from '@angular/core'; import { GetBasicComponentQuery, GetComponentQuery, GetInterfaceQuery, UpdateComponentInput, UpdateComponentInterfaceInput } from '../../generated/graphql'; import {FormControl, Validators} from '@angular/forms'; import {ListId,...
import * as chalk from 'chalk' /** * @author AliSawari <github.com/AliSawari> * @description This module is just a syntactic sugar for the module chalk * @license MIT * @example chalker('red','bgWhite')('Hello', 'World') **/ export default function chalker():Function { // let args:string[] = arguments let chain:st...
import "../../../jest.setup" import { render, fireEvent } from "react-testing-library" import { motion } from "../" import * as React from "react" import styled from "styled-components" describe("motion component rendering and styles", () => { it("renders", () => { const { container } = render(<motion.div ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { IonicModule } from '@ionic/angular'; import { AboutComponent } from './about.component'; describe('AboutComponent', () => { let component: AboutComponent; let fixture: Compone...
import * as gulp from "gulp" import * as gutil from "gulp-util" import chalk from "chalk" import * as rename from "gulp-rename" const uglify_es = require("uglify-es") const uglify = require("gulp-uglify/composer") import * as sourcemaps from "gulp-sourcemaps" import * as paths from "../paths" import * as fs from "fs" i...
import { action } from '@storybook/addon-actions'; const urlLogger = action('Routing state'); interface MemoryState { [key: string]: string | number; } export class MemoryRouter { private _memoryState: MemoryState; constructor(initialState: MemoryState = {}) { this._memoryState = initialState; } write(...
import { createConnection } from 'net'; import type { Socket } from 'net'; import * as encoder from './encoder'; import * as decoder from './decoder'; export default class SpideyDbClient { private host = 'localhost'; private port = 6425; private socket?: Socket; private handleServerConnection(): void { co...
// @generated by protobuf-ts 2.0.7 with parameter long_type_string // @generated from protobuf file "example_subscriber.proto" (package "proto", syntax proto3) // tslint:disable import { ServiceType } from "@protobuf-ts/runtime-rpc"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryW...
import type Rhodium from './rhodium'; import type { Msg, MsgCallback, NatsConnectionOptions, Subscription, } from 'ts-nats'; export type NatsOption = NatsConnectionOptions; export interface GemOption { natsOption?: NatsOption; name?: string; } export type Handler = ( this: Rhodium, head: { err: Parameters<...
import { storiesOf } from '@storybook/react' import * as React from 'react' import Sidebar from './Sidebar' storiesOf('Components/Sidebar', module).add('normal', () => <Sidebar />)
export const REQUEST_INITIAL_DATA = "request-initial-data" export const RECOIL_STATE_UPDATE = "recoil-state-update" export const REUQEST_OPEN_WINDOW = "request-open-window" export const UPDATE_IS_PLAYING_STATE = "update-is-playing-state" export const EPG_MANAGER = { REGISTER: "epg-manager-register", UNREGISTER: "ep...
import { withTracker } from '../../lib/ReactMeteorData/ReactMeteorData' import { MeteorReactComponent } from '../../lib/MeteorReactComponent' import * as React from 'react' import { Piece, Pieces } from '../../../lib/collections/Pieces' import { SourceLayerType, ISourceLayer, CameraContent, RemoteContent } from 'tv-aut...
/* Copyright 2015 The TensorFlow Authors. 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 applicable law or a...
/** * Git Graph generates an event when it is installed, updated, or uninstalled, that is anonymous, non-personal, and cannot be correlated. * - Each event only contains the Git Graph and Visual Studio Code version numbers, and a 256 bit cryptographically strong pseudo-random nonce. * - The two version numbers recor...
import React, { useState } from 'react' import { PropertyFilter } from './PropertyFilter' import { AnyPropertyFilter, PropertyFilter as PropertyFilterType } from '~/types' import { Button } from 'antd' import { useActions } from 'kea' import { Popover, Row } from 'antd' import { CloseButton } from 'lib/components/Close...
import 'google-closure-library/closure/goog/i18n/numberformatsymbols'; import alias = goog.i18n.NumberFormatSymbols_ky; export default alias;
// *** 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 { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; /*...
export interface IEdgeMediaToParentComment { count?: number; page_info?: { has_next_page: boolean; end_cursor: string | null; }; edges: unknown; }
export class Calc { static sumOfNumbers (numbers: number[]): number { if (numbers.length === 0) { return 0 } return numbers.reduce((acc: number, num: number) => acc + num, 0) } static getIntByRange (min: number, max: number): number { return Math.floor(Math.random() * (max - min + 1)) + mi...
import * as fs from 'fs/promises'; import { createDefaultFactories } from './default-generators'; import { processAsync } from './entity-scaffold'; import { FirestoreOutputHandler } from './firestore-handler'; import { lucidCsvInputHandler } from './lucid-csv'; import { TypeHubOutputHandler } from './typehub-handler'; ...
import * as React from "react"; import { IEmojiProps } from "../../styled"; const SvgTransportAir13 = (props: IEmojiProps) => ( <svg viewBox="0 0 72 72" width="1em" height="1em" {...props}> <path fill="#9B9B9A" d="M43.224 23.599L37.7 22.78l-21.3-3.547a8.018 8.018 0 00-6.97 2.234L5.85 25.04a1 1 0 00.4...
import { Component, OnInit } from '@angular/core'; import {ActivatedRoute, Router} from '@angular/router'; import {UsuarioService} from '../Servicios/usuario.service'; import {Usuario} from '../Interfaces/usuario'; @Component({ selector: 'app-galapagos', templateUrl: './galapagos.component.html', styleUrls: ['./...
import React from 'react'; import { shallow } from 'enzyme'; import { PrettyDate } from '../PrettyDate'; describe('PrettyDate', () => { it('should display the date', async () => { const component = shallow(<PrettyDate date="2020-06-07T11:53:32.000Z" />); expect(component).toMatchSnapshot(); }); });
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { FormlyModule } from '@ngx-formly/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from '....
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information. /// <reference path="../SearchBox/SearchBox.ts"/> /// <reference path="../CommandButton/CommandButton.ts"/> /// <reference path="../ContextualHost/ContextualHost.ts"/> /** * Comma...
// Import Library import { HttpException, HttpStatus, Injectable } from '@nestjs/common'; //Import DTOs import { MailSendRequest } from '@dtos/mailer/mail-send.request'; //Import Utilities import DatetimeUtil from '@utilities/datetime.util'; //Configs const sendGridMail = require('@sendgrid/mail'); /** * @author L...
import { One, Aex, http } from "../src/index"; test("One should put instances and get them correctly", async () => { class A { @http("/aa") public a() { return "aa"; } @http("/ab") public b() { return "ab"; } } class B { @http("/ba") public a() { return "ba"; ...
import * as React from 'react'; import { getNativeElementProps, resolveShorthand } from '@fluentui/react-utilities'; import type { InputProps, InputSlots, InputState } from './Input.types'; /** * Array of all shorthand properties listed as the keys of InputSlots */ export const inputShorthandProps: (keyof InputSlots...
import { Component } from '@angular/core'; @Component({ selector: 'angularlicious-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent { title = 'web-app-with-options'; }
import { Time } from './timepicker.models'; export declare function isValidDate(value?: string | Date): boolean; export declare function toNumber(value: string | number): number; export declare function isNumber(value: any): value is number; export declare function parseHours(value: string | number, isPM?: boolean): nu...
import React from 'react'; import './StudioPaletteBar.scss'; import BarPalette from '../../BarPalette/BarPalette'; import { paletteType } from '../../../types'; interface Props { palette: paletteType; } const StudioPaletteBar: React.FC<Props> = ({ palette }) => ( <> { palette.Vibrant && <div className="b...
import { SimpleEventDispatcher } from "strongly-typed-events"; import { NotifyPropertyChanged } from ".."; import Document from "./document"; import Serializable from "./serializable"; export default abstract class SubDocument extends Serializable implements NotifyPropertyChanged { onPropertyChanged: SimpleEventDis...
import { Country, LoadCountriesResponse, LoadCountryResponse, ResponseError, GRAPHQL_ENDPOINT, HEADERS, GraphqlOperationName, } from '@shopify/address-consts'; import query from './graphqlQuery'; export const loadCountries: ( locale: string, ) => Promise<Country[]> = memoizeAsync(async (locale: string...
<TS language="de" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Rechtsklick um Adresse oder Bezeichnung zu bearbeiten</translation> </message> <message> <source>Create a new address</source> ...
import {createFilter} from '@rollup/pluginutils'; import {Plugin} from 'rollup'; import * as transformAst from 'transform-ast'; export interface PostcssLitOptions { include?: string | string[]; exclude?: string | string[]; } const escape = (str: string): string => str .replace(/`/g, '\\`') .replace(/\\(?!`)/g...
import {MobileConfig} from '../configs/wdio.shared.conf'; const locatorStrategy = (selector: string) => { return driver.isIOS ? `id=${selector}` : `//*[@content-desc="${selector}"]`; }; const restartApp = async () => { if (!(driver.config as MobileConfig).firstAppStart) { await driver.reset(); } // Set th...
// @name: Truefi Channel // @version: 1.0 import { Service, Inject } from 'typedi'; import config from '../../config'; import showrunnersHelper from '../../helpers/showrunnersHelper'; import { ethers, logger } from 'ethers'; import PQueue from 'p-queue'; import epnsHelper, {InfuraSettings, NetWorkSettings, EPNSSetting...
import { AcceptInputDeviceTransferCommandInput, AcceptInputDeviceTransferCommandOutput, } from "../commands/AcceptInputDeviceTransferCommand"; import { BatchDeleteCommandInput, BatchDeleteCommandOutput } from "../commands/BatchDeleteCommand"; import { BatchStartCommandInput, BatchStartCommandOutput } from "../comma...
import { Component, Injector } from '@angular/core'; import { MemberData, FormMemberComponent } from '@siplay/ng-dynamic-forms'; @Component({ selector: 'privacy-field', templateUrl: './privacy.field.component.pug' }) export class PrivacyFieldComponent extends FormMemberComponent { public links: any = { ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SharedModule } from './../shared/shared.module'; import { KometSalesRoutingModule } from './kometsales-routing.module'; import { ProductListComponent } from './components/product-list/product-list.component'; import { Pro...
import { QuasarConfigModule } from './quasar-config.module'; describe('QuasarConfigModule', () => { let quasarConfigModule: QuasarConfigModule; beforeEach(() => { quasarConfigModule = new QuasarConfigModule(); }); it('should create an instance', () => { expect(quasarConfigModule).toBeTruthy(); }); ...
import { Structure as _Structure_ } from "@aws-sdk/types"; export const _Elevation: _Structure_ = { type: "structure", required: ["unit", "value"], members: { unit: { shape: { type: "string" } }, value: { shape: { type: "float" } } } };
/** Directives for creating admonitions, also known as call-outs, * for including side content without significantly interrupting the document flow. */ import type Token from "markdown-it/lib/token"; import { Directive, IDirectiveData } from "./main"; /** Directives for admonition boxes. * * Apdapted from: docutils...
import React, { Fragment, useState } from 'react'; import styled from '@emotion/styled'; import Button from '@atlaskit/button'; import AddIcon from '@atlaskit/icon/glyph/editor/add'; import Tooltip, { PositionType, TooltipPrimitive } from '../../src'; const VALID_POSITIONS: PositionType[] = [ 'mouse', 'top', ...
export * from './ControlsBase.js'; export * from './ControlsCamera.js'; export * from './ControlsHelper.js'; export * from './ControlsInteractive.js'; export * from './HelperMaterial.js'; export * from './Pointers.js'; //# sourceMappingURL=index.d.ts.map
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient"; import { ListTasksRequest, ListTasksResponse } from "../models/index"; import { deserializeAws_json1_1ListTasksCommand, serializeAws_json1_1ListTasksCommand } from "../protocols/Aws_json1_1"; import { getSerdePlugin...
import { UserIdParams, UserResponse } from '@shared/api'; import { getRoute } from '.'; import { db } from '../database'; export const getUserRoute = () => getRoute<UserResponse, UserIdParams>('/get-user', async (req, res) => { const [user] = await db.any('SELECT * FROM users WHERE user_id = $1', [ req.que...