text
stringlengths
10
953k
import 'dotenv/config'; import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; import { Logger } from '@nestjs/common'; const port = process.env.PORT || 8080; async function bootstrap() { const app = await NestFactory.create(AppModule); await app.listen(port); Logger.log(`Server s...
import { Features } from "@/Features"; import { SaveData, IgtFeature } from "incremental-game-template"; import Bean from "../bean/Bean"; import { BeanType } from "../bean/BeanList"; import Beans from "../bean/Beans"; import GameController, { InfoType, TabType } from "../GameController"; import Notifications from "../n...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Params, Router } from '@angular/router'; import { FormGroup, FormControl, FormArray, Validators } from '@angular/forms'; // import { RecipeService } from '../importer.service'; @Component({ selector: 'app-importer-edit', templateUrl: './Imp...
import axios from "axios"; import { FilterDefaultsConfig, DefinitionConfig, DashboardLayout } from "im-library/dist/types/interfaces/Interfaces"; import {Env} from 'im-library'; export default class ConfigService { public static async getComponentLayout(name: string): Promise<DefinitionConfig[]> { try { re...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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, enums } from "../../types"; import * as utilities from "../../utilities"; /*...
'use strict'; import {IOffer, IProductMap, items, offers, productExists} from "./items"; export const deliminator = ''; export function checkout(skus: string) { console.log(skus); if (typeof skus !== 'string') { return -1; } if (skus.length === 0) { return 0; } const skuList =...
/** * @packageDocumentation * @module Constants */ /** * Code types to be used in Multi-Factor Authentication * * @public */ export enum MFACodeType { SMS = 'sms', EMAIL = 'email', FINGER_VEIN = 'fv', OTP = 'otp' }
import { ApplicationDataSourceRegistry } from './ApplicationDataSourceRegistry'; import { InferredApplicationWarningService } from './InferredApplicationWarningService'; import { REST } from '../../api'; import { Application } from '../application.model'; import { SchedulerFactory } from '../../scheduler'; import { App...
import { TestBed } from "@angular/core/testing"; import { By } from "@angular/platform-browser"; import { Component } from "@angular/core"; import { MdlMenuModule } from "./mdl-menu.module"; import { MdlButtonComponent } from "../button/mdl-button.component"; import { MdlMenuComponent, MdlMenuRegisty } from "./mdl-menu...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
export * from './AnalyticsLoaderList'
import { Component, OnInit } from '@angular/core'; import { first } from 'rxjs/operators'; import { Router, ActivatedRoute } from '@angular/router'; import {Params} from '@angular/router'; import { User, Claim, Patient, Address } from '../_models'; import { EOB, Coverage, CoverageGroup } from '../_models'; import { ...
import ARCHITECT from "../core/architect.js"; import CounterUI from "../core/CounterUI.js"; import SETTINGS from "../core/settings.js"; export default class TileCounter { private static _counter = new CounterUI(0, 'Tiles'); static ready() { libWrapper.register(ARCHITECT.MOD_NAME, 'BackgroundLayer.prototype.activat...
import { Property, EventHandler, Internationalization, NotifyPropertyChanges, detach, getUniqueID } from '@syncfusion/ej2-base';import { KeyboardEvents, BaseEventArgs, KeyboardEventArgs, Event, EmitType, Browser, L10n, ChildProperty } from '@syncfusion/ej2-base';import { addClass, createElement, remove, closest, select...
import { Message } from "../types/message"; export type JoinGameRequest = { userName: string; roomCode: string; clientID?: string; }; export type CreateGameRequest = { name: string; maxPlayers: number; maxSubmissions: number; teams: string[]; }; export type GameEvent = { error?: string; code?: stri...
import * as React from 'react' import { connect } from 'react-redux' import { Link } from 'react-router-dom' import { Event, EventState as EntityEventState } from '@truesparrow/content-sdk-js' import { User } from '@truesparrow/identity-sdk-js' import * as config from './config' import { EventState, OpState } from '....
import { Body, Controller, Get, Post } from '@nestjs/common'; import { AppService } from './app.service'; @Controller() export class AppController { constructor(private readonly appService: AppService) {} @Get() getHello(): string { return this.appService.getHello(); } @Post() postHello(@Body() body:...
import { Requester, Validator, AdapterError } from '@chainlink/ea-bootstrap' import { ExecuteWithConfig, Config, InputParameters } from '@chainlink/types' export const description = "Queries JPEG'd API for the value of a floor Cryptopunk at the requested block." export const supportedEndpoints = ['punks'] export i...
import { CARD_EDITOR_VIEW } from '@app/constants/Views'; import { SimpleCard } from '@app/molecules/SimpleCard'; import { useAppStore } from '@app/store'; import { SidebarAction } from '@app/store/Sidebar'; import { compile } from 'path-to-regexp'; import React from 'react'; import { useHistory } from 'react-router'; i...
/* * Copyright 2021 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 ...
/** * @license * Copyright 2018 Google Inc. 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
<TS language="gl" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Crear unha nova dirección</translation> </message> <message> <source>&amp;New</source> <translation>&amp;Novo</translation> </message> ...
/** * <p>Contains the Amazon Glacier response to your request.</p> */ export interface _DescribeVaultOutput { /** * <p>The Amazon Resource Name (ARN) of the vault.</p> */ VaultARN?: string; /** * <p>The name of the vault.</p> */ VaultName?: string; /** * <p>The Universal...
import { middlewareRegisterMetadata } from '../container'; import { MiddlewareOption } from '../interfaces/MiddlewareOption'; export function Middleware(options?: MiddlewareOption) { return (target: Function) => { options = options || ({} as any); target.prototype.exclude = options.exclude; ...
import { Injectable } from '@angular/core'; import dayjs from 'dayjs/esm'; import { HttpClient, HttpParams, HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { omit as _omit } from 'lodash-es'; import { createRequestOption } from 'app/shared/uti...
import { stripRoot } from '../stripRoot'; describe('stripRoot', () => { it.each(['foo', 'test/a', 'a/b'])('does not alter "%s" path', (path) => { expect(stripRoot(path)).toEqual(path); }); it.each` actual | expected ${'/foo'} | ${'foo'} ${'c:\\foo'} | ${'foo'} ${'\\foo'} | ${'foo'...
import React, { Component } from 'react'; import { Text, TouchableOpacity, View, Modal, } from 'react-native'; import { Picker } from '@react-native-picker/picker'; import Country from './country'; import styles from './styles'; import { ReactNativeCountryPickerProps, ReactNativeCountryPickerState } from './typing...
import { IBasicMathOpSet } from './basic'; import { ITrigMathOpSet } from './trigonometry'; import { IPowerMathOpSet } from './pow'; import { ILogExpMathOpSet } from './logexp'; import { IRoundingMathOpSet } from './rounding'; import { ISpecialFunctionOpSet } from './special'; export interface IMathOpProvider extends ...
<TS language="ne" 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> ...
/* * Copyright 2020 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...
import * as firebase from "firebase/app"; import "firebase/database"; const config = { apiKey: "AIzaSyAbD5tFyFl1aZUuf7w8pt70ybyHNTxB_08", authDomain: "she-test-8afd3.firebaseapp.com", databaseURL: "https://she-test-8afd3.firebaseio.com", projectId: "she-test-8afd3", storageBucket: "she-test-8afd3.appspot.com...
import { _DomainStatus } from "./_DomainStatus"; import { Structure as _Structure_ } from "@aws-sdk/types"; export const DeleteDomainOutput: _Structure_ = { type: "structure", required: [], members: { DomainStatus: { shape: _DomainStatus } } };
/* * Copyright 2021 Collate * 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 writing,...
import fs from 'fs'; import * as rollup from 'rollup'; import chalk from 'chalk'; import ms from 'pretty-ms'; import onExit from 'signal-exit'; import dateTime from 'date-time'; import mergeOptions from '../../../src/utils/mergeOptions'; import batchWarnings from './batchWarnings'; import alternateScreen from './altern...
import { Component, ViewChild } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import { Events, ModalController, NavParams, ViewController } from 'ionic-angular'; import { DecimalPipe } from '../../../node_modules/@angular/common'; import { Logger } from '../../providers/logger/lo...
import { Renderer, Triangle, Program, Texture, Mesh, Vec2 } from '../../'; import { Flowmap } from '../../'; const vertex = /* glsl */ ` attribute vec2 uv; attribute vec2 position; varying vec2 vUv; void main() { vUv = uv; gl_Position = ...
import React, { AnchorHTMLAttributes, ButtonHTMLAttributes, useContext } from 'react'; import { css, cx } from 'emotion'; import tinycolor from 'tinycolor2'; import { selectThemeVariant, stylesFactory, ThemeContext } from '../../themes'; import { Button as DefaultButton, LinkButton as DefaultLinkButton } from '../Butto...
import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common' import { TeachersService } from './teachers.service' import { CreateTeacherDto } from './dto/create-teacher.dto' import { UpdateTeacherDto } from './dto/update-teacher.dto' @Controller('teachers') export class TeachersController { con...
export type AdminConfig = { type: string; project_id: string; private_key_id: string; private_key: string; client_email: string; client_id: string; auth_uri: string; token_uri: string; auth_provider_x509_cert_url: string; client_x509_cert_url: string; };
import {processPart} from './html.js' import {directive} from './directive.js' import type {TemplatePart} from '@github/template-parts' const untils: WeakMap<TemplatePart, {i: number}> = new WeakMap() export const until = directive((...promises: unknown[]) => (part: TemplatePart) => { if (!untils.has(part)) untils.s...
import { Controller } from '@nestjs/common'; import { Crud } from '@nestjsx/crud'; import { UserEntity } from '@notifire/dal'; import { UsersService } from './users.service'; @Crud({ model: { type: UserEntity, }, params: { id: { type: 'string', primary: true, field: 'id', }, }, })...
import * as vscode from 'vscode'; import { getOnDiskWorkspaceFolders, showAndLogErrorMessage } from './helpers'; import { ProgressCallback, UserCancellationException } from './commandRunner'; import { logger } from './logging'; import * as messages from './pure/messages'; import * as qsClient from './queryserver-client...
import React from 'react'; import { render, screen, fireEvent } from '@testing-library/react'; import { Details } from './Details'; describe('Details', () => { describe('Default', () => { test('It renders a default details HTML element and summary', () => { render( <Details isOpen={false}> ...
import { Component } from '@angular/core'; import { NavController,ToastController,LoadingController } from 'ionic-angular'; import { Http,Headers } from '@angular/http'; import { Storage } from '@ionic/storage'; @Component({ selector: 'page-add-student', templateUrl: 'add-student.html', }) export class AddStudentP...
import { expect } from "chai"; import { TabsOrientation, Tabs, TabsTemplate as template } from "./index"; import { fixture } from "../fixture"; import { DOM, customElement, html } from "@microsoft/fast-element"; @customElement({ name: "fast-tabs", template, }) class FASTTabs extends Tabs {} async function set...
import * as fs from "fs"; import * as tdigest from "tdigest"; import * as lbl from "line-by-line"; export interface IQuantilizeCsvFileParams { input_fname: string; output_fname: string; col_index_min: number; col_index_max: number; dec_places: number; min_examples_for_digest: number; } /** * ...
import { readonlyArray, option, function as fn } from "fp-ts"; import type { Option } from "fp-ts/Option"; export type Sequence<T> = Iterable<T>; export const of = <T>(...elements: readonly T[]): Sequence<T> => elements; export const every = <T>(predicate: (element: T) => boolean) => (sequence: Sequence<T>): boo...
import { Icon } from '@iconify/react'; import infoFill from '@iconify/icons-eva/info-fill'; import alertCircleFill from '@iconify/icons-eva/alert-circle-fill'; import alertTriangleFill from '@iconify/icons-eva/alert-triangle-fill'; import checkmarkCircle2Fill from '@iconify/icons-eva/checkmark-circle-2-fill'; // materi...
/** * @license * * Copyright (c) 2018, Костя Третяк. (MIT Licensed) * https://github.com/ts-stack/markdown */ import { escape, unescape } from "./helpers.ts"; import { Renderer } from "./renderer.ts"; export interface Obj { [key: string]: any; } export interface RulesBlockBase { newline: RegExp; code: Reg...
// Copyright 2015-2020 SWIM.AI 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 agreed ...
// Copyright 2017-2019 @polkadot/types 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 latestSubstrate from './latest.substrate.v3.json'; import rpcData from './static'; import { decodeLatestSubstrate, defaul...
export default interface FindAllInDayFromProviderDTO { provider_id: string; month: number; year: number; day: number; }
import { Component, AfterViewInit } from '@angular/core'; import * as d3 from 'd3'; @Component({ selector: 'd3sample-geographies', templateUrl: './geographies.component.html' }) export class GeographiesComponent implements AfterViewInit { private geoJsonMap: any; private mapUrl: string; private mapScale: nu...
import { defineStore } from 'pinia' export const useUserStore = defineStore('user', () => { const user = useStorage('user', { name: '', email: '', pass: '', authenticated: false, }) return { user, } })
import { inject, injectable } from 'inversify'; import { HTMLInputProvider, InputKey, InputProvider } from '@uni.js/html-input'; import { ClientSideManager } from '@uni.js/client'; import * as Events from '../../event/internal'; @injectable() export class PickDropManager extends ClientSideManager { constructor(@injec...
import { Entries } from './automaton'; import { TupleOf } from './tuple-of'; type DeepPartial<T> = { [P in keyof T]?: DeepPartial<T[P]>; }; type HyperRectangle<STATE extends string> = STATE[] | HyperRectangle<STATE>[]; const countEntriesByState = <N extends number, STATE extends string>( entries: Entries<N, STAT...
// https://www.wsib.ca/en/operational-policy-manual/classification-structure import type * as types from "./types"; const wsibClasses_A: types.WSIBClass = { className: "AGRICULTURE", naicsPrefixes: ["11", "001010"] }; const wsibClasses_B: types.WSIBClass = { className: "MINING, QUARRYING AND OIL AND GAS EXT...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RedeemTabComponent } from './redeem-tab.component'; describe('RedeemComponent', () => { let component: RedeemTabComponent; let fixture: ComponentFixture<RedeemTabComponent>; beforeEach(async(() => { TestBed.configureTestingM...
import { Tools } from "../Misc/tools"; import { Observer } from "../Misc/observable"; import { Nullable } from "../types"; import { Camera } from "../Cameras/camera"; import { Scene, IDisposable } from "../scene"; import { PerfCounter } from "../Misc/perfCounter"; /** * This class can be used to get instrumentation da...
import { merge } from 'lodash-es'; import NodeModel, { Event, $ } from '../node'; import language from '../locales'; import Change from '../change'; import { DATA_ELEMENT } from '../constants/root'; import schemaDefaultData from '../constants/schema'; import conversionDefault from '../constants/conversion'; import Sche...
import classNames from 'classnames' import { camelCase } from 'lodash' import DatabaseIcon from 'mdi-react/DatabaseIcon' import React, { useCallback, useContext, useRef, useState } from 'react' import { TelemetryProps } from '@sourcegraph/shared/src/telemetry/telemetryService' import { asError, isErrorLike } from '@so...
import React, {PureComponent} from 'react' import {Text, Markdown, Box, Box2, Meta, Icon} from '../../../../common-adapters' import {AllowedColors} from '../../../../common-adapters/text' import { globalStyles, globalColors, globalMargins, styleSheetCreate, collapseStyles, platformStyles, } from '../../../....
import moment, { Moment } from 'moment'; let oncePerSecondTimestamp: Moment; export function oncePerSecond(): boolean { if (!oncePerSecondTimestamp) { oncePerSecondTimestamp = moment(); return false; } const diff = moment().diff(oncePerSecondTimestamp); // console.log('oncePerSecond', diff); if (diff > 1000...
// Type definitions for ag-grid v8.2.0 // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby <https://github.com/ceolter/> import { DropTarget, DraggingEvent } from "../dragAndDrop/dragAndDropService"; export declare class BodyDropTarget implements DropTarget { private context; private gridPanel; ...
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, assertThrows } from "./test_util.ts"; Deno.test( { permissions: { read: true, write: true } }, function ftruncateSyncSuccess() { const filename = Deno.makeTempDirSync() + "/test_ftruncateSync.txt"; ...
import {MonitorRuleCode, MonitorRuleLog, MonitorRuleLogs} from '@/services/data/data-quality/rule-types'; import {fetchMonitorRuleLogs} from '@/services/data/data-quality/rules'; import {Topic, TopicId} from '@/services/data/tuples/topic-types'; import {ICON_BACK, ICON_REFRESH} from '@/widgets/basic/constants'; import ...
/* * 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 ...
version https://git-lfs.github.com/spec/v1 oid sha256:fb167e360fcb6e2729d2a873b5e544bd13224ae184f8b2591b90edb027b7c7da size 544072
/* * Copyright 2022 Chaos Mesh 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 agreed...
import { join } from 'path'; import * as shell from 'shelljs'; const projectsRoot = join(__dirname, '../projects'); [1, 3, 4, 5, 6].forEach((value) => { it(`Project ${value}`, () => { const { code, stderr } = shell.exec('npm start', { cwd: join(projectsRoot, `project${value}`), silent: true }); ...
export { partitionHTMLProps, htmlInputProps, htmlImageProps } from './htmlProps'; export { useClickOutside, useColorSchemePreference, useTimeout } from './hooks'; export { default as numberToWord } from './numberToWord'; export { createShorthand, createChildren, createShorthandFactory, buildShorthand } from './facto...
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { ROUTE_ANIMATIONS_ELEMENTS } from '../../../core/core.module'; @Component({ selector: 'mds-authenticated', templateUrl: './authenticated.component.html', styleUrls: ['./authenticated.component.scss'], changeDetection: ChangeDe...
// Because the in: direction seems to be broken // Reference: https://svelte.dev/repl/e177537996964518a97c27dd0bee2d43?version=3.42.4 const dirs = { top: 'translateY(-', bottom: 'translateY(', left: 'translateX(-', right: 'translateX(', } export const fly = function (node: HTMLElement, { from = 'top', ...opts }) ...
import Setting from './models/Setting'; import Synchronizer from './Synchronizer'; import { _ } from './locale.js'; import BaseSyncTarget from './BaseSyncTarget'; import { FileApi } from './file-api'; import SyncTargetJoplinServer, { initFileApi } from './SyncTargetJoplinServer'; interface FileApiOptions { path(): st...
import { Permissions } from './permissions' /** Information about the current user that is transmitted to the client. */ export interface UserInfo { user: User permissions: Permissions } export interface User { id: number name: string email: string emailVerified: boolean }
import { join, dirname } from "path"; import { fileURLToPath } from "url"; import Excel from "exceljs"; export async function ExcelApp(): Promise<void> { const workbook = new Excel.Workbook(); await workbook.xlsx.readFile( join(dirname(fileURLToPath(import.meta.url)), "../../static/check.xlsx"), ); const ...
import { HttpClientModule, HttpErrorResponse } from "@angular/common/http"; import { TestBed } from "@angular/core/testing"; import { Actions, EffectsModule } from "@ngrx/effects"; import { provideMockActions } from "@ngrx/effects/testing"; import { StoreModule } from "@ngrx/store"; import { TestScheduler } from "rxjs/...
import * as React from 'react'; import { useLayoutEffect } from 'react'; import { useIsFocused } from '@react-navigation/core'; import { SMExchangesStackScreenProps } from '../../navigation/types'; import Colors from '../../constants/Colors'; import Loading from '../../components/UI/Loading'; import Fallback from '../...
import { ServiceException as __ServiceException__ } from "@aws-sdk/types"; /** * <p>The properties of this WorkSpace are currently being modified. Try again in a moment.</p> */ export interface OperationInProgressException extends __ServiceException__<_OperationInProgressExceptionDetails> { name: "OperationInPro...
export const c_table_tr_m_hoverable_active_BoxShadow: { "name": "--pf-c-table--tr--m-hoverable--active--BoxShadow", "value": "0 -0.1875rem 0.25rem -0.125rem rgba(3,3,3,.08), 0 0.125rem 0.25rem -0.0625rem rgba(3, 3, 3, 0.16)", "var": "var(--pf-c-table--tr--m-hoverable--active--BoxShadow)" }; export default c_table...
import { DataSourceChangeType } from "./data-source-change-type"; export class DataSourceChangeArguments<TRow> { constructor(public changeType?: DataSourceChangeType, public added?: TRow[], public removed?: TRow[]) { } }
import { Client } from "discord.js"; export class UserLookupService { constructor(private discordClient: Client) {} findByUsername(username: string, discriminator: string) { let member = this.discordClient.users .filter(x => x.username == username && x.discriminator === discriminator) ...
import {Component, OnInit, ViewChild} from '@angular/core'; import {MatIconRegistry, MatSort, MatTableDataSource} from '@angular/material'; import {DownloadStatus, GlobalStat, PcsService} from '../../providers/pcs.service'; import {BrowserWindow, remote} from 'electron'; import * as path from 'path'; import {Router} fr...
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; platformBrowserDynamic().bootstrapModule(AppModule);
import { IUlist } from './interfaces/ulist.interface'; export let NAVIGATION_ITEM_LIST_ORIGINAL: IUlist[] = [ { type: 'MENU', name: 'Dashboard', uniqueName: '/pages/home', hasTabs: false }, // { type: 'MENU', name: 'Journal Voucher', uniqueName: '/pages/accounting-voucher', hasTabs: false }, { type: 'MENU'...
import { IPost, LoadingStatusEnum } from '../../old/lib/types'; import { IFetchExpertsMaterialsOptions } from '../expertMaterials/types'; import { IFilterByStatus, IMaterialsData } from '../materials/types'; export interface IFetchExpertsMaterialsByStatusOptions extends Omit<IFetchExpertsMaterialsOptions, 'filters'>...
import { interfaces } from 'inversify'; import { ContainerProvider } from './container-provider'; export namespace ContainerUtil { export function get<T>(serviceIdentifier: interfaces.ServiceIdentifier<T>): T { return ContainerProvider.provide().get(serviceIdentifier); } export function getAll<T>(...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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, enums } from "../../types"; import * as utilities from "../../utilities"; /*...
export * from './lib/+state/detail/detail.facade'; export * from './lib/+state/heroes.store.module'; export * from './lib/+state/list/list.facade'; export * from './lib/+state/search/search.facade'; export * from './lib/services/heroes.service';
import { Component, OnInit } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; import { ActivatedRoute, Router } from '@angular/router'; import { RemoteData } from '../../../../core/data/remote-data'; import { first, map } from 'rxjs/operators'; import { NotificationsService } from '../../../not...
import {IncomingMessage} from 'http'; export class Command { readonly id: string; readonly peerWallet: string; readonly peerIp: string; readonly data: object; constructor(id: string, peerWallet: string, peerIp: string, data: object) { this.id = id; this.peerWallet = peerWallet; ...
import { EmptyObject } from '../types'; declare const _default: (value: unknown) => value is EmptyObject; export default _default;
import { Eventstore } from '@resolve-js/core' import { TestEvent } from '../types' import { prepareEvents } from './prepare-events' export const getEventStore = ( events: TestEvent[], context?: { aggregateId: string } ): Eventstore => { const eventStoreLocalState = new Map< string, { destination: any; st...
export class ResponseError{ timestamp:Date; status:number; error:string; exception:string; message:string; path:string; }
import { SignalSocket } from "./SignalSocket"; /** * Create a property as an observable, * wich allows other objects to hook into this socket and listen to changes * on this property */ export class ObservableSocket<T> extends SignalSocket<ObserverSignal<T>> { /** * * @param value The initial valu...
import React from 'react'; import { Icon, IconProps } from '@chakra-ui/icon'; export const BasketballSharpIcon = (props: IconProps) => ( <Icon viewBox="0 0 512 512" fill="currentcolor" stroke="currentcolor" {...props} > <path d="M256 233.37l34.45-34.45a207.08 207.08 0 01-50.12-135.25c0-5 .19-10...
import { SyncronizeService } from './syncronize.service'; import { SqlHelper } from './sql-helper'; export const ORM_SERVIES = [SyncronizeService, SqlHelper];
import { PolicyStatementWithPrincipal } from './6-principals'; /** * Represents a statement in an IAM policy document */ export class PolicyStatement extends PolicyStatementWithPrincipal { protected cdkApplied = false; // internally used to check if resources, actions and conditions have already been applied to th...
import { PassportStrategy } from '@nestjs/passport'; import { Injectable } from '@nestjs/common'; import { JwtStrategy } from './jwt.strategy'; @Injectable() export class AnonymousStrategy extends PassportStrategy( JwtStrategy, 'anonymous', ) { constructor() { super(); } authenticate() { return this...
import { Achievement, Gradebook, GradebookPage } from "../model"; /** список достижений студента */ export interface AchievementObject { size?: number; data: Achievement[] | null; } /** создание достижения (лично преподавателем) */ export interface AchievementCreate { /** зачисляемые очки */ score: number; /*...