text
stringlengths
10
953k
/* tslint:disable */ /* eslint-disable */ /** * @returns {string} */ export function randomGame(): string; /** * @param {string} board * @returns {string} */ export function displayGame(board: string): string; /** * @param {string} board * @param {string} moves * @returns {string} */ export function evaluateMoves(board...
export interface Manufacturer { id: string; title: string; }
import * as i0 from "@angular/core"; import * as i1 from "./form-field"; import * as i2 from "./hint"; import * as i3 from "./prefix"; import * as i4 from "./suffix"; import * as i5 from "./cleaner"; import * as i6 from "./stepper"; import * as i7 from "@angular/common"; import * as i8 from "@ptsecurity/mosaic/icon"; e...
import { Ng2WebpackDemoPage } from './app.po'; describe('ng2-webpack-demo App', function() { let page: Ng2WebpackDemoPage; beforeEach(() => { page = new Ng2WebpackDemoPage(); }); it('should display message saying app works', () => { page.navigateTo(); expect(page.getParagraphText()).toEqual('app ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { PhotoPreviewComponent } from './photo-preview.component'; describe('PhotoPreviewComponent', () => { let component: PhotoPreviewComponent; let fixture: ComponentFixture<PhotoPreviewComponent>; beforeEach(async(() => { TestBed...
import { expect } from 'chai' import { Dispatcher, Event, Listener, ListenerBag, Middleware } from '@internal/events' describe('Dispatcher', () => { let dispatcher before(() => { dispatcher = new Dispatcher() }) afterEach(() => { dispatcher.events = {} }) it('communicates with the listener bag',...
import type { ContractDefinition } from '@balena/jellyfish-types/build/core'; export const scheduledAction: ContractDefinition = { slug: 'scheduled-action', type: 'type@1.0.0', name: 'Scheduled action', markers: [], data: { schema: { type: 'object', required: ['data'], properties: { data: { ty...
import './index.scss' import { SongListStore } from '../../../../../../../../mobx/songlist' import { observer } from 'mobx-react-lite' import AdderToggle from './components/AdderToggle' import { useState } from 'react' // 设置timer为全局变量 let timer: ReturnType<typeof setTimeout> | null = null function _Adder() { const...
/** * @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 {beforeEach, describe, expect, it} from '../../../core/testing/src/testing_internal'; import {CssAst, CssAst...
import { Module } from '@nestjs/common'; import { WalletSchema } from '@models/wallet.schema'; import { MongooseModule } from '@nestjs/mongoose'; import { TransactionsController } from './transactions.controller'; import { TransactionsService } from './transactions.service'; import { TransactionSchema } from '@models/t...
import { CdkDragHandle, CDK_DRAG_HANDLE, CDK_DRAG_PARENT, } from '@angular/cdk/drag-drop'; import { Directive, ElementRef, HostBinding, Inject, Optional, SkipSelf, } from '@angular/core'; /** * Drag handle for the {@link TsTableComponent}. * * Renders markup and */ @Directive({ selector: '[ts...
import {LaunchOptions, Page, Browser, EvaluateFn, Protocol} from 'puppeteer'; export interface Authentication { readonly username: string; readonly password?: string; } export type BeforeScreenshot = (page: Page, browser: Browser) => void; export interface ScrollToElementOptions { /** A [CSS selector](https://de...
/* * Don't delete this file, it's autogenerated by the ACL icons build script */ import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core'; import { IconBase } from '../icon-base'; /** @deprecated Use `@sbb-esta/angular-icons` instead. */ @Component({ selector: 'sbb-icon-avatar', // tslint:di...
import {charHasRotatedVerticalOrientation} from './script_detection'; export const verticalizedCharacterMap = { '!': '︕', '#': '#', '$': '$', '%': '%', '&': '&', '(': '︵', ')': '︶', '*': '*', '+': '+', ',': '︐', '-': '︲', '.': '・', '/': '/', ':': '︓', ';': '︔...
import { InanoSQLInstance } from "./interfaces"; import { InanoSQLQueryAST } from "./query2-ast"; export enum InanoSQLActions { union, graph, join, order, group, selectFull, selectIndex, selectPK, range, where, distinct, update, upsert, delete, co...
import { TransformFactory } from "../types"; import { setMetadata } from "../lib/metadata"; export interface HSBOptions { hue: string saturation: string brightness: string } export const hsb: TransformFactory<HSBOptions> = (config, ctx) => { const hue = config.hue && parseInt(config.hue) const sa...
// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; import type { AccountId, Hash } from '@polkadot/types/interfaces'; import React, { useMemo } from 'react'; import { Route, Switch } from 'react-router'; import {...
<TS language="es_DO" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Crear una nueva dirección</translation> </message> <message> <source>&amp;New</source> <translation>Nuevo</translation> </message> ...
import { action } from "@storybook/addon-actions"; import { storiesOf } from "@storybook/react"; import React from "react"; import { IntlProvider } from "react-intl"; import { AddressGrid } from "."; const onEdit = action("onEdit"); const onRemove = action("onRemove"); const setDefault = action("setDefault"); const ...
import { Component, OnInit, Input, ViewChild } from '@angular/core'; import { Post } from '../../Posts'; import { Comment } from '../../Comment'; @Component({ selector: 'app-post-item', templateUrl: './post-item.component.html', styleUrls: ['./post-item.component.css'] }) export class PostItemComponent implement...
import { Observable, ReplaySubject } from 'rxjs'; import { Component, OnDestroy, OnInit } from '@angular/core'; import * as moment from 'moment/moment'; import { BsDatepickerConfig } from 'ngx-bootstrap/datepicker'; import { ToasterService } from '../../services/toaster.service'; import { takeUntil } from "rxjs/operato...
import { memoizeFunction } from '../../Utilities'; import { ITheme, FontSizes, mergeStyleSets, HighContrastSelector } from '../../Styling'; export interface ILabelClassNames { root: string; } export const getLabelClassNames = memoizeFunction((theme: ITheme, className: string | undefined, disabled: boolean, required...
import { ViewContainerRef } from '@angular/core'; import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base'; /** * MultiLevelLabel Directive * ```html * <e-axis> * <e-multilevellabels> * <e-multilevellabel></e-multilevellabel> * </e-multilevellabels> * </e-axis> * ``` */ export declare class MultiL...
import { Component, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Params } from '@angular/router'; import { SearchConfig, StoreFinderSearchQuery, StoreFinderService, GeoPoint, } from '@spartacus/core'; import { Observable, Subscription } from 'rxjs'; import { filter, map } from 'rxjs/operat...
import { clusterApiUrl, Commitment, Connection as SolanaConnection } from '@solana/web3.js'; export enum ChainId { MainnetBeta = 101, Testnet = 102, Devnet = 103, } export const ENV: Record<string, { endpoint: string; ChainId: ChainId }> = { devnet: { endpoint: clusterApiUrl('devnet'), ChainId: ChainI...
import WebSocket from 'ws' import { PokerAction } from '@pokerhub/core' import store from './store' const port = Number(process.env.PORT) || 30762 const wss = new WebSocket.Server({ port }) function getRoom(ws: any): string { return ws.room } wss.on('connection', (ws, { url }) => { Object.assign(ws, { room: url...
import {Injectable} from "@sugoi/core"; @Injectable() export class TestService { private testNum: number; constructor(){ } setNumber(testNum){ this.testNum = testNum; return this; } getTest(){ return this.testNum; } }
import { makeCommandFromAttributes } from '../../utils/index.js' interface RosterCommandParams { cabId?: number } const rosterSendKey = 'J' export const rosterCommand: (params?: RosterCommandParams) => string = ({ cabId } = {}) => { return makeCommandFromAttributes([rosterSendKey, cabId]) }
import { ServiceException as __ServiceException__ } from "@aws-sdk/types"; /** * Placeholder documentation for TooManyRequestsException */ export interface TooManyRequestsException extends __ServiceException__<_TooManyRequestsExceptionDetails> { name: "TooManyRequestsException"; } export interface _TooManyReque...
// *** 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"; // Export members: export * from "./enterpriseInstance"; expor...
import { Request } from 'express'; import * as roleRepository from 'domains/role/role-repository'; import { wrap } from 'utils/wrap'; export const index = wrap((req: Request) => roleRepository.index(req.query).then((roles) => ({ body: { message: 'success', ...roles, }, }) ) ); export const show = wr...
import { Node } from "./node"; import { DireOctaveShift } from "./interface/direOctaveShift"; export class DireOctaveShiftNode extends Node implements DireOctaveShift { Size(): number { try { return parseInt(super.getChildNodesByName('direction-type')[0].getChildNodesByName('octave-shift')[0].g...
import { Controller, Get, Param } from '@nestjs/common'; import { ApiTags, ApiResponse } from '@nestjs/swagger'; import { Tools } from 'src/entities/tools.entity'; import { ToolsService } from './tools.service'; @ApiTags('tools') @Controller('tools') export class ToolsController { constructor( private ser...
/* * Power BI Visualizations * * Copyright (c) Microsoft Corporation * All rights reserved. * MIT License * * 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 restricti...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0"> <defauFOSodec>UTF-8</defauFOSodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About fossilcoin</source> <translation>&amp;О fossilcoin</translation> ...
import { URL } from 'url' import * as http from 'http' import * as https from 'https' import { Request } from '@/contracts/Request' import { Response } from '@/contracts/Response' import { ResponseType } from '@/enumerations/ResponseType' import { AbstractExecutor } from '@/executors/AbstractExecutor' import { Reque...
import { ItemId, ClientRelationship } from "../../types"; import { ADD_RELATIONSHIP_FOR_ITEM, REMOVE_RELATIONSHIP_FOR_ITEM, ADD_RELATIONSHIPS_FOR_ITEM, REMOVE_RELATIONSHIPS_FOR_ITEM, REMOVE_ALL_RELATIONSHIPS_FOR_ITEM, } from "./consts"; import { AddRelationshipForItemAction, RemoveRelationshipForItemAct...
export interface Country { name: string; code: string; currency: string; isEU: boolean; }
import { act, renderHook } from "@testing-library/react-hooks"; import { useHandlers } from "../src/core"; import { KeyboardEvent } from "react"; const getEvent = () => ({ stopPropagation: () => null, preventDefault: () => null } as unknown); const getKeyEvent = (key: string) => ({ ...(getEvent() as {}), key } as unkn...
// @ts-nocheck import { resolve } from 'path' import fetch from 'node-fetch' import { joinUrl, setup, teardown } from '../../_testHelpers/index' jest.setTimeout(60000) describe('Python 3 tests', () => { if (process.platform === 'darwin' || process.platform === 'win32') { it.only("skipping 'Python' tests on mac...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ro_RO" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Rapidz</source> <translation>Despre Rapidz</translation> </message> <message> <locat...
/** * @license * Copyright 2020 Google LLC * * 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 ...
import { debounceFilter, promiseTimeout } from '@vueuse/shared' import { nextTick, ref } from 'vue-demi' import { useSetup } from '../../.test' import { useStorage } from '.' const KEY = 'custom-key' describe('useStorage', () => { afterEach(() => { localStorage.clear() // @ts-expect-error localStorage.s...
import { NoSuchEntityException } from "./NoSuchEntityException"; import { InvalidInputException } from "./InvalidInputException"; export type ListPoliciesGrantingServiceAccessExceptionsUnion = | NoSuchEntityException | InvalidInputException;
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { schema } from '@kbn/config-schema'; import { RouteDependencies } fr...
import Station from './station'; import Train from './train'; import Coach from './coach'; import Wagon from './wagon'; export default class UZ { private lang: string; private auth: any; private apiBase: string; /** * Create a new UZ. * @param {string} [lang='en'] - language * @param {string} [apiBas...
import React, { useState } from 'react'; import { Box, Flex, Heading } from '@chakra-ui/core'; import { BrowserRouter as Router, Switch, Route, Link } from 'react-router-dom'; import _ from 'lodash'; import Navlink from './Navlink'; import Signup from './Signup'; import Signin from './Signin'; import Profile from '../P...
interface JQuery { autocomplete(options?: any, callback?: Function) : any; dropdown(options?: any, callback?: Function) : any; sidenav(options?: any, callback?: Function) : any; modal(options?: any, callback?: Function) : any tabs():void; tooltipped():void; closeModal():void; tooltip(options?: any, call...
import { Card } from '../../../interfaces' import Set from '../Sword & Shield' const card: Card = { name: { en: "Salazzle", fr: "Malamandre", es: "Salazzle", it: "Salazzle", pt: "Salazzle", de: "Amfira" }, illustrator: "Tomokazu Komiya", rarity: "Uncommon", category: "Pokemon", set: Set, dexId: [ ...
/* * Expo Static Fonts list file. * This file shouldn't be edited manually. Use the CLI "yarn fonts" instead. */ import { FontImport, FontConfig } from '@rianarai/ui-shared/fonts/types' export const config: FontConfig = { Kanit: { '400': { normal: 'Kanit-400', italic: 'Kanit-400Italic', }, ...
/** * Schemas in Fastify follow the JSON-Schema standard. For this reason * we have opted to not ship strict schema based types. Instead we provide * an example in our documentation on how to solve this problem. Check it * out here: */ export interface FastifySchema { body?: unknown; querystring?: unknown; p...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const faReceipt: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const ligature...
import { Container } from 'typedi'; import nodemailer from 'nodemailer'; import tmi from 'tmi.js'; import fs from 'fs'; import LoggerInstance from './logger'; import agendaFactory from './agenda'; import config from '../config'; import tmiLoader from '../tmi/'; export default async ({ mongoConnection }: { mongoConnec...
import { AxiosRequestConfig, AxiosPromise, AxiosResponse } from '../types' import xhr from './xhr' import { buildUrl, isAbsoluteURL, combineURL } from '../helpers/url'; import { transformRequest } from '../helpers/data' import { processHeaders, flattenHeaders } from '../helpers/headers' import { transformResponseData }...
import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core'; import { DataSource } from '@angular/cdk/collections'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/observable/of'; import { SubredditStats } from '../../models/subreddit-stats'; import { ApiService } from '../../serv...
import { Component } from '@angular/core'; @Component({ selector: 'app-list-view-grid-demo', templateUrl: './list-view-grid-demo.component.html', }) export class ListViewGridDemoComponent { public data: any[] = [ { id: '1', name: 'Niels Bohr', email: 'niels.bohr@example.com', amount: ...
// Format with prettier, if there exists a prettier plugin async function formatWithPrettier(str: string): Promise<string> { try { // tslint:disable-next-line:no-implicit-dependencies const prettier = await import('prettier'); return prettier.format(str, { parser: 'markdown' }); } catch { return str...
import { NgModule/*, ModuleWithProviders*/ } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { FabricFilterComponent } from './fabric-filter.component'; @NgModule({ imports: [CommonModule, FormsModule], exports: [FabricFilterComponent], ...
import { Resolver, Mutation, Args } from '@nestjs/graphql'; import { AuthService } from './auth.service'; import { User } from '../types/user'; import { UserService } from '../user/user.service'; import { Payload } from '../types/payload'; import { AuthType } from '../models/auth.type'; import { UserRoles } from '../sh...
import React from 'react' import FloatingWhatsApp from 'react-floating-whatsapp' import './App.css' import avatar from './logo.svg' function App() { return ( <FloatingWhatsApp phoneNumber='123456789' accountName='awran5' allowClickAway avatar={avatar} notification notification...
export interface Address { address: string index: number type: AddressType accountIndex: number } /** internal = change address & external = receipt address */ export enum AddressType { internal = 'Internal', external = 'External' }
import { Component, ViewChild } from '@angular/core'; import { TabsetComponent } from 'ngx-bootstrap'; @Component({ selector: 'demo-tabs-disable', templateUrl: './disable.html' }) export class DemoTabsDisableComponent { @ViewChild('staticTabs') staticTabs: TabsetComponent; disableEnable() { this.staticTab...
import { useState } from "react"; import { useNavigate } from "react-router-dom"; import { Auth } from "aws-amplify"; // components import { Button, Heading, Input, Stack, Text } from "@chakra-ui/react"; const useFormFields = (initialState: any) => { const [fields, setValues] = useState(initialState); return [ ...
import 'reflect-metadata' import Joi from '@hapi/joi' import { assert } from 'chai' import Optional from 'app/models/optional' import ValidationErrors from 'app/models/view/validationErrors.model' import FormValidator from 'app/utils/formValidator.util' describe('FormValidator', () => { const validator: FormValid...
<TS language="ro" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Click dreapta pentru a modifica adresa o eticheta</translation> </message> <message> <source>Create a new address</source> ...
/** * Functionality for drawing rectangles with waved edges. */ /** * ============================================================================ * IMPORTS * ============================================================================ * @hidden */ import { Rectangle, IRectangleProperties, IRectangleAdapters, IR...
/* Disclaimer: these styles do not follow a specific figma design, but are meant to be placeholders until new designs are developed */ import { tabsItemName, TabsItemType } from './TabsItem.types'; import { IComposeSettings } from '@uifabricshared/foundation-compose'; import type { IViewProps } from '@fluentui-react-n...
import * as React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import Toast from '../ToastView'; storiesOf('ToastView', module) .add('simple toast', () => <Toast>Changes saved</Toast>) .add('with action', () => ( <Toast action={{ label: 'Cancel'...
import { Scene, sceneParams } from "./scene" import { Cone, Sphere, DebugQuad, Cylinder } from "./primitives" import { PerlinTerrain } from "./terrain" import { mat4, vec3 } from "gl-matrix" import { randomPoisson, randomNormal } from "./random" export class Forest extends Scene { setup() { super.setup(); ...
import * as React from 'react'; import {RouteComponentProps} from 'react-router-dom'; import {Subscription} from 'rxjs'; import {Autocomplete, Page, SlidingPanel} from 'argo-ui'; import * as models from '../../../../models'; import {labels, Workflow} from '../../../../models'; import {uiUrl} from '../../../shared/base...
import { AxiosConfig, AxiosResponse } from "../type" export class AxiosError extends Error{ isAxiosError:boolean config:AxiosConfig code?:string|null request?:any response?:AxiosResponse constructor( message: string, config: AxiosConfig, code?: string | null, r...
import { toDataFrame } from '../../dataframe/processDataFrame'; import { concatenateFields, ConcatenateFrameNameMode } from './concat'; export const simpleABC = toDataFrame({ name: 'ABC', fields: [ { name: 'A', values: [1, 2] }, { name: 'B', values: [1, 2] }, { name: 'C', values: [1, 2] }, ], }); ex...
import { _UnmarshalledMaintenanceWindowTarget } from "./_MaintenanceWindowTarget"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * DescribeMaintenanceWindowTargetsOutput shape */ export interface DescribeMaintenanceWindowTargetsOutput extends __aws_sdk_types.MetadataBearer { /** * <p>Information abou...
import { default as CookiecordClient, Module, listener } from 'cookiecord'; import { Message } from 'discord.js'; import { rulesChannelId } from '../env'; // Most job posts are in this format: // > [FOR HIRE][REMOTE][SOMETHING ELSE] // > Hi, I'm ponyman6000. Hire me! const jobPostRegex = /^(?:\[[A-Z ]+\]){2,}\n/i; ex...
import {List as _List_} from '@aws-sdk/types'; import {_KeySchemaElement} from './_KeySchemaElement'; export const _KeySchema: _List_ = { type: 'list', min: 1, member: { shape: _KeySchemaElement, }, };
export * from '@styled-icons/octicons/Plug'
import { Author } from "./opds-author"; import { Category } from "./opds-category"; import { Link } from "./opds-link"; import { Serie } from "./opds-serie"; export declare class Entry { SchemaRatingValue: string; SchemaRatingAdditionalType: string; SchemaAdditionalType: string; Title: string; Title...
import test from "ava"; import { isTransferArray } from "../src"; test("isTransferArray() returns true for valid transfer.", t => { const transfers = [ { address: "0ce6dc815205498cde28c048104a366227c39362c06ccff93c29aa8ee1268c1f", value: 1234, message: "abcd", tag: "abcdef" } ...
// /src/social/sports_golf/materialicons/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgSportsGolf = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"> <g> <rect fill="none" height="24" width="24"/...
import { Arguments } from "../arguments"; import crypto from 'crypto'; import fs from 'fs'; import { WebmStreamEncryptor, EncryptMode } from "../WebmStreamEncryptor"; import { pipeline } from "stream"; export default (args: Arguments) => { if(!args.input) { console.error(`No value found for required parame...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MatButtonModule, MatIconModule, MatTreeModule } from '@angular/material'; import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component'; describe('<%= classify(name) %>Component', () => { let component: <%= clas...
// eslint-disable-next-line const request = require("supertest"); import app from "../src/app"; import { expect } from "chai"; describe("POST /login", () => { it("should return some defined error message with valid parameters", (done) => { return request(app).post("/login") .field("email", "joh...
import React from 'react'; import { JobTest } from 'circle-client'; import constants from '../../../../lib/constants'; import { l } from '../../lib/utils'; import NoTests from '../NoTests'; import TestResult from '../TestResult'; import './index.scss'; import CTAButton from '../CTAButton'; const TestResults = ({ vsc...
import React from "react"; import Kendra from "aws-sdk/clients/kendra"; import { Relevance } from "../../constants"; import blueThumbsUp from "../../images/blue-thumb-up.svg"; import blueThumbsDown from "../../images/blue-thumb-down.svg"; import whiteThumbsUp from "../../images/white-thumb-up.svg"; import whiteThumbsD...
import { BurgerMenu as BurgerMenuIcon, CloseLarge, SonnatThin, WeatherNightO, WeatherSunnyO } from "@sonnat/icons"; import { Container, Divider, IconButton, NoSsr, Text } from "@sonnat/ui"; import useIsMounted from "@utilityjs/use-is-mounted"; import makeStyles from "@sonnat/ui/styles/makeStyles"; import c fr...
import { Annotation } from 'src/annotations/types' interface TestAnnot extends Omit<Annotation, 'tags'> { tags?: string[] lists?: string[] hasBookmark?: boolean title: string } export const TAG1 = 'testA' export const TAG2 = 'testB' export const TAG3 = 'testC' export const LIST1 = 'testA' export cons...
/// <reference types="node" /> import { Packet } from "socket.io-parser"; import { EventParams, EventNames, EventsMap, StrictEventEmitter, DefaultEventsMap } from "socket.io/dist/typed-events"; import type { Client } from "socket.io/dist/client"; import type { Namespace } from "socket.io/dist/namespace"; import type { ...
// /src/action/view_array/materialiconstwotone/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgViewArrayTwotone = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"> <rect fill="none" height="24" width="24...
import element from '../element' import withLink, { Props } from './withLink' export default element .config({ name: 'core/link', }) .compose({ withLink, }) .attrs<Props & { onClick?: MouseEvent | (() => void) }>( ({ href, onClick }) => ({ tag: href ? 'a' : onClick ? 'button' : 'span', ...
import { gql } from '@apollo/client' export const ALL_LAUNCHES_QUERY = gql` query allLaunches($limit: Int!, $offset: Int!, $term: String!, $sort: String!) { launches(limit: $limit, offset: $offset, find: {mission_name: $term}, sort: $sort) { id mission_name launch_date_utc launch_success...
export default (SmartMirror: any) => { return async (data: Object) => { SmartMirror.updateWidget(data); await SmartMirror.saveProfile(); SmartMirror.saveConfig().then(() => { SmartMirror.io.emit("BROADCAST_MIRROR_CONFIG", SmartMirror.getConfig()); SmartMirror.io.emit("UPDATE_COMPONENT_READY"...
/** * @module index * @preferred */ export * from './auth'; export * from './services'; export * from './routes'; export * from './operations'; export * from './container'; export * from './build';
import { BadGatewayException, Body, Controller, Delete, Get, Param, Post, } from '@nestjs/common'; import { PermissionDTO } from './model/permission.dto'; import { Permission } from './permission.entity'; import { PermissionService } from './permission.service'; @Controller('permission') export class Pe...
/** * Support Management API * Use the Support Management API to manage support requests. For more information, see [Getting Help and Contacting Support](/iaas/Content/GSG/Tasks/contactingsupport.htm). **Note**: Before you can create service requests with this API, you need to have an Oracle Single Sign On (SSO) acco...
import { Schema, type } from "../src"; class PrimitiveTypes extends Schema { @type("int8") int8: number; @type("uint8") uint8: number; @type("int16") int16: number; @type("uint16") uint16: number; @type("int32") int32: number; @type("uint32") uint32: number; @type("int64") int64: number; @type("uint...
import { h, JSX } from 'preact' export type NotificationStyle = 'simple' | 'multipleLines' | 'bigText' | 'bigPicture' interface INotificationStyleFieldProps { selected: NotificationStyle onChange: (newValue: NotificationStyle) => void } export const NotificationStyleField = (props: INotificationStyleFieldPro...
import React from 'react' const Index = () => { return ( <div> <p> listvitinn </p> </div> ) } export default Index
// @ts-nocheck /* eslint-disable */ /** * Generated by the protoc-gen-ts. DO NOT EDIT! * compiler version: 3.17.3 * source: cosmos/capability/v1beta1/capability.proto * git: https://github.com/thesayyn/protoc-gen-ts */ import * as dependency_1 from "./../../../gogoproto/gogo"; import * as pb_1 from "google-protobu...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-banner-carousel', templateUrl: './banner-carousel.component.html', styleUrls: ['./banner-carousel.component.scss'] }) export class BannerCarouselComponent implements OnInit { constructor() { } ngOnInit(): void { } }
import type { ButtonBuilder } from "@discordjs/builders"; import type { EmbedBuilder, InteractionReplyOptions } from "discord.js"; import { ActionRowBuilder } from "discord.js"; import type IEnemyBase from "./IEnemyBase.js"; import type IEnemyYaml from "./IEnemyYaml.js"; import type IHasAttributes from "../attributes/I...