text stringlengths 10 953k |
|---|
import { TenantTransport, TenantGuard, TenantEntity } from './core.interface';
import { Storage } from './storage.interface';
import { Cache } from '../storages/cache/cache.interface';
import { CachedStorageOptions } from '../storages/cached.storage';
export interface Options {
for: Array<TenantEntity | Function>; /... |
import { booleanConverter, makeParser, makeValidator, Property } from '@nativescript/core';
import { profile } from '@nativescript/core/profiling';
import { ScrollEventData, ContentView } from '@nativescript/core';
import { Orientation } from '@nativescript/core/ui/layouts/stack-layout';
import { layout } from '@native... |
import Datastore = require("@google-cloud/datastore");
import { KEY } from "@google-cloud/datastore";
export const DEFAULT_DATASTORE_STORE_KIND = "_MIGRATIONS_STATE_";
export class DatastoreStore {
constructor (
private readonly db: Datastore,
private readonly kind: string = DEFAULT_DATASTORE_STOR... |
import check from './support/check';
import validate from './support/validate';
function checkSoak(input: string, expectedOutput: string, expectedOptionalChainingOutput: string): void {
check(input, expectedOutput);
try {
check(input, expectedOptionalChainingOutput, { options: { useOptionalChaining: true } });... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Corfucoin</source>
<translation>О Corfucoin-у</translation>
</me... |
const RE_REGEXP_CHAR = /[$()*+.?[\\\]^{|}]/gu
const RE_HAS_REGEXP_CHAR = new RegExp(RE_REGEXP_CHAR.source)
const RE_REGEXP_STR = /^\/(.+)\/([A-Za-z]*)$/u
/**
* Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
* "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
*
* @param {string} string... |
/*
* Copyright 2021 Byndyusoft
*
* 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 i... |
import { Test, TestingModule } from '@nestjs/testing';
import { QuotesController } from './quotes.controller';
describe('Quotes Controller', () => {
let controller: QuotesController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [QuotesController],
... |
import { DomainCredentials } from '../../types/domainModel/DomainCredentials.type';
import { ResourceCredentials } from '../../types/resourceModel/ResourceCredentials.type';
export const mapOne = (resource: ResourceCredentials): DomainCredentials => {
const { password, email } = resource;
return {
password,
... |
import { kea } from 'kea'
import { router } from 'kea-router'
import { objectsEqual } from 'lib/utils'
import { chartFilterLogicType } from './chartFilterLogicType'
import { ChartDisplayType, FunnelVizType, ViewType } from '~/types'
function isFunnelVizType(filter: FunnelVizType | ChartDisplayType): filter is FunnelVi... |
export enum Option {
RepoToken = 'repo-token',
StaleIssueMessage = 'stale-issue-message',
StalePrMessage = 'stale-pr-message',
CloseIssueMessage = 'close-issue-message',
ClosePrMessage = 'close-pr-message',
DaysBeforeStale = 'days-before-stale',
DaysBeforeIssueStale = 'days-before-issue-stale',
DaysBefo... |
import {AssignRequestBuilderPostRequestConfiguration} from './assignRequestBuilderPostRequestConfiguration';
import {AssignPostRequestBody} from './index';
import {getPathParameters, HttpMethod, Parsable, ParsableFactory, RequestAdapter, RequestInformation, RequestOption, ResponseHandler} from '@microsoft/kiota-abstrac... |
import { Injectable } from '@nestjs/common';
import { SpecificationRepositoryService } from '../../shared/repositories/specification';
import type { AlgorithmEngine } from '../entity';
import type { CalculationPayload, CalculationResponse } from '../entity/calculation';
import type { SpecificationPayload, Specificati... |
/**
* Style object for [react-treebread](https://github.com/storybookjs/react-treebeard#style)
*/
const style = {
tree: {
base: {
listStyle: 'none',
backgroundColor: '#fff',
margin: 0,
padding: 0,
color: '#333333',
fontSize: '12px',
... |
import moment from "moment";
import { NormalizedProject } from "../../index.types";
import { createProject, createTags } from "../../";
export let title = `android app`;
export let start = `2015-04`;
export let end = `2015-05`;
export let duration = moment.duration(moment(end).endOf(`month`).diff(moment(start))).toJS... |
/**
* iCure Cloud API Documentation
* Spring shop sample application
*
* OpenAPI spec version: v0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { MeasureDto } from "./MeasureD... |
import * as core from '@actions/core';
import * as github from '@actions/github';
async function run() {
try {
const issueMessage: string = core.getInput('issue-message');
const prMessage: string = core.getInput('pr-message');
if (!issueMessage && !prMessage) {
throw new Error(
'Action must... |
import { APP_INITIALIZER, NgModule } from '@angular/core';
import { VoyagerService } from './services/sync/voyager.service';
function apolloClientFactory(aeroGear: VoyagerService) {
return () => aeroGear.createApolloClient();
}
@NgModule({
providers: [
{
provide: APP_INITIALIZER,
useFactory: apoll... |
export * from './IApplication';
export * from './IConfig';
export * from './IDatabaseOption';
export * from './IDatabase';
export * from './IRabbitMQ'; |
import { primaryKey, timeStamp } from 'src/models/utils/generate';
import { MigrationInterface, QueryRunner, Table } from 'typeorm';
export class createUsersTable1648774697276 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.createTable(
new Table... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing';
import * as path from 'path';... |
import { Maybe, objectIsEmpty } from '@dereekb/util';
import { FieldWrapper, FormlyFieldProps, FormlyFieldConfig } from '@ngx-formly/core';
import { map, shareReplay, startWith, switchMap, BehaviorSubject, of } from 'rxjs';
import { Directive, OnDestroy, OnInit } from '@angular/core';
import { AbstractControl } from '@... |
import React, {
ReactElement, useContext, useMemo, useState,
} from 'react';
import { FaRegSmileWink } from 'react-icons/all';
import { Link } from 'react-router-dom';
import { EmptyContent, Table } from '../components';
import { CellProps, ColumnsProps } from '../components/Table';
import {
ITestSchema, OverviewDa... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ru_RU">
<context>
<name>AddressBook</name>
<message>
<location filename="../pages/AddressBook.qml" line="64"/>
<source>Address</source>
<translation>Адреса</translation>
</message>
<message>
... |
<TS language="ko_KR" 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>
<translation>새 주소 만들기<... |
import 'SeedModules.MindPlus/modules/myworks/directives/sidebar';
import 'SeedModules.MindPlus/modules/myworks/directives/workItemContent';
import 'SeedModules.MindPlus/modules/myworks/controllers/home';
import 'SeedModules.MindPlus/modules/myworks/controllers/mymind';
import 'SeedModules.MindPlus/modules/myworks/contr... |
import { useRouter } from 'next/router';
import { IconButton } from '@mui/material';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import styles from './top-navigation-bar-back-button.module.scss';
interface Props {
goBackToPathname: string | null;
isDisplayed: boolean;
}
export default func... |
import {Message} from "../message";
export class VCSRetryNotification extends Message {
public readonly count: number;
static is(input: any) {
return input instanceof VCSRetryNotification;
}
constructor(tid: string, count: number) {
super(tid);
this.count = count;
}
}; |
/**
* XinaBox SL06 extension for makecode
*/
/**
* SL06 block
*/
//% color=#444444 icon="\uf0eb"
//% groups='["Mode", "Light", "Proximity", "Gesture", "Optional"]'
namespace SL06 {
let DIR_NONE = 'none'
let DIR_LEFT = 'left'
let DIR_RIGHT = 'right'
let DIR_UP = 'up'
let DIR_DOWN = 'down'
le... |
import BaseStorageListeners from 'store/baseStorageListeners'
import InsecureModeStorage from 'utils/storage/InsecureModeStorage'
import { InsecureMode } from 'utils/insecureMode/InsecureMode'
import { insecureModeModifyAsync } from 'store/insecureMode/insecureModeActions'
export default class InsecureModeListeners ex... |
<TS language="kk_KZ" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Жаңа адрес енгізу</translation>
</message>
<message>
<source>&New</source>
<translation>Жаңа</translation>
</message>
<messa... |
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2022 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import type { IExtension } from './IExtension';
interface ExtensionExecutor {
on: <T extends IEx... |
import * as React from 'react';
interface LineHintsProps {
hints: number[][]
solveState: boolean[][],
prefix: string
}
export class LineHints extends React.Component<LineHintsProps, {}> {
render() {
const maxLength = this.props.hints.reduce((a, b) => Math.max(a, b.length), 0);
return (
<div clas... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export enum ConflictResolutionMode {
Custom = "Custom",
LastWriterWins = "LastWriterWins",
} |
export * from './EmailSupportSetting';
export { EmailSupportSetting as default } from './EmailSupportSetting'; |
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import * as _ from 'lodash';
import { Logger } from '../../providers/logger/logger';
// providers
import { ConfigProvider } from '../config/config';
import { EmailNotificationsProvider } from '../email-notifications/email-no... |
/**
* @copyright 2009-2019 Vanilla Forums Inc.
* @license GPL-2.0-only
*/
import React from "react";
import { addDecorator } from "@storybook/react";
import Backgrounds from "@library/layout/Backgrounds";
import { ThemeProvider } from "@library/theming/ThemeProvider";
import { Provider } from "react-redux";
import ... |
import mockAxios from 'axios';
import Forms from '../constants/forms';
import Form from './form';
it('will set cancellation filter and necessary included resources', async () => {
const resource = new Form(mockAxios);
const expected = expect(resource.cancellations());
expected.toHaveProperty('filters', {
... |
import { Plugin, WorkFlowContext } from "../../core/WorkflowContext";
import { BundleProducer } from "../../core/BundleProducer";
import { WebIndexPluginClass } from "../../plugins/WebIndexPlugin";
import { IQuantumExtensionParams, QuantumOptions } from "./QuantumOptions";
import { QuantumCore } from "./QuantumCore";
... |
import * as http from 'http-status-codes';
import { Logging, ServerIpcNode, SlackBot } from '@lbt-mycrt/common';
import * as session from '../auth/session';
import { environmentDao, environmentInviteDao as inviteDao } from '../dao/mycrt-dao';
import { HttpError } from '../http-error';
import * as check from '../middl... |
/*
* Copyright (c) BrownBear, 2022-Present. All Rights Reserved.
*
* This file is a part of Tuleap.
*
* Tuleap is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at ... |
import { Connection } from 'typeorm';
import Book from './book.entity';
const BookProviders = [
{
provide: 'BookRepositoryToken',
useFactory: (connection: Connection) => connection.getRepository(Book),
inject: ['DbConnectionToken'],
},
];
export default BookProviders; |
import { Component, EventEmitter, Inject, Input, NgZone, OnChanges, OnDestroy, OnInit, Optional, Output, SimpleChanges } from '@angular/core';
import { AngularFireAuth } from '@angular/fire/compat/auth';
import firebase from 'firebase/compat/app';
import 'firebase/compat/auth';
import * as firebaseui from 'firebaseui';... |
namespace GraduateThesisManager {
export interface GetNextNumberResponse extends Serenity.ServiceResponse {
Number?: number;
Serial?: string;
}
} |
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
import { DeleteUserRequest, DeleteUserResult } from "../models/models_0";
import {
deserializeAws_json1_1DeleteUserCommand,
serializeAws_json1_1DeleteUserCommand,
} from "../protocols/Aws_json1_1";
import { ge... |
import { ApproxStructure, Assertions, Chain, GeneralSteps, Log, Pipeline, UiFinder, Waiter } from '@ephox/agar';
import { TestHelpers } from '@ephox/alloy';
import { UnitTest } from '@ephox/bedrock-client';
import { TinyLoader, TinyUi } from '@ephox/mcagar';
import { SugarBody, SugarElement, Traverse } from '@ephox/sug... |
import { Actor, IAction, IActorArgs, IActorOutput, IActorTest } from "@comunica/core";
import * as RDF from "rdf-js";
/**
* A base actor for dereferencing URLs to quad streams.
*
* Actor types:
* * Input: IActionRdfDereference: A URL.
* * Test: <none>
* * Output: IActorRdfDereferenceOutput: A quad stream.... |
import * as React from 'react';
import * as ReactForm from 'react-form';
import {DataLoader} from '../../../shared/components';
import {Application} from '../../../shared/models';
import {services} from '../../../shared/services';
interface ProjectRolePoliciesProps {
projName: string;
roleName: string;
po... |
/*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
import { Omit } from '@uifabric/utilities';
import { KeyValue } from './portal-models';
export interface MsiIdentity {
principalId: string;
tenantId: string;
type: string;
userAssignedIdentities: KeyValue<KeyValue<string>>;
}
export interface ArmObj<T> {
id: string;
kind?: string;
properties: T;
type?:... |
import { Controller,Get, Post } from '@nestjs/common';
import { CustomerService } from './customer.service'
//import {contr} from '@nestjs/core'
@Controller('customer')
export class CustomerController {
constructor(private customerService: CustomerService){}
} |
import { Button } from './Button';
export { Button }; |
import * as React from 'react';
const bs = require('@src/main.css');
export interface DialogContentProps {
children: React.ReactNode;
}
const DialogContent: React.SFC<DialogContentProps> = ({ children }) => {
return <div className={bs.modalBody}>{children}</div>;
};
export default DialogContent; |
import {Inject, Injectable} from '@angular/core';
import {FileLoaderService} from '@d78ng/file-loader';
import {AnalysisResult, TK_AFTER_PREPOSITION, TK_CONJUNCTION, TK_CONNECTED, TK_EMPTY_LINE, TK_PREPOSITION, TK_PUNCTUATION, Token} from './model/analysis-result';
import {DATA_DICT, DATA_DICTP} from '../../../../src/a... |
import {AdditionalDataHolder, Parsable, ParseNode, SerializationWriter} from '@microsoft/kiota-abstractions';
export class SecurityVendorInformation implements AdditionalDataHolder, Parsable {
/** Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serializatio... |
import { Fields, Theme } from '../types';
const defaultSettings = {
apiKey: '',
theme: 'default' as Theme,
lang: 'en',
appName: '',
showSuggestModification: true,
appURL: '',
countries: ['ca','fr']
}
export function format(first: string, middle: string, last: string): string {
return (first || '') + (... |
import * as React from 'react';
import Dropdown from './Dropdown';
import { ReplaceProps, PropsOf } from './helpers';
interface NavDropdownProps {
id: string;
title: React.ReactNode;
disabled?: boolean;
active?: boolean;
menuRole?: string;
rootCloseEvent?: 'click' | 'mousedown';
bsPrefix?: string;
}
d... |
import * as fs from "fs";
import * as path from "path";
import { DefinePlugin, Configuration, ProvidePlugin, SourceMapDevToolPlugin } from "webpack";
import { APPLICATION_ROOT, PORTAL_ROOT } from "../../globals/build_constants";
import {
BASE_PROJECT_FAVICON_PATH,
BASE_PROJECT_STATIC_FILES,
BASE_PROJECT_TEMPLAT... |
import { SignalType } from '../../context.type'
import { removeAction } from '../actions/removeAction'
import { save } from '../../Data/signals/save'
export const remove: SignalType =
// prepare things to add
[ removeAction
, ...save
] |
export * from '@styled-icons/fa-solid/Donate' |
import express from 'express';
import { HelloController } from './hello.controller';
export class HelloRoutes {
private readonly _router = express.Router();
private controller = new HelloController();
constructor() {
this.routesSetup()
}
get router(): express.Router {
return this._router
}
pr... |
/*
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
mMMMMMMMMMNNNmmNNNMMNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
mmNMMNMMMMNNNN... |
import React from "react";
import { FieldRenderProps } from "react-final-form";
interface IProps
extends FieldRenderProps<string, HTMLInputElement>,
React.HTMLProps<HTMLInputElement> {}
export const TextInput: React.FC<IProps> = ({
input,
placeholder,
meta: { touched, error },
}) => {
return (
<div>... |
app.controller('ModalInstanceController', function ($scope, $timeout, $modalInstance, items, name) {
$scope.signboardName = "";
$scope.warningText = "";
$scope.ok = function () {
$scope.signboardName = $scope.signboardName.trim()
if ($scope.signboardName !== "") {
$modalInstanc... |
import { BaseData } from '@shared/models/base-data';
import { DashboardId } from '@shared/models/id/dashboard-id';
import { TenantId } from '@shared/models/id/tenant-id';
import { ShortCustomerInfo } from '@shared/models/customer.model';
import { Widget } from './widget.models';
import { Timewindow } from '@shared/mode... |
import { useEffect, useRef, useState } from 'react';
import Image from 'next/image';
import Slider from 'rc-slider';
import 'rc-slider/assets/index.css';
import { usePlayer } from '../../contexts/PlayerContext';
import styles from './styles.module.scss';
import { convertDurationToTimeString } from '../../utils/conver... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import {
EuiBadge,
EuiHealth,
EuiIconTip,
EuiLink,
EuiTableActionsC... |
export interface DataUrlInfo {
mimeType: string
data: string
isBase64: boolean
}
const PATTERN = /^data:(?<mimeType>[^;,]*)(?<isBase64>;base64)?,(?<data>.*)$/
export function parse(dataUrl: string): DataUrlInfo | null {
const match = dataUrl.match(PATTERN)
if (!match || !match.groups) return null
return {... |
import type * as pts from "../../types/recordTypes";
export declare const getLastTenConvictionBatches: () => pts.ParkingTicketConvictionBatch[];
export default getLastTenConvictionBatches; |
import { ISiteMetadata, ETorrentStatus } from '@/shared/types'
import Sizzle from 'sizzle';
export const siteMetadata: ISiteMetadata = {
name: 'SkyeySnow',
aka: ['天雪'],
timezoneOffset: '+0800',
url: 'https://www.skyey2.com/',
legacyUrl: [
'https://skyeysnow.com/'
],
tags: ['动漫'],
search: {
keyw... |
/**
* SPDX-License-Identifier: Apache-2.0
*/
'use strict';
import * as FabricCAServices from 'fabric-ca-client';
import { Channel, Client, Commit, Committer, Endorsement, Endorser, Endpoint, Eventer, EventService, IdentityContext, ProposalResponse, Query, User } from 'fabric-common';
import * as fs from 'fs';
impor... |
import {ColumnOptions, getMetadataArgsStorage} from "../../";
import {InheritanceMetadataArgs} from "../../metadata-args/InheritanceMetadataArgs";
/**
* Sets for entity to use table inheritance pattern.
*/
export function TableInheritance(options?: { pattern?: "STI"/*|"CTI"*/, column?: string|ColumnOptions }): Class... |
export default {
SEND_EMAIL_SUCCESS: 'SEND_EMAIL_SUCCESS',
} |
/**
* Copyright 2018 OpenCensus Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
import { InputAdornment, TextField, TextFieldProps } from "@material-ui/core";
import { InputProps } from "@material-ui/core/Input";
import { FormChange } from "@saleor/hooks/useForm";
import { makeStyles } from "@saleor/macaw-ui";
import React, { useMemo } from "react";
import { FormattedMessage } from "react-intl";
... |
/// <reference types="react" />
declare const FileUpload: import("react").ForwardRefExoticComponent<import("../Icon").IconProps & import("react").RefAttributes<SVGElement>>;
export default FileUpload; |
import { Component, OnInit, Inject } from '@angular/core';
import { _HttpClient } from '@delon/theme';
import { zip } from 'rxjs';
import { Monitor } from 'src/app/shared/domain/monitor';
import { NzMessageService } from 'ng-zorro-antd/message';
import { DA_SERVICE_TOKEN } from '@delon/auth';
import { Router } from '@a... |
/** @hidden */
export declare class _DevTools {
static WarnImport(name: string): string;
} |
const COPIED_CLASS = 'local__instruction__command--copied';
export class LocalPartial {
instructionContainer: HTMLElement | null;
inputTimeout?: number;
constructor(container: HTMLElement) {
this.instructionContainer = container.querySelector(
'.local__instruction__command'
);
this.bindCommand... |
import { Injectable } from '@angular/core';
import { DaffGetCategoryResponse } from '@daffodil/category';
import { DaffMagentoProductsTransformer } from '@daffodil/product/driver/magento';
import { MagentoCompleteCategoryResponse } from '../models/public_api';
import { DaffMagentoCategoryPageConfigTransformerService ... |
import { logs } from "@cardsgame/utils"
import { Command } from "../command"
import type { Room } from "../room"
import type { State } from "../state"
export class Sequence extends Command {
/**
* @param name name this Sequence (useful for debugging)
* @param subCommands
*/
constructor(name: string, subC... |
#!/usr/bin/env node -r ./babel-register
import { join as joinPath, parse } from "path";
import { readFile, writeFile } from "fs-extra";
import { inspect } from "util";
import remark from "remark";
import html from "remark-html";
import { format } from "prettier/standalone";
import { sortBy } from "lodash";
import pret... |
import {DefaultTheme} from "styled-components";
import {dark as darkAlert} from "../ui/shared/Alert/theme";
import {dark as darkCard} from "../ui/shared/Card/theme";
import {dark as darkRadio} from "../ui/shared/Radio/theme";
import {dark as darkToggle} from "../ui/shared/Toggle/theme";
import {dark as darkModal} from ... |
import {execSync, spawnSync} from 'child_process';
import * as fs from 'fs-extra';
import * as path from 'path';
// command line flags
const DEBUG = process.argv.slice(2).indexOf('--debug') !== -1;
const REBUILD = process.argv.slice(2).indexOf('--rebuild') !== -1;
// build path
const ROOT_FOLDER = path.join(__dirname... |
import React, { memo, useContext, useState } from "react";
import { Container, withApp } from "react-pixi-fiber";
import { MainWrapper } from "../environment/MainWrapper";
import Road from "../game/Road";
import { ResourcesContext } from "../../constants/ResourcesContext";
import MainCar from "../game/MainCar";
import ... |
/**
*
*
* OpenAPI spec version: 20200801
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ... |
import React from "react";
import "./App.css";
import Gameboard from "./Gameboard/Gameboard";
function App() {
return (
<div className="App">
<Gameboard></Gameboard>
</div>
);
}
export default App; |
import * as React from 'react';
import { Trans, useTranslation } from 'react-i18next';
import { PlusCircleIcon } from '@patternfly/react-icons';
import { useOpenshiftVersion } from '@console/shared/src/hooks/version';
import { useK8sWatchResource } from '@console/internal/components/utils/k8s-watch-hook';
import { K8sR... |
/*
* @license Apache-2.0
*
* Copyright (c) 2021 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
import { Component, Prop, Method, Event, EventEmitter, State} from '@stencil/core';
import { GisViewerProps, Coordinate, WktShape } from '../../models/apiModels';
import { MAX_NORTH_EAST, MAX_SOUTH_WEST } from './classes/statics';
import { MapContainer } from './classes/MapContainer/MapContainer';
import _ from 'lodash... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { ProjectPageRoutingModule } from './project-routing.module';
import { ProjectPageComponent } from './project-page.component';
impo... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { AccessToken } from "@azure/core-auth";
import { TokenCredentialOptions } from "../client/identityClient";
import { credentialLogger, formatError } from "../util/logging";
import { ChainedTokenCredential } from "./chainedTokenCredentia... |
/*
Copyright 2020-2022 University of Oxford
and Health and Social Care Information Centre, also known as NHS Digital
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/licens... |
import { _BucketLoggingStatus } from "./_BucketLoggingStatus";
import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* PutBucketLoggingInput shape
*/
export interface PutBucketLoggingInput {
/**
* <p/>
*/
Bucket: string;
/**
* <p/>... |
/*
* MIT License
*
* Copyright (c) 2021 Uriel Rivas
*
* 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, copy, mo... |
/*
* Copyright 2021 Chaos Mesh Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
import getPitch from '../../getPitch';
import Note from '../../Note';
import {
substractPerfectFourth,
isPerfectFourth,
addPerfectFourth,
addDiminishedFourth,
substractDiminishedFourth,
isDiminishedFourth,
addAugmentedFourth,
substractAugmentedFourth,
isAugmentedFourth,
} from '../fourth';
describe('... |
declare namespace ModbusRTU {
interface IModbusRTU {
new(port?: any): IModbusRTU;
open(callback: Function): void;
close(callback: Function): void;
writeFC1(address: number, dataAddress: number, length: number, next: NodeStyleCallback<ReadCoilResult>): void;
writeFC2(address: number, dataAddress:... |
import { IStandardHeader } from './set/standard_header'
import { IParties } from './set/parties'
import { IPreAllocGrp } from './set/pre_alloc_grp'
import { IDisplayInstruction } from './set/display_instruction'
import { ITrdgSesGrp } from './set/trdg_ses_grp'
import { IInstrument } from './set/instrument'
import { IFi... |
import { Notifier } from 'coc-helper';
import { Explorer } from '../explorer';
import { BaseTreeNode, ExplorerSource } from '../source/source';
import { RendererExplorer, rendererExplorerSymbol } from './rendererExplorer';
export class ViewExplorer {
isHelpUI: boolean = false;
currentLineIndex = 0;
[rendererExp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.