text
stringlengths
10
953k
/** * Bungie.Net API * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.4.1 * Contact: support@bungie.com * * NOTE: This class is auto generat...
/* * Copyright 2020-present ula-aca * * 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...
/// <reference path="../../index.d.ts" /> export = dw.svc.FTPServiceDefinition;
/*! * @license * Copyright 2016 Alfresco Software, Ltd. * * 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 app...
import { Router} from "express"; import { CreateUserController } from "./controllers/CreateUserController"; import { CreateTagController } from "./controllers/CreateTagController"; import { ensureAdmin} from "./middlewares/ensureAdmin" import { AuthenticateUserController } from "./controllers/AuthenticateUserController...
import { ArgsType } from '@nestjs/graphql'; import { IsOptional, IsString } from 'class-validator'; @ArgsType() export class FindUserArgs { @IsOptional() @IsString() public email?: string; @IsOptional() @IsString() public nickname?: string; }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Vaultcoin</source> <translation>Info su Vaultcoin</translation> ...
/* tslint:disable */ /* eslint-disable */ // @ts-nocheck import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type SmsSecondFactor_me = { readonly hasSecondFactorEnabled: boolean; readonly smsSecondFactors: ReadonlyArray<({ readonly __typename: "SmsSecond...
import * as React from 'react'; interface IProps { componentId: number; } interface IState { componentId: number; loaded: boolean; } const Placeholder = () => ( <div className="placeholder">placeholder</div> ); export default class ListComponent extends React.Component<IProps, IState> { private ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { ActionFactory, InternalActionFactory } from './quote-show.actions'; import { ActionsSpecHelper } from '../spec-helpers/actions.spec-helper'; export function main() { describe('Quote Show Action Factory', () => { let actionsSpecHelper: ActionsSpecHelper = new ActionsSpecHelper(); actionsSpecHelper.g...
import React from 'react'; import { BoxProps } from '@chakra-ui/react'; import * as yup from 'yup'; import { useAuth } from 'reactfire'; import Form from '../_form'; import { validPassword, validMatchingPassword } from '../_validation'; import { passwordField, passwordConfirmField } from '../_fields'; import useToast...
import { MutationTree } from 'vuex'; export const mutations: MutationTree<GeneralState> & GeneralMutations = { SET_PENDING_ACTION__GENERAL(state, pending) { state.pendingAction = pending; }, SET_GENESIS_HASH__GENERAL(state, genesisHash) { state.genesisHash = genesisHash; }, SET_CHAIN_ADDRESS_FORMAT__...
import { Component, Input, ElementRef, AfterContentInit } from "@angular/core"; import { I18n, Overridable } from "@rocketsoftware/carbon-components-angular/i18n"; import { merge } from "@rocketsoftware/carbon-components-angular/utils"; export interface ExpandableTileTranslations { EXPAND: string; COLLAPSE: stri...
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient"; import { UpdateEmailTemplateRequest, UpdateEmailTemplateResponse } from "../models/index"; import { deserializeAws_restJson1_1UpdateEmailTemplateCommand, serializeAws_restJson1_1UpdateEmailTemplateComm...
<TS language="mk_MK" 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> <...
import * as clipperLib from "../src"; import { hiRange } from "../src/constants"; import { pathsToPureJs, pathToPureJs, pureJsClipperLib, pureJsTestOffset, pureJsTestPolyOperation } from "./pureJs"; import { circlePath } from "./utils"; // tslint:disable-next-line:no-console window.alert = (msg) => console.e...
import React from 'react' import { mount, render } from 'enzyme' import { Card } from 'components' describe('Card', () => { it('should render correctly', () => { const wrapper = mount(<Card>card</Card>) expect(() => wrapper.unmount()).not.toThrow() }) it('should support shadow and hoverable', () => { ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
export class Result { id: string; match_id: number; pointsToWinner: number; winners: string[]; }
import { ResolverMetadata } from '../metadata/definitions' import { AdvancedOptions, ReturnTypeFunc } from '../decorators/types' import { findType } from './findType' import { SymbolKeysNotSupportedError } from '../errors' export function getResolverMetadata( prototype: object, propertyKey: string | symbol, retu...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; @NgModule({ imports: [ BrowserModule ], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModule { }
export type G2InteractionType = 'none' | 'element-active' | 'active-region' | 'brush' | 'drag-move';
import React, {useEffect, useState, VFC} from 'react'; import {KinSDKService} from '../../KinSDKService'; import {View} from 'react-native'; import {AccountCreate} from '../src/AccountCreate'; import {AccountListItem} from '../src/AccountListItem'; import type {KinAccount} from '../../interfaces/kin-account.interface'...
import { FunctionComponent } from 'react' import { Link } from '@sourcegraph/wildcard' import { LsifIndexFields, LsifUploadFields } from '../../../../graphql-operations' export interface CodeIntelUploadOrIndexRepositoryProps { node: Pick<LsifUploadFields | LsifIndexFields, 'projectRoot'> } export const CodeInte...
/// /// Copyright © 2016-2022 The Thingsboard 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...
import { Environments, PipelineInterface, StagesInterface } from '../../../typings/ci'; import { Stages } from './stages'; class Pipeline implements PipelineInterface { tab: string; stages: StagesInterface | null; environments: Environments; agent: string; constructor() { this.tab = ''; this.stages ...
import { useState } from 'react' import Link from './Link' const MobileNav = () => { const [navShow, setNavShow] = useState(false) const onToggleNav = (): void => { setNavShow((status: boolean) => { if (status) document.body.style.overflow = 'auto' else document.body.style.over...
import { WindowConfig } from './' export interface ExternalWindow { title: string config: WindowConfig } const blotterRegion: ExternalWindow = { title: 'Blotter', config: { name: 'blotter', width: 850, height: 450, minWidth: 300, minHeight: 200, url: '/blotter', }, } const analytics...
import StoryBox from "./StoryBox"; import Container from "src/styles/components/Container"; import { SubTitle, Title } from "src/styles/components/TitleAndSubTitle"; import { StoryWrapper, StoryContainer, StoryContent, } from "src/styles/components/Story"; function Story() { return ( <StoryWrapper> ...
import { inject, TestBed } from '@angular/core/testing' import { TreeDraggingTargetService } from './tree-dragging-target.service' describe('TreeDraggingTargetService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [TreeDraggingTargetService], }) }) it...
import {MessageAttachment} from '../../../constants/types/chat2' export type Props = { path: string title: string message: MessageAttachment progress: number progressLabel: string | null onClose: () => void onDownloadAttachment: (() => void) | null onShowInFinder: (() => void) | null isVideo: boolean ...
import * as React from 'react'; import { shallow } from 'enzyme'; import SearchPeopleItem, { Props } from '../../components/SearchPeopleItem'; function render(partialProps: Partial<Props>) { const props: Props = { query: 'query', icon: <div />, text: 'text', ...partialProps, }; return shallow(<S...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { AboutPostComponent } from './about-post.component'; describe('AboutPostComponent', () => { let component: AboutPostComponent; let fixture: ComponentFixture<AboutPostComponent>; beforeEach(waitForAsync(() => { TestBed....
import { Component, OnInit } from '@angular/core'; import { MdDialog } from '@angular/material'; import { ActivatedRoute } from '@angular/router'; import { Observable } from 'rxjs/Observable'; import { ICanComponentDeactivate, } from '../../core/can-deactivate-guard.service'; import { ILevel, ITest } from '../../cor...
/** * @license * Copyright Google Inc. 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 { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-comp-3170', templateUrl: './comp...
import { Sequelize } from 'sequelize'; const sequilize = new Sequelize( process.env.POSTGRES_DB || 'postgres', process.env.POSTGRES_USER || 'postgres', process.env.POSTGRES_PASSWORD || '', { host: process.env.DB_HOST || 'localhost', port: process.env.DB_PORT !== undefined ...
export * from './lib/microzord/microzord.directive'; export * from './lib/microzord/microzord.module'; export * from './lib/microzord-host.module'; export * from './lib/services/registry.service'; export * from './lib/tokens/microzord-apps';
import { PLATFORM } from 'aurelia-framework'; import { Router, RouterConfiguration } from 'aurelia-router'; export class JqueryRoute { public router: Router; public configureRouter(config: RouterConfiguration, router: Router) { config.map([ { route: ['', 'blockui'], ...
import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {CashReleaseRequestsComponent} from './cash-release-requests.component'; import {CashReleaseRequestsRoutingModule} from './cash-release-requests-routing.module'; import {FurySharedModule} from '../../../@fury/fury-shared.module...
import { JsonApiLinks } from "./json-api-links"; export interface JsonApiResources<resourceType> { data: resourceType[], included: any, links: JsonApiLinks }
import { HorizontalRule as TiptapHorizontalRule } from 'tiptap-extensions'; import { MenuData } from 'tiptap'; import { MenuBtnView } from '@/../types'; import CommandButton from '@/components/MenuCommands/CommandButton.vue'; export default class HorizontalRule extends TiptapHorizontalRule implements MenuBtnView { m...
export interface IHash <V> { [details: string]: V; }
import { RedisCommandArgument, RedisCommandArguments } from '.'; import { AuthOptions } from './AUTH'; interface HelloOptions { protover: number; auth?: Required<AuthOptions>; clientName?: string; } export declare function transformArguments(options?: HelloOptions): RedisCommandArguments; declare type Hello...
class Store extends BaseStore { constructor(){ super(); this.doSomething = ()=>{ console.log("run"); }; this.doSomething(); } doSomething; } __decorate([ action ], Store.prototype, "doSomething", void 0);
// Type definitions for FileSaver.js 2.0 // Project: https://github.com/eligrey/FileSaver.js/ // Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher> // Daniel Roth <https://github.com/DaIgeb> // HitkoDev <https://github.com/HitkoDev> // JounQin <https://...
/* eslint-disable import/prefer-default-export, import/no-cycle, @typescript-eslint/naming-convention, @typescript-eslint/no-empty-interface */ import { IBackboneElement, ICodeableConcept, IInsurancePlanPlanSpecificCostBenefitCost, } from "../internal"; export interface IInsurancePlanPlanSpecificCostBenefit ext...
// Copyright (C) 2020-2021 Intel Corporation // // SPDX-License-Identifier: MIT import React from 'react'; import { connect } from 'react-redux'; import { RadioChangeEvent } from 'antd/lib/radio'; import { CombinedState, ShapeType, ObjectType } from 'reducers/interfaces'; import { rememberObject } from 'actions/annot...
import React, { useMemo } from "react"; import { DateTime } from "luxon"; import { Link, Navigate } from "react-router-dom"; import { Button, Heading } from "react-bulma-components"; import IndexWrapper from "components/indexWrapper"; import useUserStatus from "utils/useUserStatus"; import { appName } from "utils/const...
import { Request, NextFunction } from 'express'; import { Database } from '../../database'; /** * Mongo Database connection middleware. * @param callback the callback to execute once the connection to the database is established. * @returns the connection middleware function. */ export const connectDatabase = (ca...
import Widget = require('./Widget'); class View extends Widget { get:View.Getters; set:View.Setters; } module View { export interface Getters extends Widget.Getters { (key:'model'):Object; } export interface Setters extends Widget.Setters { (key:'model', value:Object):void; } } export = View;
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *----------------------------------------------------------------------...
import styled, { css } from "styled-components"; import { shade } from "polished"; interface IToogleOpenPropos { toogleOpen?: boolean; } export const Container = styled.div<IToogleOpenPropos>` display: flex; align-items: center; justify-content: center; flex-direction: column; border-top: 1px solid #d2d2d...
import * as React from 'react'; export interface NotificationState { content: string; variant: 'success' | 'warning' | 'error' | 'info'; } export interface NotificationContextProps { showNotification: (notificationState: NotificationState) => void; clearNotification: () => void; notification: NotificationSt...
import { PipeTransform, ArgumentMetadata, HttpException, HttpStatus } from "@nestjs/common"; import { plainToClass } from 'class-transformer'; import { validate } from "class-validator"; export class ValidatorPipe implements PipeTransform<any> { async transform(value: any, { metatype }: ArgumentMetadata) { ...
declare module '*.graphql' { import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; const Schema: DocumentNode; export = Schema; }
import { EventDispatcher } from "three"; import { DragWatcher } from "./DragWatcher"; import { SleepEvent } from "./SleepEvent"; export declare class SleepWatcher extends EventDispatcher<SleepEvent> { private dragWatcher; private sleepTimerID; private timeOut_ms; private isSleep; constructor(dragWat...
import { DNSPacket } from "./DNSPacket"; import { Question } from "./Question"; import { ResourceRecord } from "./ResourceRecord"; export declare function runRecordEncodingTest(record: Question | ResourceRecord, legacyUnicast?: boolean): void; export declare function runPacketEncodingTest(packet: DNSPacket): void; //# ...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { Secre...
import { isEqual } from 'lodash'; import { omitPrivate } from '../common/utility'; import InternalAddress from './internal-address'; export default function isInternalAddressEqual(addressA: Partial<InternalAddress>, addressB: Partial<InternalAddress>): boolean { return isEqual(normalize(addressA), normalize(addr...
import { Component, OnInit } from "@angular/core"; import { FormBuilder, FormGroup, Validators } from "@angular/forms"; import { Router } from "@angular/router"; import { AppEnums } from "src/app/enums/app.enums"; import { Order } from "src/app/models/order.interface"; import { User } from "src/app/models/user.interfac...
/* * Human Cell Atlas * https://www.humancellatlas.org/ * * Component for displaying project prepared project matrices downloads inside modal. The modal closes automatically * on NavigationStart event. The following actions causes a redirect to the projects page (and therefore closes the modal): * * 1. Hitting ...
import { useEffect, useState } from "react"; import FadeIn from "react-fade-in"; import { discordId, Presence } from "../types/Discord"; import { EventType, Operation, SocketEvent } from "../types/Event"; const Spotify = ({ setActive, }: { setActive: (active: boolean) => void } & any) => { const [socket, setSocke...
import { Matrix3, Matrix4, Quaternion, Vector3 } from 'three' import { useDispatch } from '@xrengine/client-core/src/store' import { Engine } from '@xrengine/engine/src/ecs/classes/Engine' import { World } from '@xrengine/engine/src/ecs/classes/World' import { defineQuery, getComponent } from '@xrengine/engine/src/ecs...
/* eslint-disable no-new */ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { assert } from 'chai'; import * as sinon from 'sinon'; import { anything, instance, mock, when } from 'ts-mockito'; import * as tasClient from 'vscode-tas-client'; import {...
import { ParserInterface } from '../ParserInterface'; import { isNumber } from '../tune/expression'; export enum EntryType { TRIGGER = 'trigger', MARKER = 'marker', } export interface CompositeLogEntry { type: EntryType; primaryLevel: number; secondaryLevel: number; trigger: number; sync: number; refT...
import React, { Component } from 'react'; import AgoraRtcEngine, { AREA_CODE, LOG_LEVEL, AgoraRtcChannel, ChannelEvents, } from 'agora-electron-sdk'; import { List, Card, Button } from 'antd'; import config from '../../config/agora.config'; import styles from '../../config/public.scss'; interface State { ch...
import * as fs from 'fs'; import * as path from 'path'; import { Construct } from 'constructs'; import { AssetStaging } from '../asset-staging'; import { FileAssetPackaging } from '../assets'; import { CfnResource } from '../cfn-resource'; import { Duration } from '../duration'; import { Size } from '../size'; import {...
import { NextComponentType } from 'next' export default function Layout({ children: any }) { return ( <> {/* <Navbar /> */} <main>{children}</main> </> ) }
import React from 'react'; import ReactDOM from 'react-dom'; import { createServer, Model } from 'miragejs' import { App } from './App'; createServer({ models: { transaction: Model, }, seeds(server) { server.db.loadData({ transactions: [ { id: 1, title: 'Freelance de we...
/* tslint:disable */ /** * Auto generated file, do not modify it! */ export const content = `.x6-graph { position: relative; outline: none; } .x6-graph-background, .x6-graph-grid, .x6-graph-svg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; } .x6-graph-background-stage, .x6-graph-grid-sta...
import { defaultContainer } from '../core/defaultContainer'; import { PropertyInfo } from '../core/validator.interface'; import { PROPERTY } from "../const" import { PropConfig } from "../models/config/prop-config" export function prop(config?:PropConfig) { return function ( target: Object, property...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ReplicaSetsComponent } from './replica-sets.component'; import { AppModule } from '../../../../app.module'; import { ListModule } from '@kyma-project/y-generic-list'; import { APP_BASE_HREF } from '@angular/common'; describe('ReplicaSe...
import React, {Component, ChangeEvent, ClipboardEvent, KeyboardEvent} from 'react'; import './input.scss'; type PropTypes = { className?: string label?: string placeholder?: string suffix?: string min?: string disabled?: boolean onChange?: (event: ChangeEvent<HTMLInputElement>) => void onKeyPress?: (ev...
import styled from 'styled-components'; interface Props { height: number; } export const NavbarMobileWrapper = styled.nav<Props>` background-color: var(--background-color); overflow: hidden; transition: 0.3s all ease; height: 0; &.c-navbar-mobile--active { height: ${props => props.height}px; } `; ...
import { InputNameUpgradeData, TargetVersion, VersionChanges } from '@angular/cdk/schematics'; export const inputNames: VersionChanges<InputNameUpgradeData> = { [TargetVersion.V11]: [ { pr: '', changes: [ { replace: 'slave', replaceWith: 'connected', limitedTo: {...
import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { CryptocurrenciesModule as CryptocurrenciesModuleDataAccess } from '@coin-market/data-access/cryptocurrencies'; import { FeatureUiComponentsModule } from '@coin-market/ui/fea...
import * as React from "react"; export const Services: React.StatelessComponent<{}> = () => { return ( <div> <h1>Services</h1> </div> ); }; export default Services;
import request from "supertest"; import app from "../src"; describe("Test app", () => { return it("Request app", async (): Promise<void> => { const result = await request(app).get("/").send(); expect(result.status).toBe(200); expect(result.body).toStrictEqual({}); }); });
import { User, UserLogin, } from '@angular-web-security/csrf-api/data-access-users'; import { BadRequestError } from '../errors/bad-request-error'; import { fakeUsers } from './fake-users'; import { NotFoundError } from '../errors/not-found-error'; export class UserService { static getById(id: string): User { ...
import { R4_BackboneElement } from './R4_BackboneElement' import { R4_DocumentRelationshipTypeEnum } from './R4_DocumentRelationshipTypeEnum' import { R4_DomainResource } from './R4_DomainResource' import { R4_Reference } from './R4_Reference' export class R4_DocumentReference_RelatesTo extends R4_BackboneElement...
import { EmailService } from './../email/email.service'; import { Injectable, NotFoundException } from '@nestjs/common'; import { Cron } from '@nestjs/schedule'; import { InjectRepository } from '@nestjs/typeorm'; import { RdDto } from './rd.dto'; import { RdEntity } from './rd.entity'; import { RdRepository } from './...
/* * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ import * as msRest from "ms-rest-js"; export const appId: msRest.OperationURLParameter = { parameterPath: "appId", mapper: { required: true, serialized...
import { CardScript, CardActionConfig } from "../../types/CardScript" import { cardScripts } from "../../CardScripts" import { GameState } from "../../../shared/gamestate/GameState" const cardScript: CardScript = { // Elusive. (The first time this creature is attacked each turn, no damage is dealt.) Reap: If your ...
import { FieldType, TNullableFieldType } from '../template-schema/field/field'; import { TUnorderedPair } from './utils'; export interface IOneOf { enum?: any[]; description?: string; /** allow additional properties */ [prop: string]: any; } export interface IWidget { id?: string; plugins?: string; tool...
import { Construct } from "constructs"; import { DockerImageAsset } from "aws-cdk-lib/aws-ecr-assets"; import { HostedZone } from "aws-cdk-lib/aws-route53"; import { Certificate } from "aws-cdk-lib/aws-certificatemanager"; import { SslPolicy } from "aws-cdk-lib/aws-elasticloadbalancingv2"; import { SecurityGroup, Vpc }...
import React, { useEffect, useState } from 'react'; import { Modal, message, Input, Form, Statistic, Button } from 'antd'; import { request } from '@/utils/http'; import config from '@/utils/config'; import { Loading3QuartersOutlined, CheckCircleOutlined, } from '@ant-design/icons'; import { PageLoading } from '@an...
import { OnfigConfig } from "./onfig-config"; import { OnfigProvider } from "./onfig-provider"; import { OnfigResolution } from "./onfig-resolution"; import { OnfigResolver } from "./onfig-resolver"; export default class Onfig { private static configurations; static config: OnfigConfig; static get(config: O...
import {Err, Ok} from '@emirayka/option-result' import {ParserErrorNewline} from '@/types' import {newline} from './newline' describe('complete', () => { describe('newline', () => { test('when input starts with \\r\\n or with \\n, returns Ok', () => { expect(newline('\n')).toEqual(Ok(['', '\n'])) ex...
// @module: node16,nodenext // @declaration: true // @allowJs: true // @checkJs: true // @outDir: out // @filename: subfolder/index.js // cjs format file const x = 1; export {x}; // @filename: subfolder/index.cjs // cjs format file const x = 1; export {x}; // @filename: subfolder/index.mjs // esm format file const x = ...
/** * @license * Copyright 2019 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. * ============================================================================= */ // This code is auto-generated, do n...
import { Component, OnInit, ViewChild, Input, EventEmitter, Output } from '@angular/core'; import { ObservationService, KendraService,ObservationUtilService } from '@sunbird/core'; import { ConfigService, ResourceService, ILoaderMessage, INoResultMessage } from '@sunbird/shared'; import { debounceTime, map } from 'rxjs...
import React, {useContext} from 'react'; import {Channel, Socket} from 'phoenix'; import {throttle} from 'lodash'; import * as API from '../../api'; import {notification} from '../common'; import {Conversation, Message} from '../../types'; import {sleep} from '../../utils'; import {SOCKET_URL} from '../../socket'; impo...
import {ProtractorBrowser} from 'protractor'; export declare interface SimpleResponseMock { status: number, data: string } export declare interface ResponseMock { status: number, numberOfRequests: number, data: string } export declare interface MockConfig { path: string | RegExp, method?:...
import codecommit = require('@aws-cdk/aws-codecommit'); import s3 = require('@aws-cdk/aws-s3'); import { Construct } from '@aws-cdk/core'; import { CfnProject } from './codebuild.generated'; import { IProject } from './project'; /** * The type returned from {@link ISource#bind}. */ export interface SourceConfig { ...
import path from "path"; import { DeepMergeFlags, deepMerge, isEsm } from "@surface/core"; import { isDirectory, lookupFile } from "@surface/io"; import Builder from "./builder.js"; import { loadModule } from "./common.js"; impo...
import { CollectionCache, CollectionKey } from "../../../common"; import { GunTypesEnum } from "./GunTypesEnum"; import { WarscapeAnimated } from "./WarscapeAnimated"; import { BattleAnimationsTable } from "./BattleAnimationsTable"; import { MissileWeapons } from "./MissileWeapons"; import { BattleEntities } from "./Ba...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { ContentLayoutComponent } from './content-layout.component'; describe('ContentLayoutComponent', () => { let component: ContentLayoutComponent; let fixture: ComponentFixture<ContentLayoutComponent>; beforeEach(waitFor...
import UserEntity from '../src/common/entities/user.entity'; declare global { namespace Express { class User extends UserEntity {} } }