text stringlengths 10 953k |
|---|
import Author from 'types/author'
interface About {
slug: string
title: string
date: string
coverImage: string
author: Author
excerpt: string
ogImage: {
url: string
}
content: string
}
export default About; |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_CL" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SHUTTLECOIN</source>
<translation type="unfinished"/>
</message>
<message>
<location... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NotFoundView } from './not-found.view';
describe('NotFoundView', () => {
let component: NotFoundView;
let fixture: ComponentFixture<NotFoundView>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: ... |
import {
Body,
ClassSerializerInterceptor,
Controller,
Delete,
Get,
HttpCode,
HttpStatus,
Inject,
Param,
Post,
Put,
Req,
UploadedFile,
UseGuards,
UseInterceptors,
UsePipes,
ValidationPipe,
} from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';
import { FileInterceptor ... |
import React from 'react';
type Props = {
newtab?: boolean;
} & JSX.IntrinsicElements['a'];
export const Link: React.FC<Props> = ({ newtab, ...restProps }) => {
const newTabAttrs = newtab
? { target: '_blank', rel: 'noopener noreferrer' }
: {};
return <a {...newTabAttrs} {...restProps} />;
}; |
import React from 'react';
import { useRouter } from 'next/router';
import DishList from '../components/DishList/index';
const Restaurants = () => {
const router = useRouter();
const idParameter = router.query.id || '1';
return (
<>
<DishList id={idParameter} />
</>
);
};
export default Restaur... |
import React, { FC } from 'react';
import { Link } from 'onekijs-next';
import { ProductType } from '../../../../data/products';
interface ProductProps {
product: ProductType;
id: number;
onClick: () => void;
onNotify: () => void;
}
const Product: React.FC<ProductProps> = ({ product, id, onClick, onNotify }) ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lt" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Bricoleur</source>
<translation type="unfinished"/>
</message>
<message>
<location line... |
import {
Directive,
ElementRef,
Input,
OnChanges,
SimpleChanges,
Renderer2,
DoCheck,
Inject,
OnDestroy,
} from '@angular/core';
import { FormlyFieldConfig, FormlyTemplateOptions } from '../models';
import { defineHiddenProp, FORMLY_VALIDATORS, observe, IObserver } from '../utils';
import { DOCUMENT } ... |
/* eslint-disable */
import Long from "long";
import _m0 from "protobufjs/minimal";
import { AccessConfig } from "../../../cosmwasm/wasm/v1beta1/types";
import { Coin } from "../../../cosmos/base/v1beta1/coin";
export const protobufPackage = "cosmwasm.wasm.v1beta1";
/** StoreCodeProposal gov proposal content type to ... |
import Marp from '@marp-team/marp-core'
import { MarpitOptions } from '@marp-team/marpit'
import fs from 'fs'
import os from 'os'
import path from 'path'
import { URL } from 'url'
import { Converter, ConvertType, ConverterOption } from '../src/converter'
import { CLIError } from '../src/error'
import { File, FileType }... |
import {Component, OnInit, OnDestroy} from "@angular/core";
import {ActivatedRoute, Params} from "@angular/router";
import {JewelleryService, JeweleryProduct} from "../../shared/index";
import {AuthService} from "../../shared/services/auth.service";
import {CustomerService} from "../../shared/services/customer.service"... |
import * as React from 'react';
import { IProgressProps, IProgressState } from './IProgress';
/**
* Component to show progress of multiple SEQUENTIALLY executed actions
*/
export declare class Progress extends React.Component<IProgressProps, IProgressState> {
constructor(props: IProgressProps);
/**
* compo... |
import { badgeColors, badgeRoundedStyles, badgeSizes } from "../helpers";
import { BadgeSizes } from "../types";
import { BaseColors } from "~/components/ui/types";
describe("badgeRoundedStyles", () => {
it(`returns medium rounded when badgeRoundedStyles is true`, () => {
expect(badgeRoundedStyles(true)).toEqual... |
import {flattenDepth} from '../Array';
import notSpecificTypes from '../common/notSpecificTypes';
import {ARRAY} from '../../constants/jsTypes';
describe('Array - flattenDepth 메서드 테스트', () => {
test('array: [1, [2, [3, [4]], 5]] 이고, depth가 주어지지 않았을 시 [1, 2, [3, [4]], 5] 반환 (depth = 1과 같음)', () => {
const arr = [... |
import type { FlattenSimpleInterpolation } from 'styled-components'
import { css } from 'styled-components'
const fullBleed = (width?: string): FlattenSimpleInterpolation => css`
grid-column: 1 / -1 !important;
width: ${width || '100%'};
`
export default fullBleed |
import { NodePath } from 'ast-types'
import Map from 'ts-map'
import babylon from '../../babel-parser'
import Documentation, { MethodDescriptor } from '../../Documentation'
import resolveExportedComponent from '../../utils/resolveExportedComponent'
import classMethodHandler from '../classMethodHandler'
jest.mock('../.... |
import { VirtualNode } from './VirtualNode'
export class VirtualTextNode extends VirtualNode {
private readonly expression: string
constructor(expression: string) {
super()
this.expression = expression
}
public clone(): VirtualNode {
return super.clone(new (this.constructor as... |
import { Component, OnInit, ViewContainerRef } from '@angular/core';
import { Customer } from '../../../shared/DTOs/customer';
import { CustomersService } from '../customers.service';
import { ConfigService, IConfig } from '../../../app.config';
import { ToastsManager } from 'ng2-toastr';
@Component({
selector: 'app... |
import { withInstall, withNoopInstall } from '@element-plus/utils'
import Tabs from './src/tabs'
import TabPane from './src/tab-pane.vue'
export const ElTabs = withInstall(Tabs, {
TabPane,
})
export const ElTabPane = withNoopInstall(TabPane)
export default ElTabs
export * from './src/tabs'
export * from './src/tab-... |
export type DebouncedFunction<FunctionType> = FunctionType & {
clear: () => void;
};
export const debounce = <FunctionType extends Function>(func: FunctionType) => {
let timeout: number | null = null;
const debounced = ((...args: any[]) => {
if (timeout) clearTimeout(timeout);
timeout = setTimeout(() => ... |
export * from "./method";
export * from "./status"; |
import { IBcryptModuleOptions, BcryptModule } from '../bcrypt.module';
import * as bcrypt from 'bcrypt';
import { BcryptService } from '../bcrypt.service';
import { TestingModule, Test } from '@nestjs/testing';
import { constraints } from '../constraints';
import { TestBcryptService } from './test-bcrypt.service';
des... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { SubscriptionsPageComponent } from './subscriptions-page.component';
import { SharedModule } from '../shared/shared.module';
import { SubscriptionsModule } from '../shared/subscriptions/subscriptions.module';
@NgModule({
... |
import { PartialType } from '@nestjs/mapped-types';
import { Create<%= classify(name) %>Dto } from './create-<%= lowerCase(name) %>.dto';
export class Update<%= classify(name) %>Dto extends PartialType(Create<%= classify(name) %>Dto) {
id: number;
} |
import { gqlFetcher } from '../utils';
interface MirrorResult {
data: {
addressInfo: {
ens: string;
writeTokens: string;
hasOnboarded: boolean;
};
userProfile: {
displayName: string;
ens: string;
domain: string;
contributor: {
publications: Array<{
... |
import { expect } from 'chai';
import { Spread } from './spread';
describe('spread', () => {
it('should spread the arguments', () => {
class MyClass {
@Spread()
fn(...args: any[]) {
expect(args.length).to.equal(4);
expect(args).to.eql([ 1, 2, 3, 4 ]);
}
}
const myClass... |
export * from "./tools";
export * from "./helpers"; |
export * from 'angular2/src/core/angular_entrypoint';
export { BROWSER_PROVIDERS, CACHED_TEMPLATE_PROVIDER, ELEMENT_PROBE_PROVIDERS, ELEMENT_PROBE_PROVIDERS_PROD_MODE, inspectNativeElement, BrowserDomAdapter, By, Title, DOCUMENT, enableDebugTools, disableDebugTools } from 'angular2/src/platform/browser_common';
import ... |
import R = require('ramda');
import jsonpatch = require('fast-json-patch');
import { AutoWired, Inject } from 'typescript-ioc';
import { Tags } from 'typescript-rest-swagger';
import {
GET,
PATCH,
Path,
DELETE,
POST,
PathParam,
ServiceContext,
Context,
QueryParam,
} from 'typescript-rest';
import sear... |
import MultiChannel from './MultiChannel';
const Advanced = {
title: 'Advanced',
data: [
{
name: 'MultiChannel',
component: MultiChannel,
},
],
};
export default Advanced; |
import React from 'react';
import { useDialogStyles } from './Dialog.style';
interface DialogProps {
isOpen: boolean;
onClose: any;
}
export const Dialog: React.FC<DialogProps> = ({ children, isOpen, onClose }) => {
const classes = useDialogStyles();
let dialog: JSX.Element | undefined = (
<d... |
import { Component, EventEmitter, Input, OnInit, Output, SimpleChanges } from '@angular/core';
/**
* Settings for policy.
*/
@Component({
selector: 'policy-properties',
templateUrl: './policy-properties.component.html',
styleUrls: [
'./../common-properties/common-properties.component.css',
... |
import { Component, OnInit } from '@angular/core';
import { AngularFirestore } from '@angular/fire/firestore';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import { Router } from '@angular/router';
@Component({
selector: 'app-add-joke',
templateUrl: './add-joke.component.html',... |
// 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 { IUser } from '@core/user';
import { emailField, requiredField } from '@Helpers/form-validate';
import { getOptions } from '@Queries/common';
import { updateUser } from '@Queries/user';
import { useTypedMutation, useTypedQuery } from '@Queries/utils';
import { userAtom } from '@Store/atoms/user-atom';
import { ... |
import { Link } from 'react-router-dom'
import { useIsWideScreen } from 'hooks/useMediaQuery'
import { LazyCover } from 'components/LazyCover'
import { OnlyWideScreen } from 'components/Responsive'
import { EpisodeTimestamp } from './EpisodeTimestamp'
import styles from './EpisodeCard.module.css'
type Props = {
epi... |
export const MAIN_NETWORK = 'main.ton.dev';
export const DEV_NETWORK = 'net.ton.dev';
export const FLD_NETWORK = 'fld.ton.dev'; |
const fetch = require('node-fetch')
export default async (req, res) => {
const { email } = req.body
if (!email) {
return res.status(400).json({ error: 'Email is required' })
}
try {
const API_KEY = process.env.BUTTONDOWN_API_KEY
const response = await fetch(
`https://api.buttondown.email/v1... |
import * as util from 'util';
import { attach } from '../attach';
import { logger } from '../utils/logger';
import { loadPlugin, LoadPluginOptions } from './factory';
import { NvimPlugin } from './NvimPlugin';
export interface Response {
send(resp: any, isError?: boolean): void;
}
export class Host {
public loade... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="../../src/jsrsasign.d.ts"/>
import * as jsrsasign from "jsrsasign";
import { assert, expect, use as chaiUse } from "chai";
import { Context } from "moch... |
import { Component } from '@angular/core';
@Component({
selector: 'biosimulations-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
})
export class AppComponent {
title = 'biosimulations-dispatch-frontend';
} |
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
import isPowerOfTwo from "./isPowerOfTwo.ts";
Deno.test("0231. Power of Two", () => {
assertEquals(isPowerOfTwo(1), true);
assertEquals(isPowerOfTwo(16), true);
assertEquals(isPowerOfTwo(218), false);
assertEquals(isPowerOfTwo(-2147483648... |
import { Component } from 'vue';
declare const EmitClickMethodMixin: Component;
export default EmitClickMethodMixin; |
<TS language="ru" 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 { GridContextShape } from "@contour/utils";
import { createContext, useContext } from "react";
export const GridContext = createContext<GridContextShape>({
strategy: "flex",
});
export const useGridContext = () => useContext(GridContext); |
/* eslint-disable @typescript-eslint/no-explicit-any */
import 'reflect-metadata';
import GlucoCheckCore from '../../../src/main';
describe('GlucoCheck Core', () => {
const mocks = {
conversation: {add: jest.fn()},
conversationDecoder: {decode: jest.fn()} as any,
queryResolver: {buildSnapshot: jest.fn()}... |
import React, {Component} from 'react';
import {View, ViewStyle} from 'react-native';
interface CustomStyle {
wrapper?: ViewStyle;
container?: ViewStyle;
draggableIcon?: ViewStyle;
}
interface IProps {
options: Array<string>;
ios?: {
destructiveButtonIndex?: number;
};
cancelButtonIndex?: number;
... |
import { Controller, Get, Post, Put, Delete, Body, Param, UsePipes, UseGuards } from '@nestjs/common';
import { NoteService } from './note.service';
import { NoteDTO } from './note.dto';
import { ValidationPipe } from 'src/common/validation.pipe';
import { AuthGuard } from 'src/common/auth.gaurd';
import { User } from ... |
version https://git-lfs.github.com/spec/v1
oid sha256:006d70e5f6f2182266de92ddddcde6ae787b702f2e67c05270a539d872537ad6
size 499516 |
import React from 'react'
import styled from 'styled-components'
const StyledBody = styled.div`
border: 1px solid #DBDBDB;
background-color: #fff;
padding: 25px;
display: flex;
align-items: center;
gap: 15px;
`
const StyledName = styled.div`
font-size: 14px;
font-weight: light;
`
const StyledUser = s... |
import * as React from 'react';
import { DefaultButton } from '@fluentui/react/lib/Button';
import { TeachingBubble } from '@fluentui/react/lib/TeachingBubble';
import { DirectionalHint } from '@fluentui/react/lib/Callout';
import { useBoolean, useId } from '@fluentui/react-hooks';
export const TeachingBubbleWideExamp... |
export function removePrefix(p: string) {
return p.replace(/src[\\/]/, '')
} |
import { I18n } from '@aws-amplify/core';
import { Component, Prop, State, Watch, h, Host } from '@stencil/core';
import {
FormFieldTypes,
PhoneNumberInterface,
} from '../amplify-auth-fields/amplify-auth-fields-interface';
import {
AuthState,
ChallengeName,
CognitoUserInterface,
AuthFormField,
AuthStateHandler,... |
import fetch from 'node-fetch';
import { parse } from 'url';
import { parseQuery } from './parseQuery';
export const queryWithApiKey = (apiKey: string, endpoint: string) => async (
gqlQuery: string,
variables?: { [key: string]: string },
) => {
const { selection, operation } = parseQuery(gqlQuery);
const quer... |
import React from 'react';
import config from '../../lib/config';
import Head from 'next/head';
type Props = {
url: string;
title?: string;
description?: string;
};
export default function TwitterCardMeta({
url,
title,
description,
}: Props) {
return (
<Head>
<meta property="twitter:card" content="summary... |
import { matcherTypes } from '../matcherTypes';
import matcherFactory from '..';
import { IMatcher, IMatcherDto } from '../../types';
import { loggerMock } from '../../../logger/__tests__/sdkLogger.mock';
test('MATCHER GREATER THAN OR EQUAL / should return true ONLY when the value is greater than or equal to 10', func... |
declare module 'react-window-infinite-loader' |
import {Component, EventEmitter, Input, OnInit, Output, ViewChild} from '@angular/core';
import {IstioHelper} from '../istios';
import {Cluster} from '../../../cluster';
import {IstioService} from '../istio.service';
import {TranslateService} from '@ngx-translate/core';
import {AlertLevels} from '../../../../../layout/... |
import Parse from '../../parse/parse';
export async function login(username: string, password: string, onerror: (...args: any[]) => any) {
try {
await Parse.User.logIn(username, password);
window.location.reload(true);
} catch (error) {
onerror(error.message);
}
} |
import { ConversationPaginationContainer } from "../Conversation"
import { graphql } from "react-relay"
import { useTracking } from "react-tracking"
import { useSystemContext } from "v2/System/useSystemContext"
import { setupTestWrapperTL } from "v2/DevTools/setupTestWrapper"
import { ConversationPagination_Test_Query ... |
// Type definitions for react-aria-menubutton 5.1
// Project: https://github.com/davidtheclark/react-aria-menubutton
// Definitions by: Muhammad Fawwaz Orabi <https://github.com/forabi>
// Chris Rohlfs <https://github.com/crohlfs>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Typ... |
import React from "react";
import { IconListFeatured } from "./IconList";
import { DefaultLayout } from "./Layout";
import { AddonPageSubMenu } from "./AddonPageSubMenu";
export default function AddonAuthorLayout({
repo,
data,
}: {
repo: string;
data: { author: { totaladdons: string; name: string; addons: stri... |
export { default as bgImg } from './bg.png';
export { default as logoImg } from './logo.png'; |
import { render, screen } from '@testing-library/react';
import { Theme } from '@/styles/theme';
import BlurredEllipse, { Testid, convertThemeToEllipseColor } from '.';
describe('BlurredEllipse', () => {
it('Should render component successfully.', () => {
try {
render(
<BlurredEllipse theme={Theme.... |
/**
Copyright 2021 Forestry.io Holdings, 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 agreed to in writ... |
import { Button, Tooltip } from 'antd'
import { useContext, useEffect, useRef, useState } from 'react'
import { Provider, useDispatch } from 'react-redux'
import store, { createStore } from 'redux/store'
import { SettingOutlined } from '@ant-design/icons'
import { V2ProjectContext } from 'contexts/v2/projectContext'
... |
import { fork, spawn } from 'child_process';
import {
readFileSync,
lstatSync,
readlinkSync,
statSync,
promises as fsp,
} from 'fs';
import {
basename,
dirname,
extname,
join,
relative,
resolve,
sep,
parse as parsePath,
} from 'path';
// @ts-ignore - `@types/mkdirp-promise` is broken
import mk... |
import { Component, OnInit } from '@angular/core';
import { MatDialog, MatTableDataSource } from '@angular/material';
import { StorageService } from '../services/storage.service';
import { EventsService } from '../services/events/events.service';
import { HttpErrorResponse, HttpHeaders } from '@angular/common/http';
im... |
import Poll from "../poll";
import { getTriggerHelpers, IHelpers } from "actionsflow-core";
import { AxiosStatic } from "axios";
const helpers: IHelpers = getTriggerHelpers({
name: "poll",
workflowRelativePath: "poll.yml",
});
import { getTriggerConstructorParams } from "./trigger.util";
const resp = {
data: [
... |
import { Event } from "flash/events/Event";
export class IOErrorEvent extends Event
{
public static ASYNC_ERROR:string = "asyncError"
public _error:Error
constructor(type:string, bubbles:boolean = false, cancelable:boolean = false, text:string = "", error:Error = null)
{
super(type, bubbles, ... |
import { Activator } from "../../../src";
class InjectableObject {}
class ActivateableObject {
testProperty: InjectableObject
constructor (testProperty: InjectableObject) {
this.testProperty = testProperty;
}
}
test('object should be activated', () => {
//Arrange
//@ts-ignore
Reflect.... |
import { Form, FormikContext } from 'formik';
import React from 'react';
import { Modal } from 'react-bootstrap';
import {
Application,
FormikFormField,
ICapacity,
IModalComponentProps,
MinMaxDesiredChanges,
ModalClose,
NumberInput,
PlatformHealthOverride,
ReactInjector,
SpinFormik,
TaskMonitorWr... |
import { Application, Router } from "https://deno.land/x/oak/mod.ts";
import { oakCors } from "../../mod.ts";
const books = new Map<string, any>();
books.set("1", {
id: "1",
title: "Frankenstein",
author: "Mary Shelley",
});
const router = new Router();
router
.options("/book/:id", oakCors()) // enable pre-fl... |
interface PopupProps {}
interface PopupState {
data?: { [key: number]: ExtensionTabData};
tabId?: number
} |
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { ERC20, ERC20Interface } from "../ERC20";
const _abi = [
{
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { Constants, ErrorNameConditionMapper, MessagingError, translate } from "@azure/core-amqp";
import {
AmqpError,
EventContext,
isAmqpError,
OnAmqpEvent,
Receiver,
ReceiverEvents,
ReceiverOptions
} from "rhea-promise";
import... |
import { PointModel } from '../primitives/point-model';
import { Rect } from '../primitives/rect';
import { Size } from '../primitives/size';
import { TextStyleModel } from './../core/appearance-model';
import { PathElement } from '../core/elements/path-element';
import { TextElement } from '../core/elements/text-eleme... |
import { useSelector } from "react-redux";
import { Vector3 } from "oni-save-parser";
import {
gameObjectTypesByIdSelector,
gameObjectsByIdSelector
} from "../selectors/game-objects";
export interface UseGameObject {
gameObjectType: string | undefined;
position: Vector3 | undefined;
}
export default function u... |
import * as serve from 'electron-serve'
export default interface WindowManagerArgs {
devMode:boolean,
electronServe?:serve.loadURL
} |
import { render } from 'jest/testUtils';
import { LeaderboardData } from 'astro_2.0/features/Discover/types';
import { DaosTopList } from 'astro_2.0/features/Discover/components/DaosTopList';
jest.mock(
'astro_2.0/features/Discover/components/DaosTopList/components/TopListItem',
() => {
return {
TopLis... |
import { Record } from 'immutable'
import { BLOCK_SIZE } from '../utils/constants'
const EagleRecordBase = Record({
x: 6 * BLOCK_SIZE,
y: 12 * BLOCK_SIZE,
broken: false,
})
export default class EagleRecord extends EagleRecordBase {
static fromJS(object: any) {
return new EagleRecord(object)
}
} |
import { Component, OnInit } from '@angular/core';
/* tslint:disable component-selector */
@Component({
selector: 'home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss']
})
export class HomeComponent implements OnInit {
public components = [
{
name: 'Buttons',
image: ... |
/**
* @license
* Copyright Google LLC 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 {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
Inject,
OnDestroy,
Optional,
ViewChild,... |
import { Component } from '@angular/core';
@Component({
selector: 'app-administrator',
templateUrl: './administrator.component.html',
styleUrls: ['./administrator.component.scss']
})
export class AdministratorComponent {
links=[
{
name: "Inicio",
url: "/administrator"
},
{
name: "A... |
import { ModuleWithProviders, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BrowserModule } from '@angular/platform-browser';
import { RouterModule } from '@angular/router';
import { DndDirective } from './directives/dnd.directive';
import { NgxFileDropModule } from 'ngx-file... |
/**
*
*
* OpenAPI spec version: 20200430
*
*
* 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 { Context, verifyAccess, getNowUtc } from '../../utils';
import { Order } from '../../db/models/Order';
import * as OrderInterface from '../../interfaces/order';
import * as moment from 'moment';
import { createAndSendException } from '../../utils';
import Roles from '../../roles';
export default {
async addO... |
import Head from 'next/head'
import Banner from '../components/banner'
import Footer from '../components/footer'
import Improvements from '../components/improvements'
import Navbar from '../components/navbar'
import CTASection from '../components/sections/cta'
import CustomerSection from '../components/sections/custome... |
import { DataLoader } from "../loader/DataLoader";
import { BinaryParser } from "../util/BinaryParser";
import { loadTwoBitHeaderData, SequenceRecord } from "./TwoBitHeaderReader";
const TWOBIT_MAGIC_LTH = 0x1A412743; // BigWig Magic High to Low
const TWOBIT_MAGIC_HTL = 0x4327411A; // BigWig Magic Low to High
const BI... |
import { MdiReactIconComponentType } from './dist/typings';
declare const CityVariantIcon: MdiReactIconComponentType;
export default CityVariantIcon; |
import { Response, Router } from "express";
import { ConfigureOptions as SsoToolsOptions, IdToken, SsoTools } from "./SsoTools";
import { authMiddleware } from "./middlewares/auth";
import { asyncMiddleware } from "middleware-async";
import { refreshTokenMiddleware } from "./middlewares/refresh-token";
import jwt from ... |
declare module '*.html' {
import Vue, {ComponentOptions} from 'vue'
interface WithRender {
<V extends Vue>(options: ComponentOptions<V>): ComponentOptions<V>
<V extends typeof Vue>(component: V): V
}
const withRender: WithRender
export default withRender
}
declare module 'minigrid' {
interface M... |
import * as cloudwatch from '@aws-cdk/aws-cloudwatch';
import * as notifications from '@aws-cdk/aws-codestarnotifications';
import * as ec2 from '@aws-cdk/aws-ec2';
import * as ecr from '@aws-cdk/aws-ecr';
import { DockerImageAsset, DockerImageAssetProps } from '@aws-cdk/aws-ecr-assets';
import * as events from '@aws-c... |
import { Component, OnInit } from '@angular/core';
import { FormBuilder, Validators } from '@angular/forms'
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.scss']
})
export class LoginComponent implements OnInit {
loginForm;
textInput: any = false;
... |
import {Component, OnInit} from '@angular/core';
import {Router} from '@angular/router';
import {Observable} from 'rxjs/Observable';
import {Subject} from 'rxjs/Subject';
// Observable class extensions
import 'rxjs/add/observable/of';
// Observable operators
import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/d... |
import React from 'react';
import { Link } from './link';
import { TypeCTA } from 'lib/types';
type CtaProps = {
cta: TypeCTA;
};
export const Cta = ({ cta }: CtaProps) => {
let linkProps;
if (cta && cta.linkTarget && cta.linkType) {
linkProps = { type: cta.linkType, path: cta.linkTarget };
}
const but... |
export class BabelPolyfill {
public static append (): void {
if (!(<any>global)._babelPolyfill) {
require('babel-polyfill');
}
}
} |
// NOTE: stops React from logging `validateDOMNesting` errors to console
function filterConsoleErrors() {
// tslint:disable
const _error = console.error
const _warn = console.warn
console.error = (args: any) => {
const argsString = `${args}`
if (args && argsString.includes("Warning")) {
_warn.call... |
import BaseNode from '../model/node/BaseNodeModel';
import { Point, Direction, NodeConfig, AnchorConfig } from '../type';
import { GraphModel } from '..';
export declare const getAnchors: (data: any) => Point[];
declare type NodeContaint = {
node: BaseNode;
anchorIndex: number;
anchor: AnchorConfig;
};
expo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.