text
stringlengths
10
953k
import React from 'react' import { fileAbsolute } from 'paths.macro' import { getStoryTitle } from '../../../storybook/get-story-title' import { Box } from '../../structure/Box/Box' import { Heading } from '../../text' import { useTheme } from '../../../theme' import { StoryFn } from '../../../storybook/utils/storybook...
import Checkbox from './checkbox' import Button from './button' interface GUIFactory { createButton(): Button createCheckbox(): Checkbox } export default GUIFactory
import React, { useContext } from 'react' import Error from 'next/error' import { userContext } from '@/context' import { PostsForm } from '@/components' const BlogNew = () => { const { currentUser } = useContext(userContext) if (!currentUser?.isAdmin) return <Error statusCode={403} /> return ( <PostsForm ...
import { defaultInitNotebook } from '../defaultInitNotebook'; import stdExec from '../../stdexec'; import stdExecDocker from '../../stdexecdocker'; import { Recipe } from '../../types'; const recipe: Recipe = ({ key: 'fsharp', name: 'F#', language: 'fsharp', mainfile: ['Program.fs'], cmmode: 'mllik...
/** * CSS Class names for Entity */ export const enum EntityClasses { /** * Class name to specify this is an entity */ ENTITY_INFO_NAME = '_Entity', /** * Class name to specify the type of an entity */ ENTITY_TYPE_PREFIX = '_EType_', /** * Class name to specify the ID of...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { Tab2Page } from './tab2.page'; describe('Tab2Page', () => { let component: Tab2Page; let fixture: ComponentFixture<Tab2Page>; });
import {ChangeDetectionStrategy, Component, OnInit} from "@angular/core"; import * as fromRoot from '../../store/reducers'; import * as fromLang from '../../store/reducers/lang'; import * as authActions from '../../store/actions/auth'; import {Store} from "@ngrx/store"; import {AuthService} from "../../auth/services/au...
import React from "react"; import styled from "../../utils/styled-components"; import Img from "gatsby-image"; import { Post, FilterLineTransition, FilterSortBy } from "../../utils/types"; import { createDateString } from "../../utils/createDateString"; import FilterButton from "../FilterButton"; import Arrow from "...
import * as Collections from '../utils/collections'; /** Represents a collection of members of a presence channel. */ export default class Members { members: any; count: number; myID: any; me: any; constructor() { this.reset(); } /** Returns member's info for given id. * * Resulting object co...
import { assign } from '../../Utilities'; import { COLOR_VALUES } from './colorValues'; export const MAX_COLOR_SATURATION = 100; export const MAX_COLOR_HUE = 359; export const MAX_COLOR_VALUE = 100; export const MAX_COLOR_RGBA = 255; export interface IRGB { r: number; g: number; b: number; a?: number; } expo...
import classNames from 'classnames' import copy from 'copy-to-clipboard' import ContentCopyIcon from 'mdi-react/ContentCopyIcon' import React, { useState, useLayoutEffect } from 'react' import { useLocation } from 'react-router' import { Tooltip } from '@sourcegraph/branded/src/components/tooltip/Tooltip' import { use...
import bcrypt from "bcrypt-nodejs"; import crypto from "crypto"; import mongoose from "mongoose"; export type CounterDocument = mongoose.Document & { _id: string seq: number }; type comparePasswordFunction = (candidatePassword: string, cb: (err: any, isMatch: any) => void) => void; export interface AuthToken...
import { createAtom, IAtom } from "mobx" import { isModel } from "../model/utils" import { getOrCreate } from "../utils/mapUtils" import type { ParentPath } from "./path" /** * @internal */ export const objectParents = new WeakMap<object, ParentPath<object> | undefined>() const objectParentsAtoms = new WeakMap<obje...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { AutoSelectExampleComponent } from './auto-select-example.component'; describe('AutoSelectExampleComponent', () => { let component: AutoSelectExampleComponent; let fixture: ComponentFixture<AutoSelectExampleComponent>; beforeEach...
/* Copyright 2020 The TensorFlow Authors. 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 applicable law or a...
// 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...
import { PaddedLayout } from 'src/layouts' export default function Jobs() { return <p>Hello World - Jobs</p> } Jobs.layoutProps = { meta: { title: 'Jobs', }, Layout: PaddedLayout, }
import { User } from 'src/user/entity/user.entity'; import { EntityRepository, Repository } from 'typeorm'; import { FilterBookDto } from '../dto/filter-book.dto'; import { Book } from '../entity/book.entity'; @EntityRepository(Book) export class BookRepository extends Repository<Book> { // async filter(user: User...
export const root: string; export const icon: string; export const clockIcon: string; export const downIcon: string; export const leftIcon: string; export const rightIcon: string; export const closeIcon: string; export const plusIcon: string; export const minusIcon: string; export const checkIcon: string; export const ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { VehicleReportComponent } from './vehicle-report.component'; describe('VehicleReportComponent', () => { let component: VehicleReportComponent; let fixture: ComponentFixture<VehicleReportComponent>; beforeEach(async(() => { Te...
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 { isArray } from '@vue/shared' import { ComponentInternalInstance } from '../component' import { ObjectDirective, DirectiveHook } from '../directives' import { softAssertCompatEnabled, DeprecationTypes } from './compatConfig' export interface LegacyDirective { bind?: DirectiveHook inserted?: DirectiveHook ...
import { getText, getTextFromSelection } from '../src/get-selection-more' import { h } from 'tsx-dom' describe('getText', () => { let $root = <div></div> beforeEach(() => { if ($root) { $root.remove() } $root = <div></div> document.body.appendChild($root) window.getSelection()!.removeAl...
import { ProxyUtils } from '../utils'; import { IProxyContext, IProxySettings } from '../interfaces'; import { ISPRequest } from 'sp-request'; import { Request, Response, NextFunction } from 'express'; export class RestBatchRouter { private spr: ISPRequest; private ctx: IProxyContext; private settings: IProxySe...
/* * 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...
import { Box } from '@chakra-ui/react'; import { ReactNode } from 'react'; import Footer from './Footer'; import Header from './Header'; interface LayoutProps { children: ReactNode; } const Layout = ({ children }: LayoutProps) => { return ( <Box margin="0 auto" maxWidth={800} transition="0.5s ease-out"> ...
import { Signer } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { ISwapCollateral } from "../ISwapCollateral"; export declare class ISwapCollateral__factory { static connect(address: string, signerOrProvider: Signer | Provider): ISwapCollateral; }
import { expect } from "chai"; import {CompoundFile} from "../src/CompoundFile"; import {initializedWidth} from "../src/utils"; describe('Stream Directory Entry test', () => { it('read mini stream data', () => { const compoundFile = new CompoundFile(); const storage = compoundFile.getRootStorage()....
// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; import type { BareProps } from '../types'; export type Button$Callback = () => void | Promise<void>; export interface ButtonProps { acti...
import { CheckConclusion, diff, createSummary, printSchemaFromEndpoint, } from '@graphql-inspector/github'; import {buildSchema, Source} from 'graphql'; import {readFileSync} from 'fs'; import {resolve} from 'path'; import {execSync} from 'child_process'; import * as core from '@actions/core'; import * as gith...
/** * @license * Copyright 2017 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...
export interface SearchListItem { price: number | null detailHref: string | undefined id: number dist: number name: string street: string city: string additional: string }
import {NestFactory} from '@nestjs/core'; import {AppModule} from './app.module'; import {SwaggerModule, DocumentBuilder} from '@nestjs/swagger'; async function bootstrap() { const app = await NestFactory.create(AppModule); const options = new DocumentBuilder() .setTitle('Demo') .setDescriptio...
import { Observable, Observer, NotifyDispatcher } from "../data"; export class Timer { public readonly onTick: Observable<Timer>; private readonly dispatcher: NotifyDispatcher<Timer>; private isRunning: boolean = false; public constructor() { this.dispatcher = new NotifyDispatcher<Timer>(this...
import {Pipe, PipeTransform} from "@angular/core"; @Pipe({ name: 'convertToSpaces' }) export class ConvertToSpacesPipe implements PipeTransform { transform(value: string, character: string): string { return value.replace(character, ' '); } }
import { ResourcePart } from '@aws-cdk/assert'; import '@aws-cdk/assert/jest'; import kms = require('@aws-cdk/aws-kms'); import lambda = require('@aws-cdk/aws-lambda'); import s3 = require('@aws-cdk/aws-s3'); import ses = require('@aws-cdk/aws-ses'); import sns = require('@aws-cdk/aws-sns'); import { Stack } from '@aws...
/** * @desc Made compatible with {GeolocationPositionError} and {PositionError} cause * PositionError been renamed to GeolocationPositionError in typescript 4.1.x and making * own compatible interface is most easiest way to avoid errors. */ export interface IGeolocationPositionError { readonly code: number; ...
// smithy-typescript generated code import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@aws-sdk/smithy-client"; import { WisdomServiceException as __BaseException } from "./WisdomServiceException"; /** * <p>You do not have sufficient access to perform this action.</p> */ export class Ac...
import { css } from "@microsoft/fast-element"; import { display, forcedColorsStylesheetBehavior } from "@microsoft/fast-foundation"; import { SystemColors } from "@microsoft/fast-web-utilities"; import { accentForegroundRestBehavior, heightNumber, neutralFillRestBehavior, neutralForegroundHintBehavior, ...
// fontawesome/svgs/solid/arrow-up-z-a.svg import { createSvgIcon } from './createSvgIcon'; export const SvgArrowUpZA = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> <!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/...
/** @format */ import { EventEmitter } from 'events'; export default class Copy2ClipboardService { public static readonly events = new EventEmitter(); public static copy(text: string) { this.events.emit('copy', text); } }
import "@polymer/paper-styles/paper-styles"; import "@polymer/polymer/lib/elements/custom-style"; import { derivedStyles } from "./styles"; export const DEFAULT_PRIMARY_COLOR = "#03a9f4"; export const DEFAULT_ACCENT_COLOR = "#ff9800"; const documentContainer = document.createElement("template"); documentContainer.set...
import { ChildProperty, Property, Complex } from '@syncfusion/ej2-base'; import { PointModel, DecoratorShapes } from '@syncfusion/ej2-drawings'; import { Point } from '@syncfusion/ej2-drawings'; import { Size } from '@syncfusion/ej2-drawings'; import { PdfBoundsModel, PdfAnnotationBaseModel, PdfFontModel } from './pdf-...
import { HttpException, HttpStatus } from '@nestjs/common'; export class ForbiddenException extends HttpException { constructor() { super('Forbidden', HttpStatus.FORBIDDEN); } }
declare module "alina-std/Main" { import * as Al from "alina-core"; import * as AlStd from "alina-std"; export type Alina = Al.NodeContext & AlStd.StandardExtensions; export class AlinaComponent<ContextT extends Alina = Alina> extends Al.Component<ContextT> implements AlStd.ITemplateProcessor<ContextT> ...
const adminRoutes = [ { path: "/admindashboard", title: "Master", icon: "bi bi-person-circle", }, { path: "/tenantlist", title: "List", icon: "bi bi-list-ul", }, { path: "/registertenant", title: "Add Tenant", icon: "bi bi-person-plus-fill", }, ]; export default adminRout...
import { GridCellMode, GridCellValue } from '../gridCell'; import { GridRowId, GridRowModel } from '../gridRows'; /** * Object passed as parameter in the column [[GridColDef]] cell renderer. */ export interface GridCellParams { /** * The grid row id. */ id: GridRowId; /** * The HTMLElement ...
import { useState } from "react"; import Head from "next/head"; import { MdArrowForward } from "react-icons/md"; import { Container, Content, InputGroup } from "../styles/pages/login"; export default function Login() { const [isActive, setIsActive] = useState(false); function handleInputChange(e) { e.target....
import { createElement } from "react"; import { ShallowWrapper, configure, shallow } from "enzyme"; import Adapter = require("enzyme-adapter-react-16"); import GoogleMap from "google-map-react"; import { Map, MapProps, heightUnitType, widthUnitType } from "../Map"; import { Marker } from "../Marker"; import { Alert } ...
import { map, concatMap } from "rxjs/operators"; import { withDevice } from "@ledgerhq/live-common/lib/hw/deviceAccess"; import { deviceOpt } from "../scan"; import { apdusFromFile } from "../stream"; export default { description: "Low level exchange with the device. Send APDUs from stdin.", args: [ deviceOpt, ...
export * from './src/BaseException' export * from './src/Exceptions/NotFoundException' export * from './src/Exceptions/BadRequestException' export * from './src/Exceptions/ForbiddenException' export * from './src/Exceptions/UnauthorizedException' export * from './src/Exceptions/InvalidMethodException' export * from '....
import { HttpClientTestingModule } from '@angular/common/http/testing'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { RouterTestingModule } from '@angular/router/testing'; import { of } from 'rxjs'; import { InfoMod...
import { Inject, Service } from 'typedi' import { Ability } from 'auth' import { Daos } from 'models' import { Country } from '../entities' @Service() export default class CountryService { @Inject() daos: Daos async findById(id: string, ability: Ability) { const country = await this.daos.countries.findOne(...
export const KUBEVIRT_STORAGE_CLASS_DEFAULTS = 'kubevirt-storage-class-defaults';
import { UrlLoaderOptions } from './types'; import fileLoaderOptions from './file-loader'; const options: UrlLoaderOptions = { limit: 4 * 1024, // kb fallback: { loader: 'file-loader', options: fileLoaderOptions, }, }; export default options;
/** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ export interface Metadata { [name: string]: string; } /** * Set of key-value pairs that you can attach to an object. This can be useful for storing addit...
import { Component, Input, ViewEncapsulation } from '@angular/core'; /** * Form message. Intended to be displayed under a form control for validation purposes. */ @Component({ selector: 'fd-form-message', templateUrl: './form-message.component.html', encapsulation: ViewEncapsulation.None }) export class ...
import { AleUIComponent } from './component'; /** Dropdown Menu Component */ export declare class AlDropdownMenu extends AleUIComponent {}
export { default as Doc } from './doc'; export { default as Request } from './request';
import * as React from "react"; import { globalHistory, Router } from "@reach/router"; import { QueryParamProvider } from "use-query-params"; import { makeStyles } from "@material-ui/styles"; import TestRunAllTests from "./TestRunAllTests"; import TestSuitePage from "../TestSuite/TestSuitePage"; import TestSuitePackage...
import { List, PageWithEmbedded } from "@phylopic/api-models" import { createSearch, Query } from "@phylopic/utils" import { addBuildToURL, fetchData, fetchResult } from "@phylopic/utils-api" import type { GetStaticProps } from "next" import { unstable_serialize } from "swr" import { PublicConfiguration } from "swr/dis...
// Copyright 2014 The Oppia Authors. 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 ap...
import { CancelQuantumTaskCommandInput, CancelQuantumTaskCommandOutput } from "./commands/CancelQuantumTaskCommand.ts"; import { CreateQuantumTaskCommandInput, CreateQuantumTaskCommandOutput } from "./commands/CreateQuantumTaskCommand.ts"; import { GetDeviceCommandInput, GetDeviceCommandOutput } from "./commands/GetDev...
import * as React from 'react'; import { IContextualMenuItem } from 'office-ui-fabric-react/lib/ContextualMenu'; import { HoverCard, HoverCardType, IExpandingCardProps } from 'office-ui-fabric-react/lib/HoverCard'; import { classNamesFunction, find } from 'office-ui-fabric-react/lib/Utilities'; import { ResizeGroup } ...
import { scheduledQueryRuns } from './scheduledQueryRuns' import type { StandardScenario } from './scheduledQueryRuns.scenarios' describe('scheduledQueryRuns', () => { scenario( 'returns all scheduledQueryRuns', async (scenario: StandardScenario) => { const result = await scheduledQueryRuns() ex...
import { injector } from "./yok"; import { ICliGlobal } from "./definitions/cli-global"; import * as _ from "lodash"; (<ICliGlobal>(<unknown>global))._ = _; (<ICliGlobal>(<unknown>global)).$injector = injector; require("colors"); injector.require("errors", "./errors"); injector.requirePublic("fs", "./file-system"); in...
/* * src/default/node-env.ts * typedlog - Tiny logging utility with TypeScript support * * Copyright (c) 2019, not_a_seagull * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redist...
import { getDefaultStoreActions, getDefaultStoreGetters, getDefaultStoreMutations, getDefaultStoreState } from '@/utils/store'; import useRequest from '@/services/request'; import {ROLE_NORMAL} from '@/constants/user'; const { post, } = useRequest(); const state = { ...getDefaultStoreState<User>('user'), ...
import { LanguageCode } from '@vendure/common/lib/generated-types'; import { PromotionCondition } from '../promotion-condition'; export const minimumOrderAmount = new PromotionCondition({ description: [{ languageCode: LanguageCode.en, value: 'If order total is greater than { amount }' }], code: 'minimum_order...
import { interfaces } from "../interfaces/interfaces"; declare class Container implements interfaces.Container { guid: string; parent: interfaces.Container | null; readonly options: interfaces.ContainerOptions; private _middleware; private _bindingDictionary; private _snapshots; private _met...
/* * 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 ...
import "mocha"; import { expect } from "chai"; import { APIError, Forbidden } from ".."; describe("Forbidden", () => { it("Should create an instance that extends Error object", () => { const err = new Forbidden(); expect(err instanceof Error).to.be.eql(true); }); it("Should create an instance that exte...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { AbmModule } from 'angular-baidu-maps'; import { AqmModule } from 'angular-qq-maps'; import { SharedModule } from '@shared/shared.module'; import { MapsQQComponent } from './qq/qq.component'; import { MapsBaiduCo...
/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ ///<reference path='../resources/jest.d.ts'/> ///<reference path='../dist/immutable.d.ts'/> jest.autoMockOff(); import { Seq, Range } ...
import { Truthy, Fn } from "@solid-primitives/utils"; import { createSubRoot } from "@solid-primitives/rootless"; import { Accessor, createComputed, createMemo, onCleanup } from "solid-js"; // .dispose() method is for disposing of root form outside // raceTimeout calls it when the first promise resolves export type Un...
import React, { useContext, useEffect, useState } from 'react' import { IAzureLayerStatefulProviderProps, IAzureMapDataSourceProps, IAzureMapsContextProps, LayerType, DataSourceType } from '../types' import atlas from 'azure-maps-control' import { AzureMapsContext } from '../contexts/AzureMapContext' import {...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { ListeOrganismeComponent } from './liste-organisme/liste-organisme.component'; const routes: Routes = [ { path: '', component: ListeOrganismeComponent } ]; @NgModule({ imports: [RouterModule.forChild...
import React, { useState } from 'react'; import { connect, Dispatch } from 'dva'; import { ConnectType } from '@/global/connect'; import { CollectionDetailModelStateType } from '@/pages/collection/detail/model'; import { Button, Dialog, DialogActions, DialogTitle } from '@material-ui/core'; import useStyles from '@/pag...
import * as _ from 'lodash'; import * as moment from 'moment'; import DatasourceInterface from '../../datasource'; import { POSTGRESInstanceAliasList, PostgreInvalidDemensions, templateQueryIdMap } from './query_def'; import { GetRequestParams, GetServiceAPIInfo, ReplaceVariable, GetDimensions, ParseQueryResu...
import { Container, TableCell, TableRow } from '@material-ui/core'; import moment from 'moment'; import React, { memo, useMemo } from 'react'; import { useQuery } from 'react-apollo'; import { sortBy } from 'sort-by-typescript'; import { GET_USERS_CURSOR } from '_apollo/queries'; import { ColumnProps } from '_client/c...
import React from 'react'; import { shallow } from 'enzyme'; import { ActionIcon } from '@mantine/core'; import { CalendarHeader } from './CalendarHeader'; import { CalendarLabel } from '../CalendarLabel/CalendarLabel'; const defaultProps = { classNames: {}, styles: {}, size: 'md' as const, nextMonthLabel: 'ne...
import { Injectable } from '@nestjs/common'; import { NestJsEbayAuthService } from '../auth/services/auth.service'; import { firstValueFrom, Observable, of } from 'rxjs'; import { catchError, map, mergeMap } from 'rxjs/operators'; import { HttpService } from '@nestjs/axios'; import { NestJsEbayHttpError } from '../../u...
export default [ { id: '5eeb83623be65b251e77959d', base: 'SmartEnvios', service_code: 12, service: 'Transportadora A', value: 8.83, days: 3, is_valid: true, errors: [], }, { id: '5eeb83623be65b251e77959e', base: 'SmartEnvios', service_code: 11, service: 'Transportad...
import { isURL, cleanPath, generateUrl, isNextInternalUrl } from './index' describe('next-sitemap', () => { test('isURL : Valid', () => { expect(isURL('https://example.com')).toBeTruthy() }) test('isURL : Invalid', () => { expect(isURL('/someone-relative/path/item.jpg')).toBeFalsy() }) test('cleanP...
import TestActionInterface from "./TestActionInterface"; export default interface TestInterface { name: string; url: string; actions?: TestActionInterface[]; }
export class SentimentData { timestamp:Date; content:string; sentiment:number; constructor(objectModel:{}) { this.timestamp = objectModel['timestamp']; this.content = objectModel['content']; this.sentiment = objectModel['sentiment']; } }
/** Other imports */ import { BaseResponse } from "."; /** Interface for ErrorResponse */ interface MessageResponse extends BaseResponse { title?: string, message?: string } export default MessageResponse
import * as React from 'react'; import { range } from 'lodash'; import { FormattedMessage, injectIntl } from 'react-intl'; // eslint-disable-next-line @typescript-eslint/ban-ts-ignore // @ts-ignore import dayjs from 'dayjs'; import { DayKey, TimeWindowProps, State, DayOptions, TimeWindowTexts } from './TimeWindow.types...
import { HttpContext } from "./http-context"; import { HttpResponseMessage } from "."; import { StatusCode } from "../../common/enums"; /** * HttpResponse class have instance members to send response from api method */ export class HttpResponse { constructor(private _context: HttpContext) { } private _h...
require("./photos-container.component.css"); import { CanActivate, ChangeDetectionStrategy, Component } from "../core"; import * as actions from "./photo.actions"; import { pluck } from "../core/pluck"; import { Photo } from "./photo.model"; @Component({ routes: ["/admin/photos","/admin/photo/edit/:photoId"], ...
import { mat4, vec3 } from 'gl-matrix'; import { BMD, BMT, MaterialEntry, Shape, ShapeDisplayFlags, DRW1MatrixKind, TTK1Animator, ANK1Animator, bindANK1Animator, bindVAF1Animator, VAF1, VAF1Animator, TPT1, bindTPT1Animator, TPT1Animator, TEX1, BTI_Texture, INF1, calcJointMatrix, HierarchyNodeType, TexMtx } from './j3d...
/* * 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. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { SharedGalleryIm...
import * as configNodesCustomTypes from './custom/types'; import * as configNodesStaticTypes from './static/types'; import * as configNodesSelectedTypes from './selected/types'; export interface ConfigNodesState { customNodes: configNodesCustomTypes.ConfigCustomNodesState; staticNodes: configNodesStaticTypes.Confi...
/* * 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 may ...
import { TestBed, inject } from '@angular/core/testing'; import { EncryptService } from './encrypt.service'; describe('EncryptService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [EncryptService] }); }); it('should be created', inject([EncryptService], (service: Encryp...
import { S3ControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3ControlClient.ts"; import { DeleteStorageLensConfigurationRequest } from "../models/models_0.ts"; import { deserializeAws_restXmlDeleteStorageLensConfigurationCommand, serializeAws_restXmlDeleteStorageLensConfigurationCommand...
/** * Copyright (c) Flavio Silva https://flsilva.com * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { Button, ButtonPropsOptional, ButtonSubProps, ButtonSubPropsGetter, ButtonVariant, ColorTheme, InteractionType...
import { LoadingSpinner } from '@sourcegraph/react-loading-spinner' import { upperFirst } from 'lodash' import * as React from 'react' import { Link, Redirect } from 'react-router-dom' import { concat, Observable, Subject, Subscription } from 'rxjs' import { catchError, concatMap, distinctUntilKeyChanged, map, tap, wit...
import * as classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router-dom'; import { createStyles, withStyles, WithStyles } from 'src/components/core/styles'; type ClassNames = 'root' | 'selected'; const styles = (theme: any) => createStyles({ root: { ...theme....
export type ClassDecoratorEx = < TFunction extends Record<string, FunctionConstructor> >( target: TFunction ) => void | TFunction; export type PropertyDecorator = ( target: Record<string, any>, propertyKey: string ) => void; export type MethodDecoratorEx = <T>( target: Record<string, any>, propertyKey: st...