text
stringlengths
10
953k
import * as React from 'react'; import { StyledIconProps } from '../../StyledIconBase'; export declare const CursorDimensions: { height: number; width: number; };
import { Document } from 'mongoose'; export interface User extends Document { name: string; email: string; password: string; salt: string; } export interface CleanUser { name: User['name']; email: User['email']; } export interface CreateUserDTO { name: User['name']; email: User['email']; password: ...
export { Query as QueryAnnotation, Attribute as AttributeAnnotation, } from '../annotations_impl/di';
import * as React from 'react' import createSvgIcon from './utils' //tslint:disable export default createSvgIcon( <g> <path fill="none" d="M0 0h24v24H0z" /> <path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z" /> </g>, 'IcSchool' )
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import { StanClientModuleOptions } from './interfaces'; import { STAN_CLIENT_MODULE_OPTIONS } from './stan-client.constants'; export function createStanClientProvider( options: StanClientModuleOptions ): any[] { return [{ provide: STAN_CLIENT_MODULE_OPTIONS, useValue: options || {} }]; }
/// { bareModuleRewrite: 'pikacdn' } import * as typescript from 'typescript' console.log(typescript)
import faker from 'faker'; import moment from 'moment'; import bcrypt from 'bcryptjs'; import { EGender, EGraphQlErrorCode, ETokenType, EUserRole, IUser } from '../../src/types'; import { setupTestDB, setupTestServer, userUtil } from '../utils'; import server from '../../src/graphql'; import { gql } from 'apollo-server...
import getUniqueId from '../getUniqueId'; jest.mock('nanoid/non-secure', () => ({ customAlphabet: (_, len) => () => 'x'.repeat(len) })); test('#getUniqueId', () => { expect(getUniqueId()).toBe('xxxxxxxxxx'); expect(getUniqueId().length).toBe(10); });
import {NzMessageService, NzModalRef} from 'ng-zorro-antd'; import {Component, OnInit, Inject, ViewChild,Input} from '@angular/core'; import {_HttpClient} from '@delon/theme'; import { TokenService, DA_SERVICE_TOKEN, } from '@delon/auth'; @Component({ selector: 'first-visit', templateUrl: './first-visit.compon...
import { CommandMap } from "../types"; /** * Returns a flat array of commands that can be activated by the keyboard. * When keydowns happen, these commands 'handleKeyCommand' will be executed, in this order, * and the first that returns true will be executed. */ export declare function extractKeyActivatedCommands(c...
/* * For a detailed explanation regarding each configuration property and type check, visit: * https://jestjs.io/docs/en/configuration.html */ export default { // All imported modules in your tests should be mocked automatically // automock: false, // Stop running tests after `n` failures bail: true, //...
import {GraphQLRequest, Operation} from 'apollo-link'; export type MockGraphQLResponse = Error | object; export type MockGraphQLFunction = ( request: GraphQLRequest, ) => MockGraphQLResponse; export type GraphQLMock = | {[key: string]: MockGraphQLResponse | MockGraphQLFunction} | MockGraphQLFunction; export int...
namespace Flexagonator { // draw possible flexes & create buttons that understand the associated flexes export function drawPossibleFlexes(ctx: CanvasRenderingContext2D, regions: RegionForFlexes[], height: number): ScriptButtons { const buttons = new ButtonsBuilder(); ctx.font = height + "px sans-serif";...
import {Comment as ProtoComment, User as ProtoUser} from '../../pb/imgtrip_pb' import { Album as ProtoAlbum, Image as ProtoImage, Post as ProtoPost, ImageVote as ProtoImageVote, ImageTag as ProtoImageTag, Review as ProtoReview, } from '../../pb/imgtrip_pb' import {AuthState} from '../redux/auth' export int...
// package: google.ads.googleads.v1.enums // file: google/ads/googleads/v1/enums/campaign_shared_set_status.proto import * as jspb from "google-protobuf"; import * as google_api_annotations_pb from "../../../../../google/api/annotations_pb"; export class CampaignSharedSetStatusEnum extends jspb.Message { serializeB...
import * as PropTypes from 'prop-types' import * as React from 'react' import * as customPropTypes from '@fluentui/react-proptypes' import * as _ from 'lodash' import { Accessibility, tabBehavior } from '@fluentui/accessibility' import { childrenExist, createShorthandFactory, UIComponentProps, ChildrenComponen...
/* -------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * ----------------------------------------------------------------...
import { of } from 'rxjs'; export class SigninKeyDataServiceMock { getSigningKeys() { return of(null); } }
import { allImport, client, DBInit, IEvent, config } from "./bot"; const main = async () => { // イベント登録 for (const e of await allImport("events") as IEvent[]) { client[e.once ? "once" : "on"](e.name, (...args) => e.execute(...args).catch(console.error)); } await DBInit(); await client.login...
import { expect } from 'chai'; import * as Dictionaries from './Dictionaries'; import { getDefaultSettings } from '../Settings'; describe('Validate getDictionary', () => { it('tests that userWords are included in the dictionary', () => { const settings = { ...getDefaultSettings(), w...
export { processStaticImages } from './process-static-images';
import '@alifd/next/lib/dialog/style'
import { Rule, TypeSelector } from '../cssRules'; import { contrastColorVar } from './vars'; import { monospaceFontsLines } from '../../monospaceFonts'; export const fontRule = new Rule(new TypeSelector('body'), [ {property: 'color', value: contrastColorVar}, {property: 'font-family', value: monospaceFontsLine...
import {Component, OnInit, Input} from '@angular/core'; import {FormData} from "../../../domain/service-view-bean"; import {Messages} from "../../messages"; import {AbstractRegisteredService} from "../../../domain/registered-service"; import {Data} from "../data"; @Component({ selector: 'app-attribute-release-checks...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="th_TH" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About PirateBlocks</source> <translation type="unfinished"/> </message> <message> <locatio...
import React from 'react'; import cx from 'classnames'; /* eslint-disable react/button-has-type */ export type Props = React.ButtonHTMLAttributes<HTMLButtonElement> & { children: React.ReactChild; className?: string; }; export const Button: React.FC<Props> = ({ children, className, ...props }: Props) => ( ...
/* eslint-env jest */ import * as RPCChatTypes from '../../types/rpc-chat-gen' import {serviceMessageTypeToMessageTypes} from '../message' const cases = [ {in: RPCChatTypes.MessageType.none, out: []}, {in: RPCChatTypes.MessageType.text, out: ['text']}, {in: RPCChatTypes.MessageType.attachment, out: ['attachment'...
import { BadRequestException, Controller, Delete, Get, Param, Post, Query } from '@nestjs/common'; import { InspectionTimeService } from './inspection-time.service'; @Controller('inspection-time') export class InspectionTimeController { constructor(private inspectionTimeService: InspectionTimeService) {} @Get() ...
import { DataType } from '../data-type'; import { ChronoUnit, LocalDate } from '@js-joda/core'; // globalDate is to be used for JavaScript's global 'Date' object to avoid name clashing with the 'Date' constant below const globalDate = global.Date; const EPOCH_DATE = LocalDate.ofYearDay(1, 1); const Date : DataType = ...
import { NumberAttribute } from './NumberAttribute'; export declare class NumberAttributeBag { private _values; private _calculatedValue; getSaveObject(): any; constructor(numAttributes?: NumberAttribute[]); getValue(): number; getAttributeList(): NumberAttribute[]; private calculateValue; ...
import React, { useEffect, useState } from 'react'; import { Checkbox, List } from 'antd'; import { CheckboxGroupProps } from 'antd/lib/checkbox'; import { CheckboxValueType } from 'antd/lib/checkbox/Group'; import { uniqueId } from 'lodash'; import { Wrapper } from './Styled'; import { OptionsConfigType, OptionType } ...
import React, {useContext, useEffect, useState} from 'react'; import AuthContext from '../../components/auth/AuthContext'; import API from '../../api/API'; import sidebarStyles from '../../css/profile/SideBarComponent.module.css'; import commonStyles from '../../css/Common.module.css'; const SideBarComponent = (props:...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="en"> <context> <name>AddressBookPage</name> <message> <location filename="../forms/addressbookpage.ui" line="+67"/> <source>Right-click to edit address or label</source> <translation>Right-click to edit addr...
import { Dispatch, SetStateAction, useCallback, useContext, useState } from 'react' import Router from 'next/router' import { Row, Col, Nav, NavItem, NavLink, TabContent, TabPane } from 'reactstrap' import { Auth } from '@aws-amplify/auth' import { phemeLogin } from 'helpers/phemeLogin' import {...
const config: any = { prefix: 'j' } export default config
/** * @author David G. */ ///<reference path="./../../src/tsnode/parkingsensor/Primitive.ts"/> describe("Primitive", function () { it("Polygon - Tests the Polygon constructor and the get functions on non-null input", function () { var format : Format.FormatContainer = new Format.FormatContainer(new Form...
import * as React from 'react'; export interface DataListCheckProps extends Omit<React.HTMLProps<HTMLInputElement>, 'onChange' | 'checked'> { /** Additional classes added to the DataList item checkbox */ className?: string; /** Flag to show if the DataList checkbox selection is valid or invalid */ isVal...
import { Db } from '../db'; import { container } from '../inversify.config'; import { TYPES } from '../inversify.constants'; import { getAllJobs } from '../jobs'; import { JobServer } from '../server'; import { Logger } from '../util'; (async () => { const db = container.get<Db>(TYPES.Db); await db.init(); cons...
import React from 'react'; import AntForm, {FormItemProps} from 'antd/lib/form'; const AntFormItem = AntForm.Item; const displayName = 'Form.Item'; const Item: React.FunctionComponent<FormItemProps> = ({children, ...props}) => ( <AntFormItem data-test={displayName} {...props}> {children} </AntFormItem...
import {Client} from 'app/api'; import {SavedQuery, NewQuery} from 'app/stores/discoverSavedQueriesStore'; import DiscoverSavedQueryActions from 'app/actions/discoverSavedQueryActions'; import {t} from 'app/locale'; import {addErrorMessage} from 'app/actionCreators/indicator'; export function fetchSavedQueries(api: C...
// File generated from our OpenAPI spec declare module 'stripe' { namespace Stripe { /** * The SetupIntent object. */ interface SetupIntent { /** * Unique identifier for the object. */ id: string; /** * String representing the object's type. Objects of the sam...
import { GamePlayer, Meld, MeldType, Player, RoundConfig, ShanghaiGame, ShanghaiOptions, ShanghaiState } from 'shared' export const getDefaultConfiguration = (initialPlayer: string): ShanghaiOptions => ({ players: [{ id: 0, name: initialPlayer, isReady: false }], rounds: defaultRoun...
import { test } from 'uvu'; import * as assert from 'uvu/assert'; import { convertToTSX } from '@astrojs/compiler'; test('style is raw', async () => { const input = `<style>div { color: red; }</style>`; const output = `<Fragment> <style>{\`div { color: red; }\`}</style> </Fragment> export default function __Astro...
export * from "./FileLister";
import { Module } from '@nestjs/common'; import { StealthApiService } from './stealth-api.service'; import { StealthSocket } from './stealth-socket'; export const STEALTH_INITIAL_PORT = { slug: 'STEALTH_INITIAL_PORT', default: 47602 }; @Module({ providers: [ StealthApiService, { provide: 'STEALTH_INIT...
/* * Copyright 2021 Salto Labs Ltd. * * 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 ...
const asyncFn = <T>(response: T) => () => jest.fn(() => { return Promise.resolve(response); }); const syncFn = <T>(response: T) => () => jest.fn(() => response); const makeFns = <T>(response: T) => [asyncFn(response), syncFn(response)]; const [stringFnAsync, stringFnSync] = makeFns('unknown'); const [numberFnA...
// Conversion of Apollo Federation demo // Compare: https://github.com/apollographql/federation-demo // See also: // https://github.com/ardatan/graphql-tools/issues/1697 // https://github.com/ardatan/graphql-tools/issues/1710 // https://github.com/ardatan/graphql-tools/issues/1959 import { execute, parse } from 'graph...
import { createParamDecorator, ExecutionContext } from '@nestjs/common'; import { User } from './user.entity'; export const GetUser = createParamDecorator((data, ctx: ExecutionContext): User => { const req = ctx.switchToHttp().getRequest(); return req.user; });
export default interface ICreateUserDTO { name: string; email: string; phone: string; password: string; }
/** * Copyright (c) 2018-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { ParamDefinition as PD } from '../../../mol-util/param-definition'; import { VisualContext } from '../../visual'; import { Structure, StructureEle...
import { pagePlugin } from './pagePlugin' export default pagePlugin
import { TAnyFunction } from '../typeHelpers' interface MemoizeOptions { strategy?: MemoizeStrategy serializer?: MemoizeSerializer ttl?: number } type MemoizeStrategy = 'monadic' | 'variadic' type MemoizeSerializer = (data: unknown) => string /** * ### memoize(func, options?) * * Create a function that mem...
import { graphql, PageRendererProps, useStaticQuery } from "gatsby" import React from "react" import styled from "styled-components" import { Bio } from "../components/bio" import { Layout } from "../components/layout" import { SEO } from "../components/seo" import { MarkdownRemark } from "../graphql-types" import { Li...
import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; import { Agency } from './store/models/agency'; import { MissionType } from './store/models/mission-type'; import { Status } from './store/models/status'; @Component({ changeDetection: ChangeDetectionStrategy.OnP...
import { IInstructionOptions } from "./IInstructionOptions"; // eslint-disable-next-line @typescript-eslint/no-unused-vars import { PHPInstruction } from "./PHPInstruction"; /** * Provides options for the {@link PHPInstruction `PHPInstruction`} class. */ export interface IPHPInstructionOptions extends IInstructio...
import Page from './page'; /** * sub page containing specific selectors and methods for a specific page */ class SecurePage extends Page { /** * define selectors using getter methods */ get flashAlert (): Object { return $('#flash') } } export default new SecurePage();
/* * 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. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { SqlMa...
export * from "./req-user.decorator";
import { DirectiveWrapper, InvalidDirectiveError, TransformerPluginBase } from '@aws-amplify/graphql-transformer-core'; import { TransformerContextProvider, TransformerResolverProvider, TransformerSchemaVisitStepContextProvider, TransformerTransformSchemaStepContextProvider, } from '@aws-amplify/graphql-transfo...
// Copyright 2017-2019 @polkadot/app-transfer 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 { I18nProps } from '@polkadot/ui-app/types'; import { QueueProps } from '@polkadot/ui-app/Status/types'; import { ...
import _ from 'lodash'; import * as Highcharts from 'highcharts'; import { Data } from '../../../types'; import { X_FIELD, Y_FIELD, sleep, block } from '../../../helper'; /** * @param container * @param data */ export async function Bar(container: HTMLElement, data: Data): Promise<number> { const option = { t...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/// <reference path="./system/helpers/Globals.d.ts" /> import { app } from 'electron'; import WindowRenderers from './system/views/windows/WindowRenderers'; import Systray from './components/Systray'; import Menu from './components/Menu'; import Router from './system/routes/Router'; import Controller from './system/co...
export interface ProductType { id: number; name: string; }
import AwaitedHandler from '../AwaitedHandler'; import inspectInstanceProperties from '../inspectInstanceProperties'; import StateMachine from '../StateMachine'; import AwaitedPath from '../AwaitedPath'; import Constructable from '../Constructable'; import NodeFactory from '../NodeFactory'; import { INode, IGetRootNode...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleORight extends React.Component<IconBaseProps, any> { }
/* @internal */ namespace ts.codefix { const fixId = "convertToAsyncFunction"; const errorCodes = [Diagnostics.This_may_be_converted_to_an_async_function.code]; let codeActionSucceeded = true; registerCodeFix({ errorCodes, getCodeActions(context: CodeFixContext) { codeActionS...
import { h, FunctionalComponent, JSX } from 'preact'; interface ICheckboxProps { label: string; checked: boolean; onChange: JSX.GenericEventHandler<HTMLInputElement>; } const Checkbox: FunctionalComponent<ICheckboxProps> = (props: ICheckboxProps) => ( <label className="option-label"> <input type="ch...
import React from 'react'; import { defineMessages } from 'react-intl'; import { SEO } from '@components/SEO'; import { useIntl } from '@contexts/react-intl'; import AuthorPresentation from '@screens/Home/components/AuthorPresentation'; import { Layout } from '@components/Layout'; import { Posts } from '@screens/Home/...
import { MigrationInterface, QueryRunner, Table } from "typeorm"; export class CreateUsers1624319358800 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.createTable( new Table({ name: "users", columns: [ { nam...
import { Component, Input, OnInit, OnDestroy, ElementRef, ViewChild } from '@angular/core'; import { ViewCell } from 'ng2-smart-table'; import { timer, Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; import { getDifferenceFromTimes } from '../../@core/utils/getDifferenceFromTimes '; import Orde...
import { exec } from "child_process"; import * as fs from 'fs'; import * as path from "path"; import * as fse from 'fs-extra'; const libraryName = "common_library"; const frontendProjectName = "frontend"; const node_modulesFolder = "node_modules"; const frontendDestinationFolder = path.join(frontendProjectName,"node_m...
import { Component, ViewChild } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { ModalController, NavController, NavParams } from 'ionic-angular'; import * as _ from 'lodash'; import { Logger } from '../../../../providers/logger/logger'; // Pages import { FinishModalPage } from '....
import { DefinitionNode, EnumTypeDefinitionNode, FieldDefinitionNode, GraphQLEnumType, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLNamedType, GraphQLObjectType, GraphQLScalarType, GraphQLUnionType, InputObjectTypeDefinitionNode, InputValueDefinitionNode, InterfaceTypeDefinitionNode, ...
export interface Cat{ name: string, age: number, breed: string }
/// /// Copyright © 2016-2021 The Thingsboard Authors /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// /// Unless required by...
import { Component } from '@angular/core'; import { Observable, of } from 'rxjs'; import { FdDate } from '@fundamental-ngx/core'; import { TableDataSource, TableDataProvider, TableState, TableRowSelectionChangeEvent, TableRowToggleOpenStateEvent, TableRowsRearrangeEvent } from '@fundamental-ngx...
import { RouteProp, useNavigation, useRoute } from '@react-navigation/native' import React, { memo, useCallback, useEffect, useMemo } from 'react' import { useTranslation } from 'react-i18next' import { FlatList } from 'react-native-gesture-handler' import { Edge } from 'react-native-safe-area-context' import BackScree...
import "reflect-metadata"; import {expect} from "chai"; import {Connection} from "../../../../src/connection/Connection"; import {Repository} from "../../../../src/repository/Repository"; import {Post} from "./entity/Post"; import {Category} from "./entity/Category"; import {ConnectionOptions} from "../../../../src/con...
import { STS } from "./sts"; import { expect } from "chai"; const OSS = require("ali-oss").Wrapper; const ENV_ACCESS_KEY_ID = process.env.ACCESS_KEY_ID!; const ENV_ACCESS_KEY_SECRET = process.env.ACCESS_KEY_SECRET!; const ENV_REGION = process.env.REGION!; const ENV_BUCKET = process.env.BUCKET!; const ENV_ACS_RAM = pro...
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import React from 'react'; import { View, ViewProps, } from 'react-native'; import { render } from 'react-native-testing-library'; import { IconRegistry } fro...
import { Pipe, PipeTransform } from '@angular/core'; import { numberToChinese } from './number-to-chinese'; /** * @deprecated Will be removed in 12.0.0, Pls used [cny](/util/pipes-currency/zh#cny) pipe instead */ @Pipe({ name: 'n2c' }) export class NaNumberToChinesePipe implements PipeTransform { transform(value:...
import React from "react" import Hero from "~/components/configurable/Hero" const ProductsPage = () => { return <></> } export default ProductsPage
import React from 'react' import {Grid} from "@material-ui/core" import {makeStyles} from "@material-ui/core/styles" import {Warning} from "@material-ui/icons" const useStyles = makeStyles((theme) => ({ root: { height: '600px', display: 'flex', justifyContent: 'center', alignItems: 'center', flex...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/** * @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 { json, workspaces } from '@angular-devkit/core'; import * as path from 'path'; import * as v8 from 'v8'; impo...
import styled from 'styled-components' export const SContainer = styled.div` min-height: 1000px; width: 960px; margin: 0 auto; padding: 0px; position: relative; padding: 100px 0 50px 0; `;
import { v4 as uuid } from 'uuid'; const designCategory = { courses: [ { slug: 'drawing-course-for-beginners', title: 'Drawing course for beginners', }, { slug: 'learn-3d-animations', title: 'Learn 3D animations', }, { slug: 'advanced-photoshop-training', title...
import { execFile, execFileSync, ExecSyncOptions, ExecException } from "child_process"; import { existsSync } from "fs"; import createDebugger from "debug"; const debug = createDebugger("gitlog"); const delimiter = "\t"; const fieldMap = { hash: "%H", abbrevHash: "%h", treeHash: "%T", abbrevTreeHash: "%t", ...
// /src/file/request_quote/materialicons/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgRequestQuote = 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...
// Copyright 2017-2020 @polkadot/api-derive 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 { AccountId, Balance, BlockNumber } from '@polkadot/types/interfaces'; import { ITuple } from '@polkadot/types/types...
import { ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core'; import { NzUpdateHostClassService } from '../core/services/update-host-class.service'; export declare class NzDividerComponent implements OnChanges, OnInit { private el; private cd; private updateHo...
'use strict'; import * as vscode from 'vscode'; import { EmmetCompletionItemProvider } from './emmetCompletionProvider' import { expandAbbreviation, wrapWithAbbreviation } from './abbreviationActions' import { removeTag } from './removeTag'; import { updateTag } from './updateTag'; import { matchTag } from './matchTag...
import { GQL_MutationResolvers } from 'graphql-resolvers'; export const multipleUploadResolver: GQL_MutationResolvers['multipleUpload'] = async (_, { files }) => { const multipleFiles = await Promise.all( files.map(async (file) => { const { createReadStream, filename, mimetype, encoding } = await file; ...
import { Logger } from '../../../../cli'; import { CommandError, CommandOption } from '../../../../Command'; import config from '../../../../config'; import GlobalOptions from '../../../../GlobalOptions'; import request from '../../../../request'; import Utils from '../../../../Utils'; import SpoCommand from '../../....
import { Board, Color } from '@gobstones/gobstones-core'; import { describe, expect, it } from '@jest/globals'; import { given, p } from './helpers'; import { GBBParsingErrors } from '../src/index'; describe('GBB.parse', () => { given('a valid grammar', () => { it('Parses minimal GBB with format size and ...
export declare const isFunction: (arg: unknown) => arg is (...args: any[]) => any; export declare const isRegExp: (arg: unknown) => arg is RegExp; export declare function readAllFile(root: string, reg?: RegExp): string[];
export const enum CreateNewRobotAvatar { CHANGE_AUTOMATION = 'createNewRobotAvatar/CHANGE_AUTOMATION', CHANGE_AVATAR_LANGUAGE = 'createNewRobotAvatar/CHANGE_AVATAR_LANGUAGE', CHANGE_AVATAR_NAME = 'createNewRobotAvatar/CHANGE_AVATAR_NAME', SHOW_AVATAR_IMAGE_SELECT = 'createNewRobotAvatar/SHOW_AVATAR_IMAGE_SELECT...