text
stringlengths
10
953k
/* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. */ export * from './edmx-parser'; export * from './parsed-service-metadata'; export * from './parser-util'; export * from './swagger-parser';
/* * Copyright 2020 The Backstage 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 applicable law or ...
import express from "express"; import { angular_path } from "./frontend/angular"; import { react_path } from "./frontend/react"; import frontend from "./frontend/main"; const app = express(); const port = process.env.EXPRESS_PORT || 8030; const ipaddress = process.env.EXPRESS_IP || "localhost" app.use((req, res, next...
import { expect } from 'chai' import { describe, it } from 'mocha' import * as bitcoin from 'altcoin-js' import { NetworkEnum } from '../../../../../src/common/plugin/types' import { addressToScriptPubkey, AddressTypeEnum, createTx, privateKeyToPubkey, pubkeyToScriptPubkey, ScriptTypeEnum, signTx, Tran...
/* eslint-disable @typescript-eslint/naming-convention */ interface PaginatedResponse<T> { data: T; meta: { current_rows: number; total_rows: number; rows_remaining: number; total_pages: number; pages_remaining: number; previous_page?: string; previous_pa...
describe("Sandbox", () => { before(() => { cy.visit("https://e2e-boilerplate.github.io/sandbox/"); }); it("should be on Sandbox", () => { cy.title().then((title) => { expect(title).to.eq("Sandbox"); }); cy.get("h1") .invoke("text") .then((header) => { expect(header).to.e...
import { NewsFeedItemProps, TagProps, UserCardProps, OrganizationBoxProps, EventNavigationItemProps, EventFeedItemProps, } from "@mint-vernetzt/react-components"; export type PaktDataByCategory = { [key: string]: { name: string; slug: string; logo: any; }[]; }; export const getPaktDataByCa...
import { PropType, isVue3 } from 'vue-demi' import { DraggableCoreOptions } from '../utils' import { useDraggableCore } from '../composables' const DraggableCore = defineComponent({ name: 'DraggableCore', props: { scale: { type: Number as PropType<DraggableCoreOptions['scale']>, default: 1 }, ...
import * as React from 'react'; import { composeEventHandlers } from '@radix-ui/primitive'; import { useComposedRefs, composeRefs } from '@radix-ui/react-compose-refs'; import { createContext } from '@radix-ui/react-context'; import { useControllableState } from '@radix-ui/react-use-controllable-state'; import * as Pop...
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient"; import { GetPushTemplateRequest, GetPushTemplateResponse } from "../models/index"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandler...
export { Icon } from "./Components/Icon/Icon"; export { IIconProps, IconSize } from "./Components/Icon/Icon.Props";
import styled from "styled-components"; export const StyledList = styled.ul` display: flex; flex-direction: column; margin: 0; padding: 0; `; export const StyledListItem = styled.li` height: 32px; border-bottom: 1px solid var(--gray-4); display: flex; align-items: center; height: a...
import { ChatPostMessageArguments } from '@slack/client' import { Response, Robot, SlackMessage } from 'hubot' import { SlackAdapter } from 'hubot-slack' /** * This is useful because it returns the message object with their ID * Differently from res.send which returns nothing. * * Channels defaults to the one from...
import { Logger, LogLevel } from "@pnp/logging"; import * as lodash from 'lodash'; import { sp, Web } from '@pnp/sp'; import "@pnp/polyfill-ie11"; import { Environment, EnvironmentType } from '@microsoft/sp-core-library'; import { ConfigService } from "./ConfigService"; import { Roles } from "../models/Enums"; export ...
export * from './user-profile-dropdown.component';
/* * 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. */ export interface User { id: string; [key: string]: unknown; }
export class Halls { id : string; hallName : string; capacity : Number; // resources : []; }
import { toolbelt as T, async as A } from '@jacob/core'; import * as Websocket from 'isomorphic-ws'; declare class WsClient<TPayloadByType extends WsClient.PayloadByType> { _: WsClient._<TPayloadByType>; constructor(config: WsClient.Config.Optional<TPayloadByType>); start(): T.Promise<this>; makeAction<...
import {AsyncFunctionType, promiseReduce, ReducerType,} from "./js-02-01" describe("promiseReduce", () => { const fn1: AsyncFunctionType<number> = () => { return Promise.resolve(1) } const fn2: AsyncFunctionType<number> = () => new Promise(resolve => { setTimeout(() => resolve(2), 1000) ...
// TRANSPILATION TABLES /** * Transpiles shader source code to target GLSL version * * @note We always run transpiler even if same version e.g. 3.00 => 3.00 * RFC: https://github.com/visgl/luma.gl/blob/7.0-release/dev-docs/RFCs/v6.0/portable-glsl-300-rfc.md */ export default function transpileShader(source: stri...
import { ModelInterface } from '../index'; import { AnswerModel } from './answer'; import Model from './model'; import { ResponseModel } from './response'; export interface AttendeeModel extends ModelInterface { alias(alias: string | number): this; answers(answers: AnswerModel | AnswerModel[]): this; as(identi...
import { gql } from "@apollo/client" export const ON_CREATE = gql` mutation AddBookmark($title: String!, $link: String!) { createBookmark(title: $title, link: $link) { id userId title link ts } } ` export const ON_DELETE = gql` mutation deleteBookmark($bookmarId: ID!) { ...
import {Component, Input, Injectable} from 'angular2/core'; import {Leaf} from '../components/tree/leaf' @Injectable() export class TreeService { relatives = [] }
import { ChangeDetectorRef, Component, Inject, OnInit, ViewChild } from '@angular/core'; import { Router } from '@angular/router'; import { FormGroupDirective } from '@angular/forms'; import { NbAuthService, NbLoginComponent, NB_AUTH_OPTIONS } from '@nebular/auth'; import { ElectronService } from 'ngx-electron'; import...
/** * Copyright 2020 Opstrace, Inc. * * 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 agree...
<?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 MaryJaneCoin</source> <translation>Despre MaryJaneCoin</translation> </message> <message> ...
import type { Permissions, Snowflake } from '../../globals'; import type { APIActionRowComponent, APIAllowedMentions, APIAttachment, APIChannel, APIEmbed, APIExtendedInvite, APIFollowedChannel, APIMessage, APIMessageReference, APIOverwrite, APIUser, ChannelType, InviteTargetType, MessageFlags, OverwriteType, VideoQuali...
declare module 'node:http2' { export * from 'http2'; } declare module 'http2' { import EventEmitter = require('node:events'); import * as fs from 'node:fs'; import * as net from 'node:net'; import * as stream from 'node:stream'; import * as tls from 'node:tls'; import * as url from 'node:ur...
import { Test, TestingModule } from '@nestjs/testing'; import { AppController } from './app.controller'; import { AppService } from './app.service'; describe('AppController', () => { let app: TestingModule; beforeAll(async () => { app = await Test.createTestingModule({ controllers: [AppController], ...
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; import { Observable } from 'rxjs'; import { mergeMap, take } from 'rxjs/operators'; imp...
const {ccclass, property} = cc._decorator; @ccclass export default class DragonBone extends dragonBones.ArmatureDisplay { private static frameRate: number = 30; private static dragonBoneSet: DragonBone[] = []; private static dragonBonePlayingSet: DragonBone[] = []; public static setFrameRate(frameRat...
// angular import { Component, OnInit, Inject } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { Router } from '@angular/router'; // ordercloud import { OcAuthService, OcMeService, OcTokenService, } from '@ordercloud/angular-sdk'; import { applicationConfiguration, AppC...
import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; import * as rimraf from 'rimraf'; import { KQStream } from './KQStream'; import { PlayerKill } from './models/KQStream'; interface CharacterStats { 'kills': number; 'deaths': number; } interface CabStats { 'characters': { ...
// This file has been automatically generated by writeMessageClasses.js import { MessageFlags } from '../../enums/MessageFlags'; import { MessageBase } from '../MessageBase'; import { Message } from '../../enums/Message'; export class TestMessageMessage implements MessageBase { name = 'TestMessage'; messageFl...
import { getFindOption, getQueryOptions } from './utils'; import logger from '../../logger'; import { Transaction as Entity } from '../../entity/Transaction'; import { Account } from '../../entity/Account'; /** * for transactions there is a hard limit 500 * @param query * @param accounts */ export const getAll = a...
import { useState } from 'react' import { v4 as uuidv4 } from 'uuid'; import '../styles/tasklist.scss' import { FiTrash, FiCheckSquare } from 'react-icons/fi' interface Task { id: string; title: string; isComplete: boolean; } export function TaskList() { const [tasks, setTasks] = useState<Task[]>([]); co...
export default function uniqueId(prefixes: unknown[]): string { return [ ...prefixes, Math.random().toString().replace('.', ''), ].join('-'); }
export { default as TwoToneBookmark } from './Icon';
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { HomeComponent } from './page/home/home.component'; import { TableComponent } from './page/table/table.component'; const routes: Routes = [ {path: 'home', component: HomeComponent}, {path: 'table', component:...
import { LabResponse, ListLabsResponse } from '@asap-hub/model/src/lab'; export const createLabs = ({ labs = 1 }: { labs?: number }): LabResponse[] => Array.from({ length: labs }, (_, index) => ({ id: `l${index}`, name: `Example ${index + 1}`, })); export const createListLabsResponse = (items: number): Li...
import { JSX } from 'preact'; import { useContext } from 'preact/hooks'; import { combineRules, IRenderer } from 'fela'; import { RendererContext } from 'preact-fela'; import { useTheme } from './useTheme'; /** * A port of `useFela`'s CSS helper for preact. * https://github.com/robinweser/fela/blob/master/packages/...
import { Roles } from './roles'; export interface User { uid: string; email: string; photoURL?: string; displayName?: string; roles: Roles; }
/* * 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 restrict...
import * as _ from 'lodash'; import { COMPODOC_DEFAULTS } from '../utils/defaults'; import { ConfigurationInterface } from './interfaces/configuration.interface'; import { CoverageData } from './interfaces/coverageData.interface'; import { MainDataInterface } from './interfaces/main-data.interface'; import { PageInte...
import EthCrypto from 'eth-crypto' import { ecrecover, hashPersonalMessage, pubToAddress } from 'ethereumjs-util'; import { ISignedMessage } from '../types' declare var web3: any export function stripHexPrefix(value: string) { return value.replace('0x', ''); } export function stripHexPrefixAndLower(...
import React from 'react' import { EvilPlayer } from 'evil-player' const App = () => { return ( <EvilPlayer src='https://firebasestorage.googleapis.com/v0/b/my-landing-924bb.appspot.com/o/offer.mp4?alt=media' poster='https://picsum.photos/960/540?random=poster-1' width={960} height={540}...
import { configureStore } from '@reduxjs/toolkit' import { createHashHistory } from 'history' import rootReducer from '../reducers/rootReducer' export const history = createHashHistory() const store = configureStore({ reducer: rootReducer(), }) export default store
import * as React from "react"; export function ZezaNeutralSvg(props: any) { return ( <svg height={props.height} width={props.width} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props} > <path d="M136.733 110.504s24.835-92.925 41.707-93.008c16.872-.087 42.651 92.58 42.651 92....
export * from "./systems/index"; export * from "./components/index"; export * from "./components/types/index"; export * from "./utils/index";
import { Validator } from './services/validator'; import { AppInsights } from 'applicationinsights-js'; import Swal from 'sweetalert2' import 'bootstrap' import 'metismenu' class App { private header: HTMLElement; private pageWrapper: HTMLElement; constructor() { if (document.readyState !==...
import { Injectable, NotFoundException } from '@nestjs/common'; import { CreateMovieDto } from './dto/create-movie.dto'; import { Movie } from './entities/Movie.entity'; import { UpdateMovieDto } from './dto/update-movie.dto'; @Injectable() export class MoviesService { private movies: Movie[] = []; getAll(): Mov...
// Copyright (c) 2021 Cloudflare, Inc. and contributors. // Copyright (c) 2021 Cloudflare, Inc. // Licensed under the BSD-3-Clause license found in the LICENSE file or // at https://opensource.org/licenses/BSD-3-Clause import { checkSize, joinAll, xor } from './util.js' import sjcl from './sjcl/index.js' function er...
export const headers = [ "obdb_id", "name", "brewery_type", "street", "address_2", "address_3", "city", "state", "county_province", "postal_code", "website_url", "phone", "country", "longitude", "latitude", "tags", ]; export const slugifyOptions = { remove: /[*+~.,()'"!:@/]/g, lower...
export { addHostEventListeners } from './host-listener'; export { attachShadow, defineCustomElement, forceModeUpdate, proxyCustomElement } from './bootstrap-custom-element'; export { bootstrapLazy } from './bootstrap-lazy'; export { connectedCallback } from './connected-callback'; export { createEvent } from './event-e...
// Copyright 2014 The Oppia 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 ap...
import { defineConfig } from "windicss/helpers"; import plugin from "windicss/plugin"; import aspectRatio from "windicss/plugin/aspect-ratio"; import lineClamp from "windicss/plugin/line-clamp"; import { range } from "./src/lib/range"; const em = ["anemo", "pyro", "electro", "geo", "cryo", "hydro", "neutral", "danger"...
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { RoutingStateService } from '../../shared/services/routing-state.service'; import { Observable, EMPTY, Subject, of, throwError } from 'rxjs'; import { ActivatedRoute, Params, Router } from '@angular/router'; import { catchError, finalize, map...
import { Module } from '@nestjs/common'; import { UserController } from '@app/user/user.controller'; import { UserService } from '@app/user/user.service'; import { TypeOrmModule } from '@nestjs/typeorm'; import { UserEntity } from './user.entity'; import { AuthGuard } from './guards/auth.guard'; @Module({ imports: [...
import { RefSelector } from '../../../widgets/componentAnnotations'; import { _ } from '../../../utils'; import { ConditionPosition, ISimpleFilterModel, Tuple } from '../simpleFilter'; import { ScalarFilter, Comparator, IScalarFilterParams } from '../scalarFilter'; import { IAfterGuiAttachedParams } from '../../../inte...
export interface BuildGeneratorOption { length; letter; upper; lower; number; symbol; random; } export function generatePassword(opts?: Partial<BuildGeneratorOption>) { return createPasswordGenerator(opts)(); } export function createPasswordGenerator(opts?: Partial<BuildGeneratorOption>) { const { ...
import React from "react" import { graphql } from "gatsby" import Layout from "../components/layout" import SEO from "../components/seo" import PostList from "../components/postList" interface BlogIndexProps { data: QueryData location: Location } const Index = ({ data, location }: BlogIndexProps) => { const si...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-admin-layout', templateUrl: './admin-layout.component.html', styleUrls: ['./admin-layout.component.scss'], }) export class AdminLayoutComponent implements OnInit { openNav: boolean = true; constructor() {} ngOnInit(): void {} ...
import { JsonObject } from '@angular-devkit/core'; export interface JestBuilderOptions extends JsonObject { codeCoverage?: boolean; config?: string; detectOpenHandles?: boolean; jestConfig: string; testFile?: string; setupFile?: string; bail?: boolean | number; ci?: boolean; color?: boolean; clearC...
/** * @author SessionLand * @namespace Common_I18N_Profile_Common * @description Chinese Simplified */ import { COMMON_PROFILE_COMMON } from "./profile"; export const COMMON_CHINESE_SIMPLIFIED_COMMON: Record<COMMON_PROFILE_COMMON, string> = { [COMMON_PROFILE_COMMON.PRIVACY]: "隐私", [COMMON_PROFILE_COMMON....
import { Component, OnInit } from '@angular/core'; import { User } from '../../User'; import { LoginService } from '../../services/login.service'; @Component({ selector: 'app-sign-up', templateUrl: './sign-up.component.html', styleUrls: ['./sign-up.component.css'] }) export class SignUpComponent implements OnIni...
import { Test, TestingModule } from '@nestjs/testing'; import { GroupMService } from './group-m.service'; describe('GroupMService', () => { let service: GroupMService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [GroupMService], }).compile(); ...
GOCAD TSurf 1 HEADER { name:IOCG_WPA_Karari_Shear_Zone_South_Surface_v4_clip_PHPK_mesh *visible:true *solid*color:0.000000 0.501961 0.000000 1 } PROPERTIES Original_dip_id fid angle z_first NO_DATA_VALUES 1e-30 1e-30 1e-30 1e-30 PROPERTY_CLASSES Original_dip_id fid angle z_first ESIZES 1 1 1 1 GOCAD_ORIGINAL_COORDI...
import { jsx, JSX } from './jsx-runtime' export const jsxDEV = ( type: any, props: Record<string, unknown>, key: any, _: boolean, // isStaticChildren: not used in jsx-slack __source: Record<string, unknown> ) => jsx(type, { ...props, __source }, key) export type { JSX }
export { plugin } from 'nexus-plugin-prisma/dist/framework/testtime'
import { NgModule } from '@angular/core'; import { IonicModule } from 'ionic-angular'; import { OrderListViewComponent } from './order-list-view'; @NgModule({ declarations: [ OrderListViewComponent, ], imports: [ IonicModule, ], exports: [ OrderListViewComponent ] }) export class OrderListViewC...
/** @jsx jsx */ import { FC } from 'react' import { Box, jsx } from 'theme-ui' const Logo: FC = () => ( <Box as="svg" // @ts-ignore xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" sx={{ width: '2.5rem', height: '2.5rem', display: `block` }} > <title>Logo which is two offset orange...
// If you need to modify the default icon, you can open the comment and modify it here // import { Spin } from 'ant-design-vue'; // import { LoadingOutlined } from '@ant-design/icons-vue'; // Spin.setDefaultIndicator({ // indicator: () => { // return <LoadingOutlined spin />; // }, // });
/** * @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 */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js const u = undefined; fun...
export class Config extends Object {}
import { FC } from 'react' import Knight from './Knight' export interface PieceProps { isKnight: boolean } export const Piece: FC<PieceProps> = ({ isKnight }) => isKnight ? <Knight /> : null
export type Book = { id: number; title: string; isbn: string; subtitle: string; author: string; published: string; publisher: string; pages: number; description: string; image: string; price: number; website: string; created_at?: string; updated_at?: string; };
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient.ts"; import { UntagResourceRequest } from "../models/models_0.ts"; import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1.ts"; import { ge...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ur_PK" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About B3-Coin</source> <translation type="unfinished"/> </message> <message> <location lin...
export * from './ListView'; export * from './SimpleView';
import { setDeepData, normalizeModelName } from '../src/set_deep_data'; describe('setDeepData', () => { it('sets a simple key', () => { const data = { message: 'original', isPublished: true, } const finalData = setDeepData(data, 'message', 'new_message'); exp...
import React, { useEffect } from 'react'; import { useFormikContext } from 'formik'; import { IFormValues, IOtherProps } from './WizardContainer'; import { Bullseye, EmptyState, Grid, GridItem, Title } from '@patternfly/react-core'; import NamespacesTable from './NamespacesTable'; import { Spinner } from '@patternfly/r...
// Copyright 2020 the Fastro author. All rights reserved. MIT license. import { parse } from "../deps.ts"; export function getArguments(cmdArgs: string[]) { const args = parse(cmdArgs); return { command: args._, port: args.port, production: args.production, email: args.email, help: args.help, ...
import { mount, VueWrapper } from '@vue/test-utils' import InputIcons from '@/modules/inputs/components/InputIcons.vue' import { key } from '@/store' import { Sensor } from '@/modules/inputs/models/Sensor' import { SurveySensor } from '@/modules/inputs/models/sensors/survey/Sensor' import { MicSensor } from '@/modules/...
/* global RESOURCE_ENERGY OK FIND_STRUCTURES STRUCTURE_CONTAINER */ import Role from 'role/role'; import TransporterRole from 'role/transporter'; export default class UpgraderRole extends Role { transporterRole: TransporterRole; constructor() { super(); // Upgraders have high priority because we need to prais...
import { splitLines, sum } from '../helpers'; import { PuzzleDay } from '../puzzleDay'; type Program = { maskString: string; setMask: bigint; clearMask: bigint; instructions: { k: number; v: number; }[]; }; /* tslint:disable:no-bitwise */ export const parseInput = (input: string): Program[] => { c...
import { mdiAccountRemove, mdiCrown, mdiOctagramOutline, mdiViewList } from "@mdi/js"; import { useTranslation } from "next-i18next"; import Link from "next/link"; import React, { useCallback, useContext } from "react"; import GuildContext from "../../../providers/GuildContext"; import ProfileContext from "../../../pro...
/*----------------------------------------------------------------------------- | Copyright (c) 2014-2017, PhosphorJS Contributors | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |--------------------------------------------------...
import to from "await-to-js"; import { VError } from "verror"; import GitClient from "../github-client/git-client"; import ClusterDocsTopicSerializer from "../cdt-serializer"; import { copyResources, fileExists } from "../helpers"; export class CopyDocs { releases = async ({ releases, source, output }) => { f...
import { Ensuring } from "@effect/core/stream/Channel/definition/primitives" /** * Returns a new channel with an attached finalizer. The finalizer is * guaranteed to be executed so long as the channel begins execution (and * regardless of whether or not it completes). * * @tsplus fluent ets/Channel ensuringWith ...
import React from 'react'; import warning from 'rc-util/lib/warning'; import { DataNode, InnerDataNode, SimpleModeConfig, RawValueType, } from '../interface'; import { convertChildrenToData } from '../utils/legacyUtil'; const MAX_WARNING_TIMES = 10; function parseSimpleTreeData( treeData: DataNode[], { id...
import debug from 'debug'; import { join, resolve } from 'path'; import * as parser from '../../src'; import * as astConverter from '../../src/ast-converter'; import { TSESTreeOptions } from '../../src/parser-options'; import * as sharedParserUtils from '../../src/create-program/shared'; import { createSnapshotTestBloc...
import * as core from '@actions/core'; import { promises as fs } from 'fs'; import { existsSync, createWriteStream } from 'fs'; import https from 'https'; import path from 'path'; import util from 'util'; import { exec } from 'child_process'; import { env } from 'process'; const asyncExec = util.promisify(exec); const...
import { createMethod } from './method'; import { KUSAMA_TEST_OPTIONS, TEST_BASE_TX_INFO } from './testUtil'; describe('createMethod', () => { it('should create a default validity period of 5 minutes', () => { const txBaseInfo = { ...TEST_BASE_TX_INFO, eraPeriod: undefined, }; const unsigned = createMetho...
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ import Editor from 'tinymce/core/api/Editor'; import { Toolbar } from...
import { container } from 'tsyringe'; import '@modules/users/providers'; import './providers'; import IUsersRepository from '@modules/users/repositories/IUsersRepository'; import UsersRepository from '@modules/users/infra/typeorm/repositories/UsersRepository'; import IUserTokensRepository from '@modules/users/reposi...
import * as React from 'react' import styled from 'styled-components' import { ReactSVG } from 'react-svg' import { toast } from 'react-toastify' import { Button } from './../../components/button' import { colors, defaultStyles, View } from './../../components/constants' import { ErrorMessage, Fieldset, Input, Label }...
// // Copyright 2022 DXOS.org // import chalk from 'chalk'; import { BuildResult, Plugin } from 'esbuild'; import { readFile } from 'fs/promises'; import http, { ServerResponse } from 'http'; import { isAbsolute } from 'path'; import { join } from 'path/posix'; import { Trigger } from './trigger'; export const UPDAT...
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { AlbumPage } from './album'; @NgModule({ declarations: [ AlbumPage, ], imports: [ IonicPageModule.forChild(AlbumPage), ], }) export class AlbumPageModule {}
/* * @文件描述: * @公司: thundersdata * @作者: 廖军 * @Date: 2020-04-30 11:07:21 * @LastEditors: 阮旭松 * @LastEditTime: 2021-02-03 15:45:30 */ import { TemplateOptions } from '@antv/g2plot/lib/plots/_template'; import CustomBase from '../base'; import { AxisBaseCfg } from '@antv/component/lib/types'; import { ViewCfg, Optio...
import { createIcon } from "../create-icon" export const UploadIcon = createIcon({ title: "UploadIcon", viewBox: "0 0 12 12", path: ( <path fillRule="evenodd" clipRule="evenodd" d="M6.55.24a.75.75 0 0 0-1.1 0L2.2 3.74a.75.75 0 0 0 1.1 1.02l1.95-2.1v5.59a.75.75 0 0 0 1.5 0V2.66l1.95 2.1a.75....