text stringlengths 10 953k |
|---|
export {Footer as default} from './Footer'; |
export { FacePending24 as default } from "../../"; |
import {
Component,
ChangeDetectionStrategy,
ChangeDetectorRef,
AfterViewInit,
Input,
forwardRef,
OnChanges,
SimpleChanges,
ViewEncapsulation,
} from '@angular/core';
import {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';
import {Color, stringToRgbaStruct} from '../... |
/* eslint-disable max-len */
// for better code readability
/* eslint-disable @typescript-eslint/no-use-before-define */
import { CreatePagesArgs, SourceNodesArgs } from "gatsby";
import GitHubSlugger from "github-slugger";
import needle from "needle";
import path from "path";
const indexTemplate = path.resolve("src/... |
import { Plot } from '../../core/plot';
import { deepAssign } from '../../utils';
/**
* 面积图默认配置项
*/
export const DEFAULT_OPTIONS = deepAssign({}, Plot.getDefaultOptions(), {
tooltip: {
shared: true,
showMarkers: true,
showCrosshairs: true,
crosshairs: {
type: 'x',
},
},
isStack: true,... |
export type Region = 'na' | 'eu' | 'all';
export interface Announcement {
id: number;
region: Region;
content: string;
creator: string;
priority: boolean;
timestamp?: Date;
} |
export interface StreamWriter {
write(data: number[]): number;
writeAt(startingSector: number, position: number, data: number[]): void;
append(startingSector: number, currentSize: number, data: number[]): number;
} |
process.env = {
...process.env,
NAME: 'order',
NODE_ENV: 'test',
PORT: '7000',
SESSION_NAME: 'session',
JWT_SECRET: 'secret',
ORM_CONFIG:
'{"type": "mysql","host": "localhost","port": 3306,"username": "root","password": "root","database": "test"}',
}; |
import { ReactNode } from 'react';
import { DocumentNode } from 'graphql';
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
import { Observable, ObservableSubscription } from '../../utilities';
import { FetchResult } from '../../link/core';
import { ApolloError } from '../../errors';
import {
A... |
import { GameObjects, Scene } from "phaser";
import { setTextShadow } from "./styles/setTextShadow";
const Cfg = {
styles: {
fontSize: `20px`,
color: "rgb(255,255,255,0.9)",
},
yOffset: 114,
};
const anywhere = -9999;
export class AdventurerName extends GameObjects.Text {
constructor(
... |
import { Injectable } from '@angular/core';
import { Storage } from './storage';
import { Config } from './../config';
@Injectable()
export class Token {
/**
* Name of token stored in local storage.
*/
protected _token: string = '_token';
/**
* Constructor.
*
* @param config
... |
import { Box, Grid, Grow, Typography } from '@material-ui/core'
import Experiments from './Experiments'
import Other from './Other'
import Paper from 'components-mui/Paper'
import PaperTop from 'components-mui/PaperTop'
import React from 'react'
import T from 'components/T'
import Token from 'components/Token'
import ... |
/** example typescript module */
window.addEventListener("DOMContentLoaded", e => {
let button = document.getElementById("github")
console.log("content loaded", button)
button.addEventListener("click", e => {
window.location.href = "https://github.com/caberger/leocloud"
})
}) |
import React from 'react';
import classNames from 'classnames';
import { gradient, rgba, useThemeContext } from '@pret/pret-ui-kit';
import ValuePercent from '../../../../../components/basic/ValuePercent';
import fixedIcon from '../images/fixedIcon.svg';
import variableIcon from '../images/variableIcon.svg';
import ... |
import { IUnderlyingReturnRatePriceGrp } from './underlying_return_rate_price_grp';
import { IUnderlyingReturnRateFXConversionGrp } from './underlying_return_rate_fx_conversion_grp';
import { IUnderlyingReturnRateInformationSourceGrp } from './underlying_return_rate_information_source_grp';
import { IUnderlyingReturnRa... |
import {
BaseEntity,
Column,
Entity,
ManyToOne,
PrimaryGeneratedColumn,
} from "typeorm";
import PostReview from "./PostReview";
@Entity()
export default class PostReviewRestaurant extends BaseEntity {
@PrimaryGeneratedColumn()
id: number;
@Column({ nullable: false })
name: string;
@Column("text"... |
export * from './cache'
export * from './collection'
export * from './constants'
export * from './core'
export * from './api'
export * from './events'
export * from './gateway'
export * from './rest'
export * from './sharding'
export * from './utils'
export * from './wrapper' |
import { Component, OnInit, Input } from '@angular/core';
import { SmartTableData } from '../../../@core/data/smart-table';
import { ApiService } from '../../../../app/services/api.service';
import { NbDialogService } from '@nebular/theme';
import { Router } from '@angular/router';
import { ToasterConfig } from 'angula... |
import React, { FC, useEffect, useRef, useState } from 'react';
import { FotoramaProps } from "./types";
import Hammer from "react-hammerjs";
import { FotoramaArrNext, FotoramaArrPrev, FotoramaThumbBorder, FullscreenOffIcon, FullscreenOnIcon, NavImg, PhotoramaNav, PhotoramaNavShaft, PhotoramaNavWrp, PhotoramaStage, Pho... |
// wrappers for existing OSMD types to make certain private members accessible
import { GraphicalNote, GraphicalMeasure, BoundingBox, Note } from "opensheetmusicdisplay";
export type MusicSystemShim = {
graphicalMeasures: GraphicalMeasureShim[][];
};
export interface GraphicalNoteShim {
vfnote: Vex.Flow.StaveNot... |
import { useEffect, useState } from "react";
import { Photo, getPhotos } from "@/api/photo";
import PhotoGrid from "@/components/PhotoGrid";
import Loading from "@/components/Loading";
function Home() {
const [error, setError] = useState<null | Error>(null);
const [isLoaded, setIsLoaded] = useState(false);
const... |
import Paper from '@material-ui/core/Paper';
import { createStyles, makeStyles, Theme } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import GitHubIcon from '@material-ui/icons/GitHub';
const useStyles = makeStyles((theme: Theme) =>
createStyles({
root: {
display: ... |
/// <amd-module name="@ngrx/effects/schematics-core/utility/update" />
import { Rule } from '@angular-devkit/schematics';
export declare function updatePackage(name: string): Rule; |
import * as DbActions from '../state/db-actions';
import { HttpMethod } from '../http/http-method';
import { EntityStatesCollection } from '../state/entity-states-collection-adapter';
export interface MapperData {
data: any;
uniqueName: string;
requestType: HttpMethod;
requestBody?: any;
dbState: E... |
import { BaseService } from '@gitbeaker/requester-utils';
import { RequestHelper, PaginatedRequestOptions, Sudo } from '../infrastructure';
export interface TagSchema extends Record<string, unknown> {
name: string;
path: string;
location: string;
revision: string;
short_revision: string;
digest: string;
... |
import { Injectable, NotFoundException } from "@nestjs/common";
import { Product } from './products.model';
import { InjectModel } from "@nestjs/mongoose";
import { Model } from "mongoose";
@Injectable()
export class ProductsService {
constructor(@InjectModel('Product') private readonly productModel: Model<Produc... |
namespace tileworld {
// menu bar
const helpString = "00map,10paint,20code,30play,90settings,"; // 40debug,50music
export class GameHome extends RuleVisualsBase {
constructor(p: Project) {
super(p);
this.setCol(0);
this.setRow(0);
controller.... |
import { Test } from '@nestjs/testing';
import { SelectQueryBuilder } from 'typeorm';
import { Program as ProgramEntity } from '../entities/program-code.entity';
import { ProgramParamsDTO } from '../dto/program.params.dto';
import { ProgramRepository } from './program-code.repository';
import { ProgramDTO } from '../d... |
// angular
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
// modules
import { AppRoutingModule } from './app-routing.module';
import { SharedModule } from './shared/shared.module';
import { TodosModule } from ... |
// tslint:disable-next-line: ban-types
export const toCSV = <H extends Object, V extends Object>(head: Array<H>, values: Array<Array<V>>, delimiter = ';'): string => {
return head.join(delimiter) + '\n' + values.reduce((csvStr, row) => csvStr + row.join(delimiter) + '\n', '');
};
export const saveCSV = (filename: st... |
import * as React from "react";
import { CarbonIconProps } from "../../";
declare const Tif16: React.ForwardRefExoticComponent<
CarbonIconProps & React.RefAttributes<SVGSVGElement>
>;
export default Tif16; |
<TS language="de_DE" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation><br></translation>
</message>
<message>
<source>Create a new address</source>
<translation>Eine neue Adresse erste... |
import { existsSync, readdirSync } from 'fs'
import { basename, dirname, resolve } from 'pathe'
import { spies, spyOn } from '../integrations/jest-mock'
import { mergeSlashes } from '../utils'
export interface SuiteMocks {
[suitePath: string]: {
[originalPath: string]: string | null | (() => any)
}
}
function... |
type SquareType = 'corner' | 'cross' | 'crossbar' | 'line' | 'root'| 'endpoint';
type SquareTypeIndex = 'c' | 'x' | 't' | 'l' | 'r'| 'e';
const matrix = [
['root', 'crossbar', 'corner', 'line'],
['corner', 'cross', 'line', 'crossbar'],
['corner', 'corner', 'cross', 'corner'],
['line', 'crossbar', 'cor... |
import forge from '../../../src/mappersmith'
import CSRF from '../../../src/middleware/csrf'
forge({
middleware: [CSRF('csrfToken', 'x-csrf-token')],
clientId: 'github',
host: 'https://status.github.com',
resources: {},
}) |
import React from 'react';
import clsx from 'clsx';
import { makeStyles, AppBar, Toolbar, Hidden, Drawer, Divider } from '@material-ui/core';
const drawerWidth = 320;
const useStyles = makeStyles((theme) => ({
root: {
display: 'flex',
flex: 1,
},
appBar: {
zIndex: theme.zIndex.drawer + 1,
},
dra... |
/**
* StringPropertyValidationType
* Designates different types of string validations to run against the
* value of a specific ConfigurationProperty
*/
export enum StringPropertyValidationTypes {
minLength = "min_length",
maxLength = "max_length",
}
/**
* NumberPropertyValidationType
* Designates differe... |
declare function StrictEqualityComparison(x: unknown, y: unknown): boolean;
export = StrictEqualityComparison; |
import {GeoLocation} from "./GeoLocation";
export interface ToiletDetails {
id: string,
title: string,
description: string,
location: GeoLocation,
distance: number,
previewURL: string,
rating: number,
numComments: number,
disabled: boolean,
toiletCrewApproved: boolean,
}
export... |
import { DistPipe } from './dist.pipe';
describe('DistPipe', () => {
it('create an instance', () => {
const pipe = new DistPipe();
expect(pipe).toBeTruthy();
});
}); |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { Normalizer } from '.';
import cohercer from '../utils/cohercer';
import { getOutputType } from '../utils/misc';
import { RawOperation } from '../utils/operationParser';
interface QRawOp extends RawOperation {
value: string;
}
const normalizeQ = (value: number) => Math.round((value * 80) / 100);
const q: N... |
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { ChatService } from './../chat.service';
import { HttpService } from './../http.service';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css'],
providers :... |
import { inject, injectable, named} from "inversify";
import IStatusMonitor from "../App/IStatusMonitor";
import ILog from "../App/ILog";
import IErrorHandler from "../App/IErrorHandler";
@injectable()
export default class StatusMonitor implements IStatusMonitor {
private _logger: ILog;
private _errorHandler: I... |
export {default} from './PostList' |
import type {
ShapeDrawerAfterEffectFunction,
ShapeDrawerDestroyFunction,
ShapeDrawerDrawFunction,
ShapeDrawerInitFunction,
ShapeDrawerLoadFunction,
ShapeDrawerParticleInitFunction,
ShapeDrawerSidesCountFunction,
} from "../../Types";
/**
* @category Interfaces
*/
export interface IShapeD... |
import * as React from 'react';
import { SliderBase } from './Slider.base';
import { IStyle, ITheme } from '../../Styling';
import { IStyleFunctionOrObject, IRefObject } from '../../Utilities';
/**
* {@docCategory Slider}
*/
export interface ISlider {
value: number | undefined;
focus: () => void;
}
/**
* {@do... |
import {DataControlSettings, DataLayoutItemsGroup} from "../models/DataControlSettings";
import {DataReportInfo} from "../models/DataReportInfo";
import DataHaClusterIds from "../data/reports.json";
import {DeviceInfo} from "../models/DeviceInfo";
import {ReportKeyInfo} from "../models/ReportKeyInfo";
const defaultLay... |
export const config = {
TEST_URL: process.env.TEST_URL || 'http://localhost:3300',
TestHeadlessBrowser: true,
TestSlowMo: 250,
}; |
/*
* 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 appli... |
import Day = require('../2017/Day');
export = Day; |
import { TestBed } from '@angular/core/testing';
import { TestBusiness } from './test.business';
describe('TestBusiness', () => {
let service: TestBusiness;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(TestBusiness);
});
it('should be created', () => {
expect(s... |
import React from 'react';
import { Link } from 'react-router-dom';
import logoImg from '../../assets/images/logo.svg';
import backIcon from '../../assets/images/icons/back.svg';
import './style.css';
interface PageHeaderProps {
title: string;
description?: string;
}
const PageHeader: React.FC<PageHeaderP... |
import 'jest';
import 'jest-extended';
import 'reflect-metadata';
import {applyPatch, applyAndReturnPatches} from "..";
class Goal {
title: string = '';
}
class PersistentState {
id: number = 0;
goal: Goal = new Goal;
goals: { [id: string]: Goal } = {};
titles: string[] = [];
addGoal(id: str... |
// Type definitions for piwik-react-router 0.12
// Project: https://github.com/joernroeder/piwik-react-router
// Definitions by: Can Serkan UREN <https://github.com/canserkanuren>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface PiwikReactRouterHistory {
location: string;
listen?: (... |
#!/usr/bin/env node
import 'source-map-support/register';
import { ExecaError } from 'execa';
import startupCheck from './utils/startupCheck';
import setupEnv from './utils/setupEnv';
import * as logger from './utils/logger';
// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In ... |
import * as dataTypes from '../dataTypes';
import { schema, t } from '../schema';
/**
* The `<timpani>` element
*
* Parent element: `<percussion>`
*
* The `<timpani>` element represents the timpani pictogram.
*
* {@link https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/timpani/}
*/
export const... |
import * as React from 'react';
import { IRenderFunction } from '../../Utilities';
import { IIconProps } from '../../Icon';
export interface ITextField {
/** Gets the current value of the input. */
value: string | undefined;
/** Sets focus to the input. */
focus: () => void;
/** Select the value of the tex... |
import { CaretRightOutlined, GlobalOutlined, TeamOutlined } from '@ant-design/icons';
import BaseIdentityIcon from '@polkadot/react-identicon';
import keyring from '@polkadot/ui-keyring';
import { KeyringAddress, KeyringJson } from '@polkadot/ui-keyring/types';
import { Badge, Button, Space, Table } from 'antd';
import... |
import { Component, ViewEncapsulation } from '@angular/core';
import { FontAwesomeIconsRegistry, } from '@triangular/font-awesome-icons';
import {
fontAwesomeIconVaadin,
fontAwesomeIconVectorSquare,
fontAwesomeIconVenusDouble,
fontAwesomeIconVenusMars,
fontAwesomeIconVenus,
fontAwesomeIconViacoin,
fontAw... |
import Taro from "@tarojs/taro";
import React, { useMemo, useState } from 'react'
import { Block, Image, View } from '@tarojs/components'
import {
NavBar,
TextArea,
Button,
Picker,
} from '@components'
import { chooseImage, readFileOnBase64 } from "@utils/index";
import './index.scss'
const pickRange = [
'图... |
import { Construct } from '@aws-cdk/core';
import {
Method, LambdaIntegration,
AuthorizationType, JsonSchemaType, Model
} from '@aws-cdk/aws-apigateway';
import { CommonApiProps } from './api-common';
export interface SearchApisProps extends CommonApiProps {
}
export class SearchApis extends Construct {
reado... |
import React, { useEffect, useState } from "react";
import "./Login.css";
import LoadingSpinner from "../LoadingSpinner/LoadingSpinner";
import { useLoadableState } from "../../context/store-utils";
import {
AuthResult,
createSession,
revokeToken,
} from "../../core/api/auth/auth-api";
import {
clearLocalStorag... |
export interface IRelationQuery {
select: boolean
table: string
forArg: string
} |
import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { Int } from '@nestjs/graphql';
@ObjectType()
export class BookMaxAggregate {
@Field(() => Int, {nullable:true})
id?: number;
@Field(() => String, {nullable:true})
title?: string;
@Field(() => Int, {nul... |
import {getCutTiles} from '../algorithms/minCut';
import {Colony} from '../Colony';
import {log} from '../console/log';
import {Mem} from '../memory/Memory';
import {profile} from '../profiler/decorator';
import {packCoord, packCoordList, unpackCoordListAsPosList} from '../utilities/packrat';
import {minMax} from '../u... |
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/mongoose';
import { Model, Schema } from 'mongoose';
import { CreateUserDto } from './dto/create-user.dto';
import { UpdateUserDto } from './dto/update-user.dto';
import { User, UserDocument } from './schemas/user.schema';
import * as bcr... |
/*
* Copyright 2019 HERMENEUT Consortium
*
* 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 la... |
// Type definitions for fbjs 3.0
// Project: https://github.com/facebook/fbjs/tree/master/packages/fbjs
// Definitions by: Lorenzo Di Giacomo <https://github.com/morrys>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// The fbjs package should not be required without a full path. |
import { RedisCommandArgument, RedisCommandArguments } from '@node-redis/client/dist/lib/commands';
import { PropertyName, SortByProperty } from '.';
export declare enum AggregateSteps {
GROUPBY = "GROUPBY",
SORTBY = "SORTBY",
APPLY = "APPLY",
LIMIT = "LIMIT",
FILTER = "FILTER"
}
interface Aggregate... |
import './helpers/browser';
import * as fc from 'fast-check';
import * as React from 'react';
import { mount } from 'enzyme';
import MultiSelect, { Selectable } from '../index';
import {
simulateFocus,
noop,
repeat,
prop
} from './helpers';
const nonListTags: Array<keyof HTMLElementTagNameMap> = ['div', 'span', '... |
import { Context, MutationResult, validateAuthenticate } from '@app/core';
import faker from 'faker';
import { v4 } from 'uuid';
import { PostImage, SeedPostImagesPayload } from '../interfaces';
import { postsRepository } from '../../posts/repository';
import { postImagesRepository } from '../repository';
export const... |
import { Contact, ProvincePath, Provinces } from "../provinces";
export const getProvincesPaths = (provinces: Provinces): ProvincePath[] => {
return provinces.map((province) => {
const provinceSlug = province.slug;
return {
params: { provinceSlug },
};
});
};
export type ContactPath = {
param... |
version https://git-lfs.github.com/spec/v1
oid sha256:e2c5153a3584bbbead294e5ba4f1d5de4e6a0f8c53843b25da8c40d5cc875eaa
size 744104 |
import { getInstance, OctokitType } from "../util";
describe("api.github.com", () => {
let octokit: OctokitType;
beforeEach(() => {
return getInstance("get-archive", {
auth: "token 0000000000000000000000000000000000000001",
}).then((instance) => {
octokit = instance;
});
});
if ("cy" ... |
import "./styles.scss";
import { LensRendererExtension, Component } from "@k8slens/extensions";
import { CoffeeDoodle } from "react-open-doodles";
import path from "path";
import React from "react"
export function ExampleIcon(props: Component.IconProps) {
return <Component.Icon {...props} material="pages" tooltip={p... |
import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
}).compileComponents();
}));
it('should create the app', ... |
import { Marketplace, NFTSale } from "./types";
import { parseNFTSaleOnTx } from "./helper";
const digitalEyes: Marketplace = {
name: "Digital Eyes",
programId: "A7p8451ktDCHq5yYaHczeLMYsjRsAkzc3hCXcSrwYHU7",
itemURL: (token: String) => `https://digitaleyes.market/item/${token}`,
parseNFTSale(txResp): NFTSale ... |
import mitt, { MittEmitter } from "./lib/mitt";
import { parse as parseUrl, UrlWithParsedQuery } from "url";
import { stringify as stringifyQueryString, ParsedUrlQuery } from "querystring";
import type { NextRouter, RouterEvent } from "next/router";
/**
* Creates a URL from a pathname + query.
* Injects query param... |
import { objectIsEmpty } from '@feng3d/polyfill';
import { ticker } from "./Ticker";
declare global
{
interface Performance
{
memory: any;
}
}
export class Stats
{
static instance: Stats;
static init(parent?: HTMLElement)
{
if (!this.instance)
{
this.instanc... |
/**
* Portions Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {Program} from "@romejs/js-ast";
import {
JSParserOptions,
JSParserUserOptions,
normalizeOptions,
} from "./opt... |
export class Category {
_id: string;
name: string;
category: any;
} |
export default {
$schema: "http://json-schema.org/schema#",
title: "Lightweight button",
description: "A lightweight button component's schema definition.",
type: "object",
id: "@microsoft/fast-components-react-msft/lightweight-button",
formPluginId: "@microsoft/fast-components-react-msft/lightw... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { GridLayout as GridLayoutComponent, VideoTile, StreamMedia } from '@azure/communication-react';
import { Title, Description, Props, Heading, Source, Canvas } from '@storybook/addon-docs';
import { Meta } from '@storybook/react/types-6-0... |
import { TaskStatus } from '../task-status.enum';
export class GetTasksFilterDto {
status?: TaskStatus;
search?: string;
} |
import { mapState, mapGetters, mapActions } from 'vuex'
export const authComputed = {
...mapState('auth', {
currentUser: 'currentUser',
}),
...mapGetters('auth', ['loggedIn']),
}
export const authMethods = mapActions('auth', ['logIn', 'logOut']) |
import React, { FC, useEffect, useState } from 'react';
import useFetch from 'use-http';
import { cx } from 'emotion';
import { Icon, Spinner, useStyles } from '@grafana/ui';
import { toast } from 'react-toastify';
import { ENDPOINTS } from 'core/api';
import { getUseHttpConfig } from 'core/api/api.service';
import { R... |
import { ATTR_BIOLOGICAL, ATTR_LIGHT } from '../../../model/const';
import { SC2Asset } from '../../../model/sc2asset';
import { SC2Cost } from '../../../model/sc2cost';
import { SC2Unit } from '../../../model/sc2unit';
import { SC2Defence, SC2Sight, SC2Speed, SC2UnitInformation } from '../../../model/sc2unitinformatio... |
import { useViewEditorStates, useVirtualization, useVirtualizationHelpers } from '@syndesis/api';
import { ViewDefinition, ViewEditorState } from '@syndesis/models';
import { RestDataService } from '@syndesis/models';
import { PageSection, ViewHeaderBreadcrumb, VirtualizationDetailsHeader } from '@syndesis/ui';
import ... |
/* *************************************************************************
The MIT License (MIT)
Copyright (c)2016-2017 Atom Software Studios. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
dea... |
import { Controller, Get, Param, Res } from "@nestjs/common";
import { Response } from "express";
import { ImageService } from "@/product/application/image-service";
@Controller("/images")
export class ImageController {
constructor(private readonly imageService: ImageService) {}
@Get("/:name")
async getImage(@P... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Any modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
/*
* Licensed to Ela... |
import {
ISuffixTerm,
ISuffixTermVisitor,
GrammarNode,
IExpr,
Atom,
SuffixTermTrailer,
ISuffixTermClassVisitor,
Distribution,
ISuffixTermClass,
SyntaxKind,
} from '../types';
import { Range, Position } from 'vscode-languageserver';
import { TokenType } from '../../models/tokentypes';
import {
crea... |
import { Component, Host, h, Prop, Method } from '@stencil/core';
import { MtTildaAccordeonItem } from '../tilda-accordeon/tilda-accordeon-item/tilda-accordeon-item';
import { MtCompactList } from '../../list/compact-list/compact-list';
export interface MtTildaShortPolicyItem extends Omit<MtTildaAccordeonItem, 'conte... |
import { atom, useRecoilState, useRecoilValue } from "recoil";
const playlistState = atom<SpotifyApi.SinglePlaylistResponse | null>({
key: "playlistState",
default: null,
});
export const usePlaylistState = () => useRecoilState(playlistState);
export const usePlaylistValue = () => useRecoilValue(playlistState);
... |
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient.ts";
import { DescribeNotebookInstanceInput, DescribeNotebookInstanceOutput } from "../models/models_1.ts";
import {
deserializeAws_json1_1DescribeNotebookInstanceCommand,
serializeAws_json1_1DescribeNotebookIns... |
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { TestBed } from '@angular/core/testing';
import { BASE_URL } from '../app.tokens';
import { DefaultTaskService } from './default-task.service';
describe('DefaultTaskService', () => {
let httpTestingController: Htt... |
/* eslint-disable import/no-extraneous-dependencies */
/// <reference path="../../typings.d.ts"/>
import { storiesOf } from "@storybook/react";
import { object } from "@storybook/addon-knobs";
import Readme from "./table.md";
import Table from "../../../src/components/table/table";
import Row from "../../../src/compo... |
import type { Config } from '@jest/types';
const config: Config.InitialOptions = {
preset: 'ts-jest',
testEnvironment: 'node',
modulePathIgnorePatterns: [
'dist'
],
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json'
}
}
};
export default config; |
import { Component, ElementRef, OnInit, Input } from '@angular/core';
@Component({
selector: 'app-collapse-component',
templateUrl: './collapse-component.component.html',
styles: []
})
/*
The quiz component takes multiple input parameters to create a question that can be answered and will then be
evaluated.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.