text stringlengths 10 953k |
|---|
export enum TsspSeriesStyle {
line = "line",
lollipop = "lollipop"
} |
import { Result } from "arg";
import { prompt } from "enquirer";
import { ArgumentsWithAliases } from "../cli-arguments";
export type MultipleChoiceOptions<T> = {
[key: string]: T;
};
export abstract class Argument<T> {
abstract parse(args: Result<ArgumentsWithAliases>): Promise<T>;
abstract resolve(args: Resul... |
import axios from "axios";
import { PROXAY_HOST } from "./config";
import { setupServers } from "./setup";
import {
BINARY_PATH,
BINARY_RESPONSE,
SIMPLE_TEXT_PATH,
SIMPLE_TEXT_RESPONSE,
UTF8_PATH,
UTF8_RESPONSE
} from "./testserver";
describe("Replay", () => {
setupServers({ mode: "replay" });
test("r... |
/**
* @license
* Copyright (c) 2020 Google Inc. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* Code distributed by Google as part of this project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io... |
import { PassportStrategy } from '@nestjs/passport';
import { Strategy } from 'passport-local';
import { AuthService } from './auth.service';
import { Injectable, UnauthorizedException } from '@nestjs/common';
@Injectable()
export class LocalStrategy extends PassportStrategy(Strategy) {
constructor(private authServi... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
import {Command} from '@oclif/command';
import {args} from '@oclif/parser';
import fs from 'fs-extra';
import path f... |
import {
Flow,
isInterfaceTypeAnnotation,
TSInterfaceDeclaration,
TSTypeAliasDeclaration,
tsTypeAliasDeclaration,
TypeAlias,
} from '@babel/types';
import { NodePath } from '@babel/traverse';
import { ConverterState } from '../types';
import { convertFlowType } from './flow-type';
import { convertInterface... |
/*
* 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 { combineReducers } from 'redux';
import { initialLocalState, localRe... |
import React from 'react';
import HelloWorld from 'components/HelloWorld';
import './App.css';
const App = (): JSX.Element => <HelloWorld />;
export default App; |
import express, { Request, Response } from 'express';
let app = require('./server').default;
if (module.hot) {
module.hot.accept('./server', () => {
console.log('Server reloading...');
try {
app = require('./server').default;
} catch (error) {
// Do nothing
}
});
}
express()
.use((... |
/// <reference types="types-for-adobe/illustrator/2015.3"/>
/// <reference types="../../ISharedData"/>
declare const sharedDate: ISharedData
interface PathItems {
/**
* Create an elliptical path item.
* @param top The ellipse's bounds.
* @param left The ellipse's bounds.
* @param width The ellipse's bou... |
import { ParserPlugin } from '@babel/parser'
import * as bt from '@babel/types'
import { NodePath } from 'ast-types'
import recast from 'recast'
import Map from 'ts-map'
import buildParser from './babel-parser'
import Documentation from './Documentation'
import { ParseOptions } from './parse'
import cacher from './util... |
import * as React from 'react'
import * as Kb from '../../../common-adapters'
import * as Styles from '../../../styles'
// TODO: This is now desktop-only, so remove references to isMobile.
export type Props = {
contents: string
isSelected: boolean
keybaseUser: string
name: string
onSelect: () => void
unre... |
/* Mandarin locals for vue-tailwind */
import { CustomLocale } from '../types/locale';
export const MandarinTraditional: CustomLocale = {
weekdays: {
shorthand: ['้ฑๆฅ', '้ฑไธ', '้ฑไบ', '้ฑไธ', '้ฑๅ', '้ฑไบ', '้ฑๅ
ญ'],
longhand: [
'ๆๆๆฅ',
'ๆๆไธ',
'ๆๆไบ',
'ๆๆไธ',
'ๆๆๅ',
'ๆๆไบ',
'ๆๆๅ
ญ',
... |
import { expect } from 'chai';
describe('TypeScript', () => {
describe('Operator', () => {
it('LessThanWhenLessThan', () => {
expect(9 < 10).to.be.true;
});
});
}); |
import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* PutAccountSettingInput shape
*/
export interface PutAccountSettingInput {
/**
* <p>The Amazon ECS resource name for which to modify the account setting. If <code>serviceLongArnFormat<... |
import type { OmitStrong } from '../../../common/mod.ts';
import { HashMap } from '../../../hashed/mod.ts';
import { List } from '../../../list/mod.ts';
import type { Stream, Streamable } from '../../../stream/mod.ts';
import type { OrderedMapBase } from '../../ordered-custom.ts';
import { OrderedMapContextImpl } from ... |
import {WampInvocationException} from '../Common/WampInvocationException';
import {UnregisteredMessage} from '../Messages/UnregisteredMessage';
import {RegisteredMessage} from '../Messages/RegisteredMessage';
import {InvocationMessage} from '../Messages/InvocationMessage';
import {UnregisterMessage} from '../Messages/U... |
// TODO(tbosch): clang-format screws this up, see https://github.com/angular/clang-format/issues/11.
// Enable clang-format here again when this is fixed.
// clang-format off
import {
describe,
ddescribe,
it,
iit,
xit,
xdescribe,
expect,
beforeEach,
inject,
AsyncTestCompleter,
el,
containsRegexp... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { CustomerServiceFormPageComponent } from './customer-service-form-page.component';
describe('CustomerServiceFormPageComponent', () => {
let component: CustomerServiceFormPageComponent;
let fixture: ComponentFixture<CustomerServiceFormPageC... |
๏ปฟ/*
* Power BI Visualizations
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
* MIT License
*
* 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 restric... |
/*
AUTOGENERATED FILE
Do not manually edit
Run "npm run generateARMClients" to regenerate
*/
import { armRequest } from "../../request";
import * as Types from "./types";
import { configContext } from "../../../../ConfigContext";
const apiVersion = "2020-04-01";
/* Retrieves the metrics determined by the given... |
import * as PubSub from 'pubsub-js';
import { REQUEST } from '@nestjs/core';
import { Request } from 'express';
import { JwtService } from '@nestjs/jwt';
import { Inject, Injectable } from '@nestjs/common';
import { TestTry } from './course-rewards.service';
import { EventNameEnum } from '../enum/event-name.enum';
impo... |
import {CPU} from "../cpu";
import {BinaryOperation, UnaryReadOperation, UnaryWriteOperation} from "./instruction";
import {RuntimeException} from "../runtime-exception";
export class Add extends BinaryOperation
{
execute(cpu: CPU): number
{
this.target.setValue(cpu.alu.add(this.target.getValue(), this... |
import React, { useState, ChangeEvent } from 'react';
import Paper from '@material-ui/core/Paper';
import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
import { makeStyles } from '@material-ui/core/styles';
import { AnswersMain } from '../Answers/AnswersMain';
import Container from '@mate... |
import React, { Children, HTMLProps, ReactNode, isValidElement, cloneElement } from 'react';
import { Tooltip, Split, SplitItem } from '@patternfly/react-core';
import { OutlinedQuestionCircleIcon } from '@patternfly/react-icons';
import { HTMLFieldProps, connectField, filterDOMProps, joinName } from 'uniforms/es5';
i... |
/* GENERATED FILE */
import * as React from 'react';
import Svg, { Rect, Line } from 'react-native-svg';
import { IconProps } from '../lib';
function Hash(props: IconProps) {
return (
<Svg
id="Raw"
viewBox="0 0 256 256"
width={props.size}
height={props.size}
{...props}
>
... |
import axios from 'axios'
const axiosInstance = axios.create()
axiosInstance.interceptors.response.use(
(response) => response,
(error) =>
Promise.reject(
(error.response && error.response.data) || 'Something went wrong!'
)
)
export default axiosInstance |
import type { SearchChallenge } from "./games/templates/search-challenge";
import type { Player } from "./room-activity";
import type { ScriptedGame } from "./room-game-scripted";
import type { UserHostedGame } from "./room-game-user-hosted";
import type { Tournament } from "./room-tournament";
import type {
GroupName... |
export * from './HeaderMold';
export * from './FooterMold'; |
/*
* This file is part of the SolidPlan project.
*
* @author pierre
* @copyright Copyright (c) 2019
*/
import { Component, DefaultProps } from 'vue/types/options';
import { Action } from 'vuex';
import { Label, Project, Task, User } from './index';
export interface DetailComponent {
component: Component;
... |
import { Component, Inject, OnInit } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import { TranslateService } from '@ngx-translate/core';
import { StatusCodes } from 'http-status-codes';
import { FileItem, FileUploader, ParsedResponseHeaders } from 'ng2-file-upload';
i... |
import core = require("@aws-cdk/core");
import { Vpc as EC2Vpc, SubnetType } from "@aws-cdk/aws-ec2";
export interface VpcProps {
readonly maxAzs: number;
readonly cidr: string;
readonly tags?: {
[key: string]: string;
};
}
/**
* Creating VPC
*/
export class Vpc extends core.Stack {
public readonly v... |
import { DataTypes, Model } from 'sequelize'
import { sequelize } from '../../core/db'
import Project from './project'
import Visitor from './visitor'
import { ISourceVisitCreate /* , ISourceVisitRetrieve */ } from '../types'
import { NotFound } from '../../core/http-exception'
class SourceVisit extends Model {
// ๆฅ... |
import { DomainEvent } from '../../src/domain/events';
import { Journal, Stage, StageCrewMember, StageManager } from '../../src/stage';
import sinon = require('sinon');
import expect = require('../expect');
describe('Recording what happened during the test', () => {
describe('The Stage Manager', () => {
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import {MigrationInterface, QueryRunner, TableColumn} from "typeorm";
export default class AddAvatarFieldToUsers1592947897152 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.addColumn('users', new TableColumn({
name: 'avatar',
... |
import { IDocumentWidget } from '@jupyterlab/docregistry';
import { nullTranslator, TranslationBundle } from '@jupyterlab/translation';
import React from 'react';
import { WidgetAdapter } from '../adapters/adapter';
import { VirtualDocument } from '../virtual/document';
export function getBreadcrumbs(
document: Vir... |
import { SelectQueryBuilder } from 'typeorm';
export const paginate = async function(builder: SelectQueryBuilder<any>, page: number, per_page: number): Promise<PaginationAwareObject> {
let skip = (page-1)*per_page;
const total = builder;
const count = await total.getCount()
const calcule_last_page = cou... |
import { fireEvent, render, waitFor, within } from '@testing-library/react';
import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom';
import { mocked } from 'ts-jest/utils';
import { API } from '../../api';
import { ErrorKind, SearchResults } from '../../types';
import prepareQuerystring ... |
import React from "react"
import { useFormContext } from "react-hook-form"
import {
t,
GridSection,
Textarea,
Field,
GridCell,
Select,
stateKeys,
ViewItem,
DateField,
FieldGroup,
} from "@bloom-housing/ui-components"
import { YesNoAnswer } from "../../../applications/PaperApplicationForm/FormTypes"
... |
import { Box } from '@chakra-ui/react'
import React from 'react'
function FullPageErrorFallback({ error }) {
return (
<Box
role="alert"
sx={{
color: 'red.500',
height: '100vh',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignIte... |
import { Form } from '../src'
const attributes = {
id: 1,
name: 'paco',
active: true,
age: 0,
price: 0,
country_metadata: {
social_security: '1234'
}
}
const types = {
id: 'number',
name: 'string',
age: 'number',
price: 'cents',
active: 'boolean',
country_metadata: {
social_security:... |
import { Twitter, Github, Tumblr } from '@icons-pack/react-simple-icons';
import React, { useContext } from 'react';
import { useEffectOnce } from 'react-use';
import styled from 'styled-components';
import tw from 'twin.macro';
import Image from '~/components/image';
import SEO from '~/components/seo';
import { layo... |
import "mocha";
import * as chai from "chai";
import chaiAsPromised from "chai-as-promised";
import * as fs from "fs-extra";
import * as os from "os";
import * as path from "path";
import { LocalEnvProvider } from "../../../../../src/plugins/resource/localdebug/localEnv";
import { LocalEnvFrontendKeys, LocalEnvBackend... |
import { Observable, ObservableInput } from '../Observable';
import { ArrayObservable } from '../observable/ArrayObservable';
import { isArray } from '../util/isArray';
import { Operator } from '../Operator';
import { PartialObserver } from '../Observer';
import { Subscriber } from '../Subscriber';
import { OuterSubscr... |
/**
* Used to create an escaped regex for the non-SharePoint request tests
*
*/
export function toMatchEndRegex(s: string): RegExp {
let s2 = s.replace(/\(/g, "\\(");
s2 = s2.replace(/\)/g, "\\)");
s2 = s2.replace(/\?/g, "\\?");
s2 = s2.replace(/\$/g, "\\$");
return new RegExp(`${s2}$`, "i");
} |
export declare class Util {
static includes(array: any[], searchElement: any, fromIndex?: number): boolean;
static isEmpty(value: any): boolean;
} |
// Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
import * as React from 'react';
import ReactMarkdown from 'react-markdown';
import styled from '../theme';
/**
* This module contains components for the component guide. A guide i... |
import { getTranslationDescription as description } from './description';
export {
description
}; |
import React from 'react';
import BaseManager from '../managers/BaseManager';
const FormManagerContext = React.createContext<null | ((name: string) => BaseManager<any>)>(null);
export default FormManagerContext; |
/*
* 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 { GetAgentStatusResponse } from '../../../../../../../ingest_manager/c... |
import { shallowMount } from '@vue/test-utils'
import ListPages from './ListPages.vue'
describe('Mounted App', () => {
it('renders correctly', () => {
const wrapper = shallowMount(ListPages, {
mocks: {
$t: () => { return '' }
},
propsData: {
siteid: 'mekanismi'
}
})
... |
export class GeoCodeResult {
constructor (public address: string){}
} |
import { ObjectId } from 'bson';
import { expect } from 'chai';
import sinon from 'sinon';
import { Readable } from 'stream';
import { CoinStorage } from '../../../src/models/coin';
import { MintOp, SpendOp, TaggedBitcoinTx, TransactionStorage, TxOp } from '../../../src/models/transaction';
import { WalletAddressStorag... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
const execCmdMock = jest.fn();
jest.mock('./cmd-utils', () => ({ execCmd: execCmdMock }));
import { getBranchName, getCommitHash } from './git-utils';
describe('git-utils', () => {
describe('getBranchName', () => {
beforeEach(() => {
execCmdMock.mockRestore();
jest.restoreAllMocks(... |
/**
* @file image ็ธๅ
ณ็ๅทฅๅ
ท
* @param url
*/
/// <reference types="lodash" />
/**
* ๅฐ url ่ฝฌๆ dataurl
* @param url
*/
export declare const toDataURL: ((url: string) => Promise<string>) & import("lodash").MemoizedFunction;
/**
* ๆ นๆฎ url ่ทๅๅพ็ๅฐบๅฏธ
* @param url
*/
export declare const getImageDimensions: ((url: string) => ... |
/**
* @author Chirag <chirag.kushwaha@314ecorp.com>
* @description Messages Display
*/
import React from 'react';
import { List } from 'antd';
import _ from 'lodash';
import { useActions, useValues } from 'kea';
import { useParams } from 'react-router-dom';
import MessageList from './MessagesList';
import Messages... |
/* eslint-disable no-inner-declarations */
// Copyright 2014 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... |
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.24
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*... |
import { Red, NodeProperties } from 'node-red';
import { InsteonDeviceConfigNode, DeviceRequestNode } from '../../typings/types';
import { toggle, dim } from '../common/functions';
interface DeviceRequestNodeProps extends NodeProperties {
device: string;
}
/* Exporting Node Function */
export = function(RED: Red){
... |
import { useEffect } from "react";
import { useState } from "react";
import { useSelector } from "react-redux";
import Web3 from "web3";
import ERC20Vault from '../abis/ERC20Vault.json';
import BaseVault from '../abis/BaseVault.json';
import EthVault from '../abis/EthVault.json';
import IERC20 from '../abis/IERC20.json... |
import { Component, OnInit } from '@angular/core';
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { MatDialog } from '@angular/material';
import { SesionService, PeticionesAPIService, CalculosService } from 'src/app/servicios';
impor... |
import { EventEmitter } from "events";
declare global {
interface ILiveSyncProcessData {
timer: NodeJS.Timer;
actionsChain: Promise<any>;
isStopped: boolean;
deviceDescriptors: ILiveSyncDeviceDescriptor[];
currentSyncAction: Promise<any>;
syncToPreviewApp: boolean;
platforms: string[];
}
interface IO... |
import * as _ from "lodash";
import * as Promise from 'bluebird';
import { getEdn } from '../utils';
const edn = getEdn();
import { getSetup, getFirstSetup } from './setup';
import { TimeOfDay, AbilityType, ParityType, AlignmentAttributesMap, Alignment, AbilityActivationType } from '../constants';
import { Action, ab... |
/// <reference types="react" />
declare const ThumbsDownMediumLightSkinTone: ({ size, rem }: {
size: number | string;
rem?: boolean | undefined;
}) => JSX.Element;
export default ThumbsDownMediumLightSkinTone; |
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {FormsModule} from "@angular/forms";
import { HttpModule } from '@angular/http';
import {AppComponent} from "./app.component";
import {AboutComponent} from "./about/components/about.com... |
/* Copyright 2016 The TensorFlow 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 applicable law or agree... |
import styled from "styled-components";
export const Container = styled.div`
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 2rem;
margin-top: -10rem;
div{
width: 300px;
background-color: var(--shape);
padding:1.5rem 2rem;
... |
/// <reference path='fourslash.ts' />
// Test that we leave it alone if the name is a keyword.
// @allowJs: true
// @Filename: /a.js
/////*a*/require/*b*/("foo");
verify.codeFix({
description: "Convert to ES6 module",
newFileContent: 'import "foo";',
}); |
import { NgModule } from '@angular/core';
import { UserViewComponent } from './userView.component';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import {
AlertModule,
ButtonsModule,
DropdownModule,
PaginationModule,
ProgressbarModule,
RatingModule,
TabsMo... |
import React, { useRef, cloneElement } from 'react'
import { useButton } from '@react-aria/button'
import { Cross2Icon } from '@radix-ui/react-icons'
import { useDialogContext } from './utils'
import { StyledCloseButton } from './styles'
import { DialogCloseButtonProps } from './types'
import { flattenChildren } fro... |
// Type definitions for mixto
// Project: https://github.com/atom/mixto
// Definitions by: vvakame <https://github.com/vvakame/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace Mixto {
interface IMixinStatic {
includeInto(constructor:any):void;
extend(object:any):void;
}
}
d... |
import interact from "..";
export default async function pwet(a: string): Promise<void>
{
if (!a)
interact('please specify a')
console.log(a);
} |
import { Controller } from '@nestjs/common';
import { Ctx, MessagePattern, Payload, RmqContext } from '@nestjs/microservices';
import { Message } from 'src/models';
import { MessageService } from 'src/messages/messages.service';
import { AddMessageDto } from './dto/add-message.dto';
@Controller('message')
export class... |
/// <reference types="react" />
import domFile = require("01core/0Dom");
import domCore = domFile.Core;
import React = require("react");
export declare module MonacoEditor {
class MonacoEditorAction extends domCore.DomAction {
}
enum CodeType {
html = 1,
csharp = 2,
xml = 3,
... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../types";
import * as utilities from "../utili... |
import {Component, Input, OnInit} from '@angular/core';
@Component({
selector: 'app-result-container',
templateUrl: './result-container.component.html',
styleUrls: ['./result-container.component.scss']
})
export class ResultContainerComponent implements OnInit {
@Input()
public results: string[];
constru... |
import { defineController } from './$relay'
import { validateUser, createToken, deleteToken } from '$/service/user'
export default defineController(() => ({
post: ({ body }) =>
validateUser(body.id, body.pass)
? { status: 201, body: { token: createToken() } }
: { status: 401 },
delete: ({ headers ... |
import * as Decode from "./decode";
export {
/**
* @protected
*/
Decode };
import * as Encode from "./encode";
export {
/**
* @protected
*/
Encode };
import * as Read from "./read";
export {
/**
* @protected
*/
Read }; |
import { theme } from './../../global/theme';
import { StyleSheet } from 'react-native';
export const styles = StyleSheet.create({
container: {
alignItems: 'center',
justifyContent: 'center',
width: 62,
height: 62,
borderRadius: 31,
},
avatar: {
width: 60,
height: 60,
borderRadius... |
import { getPlatform } from '@prisma/get-platform'
import {
getConfig,
getDMMF,
extractPreviewFeatures,
mapPreviewFeatures,
} from '@prisma/sdk'
import fs from 'fs'
import path from 'path'
import { performance } from 'perf_hooks'
import { generateClient } from '../generation/generateClient'
import { getPackedPa... |
/// <reference types="node" />
import { Page } from 'puppeteer';
import { Chat, LiveLocationChangedEvent, ChatState, ChatMuteDuration, GroupChatCreationResponse } from './model/chat';
import { Contact, NumberCheck } from './model/contact';
import { Message } from './model/message';
import { AxiosRequestConfig } from 'a... |
import { MdiReactIconComponentType } from './dist/typings';
declare const FormatHorizontalAlignLeftIcon: MdiReactIconComponentType;
export default FormatHorizontalAlignLeftIcon; |
import { compact, head } from 'lodash';
import * as ts from 'typescript';
import { ApiOperation, ApiResponse } from '../../decorators';
import { PluginOptions } from '../merge-options';
import { OPENAPI_NAMESPACE } from '../plugin-constants';
import {
getDecoratorArguments,
getMainCommentAndExamplesOfNode
} from '.... |
// package: fonos.agents.v1beta1
// file: agents.proto
/* tslint:disable */
/* eslint-disable */
import * as grpc from "@grpc/grpc-js";
import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
import * as agents_pb from "./agents_pb";
import * as protoc_gen_openapiv2_options_annotations_pb from ... |
import { Action } from '@ngrx/store';
import { GameModel } from '../../components/games/models/game.model';
export const GET_ALL_GAMES = '[GAMES] Get All';
export const GET_ALL_SEARCHED_GAMES = '[GAMES] Get Search';
export const GET_GAME_DETAILS = '[GAMES] Get Details';
export const GET_GAME_TO_EDIT = '[GAMES] Get Gam... |
import * as React from 'react';
import App from 'components/App';
import Code from 'components/Code';
import {Metadata, MetadataType} from 'types/index';
import {siastrebov} from 'authors/index';
export const metadata: Metadata = {
menu: 'EverCookie',
title: 'EverCookie',
description: 'EverCookie',
keywords:... |
import React from 'react';
import { useHistory } from 'react-router-dom';
import {
Container,
} from './styles';
import {
Button,
} from '../../../components';
interface Props {
numId: number;
newLocalUnit?: string;
newLocalArea?: string;
}
const Stage02: React.FC<Props> = ({
numId,
newLocalUnit,
ne... |
export declare function getOptionValue(args: ReadonlyArray<string>, arg: string): string | undefined;
export declare function getOptionValue(args: ReadonlyArray<string>, arg: string, defaultValue: string): string; |
import { Component, Element, h, Host, Prop } from '@stencil/core';
import { Key as LucideKey, createElement } from 'lucide';
import { attributesToObject } from '../utils/utils';
@Component({
tag: 'icon-key'
})
export class IconKey {
@Element() el: any;
@Prop({ attribute: 'alignment-baseline' }) alignmentBaselin... |
import React, {
createContext,
ReactNode,
Reducer,
useContext,
useEffect,
useReducer,
} from 'react';
import { ISiteData } from '../config/constants';
type Action =
| {
type: 'ADD_GROUP';
payload: ISiteData['groups'][0];
}
| {
type: 'CHANGE_SELECTED' | 'CHANGE_AUTO' | 'DELETE_GRO... |
import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { WebService } from "./web.service";
@NgModule({
imports:[
CommonModule
]
})
export class WebModule {
public static forRoot(){
return {
ngModule: WebModule,
providers: [W... |
import React from "react";
import Highlight, { Language } from "prism-react-renderer";
import { defaultHighlightProps } from "../utils";
export type CodeProps = {
code: string;
language: Language;
label?: string;
};
export const Code: React.FC<CodeProps> = ({ code, language, label }) => {
return (
<Highli... |
// *** 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 { TextEdit, FormattingOptions } from 'vscode-languageserver-types';
import { CustomFormatterOptions, LanguageSettings } from '../yamlLanguageService';
import { TextDocument } from 'vscode-languageserver-textdocument';
export declare class YAMLFormatter {
private formatterEnabled;
configure(shouldFormat: ... |
import * as crypto from 'crypto';
export const randomString = (len) => {
return crypto.randomBytes(Math.ceil(len / 2))
.toString('hex')
.slice(0, len);
};
export const rand = (min, max?) => {
if (max == null) {
max = min
min = 0
}
return min + Math.floor(Math.random() * (max - min + 1));
}; |
/**
* @license
* Copyright Color-Coding Studio. All Rights Reserved.
*
* Use of this source code is governed by an Apache License, Version 2.0
* that can be found in the LICENSE file at http://www.apache.org/licenses/LICENSE-2.0
*/
namespace sales {
export namespace ui {
export namespace c {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.