text stringlengths 10 953k |
|---|
import * as React from 'react';
import * as Yup from 'yup';
import NumberFormat from 'react-number-format';
import { Formik, Form } from 'formik';
import * as Model from '../../../modules/products/model';
import Grid from '@material-ui/core/Grid';
import TextField from '@material-ui/core/TextField';
import CircularProg... |
import { atom } from 'jotai';
import { appsConfig } from '__/data/apps/apps-config';
export type AppID = keyof typeof appsConfig;
/** Which apps are currently open */
export const openAppsStore = atom<Record<AppID, boolean>>({
finder: false,
calculator: false,
safari: false,
messages: false,
mail: false,
... |
<TS language="es_ES" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Haz clic derecho para editar la dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
... |
import {MigrationInterface, QueryRunner} from "typeorm";
export class Initial1615504346659 implements MigrationInterface {
name = 'Initial1615504346659'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`CREATE TABLE "quote" ("id" SERIAL NOT NULL, "name" character vary... |
import { Injectable } from "@angular/core";
import { Router, CanActivate } from "@angular/router";
import {AuthService} from "./auth.service";
@Injectable()
export class AuthGuard implements CanActivate {
constructor(
private router: Router,
private authService: AuthService
) { }
canActiv... |
export const data = [
{
field: 'physics',
low: 25,
q1: 45,
median: 54,
q3: 64,
high: 88
},
{
field: 'medicine',
low: 32,
q1: 49,
median: 56,
q3: 64,
high: 85
},
{
field: 'chemistry',
low: 35,
q1: 49.25,
median: 57,
q3: 64.75,
high: 85
}... |
import React from 'react';
import { Container } from './styles';
const NavMenu: React.FC = () => {
return (
<Container>
<ul className="main-menu">
<li>
<a href="/">Home</a>
</li>
<li>
<a href="#awesome-apps">Awesome Apps</a>
</li>
</ul>
</Conta... |
import Button from '@mui/material/Button';
import Dialog from '@mui/material/Dialog';
import DialogActions from '@mui/material/DialogActions';
import DialogContent from '@mui/material/DialogContent';
import DialogContentText from '@mui/material/DialogContentText';
import FormControlLabel from '@mui/material/FormControl... |
import { StepEnum } from "../enums/step.enum";
export interface DetailsModel {
flow?:string,
step?:StepEnum,
numberPhone?:string
} |
import { CountPipe } from './pipes/count.pipe';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';
import { AppRoutin... |
import path from 'path';
import chalk from 'chalk';
import {normalizePackageName, getShorthandName} from './plugin-naming';
import {WhitespacePluginError, MissingPluginError} from './plugin-errors';
import {PluginRecords} from '@commitlint/types';
export default function loadPlugin(
plugins: PluginRecords,
pluginNam... |
import { Component, OnInit, ViewChild } from '@angular/core';
import { Modal } from 'clarity-angular';
import { FormBuilder, FormGroup } from '@angular/forms';
import { Student } from 'app/model/api/student';
import { ProgramService } from 'app/program.service';
import { ProgramGroup } from 'app/model/api/programGroup'... |
/// <reference path='fourslash.ts' />
// @noUnusedLocals: true
////class greeter {
//// private function1 = function() {
//// }
////}
verify.codeFix({
description: `Remove declaration for: 'function1'.`,
newFileContent: "class greeter {\n}",
}); |
import { Component, Input, OnInit } from '@angular/core';
import { AlertifyService } from '../../_services/alertify.service';
import { UserRole } from '../../../modules/users/models/user-roles.model';
import { UserRoleService } from '../../../modules/users/services/user-role.service';
import { AuthService } from '../..... |
import type { CompositeWeights } from "./types";
import type { Position, PrimaryPosition, RatingKey } from "./types.football";
const COMPOSITE_WEIGHTS: CompositeWeights<RatingKey> = {
passingAccuracy: {
ratings: ["tha", "hgt"],
weights: [1, 0.2],
skill: {
label: "Pa",
},
},
passingDeep: {
ratings: ["th... |
import { Component } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { Story, Meta, moduleMetadata } from '@storybook/angular';
@Component({
selector: 'utilities-clearfix-stories',
templateUrl: './clearfix.stories.html',
}) class UClearfixStory {
}
export default {
title: '... |
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { Subscription } from 'rxjs/Subscription';
import { of } from 'rxjs/observable/of';... |
const c_nav__section_title_PaddingBottom: {"name": "--pf-c-nav__section-title--PaddingBottom"; "value": "0.5rem"; "var": "var(--pf-c-nav__section-title--PaddingBottom)";}
export default c_nav__section_title_PaddingBottom |
import { faCircle, IconDefinition } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import React from 'react';
import usePrefersDarkMode from '../../helpers/useDarkMode';
import { theme } from '../../styles/theme.css';
interface Props {
icon: IconDefinition... |
/// <reference types="expect-webdriverio"/>
import { SourceLocation, ScenarioResult, World } from "cucumber";
declare module "webdriverio" {
interface HookFunctions extends CucumberHookFunctions {}
interface Config extends CucumberOptsConfig {}
}
declare module "@wdio/sync" {
interface HookFunctions exte... |
import { Meta, Story } from "@storybook/react";
import Alert from "./Alert";
export default {
argTypes: {
severity: {
control: {
options: ["error", "info", "warning", "success"],
type: "select",
},
},
},
component: Alert,
title: "Components/Simple/Alert",
} as Meta;
const ... |
import * as Hub from "../../hub"
import { WebClient } from "@slack/client"
interface Channel {
id: string,
label: string,
}
const apiLimitSize = 1000
export class SlackAttachmentAction extends Hub.Action {
name = "slack"
label = "Slack Attachment"
iconName = "slack/slack.png"
description = "Write a dat... |
import { Container, Contracts } from "@solar-network/core-kernel";
import { Identities, Utils } from "@solar-network/crypto";
import { WalletIndexNotFoundError } from "./errors";
import { WalletIndex } from "./wallet-index";
import { WalletRepository } from "./wallet-repository";
@Container.injectable()
export class ... |
import * as React from 'react'
export type BlockquoteType = "blockquote"
export const RenderBlockquote: React.FC<{ type: BlockquoteType, children: any }> = ({ type, children }) => {
switch (type) {
case "blockquote":
return <div style={{
borderLeft: "4px solid rgb(230, 236, 241... |
<TS language="bg" 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>
<trans... |
import { Component, ViewChild} from '@angular/core';
import { jqxSchedulerComponent } from '../../../jqwidgets-ts/angular_jqxscheduler';
@Component({
selector: 'app-root',
templateUrl: './app.component.html'
})
export class AppComponent {
@ViewChild('myScheduler') myScheduler: jqxSchedulerComponent;
... |
import React from 'react';
import { Area } from 'react-vant';
import { areaList } from '@vant/area-data';
export default () => {
return (
<Area
title="标题"
areaList={areaList}
onChange={(v) => console.log(v)}
onConfirm={(v) => console.log(v)}
/>
);
}; |
import { AddFlowOutputsInput } from "../shapes/AddFlowOutputsInput";
import { AddFlowOutputsOutput } from "../shapes/AddFlowOutputsOutput";
import { AddFlowOutputs420Exception } from "../shapes/AddFlowOutputs420Exception";
import { BadRequestException } from "../shapes/BadRequestException";
import { InternalServerError... |
/**
* @file Test file for the "register to project" command.
* @author Ava Thorn
*/
import { Operation } from '../../../src/commands/registrations/register';
import { PROJECT_MODEL } from '../../../src/models/project';
import { REGISTRATION_MODEL } from '../../../src/models/registration';
import { CREATE_PROJECT, TE... |
import React from "react";
interface IconProps {
name: "action" | "comedy" | "documentary" | "drama" | "horror" | "family";
color: string;
}
export function Icon(props: IconProps) {
switch (props.name) {
case "action":
return (
<svg
width="24"
height="24"
viewBox=... |
import { RequestHandler, GraphQLContext, GraphQLRequest, ResponseTransformer, MockedResponse } from 'msw';
import type { StartOptions as StartMSWWorkerOptions } from 'msw/lib/types/setupWorker/glossary';
import type { SharedOptions as SharedMSWOptions } from 'msw/lib/types/sharedOptions';
/**
* Plugs fetch for the cor... |
import { ok, strictEqual } from "assert";
import { TempDirectory, TempFile } from "@manuth/temp-files";
import { readdir, readFile, writeFile } from "fs-extra";
import { extract } from "tar";
import { join } from "upath";
import { Compiler } from "../../Compilation/Compiler";
import { TestCompiler } from "./TestCompile... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
export const QnABotTemplateId = 'QnASample';
export const localTemplateId = 'LocalTemplate';
export const emptyBotNpmTemplateName = '@microsoft/generator-bot-empty';
export const SensitiveProperties = [
'MicrosoftAppPassword',
'luis.endpo... |
/**
* All Rights Reserved by Patract Labs.
* @author liangqin.fan@gmail.com
*/
import { FnParameters, msg, Storage, ReturnData, StoreMode, UInt32, Bool, UInt128, ScaleString, StorableArray, Int32, SpreadStorableArray} from "ask-lang";
class ArrayTypes {
_i8Arr : SpreadStorableArray<ScaleString> | null = null... |
// Type definitions for jquery.highlight.js
// Project: https://github.com/bartaz/sandbox.js/blob/master/jquery.highlight.js
// Definitions by: Stefan Profanter <https://github.com/Pro/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
///<reference types="jquery" />
inte... |
import { Request, Response } from 'express'
import Boom from '@hapi/boom'
import { asyncWrapper, selectUserByUserId} from '@shared/helpers'
import { getClaims } from '@shared/jwt'
async function accountMe(req: Request, res: Response): Promise<unknown> {
const claims = getClaims(req.headers.authorization);
if (... |
import IORedis from "ioredis";
export const redis = new IORedis(process.env.REDIS_URL);
export async function wrapRedis<T>(key: string, fn: () => Promise<T>, seconds = 60): Promise<T> {
const cached = await redis.get(key);
if (cached) return JSON.parse(cached);
const recent = await fn();
if (recent) {
await r... |
import { Component, OnInit, OnDestroy } from '@angular/core';
import { Observable, BehaviorSubject } from 'rxjs';
import { Blog } from 'src/app/models/blogs.model';
import { AuthService } from 'src/app/services/auth.service';
import { MainService } from '../services/main.service';
import { NavigationEnd } from '@angula... |
import {MigrationInterface, QueryRunner, TableColumn, TableForeignKey, Table} from "typeorm";
export default class AlterProviderFieldToProviderId1587067152337 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.dropColumn('appointments', 'provider')... |
import { TestBed, inject } from '@angular/core/testing';
import { SubmissionService } from './submission.service';
describe('SubmissionService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [SubmissionService]
});
});
it('should be created', inject([SubmissionService], (... |
import { ClientUser, Message } from 'discord.js';
import Config from '@config/Config';
import localize from '@util/i18n/localize';
import UserCommand from './base/UserCommand';
import userHasElevatedRole from './helpers/userHasElevatedRole';
export default class AvatarCommand implements UserCommand {
public readonl... |
// Copyright 2017-2021 @polkadot/app-accounts authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { ActionStatus } from '@polkadot/react-components/Status/types';
import type { ThemeProps } from '@polkadot/react-components/types';
import type { CreateResult } from '@polkadot/ui-keyring/types';
im... |
import { IframeHTMLAttributes } from 'react';
export interface IFrameProps {
id: string;
title: string;
src: string;
allowFullScreen: boolean;
scale: number;
active: boolean;
}
export declare function IFrame(props: IFrameProps & IframeHTMLAttributes<HTMLIFrameElement>): JSX.Element; |
// Copyright (c) Wictor Wilén. All rights reserved.
// Licensed under the MIT license.
// SPDX-License-Identifier: MIT
import GulpClient from "gulp";
import Undertaker from "undertaker";
import { buildTasks } from "./buildTasks";
import { codespacesTasks } from "./codespacesTasks";
import { loadPlugins } from "./loadP... |
import { Application } from 'https://deno.land/x/oak/mod.ts'
import * as log from 'https://deno.land/std/log/mod.ts'
import { Routes } from './config/routes.ts'
import { Logger } from './config/http.ts'
import { Constants } from './constants.ts'
const app = new Application()
const logger = new Logger()
app.use(logger... |
import { default as Yasqe, Token } from "./";
export type Prefixes = { [prefixLabel: string]: string };
export function addPrefixes(yasqe: Yasqe, prefixes: string | Prefixes) {
var existingPrefixes = yasqe.getPrefixesFromQuery();
//for backwards compatability, we stil support prefixes value as string (e.g. 'rdf: <h... |
'use strict';
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';
// this method is called when your extension is activated
// your extension is activated the very first time the command is execut... |
import * as l from 'fancy-log';
const log = <typeof import('fancy-log')>(<any>(<any>l).default || l);
import * as c from 'chalk';
const chalk = <import('chalk').Chalk>(c.default || c);
export function createLogger(name: string): typeof log {
const prefix = `> ${chalk.green(name)} `;
const logger = <typeof log>log.... |
/* eslint-disable @typescript-eslint/no-empty-interface */
export interface IObservable {}
export interface IObservableArray<T = any> extends Array<T> {
replace(data: Array<T>): Array<T>;
remove(data: T): Array<T>;
}
interface IArrayBaseChange<T> {
object: IObservableArray<T>;
observableKind: 'array';
debu... |
import React, { FC, useMemo } from 'react';
import Subject from './Subject';
import Team from './Team/Team';
import Personal from './Personal/Personal';
import Experiment from './Experiment/Experiment';
import { CombineAdminSubjects, CombineAdminSubject } from '../../../modules/reducer/Admin';
interface Filter {
c... |
import { Component, OnInit, PipeTransform } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import {Plans} from '../plans'
import {PlanService} from '../plan.service'
@Component({
selector: 'app-travelplan-display',
templateUrl: './travelplan-display.component.html',
styleUrls: ['... |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
import { setupConfigCat, TestContext } from 'ember-config-cat/test-support';
module('Integration | Helper | has-flag-value', function (hook... |
//
// Copyright 2021 Volker Sorge
//
// 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... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
/**
* The Autoscaling Groups data source allows access to the list of AWS
* ASGs within a specific regi... |
import { NgModule } from "@angular/core";
import { HeaderComponent } from "./header/header.component";
import { CmdPromptComponent } from "./cmd-prompt/cmd-prompt.component";
import { NotFoundPageComponent } from "./not-found-page/not-found-page.component";
import { ProfileLinks } from "./profile-links/profile-links";
... |
import React from 'react';
import { Pdp } from '../src/screens';
import { Provider } from 'react-redux';
import { navigationProp } from '../__mocks__/navigation';
import store from '../src/store';
import renderer from 'react-test-renderer';
test('renders correctly', () => {
const tree = renderer.create(<Provider sto... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About CaliphCoin</source>
<translation>Σχετικά με το CaliphCoin</transl... |
import {NgModule} from "@angular/core";
import {EmployeesRoutingModule} from "./employees-routing.module";
import {EmployeesComponent} from "./list-employees/employees.component";
import {
NbButtonModule,
NbCardModule,
NbIconModule,
NbInputModule,
NbSelectModule,
NbToastrService
} from "@nebular/theme";
imp... |
import {Component} from '@angular/core';
import {ProductService} from './products/product.service';
@Component({
selector: 'pm-root',
template: `
<div>
<nav class='navbar navbar-default'>
<div class='container-fluid'>
<a class='navbar-brand'>{{pageTitle}}</a>
<ul class='nav navbar-nav'>... |
import { Ordered } from "./$types";
import { Placeholder as PH } from "./$placeholder";
declare const max: max_00;
type max_00 = {
/**
* Returns the larger of its two arguments.
*
* @func
* @memberOf R
* @since v0.1.0
* @category Relation
* @sig Ord a => a -> a -> a
* @param ... |
export const helper = () => {
console.log("hey!");
} |
/*
Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... |
/**
* 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 {Builder, Token, concat, space} from "@romejs/formatter";
import {JSClassPrivateMethod} from "@romejs/ast";
import {printM... |
module Codevoid.Storyvoid.Settings {
function areColoursEqual(first: Windows.UI.Color, second: Windows.UI.Color): boolean {
return (
first.r === second.r
&& first.g === second.g
&& first.b === second.b
&& first.a === second.a
);
}
export enum... |
import {
Component,
DoCheck,
ViewEncapsulation,
} from '@angular/core';
import {
Router,
RoutesRecognized
} from '@angular/router';
@Component({
selector: 'app-inner-component',
templateUrl: './inner.component.html',
styleUrls: [
'../+settings/co... |
export interface DragonResponse {
id: string;
createdAt: string;
name: string;
type?: string;
history?: string;
histories?: string[];
} |
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
import * as net from 'net';
import * as os from 'os';
import * as path from 'path';
import * as fs from 'fs';
import { EventEmitter } fro... |
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { apiUrl, httpOptionsGet, httpOptionsPost } from '../app.constants';
@Injectable({
providedIn: 'root'
})
export class OrderService {
constructor(private http: HttpClient) { }
getAllOrders() {
return this.ht... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { GallaryComponent } from './gallary.component';
describe('GallaryComponent', () => {
let component: GallaryComponent;
let fixture: ComponentFixture<GallaryComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
... |
import { createState, DevTools, useState, none, Downgraded } from '@hookstate/core'
import { UserSeed } from '@xrengine/common/src/interfaces/User'
import { IdentityProviderSeed } from '@xrengine/common/src/interfaces/IdentityProvider'
import { AuthUserSeed } from '@xrengine/common/src/interfaces/AuthUser'
import { Rou... |
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { UpdateEmailComponentService } from './update-email-component.service';
@Component({
selector: 'cx-update-email',
templateUrl: './update-email.component.html',
changeDetection: ChangeDetectionS... |
type ITypesOfReplies = "h" | "b" | "cb";
interface IChatMeta {
replyJSX: JSX.Element;
replyBy: ITypesOfReplies;
replyString?: string;
}
/**
* The data structure to store all the information regarding the replies
*/
class storageClass {
private data: IChatMeta[];
constructor() {
this.data = [];
}
... |
import axios from 'axios'
import DataLoader from 'dataloader'
import _ from 'lodash'
import { v4 } from 'uuid'
import {
HOUR,
INVITATION_STATE,
PAYMENT_CURRENCY,
PAYMENT_PROVIDER,
PRICE_STATE,
SUBSCRIPTION_STATE,
TRANSACTION_PURPOSE,
TRANSACTION_STATE,
TRANSACTION_TARGET_TYPE,
} from 'common/enums'
i... |
import { browser } from "protractor";
import { TodosPage } from "./todos.po";
describe("Habit tracker - Todos page", () => {
let todosPage: TodosPage;
beforeEach(() => {
todosPage = new TodosPage();
});
it("when user logged in he/she able to navigate to /todos", () => {
todosPage.navigateTo();
ex... |
/*
* Magic Cloud, copyright Aista, Ltd. See the attached LICENSE file for details.
*/
// Angular and system imports.
import { AfterViewInit, Component, Input, ViewChild } from '@angular/core';
/**
* Model class for CodeMirror instance's SQL..
*/
export class Model {
/**
* What database type to use (mssql or... |
import { Component, OnInit } from "@angular/core";
import { SteemService } from "../steem.service";
import { FlashMessagesService } from "angular2-flash-messages";
@Component({
selector: "app-followers",
templateUrl: "./followers.component.html",
styleUrls: ["./followers.component.css"]
})
export class Followers... |
import React from 'react';
import { locationService, setDataSourceSrv } from '@grafana/runtime';
import { configureStore } from 'app/store/configureStore';
import { Provider } from 'react-redux';
import { Router } from 'react-router-dom';
import { render } from '@testing-library/react';
import { PanelAlertTabContent } ... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouterModule, RouteReuseStrategy } from '@angular/router';
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar }... |
// Audio analysis crash course - Mark Koh
// https://www.youtube.com/watch?v=goUzHd7cTuA
// https://www.slideshare.net/MarkKoh9/audio-analysis-with-spotifys-web-api
export interface SpotifyApiAudioAnalysisResponse {
meta: SpotifyApiAudioAnalysisMeta;
track: SpotifyApiAudioAnalysisTrack;
bars: SpotifyApiAudioAnal... |
import ndarray = require('ndarray');
import {
RegulusData
} from './data';
export
class Partition {
constructor(data, loc) {
this.id = data.id;
this.persistence = data.persistence;
this.loc = loc;
this.data = data;
}
// _get_pt(i, x, y, measure) {
// let pt:number[] = [];
// let inde... |
// 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... |
export { ArrayAccessExpression } from './arrayAccess';
export { BooleanExpression } from './boolean';
export { BreakExpression } from './break';
export { ContinueExpression } from './continue';
export { ForEachExpression } from './forEach';
export { FunctionExpression } from './function';
export { GenericOperatorExpres... |
import { SalesforceService } from '../services/SalesforceService';
import { Connection } from '../../models/Connection';
import { CustomObjectReadResult } from '../../models/salesforce-metadata/CustomObjectReadResult';
import { ICache } from '../../interfaces/ICache';
import { FileProperties } from '../../models/salesf... |
import { IErrorReportingService, createAuthorizationInvocationFailedError } from '@glimpse/glimpse-node-common';
import { IResourceAuthorization } from './IResourceAuthorization';
import { IResourceManager } from './IResourceManager';
import * as express from 'express';
export class ResourceRuntime {
public const... |
import Document, {
Html,
Head,
Main,
NextScript,
DocumentContext,
} from "next/document";
export default class CustomHtmlDocument extends Document {
static async getInitialProps(ctx: DocumentContext) {
const initialProps = await Document.getInitialProps(ctx);
return { ...initialProps };
}
rend... |
import {params as _params} from 'params';
import {play as _play} from 'front/play';
declare var window:any;
namespace entry {
enum FormType {
Radio,
Select,
Checkbox,
Text,
Custom,
}
type Params = _params.Params;
let Params = _params.Params;
const DEFAULT_ORDER_VALUE = _params.DEFAUL... |
/* eslint-disable */
import * as graphql from "./graphql";
import { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core";
const documents = {
"\n fragment TodoApplication_todo on Todo {\n id\n content\n isCompleted\n }\n":
graphql.TodoApplication_TodoFragmentDoc,
"\n mutatio... |
/// <reference types="@types/react" />
import * as React from 'react';
import { DivProps, AnchorProps, OptionAttr } from '../../Attributes';
import { PivotOption } from '../../Common';
import { PivotAttributes } from './Pivot';
export interface PivotMenuType {
}
export interface PivotMenuAttributes {
container?: Di... |
export { default as Skills } from './index.vue'; |
export declare const cibTypescript: any[]; |
export * from './Expression';
export * from './Result'; |
/**
* Demo.js
*
* Released under LGPL License.
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
declare let tinymce: any;
const button = document.querySelector('button.clicky');
button.addEventListener(... |
import {
defaultFieldResolver,
DocumentNode,
GraphQLError,
GraphQLField,
GraphQLObjectType,
GraphQLResolveInfo,
} from 'graphql';
import gql from 'graphql-tag';
import { SchemaDirectiveVisitor } from '@graphql-tools/utils';
import {
IRateLimiterOptions,
RateLimiterAbstract,
RateLimiterMemory,
RateLi... |
import { Store } from 'vuex'
import { getModule } from 'vuex-module-decorators'
import UserModule from '@/store/user'
// eslint-disable-next-line import/no-mutable-exports
let userStore: UserModule
function initializeStores(store: Store<any>): void {
userStore = getModule(UserModule, store)
}
export { initializeS... |
/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////export default function ad() {}
////export const a0 = 0;
// @Filename: /b.ts
////export default function bd() {}
////export const b0 = 0;
// @Filename: /c.ts
////export default function cd() {}
////export const c0 = 0;
// @Filename: /d.ts
////export defa... |
import { TestBed, inject } from "@angular/core/testing";
import { FormGroup, ReactiveFormsModule } from "@angular/forms";
import { DynamicFormRelationService } from "./dynamic-form-relation.service";
import { DynamicTextAreaModel } from "../model/textarea/dynamic-textarea.model";
import { DynamicFormService } from "./d... |
import { SectionOptions } from 'types'
export const options: SectionOptions = {
Split: {
component: 'SectionSplit',
name: 'Split Section',
description:
'This section will display an image, a title, and some content, split down the middle with the image on one side and the text on the other, alterna... |
// Arrow Icon:
// Next Arrow (>) icon.
import React from 'react'
import theme from '../../../gatsby-plugin-theme-ui'
// ___________________________________________________________________
const Next = () => (
<svg width="100%" viewBox="0 0 46.43 34.82">
<polygon
points="26.5 32.3 29.02 34.82 46.43 17.41 ... |
/**
* ddCmd.ts
* author: borysn
* license: MIT
*/
import { ddCmdHelp } from './ddCmdHelp'
/**
* ddBuilder command interface
*/
export abstract class ddCmd {
/**
* constructor
*
* @param help command help object
*/
constructor(protected help: ddCmdHelp) {}
/**
* execute ddBuilder comman... |
/**
*
*
* OpenAPI spec version: 20181001
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.