text stringlengths 10 953k |
|---|
import { StoryblokState } from '../types/State'
export const state: StoryblokState = {
previewToken: '',
storeCode: '',
stories: {},
supportsWebp: false
} |
import React, { SVGProps } from 'react';
import { defaultIconProps } from '../defaultIconProps';
export const NumPyIcon: React.FC<SVGProps<SVGSVGElement>> = (props) => {
return (
<svg {...props}>
<title>NumPy Icon</title>
<path d="M3 17h4v4H3zM3 12h4v4H3zM3 7h4v4H3zM3 2h4v4H3zM8 7h4v4H8zM12 12h4v4h-... |
import { useCallback, useEffect, useRef, useState } from "react";
interface UseFetchProps {
initialLoading?: boolean;
initialError?: any;
initialData?: any;
apiMethod: Function;
params?: any;
mungeResponse?: Function | null;
}
interface RefetchProps {
params?: any;
withLoading?: boolean;
}
const useF... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { Readable, ReadableOptions } from "stream";
import { BlobClient, CommonOptions } from "@azure/storage-blob";
import { AbortSignalLike } from "@azure/core-http";
import { createSpan } from "./utils/tracing";
import { SpanStatusCode } fro... |
import * as assert from 'assert'
import 'mocha'
import {Connection} from '.'
const db = new Connection({})
describe('db.Select(...)', () => {
const command = db.Select('users')
it('should equal literal string', () => {
assert.equal(command.toSQL(), 'SELECT * FROM users')
})
it('should not be affected by l... |
import { Component, OnInit, Input, Output, EventEmitter, ViewEncapsulation } from '@angular/core'
import { MatSnackBar } from '@angular/material'
@Component({
selector: 'ws-widget-star-rating',
templateUrl: './star-rating.component.html',
styleUrls: ['./star-rating.component.scss'],
encapsulation: ViewEncapsul... |
/**
* advanced attendee options for use with the ics format
*/
// TODO comments on props
// TODO: Consult @jshor about modifications to this hierarchy to accommodate OWA
type ICSAttendeeOptions = {
partStat?: string
role?: string
rsvp?: boolean
delegatedFrom?: string
sentBy?: string
}
export d... |
import { Component } from '@angular/core';
import { AlertController, NavController } from 'ionic-angular';
import { WorkoutService } from '../../providers/workout-service';
import { WorkoutPage } from '../workout/workout';
import { Notebook } from '../../models/notebook-model';
import { Workout } from '../../models... |
/**
* @file HoneyOne 蜂蜜
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import React from 'react';
import {ISvgIconProps, IconWrapper} from '../runtime';
export default IconWrapper(
'honey-one',
true,
(props: ISvgIconProps) => (
<svg
... |
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import {
MatAutocomplete... |
import "./test"; |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-card-section',
templateUrl: './card-section.component.html',
styleUrls: ['./card-section.component.css']
})
export class CardSectionComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
} |
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { copyFile, copyFileSync } from "./_fs_copy.ts";
import { existsSync } from "./_fs_exists.ts";
import { assert } from "../../testing/asserts.ts";
const { test } = Deno;
const destFile = "./destination.txt";
test({
name: "[std/node/fs... |
/**
* @license
* Copyright 2019 Dynatrace LLC
* 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 ag... |
export default {
banner: {
horizontal: {
stylePreset: 'bannerInformative',
spaceInset: 'spaceInset045',
minHeight: 'sizing090',
icon: {
spaceInline: 'space030',
},
content: {
spaceInline: 'space030',
title: {
stylePreset: 'inkInverse',
... |
import { Connection } from 'typeorm';
import { Factory, Seeder } from 'typeorm-seeding';
import { User } from '../../api/models/User';
export class CreateUser implements Seeder {
public async run(factory: Factory, connection: Connection): Promise<any> {
const em = connection.createEntityManager();
c... |
declare module "knockout" {
// Have to define your own extenders
export interface ObservableArrayFunctions<T> {
filterByProperty(propName: string, matchValue: boolean): ko.Computed<any>;
}
export interface Extenders {
logChange(target: ko.Subscribable, option: string): typeof target;
... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { KotlinValidationComponent } from './kotlin-validation.component';
describe('KotlinValidationComponent', () => {
let component: KotlinValidationComponent;
let fixture: ComponentFixture<KotlinValidationComponent>;
beforeEach(async () => ... |
import { INestApplication } from '@nestjs/common';
import { Test, TestingModule } from '@nestjs/testing';
import PrismaService from '../../../../test_helpers/services/PrismaService';
import TestHelpersModule from '../../../../test_helpers/TestHelpersModule';
import AppModule from '../../../AppModule';
describe('Prism... |
import { OnInit, AfterContentInit, OnChanges, ElementRef } from '@angular/core';
import { base } from './base';
export declare class explorerMetaData {
static XTYPE: string;
static PROPERTIESOBJECT: any;
static PROPERTIES: string[];
static EVENTS: any[];
static EVENTNAMES: string[];
}
export declare... |
/// <reference path="../../typings/index.d.ts" />
namespace LccWebParts {
class preventDefault implements ng.IDirective {
static instance() : ng.IDirective {
return new preventDefault();
}
public link;
constructor() {
this.link = this.unboundLink.bind(this);... |
///
/// Copyright © 2016-2020 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 { PropertyPaneDropdown, PropertyPaneSlider, PropertyPaneToggle, PropertyPaneChoiceGroup, PropertyPaneTextField } from '@microsoft/sp-property-pane';
import * as strings from 'PersonalQuickLinksWebPartStrings';
import * as Enums from '@utility'
export class PropertyPaneConfiguration{
public static LayoutTile... |
export type TimingType = "blocked" | "dns" | "connect" | "send" | "wait" | "receive" | "ssl";
export type RequestType = "other" | "image" | "video" | "audio" | "font" | "svg" | "html" |
"plain" | "css" | "javascript" | "flash";
export type IndicatorType = "error" | "warning" | "info";
export type IndicatorDisplayT... |
import * as PIXI from 'pixi.js-legacy';
import { AbstractState } from '../abstract-state';
import { ConfigService } from '../../config/config-service';
import { Resources } from '../../util/resources';
import { InfoBlock } from '../../components/info-block';
import { Messages } from '../../message/messages';
export c... |
import { Expose } from 'class-transformer';
import { ExamApplicationStatus, ExamApplicationType } from 'src/enums';
import { Column, Entity, ManyToOne } from 'typeorm';
import { Exam, User } from '.';
import BaseEntity from './base.entity';
@Entity({
name: 'exam_applications',
})
export class ExamApplication extends... |
namespace Serenity {
@Serenity.Decorators.registerClass()
export class TemplatedWidget<TOptions> extends Widget<TOptions> {
protected idPrefix: string;
private static templateNames: Q.Dictionary<string> = {};
constructor(container: JQuery, options?: TOptions) {
super(cont... |
import { useNavigate } from 'react-router-dom';
import { ReactComponent as AppLogo } from '../media/reparify_logo.svg';
import { ReactComponent as PageNotFoundIllustration } from '../media/404illustration.svg';
export const NotFoundPage = () => {
const navigate = useNavigate();
return (
<main classNam... |
export class Price{
price: number;
} |
import AvMessage from './AvMessage';
declare const AvMessageApi: AvMessage;
export default AvMessageApi; |
import dayjs from 'dayjs';
export const formatDate = (
isoString: string,
dateFormat = 'MMMM D, YYYY',
): string => {
return dayjs(isoString).format(dateFormat);
};
export const dateIsBefore = (dateA: string, dateB = new Date()): boolean => {
return dayjs(dateA).isBefore(dayjs(dateB));
};
export cons... |
/* eslint-disable @typescript-eslint/no-empty-function */
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { Logger, LoggerService } from '@nestjs/common';
export class MyLogger implements LoggerService {
log(message: string) {}
error(message: string, trace: string) {}
... |
import * as fs from 'fs';
export function saveFile(path: string, file: string): void {
try {
fs.writeFileSync(path, file, "utf8");
} catch (err) {
console.error(err);
}
} |
declare function NSErrorFromSentryError(error: SentryError, description: string): NSError;
declare class PrivateSentrySDKOnly extends NSObject {
static alloc(): PrivateSentrySDKOnly; // inherited from NSObject
static captureEnvelope(envelope: SentryEnvelope): void;
static envelopeWithData(data: NSData): SentryEn... |
import {Declension} from "src/units/declensions";
import OptionCurrency from "src/typeScript/types/OptionCurrency";
interface ConvertOptions {
/**
* Select currency\
* `'rub'` Russian ruble. 124 рубля 42 копейки\
* `'usd'` Dollar. 124 доллара 42 цента\
* `'eur'` Euro. 124 евро 42 цента\
* `'number'` N... |
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import * as moment from 'moment';
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
export class HomePage {
data:any;
ondutyDate:any;
constructor(public navCtrl: NavController) {
}
ngOnInit(){
this... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Stonkcoin</source>
<translation>बिटकोइन के संबंध में</translation... |
// Code generated by Téodor Todorov (Creator of Digibear).
// DO NOT EDIT.
// Copyright 2021 Digibear.
// All rights reserved.
import { DbIconDefinition } from "@digibearapp/digibear-common-types";
const dbBagShoppingAlt1 : DbIconDefinition = {
iconName: "bagShoppingAlt1",
}
export default dbBagShoppingAlt1; |
/**
*
*
* OpenAPI spec version: 20200601
*
*
* 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... |
export * from "./activity-charts-data-adapter.service";
export * from "./user-plot-data-adapter.service";
export * from "./user-all-time-statistics-adapter.service";
export * from "./adapter";
export * from "./mocked-speed-adapter.service";
export * from "./mocked-pressure-adapter.service";
export * from "./speed-fix-a... |
import { stderr as chalk } from 'chalk';
import { createPatch } from 'diff';
/**
* Inserts an escape character to apply an ANSI-escaped background color to an entire line
* @see https://stackoverflow.com/a/39307121/4907315
*/
function fullLineColor(lineStr: string): string {
return chalk.supportsColor ? `${line... |
import React from 'react'
import { Box } from '../box'
import * as styles from './letter-spacing.module.css'
const letterSpacings = [
{
label: 'Tighter',
value: '-0.025em',
varNameCSS: 'psTypeLetterSpacingTighter',
varNameJS: 'type.letterSpacingTighter'
},
{
label: 'Tight',
value: '-0.01... |
import { Component, OnInit, Inject, OnDestroy } from '@angular/core';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { ExecutionDialogData } from 'src/app/models/dialog-data.model';
import { Subscription } from 'rxjs';
import { SocketService } from 'src/app/services/socket/socket.servi... |
// Copyright 2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/**
* Returns a new effect that will not succeed with its value before first
* interrupting all child fibers forked by the effect.
*
* @tsplus fluent ets/Effect interruptAllChildren
*/
export function interruptAllChildren<R, E, A>(
self: Effect<R, E, A>,
__tsplusTrace?: string
): Effect<R, E, A> {
return sel... |
import { updateLocation } from './location';
import { updateNavIndex, UpdateNavIndexAction } from './navModel';
import { notifyApp, clearAppNotification } from './appNotification';
export { updateLocation, updateNavIndex, UpdateNavIndexAction, notifyApp, clearAppNotification }; |
import { TemplateRef } from '@angular/core';
import { NzFormatEmitEvent, NzTreeNode, NzTreeNodeOptions } from 'ng-zorro-antd/core/tree';
import { Observable } from 'rxjs';
import { SFSchemaEnum, SFSchemaEnumType } from '../../schema';
import { SFDLSSize, SFUISchemaItem } from '../../schema/ui';
export interface SFTree... |
import { useEffect, useCallback } from 'react';
import helper from '../DOMHelper';
import { getDOMNode, KEY_CODE } from './';
function isLeftClickEvent(event: React.MouseEvent) {
return event?.button === 0;
}
function isModifiedEvent(event: React.MouseEvent) {
return !!(event.metaKey || event.altKey || event.ctrl... |
import BaseService from '../base/base-service';
import ServiceInterface from '../base/service-interface';
export default class ProductService extends BaseService implements ServiceInterface {
_collection = 'products';
} |
const translations = {
title: 'Dashboard - {{key}}',
recentlyDeletedPlayers: {
title: 'Ostatnio usunięci gracze',
columns: {
name: 'Gracz',
mostPoints: 'Najwięcej punktów',
deletedAt: 'Usunięty o',
},
},
recentlyDeletedTribes: {
title: 'Ostatnio usunięte plemiona',
columns:... |
// Copyright 2022 @paritytech/polkadot-staking-dashboard authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { useLocation } from 'react-router-dom';
import { useAssistant } from 'contexts/Assistant';
import { useConnect } from 'contexts/Connect';
import { useExtrinsics } from 'contexts/Extrinsics';
i... |
import test from 'ava';
import { createHTMLDocument, getElementByUrl } from '../src/';
test('Find by URL match (no match)', (t) => {
const dom = createHTMLDocument(`
<img src="test1.png">
`, 'http://example.com/index.html');
const element = getElementByUrl(dom, 'http://example.com/test2.png');
... |
<TS language="uz@Cyrl" 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 { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MythsComponent } from './myths.component';
describe('MythsComponent', () => {
let component: MythsComponent;
let fixture: ComponentFixture<MythsComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
decl... |
import * as Color from "color";
import * as ko from "knockout";
import { EncounterState } from "../common/EncounterState";
import { PlayerView } from "../common/PlayerView";
import { PlayerViewCustomStyles, PlayerViewSettings } from "../common/PlayerViewSettings";
import { StaticCombatantViewModel } from "./Combatant/... |
import React from 'react'
import { AcmDonutChart } from './AcmDonutChart'
import { AcmChartGroup } from '../AcmChartGroup'
export default {
title: 'Charts',
component: AcmDonutChart,
}
export const DonutChart = () => {
const complianceData = [
{ key: 'Compliant', value: 1, isPrimary: true },
... |
import React, { SVGProps } from 'react';
import generateIcon from '../../generateIcon';
const SolidGlobeAsia = (props: SVGProps<SVGSVGElement>) => {
return (
<svg viewBox="0 0 496 512" width="1em" height="1em" {...props}>
<path d="M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 ... |
/* global google */
import * as React from "react"
import {
unregisterEvents,
applyUpdatersToPropsAndRegisterEvents
} from "../../utils/helper"
import MapContext from "../../map-context"
const eventMap = {
onClick: "click",
onDblClick: "dblclick",
onDrag: "drag",
onDragEnd: "dragend",
onDragStart: "dra... |
import { GameObject, decorators, resource, ComponentChanged, RESOURCE_TYPE, OBSERVER_TYPE } from '@eva/eva.js';
import { RendererManager, ContainerManager, RendererSystem, Renderer } from '@eva/plugin-renderer';
import SpriteComponent from './component';
import { Sprite as SpriteEngine } from '@eva/renderer-adapter';
... |
import "@testing-library/jest-dom/extend-expect";
import { JssProvider, ThemeProvider } from "react-jss";
import { DEFAULT_THEME_DATA } from "constants/theme";
import { I18nextProvider } from "react-i18next";
import { Provider } from "react-redux";
import React from "react";
import i18n from "utils/i18n";
import jssS... |
import {ODataError} from '../../../../../../../models/oDataErrors/';
import {createODataErrorFromDiscriminatorValue} from '../../../../../../../models/oDataErrors/createODataErrorFromDiscriminatorValue';
import {CountRequestBuilderGetRequestConfiguration} from './countRequestBuilderGetRequestConfiguration';
import {get... |
import { Component, Inject } from '@angular/core';
import { MAT_DIALOG_DATA } from '@angular/material';
@Component({
selector: 'app-stop-training',
template: `<h1 mat-dialog-title>Are you sure?</h1>
<mat-dialog-content>
<p>You already got {{ passedData.progress }}%</p>
... |
import "jest-extended";
import { Interfaces, Managers, Utils } from "@arkecosystem/crypto";
import ByteBuffer from "bytebuffer";
import { Delegate } from "../../../../packages/core-forger/src/delegate";
import { Block, BlockFactory } from "../../../../packages/crypto/src/blocks";
import { Slots } from "../../../../pac... |
import { CurrencyAmount, Ether, Percent, Token } from "./entities";
import { Pair, Route, Trade } from "./entities";
import JSBI from "jsbi";
import { Router } from "./router";
import { WETH9 } from "./constants";
import invariant from "tiny-invariant";
function checkDeadline(deadline: string[] | string): void {
ex... |
import { Menu } from '@material-ui/core'
import { FC, useMemo } from 'react'
import {
ClipboardCopyIcon,
SelectorIcon,
StarIcon,
TrashIcon,
} from '@heroicons/react/outline'
import PortalState from 'libs/web/state/portal'
import useI18n from 'libs/web/hooks/use-i18n'
import { NOTE_PINNED } from 'libs/shared/met... |
import React, { useState } from "react"
import { useLocalStorage } from "../../utilities/hooks"
interface Props {
store: string
}
const Timer: React.FC<Props> = ({ store }: Props) => {
const [value, setValue] = useLocalStorage(store, 0)
const [interval, setInterval] = useState(-1)
const format = (x: ... |
import { Pipe, PipeTransform } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { resultOfStudent } from 'src/app/events/utils/tests';
import { Test } from 'src/app/shared/models/test.model';
@Pipe({
name: 'erzTestPoints',
})
export class TestPointsPipe implements PipeTransform {
... |
import { ElementViewTemplate } from "./template";
import { ElementStyles, css, ComposableStyles } from "./styles";
import { AttributeConfiguration, AttributeDefinition } from "./attributes";
/**
* Defines metadata for a FASTElement.
* @public
*/
export class FASTElementDefinition {
/**
* The name of the cu... |
/// <reference types="node" />
/**
* @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 { Path, PathFragment, virtualFs } from '@angular-devkit/core';
import { Action ... |
import React, { useState } from 'react';
import { FiEdit3, FiTrash } from 'react-icons/fi';
import api from '../../services/api';
import { Container } from './styles';
interface IFoodPlate {
id: number;
name: string;
image: string;
price: string;
description: string;
available: boolean;
}
interface IPro... |
import { NgModule } from '@angular/core';
import { CommonModule, } from '@angular/common';
import { BrowserModule } from '@angular/platform-browser';
import { Routes, RouterModule } from '@angular/router';
import { AdminLayoutComponent } from './layouts/admin-layout/admin-layout.component';
const routes: Routes = [
... |
import type { Mixin } from '@tpluscode/rdfine/lib/ResourceFactory';
import { QuantityMixin } from '../Quantity';
import { EnergyMixin } from '../Energy';
export const EnergyBundle = [
QuantityMixin as Mixin,
EnergyMixin as Mixin]; |
/** @license
* Copyright 2018 Esri
*
* 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 * as vscode from 'vscode';
import { map, filter } from 'rxjs/operators';
import { Observable } from '../../node_modules/rxjs';
import * as settings from './createClusterSettings';
import * as form from './createClusterForm';
import * as k3d from '../k3d/k3d';
import { logChannel } from '../utils/log';
import... |
import { Component, OnInit } from '@angular/core';
import {BrandModel} from './brand.model';
import {OptionsService} from './options.service';
@Component({
selector: 'app-options',
templateUrl: './options.component.html',
styleUrls: ['./options.component.css']
})
export class OptionsComponent implements OnInit {... |
import { performBump } from '../bump/performBump';
import { BumpInfo } from '../types/BumpInfo';
import { BeachballOptions } from '../types/BeachballOptions';
import { git, gitFailFast, revertLocalChanges, parseRemoteBranch } from '../git';
import { tagDistTag, tagPackages } from './tagPackages';
import { mergePublishB... |
import { Component, OnInit } from '@angular/core';
import { ModalController, MenuController, NavController } from '@ionic/angular';
import { RegisterPage } from '../auth/register/register.page';
import { LoginPage } from '../auth/login/login.page';
import { AuthService } from 'src/app/services/auth.service';
@Component... |
export type Circle = {
x : number,
y : number,
r : number,
} |
import { Linter } from "../index";
export interface StylisticIssues extends Linter.RulesRecord {
/**
* Rule to enforce linebreaks after opening and before closing array brackets.
*
* @since 4.0.0-alpha.1
* @see https://eslint.org/docs/rules/array-bracket-newline
*/
"array-bracket-newli... |
// eslint-disable-next-line no-use-before-define
import React, { useEffect, useRef, useState } from 'react'
import { ContractData, ContractDropdownProps, FuncABI } from '../types'
import * as ethJSUtil from 'ethereumjs-util'
import { ContractGUI } from './contractGUI'
export function ContractDropdownUI (props: Contrac... |
import { distinctUntilChanged, of } from '@tanbo/stream';
describe('distinctUntilChanged', () => {
test('确保过滤连续重复的值', () => {
const arr: any[] = []
of(1, 2, 3, 3, 2, 4, 4).pipe(distinctUntilChanged()).subscribe({
next(value) {
arr.push(value)
},
complete() {
expect(arr).toEq... |
/*
* 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 no... |
import React from 'react'
interface PropsInput {
value: string,
handleChange: ( event: React.ChangeEvent<HTMLInputElement>) => void
}
export const Input = ( { value, handleChange } : PropsInput ) => {
const handleInputChange = ( event: React.ChangeEvent<HTMLInputElement>) => {
cons... |
import * as reducer from "components/ProjectScreen/CreateProject/Redux/CreateProjectReducer";
import {
CreateProjectAction,
CreateProjectActionTypes,
CreateProjectState,
defaultState,
} from "components/ProjectScreen/CreateProject/Redux/CreateProjectReduxTypes";
import { StoreAction, StoreActionTypes } from "ro... |
/**
*
*
* OpenAPI spec version: 20160918
*
*
* 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 ThrowableType from "./throwable/boolean-parameter";
import EqualParameters from "./equal-parameters";
/**
* Throw exception if given value is not equal
*/
export interface EqualParameterArgument<Compare> {
compare:Compare;
error?:(value:unknown)=>Error;
}
export default function EqualParameter<Comp... |
import MergeRouter from "./MergeRouter";
export { MergeRouter }; |
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { OutgoingHttpHeaders } from "http";
import querystring from "querystring";
import {
IDeltaStorageService,
IDocumentDeltaStorageService,
IDeltasFetchResult,
} from "@fluidframework/driver-definiti... |
/**
* Copyright (c) 2017 ~ present NAVER Corp.
* billboard.js project is licensed under the MIT license
*/
import {$REGION} from "../../config/classes";
import {getOption, extend} from "../../module/util";
type RegionsParam = {axis?: string, class?: string, start?: number, end?: number}[];
/**
* Update regions.
... |
import { WalletAdapterNetwork } from "@solana/wallet-adapter-base";
import {
ConnectionProvider,
WalletProvider,
} from "@solana/wallet-adapter-react";
import { WalletModalProvider } from "@solana/wallet-adapter-react-ui";
import {
LedgerWalletAdapter,
PhantomWalletAdapter,
SlopeWalletAdapter,
SolflareWalle... |
import * as assert from 'assert';
import * as pathlib from 'path';
import { Imitation, ChildProcessStub, SharedVariables } from '../Common';
import * as sinon from 'sinon';
import { Version } from '../../src/Util';
import { Catch2Runnable } from '../../src/framework/Catch2Runnable';
import { RootSuite } from '../../src... |
// Generated by the ProjectIt Language Generator.
import { PitExp } from "./PitExp";
import { PitPropInstance } from "../PitPropInstance";
import { PiClassifier, PiElementReference } from "../../../languagedef/metalanguage";
/**
* Class PitCreateExp is the implementation of the concept with the same name in the lang... |
/**
* term.js - an xterm emulator
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
* Copyright (c) 2014-2019, Simon Edwards <simon@simonzone.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to ... |
import { ArgsType, Field, InputType } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { ID } from '@nestjs/graphql';
import { User } from './user.model';
import { Post } from '../post/post.model';
import { UserCount } from './user-count.output';
import { UserCreateWithoutPostInput } from '.... |
import React, { FC, useMemo, useEffect } from 'react';
import { Switch, useLocation, useHistory } from 'react-router-dom';
import PrivateRoute from './PrivateRoute';
import NotFoundPageRouteView from '@/views/NotFoundPageRouteView';
import { usePersistFn } from 'ahooks';
import { isExternalLink } from '@/utils';
import... |
import { Controller } from '@nestjs/common';
@Controller()
export class AppController {
constructor() { }
} |
export enum StyledDaoNS {
UserWrapper = 'UserWrapper',
ContentWrapper = 'ContentWrapper'
}
export default class StyledDao {
static has(nameSpace: StyledDaoNS): boolean {
return localStorage.getItem(nameSpace) !== null;
}
static get(nameSpace: StyledDaoNS): string {
return localStorage.getItem(nameSp... |
import { atLeastVersion } from "../../common/config/version";
import { HomeAssistant, PanelInfo } from "../../types";
import { SupervisorArch } from "../supervisor/supervisor";
import { HassioAddonInfo, HassioAddonRepository } from "./addon";
import { hassioApiResultExtractor, HassioResponse } from "./common";
export ... |
import { Module } from '@nestjs/common';
import { SilabosController } from './silabos.controller';
import { SilabosService } from './silabos.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Silabo } from '../entities/silabo.entity';
@Module({
imports: [TypeOrmModule.forFeature([Silabo])],
contro... |
// Libraries
import { Observable, of, timer, merge, from } from 'rxjs';
import { flatten, map as lodashMap, isArray, isString } from 'lodash';
import { map, catchError, takeUntil, mapTo, share, finalize, tap } from 'rxjs/operators';
// Utils & Services
import { backendSrv } from 'app/core/services/backend_srv';
// Type... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.