text stringlengths 10 953k |
|---|
/*
* Copyright 2020-present Open Networking Foundation
*
* 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 appli... |
// #docplaster
// #docregion
// #docregion hero-import
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.modul... |
import { LinearGradient } from 'expo-linear-gradient';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { Dimensions, Platform, StyleSheet, Text, View } from 'react-native';
import { withAnchorPoint } from 'react-native-anchor-point';
import Animated, {
EasingNode,
sub,
timing,
u... |
import express, { RequestHandler } from 'express'
import { ParamsDictionary } from 'express-serve-static-core'
import path from 'path'
import { Queue } from 'bull'
import { Queue as QueueMq } from 'bullmq'
import { queuesHandler } from './routes/queues'
import { retryAll } from './routes/retryAll'
import { retryJob } ... |
import { assertThrowsAsync } from 'https://deno.land/std@0.109.0/testing/asserts.ts'
import { exportPKCS8, exportSPKI, importPKCS8, importSPKI, importX509 } from '../dist/deno/index.ts'
const keys = {
rsa: {
privateKey:
'-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDC9Yma... |
import React, { useRef, useCallback } from 'react';
import {
Image,
View,
ScrollView,
KeyboardAvoidingView,
Platform,
TextInput,
Alert,
} from 'react-native';
import Icon from 'react-native-vector-icons/Feather';
import { useNavigation } from '@react-navigation/native';
import { Form } from '@unform/mobil... |
/*
* Copyright 2018 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
import {createStore, ObservableMap} from '@stencil/store';
import {setStore} from '../../utils/store.utils';
import {Edition, Selection} from '../../interfaces';
import RangeArea = Selection.RangeArea;
import Cell = Selection.Cell;
import EditCell = Edition.EditCell;
export type State = {
range: RangeArea|null;
... |
/// <reference path="android-declarations.d.ts"/>
declare module com {
export module google {
export module android {
export module gms {
export module internal {
export module measurement {
export class zzru {
public static class: java.lang.Class<com.google.android.gms.internal.measurement... |
import * as express from 'express';
import * as fs from 'fs';
//import * as cds from '@sap/cds-dk';
import { parse, parseLines, stringify } from 'dot-properties';
const cds = require('@sap/cds-dk');
const LOG = cds.log('cds-launchpad-plugin');
export interface LaunchpadConfig {
version?: string,
theme?: string,
... |
/**
* @internal
*/
export enum SkyFlyoutMessageType {
Open = 0,
Close,
EnableIteratorNextButton,
EnableIteratorPreviousButton,
DisableIteratorNextButton,
DisableIteratorPreviousButton,
} |
import type { IRuntimeOptions, createUseCase } from '@portals/react'
import { render as tlrRender } from '@testing-library/react'
import { createCustomElements, getModulesTree, isFunction } from '@portals/core'
import { App } from '@portals/react/testing'
interface ICreateUseCaseRenderOptions {
useCase: ReturnType<t... |
import * as fs from 'graceful-fs';
import Promise = require('any-promise');
import lockfile = require('lockfile');
import Touch = require('touch');
import { ConfigJson, DependencyTree, DependencyBranch } from '../interfaces';
export declare type Stats = fs.Stats;
export declare type LockOp = (path: string, options?: lo... |
import { Component, OnInit } from '@angular/core';
import { LocalDataSource } from 'ng2-smart-table';
import { Router } from '@angular/router';
@Component({
selector: 'app-customer',
template: `<ng2-smart-table
[settings]="settings"
[source]="source"
(create)="addStaff()"
(custom)="onCuston($event)... |
import axios, { AxiosRequestConfig } from "axios";
import { nanoid } from "nanoid";
import type { Logger } from "tslog";
export const throwFatal = (logger: Logger, e: unknown, errorText?: string) => {
if (axios.isAxiosError(e)) {
logger.fatal("[Axios Error]", e.response?.data);
} else {
logger.fatal(e);
... |
import * as DictionaryStoreActions from './actions';
import * as DictionaryStoreSelectors from './selectors';
import * as DictionaryStoreState from './state';
export {DictionaryStoreModule} from './dictionary-store.module';
export {DictionaryStoreActions, DictionaryStoreSelectors, DictionaryStoreState}; |
import * as chai from 'chai';
import 'mocha';
import { FixTypeValidationError } from '../../errors/FixTypeValidationError';
import { FixinatorParseError } from '../../errors/FixinatorParseError';
import { STANDARD_DELIMITER } from '../../util/util';
import { FixFloat, IFixFloat } from './fix-float';
/* tslint:disable... |
/**
Run some code when the process exits.
The `process.on('exit')` event doesn't catch all the ways a process can exit.
This package is useful for cleaning up before exiting.
@param callback - The callback to execute when the process exits.
@returns A function that removes the hook when called.
@example
```
import ... |
import { ApolloQueryResult } from 'apollo-client';
import { DaffInvalidAPIResponseError } from '@daffodil/order/driver';
import { MagentoGetGuestOrdersResponse } from '../queries/public_api';
import { validateGetOrdersResponse as validator } from './get-orders';
describe('Driver | Magento | Order | Validator | GetOr... |
import { FC } from 'react'
import styled from '@emotion/styled'
import { Countdown, HeartPage } from './components'
import { useTime } from '../api'
const App: FC = () => {
const { timeup } = useTime()
return <StyledApp>{timeup ? <HeartPage /> : <Countdown />}</StyledApp>
}
const StyledApp = styled.div`
... |
import { Component } from '@stencil/core';
@Component({
tag: 'avatar-page',
styleUrl: 'avatar-page.scss'
})
export class AvatarPage {
render() {
return (
<div class="container mb-5">
<h1 class="display-4 ">Avatar component</h1>
<h3>API</h3>
<h4 class="my-3">Props... |
/**
* Database Service API
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
* OpenAPI spec version: 20160918
* Contact: sic_dbaas_cp_us_grp@oracl... |
// Type definitions for Ember.js 2.7
// Project: http://emberjs.com/
// Definitions by: Jed Mao <https://github.com/jedmao>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="jquery" />
/// <reference types="handlebars" />
declare namespace EmberStates {
interface Transition ... |
// Type definitions for 3box 1.22
// Project: https://github.com/3box/3box-js#readme
// Definitions by: Shikanime Deva <https://github.com/shikanime>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = Box;
export as namespace Box;
declare namespace Box {
interface ThreadPost {
aut... |
export interface Classes {
root: string
} |
/**
* @license
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/// <reference path="./writer.ts"/>
/// <reference path="./builder.ts"/>
/* @internal */
namespace ts.reflection {
//TODO: check if Reflection already exists.
export function initConfig(compilerHost: CompilerHost, compilerOptions: CompilerOptions) {
if (compilerHost && compilerOptions && !compilerOpt... |
import Truncate from '../../truncate-parameters';
export default function MatchParameters(
value : string,
valid : boolean,
pattern : RegExp,
subject : string = 'string',
) : string {
const strings : string[] = [];
strings.push(subject, `"${Truncate(value, 8)}"`);
if(valid) {
st... |
export * as colors from "https://deno.land/std@0.74.0/fmt/colors.ts";
export { existsSync } from "https://deno.land/std@0.74.0/fs/exists.ts";
export { walkSync } from "https://deno.land/std@0.74.0/fs/walk.ts";
export * as path from "https://deno.land/std@0.74.0/path/mod.ts"; |
export interface IRefreshProps {
classPrefix?: string;
distanceToRefresh: number;
onRefresh?: (resolve: () => void, reject: () => void) => void;
onLoadMore?: (resolve: () => void) => void;
autoLoadMore?: boolean;
hasMore?: boolean;
className?: string;
pullingText?: string;
pullingEno... |
import { _Array_slice } from '@utils/refs';
import { is_Function } from '@utils/is';
import { obj_create, obj_extendDefaults } from '@utils/obj';
import { log_error } from '@core/util/reporters';
import { _resolve_External, _mask_ensureTmplFn } from '../scope-vars';
import { compo_meta_prepairAttributesHandler, compo_m... |
import { ProjectRisk } from '../types'
const UNVERIFIED_DESCRIPTION =
'The source code of this contract is not verified on Etherscan.'
const UNVERIFIED_RISK: ProjectRisk = {
category: 'Funds can be stolen if',
text: 'the source code of unverified contracts contains malicious code.',
isCritical: true,
}
const... |
/**
* ng2-idle - A module for responding to idle users in Angular2 applications.
# @author Mike Grabski <me@mikegrabski.com> (http://mikegrabski.com/)
* @version v1.0.0-alpha.16
* @link https://github.com/HackedByChinese/ng2-idle.git#readme
* @license MIT
*/
import {Subscription} from 'rxjs/Rx';
import {Interrup... |
export * as Ed25519 from "./ed25519";
export * as X25519 from "./x25519";
export * as JWT from "./jwt";
export * as AEAD from "./aead";
export * as HMAC from "./hmac";
export type DigestAlgorithm = "sha1" | "sha256" | "sha384" | "sha512" | "blake3";
export function digest(
algorithm: DigestAlgorithm,
data: Uint8A... |
import { configureBlockContent } from '../editors/blockContentType'
import CharCounterEditor from '../components/CharCounterEditor'
import { AccordionComponent } from '../../icons'
import { Colors } from '../../helpers/ColorListValues'
import { configureTitleBlockContent } from '../editors'
import CompactBlockEditor fr... |
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { IBizSysModule } from '../../../ibizsys/ibizsys.module';
import { UserModule } from '../../user.module';
import { OA_BGYPSQBGYPSQLC_W10_MobWFEditView3 } from './oa-bgypsqbgypsqlc-w10-mob-wfedit-view3';
import { WFStepD... |
import * as React from 'react';
import Frame from '../../placeholders/Frame';
import Rectangle from '../../placeholders/Rectangle';
const Cover: React.FC<{}> = () => {
return (
<Frame>
<div
style={{
alignItems: 'center',
display: 'flex',
... |
import { Component, OnInit } from '@angular/core';
import { EmplacementService } from 'src/app/service/emplacement/emplacement.service';
import {ExcelService} from 'src/app/service/excel/excel.service';
import { FraisService } from 'src/app/service/frais/frais.service';
@Component({
selector: 'app-societe',
templat... |
import dayjs from "dayjs";
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import localizedFormat from "dayjs/plugin/localizedFormat";
dayjs.extend(localizedFormat);
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
); |
import type { Repo } from 'domain/shared/firestore/entity/repo';
import type { IFireStoreBaseRepository } from 'domain/shared/firestore/repository/base/index';
export interface IFireStoreRepoBaseRepository extends IFireStoreBaseRepository<Repo> {
} |
// DO NOT EDIT. This file was generated by running `npm run generate`.;
import * as React from 'react';
import { Colors } from '../../essentials';
import { get } from '../../utils/themeGet';
import { IconProps } from '../IconProps';
type Props = IconProps;
const ProfileOutlineIcon: React.FC<Props> = ({ size = 'medium'... |
import { Injectable } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { AppPreferences } from '@ionic-native/app-preferences/ngx';
import * as equal from 'fast-deep-equal';
import { NGXLogger } from 'ngx-logger';
import { BehaviorSubject } from 'rxjs';
import {
distinctUntilChan... |
import { runTests, assert, fail, test } from "@ethossoftworks/knock-on-wood"
import { Outcome, Error as OutcomeError } from "./Outcome"
const Tests = () => {
test("testError", async () => {
const result = await generateOutcome(null, false)
assert(result.isError() && result.error === false)
})
... |
import { expect, fixture, html } from '@open-wc/testing';
import { LoggingElement } from '../../src/Logging.js';
import { CommitEntry, newLogEvent } from '../../src/foundation.js';
import { MockAction } from './mock-actions.js';
import './mock-logger.js';
describe('LoggingElement', () => {
let element: LoggingElem... |
// Angular Imports
import { Injectable } from '@angular/core';
import { IpcRenderer } from 'electron';
// External Libs
import { Observable, throwError } from 'rxjs';
import { catchError } from 'rxjs/operators';
// Models Imports
import { IManageApp } from '@app/core/models';
// Services Imports
import { ElectronSer... |
/**
* LUSID API
*
* The version of the OpenAPI document: 0.10.1248
* Contact: info@finbourne.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Link } from './link';
import { Portfolio... |
import { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
import { AuthService } from './auth.service';
@Injectable({
providedIn: 'root'
})
export class VentasGuard implements CanActivate {
constructor(private router: Router, p... |
import {
Component,
OnInit,
Input,
ViewChild,
Output,
EventEmitter,
} from "@angular/core";
import { Webhook } from "../webhook";
import { NgForm } from "@angular/forms";
import { ClrLoadingState } from "@clr/angular";
import { finalize } from "rxjs/operators";
import { WebhookService } from "../webhook.ser... |
import {css, cx} from "emotion"
import {isEmpty} from "lodash"
import React, {PropsWithChildren} from "react"
import {useTranslation} from "react-i18next"
import processesTableStyles from "../../containers/processesTable.styl"
import {useNkTheme} from "../../containers/theme"
import processesStyles from "../../styleshe... |
import * as React from 'react'
import styled from 'styled-components'
import { space, SpaceProps } from 'styled-system'
const classnames = (...args: any[]) => args.join(' ')
const getClassName = (el: any) => (el.props && el.props.className) || ''
export const StyledChildren: React.FC<{ className?: string } & SpacePro... |
import * as ReactDOM from "react-dom";
import * as React from "react";
import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles';
import {MainComponent} from "./components/MainComponent";
const theme = createMuiTheme({
palette: {
primary: {
//light: '#757ce8',
main: '#a88a49',
//... |
import { AzureFunction, Context, HttpRequest } from "@azure/functions"
const httpTrigger: AzureFunction = async function (context: Context, req: HttpRequest): Promise<void> {
context.log.info('HTTP trigger function processed a request.');
const name = (req.query.name || (req.body && req.body.name));
if (n... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Tokyocoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line... |
export const COSMOS_MSG_TYPEURL = {
MsgBeginRedelegate: '/cosmos.staking.v1beta1.MsgBeginRedelegate',
Coin: '/cosmos.base.v1beta1.Coin',
MsgSend: '/cosmos.bank.v1beta1.MsgSend',
MsgWithdrawDelegatorReward: '/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward',
MsgCreateValidator: '/cosmos.stakin... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eo" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Morpheus</source>
<translation>Pri Morpheus</translation>
</mess... |
export declare interface Item {
itemId: number;
name: string;
icon: string;
class: ItemClass;
subclass: ItemSubClass;
sellPrice: number;
quality: ItemQuality;
itemLevel: number;
requiredLevel: number;
slot: ItemSlot;
tooltip: ItemTooltip[];
itemLink: string;
vendorPri... |
declare const _default: import("vue").DefineComponent<{
modelValue: {
type: NumberConstructor;
default: number;
};
vertical: {
type: BooleanConstructor;
default: boolean;
};
tooltipClass: {
type: StringConstructor;
default: string;
};
}, {
tool... |
import { useQuery } from "react-query";
import { api } from "../api";
type User = {
id: string;
name: string;
email: string;
created_at: string;
};
type GetUsersResponse = {
totalCount: number;
users: User[];
};
export async function getUsers(page: number): Promise<GetUsersResponse> {
const { data, hea... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/* eslint-env jest */
// @ts-ignore ambiguous import
import merge from "./merge.ts";
describe("merge", () => {
it("should merge with empty object", () => {
const a = { a: 1 };
expect(merge(a, {})).toEqual(a);
expect(merge({}, a)).toEqual(a);
});
it("should override non-object properties", () => {
... |
namespace Core {
angular.module('core')
.directive('nav', function() {
return {
restrict: "E",
compile: function(elm, attrs) {
return function(scope, elm, attrs) {
... |
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { ComponentsModule } from '../../components/components.module';
import { TorneioPage } from './torneio';
@NgModule({
declarations: [
TorneioPage
],
imports: [
ComponentsModule,
IonicPageModule.forChild... |
import { Stream } from "xstream";
import { ChainId, PostableBytes, PublicKeyBundle, Tag, TxId, TxQuery } from "@iov/tendermint-types";
import { Address, SignedTransaction } from "./signables";
import { Nonce, TokenTicker, UnsignedTransaction } from "./transactions";
/*
Types defined to match
https://app.swaggerhub.c... |
/**
* Returns an effect with the empty value.
*
* @tsplus static ets/Effect/Ops none
*/
export const succeedNone: Effect.UIO<Option<never>> = Effect.succeed(Option.none) |
import { Actions, PlopGenerator } from 'node-plop';
import path from 'path';
import { componentExists } from '../utils';
export enum ComponentProptNames {
'ComponentName' = 'ComponentName',
'wantMemo' = 'wantMemo',
'wantStyledComponents' = 'wantStyledComponents',
'wantTranslations' = 'wantTranslations',
'wa... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
import { ContinuedEvent, Event, OutputEvent } from "vscode-debugadapter";
import { DebugProtocol } from "vscode-debugprotocol";
import { FlutterCapabilities } from "../shared/capabilities/flutter";
import { debugLaunchProgressId, restartReasonManual } from "../shared/constants";
import { DartLaunchArgs } from "../share... |
import autoBind from "auto-bind";
import { NextFunction, Request, Response } from "express";
interface IService {
handle(
req: Request,
res: Response,
next: NextFunction
): Promise<Response<any> | void>;
execute(...args: any[]): Promise<any>;
}
class Service {
constructor() {
autoBind(this);
... |
import { withStyles, Theme, WithStyles } from 'shared/styles';
import { rule } from 'shared/helpers/style';
const styles = (_theme: Theme) => ({
root: rule({}),
metricTypography: rule({
color: 'inherit',
}),
metricTitle: rule({
composes: '$metricTypography',
}),
metricValue: rule({
composes:... |
import React, { useEffect, useState } from "react";
import { useTranslation } from "react-i18next";
import { StyleSheet, View } from "react-native";
import { StackedBarChart } from "react-native-chart-kit";
import { AbstractChartConfig } from "react-native-chart-kit/dist/AbstractChart";
import { StackedBarChartData } f... |
import path from "path";
import glob from "glob";
import fs from "fs";
import { findSharedParent } from "../src/index/generateTrees/shared/findSharedParent";
const fixturesPath = fs.readdirSync(path.resolve(__dirname, "fixtures"));
describe(findSharedParent, () => {
it.each(fixturesPath)("fixture — %s", fixtureNam... |
export { default as default } from './Orb.svelte'; |
import _ from "lodash";
import Long from "long";
import React from "react";
import { connect } from "react-redux";
import { RouterState } from "react-router";
import * as protos from "src/js/protos";
import { refreshAllocatorRange, refreshRange, refreshRangeLog } from "src/redux/apiReducers";
import { CachedDataReduce... |
import { Entity } from "./entity.model";
import { TaskStatus } from "./task-status.model";
export interface SentHomeworkFile extends Entity {
fileName?: string;
fullPath: string;
description?: string;
assignment: string;
status: TaskStatus;
} |
import { Route53ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53Client";
import { CreateTrafficPolicyVersionRequest, CreateTrafficPolicyVersionResponse } from "../models/models_0";
import {
deserializeAws_restXmlCreateTrafficPolicyVersionCommand,
serializeAws_restXmlCreateTrafficPolicy... |
import { IOption } from './option.interface';
export class Option {
public wrappedOption: IOption;
public disabled: boolean;
public highlighted: boolean;
public selected: boolean;
public shown: boolean;
constructor(option: IOption) {
this.wrappedOption = option;
this.disable... |
// -*- mode: typescript; indent-tabs-mode: nil; js-basic-offset: 4 -*-
//
// This file is part of Genie
//
// Copyright 2020 The Board of Trustees of the Leland Stanford Junior University
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lic... |
/* tslint:disable:max-classes-per-file */
/* tslint:disable:no-string-literal */
import * as React from "react";
import Foundation, { HandledProps, ReferenceResolver } from "./foundation";
import * as ReactTestUtils from "react-dom/test-utils";
import { has, merge } from "lodash-es";
class GetRefTestComponent extends... |
import KoaRouter from '@koa/router'
export interface AppRouter {
apply(router: KoaRouter): void
} |
import { useState, useEffect, useContext } from 'react'
import { HypermergeUrl, parseDocumentLink, createDocumentLink, PushpinUrl } from './ShareLink'
import { useTimeouts, useMessaging, useRepo, useDocument } from './Hooks'
import { useSelfId } from './SelfHooks'
import { CurrentDeviceContext } from './components/cont... |
/*
* MIT License
*
* Copyright (c) 2019 Rémi Van Keisbelck
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
import React,{Component} from "react";
interface IProps{
name:string
}
export default class Lee extends Component<IProps,any>{
render(){
return (
<>
<h1>
{this.props.name}
</h1>
</>
);
}
} |
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { DatePipe } from '@angular/common';
import { CookieService } from 'angular2-cookie/services/cookies.service';
import {
BaeldungSharedLibsModule,
BaeldungSharedCommonModule,
CSRFService,
AuthService,
AuthServerProvider,
Ac... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { FooterModule } from '../../src/app/app';
// import {WorkerAppModule} from '@angular/platform-webworker';
@NgModule({
declarations: [
AppComponent
],
im... |
import { Database as SqliteDatabase } from 'better-sqlite3';
import SqliteTable from '@ulixee/commons/lib/SqliteTable';
import ICollectedElement from '@ulixee/hero-interfaces/ICollectedElement';
export default class CollectedElementsTable extends SqliteTable<
ICollectedElement & { id?: number }
> {
private idCount... |
/* tslint:disable */
/* eslint-disable */
// @generated
// This file was automatically generated and should not be edited.
// ====================================================
// GraphQL query operation: GetSurvey
// ====================================================
export interface GetSurvey_survey_questions_o... |
import { Component, OnInit } from '@angular/core';
import { AuthenticationServiceService } from 'src/app/services/authentication-service.service';
export interface Section {
name: string;
updated: Date;
}
@Component({
selector: 'app-administration',
templateUrl: './administration.component.html',
styleUrls:... |
import { Track } from "./track";
interface TranscriptList {
transcript_list: Track[];
} |
import { _ValidationMessagesList } from "./_ValidationMessagesList";
import { Structure as _Structure_ } from "@aws-sdk/types";
export const ValidateConfigurationSettingsOutput: _Structure_ = {
type: "structure",
required: [],
members: {
Messages: {
shape: _ValidationMessagesList
}
}
}; |
import { Card, CardHeader } from "@material-ui/core"
import * as React from "react"
import { FullMatchHistoryLinkButton } from "./FullMatchHistoryLinkButton"
interface Props {
player: Player
}
export class PlayerMatchHistoryCard extends React.PureComponent<Props> {
public render() {
return (
... |
export * from './crypto-payment-information'; |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About BlockPanther</source>
<translation type="unfinished"/>
</message>
<message>
<location l... |
import getNewPrimitive, { MarkerObjectType } from './markerTypes';
import MarkerLifetime from './markerLifetime';
import { Object3D } from 'three';
export default class MarkerManager {
public object: Object3D;
private readonly onChangeCb: () => void;
private readonly objectMap: { [p: string]: MarkerObjectType } ... |
/**
* @file Language settings for Spanish - Spain
* @author Berk selvi
* @license Apache-2.0
*/
const es = {
// navigation
pomodoro:"Pomodoro",
settings:"Ajustes",
// cards
work_please:"Estudiemos",
minutes:"minutos",
hours:"horas",
// button
cancel:"Cancelar",
start:"Comien... |
import Web3 from 'web3'
import Cookies from 'js-cookie'
import WalletConnectProvider from '@walletconnect/web3-provider'
import detectEthereumProvider from '@metamask/detect-provider'
const COOKIE_NAME = 'sorafarm_session_address'
let WALLET_CONNECT_PROVIDER: WalletConnectProvider | null = null
interface ConnectOptio... |
import type { Nullable } from "../types";
import { Logger } from "../Misc/logger";
import { Matrix, Vector2 } from "../Maths/math.vector";
import type { Camera } from "../Cameras/camera";
import type { Effect } from "../Materials/effect";
import type { PostProcessOptions } from "./postProcess";
import { PostProcess } f... |
import { ActionPanel, Icon, List, PushAction, showToast, ToastStyle } from "@raycast/api";
import { useEffect, useState } from "react";
import Chapter from "./chapter";
import { favor, getShelfList, searchBook } from "./api";
import { Catalog } from "./catalog";
interface State {
items?: any[];
key?: string;
she... |
import React from 'react'
import { Result, Button } from 'antd'
import { connect } from 'react-redux'
const NotFound = (props: any) => {
const { history, taglist, deleteTag } = props
// 关闭时,清除缓存
const goHome = () => {}
return (
<Result
status='404'
title='404'
subTitle='抱歉,你访问的页面不存在!'
... |
import { Injectable, NotFoundException } from '@nestjs/common';
import { Model } from 'mongoose';
import { InjectModel } from '@nestjs/mongoose';
import { Todo, TodoDocument } from './schemas/todo.schema';
import { CreateTodoDto } from './dto/create-todo.dto';
@Injectable()
export class TodosService {
constructor(
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.
*--------------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.