text stringlengths 10 953k |
|---|
export type ISODateTime = string |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../../types";
import * as utilities from "../../utilities";
/*... |
import React, {
createContext, ComponentType as CT, useRef, useContext, useCallback, MutableRefObject,
ComponentType,
} from 'react';
import { useFormState, useFormApi } from 'informed';
import { pick } from 'lodash';
import { designable, DesignableComponentsProps } from '@bodiless/fclasses';
import { ContextMenuFo... |
import { MapiClient } from "./mapiClient";
import { Page } from "../models/page";
import { Subscription } from "../models/subscription";
import { Product } from "../models/product";
import { SubscriptionContract, SubscriptionState } from "../contracts/subscription";
import { ProductContract } from "../contracts/product... |
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
export interface CardAction {
event: string;
name: string;
}
export interface CardLinkAction {
link: string;
name: string;
}
export interface Card {
header?: string;
title?: string;
textBold?: string;
text?: Array<string>... |
export interface Entity {
id: string;
name: string;
type: string;
phone?: string;
phoneNumbers?: { phoneNumber: string; phoneType: string }[];
} |
import ClickListener from "carbon-components-react/lib/internal/InnerClickListener";
import empty from "empty";
import PopperJS from "popper.js";
import React, { Ref } from "react";
import ReactDOM from "react-dom";
import styled from "react-emotion";
import { Manager, Popper, Reference } from "react-popper";
// Addin... |
export enum EToastSeverities {
SUCCESS = 'Success',
WARN = 'Warn',
ERROR = 'Error',
INFO = 'Info'
} |
import { MapCullableTextLabelManager } from '../MapCullableTextLabel';
import { MapLayerProps } from '../MapLayer';
import { MapCanvasLayerCanvasInstance } from './MapCanvasLayer';
import { MapSyncedCanvasLayer } from './MapSyncedCanvasLayer';
/**
* Component props for MapTextLayer.
*/
export interface MapTextLayerP... |
import { DeclarationReflection } from 'typedoc';
import { Component, ConverterComponent } from 'typedoc/dist/lib/converter/components';
import { Context } from 'typedoc/dist/lib/converter/context';
import { Converter } from 'typedoc/dist/lib/converter/converter';
import { Reflection, Decorator } from 'typedoc/dist/lib/... |
/**
* Copyright 2020 Splunk, 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... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
import { Node } from '../node';
import { Statement } from '.';
import { LabelIdentifier } from '../expressions/labelIdentifier-expr';
export interface LabelledStatement extends Node {
readonly label: LabelIdentifier;
readonly labelledItem: Statement;
}
export declare function createLabelledStatement(label: Labe... |
export type Unsubscribe = () => void;
export interface Connection {
isOpen(): boolean;
open(): Promise<void>;
write(buffer: Buffer): Promise<void>;
subscribe(fn: (buffer: Buffer) => void): Unsubscribe;
close(): Promise<void>;
} |
import { Meter } from '@opentelemetry/metrics';
import { BoundCounter, Counter, ValueRecorder } from '@opentelemetry/api';
import defaultPrometheusMeter from './defaultPrometheusMeter';
class DefaultServiceMetrics {
// noinspection MagicNumberJS
private readonly processingTimeInSecsBuckets = [
0.001,
0.005... |
export interface Rect {
key: string | number;
left: number;
top: number;
width: number;
height: number;
rotate?: number;
[x: string]: any;
}
export interface BoundingRect {
left: number;
top: number;
right: number;
bottom: number;
width: number;
height: number;
}
export type LineType = "hori... |
// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { Recipe } from '..'
import { join } from 'path'
// @ts-expect-error
import scaffe from 'scaffe'
export const vanillajs: Recipe = {
descriptiveName: 'Vanilla.js',
sho... |
import React from "react";
import styled from "styled-components";
import { DocRenderer } from "../../types";
const MSDocRenderer: DocRenderer = ({ mainState: { currentDocument } }) => {
if (!currentDocument) return null;
return (
<Container id="msdoc-renderer">
<IFrame
sandbox="allow-same-origi... |
export * from './beforeUnloadTracker';
export * from './cookies';
export * from './customCss';
export * from './customFont';
export * from './email';
export * from './encoders';
export * from './errors';
export * from './getClerkQueryParam';
export * from './getClerkQueryParam';
export * from './hex';
export * from './... |
import { BuiltinName } from '../../builtins';
import { BOOL_TYPE, CHARACTER_TYPE, NUMBER_TYPE, STRING_TYPE } from '../types/common';
import { arrayType, functionType, TupleParams, tupleType, typeVar } from '../types/builders';
import { Scheme } from '../types/scheme';
import { functionScheme } from './helpers';
import ... |
import Cookies from 'js-cookie';
import { MESSAGE_COOKIE } from './common';
export const onDisconnect = (): void => Cookies.remove(MESSAGE_COOKIE); |
import { Menu, Transition } from '@headlessui/react';
import { UserCookie } from '@Types/user';
import userClient from '@utils/user/client';
import Image from 'next/image';
import { Fragment, useEffect, useState } from 'react';
import DropdownItem from './DropdownItem';
import Link from 'next/link';
export const Dropd... |
/// <reference path="../typings/index.d.ts"/>
import {Component, ModuleWithProviders} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {MainComponent} from "./app/main";
@Component({
selector: 'rootApp',
template: require('./root.html')
})
export class AppComponent {
}
const ro... |
/***************************************************************************************************
* Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
*/
import '@angular/localize/init';
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You ... |
import forwardToMain, {
forwardToMainWithParams,
} from './middleware/forwardToMain';
import forwardToRenderer from './middleware/forwardToRenderer';
import triggerAlias from './middleware/triggerAlias';
import createAliasedAction from './helpers/createAliasedAction';
import replayActionMain from './helpers/replayAct... |
/* eslint-env jasmine */
import _ from 'lodash';
import Immutable from 'immutable';
import {proto} from './constants';
import * as utils from './utils';
import * as storage from './storage';
import * as testUtils from './testUtils';
import * as siProtocol from './siProtocol';
const json2date = (str: string): Date|und... |
/**
* Route handler method Decorator. Defines a template to be rendered by the controller.
*
* For example: `@Render('index')`
*
* @param template name of the render engine template file
*
* @see [Model-View-Controller](https://docs.nestjs.com/techniques.mvc)
*
* @publicApi
*/
export declare function Render(... |
export {
default as useIntersectionObserver,
IntersectionObserverHookArgs,
IntersectionObserverHookRefCallback,
IntersectionObserverHookRefCallbackNode,
IntersectionObserverHookResult,
IntersectionObserverHookRootRefCallback,
IntersectionObserverHookRootRefCallbackNode,
} from './useIntersectionObserver';... |
import { UniqueEntityID } from '@core/shared/unique-entity-id';
import { AggregateRoot } from '@core/shared/aggregate-root';
import {
UserDeckShouldHaveUniqueNameRule,
UniqueDeckChecker,
} from './rules/user-deck-should-have-unique-name.rule';
import { DeckTagsCannotBeEmptyRule } from './rules/deck-tags-cannot-be-e... |
import {Component, OnInit} from '@angular/core';
import {TradeNoticeService} from '../../../../common/services/request/trade-manage/trade-notice.service';
import {TradeBatchSyncModel} from '../../../../common/model/trade-manage/trade-batchSync.model';
import {FormBuilder, FormGroup, Validators} from '@angular/forms';
i... |
/**
* Multiply a <$ columns $> by <$ rows $> <$ matrix_type_name $> buffered matrix with a scalar and put the result into another buffer.
*
* @param leftBuffer - Buffer that contains the left operand matrix.
* @param leftBufferOffset - Offset to apply when we read the first buffer.
* @param scalar - Scalar to use as ri... |
import { NETWORK } from "./../../../utils/endpoints";
import type { NextApiRequest, NextApiResponse } from "next";
import { PublicKey } from "@solana/web3.js";
import { programs, Connection } from "@metaplex/js";
export type ItemData = {
key: string;
amount: number;
metadata?: programs.metadata.Metadata;
};
ex... |
export type StatGroup = { [key: string]: Stat };
export type Stat = number | StatGroup;
/**
* Statistics around schemas in files.
*/
export interface SchemaStats extends StatGroup {
namedSchema: number;
namedSchemaInline: number;
anonymous: number;
total: number;
}
export interface OperationStats extends St... |
import React from 'react';
import Typography from '@material-ui/core/Typography';
export const PageTitle = React.memo(PageTitleComponent);
type Props = {
title: string;
};
/**
* ページのタイトル
* @param props
* @constructor
*/
function PageTitleComponent(props: Props) {
return (
<Typography variant="h6" gutterBo... |
// Copyright (C), Siemens AG 2017
import * as chai from "chai";
import * as debug from "debug";
import "url-search-params-polyfill";
import { BrowserAuth, CredentialAuth, MindSphereSdk, UserAuth } from "../src";
const log = debug("mindconnect-agent-test");
chai.should();
describe("[SDK] using different auths @s4f", ()... |
import { Client, MessageEmbed, Collection, Message, User } from "discord.js";
import { Model, Document } from "mongoose";
import { Parsed } from "parse-ms";
type MessageJSONEmbedArgs = [
{
key:
| keyof typeof import("../Base/json-schema/replacers.json")["EMBED"]
| keyof typeof import("../Base/json-sc... |
/**
*
* App
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*/
import * as React from 'react';
import { Helmet } from 'react-helmet-async';
import { BrowserRouter } from 'react-router-dom';
import { GlobalStyle } f... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { IntroComponent } from './intro.component';
describe('IntroComponent', () => {
let component: IntroComponent;
let fixture: ComponentFixture<IntroComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
decla... |
import { expect } from 'chai';
import { Item } from '../../_MainSource/CoreEngine/Structures/RPG/Item/Item';
describe("ItemTests", function()
{
it("Instantiate Item", function()
{
let newItem = new Item();
expect(newItem != null).to.be.true;
});
}); |
//@ts-ignore
import {getSite} from '/lib/xp/portal';
const NO_SITE = "#NO_SITE_CONTEXT#";
export function getSiteLocalCacheKey(rawKey :string) {
const siteKey = (getSite() || {})._id || NO_SITE;
return `${siteKey}_*_${rawKey}`;
} |
import { KsqlDBClient } from '../src/ksqldb-client';
describe("ksqlDB Client", () => {
let client: KsqlDBClient;
beforeEach(() => {
client = new KsqlDBClient("http://localhost:8088");
})
describe('Info endpoint', () => {
it("should return the state of the cluster", (done) => {
client.querySt... |
import BackgroundFetch from 'react-native-background-fetch';
import {AppRegistry, Platform} from 'react-native';
import {HMAC_KEY, RETRIEVE_URL, SUBMIT_URL, TEST_MODE} from 'env';
import {FilteredMetricsService} from 'services/MetricsService';
import ExposureNotification from 'bridge/ExposureNotification';
import {publ... |
import { Category, HintMetadata, HintScope } from 'hint';
import { getMessage } from '../i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.development,
description: getMessage('importHelpers_description', 'en'),
name: getMessage('importHelpers_name', 'en')
},
/*... |
export default {
fileName: `/lib.dom.d.ts`,
// File text is copyright Microsoft Corporation and is distributed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
}; |
import { castSchema, ValidationError, BuildSchemaError } from '../lib';
import { registerType } from '../lib/schema/helpers';
import { Schema } from '../lib/schema/schema';
import { IOttomanType } from '../lib/schema/types';
describe('Schema Types', () => {
describe('Schema Array Types', () => {
test('should cre... |
export { EasyPolling } from "./EasyPolling" |
import { ICard, IColumn } from 'interfaces';
/**
* Adds selected card into the target column.
* @param targetColumn Target column
* @param cards Card to move into
* @param allColumns Copy of all columns
*/
export const addCardsToColumn = (targetColumn: IColumn, cards: ICard[], allColumns: IColumn[]) => {
cons... |
export const Config = {
processes: [
{
name: 'processName',
alertThreshold: 5,
alertPeriod: 600,
slackChannel: 'https://hooks.slack.com/services/xxx/xxx/xxx',
},
],
}; |
import '@sourcegraph/shared/src/polyfills'
import React from 'react'
import { render } from 'react-dom'
import { EmbeddedWebApp } from './EmbeddedWebApp'
// It's important to have a root component in a separate file to create a react-refresh boundary and avoid page reload.
// https://github.com/pmmmwh/react-refresh... |
import { Document } from 'mongoose';
import { Product } from '../../product/interfaces/product.interface';
import { OrderStatusesConstants } from '../constants/order-statuses.constants';
import { Receiver } from '../../receiver/interfaces/receiver.interface';
export class Order extends Document {
ownerId: string;
st... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eo" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About beonpush</source>
<translation type="unfinished"/>
</message>
<message>
<location line=... |
export const switch16F: string; |
/* eslint no-magic-numbers: ["error", { "ignore": [4,5,11,12] }] */
import * as vscode from 'vscode';
import { EMode } from '../../globalEnum';
// const enum EMode {
// ahkFunc = 'Function',
// ahkClass = 'Class',
// ahkMethod = 'Method',
// }
// enum SymbolKind {
// Class = 4,
// Method = 5,
// ... |
import { style } from '@vanilla-extract/css';
import { vars } from 'degen';
export const cardContainer = style({
transition: 'all .3s',
boxSizing: 'border-box',
borderWidth: 2,
borderColor: 'transparent',
':hover': {
borderColor: vars.colors.foregroundSecondary
}
}); |
import { convertSemicolon } from "../semicolon";
describe(convertSemicolon, () => {
test("conversion with always", () => {
const result = convertSemicolon({
ruleArguments: ["always"],
});
expect(result).toEqual({
rules: [
{
ruleAr... |
import * as ec2 from '@aws-cdk/aws-ec2';
import * as cxschema from '@aws-cdk/cloud-assembly-schema';
import { Construct, ContextProvider, Duration, Lazy, Resource, Stack } from '@aws-cdk/core';
import { HostedZoneProviderProps } from './hosted-zone-provider';
import { HostedZoneAttributes, IHostedZone } from './hosted-... |
/**
* @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
*/
/// <amd-module name="@angular/cdk/schematics/ng-update/migrations/attribute-selectors" />
import * as ts from 'typesc... |
import * as sarif from 'sarif';
import { ResolvableLocationValue } from 'semmle-bqrs';
/**
* Only ever show this many results per run in interpreted results.
*/
export const INTERPRETED_RESULTS_PER_RUN_LIMIT = 100;
/**
* Only ever show this many rows in a raw result table.
*/
export const RAW_RESULTS_LIMIT = 1000... |
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
/* eslint-disable max-len */
import { strict as assert } from "assert";
import { SinonFakeTimers, useFakeTimers } from "sinon";
import { concatGarbageCollectionStates } from "@fluidframework/garbag... |
import React from 'react';
import { useNavigate } from 'react-router';
import { Trans } from '@lingui/macro';
import { AlertDialog, useOpenDialog } from '@hydrangea/core';
import type PlotNFT from '../../types/PlotNFT';
import usePlotNFTDetails from '../../hooks/usePlotNFTDetails';
type Props = {
nft: PlotNFT;
chi... |
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
export { useModal, IUseModalProps, IUseModalReturnValue } from './useModal';
export { ModalContainer, IModalContainerProps } from './ModalContainer'; |
export const metaData = {
title: '水無瀬のプログラミング日記',
description: 'プログラミング周りのメモ',
author: '@tminasen',
domain: 'https://tminasen.dev',
githubUrl: 'https://github.com/Tetsuya-Minase/',
ogpImage: '/images/ogp.png',
twitterIcon: '/images/TwitterSocialIcon.png',
githubIcon: '/images/GithubIcon.png',
} as const... |
// Copyright 2021 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 ... |
import { Dictionary } from '../model';
function workaroundForRDFXmlParser(body: string) {
// For some strange reason we've encountered xml parser errors
// when parsing rdf/xml file with Collection tag.
// As I remember, file came from x3c Ontology
// and this workaround helps to get file through xml p... |
import { Action, createReducer, on } from '@ngrx/store';
import { SearchResult } from '../../applications/models/search.model';
import * as fromActions from '../actions/humantasks.actions';
import { HumanTaskDef } from '../models/humantaskdef.model';
import { HumanTaskInstance } from '../models/humantaskinstance.model'... |
'use strict';
// ------------------------------------------------------------------------
// Copyright (c) 2018-2022 Alexandre Bento Freire. All rights reserved.
// ------------------------------------------------------------------------
import { um } from './utilitymanager';
import { ep } from './expressionprocessor... |
import events = require('@aws-cdk/aws-events');
import lambda = require('@aws-cdk/aws-lambda');
import cdk = require('@aws-cdk/core');
import targets = require('../../lib');
const app = new cdk.App();
const stack = new cdk.Stack(app, 'lambda-events');
const fn = new lambda.Function(stack, 'MyFunc', {
runtime: lamb... |
import { kea } from 'kea'
import { router } from 'kea-router'
import api from 'lib/api'
import { toast } from 'react-toastify'
import { personsLogicType } from 'types/scenes/persons/personsLogicType'
import { PersonType } from '~/types'
import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
interface PersonPagina... |
export class TableRowCard {
private title : string;
private cardId : number;
private elementCount : number;
constructor(mainResponse : any, elementCount : number) {
this.title = mainResponse.title;
this.cardId = mainResponse.courseId;
this.elementCount = elementCount;
}
... |
import React, { useMemo, useState } from 'react';
import { boolean } from '@storybook/addon-knobs';
import { createEditor } from 'slate';
import { withHistory } from 'slate-history';
import { Slate, withReact } from 'slate-react';
import {
decoratePreview,
EditablePlugins,
MarkdownPreviewPlugin,
ParagraphPlugin... |
import { defineMessage } from '@lingui/macro';
import { WalletType } from '@chia/api';
const WalletName = {
[WalletType.STANDARD_WALLET]: defineMessage({
message: 'Standard Wallet',
}),
[WalletType.RATE_LIMITED]: defineMessage({
message: 'RL Wallet',
}),
[WalletType.ATOMIC_SWAP]: defineMessage({
... |
/* eslint-disable @typescript-eslint/naming-convention */
import { TemplateUsageMeta } from './glimmer-plugin-card-template';
// import ETC from 'ember-source/dist/ember-template-compiler';
// const { preprocess, print } = ETC._GlimmerSyntax;
// @ts-ignore
import classPropertiesPlugin from '@babel/plugin-proposal-clas... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AddContactComponent } from './add-contact.component';
describe('AddContactComponent', () => {
let component: AddContactComponent;
let fixture: ComponentFixture<AddContactComponent>;
beforeEach(async(() => {
TestBed.configure... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import {
Activity,
Attachment,
TeamsActivityHandler,
TurnContext,
FileInfoCard,
FileConsentCard,
FileConsentCardResponse
} from 'botbuilder';
export class FileUploadBot extends TeamsActivityHand... |
import { Injectable } from '@angular/core';
import { Storage } from './Storage';
import { Router } from '@angular/router';
@Injectable()
export class AuthService {
constructor(
private storage: Storage,
private router: Router
) { }
Logout() {
this.storage.RemoveToken();
this.storage.RemoveCurrentUser();
... |
import { Module } from '@nestjs/common';
import { AuthModule } from './auth/auth.module';
import { CoreModule } from './core/core.module';
import { FolderModule } from './folder/folder.module';
import { TypeOrmModule } from '@nestjs/typeorm';
@Module({
imports: [
TypeOrmModule.forRoot({
type: 'sqlite',
... |
/// <reference types="react" />
export declare function createRipple<T extends HTMLButtonElement | HTMLAnchorElement | HTMLDivElement>(event: React.MouseEvent<T, MouseEvent>, color: string): void;
export declare function createRippleFromElement<T extends HTMLButtonElement | HTMLAnchorElement | HTMLDivElement>(element: ... |
import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
import { QueueComponent } from './queue/queue.component';
import { MessageComponent } from './message/message.component';
import { BrokerComponent } from './broker/broker.component';
import { MessageDet... |
import { CanActivate, ExecutionContext, Injectable, Logger } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import * as jwt from 'jsonwebtoken';
@Injectable()
export class AuthorizationGuard implements CanActivate {
constructor(private readonly reflector: Reflector) {}
async canActivate(con... |
import React, { useContext, useEffect, useState } from "react";
import { Button, message, Popconfirm, Space, Table } from "antd";
import { ImportOutlined, PlusOutlined } from "@ant-design/icons/lib";
import { ColumnProps } from "antd/es/table";
import VulContext from "../../../store/vul/store";
import CustomColumns fro... |
import React from 'react';
import { SVGIconProps } from '../createIcon';
export declare const OptinMonsterIconConfig: {
name: 'OptinMonsterIcon',
height: 512,
width: 576,
yOffset: 0,
xOffset: 0,
transform: ''
};
export declare const OptinMonsterIcon: React.ComponentClass<SVGIconProps>;
export default OptinM... |
import { Context } from './context';
import Logger from './logger';
import { EventModelApiFactory } from './model_api';
import { EmptyModel, Event } from '@alice/alice-common/models/alice-model-engine';
import { EventCallback } from '@alice/alice-common/callbacks';
export type CallbacksList<T extends EmptyModel> = Ev... |
import { Component } from '@angular/core';
@Component({
selector: 'dpdcv',
template: `
<h1>{{title}}</h1>
<nav>
<a routerLink="/dashboard" routerLinkActive="active">Dashboard</a>
<a routerLink="/vitals" routerLinkActive="active">Vitals</a>
</nav>
<router-outl... |
export { TextContent } from './text-content.component'
export type { TextContentProps } from './text-content.component' |
import { Component, OnInit } from '@angular/core';
import { FormGroup, FormControl, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { AuthService } from '../../services/auth.service';
import { User } from '../../models/user.model';
import { FlashMessagesService } from 'angular2-flas... |
import { _StageKey } from "./_StageKey";
import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* <p>Request to create an <a>ApiKey</a> resource.</p>
*/
export interface CreateApiKeyInput {
/**
* <p>The name of the <a>ApiKey</a>.</p>
*/
... |
// Type definitions for winston
// Project: https://github.com/flatiron/winston
// Definitions by: bonnici <https://github.com/bonnici>, Peter Harris <https://github.com/codeanimal>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Imported from: https://github.com/soywiz/typescript-node-definition... |
import React, { useCallback, useState } from "react";
import { useDropzone } from "react-dropzone";
import { FiUpload } from "react-icons/fi";
import "./styles.css";
interface Props {
onFileUploaded: (file: File) => void;
}
const Dropzone: React.FC<Props> = ({ onFileUploaded }) => {
const [selectedFileUrl, setSe... |
import { expect } from 'detox';
import { WALLETS_WITH_COINS } from '../../helpers/consts';
import { isBeta } from '../../helpers/utils';
import app from '../../pageObjects';
import steps from '../../steps';
const DATA_FOR_TRANSACTIONS = {
DEFAULT_VALUE: 'Amount',
AMOUNT_TO_RECEIVE: { INTEGER: '10', DECIMAL: '0.01... |
/*
* Copyright 2020 The Backstage 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 ... |
/*
* This file is licensed under the MIT License and is part of the 'discord-bot' project.
* Copyright (c) 2019 Daniel Riegler
*
* 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 ... |
import React from 'react'
import { StyledIcon, StyledIconProps } from '@styled-icons/styled-icon'
export interface IconProps extends StyledIconProps {
component: StyledIcon
color?: string;
className?: string;
}
const Icon: React.FC<IconProps> = ({ component, children, ...restProps}) => {
const IconCom... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About DDirham</source>
<translation>बिटकोइन के संबंध में</translation>
... |
/**
* @file Frigate 军舰
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime';
export default IconWrapper(
'frigate',
false,
(h: IconHelper, props: ISvgIconProps) => (
<svg
... |
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
@InputType()
export class ProfileCountAggregateInput {
@Field(() => Boolean, { nullable: true })
id?: true;
@Field(() => Boolean, { nullable: true })
userId?: true;
@Field(() => Boolean, { nullable: true })
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr_CA" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About LitecoinGreen</source>
<translation>Au sujet de LitecoinGreen</translation>
</message>
<mess... |
// Customizing this Dialog in order to make the slide up/down the default transition
/*
TODO: Look into error: Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more abou... |
import { DEFAULT_FONT_FAMILY } from '@pintora/core'
import dedent from 'dedent'
export { dedent, DEFAULT_FONT_FAMILY } |
import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class AlertService {
private defMsg = new BehaviorSubject<string>('Default Error Message');
private defIcon = new BehaviorSubject<string>('info');
currMsg = this.defMsg.asObservable... |
import { useState, useRef, useEffect } from 'react'
export default function useAngleUpdater(
currentValue: number,
): [number, (number) => void] {
const angleRef = useRef(0)
const setAngleRef = (angleVal: number): void => {
angleRef.current = angleVal
}
const [angle, setAngle] = useState(0)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.