text
stringlengths
10
953k
import * as p from './parser'; export namespace binary { export function binary(asm: p.parser.asm): boolean[] { return []; } }
import { ScrollingModule } from '@angular/cdk/scrolling'; import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { OverlayContainerModule } from 'ng-devui/overlay-container'; import { PortalModule } from 'ng-devui/portal'; import { DrawerComponent, DrawerContentDirective } from...
import { LOGIN_STEPS, LOGOUT } from './types' export const onSubmitLogin = (creditials: { username: string; password: string }) => ({ type: LOGIN_STEPS.SUBMIT_LOGIN, payload: creditials, }) export const onLoginSuccess = () => ({ type: LOGIN_STEPS.LOGIN_SUCCESS, }) export const onRelogin = (payload: any) => ({ ...
import { UseCase } from "../../../../../shared/core/UseCase"; import { Either, Result, left, right } from "../../../../../shared/core/Result"; import { AppError } from "../../../../../shared/core/AppError"; import { UpdateCommentStatsDTO } from "./UpdateCommentStatsDTO"; import { ICommentVotesRepo } from "../../../repo...
import { CommandDefinition } from '../core/CommandFactory' import { ICommand, CommandType } from '../core/ICommand' import { Message, PartialMessage } from 'discord.js' import { BOT_CONFIG } from '../configs/IConfigurations' @CommandDefinition() export class Invitation implements ICommand { type: CommandType = Comma...
import axios from '../../src/index' // axios({ // url: '/extend/post', // method: 'post', // data: { // msg: 'hi' // } // }) // axios.request({ // url: '/extend/post', // method: 'post', // data: { // msg: 'hello' // } // }) // axios.get('/extend/get') // axios.options('/extend/options') //...
import createVuePlugin from '@vitejs/plugin-vue' import type { App } from '@vuepress/core' import type { Plugin } from 'vite' import type { ViteBundlerOptions } from '../types' import { createConstantsReplacementPlugin } from './createConstantsReplacementPlugin' import { createMainPlugin } from './createMainPlugin' imp...
import React from "react"; import { Grid } from "@material-ui/core"; import DataGrid, { Column, Scrolling, Summary, TotalItem, FilterRow, Button, Editing } from 'devextreme-react/data-grid'; import CustomStore from 'devextreme/data/custom_store'; import DataSource from 'devextreme/data/data_source'; // compo...
import { AppFlow } from '@beecode/msh-node-app' import { ParseAndRouteArgs } from 'src/app/init/parse-and-route-args' export class CliApp extends AppFlow { constructor() { super(new ParseAndRouteArgs()) } }
import * as path from 'path'; import { logger } from '../../logger'; import { DependenciesEngine } from './dependencies.engine'; import { ConfigurationInterface } from '../interfaces/configuration.interface'; import { FileEngine } from './file.engine'; import { ExportData } from '../interfaces/export-data.interface';...
export { default as GoldPricesChart } from "./GoldPricesChart"; export type { GoldPricesChartProps } from "./GoldPricesChart"; export { default as GoldPricesDates } from "./GoldPricesDates"; export { default as GoldPricesFilters } from "./GoldPricesFilters"; export { default as GoldPricesTable } from "./GoldPricesTable...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RenewModalComponent } from './renew-modal.component'; describe('RenewModalComponent', () => { let component: RenewModalComponent; let fixture: ComponentFixture<RenewModalComponent>; beforeEach(async(() => { TestBed.configure...
import { html } from "lit-html"; import { Meta } from "@storybook/web-components"; import readme from './readme.md'; import { injectStyles } from "../../../.storybook/utilities"; export default { title: 'Elements/Vertical Overflow Menu', component: 'dnn-vertical-overflow-menu', parameters: { notes:...
import { TypeToken } from './source2Tokens' const templateStringifyTokens = (tokens: TypeToken[]): string => tokens.map((v) => v.value).join('') export default templateStringifyTokens
import React from "react"; import { LinkCard } from "../"; import { render } from "enzyme"; import toJSON from "enzyme-to-json"; describe("LinkCard", () => { it("renders default", () => { expect( toJSON( render( <LinkCard url="http://google.com" linkDescription="Google"> Exam...
import * as messageBox from './message-box'; import * as nearPoi from './near-poi'; export {messageBox, nearPoi}; export * from './share-poi';
import Ship from "./WaypointShip.ts"; const testInput = await Deno.readTextFile("./test.txt"); const testShip = new Ship(); testShip.apply(testInput.split("\n")); console.log(`The test ship ended ${testShip.manhattanDistance()} away`); const realInput = await Deno.readTextFile("./real.txt"); const realShip = new Ship...
export type { LoadingProps } from './Loading'; export { Loading, Loading as default } from './Loading';
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { NgaModule } from '../../theme/nga.module'; import {NgbModule} from '@ng-bootstrap/ng-bootstrap'; import { RequestbdownComponent } from './requestbdown.component'; import...
import * as React from 'react'; import { InitializeReactOpenfin, ReactOpenfin, ILaunchBarItem } from 'react-openfin'; import { createMuiTheme } from '@material-ui/core/styles'; import { ThemeProvider } from '@material-ui/styles'; import { createShallow, createMount } from '@material-ui/core/test-utils'; import Button ...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const lasCheckCircle: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const liga...
/// <reference types="svelte" /> declare module 'nanoid/index.prod' { const nanoid: () => string; } type SvgQrOpts = { corners: string, radius: number }; declare module 'svgqr.js/lib/svg.js' { const generateSvg: (data: { mat: boolean[][], size: number }, opts: SvgQrOpts) => string; } declare module 'svgqr.js' {...
export class CalcConst { public static ROTATION_DEGREE_PRECISION: number = 1; public static RADIAN_FACTOR: number = (1 / 360) * (2 * Math.PI); public static DEGREE_FACTOR: number = (1 / (2 * Math.PI) * 360); public static DEG360 = 360 * CalcConst.ROTATION_DEGREE_PRECISION; public static ROTATION_LOOKUP: number[][]...
import styled from 'styled-components'; export const Container = styled.div` background: var(--white); width: 480px; border-radius: 8px; padding: 36px; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 10; > input { font-size: 16px; width: 100%; ...
import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { NgModule } from '@angular/core'; import { OfferItemComponent } from './offer-item/offer-item.component'; import { OffersPage } from './offers.page'; import { OffersPageRou...
/// <reference types="react" /> import { React } from 'jimu-core'; import { InputProps } from './types'; import { ValidityResult } from '../types'; export declare type TextInputType = 'text' | 'email' | 'select' | 'file' | 'date' | 'datetime-local' | 'month' | 'search' | 'tel' | 'url' | 'week' | 'password' | 'datetime'...
import { ApplicationRef, Injectable, Injector, ReflectiveInjector, ComponentFactory, ComponentFactoryResolver, ComponentRef, TemplateRef, ViewRef } from '@angular/core'; import {ContentRef} from './content-ref'; import {NgfModalBackdrop} from './modal-backdrop'; import {NgfModalWindow} from './modal-...
import {GraphQLError} from "graphql"; export class NotFoundError extends GraphQLError { constructor(sub: string) { super(`${sub} không tồn tại`) } } export class DuplicateError extends GraphQLError { constructor(sub: string) { super(`${sub} đã tồn tại`) } } export class FieldError extends GraphQLErr...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ForumMembersComponent } from './forum-members.component'; describe('ForumMembersComponent', () => { let component: ForumMembersComponent; let fixture: ComponentFixture<ForumMembersComponent>; beforeEach(async () => { await TestBed....
import 'js-file-download' declare module 'js-file-download' { export default function fileDownload( data: string | ArrayBuffer | ArrayBufferView | Blob, filename: string, mime?: string, bom?: string ): void }
import { createSelector } from 'reselect'; import { LoginAccount, MarketInfos, MarketsList, AccountBalances, ReportingListState } from 'modules/types'; import { AppState } from 'appStore'; import type { Getters } from '@augurproject/sdk'; import { CANCELORDER } from 'modules/common/constants'; export const selectAccou...
import { useMemo } from 'react'; import format from 'string-format'; import type { UseStrfArgs } from './types'; /** * Format a string with variables, like Python's string.format() */ export function useStrf(str: string, fmt: UseStrfArgs, ...deps: unknown[]): string { return useMemo(() => format(str, fmt), deps);...
import { Duration, DurationInput } from './types'; import { isNegative } from './isNegative'; import { negate } from './negate'; import { parse } from './parse'; /** * Get the absolute value of a duration. * * @example * abs({ days: -1, seconds: 1 }) * // { days: 1, seconds: -1 } */ export const abs = (duration:...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { GuessGuard } from '../auth/guess.guard'; import { AuthGuard } from '../auth/auth.guard'; import { RegistroDonadorComponent } from './registro-donador/registro-donador.component'; import { InfoQrDonanteComponent ...
/* * MIT License * Copyright (c) 2018-2020 Aspose Pty Ltd * 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 restriction, including without limitation the rights * to use, copy, modify...
import { VectorE2 } from '../math/VectorE2'; /** * @hidden */ export declare function quadVectorE2(vector: VectorE2): number;
import { graphql, GraphQLSchema } from 'graphql' import { SGBuildConfig, buildGraphQLContext, SGBuildOptions, SGContext } from '../src' import cls from 'cls-hooked' import Sequelize from 'sequelize' const namespace = cls.createNamespace('db-transaction-nsp') Sequelize.Sequelize.useCLS(namespace) const getDbC...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.18.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do n...
/* * Custom Type Definitions * When including 3rd party modules you also need to include the type definition for the module * if they don't provide one within the module. You can try to install it with @types npm install @types/node npm install @types/lodash * If you can't find the type definition in the registry...
import { Injectable } from '@angular/core'; import { Questionnaire } from '../models/questionnaire/questionnaire.model'; import { mockQuestionnaire } from '../mock/MockQuestionnaire'; @Injectable({ providedIn: 'root' }) export class ApiService { constructor() { } private sleep(time = 1000) { return new Pro...
import React, { FC } from "react"; import Layout from "../components/layout"; import Banner from "../components/banner"; import styled from "styled-components"; import Seo from "../components/seo"; const SocialMenu = styled.section` // background-color: #7395ae; margin-top: 30px; // margin-bottom: 40px; paddin...
import type { NextConfig } from '../server/config'; export declare type RouteHas = { type: 'header' | 'query' | 'cookie'; key: string; value?: string; } | { type: 'host'; key?: undefined; value: string; }; export declare type Rewrite = { source: string; destination: string; basePath?...
export class CreateDiscordDto { id: number; username: string; bio: { description?: string; twitter?: string; linkedin?: string; github?: string; }; updatedOn: Date; createdOn: Date; }
// smithy-typescript generated code import { Paginator } from "@aws-sdk/types"; import { ListAppsCommand, ListAppsCommandInput, ListAppsCommandOutput } from "../commands/ListAppsCommand"; import { Resiliencehub } from "../Resiliencehub"; import { ResiliencehubClient } from "../ResiliencehubClient"; import { Resilience...
<TS language="da" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Højreklik for at rette adressen eller teksten</translation> </message> <message> <source>Create a new address</source> <tra...
import * as fra from "mock-framework"; import * as loop3 from "../mock-loop3"; console.group("mock-loop2.ts"); console.log("依赖项为 framework,loop3",fra,loop3); export let mod = { modname:"mock-loop3" }; console.groupEnd();
import * as path from "path"; import { MockTestRunner } from "vsts-task-lib/mock-test"; import { assert } from "chai"; import * as fs from "fs"; const mockRunnerDefinitions = "mockRunnerDefinitions"; export const executeTest = (done: MochaDone) => { const testPath = path.join(__dirname, mockRunnerDefinitions,...
import { CategoryType, Features, GuildData as GuildDataT } from '@roleypoly/types'; import KSUID from 'ksuid'; import { onlyRootUsers, respond } from '../utils/api-tools'; import { GuildData } from '../utils/kv'; // Temporary use. export const CreateRoleypolyData = onlyRootUsers( async (request: Request): Promise<Re...
<TS language="uk" 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</sou...
import React, { FC } from 'react'; import { Icon, IconInterface } from "@redesign-system/ui-core"; export const SizeSIcon: FC<IconInterface> = function SizeSIcon({ className, ...propsRest }) { const classNames = `SizeSIcon ${className}`; return ( <Icon alt="SizeS" className=...
import React, { useState, useContext, PropsWithChildren, useEffect } from 'react'; import cs from '../_util/classNames'; import Button from '../Button'; import IconUpload from '../../icon/react-icon/IconUpload'; import IconPlus from '../../icon/react-icon/IconPlus'; import { TriggerProps } from './interface'; import { ...
import path from 'path' import memoize_once from 'memoize-one' import micro_memoize from 'micro-memoize' import { Immutable } from '@offirmo-private/ts-types' import { expect } from 'chai' import { enforce_immutability } from '@offirmo-private/state-utils' import { utimes } from 'utimes' import { AbsolutePath, Basena...
import nock from 'nock'; import * as sdkJwt from '../../../connectivity/src/scp-cf/jwt'; import { destinationServiceUri } from './environment-mocks'; type nockFunction = (a: string, b: nock.Options) => nock.Scope; export function mockInstanceDestinationsCall( nockRef: nockFunction, response: any, responseCode: ...
import React from 'react'; import { PropTypes } from 'react'; import classNames from 'classnames'; import List from './list'; import { TransferListProps } from './list'; import Operation from './operation'; import Search from './search'; function noop() { } export interface TransferItem { key: string; title: stri...
<TS language="ko_KR" 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>새 주소 만들기<...
/* Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd. http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, worldwide, royalty-free, ...
/** * @license * Copyright 2018 Google LLC * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. * ============================================================================= */ /* Original source: keras/engine/top...
export declare const disposeBox: (box: any) => void; export declare class BlazeFaceModel { blazeFaceModel: any; width: number; height: number; anchorsData: any; anchors: any; inputSize: number; config: any; scaleFaces: number; constructor(model: any, config: any); getBoundingBoxe...
import functions from '../../../utils/base_functions' export const remind = functions() .pubsub .schedule('0 0 1 1 *') .onRun(async (context) => { await (await import('./remind')).default(context) })
import { ComponentFixture, async, TestBed, fakeAsync, tick } from '@angular/core/testing'; import { DebugElement, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { By } from '@angular/platform-browser'; import { IonicModule, Platform, NavController, NavParams } from 'ionic-angular'; import { FirebaseProvider } ...
// export for convenience. export { ActivatedRoute } from '@angular/router'; import { convertToParamMap, ParamMap, Params } from '@angular/router'; import { ReplaySubject } from 'rxjs'; /** * An ActivateRoute test double with a `paramMap` observable. * Use the `setParamMap()` method to add the next `paramMap` value...
version https://git-lfs.github.com/spec/v1 oid sha256:0052431c8166921886fdf83cce4ccc46a3a94a37640866d424513c1b5e79cff3 size 389160
export const defaultDateFormat = 'YYYY-MM-DD'; export const defaultTimeFormat = 'HH:mm';
import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, FormControl, Validators} from '@angular/forms'; import {ApiService} from './../../services/api.service'; import { Router, NavigationEnd,ActivatedRoute } from '@angular/router'; import { ToastrService } from 'ngx-toastr'; @Component({ ...
import { num, number, isNum, isNumber } from './num' describe('num', () => { test('test number validator with a number value', () => { expect(num(42)).toBe(true) }) test('test number validator with a value that is not a number', () => { expect(num('Hello' as any)).toBe(false) }) test('test aliases', () => {...
import {IPlugin} from "./types"; import {MATCH_RESULT} from "./enums"; const Module = require('module').Module; export interface IWrapper { wrapModule: () => void; unwrapModule: () => void; addPlugin: (plugin: IPlugin) => void; removePlugin: (plugin: IPlugin) => void; } export class Wrapper implements IWrapp...
import styles from '../styles/components/Profile.module.css'; import { useContext } from 'react'; import { ChallengesContext } from '../context/ChallengesContext'; export function Profile() { const { level } = useContext(ChallengesContext); return ( <div className={styles.profileContainers}> ...
import * as Discord from "discord.js"; import { IBotCommand } from "../api"; export default class kick implements IBotCommand { private readonly _command = "kick" help(): string { return "(Admin Only) Kicks the mentioned user"; } isThisCommand(command: string): boolean ...
import { Logger } from "@nestjs/common"; import { MigrationInterface, QueryRunner, Table, TableForeignKey } from "typeorm"; /** * Migration service for `Session` entity: create the `session` table. * * @class */ export class Session1617686200270 implements MigrationInterface { /** * Initialize migration met...
import '@aws-cdk/assert/jest'; import { doesNotThrow, equal, throws } from 'assert'; import { Schema } from '../lib'; test('boolean type', () => { equal(Schema.BOOLEAN.inputString, 'boolean'); equal(Schema.BOOLEAN.isPrimitive, true); }); test('binary type', () => { equal(Schema.BINARY.inputString, 'binary'); ...
import { bind } from 'decko'; import * as backoff from 'backoff'; import { Component, h } from 'preact'; import { ITerminalOptions, Terminal } from 'xterm'; import { FitAddon } from 'xterm-addon-fit'; import { WebglAddon } from 'xterm-addon-webgl'; import { WebLinksAddon } from 'xterm-addon-web-links'; import { Overla...
import * as sd from "type-mapping"; import {IColumn, Column} from "../../column"; /** * Used to implement narrowing */ export type ToNonNullable<ColumnT extends IColumn> = ( ColumnT extends IColumn ? Column<{ readonly tableAlias : ColumnT["tableAlias"], readonly name : ColumnT["name"], ...
export enum RolesDeUsuarios { ADMIN = 'Administrador', HELPDESK = 'Operador Helpdesk', }
import { AppPage } from './app.po'; describe('upcoming App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getParagraphText()).toEqual('Welcome to app!'); }); });
/** @jsx jsx */ import { jsx, Box, BoxProps } from 'theme-ui' import * as React from 'react' import { Link } from 'gatsby' interface MediaItemProps extends BoxProps { media: any } const MediaItem: React.FC<MediaItemProps> = ({ media, ...other }) => ( <Box {...other}> ({media.frontmatter.date})<Link to={media....
// Original file: deps/envoy-api/envoy/api/v2/cluster.proto import type { Struct as _google_protobuf_Struct, Struct__Output as _google_protobuf_Struct__Output } from '../../../google/protobuf/Struct'; import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobu...
import AtComponent from './base' export interface AtSwitchProps extends AtComponent { /** * 标签名 */ title?: string /** * 背景颜色 * @default #6190e8 */ color?: string /** * 是否显示开启,支持 v-model, 用户可通过 v-model:checked 或 onChange 获取开关状态 * @default false */ checked?: boolean /** * 是否禁止点击 ...
import { EMR } from "../EMR.ts"; import { EMRClient } from "../EMRClient.ts"; import { ListInstanceFleetsCommand, ListInstanceFleetsCommandInput, ListInstanceFleetsCommandOutput, } from "../commands/ListInstanceFleetsCommand.ts"; import { EMRPaginationConfiguration } from "./Interfaces.ts"; import { Paginator } f...
/* tslint:disable */ /* eslint-disable */ /** * CLOUD API * An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinn...
// ag-grid-react v21.2.0 import { Component } from "react"; import * as AgGrid from "ag-grid-community"; import { ColDef, ColGroupDef } from "ag-grid-community"; export interface AgGridColumnProps extends ColDef { } export interface AgGridColumnGroupProps extends ColGroupDef { } export declare class AgGridColumn extend...
/** * @license * Copyright Google LLC 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 */ /** * @publicApi */ export enum ErrorCode { DECORATOR_ARG_NOT_LITERAL = 1001, DECORATOR_ARITY_WRONG = 1002, D...
/* eslint-disable react/display-name */ import { css } from "@emotion/css"; import { Tooltip } from "czifui"; import React from "react"; import { defaultHeaderRenderer } from "src/common/components/library/data_table"; import dataTableStyle from "src/common/components/library/data_table/index.module.scss"; import { Ne...
import clsx from 'clsx' import React from 'react' import Link from 'next/link' import { useRouter } from 'next/router' import { GitHub, Menu } from '@mui/icons-material' import useScrollTrigger from '@mui/material/useScrollTrigger' import makeStyles from '@mui/styles/makeStyles' import createStyles from '@mui/styles/cr...
import { AddAction, ResolvedExtension } from '@console/dynamic-plugin-sdk'; import { ALL_NAMESPACES_KEY } from '@console/shared'; import { getAddGroups, resolvedHref, filterNamespaceScopedUrl } from '../add-page-utils'; import { addActionExtensions, addActionGroupExtensions, addActionsWithoutValidGroupId, } from ...
import { Injectable } from '@angular/core'; import { InjectionToken } from '@angular/core'; import { URLProvider } from 'ngx-launcher'; import { ApiLocatorService } from '../../../shared/api-locator.service'; export let ANALYTICS_RECOMMENDER_URL = new InjectionToken<string>('analytics.recommender.url'); export let ANA...
import Knex from "knex"; export async function up(knex: Knex) { return knex.schema.createTable("points", (table) => { table.increments("id").primary(); table.string("image").notNullable(); table.string("name").notNullable(); table.string("email").notNullable(); table.string("whatsapp").notNullabl...
import { useContext, useEffect, useState } from "react" import axios from "axios" import moment from "moment" import qs from "qs" import { useRouter } from "next/router" import useSWR from "swr" import { ApplicationStatusProps, isInternalLink, t, encodeToBackendFilterArray, ListingFilterState, } from "@bloom-...
import axios, { AxiosRequestConfig, AxiosError } from 'axios'; import humps from 'humps'; import { getToken } from "@/libs/token"; axios.interceptors.request.use( function (config) { if (process.browser && config.data && config.data instanceof FormData) { return config; } config.params = config.par...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { FormComponent } from './form/form.component'; import { LoginComponent } from './login/login.component'; import { RegisterComponent } from './register/register.component'; import { WelcomeComponent } from './welco...
import { BrowserWindow, ipcMain, shell } from 'electron'; import path from 'path'; import ScannerManager from './core/scannerManager'; import Flasher from './core/serial/flasher'; import rendererConsole from './core/rendererConsole'; import IpcManager from './core/ipcMainManager'; import HardwareListManager from './cor...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import { expect } from 'chai'; import { DotNetCellMetadata, getCellLanguage, getDotNetMetadata, getLanguageInfoMetadata, LanguageInfoMetadata, wi...
import { Brightness, OnOff, ScryptedDevice, ScryptedMimeTypes, VideoCamera } from "@scrypted/sdk"; import { executeResponse } from "../common"; import { commandHandlers } from "../handlers"; import sdk from "@scrypted/sdk"; const {mediaManager, endpointManager, systemManager } = sdk; const tokens: { [token: string]: ...
import Patch from '../ldp/IPatch'; import IRepresentation from '../ldp/IRepresentation'; import IRepresentationPreferences from '../ldp/IRepresentationPreferences'; import Conditions from '../ldp/Conditions'; import IResourceIdentifier from '../ldp/IResourceIdentifier'; export default interface IResourceStore { /** ...
import { TestBed, async } from '@angular/core/testing'; import {  MovieFilterPipe } from './app.filter.pipe'; describe(' MovieFilterPipe', () => { it('create an instance', () => { const pipe = new  MovieFilterPipe(); expect(pipe).toBeTruthy(); }); });
import { createEffect, createEvent, split } from "effector"; import { WsEvent } from "../../../../shared/types"; export const websocketConnectFx = createEffect(); export const websocketMessage = createEvent<WsEvent>(); export const wsMessages = split(websocketMessage, { subMessage: ({ t }) => t === "SUBSCRIPTION_M...
export interface EarningsEstimateInterface { date: string; analystsAmt: string; avgEstimate: string; lowEstimate: string; highEstimate: string; yearAgoEPS: string; } export interface RevenueEstimateInterface { date: string; analystsAmt: string; avgEstimate: string; lowEstimate: s...
/** * A web-gRPC wrapper client for communicating with the web-gRPC enabled Textile ThreadDB & Buckets APIs. * @packageDocumentation */ export * from '@textile/buckets' export * from '@textile/crypto' export * from '@textile/grpc-authentication' export * from '@textile/hub-filecoin' export * from '@textile/hub-threa...
import { Logger } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; import axios from "axios"; // import logger from "./logger"; import morgan from "morgan"; import { AppModule } from './app.module'; import { LogShippingService } from './logger/logshipping.service'; async function bootstrap() { cons...
import { all } from 'redux-saga/effects'; import { configSaga } from '../config/Config.sagas'; export function* appSaga() { /** * previously using if to prevent error in the npm test. Now it disabled until we use saga and see if * it still error without if configSaga */ // if (configSaga) yield all(config...