text
stringlengths
10
953k
import { helpers } from "../../util"; const PickText = ({ asset, season, }: { asset: { abbrev?: string; pick?: number; round: number; season: number | "fantasy" | "expansion"; tid: number; type: "realizedPick" | "unrealizedPick"; }; season: number; }) => { const details = []; if (asset.pick !== und...
declare var module: any; declare var require: any; var yosay = require('yosay'); var generators = require('yeoman-generator'); import * as chalk from 'chalk'; interface Client { path: string, type: string } /** * @module FireLoopGenerator [FireLoop] * @author Jonathan Casarrubias <t: johncasarrubias, gh:mean-expert-o...
import React from 'react'; import { cleanup, fireEvent, render } from 'react-testing-library'; import sinon from 'sinon'; import MUITableFilter, { MUITableMultiSelectFilter, MUITableSelectFilter } from '../../../../src/components/Toolbars/Filters/MUITableFilter'; import MUITableFilterList from '../../../../src/...
import * as mongoose from 'mongoose'; export const UserSchema = new mongoose.Schema({ username: String, password: String, emailid: String, products: String });
/* * Copyright 2020, EnMasse authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ export * from "./ConnectionLinksContainer";
<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Gplay</source> <translation type="unfinished"/> </message> <message> <location line="+3...
import * as React from 'react'; import { withPagination } from '@bazhe/with-pagination'; import { WithPaginationProps } from '@bazhe/with-pagination/dist/hoc/withPagination'; import { PrimaryButton } from './PrimaryButton'; import { createRef } from 'react'; const items = ['a', 'b', 'c']; const FunctionalBasedCompone...
import React from 'react'; //Graveyard ecosystem logos // import tombLogo from '../../assets/img/crypto_tomb_cash.svg'; import tombLogoPNG from '../../assets/img/crypto_tomb_cash.png'; // import tShareLogo from '../../assets/img/crypto_tomb_share.svg'; import tShareLogoPNG from '../../assets/img/crypto_tomb_share.png'...
import Head from 'next/head' import Card from '../components/Card' import Header from '../components/Header' import NavigatorBar from '../components/NavigatorBar' import Table from '../components/Table' import { NavigatorProvider } from '../contexts/NavigatorContext' import styles from '../styles/pages/Index.module....
/* * Filename :useWindowSize.ts * Time :2021/03/06 17:00:21 * Author :panduo * Email :panduo@ncmps.com * Description :实时获取window窗口大小 * */ import _ from 'lodash' import { useState, useEffect, useCallback } from 'react' const useWindowSize = (): {width: number, height: numb...
import { SocketSession } from './comms' import { MainUI } from './ui/component/ui' import { scala, vega } from './ui/monaco/languages' import { theme } from './ui/monaco/theme' import * as monaco from "monaco-editor"; import * as Tinycon from "tinycon"; import {MarkdownIt} from "./util/markdown-it"; window.MarkdownIt ...
export const FILE_PATH = 'files' export const BASE_PATH_URL ='/src/services';
import { Sequelize } from 'sequelize' import gql from 'graphql-tag' import { ethers } from 'ethers' import { connectDatabase, connectContracts, createLogger, Logger, NetworkContracts, parseGRT, } from '@graphprotocol/common-ts' import { createIndexerManagementClient, IndexerManagementClient, IndexerM...
import { console } from '@ephox/dom-globals'; export default { title: 'Cell properties', body: { type: 'tabpanel', tabs: [ { title: 'General', name: 'general', items: [ { type: 'grid', columns: 2, items: [ { ...
export declare const cibGit: string[];
import { Component, Inject, OnInit } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; import { ITeamDialogData } from 'app/components/tournament-management/tournament/tournament-participants/tournament-participants.component'; @Component({ selector: 'app-delete-team-dialog', template...
import { AngularcliPage } from './app.po'; describe('angularcli App', () => { let page: AngularcliPage; beforeEach(() => { page = new AngularcliPage(); }); it('should display message saying app works', () => { page.navigateTo(); expect(page.getParagraphText()).toEqual('app works!'); }); });
export * from './components/Persona/index';
/** * 将价格从分转换为元 * @param {number} fPrice 单位分 * @param {?boolean} cents 是否保留分 */ export default function transformPrice (fPrice: number, isCents: boolean = true): string { const cents = isCents ? 2 : 0 const yPrice = (fPrice / 100).toFixed(cents) return yPrice }
// Copyright 2016 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 { Component, OnInit, Input } from '@angular/core'; import { NbDialogRef } from '@nebular/theme'; import { Store } from '@ngxs/store'; import { Service } from './../../../models/services.model'; import { ReadSelectedService } from './../../../actions/service.actions'; @Component({ selector: 'ngx-show-servic...
import * as vscode from 'vscode'; import { TreeNodeType } from '../../TreeContent/TreeNode'; import { FileNode } from './FileNode'; export class HeaderNode extends FileNode { constructor(fileName: string, projectURL: string, internalpath: string, parentType : TreeNodeType, parentName : string) { ...
import React, { useState, useEffect } from 'react'; import { space, Box, Text, Button, Input, Flex } from '@blockstack/ui'; import { ExplorerLink } from './explorer-link'; import { useConnect } from '@blockstack/connect'; import { PostConditionMode, standardPrincipalCV, BufferCV, deserializeCV, ClarityType, ...
// WebRidge Design // PR for spelling mistakes is very welcome! interface TranslationDatabase { [key: string]: { en: string nl: string } } export default { title: { en: 'Contact Tracing', nl: 'Contacten Traceren', }, subtitle: { en: "Let's beat COVID-19 together", nl: 'Samen krijgen ...
import * as TKUnit from "../TKUnit"; import * as view from "tns-core-modules/ui/core/view"; import * as builder from "tns-core-modules/ui/builder"; import * as buttonModule from "tns-core-modules/ui/button"; import * as switchModule from "tns-core-modules/ui/switch"; import * as searchBarModule from "tns-core-modules/...
import { StyledIcon } from '@styled-icons/styled-icon'; export declare const Battery80: StyledIcon; export declare const Battery80Dimensions: { height: number; width: number; };
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; import { NativeScriptCommonModule } from 'nativescript-angular/common'; import { HomeComponent } from './home.component'; import { HomeRoutingModule } from './home-routing.module'; @NgModule({ declarations: [HomeComponent], imports: [ NativeScriptComm...
export interface PokemonResponse { count: string; next: string; previous: string; results: PokemonList[]; } export interface PokemonList { name: string; url: string; }
import Some from './Some'; import HookParams from './HookParams'; import Neutralize from './Neutralize'; type Neutralizable<T extends HookParams> = Some<T> | Neutralize; export default Neutralizable;
namespace ja2 { let Shaded8BPPPalettes: SGPPaletteEntry[][] /* [HVOBJECT_SHADE_TABLES + 3][256] */ = createArrayFrom(HVOBJECT_SHADE_TABLES + 3, () => createArrayFrom(256, createSGPPaletteEntry)); export let ubColorTables: Uint8Array[] /* [HVOBJECT_SHADE_TABLES + 3][256] */ = createArrayFrom(HVOBJECT_SHADE_TABLES + 3, ...
import mockAxios from 'jest-mock-axios'; import { Avalanche } from "src"; import { AVMAPI } from "src/apis/avm/api"; import { AdminAPI } from "src/apis/admin/api"; import { HealthAPI } from 'src/apis/health/api'; import { InfoAPI } from "src/apis/info/api"; import { KeystoreAPI } from "src/apis/keystore/api"; import { ...
import { Request, Response, Router } from 'express'; import { paths } from '../paths'; function health(req: Request, res: Response) { res.json({ status: 'UP' }); } function liveness(req: Request, res: Response) { res.json({}); } /* istanbul ignore next */ function setupHealthController(): Router { const router...
import { NgModule } from '@angular/core'; import { TranslateModule } from '@ngx-translate/core'; import { IonicPageModule } from 'ionic-angular'; import { AccountTypePage } from './account-type'; @NgModule({ declarations: [ AccountTypePage, ], imports: [ IonicPageModule.forChild(AccountTypePage), Tr...
export const bgFade = (element: HTMLElement) => { element.style.backgroundColor = "var(--border-color)"; element.style.borderRadius = "3px"; element.style.boxShadow = "5px 0px 0 var(--border-color), -5px 0px 0 var(--border-color)"; setTimeout(function () { element.style.transition = "all 2s cubi...
import { Injectable } from '@angular/core'; import * as d3 from 'd3'; import * as Nv from 'nvd3'; export type D3 = typeof d3; export type Nv = typeof Nv; @Injectable() export class D3ChartService { constructor() { } public getD3(): D3 { return d3; } public getNv(): Nv { return Nv; } }
interface IWaitConditionOpts { timeout?: number; interval?: number; dontThrow?: boolean; message?: string; throwCustom?: () => any; createMessage?: (...args: any[]) => string; waiterError?: new (...args: any[]) => any; } export { IWaitConditionOpts };
import { Query } from '@datorama/akita'; import { FormsState, FormsStore } from './forms.store'; import {Injectable} from "@angular/core"; @Injectable() export class FormsQuery extends Query<FormsState> { constructor(protected override store: FormsStore) { super(store); } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. import { IotHubClient, IotHubModels } from "azure-arm-iothub"; import { createAzureClient, IActionContext, SubscriptionTreeItemBase } from "vscode-azureextensionui"; import { IoTHubResourceTreeItem } from "./IoTHubResourceT...
import React from 'react'; import AccountInfo from './AccountInfo'; import Promos from './Promos'; import TokenBalances from './TokenBalances'; import { AppState } from 'reducers'; import { getWalletInst } from 'selectors/wallet'; import { connect } from 'react-redux'; import EquivalentValues from './EquivalentValues';...
import { AdderKey, configurableKeys, GuildEntity, readSettings, writeSettings } from '#lib/database'; import { LanguageKeys } from '#lib/i18n/languageKeys'; import { SkyraCommand } from '#lib/structures'; import type { GuildMessage } from '#lib/types'; import { PermissionLevels } from '#lib/types/Enums'; import { Comma...
// Copyright 2020, Verizon Media // Licensed under the terms of the MIT. See LICENSE file in project root for terms. import * as React from 'react' import Input from 'src/components/input' import PopoverMenu from 'src/components/popover_menu' import {User} from 'src/global_types' import {listUsers} from 'src/services'...
import { TextPrimitive } from "./base/primitive/typography"; import { BodyText, Link } from "./base/typography"; import { ContainerPrimitive } from "./base/primitive/container"; import { FlexRowContainer } from "./base/container"; import { SeparatorPrimitive } from "./base/primitive/separator"; import { ProjectDescript...
import {Column, Entity, OneToMany, PrimaryGeneratedColumn} from "../../../src/index"; import {Post} from "./Post"; @Entity("sample3_post_image") export class PostImage { @PrimaryGeneratedColumn() id: number; @Column() url: string; @OneToMany(type => Post, post => post.image) posts: Post[]; ...
import type { ErrorObject } from 'ajv' const knownErrorKeywords = ['minLength', 'maxLength', 'format'] export const getErrorTranslationKey = (error: ErrorObject): string => { if (knownErrorKeywords.includes(error?.keyword)) { if (error.keyword === 'minLength' && error.params.limit === 1) { return 'errors:...
/** @module transition */ /** for typedoc */ import { TransitionHookOptions, IEventHook, HookResult } from "./interface"; import { Transition } from "./transition"; import { State } from "../state/stateObject"; /** @hidden */ export declare class TransitionHook { private transition; private stateContext; pr...
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack"; import * as __aws_sdk_types from "@aws-sdk/types"; import { ConfirmPublicVirtualInterface } from "../model/operations/ConfirmPublicVirtualInterface"; import { InputTypesUnion } from "../types/InputTypesUnion"; import { OutputTypesUnion } from "../...
import { GitHubRepository } from './github-repository' export class PullRequestRef { /** * @param ref The name of the ref. * @param sha The SHA of the ref. * @param gitHubRepository The GitHub repository in which this ref lives. It could be null if the * repository was deleted aft...
import { h, ref, computed, onUpdated, onMounted, defineComponent, PropType } from 'vue' import { useConfig, useTheme } from '../../_mixins' import type { ThemeProps } from '../../_mixins' import { avatarLight } from '../styles' import type { AvatarTheme } from '../styles' import { createKey } from '../../...
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. // // Copyright 2016-2018 Pascal ECHEMANN. // // 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.apac...
import React from "react"; import styled from "@emotion/styled"; import { textToMorseCode, morseCodeToText } from "../utils/translate"; import { morseLight } from "../utils/morseLight"; type MainProps = { isEmergency: boolean; handleEmergency: any; playbackStart: boolean; togglePlayback: any; }; type MorsePro...
/* * Copyright (C) 2019-2021 HERE Europe B.V. * Licensed under Apache 2.0, see full license in LICENSE * SPDX-License-Identifier: Apache-2.0 */ import { equirectangularProjection, mercatorProjection, normalizedEquirectangularProjection, OrientedBox3, Projection, sphereProjection, Vector...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About BOSS</source> <translation>О BOSS</translation> </message> <message> <location line="+3...
import Component from '@glint/environment-ember-loose/glimmer-component'; import { BaseGlimmerSignature } from '@gavant/glint-template-types/utils/types'; import type { ButtonArgs } from '@gavant/ember-button-basic/components/button'; export declare class ButtonComponent extends Component<BaseGlimmerSignature<ButtonA...
import { Request, Response } from 'express'; import StorageHandler from '../../lib/storage/StorageHandler'; import DB from '../../lib/storage/db'; export default async function deleteUpload(req: Request, res: Response) { const { key } = req.params; console.log('delete', key); if (!key) { return res.status(4...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import * as styles from 'common/components/selector-input-list.scss'; import * as _ from 'lodash/index'; import { DefaultButton, FocusZone, FocusZoneDirection, IconButton, ITextField, List, TextFi...
import express from 'express'; import UserController from './controllers/UserController'; import SessionController from './controllers/SessionController'; import EstablishmentController from './controllers/EstablishmentController'; import ProductsController from './controllers/ProductsController'; import ConnectionsCo...
/* * Copyright 2018 NEM * * 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 agreed to in writi...
describe('Home', () => { beforeEach( () => { browser.get('/'); }); it('should have an input', () => { expect(element(by.css('sd-home home-form home-input')).isPresent()).toEqual(true); }); //Fix me it('should have a list of computer scientists', () => { expect(element(By.css('md-list-item')).g...
import {INode} from './nodeInterfaces'; import getPowerStatus from './getPowerStatus'; import logger from './logger'; const setActualPowerStatus = async (node: INode): Promise<void> => { try { getPowerStatus(node.IP, node.UUID).then(value => { node.isPowerOn = value; if (node.isPow...
import { Component, Inject, Input, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { ISlotItem } from '@sneat/extensions/schedulus/shared'; import { ErrorLogger, IErrorLogger } from '@sneat/logging'; import { IHappeningContext, ITeamContext } from '@sneat/team/models'; import { HappeningService } fro...
import React, { useState, useRef, useContext } from 'react'; import styled from 'styled-components'; import { getExtURL, getManifest } from '@Src/utils/chrome'; import { Context } from '@Src/context'; const WrapperUI = styled.div` height: 100%; overflow: auto; `; const BannerUI = styled.div` height: 150px; paddin...
/* * @license Apache-2.0 * * Copyright (c) 2019 The Stdlib 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 ap...
/* eslint-disable react-hooks/rules-of-hooks */ import React, {useCallback} from 'react'; import {Dispatch, DocumentHead} from '@elux/react-redux-web'; import {StaticPrefix, GetRouter, LoadComponent} from '@/Global'; import {ItemDetail} from '../../entity'; import styles from './index.module.less'; const Comment = Loa...
import Pattern from "./pattern"; import { hexVal, fillOpacity, fillColor, map } from "../util"; import SVG from "../../svg"; import { IPatternOption } from "../../types"; export default class Xes extends Pattern { public constructor(options: IPatternOption, svg?: SVG) { super(options, svg); } publ...
import { Directive, ElementRef, Host, HostListener, Injectable, Input, OnInit, Optional, SkipSelf } from '@angular/core'; import { AbstractControl, FormControl, FormGroupDirective } from '@angular/forms'; export class BrMaskModel { form: AbstractControl; mask: string; len: number; person: boolean; phone: boo...
import { resolve, join } from 'path'; const base_dir = resolve(join(__dirname, '..')); const sources = join(base_dir, 'sources'); const destination = join(base_dir, 'build'); export { base_dir, destination, sources, };
import { replaceProperty, Vec3 } from "../../core"; import { CannonContactEquation } from "./cannon-contact-equation"; replaceProperty(CannonContactEquation.prototype, 'IContactEquation.prototype', [ { 'name': 'contactA', 'newName': 'getLocalPointOnA', 'customGetter': function (this: Cannon...
import * as React from "react"; import { SealedInitialState } from "reakit-utils/useSealedState"; import { PopoverState, PopoverActions, PopoverInitialState, PopoverStateReturn } from "../Popover/PopoverState"; export declare type TooltipState = Omit<PopoverState, "modal"> & { /** * @private */ unstab...
import { Component, Input, OnDestroy, OnInit } from '@angular/core'; import { Store } from '@ngrx/store'; import { filter, tap } from 'rxjs/operators'; import { Subscription } from 'rxjs/Subscription'; import { getRoute, isTCPRoute } from '../../../../../../features/applications/routes/routes.helper'; import { AppStat...
import Contribution from './contribution' import { BadRequestError } from '../utils/error' import config from '../config' export default class ApprovalTransaction extends Contribution { constructor({ type = 'approval', to, amount, signature, provider, owner, repo, pr }: Contribution...
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information. /** * Button * * Mostly just a click handler * */ namespace fabric { "use strict"; export class Button { private _container: Element; private _clickHandler: Event...
import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { StoresOnMenusScalarWhereInput } from './stores-on-menus-scalar-where.input'; import { StoresOnMenusUpdateManyMutationInput } from './stores-on-menus-update-many-mutation.input'; @InputType() export class StoresOnMenusUpdateM...
import React, { useState, useContext } from 'react'; import { View, Image, TextInput, StyleSheet, Text, TouchableOpacity } from 'react-native'; import { Button } from 'react-native-elements'; import * as SecureStore from 'expo-secure-store'; import { useNavigation } from '@react-navigation/nativ...
import {Component, Input, Output, EventEmitter, TemplateRef, OnInit} from '@angular/core'; import {toString} from '../util/util'; /** * The context for the typeahead result template in case you want to override the default one. */ export interface ResultTemplateContext { /** * Your typeahead result item. */...
// Generated from the AliCloud ROS Resource Specification import * as ros from '@alicloud/ros-cdk-core'; /** * Properties for defining a `ALIYUN::ResourceManager::Account` */ export interface RosAccountProps { /** * @Property displayName: Member name */ readonly displayName: string | ros.IResolva...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React from 'react'; import {shallow} from 'enzyme'; import {UserProfile} from 'mattermost-redux/types/users'; import SignupProfile from 'components/signup/signup_profile/signup_profile'; import {br...
// Generated using typescript-generator version 2.14.505 on 2019-06-11 10:28:22. import Client from "../client"; export class ApplicationInfo { adyenLibrary?: CommonField; adyenPaymentSource?: CommonField; externalPlatform?: ExternalPlatform; merchantApplication?: CommonField; merchantDevice?: Mer...
import { Component, OnInit } from '@angular/core'; import { HomeSlider } from '../../../shared/data/slider'; @Component({ selector: 'app-home-slider', templateUrl: './home-slider.component.html', styleUrls: ['./home-slider.component.scss'] }) export class HomeSliderComponent implements OnInit { public HomeSli...
// tslint:disable export abstract class LoggerApi { abstract log(message: any, ...args: any): void; abstract info(message: any, ...args: any): void; abstract debug(message: any, ...args: any): void; abstract fatal(message: any, ...args: any): void; abstract warn(message: any, ...args: any): void; abstract e...
import 'google-closure-library/closure/goog/i18n/numberformatsymbolsext'; import alias = goog.i18n.NumberFormatSymbols_sv_FI; export default alias;
import {ToolConstructable, ToolSettings} from '../tools'; import {LogLevels, OutputData} from '../index'; import {SanitizerConfig} from './sanitizer-config'; export interface EditorConfig { /** * Element where Editor will be append * @deprecated property will be removed in next major release, use holder instea...
export class EpayUIStateService { static $injector = [] /******* BEGIN Payment View *******/ // Bitmap decoder // isPennCheck|hasSavedAccounts|canUseCreditCards|ccLimitExceeded paymentScenarioLookupMap = { '0000': 'NoPennCheck1', '0001': 'NoPennCheck1', '0011': 'NoPennCheck1', '0111': 'NoPenn...
/* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. */ /* eslint-disable max-classes-per-file */ import { Constructable } from '../constructable'; import { EdmTypeShared } from '../edm-types'; import { EntityBase, ODataVersion } from '../entity'; import { Filter } from '../filter'; import { ...
import React, { useContext, useState } from 'react'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; import InputBase from '@material-ui/core/InputBase'; import { createStyles, fade, Theme, makeStyles } from '@materia...
const { cd, exec, echo, touch } = require("shelljs") const { readFileSync } = require("fs") const url = require("url") let repoUrl let pkg = JSON.parse(readFileSync("package.json") as any) if (typeof pkg.repository === "object") { if (!pkg.repository.hasOwnProperty("url")) { throw new Error("URL does not exist i...
import {AffectPath, Api, Path} from "@automatons/parser"; const isAffectPath = (path: Path): path is AffectPath => ['post', 'patch', 'put'].includes(path.method); export const extractApiMeta = (api: Api) => { const hasTemplate = api.servers.some(server => server.values?.length) || api.paths.some(path => path.pa...
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { async, TestBed } from '@angular/core/testing'; import { buildComponent, MzTestWrapperComponent } from '../shared/test-wrapper'; import { MzDropdownComponent, MzDropdownDividerComponent, MzDropdownItemComponent } from './'; describe('MzDropdownComponent:...
export * from "./chart.actions"
import React from 'react'; import { Route, BrowserRouter as Router, Switch } from 'react-router-dom'; import Home from './pages/Home'; import UserNotFound from './pages/UserNotFound'; import Links from './pages/Links'; const Routes: React.FC = () => { return ( <Router> <Switch> <Route path='/' exac...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { IgApiClient, StatusResponse } from 'instagram-private-api'; import { FBNS, FbnsTopics, INSTAGRAM_PACKAGE_NAME } from '../constants'; import { FbnsDeviceAuth } from './fbns.device-auth'; import { compressDeflate, createFbnsUserAgent, debugChannel, listenOnce, notUndefined, ToEventFn, ...
// *** 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 { input as inputs, output as outputs } from "./types"; import * as utilities from "./utilities"; /...
import { addMonths } from "date-fns"; import { Observable } from "rxjs"; import { DossierRecord } from "../../model"; import { dossierRecordRepository } from "../../repository"; class DossierRecordService { public allByMonthAndGroupId(year: number, month: number, groupId: string) { const start = new Date(year, m...
import {create, IPFSHTTPClient} from 'ipfs-http-client'; import NodeRSA from 'node-rsa'; import {useMemo} from 'react'; import {BoardStorageService} from '../services/BoardStorageService'; // import {v4 as uuid} from 'uuid'; import {PostManager} from '../services/PostManager'; export const useIpfs = (): [IPFSHTTPClien...
export class Keyboard { start(): void { console.log("Keyboard has started."); } }
import * as Path from 'path'; import * as fs from 'fs'; import * as Net from 'net'; import * as FS from '../tools/fs'; import * as Stream from 'stream'; import { EventEmitter } from 'events'; import ServicePaths from './service.paths'; import ServiceElectron, { IPCMessages as IPCElectronMessages, Subscription } from '....
<TS language="ja" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>右クリックでアドレスまたはラベルを編集します</translation> </message> <message> <source>Create a new address</source> <translation>新規アドレスの作成</tra...
import { ModalItem } from "@/common/components/Modal/type"; import { GlobalStoreType } from "@/redux/type"; import { createSlice, PayloadAction } from "@reduxjs/toolkit"; import { initGlobalState } from "./default"; const slice = createSlice({ name: "global", initialState: initGlobalState, reducers: { initSh...
/* Copyright 2020 Telefónica Digital España. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ import {expect} from "chai"; import {Wallet} from "../../src/wallet"; import {FileKeystore} from "../../src/keystore/fileKeystore"; import "mocha"; const wal = Wallet.Instance; // const ksfile = './keystore/key...
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import React, {CSSProperties, forwardRef} from 'react'; import styled from '@emotion/styled'; import { normalize...