text
stringlengths
10
953k
import AppError from '@shared/errors/AppError'; import FakeHashProvider from '../providers/HashProvider/fakes/FakeHashProvider'; import FakeUsersRepository from '../repositories/fakes/FakeUsersRepository'; import CreateUserService from './CreateUserService'; let fakeUsersRepository: FakeUsersRepository; let fakeHashP...
export {default as reverse} from './reverse'; export {default as subgraph} from './subgraph'; export {default as toDirected} from './to-directed'; export {default as toSimple} from './to-simple'; export {default as toUndirected} from './to-undirected'; export {default as union} from './union';
import { ThemeStyleMap } from './Theme'; export type ThemePalette = { windowBackground?: string; borrowerInteractionBackground?: string; controlBackground?: string; controlForeground?: string; progressBarForeground?: string; modalBackground?: string; modalText?: string; modalTitle?: st...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.15.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do no...
import "@elements/entry/jig/publish/page"; import "@elements/entry/jig/publish/sharing-caring"; import "@elements/entry/home/TOSORT/image-thumbnail"; import "@elements/core/inputs/textarea"; import "@elements/core/inputs/switch"; import "@elements/entry/jig/publish/resources"; import "@elements/core/titles/ji"; import...
version https://git-lfs.github.com/spec/v1 oid sha256:722ef7bb556adca61a58dce8d6578c10de16136c08f93949b5ace41d7869e55f size 467744
import { SignalRService } from './services/signal-r.service'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { HttpClientModule } from '@angular/common/http'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.compon...
/*! * Copyright 2018 Google 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 to i...
import { GoogleSpreadsheetStorage } from "./index"; jest.setTimeout(1000 * 30); const getStorage = () => new GoogleSpreadsheetStorage(process.env.SHEET_ID!, { private_key: process.env.PRIVATE_KEY!, client_email: process.env.CLIENT_EMAIL!, }); test("set and get string", async () => { const storage = get...
import { MyAlumini } from '../my-alumini'; import { Alumini } from '../alumini'; const alumini1 : Alumini[] = [{id : 1, name: "Pooja"}, {id : 2, name: "Priya"}]; const alumini2 : Alumini[] = [{id : 1, name: "Ranbir"}, {id : 2, name: "Deepika"}]; const alumini3 : Alumini[] = [{id : 1, name: "Mark"}, {id : 2, name: "Dan...
import { Component, ElementRef, EventEmitter, Injectable, Output, ViewChild, } from '@angular/core'; import { LogginService } from '../LoggingService.service'; import { Persona } from '../persona.model'; import { PersonasService } from '../personas.service'; @Component({ selector: 'app-formulario', tem...
import { GraphQLFieldConfig, GraphQLID, GraphQLNonNull } from "graphql"; import { Context } from "../../Context"; import { GraphQLUser } from "../GraphQLUser"; import { User } from "../../model"; export const user: GraphQLFieldConfig< any, Context, { id: string; } > = { type: GraphQLUser, description: ...
import axios from 'axios'; import moment from 'moment'; import clients from '../data/clients.json'; (async () => { for (let index = 0; index < clients.length; index++) { const item = clients[index]; const client = { externalId: item['ВНЕШНИЙ_ИДЕНТИФИКАТОР_КЛИЕНТА'].replace(',', ''), ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// 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 { AnyNumber } from '../../types'; import { assert } from '@polkadot/util'; import Enum from '../../codec/Enum'; import ...
export interface Alert { type: 'success' | 'error' message: string }
import { uuid } from 'uuidv4'; import { isEqual, getDate, getMonth, getYear } from 'date-fns'; import ICreateAppointmentDTO from '@modules/appointments/dtos/ICreateAppointmentDTO'; import Appointment from '@modules/appointments/infra/typeorm/entities/Appointment'; import IFindAllInMonthFromProviderDTO from '@modules/a...
import {ColumnDataSource} from "./column_data_source" import {UpdateMode} from "core/enums" import {CallbackLike1} from "../callbacks/callback" import {Data} from "core/types" import * as p from "core/properties" import {Arrayable} from "core/types" export namespace WebDataSource { export type Attrs = p.AttrsOf<Prop...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { LibrosKComponent } from './libros-k.component'; describe('LibrosKComponent', () => { let component: LibrosKComponent; let fixture: ComponentFixture<LibrosKComponent>; beforeEach(async(() => { TestBed.configureTestingModule({...
import { useRef, useCallback, useEffect } from 'react' import * as u from '@virtuoso.dev/urx' export type ScrollerRef = Window | HTMLElement | null export default function useScrollTop( scrollTopCallback: (scrollTop: number) => void, smoothScrollTargetReached: (yes: true) => void, scrollerElement: any, scroll...
import { Voicemail24 } from "../../"; export = Voicemail24;
import {Component} from '@angular/core'; @Component({ selector: 'cmp-320', template: '<strong>320</strong>&nbsp;', }) export class Cmp320Component { add320(x: number) { return x + 320; } }
/* Copyright 2020 Adobe. All rights reserved. This file is licensed to you 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 { BigNumber } from 'bignumber.js'; import { RequestBuilder, GetAllRequestBuilder, GetByKeyRequestBuilder } from '@sap-cloud-sdk/core'; import { FormObjectiveOtherDetails } from './FormObjectiveOtherDetails'; /** * Request builder class for operations supported on the [[FormObjectiveOtherDetails]] entity. */ ex...
import { PreRawScript } from "../../../components"; const AddTailwindToNextPage = () => <PreRawScript />; export default AddTailwindToNextPage;
import { Module } from '@nestjs/common'; import { FilmeService } from './filme.service'; import { FilmeController } from './filme.controller'; import { PrismaService } from 'src/prisma.service'; import { PassportModule } from '@nestjs/passport'; @Module({ imports: [PassportModule.register({ defaultStrategy: 'jwt' })...
// eslint-disable-next-line const DefaultGlobalFilter = ( rows: any[], columnIds: any[], filterValue: string, // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types options?: any ): any => { // Do not filter if (filterValue === '' || filterValue === null || filterValue === undefined...
import { NCDating } from "./NCDating"; export class JSDateDating implements NCDating { private _date = new Date(); now(): NCDating { this._date = new Date(); return this; } create(m: number): NCDating { this._date = new Date(m); return this; } fromDate(d: Date): NCDating { this._date...
import 'rxjs/add/operator/map'; import 'rxjs/add/operator/catch'; import 'rxjs/add/operator/toPromise'; import 'rxjs/add/observable/throw'; import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http'; import { RequestOptions, Headers, } from '@angular/http'; im...
import Log from '../../entities/trellis-config/Log' import DatabaseService from '../database/DatabaseService' import { Connection } from 'typeorm' export default async function DeleteLogs () { const conn: Connection = await DatabaseService.getConfigDatabase() return conn.createQueryBuilder() .delete() .fro...
import { Configuration as WebpackDevServerConfiguration, HistoryApiFallbackConfig, } from 'webpack-dev-server'; import { readFileSync } from 'fs'; import * as path from 'path'; import * as url from 'url'; import { getWebConfig } from './web.config'; import { Configuration } from 'webpack'; import { LoggerApi } from...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { GenericContext } from "../config/loggers"; import { Database } from "../database"; export interface PortContext extends GenericContext { database: Database; }
export * from "./length"; export * from "./text"; export * from "./json"; export * from "./buffer";
import { Runtype, Static, create } from '../runtype'; import { ValidationError } from '../errors'; interface Arr<E extends Runtype> extends Runtype<Static<E>[]> { tag: 'array'; element: E; } /** * Construct an array runtype from a runtype for its elements. */ function Arr<E extends Runtype>(element: E): Arr<E> ...
import {lexer, ruleNames} from './lexer'; import _debug from 'debug'; const debug = _debug('lexer'); export enum BlockType { sql = 'sql', plsql = 'plsql', sqlplus = 'sqlplus', } export type ResultType = { tokens: Array<moo.Token>, index: number, text: string, } export type ScriptBlockType = { type: BlockType, ...
import { DragLayerCollector, DndOptions, DndComponentEnhancer } from './interfaces'; export default function DragLayer<RequiredProps, CollectedProps = {}>(collect: DragLayerCollector<RequiredProps, CollectedProps>, options?: DndOptions<RequiredProps>): DndComponentEnhancer<CollectedProps>;
import { Artist } from './artist.model'; import { ArtistService } from './artist.service'; describe('ArtistService', () => { let artistService: ArtistService; beforeEach(() => { artistService = new ArtistService(); }); it('#getList should get all artists', () => { // Act let a...
import SeriesData from '../SeriesData'; import { DimensionName, DimensionIndex } from '../../util/types'; import { DataStoreDimensionType } from '../DataStore'; import { SeriesDataSchema } from './SeriesDataSchema'; export declare type DimensionSummaryEncode = { defaultedLabel: DimensionName[]; defaultedTooltip...
import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, HttpHandlerOptions...
import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { BasicAnimationComponent } from './basic-animation.component'; import { EnterLeave...
import { WriteOperation, GetFileDataOperation } from '../../contracts/Write'; import { getElement, getText, getExtraProps, getImports } from './getDataHelpers'; import { getFileContentAndPath } from '../filesystem/getFileContentAndPath'; import { ErrorPrepareWrite, ErrorWriteFile } from '../errors/errors'; /** * @d...
process.env.NODE_ENV = "test"; import chai from "chai"; import chaiHttp from "chai-http"; chai.use(chaiHttp); const should = chai.should(); import { server } from "../../server/index"; const number = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "onze", "douze", "treize", ...
import { SystemProps } from "./index"; import { breakpoints } from "@beyond-ui/theme"; import { Token } from "./types"; export const mediaQueriesPropsResolver = { sm: (prop: SystemProps | {}): SystemProps => { const key = `@media (min-width: ${breakpoints["sm"]})`; return { [key]: prop }; }, md...
import Head from "next/head"; import { useEffect } from "react"; import ReactGA from "react-ga"; import Header from "../components/Header"; import InfoContainer from "../components/InfoContainer"; import Map from "../components/MainMap"; import Layout from "../Layout"; export default function Home() { useEffect(() ...
import { EventHandler } from '@create-figma-plugin/utilities' export interface CreateRectanglesHandler extends EventHandler { name: 'CREATE_RECTANGLES' handler: (count: number) => void } export interface CloseHandler extends EventHandler { name: 'CLOSE' handler: () => void }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About BLUEBOX</source> <translation type="unfinished"/> </message> <message> <location lin...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-noida', templateUrl: './noida.component.html', styleUrls: ['./noida.component.css'] }) export class NoidaComponent implements OnInit { constructor() { } ngOnInit() { } }
import { concreteStream, StreamInternal } from "@effect/core/stream/Stream/operations/_internal/StreamInternal" import { RingBufferNew } from "@effect/core/support/RingBufferNew" /** * Takes the last specified number of elements from this stream. * * @tsplus fluent ets/Stream takeRight */ export function takeRight...
import { CommonWrapper } from 'enzyme'; export default function until<P = any, S = any>( selector: string, options: { context: Object }, ): CommonWrapper<P, S>;
//see README import path = require('path') import fs = require('fs') import process = require('process') import { loadSchemaSync } from '@graphql-tools/load' import { GraphQLFileLoader } from '@graphql-tools/graphql-file-loader' function loadfilepath(filepath) { console.log('\n\n***********************************...
import { RoomEntity } from '../room.entity'; import { SpeakerEntity } from '../speaker.entity'; import { SessionEntity } from '../session.entity'; export interface ParamsBase { sort?: string; page?: number; pageSize?: number; } export class QueryResult<T> { page: number; pageSize: number; sort?: string; ...
export default class MonsterGrade { public grade: number; public monsterId: number; public level: number; public vitality: number; public paDodge: number; public pmDodge: number; public wisdom: number; public earthResistance: number; public airResistance: number; public fireResistance: number; pub...
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { ScheduleController } from '@module/schedule/schedule.controller'; import { ScheduleService } from '@module/schedule/schedule.service'; import { Schedule } from '@core/entity/schedule/schedule.entity'; @Module({ impor...
/* * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { NbCardModule, NbInputModule, NbTreeGridModule } from '@nebular/t...
import { Expose } from "class-transformer"; import { Column, CreateDateColumn, Entity, PrimaryColumn, UpdateDateColumn, } from "typeorm"; import { v4 as uuid } from "uuid"; @Entity("tags") export class Tag { @PrimaryColumn() readonly id: string; @Column() name: string; @CreateDateColumn() creat...
export { default as DateField } from './DateField'; export { default as DateInput } from './DateInput';
import logger from '@pnpm/logger' import findPackages from 'find-packages' import graphSequencer = require('graph-sequencer') import loadYamlFile = require('load-yaml-file') import pLimit = require('p-limit') import { StoreController } from 'package-store' import path = require('path') import createPkgGraph, {PackageNo...
import * as countries from "./data/countries.json"; import * as countriesExpanded from "./data/countries-expanded.json"; export { countries }; export { countriesExpanded }; export * from "./types/country"; export * from "./types/countryKeys"; export * from "./types/geography"; export * from "./types/governance"; expor...
import { IdeClient } from "@coder/ide"; import { client as ideClientInstance } from "@coder/ide/src/fill/client"; import Severity from "vs/base/common/severity"; import { INotificationService } from "vs/platform/notification/common/notification"; import { IStatusbarService, StatusbarAlignment } from "vs/platform/status...
import { botCache } from "../../cache.ts"; import { Random } from "https://deno.land/x/random@v1.1.2/Random.js"; import { addReactions, cache, sendMessage } from "../../deps.ts"; import { createSubcommand, sendEmbed } from "../utils/helpers.ts"; import { Milliseconds } from "../utils/constants/time.ts"; import { collec...
// This is a generated file from running the "createIcons" script. This file should not be updated manually. import React, { forwardRef } from "react"; import { SVGIcon, SVGIconProps } from "@react-md/icon"; export default forwardRef<SVGSVGElement, SVGIconProps>(function MemorySVGIcon( props, ref ) { return ( ...
import User from "../../../../models/user" import connectDB from "../../../../middleware/mongodb" import type { NextApiRequest, NextApiResponse } from "next" import mongoose from "mongoose" const handler = async (req: NextApiRequest, res: NextApiResponse) => { const { query: { id }, method, body } = req swit...
export function discardProperties(data: Array<any>, properties: string[]) { if (!properties || !properties.length) { return; } for (let i = 0; i < data.length; i++) { let register = data[i]; discardPropertiesObject(register, properties); } } export function discardPropertiesObje...
// THIS FILE IS AUTO GENERATED import { IconTree, IconType } from '../lib' export declare const BsGraphDown: IconType;
/** * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { Annotation } from './annotation'; import { CodeableConcept } from './codeableConcept'; import { ...
import { createProvider } from "../../create-provider"; export const Blank = createProvider( "https://github.com/mingrammer/diagrams/raw/master/resources/generic/blank/blank.png" );
import {encoder, decoder, US_TTY} from './baudot'; test('encodes single characters and strings', () => { const source = 'HELLO, WORLD!'; const encode = encoder(); expect(source.split('').flatMap(encode)) .toEqual(encoder()(source)); }); test('decodes single words and arrays', () => { const source = [20, 1...
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'Github-info'; }
import { Action } from "typescript-fsa"; import reducerMap, { reducerAction } from "../../lib/reducerMap"; import * as Actions from "./settingsActions"; import { IWorkItemType, IField } from "../../model/workItemType"; export const initialState = { workItemTypes: [] as IWorkItemType[], fields: null as IField[]...
import { set } from "mobx" import { runTypeCheckingAfterChange } from "../tweaker/typeChecking" import { withoutTypeChecking } from "../tweaker/withoutTypeChecking" import { isArray } from "../utils" import { ModelPool } from "../utils/ModelPool" import { fromSnapshot } from "./fromSnapshot" import { getSnapshot } from...
import React from 'react' const PersonCartwheelingDarkSkinTone = ({ size, rem }: { size: number | string, rem?: boolean }) => { const width = (typeof size === 'string') ? size : rem ? `${size}rem` : `${size}px` return ( ) } export default PersonCartwheelingDarkSkinTone
import { IAppContext } from './appContext'; import { IResolvers } from 'apollo-server'; export const resolvers: IResolvers = { Device: { UNKNOWN: 'Other', DESKTOP: 'Computers', HIGH_END_MOBILE: 'Mobile devices with full browsers', TABLET: 'Tablets with full browsers', CONNECTED_TV: 'Devices strea...
import React from 'react'; import Box from '@material-ui/core/Box'; export default function Height() { return ( <Box height={100} width="100%"> <Box height="25%" bgcolor="grey.300" mx={0.5} width={120} display="inline-block" > Height 25% </Box> ...
import { GraphQLSchema, printSchema } from 'graphql'; import { PluginFunction, PluginValidateFn, Types, removeFederation } from '@graphql-codegen/plugin-helpers'; import { extname } from 'path'; import { printSchemaWithDirectives } from '@graphql-toolkit/common'; export interface SchemaASTConfig { /** * @name inc...
import { FuncPipeline, FuncPipelineStep } from '@wikia/ad-engine'; import { createSandbox } from 'sinon'; import { PipelineTestSuite } from './pipeline-test-suite'; describe('FuncPipeline', () => { const sandbox = createSandbox(); const spies = PipelineTestSuite.generateSpies(sandbox); let pipelineTestSuite: Pipeli...
// Zona de declaración de librerías y módulos propios o del sistema // ers importante que sepas que aunque nos apoyemos en determinadas librerías hay que saber implementar determinadas operaciones import read from 'readline-sync'; // --> Librería para leer datos por consola. Puedes leer sobre ella y aprender a usarla e...
export const itemQuery = ` *[slug.current == $slug][0]{ 'id': _id, 'type': _type, 'name': name[$lang], 'description': description[$lang], 'seoDescription': metaDescription[$lang], 'slug': slug.current, 'images': imageArray, 'flavors': flavors[$lang], 'colors': colors[$lang], 'material': material[$la...
import { EventType } from 'engine/enums'; import _events from 'engine/events'; import { closeAllWidgets, hideWidget, closeWidgetSub, openWidget } from 'shared/widget'; import { setVarp, setVarc } from 'engine/var'; import { defaultHandler } from 'shared/util'; _events.bindEventListener(EventType.IF_OPEN, 1253, (ctx) =...
import { parseISO } from 'date-fns' import { formatDistance } from 'date-fns/esm' import { isArray, isEqual } from 'lodash' import AlertCircleIcon from 'mdi-react/AlertCircleIcon' import CheckCircleIcon from 'mdi-react/CheckCircleIcon' import CheckIcon from 'mdi-react/CheckIcon' import ErrorIcon from 'mdi-react/ErrorIc...
import Message from "./Message"; export default class JobAllowMultiCraftRequestSetMessage extends Message { public enabled: boolean; constructor(enabled = false) { super(); this.enabled = enabled; } }
import React, { useState } from 'react'; import { ScrollView, View, StyleSheet, Switch, Text, TextInput, TouchableOpacity, Image } from 'react-native'; import { Feather } from '@expo/vector-icons'; import { RectButton } from 'react-native-gesture-handler'; import { useNavigation, useRoute } from '@react-navigation/nati...
import type { App } from 'vue' import StepsGuide from './src/steps-guide' import StepsGuideDirective from './directive/steps-guide' StepsGuide.install = function(app: App): void { app.component(StepsGuide.name, StepsGuide) } export { StepsGuide } export default { title: 'StepsGuide 操作指引', category: '导航', sta...
import { FontFamily } from "./element/types"; export const APP_NAME = "Excalidraw"; export const DRAGGING_THRESHOLD = 10; // 10px export const LINE_CONFIRM_THRESHOLD = 10; // 10px export const ELEMENT_SHIFT_TRANSLATE_AMOUNT = 5; export const ELEMENT_TRANSLATE_AMOUNT = 1; export const TEXT_TO_CENTER_SNAP_THRESHOLD = 3...
GOCAD TSurf 1 HEADER { name:Browning Pass *visible:false *solid*color:0.000000 0.666667 1.000000 1 } GOCAD_ORIGINAL_COORDINATE_SYSTEM NAME Default AXIS_NAME "X" "Y" "Z" AXIS_UNIT "m" "m" "m" ZPOSITIVE Elevation END_ORIGINAL_COORDINATE_SYSTEM TFACE VRTX 1 1472114.24242292 5255508.35588952 -8378.23688902 VRTX 2 1472375.6...
/** * @param {number | Long | IEntityId} props * @param {(number | null | Long)=} realm * @param {(number | null | Long | PublicKey)=} numOrAliasKey * @returns {IEntityIdResult} */ export function constructor(props: number | Long | IEntityId, realm?: (number | null | Long) | undefined, numOrAliasKey?: (number | nu...
import React, { FC } from 'react'; import { Icon, IconInterface } from "@redesign-system/ui-core"; export const PuzzleMinusOutlineIcon: FC<IconInterface> = function PuzzleMinusOutlineIcon({ className, ...propsRest }) { const classNames = `PuzzleMinusOutlineIcon ${className}`; return...
/** * @license * Copyright 2017 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
declare namespace jdk { namespace nashorn { namespace api { namespace tree { interface MemberSelectTree extends jdk.nashorn.api.tree.ExpressionTree { getExpression(): jdk.nashorn.api.tree.ExpressionTree getIdentifier(): java.lang.String } } } } }
import { ExtraOptions, RouterModule, Routes } from '@angular/router'; import { NgModule } from '@angular/core'; import { NbAuthComponent, NbLoginComponent, NbLogoutComponent, NbRegisterComponent, NbRequestPasswordComponent, NbResetPasswordComponent, } from '@nebular/auth'; import { AuthGuard } from './auth-...
import { Databse, executeSql, insert, update, search, createTable, dropTable, deleteData } from './database'; export default Databse; export { executeSql, insert, update, search, createTable, dropTable, deleteData };
// Generated by typings // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/925dbd5230a014ae2618e58751235ffdba156b77/react/react-addons-transition-group.d.ts declare namespace __React { interface TransitionGroupProps extends HTMLAttributes { component?: ReactType; className...
import { useAtom } from 'jotai'; import React from 'react'; import { View, StyleSheet, Text, ActivityIndicator } from 'react-native'; import ErrorMessage from '../components/ErrorMessage'; import Logo from '../components/Logo'; import TextInputHandle from '../components/TextInputHandle'; import TweetDisplay from '../co...
export const expectedResult = 2;
import path from 'path' import chalk from 'chalk' import { createConnection } from 'typeorm' import { API, SolutionState } from './api' import { DIM_ENTITIES, DI_API, DI_DBCONN } from './constants' import { inject, injectMutiple } from './di' import { getConfig } from './entities' import { wait } from './async' import ...
import { ArrayField } from "./CustomFields"; const fields = { ArrayField, }; export default fields;
import { Config } from 'lexica-dialog-model/dist/Config'; // tslint:disable max-line-length trailing-comma export const configs: Config[] = [ { uni: 'GLOBAL', key: 'SESSION_EXPIRE_IN_MS', value: 900000, }, { uni: 'GLOBAL', key: 'FALLBACK_COMMAND_NAME', value: 'FALLBACK_MESSAGE', }, {...
import {AtlassianError, Space} from "../src/resources/types"; import {confluenceTestSpace, confluenceTestSpaceUpdate} from "./data/space"; import {getTestConfluence} from "./lib/init"; describe ('Confluence: Spaces', () => { type SpaceConfig = { firstSpaceKey?: string, createdSpace?: any, } ...
import { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, OnDestroy, OnInit, QueryList, Renderer2, ViewChildren, } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { User, WindowRef } from '@spartacus/core'; import { FormDataService, FormDataStorageServi...
import GlobalConfig from '../global_config'; /** * Returns the block's {@link GlobalConfig} and updates whenever any key in {@link GlobalConfig} * changes. * * @example * ```js * import {Button, useGlobalConfig} from '@airtable/blocks/ui'; * * function SyncedCounter() { * const globalConfig = useGlobalConf...