text
stringlengths
10
953k
/** * * * OpenAPI spec version: 20200129 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as sho...
import { mount } from "enzyme" import "jest-styled-components" import React from "react" import renderer from "react-test-renderer" import { VideoArticle } from "../../Fixtures/Articles" import { Media } from "../../Fixtures/Components" import { EditableChild } from "../../Fixtures/Helpers" import { VideoCover, VideoCo...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { NO_ERRORS_SCHEMA } from '@angular/core'; import * as utilFunctions from './../../utils/util'; import { expectPropertiesValues } from './../../util-test/util-expect.spec'; import { PoPageBackgroundComponent } from './po-page-back...
import { Injectable, Logger } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { ProviderHistory, ProviderHistoryDocument } from './provider-history.schema'; @Injectable() export class ProviderHistoryService { private readonly logger = new Logger(Provi...
import './graphic'; import {registerPainter} from '../zrender'; import Painter from './Painter'; registerPainter('canvas', Painter);
import {Directive, HostBinding} from '@angular/core'; import {BaThemeConfigProvider, isMobile} from '../../index'; @Directive({ selector: '[baThemeRun]' }) export class BaThemeRun { @HostBinding('class') classesString:string; private _classes:Array<string> = []; constructor(private _baConfig:BaThemeConfigPr...
export * from "./FormLayout"; export * from "./components";
import { NextFunction, Request, Response, Router } from 'express'; import * as HttpStatus from 'http-status-codes'; import { Logger, ILogger } from '../utils/logger'; import { priceList, priceBuilder, MIN_PRICE, MIN_PRICE_DRESSINGS } from '../utils/prices'; const logger: ILogger = new Logger(__filename); const prices...
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('suitUp ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ContainerComponent } from './container.component'; describe('ContainerComponent', () => { let component: ContainerComponent; let fixture: ComponentFixture<ContainerComponent>; beforeEach(async(() => { TestBed.configureTestin...
import { MessageEmbed } from 'discord.js'; import config from '../config.json'; const help: Command = { name: 'help', description: "Shows this bot's command list.", usage: ['(command)'], aliases: ['commands'], execute: async ({ channel, client, args }) => { const command = client.findCommand(args[0] || ''); i...
export * from 'papupata/dist/main/common-types'
// (C) Copyright 2015 Martin Dougiamas // // 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 agre...
import { indexSupplementary } from '../../src/compiler/index.supplementary'; import { join } from 'path'; import { DocEntry, generateAstDocumentation } from '../../src/compiler/ts-class.ast.document'; jest.mock('fs', () => { const originalModule = jest.requireActual('fs'); return { ...originalModule, ...
/* Copyright 2020, Verizon Media Licensed under the terms of the MIT license. See the LICENSE file in the project root for license terms. */ export class Body { public controller; public activate(model) { this.controller = model.controller; } }
import { Injectable } from '@angular/core'; import { ParsedResponse } from '../cache/response.models'; import { DSpaceSerializer } from '../dspace-rest/dspace.serializer'; import { RestRequest } from './request.models'; import { RawRestResponse } from '../dspace-rest/raw-rest-response.model'; import { hasValue } from '...
/** The MIT License (MIT) */ import { Props, createIcon } from '../Icon' import React from 'react' export default React.forwardRef((props: Props, ref: React.RefObject<HTMLSpanElement>) => ( createIcon(props, ref, { filled: <path fillRule="evenodd" clipRule="evenodd" d="M17 4H19C19.55 4 20 4.45 20 5V19C20 ...
import { InvalidInputException } from "./InvalidInputException"; import { EntityNotFoundException } from "./EntityNotFoundException"; import { InternalServiceException } from "./InternalServiceException"; import { OperationTimeoutException } from "./OperationTimeoutException"; export type ListJobsExceptionsUnion = | ...
import { MDCSnackbar } from '@material/snackbar'; import { Component, ComponentInterface, Element, Event, EventEmitter, h, Host, Prop, } from '@stencil/core'; import classNames from 'classnames'; import { SnackbarType } from '../types'; @Component({ tag: 'ino-snackbar', styleUrl: 'ino-snackbar.scss...
import React, { useState } from 'react' import styled from 'styled-components' import Button from '../../../components/Button' import Card from '../../../components/Card' import CardContent from '../../../components/CardContent' import CardIcon from '../../../components/CardIcon' import Label from '../../../components/...
import React from 'react' import { useReadOnlyConsoleLogs } from '../../core/shared/runtime-report-logs' import { setFocus } from '../common/actions' import { openCodeEditorFile } from '../editor/actions/action-creators' import { getAllCodeEditorErrors } from '../editor/store/editor-state' import { useEditorState } fro...
import { Component, OnInit } from '@angular/core'; import { DataCommunicationService } from '@app/core'; import { Router } from '@angular/router'; import { AccountService } from '@app/core/services/account.service'; import { MasterApiService } from "@app/core"; import { EncrDecrService } from '@app/core/services/encr-d...
import { Component } from '@angular/core'; import { NavController } from 'ionic-angular'; @Component({ selector: 'page-manageaddress', templateUrl: 'manageaddress.html' }) export class ManageaddressPage { constructor(public navCtrl: NavController) { } }
import { Injectable } from "@angular/core"; import { FeathersService } from "../services/feathers.service"; @Injectable() export class LoginService { constructor(public feathersService: FeathersService) { } forgotPassword(email: string) { return this.feathersService.sendMail(email); } }
import React from 'react'; import { SVGIconProps } from '../createIcon'; export declare const WpressrIconConfig: { name: 'WpressrIcon', height: 512, width: 496, svgPath: 'M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm171.33 158.6c-15.18 34.51-30.37 69.02-45.63 103.5-2.44 5...
declare function clearInterval(handle: number): void; declare function setInterval( handler: (...args: any[]) => void, timeout: number, ): number; declare function clearTimeout(handle: number): void; declare function setTimeout( handler: (...args: any[]) => void, timeout: number, ): number; interface Coordinates { ...
import { ApiKey } from '@digest-delivery/common/api-key' import { DataClient } from '@digest-delivery/common/data-client' import { NextApiHandler } from 'next' import { authenticate } from 'src/lib/api-authenticator' const client = new DataClient() const handler: NextApiHandler = async (req, res) => { const { user ...
import { Module } from '@nestjs/common'; import { CaslAbilityFactory } from './casl.factory'; import { AuthorizationGuard } from './casl.guard'; @Module({ providers: [CaslAbilityFactory, AuthorizationGuard], exports: [CaslAbilityFactory, AuthorizationGuard], }) export class CaslModule {}
/** * @deprecated Please use StatusCodes.ACCEPTED * * */ export declare const ACCEPTED = 202; /** * @deprecated Please use StatusCodes.BAD_GATEWAY * * */ export declare const BAD_GATEWAY = 502; /** * @deprecated Please use StatusCodes.BAD_REQUEST * * */ export declare const BAD_REQUEST = 400; /** * @deprecate...
import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core'; import { IconBase } from '@sbb-esta/angular-icons/core'; @Component({ selector: 'sbb-icon-power-plug', // tslint:disable:max-line-length template: ` <ng-container [ngSwitch]="size"> ...
import ExternalLink from './ExternalLink'; export * from './ExternalLink'; export default ExternalLink;
<?xml version="1.0" ?><!DOCTYPE TS><TS language="he" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About paccoin</source> <translation>אודות ביטקוין</translation> </mess...
import { CharacterData } from 'pipeline' import { input } from '../../../Formula' import { constant, equal, greaterEq, infoMut, percent, prod } from '../../../Formula/utils' import { CharacterKey, ElementKey, Region } from '../../../Types/consts' import { cond, sgt, trans } from '../../SheetUtil' import CharacterSheet,...
// IPanelOptions is the interface for the options for a users panel used within a dashboard. It contains all required // fields to reference a team. export interface IPanelOptions { cluster?: string; namespace?: string; name?: string; }
import { IS_MOBILE, IS_MOBILE_SMALL, UPDATE_APP_STATUS, updateAppStatus } from "modules/app/actions/update-app-status"; describe("modules/app/actions/update-app-status.js", () => { const t2 = { description: "Returns the expected object for updating isMobile", statusKey: IS_MOBILE, value: true, ...
import { command, program } from '../src' const app = program() .description('JSON pretty printer') .default( command() .description('Raw JSON input as string') .argument('json') .option('color', { description: 'Enables colorized output', type: 'boolean', }) .actio...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { Socket } from 'net'; import { Request as RequestResult } from 'request'; import { CancellationToken, ConfigurationTarget, DiagnosticSeverity, Disposable, DocumentSymbolProvider, ...
import { BaseEntity, Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from 'typeorm'; @Entity('user_details') export class UserDetail extends BaseEntity { @PrimaryGeneratedColumn('increment') id: number; @Column({ type: 'varchar', length: 50, nullable: true }) name: string; @Col...
import { MarginBlockStartProperty } from '@johanneslumpe/css-types'; import { style } from '../../style'; import { StyleOptions } from '../../types'; export interface MarginBlockStartProps<T> { /** * The **`margin-block-start`** CSS property defines the logical block start margin of an element, which maps to a p...
import { environment } from "src/environments/environment" export const authConfig = { uploads : environment.uploads, backend : environment.backend + "api/v1/auth/", frontend : environment.frontend } export const authApi = { auth:{ login: authConfig.backend + "login", signup: authConfi...
import * as msgpack from "@msgpack/msgpack"; import _sodium from "libsodium-wrappers"; const sodium = _sodium; export type base64 = string; export const symmetricKeyLength = 32; // sodium.crypto_aead_xchacha20poly1305_ietf_KEYBYTES; export const symmetricTagLength = 16; // sodium.crypto_aead_xchacha20poly1305_ietf_...
import { Pt, Group } from "./Pt"; export declare type ColorType = "rgb" | "hsl" | "hsb" | "lab" | "lch" | "luv" | "xyz"; /** * Color is a subclass of Pt. You can think of a color as a point in a color space. The Color class provides support for many color spaces. */ export declare class Color extends Pt { private...
// Adding a reference to get it to be included even though it // is not used in the prod build by any code // import './midi/patchBank'; export * from './digital'; export * from './midi'; export * from './metronome';
import { combineReducers, Reducer } from 'redux' import commentReducer from './comments' import leadCardReducer from './leadCards' import todoReducer from './todos' import visibilityFilterReducer from './visibilityFilter' import { routerReducer } from 'react-router-redux'; import { FlexReducer, chatReducer, FlexState, ...
import React, { useState } from "react"; import { View, Image, Text, Linking } from "react-native"; import { RectButton } from "react-native-gesture-handler"; import AsyncStorage from "@react-native-community/async-storage"; import heartOutlineIcon from "../../assets/images/icons/heart-outline.png"; import unfavoriteI...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'settings-personal', templateUrl: './settings-personal.component.html', styleUrls: ['./settings-personal.component.css'] }) export class SettingsPersonalComponent implements OnInit { constructor() { } ngOnInit() { } step = -1; ...
import { IWebPartContext} from "@microsoft/sp-webpart-base"; import { CommunicationServiceConfiguration, Constants, ICommunicationConfigurationService } from "./"; export class CommunicationConfigurationService implements ICommunicationConfigurationService { private _currentConfiguration: CommunicationServiceConfi...
import { Injectable } from '@angular/core'; import { EMPTY, of } from 'rxjs'; import { ICodeEditorRepositoryFileService } from 'app/exercises/programming/shared/code-editor/service/code-editor-repository.service'; @Injectable({ providedIn: 'root' }) export class MockCodeEditorRepositoryFileService implements ICodeEdit...
import { DocumentConventions, IMaintenanceOperation, IRaftCommand, OperationResultType, RavenCommand, ServerNode } from "../../src"; import { HttpRequestParameters } from "../../src/Primitives/Http"; import { RaftIdGenerator } from "../../src/Utility/RaftIdGenerator"; import stream from "readabl...
/** * @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 */ import {Directive, InjectionToken, Input} from '@angular/core'; let nextUniqueId = 0; /** * Injection token that c...
import fs from "fs"; import path from "path"; import neo4j from "neo4j-driver"; const graphenedbURL = process.env.GRAPHENEDB_BOLT_URL || "bolt://localhost:7687"; const graphenedbUser = process.env.GRAPHENEDB_BOLT_USER || "neo4j"; const graphenedbPass = process.env.GRAPHENEDB_BOLT_PASSWORD || "letmein"; const driver...
/* tslint:disable:max-line-length */ /** * API documentation * Access token is needed to use this API. To get a token, send a POST request with your email address to /api-users endpoint and one will be send to your. Each endpoint bellow has more information on how to use this API. If you have any questions you can c...
// export { default as signup } from './signup'; export { default as auth } from './auth'; export { default as bugs } from './bugs'; export { default as singlebug } from './single-bug'; export { default as loading } from './loading'; export { default as error } from './errors';
import { addNotification, BaseNotification, NotificationType, } from 'redux/notification/notification'; import { Token } from 'services/observables/tokens'; const showNotification = (notification: BaseNotification, dispatch: any) => dispatch(addNotification(notification)); export const rejectNotification = (d...
import testExpression from '~/utils/testExpression'; export const expression = "return typeof Math.clz32 !== 'undefined'"; export default () => testExpression(expression);
import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { CanDeactivateGuard } from './auth-guard/can-deactivate-guard.service'; import { AuthGuard } from './auth-guard/auth-guard.service'; import { TranslateService } from 'ng2-translate'; @NgModule({ imports: ...
import {Component} from '@angular/core'; import {FormControl, FormGroup} from '@angular/forms'; import {TuiTime} from '@taiga-ui/cdk'; import {changeDetection} from '../../../../../change-detection-strategy'; import {encapsulation} from '../../../../../view-encapsulation'; @Component({ selector: 'tui-input-time-e...
import { SupportedPackageManagers } from './package-managers'; import { IacProjectTypes, IacFileTypes } from './iac/constants'; import { legacyCommon as legacyApi } from '@snyk/cli-interface'; import { SEVERITY } from './snyk-test/legacy'; import { FailOn } from './snyk-test/common'; export interface DepDict { [name...
import { RestBucket, RestBucketHash, RestBucketId, RestMajorParameter, RestRouteHash } from './RestBucket'; import { RestOptions, RestRequestOptions } from './RestOptions'; import { RestRequests } from './RestRequests'; import { DiscordConstants } from '../constants/DiscordConstants'; import { DistypeConstants } from ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // NOTE: // DO NOT EDIT this file in function plugin. // The source of truth of this file is in packages/vscode-extension/src/debug/depsChecker. // If you need to edit this file, please edit it in the above folder // and run the scripts (tools/...
import {ModuleWithProviders} from '@angular/core'; import {Routes, RouterModule} from '@angular/router'; import {SearchComponent} from './components/search/search.component'; import {AboutComponent} from './components/about/about.component'; import {ArtistComponent} from './components/artist/artist.component'; import ...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
// #region autoindexed files // index last changed at: 1st Jan, 2022, 03:09 PM ( GMT-8 ) // hash-code: 82d31ba8 // file exports export * from "./defaultExports"; export * from "./generateSfcExports"; export * from "./namedExports"; export * from "./namedOffsetExports"; // #endregion // This file was created by runni...
import { NgModule } from '@angular/core'; import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; const routes: Routes = [ { path: '', redirectTo: 'login', pathMatch: 'full' }, { path: 'folder', loadChildren: () => import('./folder/folder.module').then( m => m.FolderPageMod...
import { AxiosRequestConfig } from "axios"; export const COSMOS_RPC_ENDPOINT = ""; export const COSMOS_RPC_CONFIG: AxiosRequestConfig | undefined = undefined; export const COSMOS_REST_ENDPOINT = ""; export const COSMOS_REST_CONFIG: AxiosRequestConfig | undefined = undefined; export const KAVA_RPC_ENDPOINT = ""; expor...
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ActivatedRoute, Router } from '@angular/router'; @Component({ selector: 'app-supplier-details', templateUrl: './supplier-details.component.html', styleUrls: ['./supplier-details.compo...
import { LogLevel, LogService, MatrixClient, RichConsoleLogger, SimpleFsStorageProvider } from "matrix-bot-sdk"; import * as path from "path"; import config from "./config"; import {promises as fs} from "fs"; import { ZammadRoom } from "./rooms/room"; import { StreamRoom } from "./rooms/streamroom";...
// Copyright 2017 The Kubernetes 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 a...
export type ScreenType = (params: Record<string, any>) => JSX.Element
import { Component } from '@angular/core'; import { NavParams, ViewController } from 'ionic-angular'; import _ from 'lodash'; import { ApiProvider, ChainNetwork } from '../../providers/api/api'; @Component({ selector: 'denomination', templateUrl: 'denomination.html' }) export class DenominationComponent { public ...
import {Component, NgModule, OnInit} from '@angular/core'; import { IncidentService } from '../../shared/incident.service'; import Glide from '@glidejs/glide'; import {BsModalRef, BsModalService} from 'ngx-bootstrap'; import {TemplateRef} from '@angular/core'; import { dev } from '../../config/dev'; import {HttpClient}...
import { getType } from "typesafe-actions"; import actions from "../actions"; import { IAppRepository } from "shared/types"; import reposReducer, { IAppRepositoryState } from "./repos"; describe("reposReducer", () => { let initialState: IAppRepositoryState; beforeEach(() => { initialState = { addingRep...
import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { ArticleWhereInput } from './article-where.input'; @InputType() export class ArticleRelationFilter { @Field(() => ArticleWhereInput, { nullable: true }) is?: ArticleWhereInput; @Field(() => ArticleWhereInput, { n...
import * as coda from '@codahq/packs-sdk' function replaceNewline(message: string): string { return message.replace(/\n/g, '\\n') } export const pack = coda.newPack() pack.addNetworkDomain('googleapis.com') pack.addFormula({ name: 'SendToWebhook', description: "Send message to Google Chat's webhook", isActi...
import { Component } from '@angular/core'; @Component({ template: ` <p>Dashboard</p> ` }) export class AdminDashboardComponent { }
export const firClickcircle: string; export const firImageFigure: string; export const caption: string; export const figAuthorFigureTitle: string; export const figAuthorFigurePosition: string; export const firImageover: string;
import FonosService from './common/fonos_service' import StorageService from './server/protos/storage_grpc_pb' import StoragePB from './server/protos/storage_pb' import AppManagerService from './server/protos/appmanager_grpc_pb' import AppManagerPB from './server/protos/appmanager_pb' import CallManagerService from './...
import { TypeOrmModuleOptions } from '@nestjs/typeorm' import { join } from 'path' import process from 'process' const env = process.env const getBoolOrDefault = (value: string, defaultValue: boolean) => (value ? value === 'true' : defaultValue) const ENV = env.CLUB_ENV || 'dev' const dbConfig = { dev: { host:...
import { Entity, Column, CreateDateColumn, UpdateDateColumn, PrimaryColumn } from 'typeorm' import { v4 as uuid } from 'uuid'; @Entity("settings") class Setting { @PrimaryColumn() id: string; @Column() username: string; @Column() chat: boolean; @UpdateDateColumn() updated_at: Date; ...
import {hocFacade} from 'influnt'; import {Provider} from 'react-redux'; import {ModalProvider} from 'context/modal-context'; import {ChakraProvider} from '@chakra-ui/react'; import {MockedStore} from './mockStore'; export const withStore = (store: MockedStore) => hocFacade({ providers: [ [Provider, {props...
import { useEffect, useState } from 'react'; import { invoke } from '@tauri-apps/api/tauri'; import { Button, Input, Label, Textarea } from '@/components'; import { getCache, setCache } from '@/helpers/invoke'; import { errorToast, successToast } from '@/helpers/toast'; import cls from './Delete.module.css'; type Prop...
/* * Copyright © 2020 Cask Data, 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 t...
import { allSettled, attach, createDomain, createEvent, createStore, fork, forward, } from 'effector'; import { contract } from '.'; test('events forwarded from page to model', () => { const fnPage = jest.fn(); const fnModel = jest.fn(); const page = { source: createEvent<number>() }; const model...
import fs from 'fs'; import path, { join } from 'path'; /* This is required as Firefox can't access filesystem like chrome does via browser.runtime.getPackageDirectoryEntry. Extension will fetch the file list for plugins and scenarios and afterwards the actual files. */ // 1. plugin list const pluginDir = path.join(p...
export class CheckInInterface { question : any; questionview:any; component_type : string; answer : string[] = []; input : string; description: string; count : number = 0; questionnaire_array_length : number = 0; questionnaireData : string; quesstionnaire_array :any[] = []; ...
import { useLocation } from "react-router-dom" import Tooltips from "../lang/Tooltips" import { toBase64 } from "../libs/formHelpers" import useNewContractMsg from "../libs/useNewContractMsg" import { gt, minus, max as findMax, plus } from "../libs/math" import { formatAsset, lookup, toAmount } from "../libs/parse" imp...
const WEBPACK_PACKAGE = process.env.WEBPACK_PACKAGE || "webpack"; class ConfigTestCommand { // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any async apply(cli: any): Promise<void> { await cli.makeCommand( { name: "configtest [config-p...
import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { useInput, FieldTitle } from 'ra-core'; import { CommonInputProps } from './CommonInputProps'; import { ResettableTextField, ResettableTextFieldProps, } from './ResettableTextField'; import { InputHelperText } ...
/* eslint-disable */ import { ObjectIdentifier as _OID, OBJECT_IDENTIFIER } from "asn1-ts"; import { id_cmsct } from "../UsefulDefinitions/id-cmsct.va"; export { id_cmsct } from "../UsefulDefinitions/id-cmsct.va"; /* START_OF_SYMBOL_DEFINITION id_certSubscribeReq */ /** * @summary id_certSubscribeReq * @description ...
import React from 'react'; import { IBreadcrumb, Size } from '../../../types'; export interface IProps { list: IBreadcrumb[]; size?: Size; } declare const Breadcrumbs: React.FC<IProps>; export default Breadcrumbs;
/* __imports__ */ import { ShortcutOptions, NavOperations } from '@slidev/types' import { next, prev, nextSlide, prevSlide, downloadPDF } from '../logic/nav' import { toggleDark } from '../logic/dark' import { toggleOverview, showGotoDialog, showOverview } from '../state' import { drawingEnabled } from '../logic/drawi...
/* Autogenerated by @sbb-esta/angular-icons schematics */ // tslint:disable import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core'; /** * @deprecated use @sbb-esta/angular-core/icon module */ @Component({ selector: 'svg[sbbIconDeskAdjustableSmall]', template: ` <svg:path fill="non...
import fs = require("fs"); import assert = require("assert"); import path = require("path"); import * as tl from "azure-pipelines-task-lib/task"; import * as ttm from "azure-pipelines-task-lib/mock-test"; const tempDir = path.join(__dirname, "temp"); const rootDir = path.join(__dirname, "out"); const destinationDir = ...
/* eslint-disable consistent-return */ /** * For reference see https://github.com/graphql/graphql-js/blob/master/src/language/ast.js */ import type { ObjectTypeDefinitionNode, InputObjectTypeDefinitionNode, EnumTypeDefinitionNode, InterfaceTypeDefinitionNode, ScalarTypeDefinitionNode, UnionTypeDefinitio...
import { PrimaryGeneratedColumn, Column, Entity, OneToOne, JoinColumn } from "typeorm"; import { Post } from "./Post"; @Entity("PostInformation") export class PostInformation { @PrimaryGeneratedColumn() id: number; @Column() text: string; @OneToOne(type => Post, post => post.information) pos...
import { Sequelize, DataTypes, Model } from 'sequelize'; import { UbiClaimLocation, UbiClaimLocationCreation, } from '../../../interfaces/ubi/ubiClaimLocation'; export class ClaimLocationModel extends Model< UbiClaimLocation, UbiClaimLocationCreation > { public id!: number; public communityId!...
import React from "react"; import { useIntl } from "react-intl"; import { WindowTitle } from "@saleor/components/WindowTitle"; import { DEFAULT_INITIAL_SEARCH_DATA } from "@saleor/config"; import useNavigator from "@saleor/hooks/useNavigator"; import useNotifier from "@saleor/hooks/useNotifier"; import useShop from "@...
import { createReducer, on } from '@ngrx/store'; import { loadingShowChange, loadingHiddenChange } from './counter.actions'; export const showLoading = true; const _showReducer = createReducer(showLoading, on(loadingShowChange, state => state = false ), on(loadingHiddenChange, state => state = true), ); export...
import ApiClient from 'api-client/ApiClient' import { except } from 'utils/fp' type SubscriberFnType = (event: Object) => void const client = ApiClient.getInstance() const { keystone } = client const getWebSocketUrl = async () => { const catalog = await keystone.getServiceCatalog() if (!catalog) return console....
import { IToolButtonGroup } from '../../../../../src'; export interface IToolbarProps { // 是否折叠的样式 titleBarCollapsed: boolean; onTitleBarCollapse: (collapsed: boolean) => void; highPerformance: (value: boolean) => void; // 发送命令 onCommandEmitted: (cmd: any) => void; getSaveData: () => void; ...