text stringlengths 10 953k |
|---|
import { withTracker } from '../../lib/ReactMeteorData/ReactMeteorData'
import { MeteorReactComponent } from '../../lib/MeteorReactComponent'
import * as React from 'react'
import { SourceLayerType, ISourceLayer, VTContent } from '@sofie-automation/blueprints-integration'
import { ShowStyleBaseId } from '../../../lib/c... |
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerExecutionContext,
HttpHandlerOptions... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { mirageMiddleware } from '../../src';
import { expect } from 'chai';
import { generatePackOptions } from '../test-helpers';
import { buildSchema, GraphQLSchema } from 'graphql';
import { ResolverMap } from 'graphql-mocks/types';
import sinon from 'sinon';
describe('mirage/middleware', function () {
context('... |
import * as React from 'react';
import clsx from 'clsx';
import {
createStyles,
Theme,
withStyles,
WithStyles,
} from '@material-ui/core/styles';
import Divider from '@material-ui/core/Divider';
import Drawer, { DrawerProps } from '@material-ui/core/Drawer';
import List from '@material-ui/core/List';
import Lis... |
type ArrayItemType<T> = T extends Array<infer R>
? R
: T extends string
? string
: unknown;
type Target = any[] | string;
type Handler<T> = (item: ArrayItemType<T>, index: number, target: T) => any; |
import puppeteer from 'puppeteer-core'
import { getOptions } from './chrome-options'
async function getPage(isDev: boolean) {
const options = await getOptions(isDev)
const browser = await puppeteer.launch(options)
return {
browser,
page: await browser.newPage()
}
}
export async function getScreenshot... |
import { LayoutService } from './layout.service';
import { AnalyticsService } from './analytics.service';
import { StateService } from './state.service';
import { SeoService } from './seo.service';
export {
LayoutService,
AnalyticsService,
SeoService,
StateService,
}; |
const isFunction = (f) => typeof f === "function";
function match(target, identifyer) {
if (isFunction(identifyer)) {
return !!identifyer(target);
} else {
for (const k in identifyer) {
if (identifyer[k] !== target[k]) {
return false;
}
}
... |
import { TagEntity } from '../app/database/entities/tag.entity';
export const tagsToSeed: Array<Partial<TagEntity>> = [
{ name: 'Backend', color: '#000000' },
{ name: 'Frontend', color: '#29abe2' },
{ name: 'Full Stack', color: '#00d2ba' },
{ name: 'Angular', color: '#dd0031' },
{ name: 'React', color: '#f1e... |
/// <amd-module name="File/Attach/Option/Getters/PhotoCam" />
import ResourceGetter = require("File/Attach/Option/GetterLazy");
const GETTER_LINK = "File/ResourceGetter/PhotoCam";
const GETTER_TYPE = "PhotoCam";
/**
* Класс конфигурации {@link File/IResourceGetter} для получения снимков с камеры, передаваемый в {@l... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
import * as vscode from "vscode";
import { Constants } from "../constants";
import { ModuleItem } from "../Model/ModuleItem";
import { TelemetryClient } from "../telemetryClient";
import { Utility } from "../utility";
impor... |
// Type definitions for @ag-grid-community/core v23.1.0
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
import { Promise } from '../utils';
import { ManagedTabComponent } from '../widgets/managedTabComponent';
export declare class TabbedLayout extends ManagedTabComponen... |
import { Buffer, Window, NvimPlugin } from "neovim";
export default (plugin: NvimPlugin) => {
const { nvim } = plugin;
const createLabel = async (): Promise<Window> => {
const buffer = (await nvim.createBuffer(false, false)) as Buffer;
await buffer.setLines("abcdef", {
start: 0,
end: -1,
... |
export const COULD_NOT_LOAD_DATA = 'Could not load data';
export const CREATED = 'created';
export const CREATED_WITH_FAILED_CLEANUP = 'created & failed to clean up';
export const CREATED_WITH_CLEANUP = 'created & cleaned up';
export const FAILED_TO_CREATE = 'failed to create';
export const FAILED_TO_PATCH = 'failed t... |
import { Component, OnInit, Output, EventEmitter } from '@angular/core';
import { CheckoutStepService } from 'src/app/services/checkout/checkout-step.service';
import { CheckoutStoreService } from 'src/app/services/checkout/checkout-store.service';
import {
FormGroup,
FormControl,
Validators,
FormBuilder,
} fro... |
import { Component, Injector, OnInit } from '@angular/core';
import { MatDialog } from '@angular/material';
import { appModuleAnimation } from '@shared/animations/routerTransition';
import { CorporateServiceProxy, EmailNotificationsDto } from '@shared/service-proxies/service-proxies';
import { AppComponentBase } from '... |
import TextButton from '@celo/react-components/components/TextButton'
import colors from '@celo/react-components/styles/colors'
import React from 'react'
import { StyleSheet, View } from 'react-native'
export interface CallToAction {
onPress: () => unknown
text: string | JSX.Element
dim?: boolean
isSecondary?:... |
version https://git-lfs.github.com/spec/v1
oid sha256:0df2223618e717ab7539ac8ff23520ae972bd2833d668742f0413a998864e887
size 1062388 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, Output } from '@angular/core';
import { DataSet } from '../../../../../api/fb-management/swagger-codegen/model/dataSet';
import { LAYOUT_GAP_M } from '../../../../../tokens';
@Component({
selector: 'fb-payment-data-sets-list',
templateU... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eu_ES" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Blastcoin</source>
<translation>Blastcoin-i buruz</translation>
... |
import base64Img from 'base64-img';
import MediaProcessor from '../../src/mediaProcessor';
const path = require('path');
const { Image, createCanvas } = require('canvas');
const canvas = createCanvas(500, 500);
const ctx = canvas.getContext('2d');
const dir = path.dirname(module.filename);
const imgPath = path.resol... |
import { Schema } from 'mongoose';
export const AdminSchema = new Schema({}); |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { UserDataService } from '@zsport/api';
import { UserDataServiceImpl } from './services';
@NgModule({
imports: [CommonModule],
providers: [
{
provide: UserDataService,
useClass: Use... |
declare module 'ember-animated/easings/cosine' {
export function easeIn(x: number): number;
export function easeOut(x: number): number;
} |
import type { ComponentInterface } from '@stencil/core';
import { Component, Element, Host, Listen, Prop, State, h } from '@stencil/core';
import { menuOutline, menuSharp } from 'ionicons/icons';
import { config } from '../../global/config';
import { getIonMode } from '../../global/ionic-global';
import type { Color }... |
import styled from 'styled-components';
export const Container = styled.div`
width: 70%;
margin-right: 30%;
max-width: 900px;
height: auto;
background: var(--color-text-in-primary);
border-radius: 1rem;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
... |
import { Component } from "react";
export declare interface ViewBaseInterface {
component :Component
render: (comp: Component) => Element
} |
import { ComponentEnhancer } from "recompose";
export declare function withNewModel<P = any>(dataServiceName: string, idPropKey?: string, modelPropKey?: string): ComponentEnhancer<P, P>; |
import { Component, Input } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { I18nTestingModule, Order, OrderEntry } from '@... |
import {toArray} from "./arr";
import {isFunction} from "./Is";
import {entriesOf} from "./obj";
import {isPlainObject} from "./var";
import {XMapInitializer} from "./utils";
export const parseMapArgs = (src?: any, initializer?: any): [Array<[any, any]>, XMapInitializer | undefined] =>
isFunction(src) ?
[... |
import { EstadoCivil, Genero } from "../enum/usuario.enum";
export class HospedeBuilder{
private nomeCompleto!: string;
private email!: string;
private cpf!: string;
private dataNascimento!: Date;
private sexo!: Genero;
private estadoCivil!: EstadoCivil;
private profissao!: string;
priv... |
import * as React from "react"
import { View, ViewStyle, ImageStyle, TextStyle } from "react-native"
import { Text } from "../text"
import { Icon } from "../icon"
import { spacing } from "../../theme"
const BULLET_ITEM: ViewStyle = {
flexDirection: "row",
marginTop: spacing[4],
paddingBottom: spacing[4],
borde... |
import {Message, MessageEmbed} from 'discord.js'
import {BaseCommand} from '../bin/Command'
import {DiscordClient} from '../bin/Discord'
export default class HelpCommand extends BaseCommand {
constructor() {
super({
name: 'help',
aliases: ['ni']
})
}
run(client: Dis... |
/// <reference types="react" />
declare type Props = {
open?: boolean | undefined;
detailsContentDbb380D380B94F9E8Bb177Fc0E5Cfac0?: string | undefined;
};
declare const DetailsWithHtml: ({ open, detailsContentDbb380D380B94F9E8Bb177Fc0E5Cfac0 }: Props) => JSX.Element;
export default DetailsWithHtml; |
export type Nullable<T> = T | null;
export type WithUUID<T> = T & { UUID: string };
/**
* UUID string uniquely identifying every HAP connection.
*/
export type SessionIdentifier = string;
/**
* Defines a mac address.
* Must have a format like 'XX:XX:XX:XX:XX:XX' with XX being a valid hexadecimal string
*/
export... |
/**
* LogAnalytics API
* The LogAnalytics API for the LogAnalytics service.
* OpenAPI spec version: 20200601
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-l... |
/**
* Functions Service API
* API for the Functions service.
* OpenAPI spec version: 20181201
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed t... |
import * as d from '../../declarations';
import { dashToPascalCase } from '../../util/helpers';
import { MEMBER_TYPE } from '../../util/constants';
export async function generateAngularProxies(config: d.Config, compilerCtx: d.CompilerCtx, cmpRegistry: d.ComponentRegistry) {
const angularOuputTargets = (config.outpu... |
/**
* Resource Manager API
* Use the Resource Manager API to automate deployment and operations for all Oracle Cloud Infrastructure resources.
Using the infrastructure-as-code (IaC) model, the service is based on Terraform, an open source industry standard that lets DevOps engineers develop and deploy their infrastru... |
import * as React from 'react';
interface Props {
editingName: string;
onEditingNameUpdated: (newName : string) => void;
onNameSubmit: () => void;
disabled: boolean;
}
export const NameEditComponent = (props: Props) => {
const {editingName, onEditingNameUpdated, onNameSubmit, disabled} = props;
... |
export async function handleRequest(request: Request): Promise<Response> {
const url = new URL(request.url)
if (url.pathname !== '/posts') {
return new Response('Invalid endpoint', { status: 503 })
}
switch (request.method) {
case 'GET': {
const getResp = await handleGet()
getResp.headers.se... |
import { AbiDecoder, intervalUtils, logUtils } from '@0xproject/utils';
import { marshaller, Web3Wrapper } from '@0xproject/web3-wrapper';
import {
BlockParamLiteral,
ContractAbi,
ContractArtifact,
FilterObject,
LogEntry,
LogWithDecodedArgs,
RawLog,
RawLogEntry,
} from 'ethereum-types';
... |
/**
* Copyright (c) Microsoft Corporation.
*
* 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 agr... |
import { random } from "faker";
import {
mul,
div,
add,
minus,
pow,
sin,
cos,
tg,
ctg,
factorial,
} from "./mathOperators";
describe("mathOperators test cases", () => {
const number1 = random.number();
const number2 = random.number();
const resultOfMultiplication = number1 * number2;
it(`... |
/*
* Licensed to the Kassenärztliche Bundesvereinigung (KBV) (c) 2020 - 2021 under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The KBV licenses this file
* to you under the Apache License, Version 2.... |
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import BootstrapVue from 'bootstrap-vue'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
Vue.use(BootstrapVue);
Vue.config.productionTip = false;
new Vue({
router... |
export class Component {
copy(src: Component): void
reset(): void
clear(): void
}
export interface ComponentConstructor<T extends Component> {
new (...args: any): T;
} |
import { DynamsoftEnums as Dynamsoft } from "./Dynamsoft.Enum";
import { WebTwainViewer } from "./WebTwain.Viewer";
import { BarcodeReader } from "./Addon.BarcodeReader";
import { OCR } from "./Addon.OCR";
import { OCRPro } from "./Addon.OCRPro";
import { PDF } from "./Addon.PDF";
import { Webcam } from "./Addon.Webcam... |
export interface IBaseResponse {
displayMessage?: string;
errormessage: string;
succeeded: true;
} |
import { createGlobalStyle } from 'styled-components';
export const GlobalStyle = createGlobalStyle`
* {
color: #353535;
margin: 0;
padding: 0;
font-family: 'Josefin Sans', sans-serif;
}
html {
font-size: 105%;
}
.line {
margin: 1em auto;
border: 1px solid #c0a583;
backgroun... |
import {Component, Input} from '@angular/core';
@Component({
selector: "test-progress",
template: `<div class="progress">
<div [class]="failed ? 'progress-bar progress-bar-danger' : completed == 100 ? 'progress-bar progress-bar-success' : 'progress-bar progress-bar-primary'"
role="progressbar" [attr.a... |
/**
* @author Kuitos
* @since 2020-04-01
*/
import { importEntry } from 'import-html-entry';
import { concat, mergeWith } from 'lodash';
import { LifeCycles, ParcelConfigObject } from 'single-spa';
import getAddOns from './addons';
import { getMicroAppStateActions } from './globalState';
import { FrameworkConfigura... |
const mockDevice = {
moveAbsolute: jest.fn(() => { return Promise.resolve(); }),
};
jest.mock("../../../device", () => ({
getDevice: () => (mockDevice)
}));
jest.mock("../../../config_storage/actions", () => {
return {
toggleWebAppBool: jest.fn()
};
});
import * as React from "react";
import { mount, sha... |
import { IsDefined, IsNotEmpty } from 'class-validator';
import { Seller } from 'src/sellers/sellerSchema/seller.entity';
import { StringDecoder } from 'string_decoder';
import { Entity, Column, PrimaryGeneratedColumn, PrimaryColumn, ObjectIdColumn, ObjectID, ManyToMany, OneToMany, ManyToOne, BeforeInsert, Unique, Inde... |
import {Component, Input, OnInit} from '@angular/core';
@Component({
selector: 'circle-element',
templateUrl: './circle.component.html',
styleUrls: ['./circle.component.css']
})
export class CircleComponent implements OnInit {
@Input() content: any;
constructor() { }
ngOnInit() {
}
} |
// @flow
import * as React from "react";
import $1 from "../../Text/Text";
import { AnimatedComponentType } from "../createAnimatedComponent";
declare const $f2tExportDefault: AnimatedComponentType<React.ElementConfig<typeof $1>, React.ElementRef<typeof $1>>;
export default $f2tExportDefault; |
"use strict";
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from "vscode";
import * as config from "./config/Configuration";
import { Engine } from "./engine/Engine";
export function activate(context: vsco... |
import { PublicDirectoryCache } from "@x1.co/s3-static-assets/src/lib/getPublicAssetCacheControl";
export type ServerlessComponentInputs = {
build?: BuildOptions | boolean;
nextConfigDir?: string;
useServerlessTraceTarget?: boolean;
logLambdaExecutionTimes?: boolean;
nextStaticDir?: string;
bucketName?: st... |
import { IsEmail, IsString, IsNotEmpty } from 'class-validator';
export class AuthCredentialsDto {
@IsNotEmpty()
@IsEmail()
email: string;
@IsNotEmpty()
@IsString()
password: string;
} |
import { Injectable } from '@angular/core';
import { Actions, createEffect } from '@ngrx/effects';
import { filter, map } from 'rxjs/operators';
import {
progressStart,
progressStop,
progressStopAll,
} from '../../actions/progress.actions';
const startPattern = /^\[.+\/API\].*$/;
const stopPattern = /^\[.+\/API\... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { ClipboardModule } from '@angular/cdk/clipboard';
import { WalletDisplayComponent } from './wallet-disp... |
import { render } from '@ember/test-helpers';
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
import { t } from 'ember-intl/test-support';
import { setupRenderingTest } from 'ember-qunit';
import { TestContext } from 'ember-test-helpers';
import hbs from 'htmlbars-inline-precompile';
import { modu... |
import { Component, OnDestroy } from '@angular/core';
import { NbThemeService } from '@nebular/theme';
import { takeWhile } from 'rxjs/operators';
import { MetricsGraphViewService } from '../../../@core/data/metricsgraphview.service';
@Component({
selector: 'logged-in-user-card',
styleUrls: ['./logged-in-user-card... |
import * as assert from "power-assert";
import { Either, Left, Right } from "../../src/jax";
describe("Either", () => {
it("Factories", () => {
const l = Left<string, number>("a");
const r = Right<string, number>(1);
assert.ok(l.isLeft());
assert.ok(!l.isRight());
assert.... |
import t from './types'
import * as I from './interfaces'
interface ActionHandler {
readonly [r: string]: (state: I.TableState, action: I.TableInterfaces) => I.TableState
}
const ACTION_HANDLERS: ActionHandler = {
[t.GET_REQUEST]: (state, { title, endpoint }: I.FetchRequest) => ({
...state,
title,
end... |
import { Signer, BigNumberish, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { Vault, VaultInterface } from "../Vault";
export declare class Vault__factory extends ContractFactory {
constructor(...args: [signer: Signer] | Constructor... |
import * as Mocha from 'mocha';
import * as glob from 'glob';
import * as vscode from 'vscode';
import path = require('path');
import * as keytarType from 'keytar';
import MDBExtensionController from '../../mdbExtensionController';
import { TestExtensionContext } from './stubs';
import { mdbTestExtension } from './stu... |
import { FormComponentProps } from 'antd/lib/form';
export default interface AppComponentProp extends FormComponentProps {} |
/**
* @file Automatically generated by barrelsby.
*/
export * from "./statics"; |
import fs from 'fs';
import {FileReadOptions, TransformFn} from './types';
import {RuntimeError} from './errors';
//
// ### function path (key)
// #### @key {string} The ':' delimited key to split
// Returns a fully-qualified path to a nested config key.
// If given null or undefined it should return an empty path.
//... |
import { expectType } from 'tsd'
// https://github.com/wechat-miniprogram/api-typings/issues/11
expectType<string>(wx.env.USER_DATA_PATH)
// https://github.com/wechat-miniprogram/api-typings/issues/13
const ctx = wx.createCanvasContext('myCanvas')
ctx.drawImage('', 1, 1)
ctx.drawImage('', 0, 0, 150, 100)
ctx.drawImag... |
import { BrowserModule } from "@angular/platform-browser";
import { NgModule, ModuleWithProviders } from "@angular/core";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { HttpClientModule } from "@angular/common/http";
import { BrowserAnimationsModule } from "@angular/platform-browser/animat... |
// Type definitions for jQuery.timepicker 1.11.11
// https://github.com/jonthornton/jquery-timepicker
/**
* Declaring a namespace because there are several jquery timepickers already out there on DefinitelyTyped. Jt stands for Jon Thornton
*/
declare namespace Jt.Timepicker {
/**
* Options object for the j... |
export enum UserRole {
ADMIN = 1,
SELLER = 2,
CLIENT = 3
} |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
constructor(
) {
}
} |
import { MdiReactIconComponentType } from './dist/typings';
declare const PepperIcon: MdiReactIconComponentType;
export default PepperIcon; |
// smithy-typescript generated code
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerEx... |
import { CSSResult } from 'lit';
export const overlay: CSSResult; |
import { Point } from '../rule'
type SearchQuery = {
moves: Point[] | undefined
playerId: number | undefined
}
export class SearchQueryState {
readonly moves: Point[] = []
readonly useMoves: boolean = true
readonly playerId?: number
constructor(init?: undefined | Partial<SearchQueryState>) {
if (init... |
import React from 'react'
import { IconProps } from './types'
const IconHdrAutoSelect: React.FC<IconProps> = ({ ...props }) => (
<svg
xmlns="http://www.w3.org/2000/svg"
enableBackground="new 0 0 24 24"
viewBox="0 0 24 24"
{...props}
>
{props.title && <title>{props.title}</title>}
<g>
... |
import {FastifyRequest} from "fastify";
import {Obj, Str} from "../../Common";
import {RequestContext} from "../../Routing/Context/RequestContext";
import {HookHandlerArgs, PreHandlerHook} from "../ServerHooks";
export class ConvertEmptyStringsToNullHook extends PreHandlerHook {
public async handleAsync({request, re... |
import {Component, OnInit} from '@angular/core';
import {Job} from '../../model/Job';
import {Probe} from '../../model/Probe';
import {Scheduler} from '../../model/Scheduler';
import {DiscoveryService} from '../discovery.service';
declare var $: any;
@Component({
selector: 'app-scheduler',
templateUrl: './sch... |
import React from 'react'
import { withStyles, WithStyles } from '@material-ui/styles'
import { Paragraph, Shout, Whisper } from '../typography'
import Link from './Link'
import clsx from 'clsx'
interface ErrorBoundaryState {
hasError: boolean
error?: unknown
}
interface Props extends WithStyles<typeof useStyle... |
import { BaseModifier, registerModifier } from "../../../lib/dota_ts_adapter";
@registerModifier()
export class modifier_reimagined_phantom_assassin_talent_6_cooldown extends BaseModifier {
// Modifier properties
caster: CDOTA_BaseNPC = this.GetCaster()!;
ability: CDOTABaseAbility = this.GetAbility()!;
parent: CDO... |
import type { Bot } from "../../bot.ts";
import { DiscordChannel, DiscordGatewayPayload } from "../../types/discord.ts";
export async function handleChannelCreate(bot: Bot, payload: DiscordGatewayPayload) {
const channel = bot.transformers.channel(bot, { channel: payload.d as DiscordChannel });
bot.events.channel... |
/** @jsx jsx */
import { createPlateEditor } from '@udecode/plate-core';
import { jsx } from '@udecode/plate-test-utils';
import { MARK_BOLD } from '../../../../../marks/basic-marks/src/createBoldPlugin';
import { MARK_ITALIC } from '../../../../../marks/basic-marks/src/createItalicPlugin';
import { MARK_UNDERLINE } f... |
import chalk from 'chalk'
import ciEnvironment from 'ci-info'
import findUp from 'find-up'
import fs from 'fs'
import Worker from 'jest-worker'
import mkdirpOrig from 'mkdirp'
import nanoid from 'next/dist/compiled/nanoid/index.js'
import path from 'path'
import { pathToRegexp } from 'path-to-regexp'
import { promisify... |
import { LoggingInterceptor } from './logging.interceptor';
export { LoggingInterceptor }; |
import * as Debug from "debug";
import * as _ from "lodash";
import * as semver from "semver";
import { IABI, IContractDefinition } from "../interfaces/schema-0.0.5";
const debug = Debug("schema-0.0.5");
function load_pre_100 (web3: any, abi: IABI[], address: string|null|undefined, options: object|null|undefined): an... |
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { TestBed } from '@angular/core/testing';
import { ConfigService } from 'app/config/config.service';
// tslint:disable-next-line:import-blacklist
import { of } from 'rxjs';
import { AutismGeneProfilesService } from './autism-gene-profiles.se... |
import { SFN } from "../SFN.ts";
import { SFNClient } from "../SFNClient.ts";
import {
ListActivitiesCommand,
ListActivitiesCommandInput,
ListActivitiesCommandOutput,
} from "../commands/ListActivitiesCommand.ts";
import { SFNPaginationConfiguration } from "./Interfaces.ts";
import { Paginator } from "../../types... |
import {Component, ElementRef, HostListener, Input, OnInit, Renderer2} from '@angular/core';
import {DOCUMENT} from "@angular/common";
@Component({
selector: 'app-scheduler-handle',
templateUrl: './handle.component.html',
styleUrls: ['./handle.component.scss']
})
export class HandleComponent implements OnInit {
... |
import { style } from '@vanilla-extract/css'
import { theme } from '~/common/theme'
export const root = style({})
export const title = style({
marginBottom: 24,
display: 'flex',
justifyContent: 'space-between',
})
export const charts = style({
display: 'grid',
gap: 16,
marginBottom: 16,
'@media': {
... |
export interface ApplicationInterface {
_id?: number;
uuid: string;
owner_id: number;
owner_service: string;
name: string;
permissions: string[];
created_at: Date;
deleted_at?: Date;
} |
import { NestFactory } from '@nestjs/core'
import { AppModule } from './app.module'
import { ValidationPipe } from './validationPipe'
import { TrimPipe } from './trimPipe'
import { classTransformerInterceptor } from './classTransformerInterceptor'
import { ClacksMiddleware } from './clacks.middleware'
async function b... |
import { CharacterLookDto } from '../character-look/dtos/character-look.dto';
export interface CreateCharacterDto {
nickname: string;
characterLook: CharacterLookDto;
} |
import { Injectable } from '@angular/core';
import { SessionStorageService } from 'ng2-webstorage';
import { StateDeclaration } from 'ui-router-ng2';
@Injectable()
export class StateStorageService {
constructor(
private $sessionStorage: SessionStorageService
){}
getPreviousState() {
return ... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LocalStoreModule } from '@tamu-gisc/common/ngx/local-store';
import { NotificationContainerComponent } from './components/notification-container/notification-container.component';
import { NotificationItemComponent } fr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.