text stringlengths 10 953k |
|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
import { Attributes, Span, SpanKind } from "../AsyncHooksScopeManager";
import * as Contracts from "../../Declarations/Contracts";
import * as Constants from "../../Declarati... |
export type DeepPartial<T> = T extends Array<infer U1> ? Array<DeepPartial<U1>> : (
T extends Map<infer K, infer U2> ? Map<K, DeepPartial<U2>> : (
T extends Set<infer U3> ? Set<DeepPartial<U3>> : (
// eslint-disable-next-line @typescript-eslint/no-explicit-any
T extends (...args: any) => any
? T... |
import { maSliderCssClassNavNextActive } from './slider.model';
import { MaSliderModule } from './slider.module';
import { TestBed, async, ComponentFixture } from '@angular/core/testing';
import { Component, ViewChild } from '@angular/core';
import { MaSliderNavNextDirective } from './slider-nav-next.directive';
descr... |
/**
* @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
*/
import {invalidExpression, invalidTransitionAlias} from '../error_helpers';
export const ANY_STATE = '*';
export dec... |
import { TestBed } from '@angular/core/testing';
import { PortService } from './port.service';
describe('PortService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
const service: PortService = TestBed.get(PortService);
expect(service).toBeTruthy();
});
})... |
<TS language="es_ES" version="2.1">
<context>
<name>AddNewAddressDialog</name>
<message>
<source>Address</source>
<translation>Dirección</translation>
</message>
</context>
<context>
<name>AddNewContactDialog</name>
</context>
<context>
<name>AddressBookPage</name>
<messa... |
import AwaitLock from "await-lock";
import chalk from "chalk";
import {EventEmitter} from "events";
import {isLeft} from "fp-ts/lib/Either";
import {Type} from "io-ts";
import {PathReporter} from "io-ts/lib/PathReporter";
import {ThrowReporter} from "io-ts/lib/ThrowReporter";
import * as _ from "lodash/object";
import ... |
import { renderClient } from '../shared/utility/render-client';
import '../shared/plugins/globals';
Promise.all([
// The component.
import('./index'),
// The routes themselves.
import('./routes'),
// And the components
import('./components'),
]).then(async ([mod, routes, components]) => {
// For plugins,... |
import { Entry } from './entry';
export async function loadEntry(): Promise<Entry> {
const feature = await import(/* webpackChunkName: "createDao" */ './entry');
return feature.entry;
} |
import { warning } from "reakit-utils/warning";
warning(
true,
"[reakit/Provider]",
"Importing `Provider` from `reakit/utils` or `reakit/utils/Provider` is deprecated.",
"Please, import `Provider` from `reakit` or `reakit/Provider` instead"
);
export * from "../Provider"; |
export const RouteListener = router => {
return async event => {
const context = event.getData();
return await router.getMatchingRoute(context);
};
}; |
export function handleGesture(
velocity: number,
diffY: number,
itemHeight: number,
y: number,
isLoop: boolean,
maxCount: number,
current: number,
minCount: number
): Promise<{ movingCount: number; isSkipAnimation: boolean }> {
const ratio = velocity < 1 ? 1 : velocity / 2;
const isMovingSlowly = ve... |
import { EventEmitter, VNode } from "../../stencil-public-runtime";
export declare class CalciteHandle {
/**
* @internal - stores the activated state of the drag handle.
*/
activated: boolean;
/**
* Value for the button title attribute
*/
textTitle: string;
el: HTMLCalciteHandleElement;
handleBu... |
import {MapDiscriminatedUnion} from '@karma.run/utility'
import {RichTextNode} from '../graphql/richText'
export enum BlockType {
Title = 'title',
RichText = 'richText',
FacebookPost = 'facebookPost',
FacebookVideo = 'facebookVideo',
InstagramPost = 'instagramPost',
TwitterTweet = 'twitterTweet',
VimeoVi... |
import styled from "styled-components";
export const HeaderContainer = styled.head `
width: 100%;
height: 90px;
background: var(--BACKGROUND);
display: flex;
justify-content: center;
align-items: center;
`
export const HeaderWrapper = styled.div `
width: 80%;
height: 90px;
displ... |
import { Asset, ContentType, Entry } from '../types';
import * as React from 'react';
import { CustomActionProps } from './ReferenceEditor';
export type MissingEntityCardProps = {
defaultCard: React.ReactElement;
entity: {
id: string;
type: 'Asset' | 'Entry';
};
};
export type RenderCustomMissingEntityC... |
import MainLayout from '@components/Layouts/MainLayout';
import ProductDetails from '@components/ProductDetails';
import React from 'react';
import { useSelector } from 'react-redux';
import { wrapper } from 'src/redux/store';
import { addProductToCart } from '../../src/redux/actions/cartActions';
import { getProduct ... |
declare const _default: {
"_decimalSeparator": string;
"_thousandSeparator": string;
"_big_number_suffix_3": string;
"_big_number_suffix_6": string;
"_big_number_suffix_9": string;
"_big_number_suffix_12": string;
"_big_number_suffix_15": string;
"_big_number_suffix_18": string;
"_bi... |
class SweetSweetClass {
constructor() {
console.log("Even sweeter")
}
}
let basil = new SweetSweetClass() |
/* tslint:disable */
/* eslint-disable */
/**
* CrowdStrike API Specification
* Use this API specification as a reference for the API endpoints you can use to interact with your Falcon environment. These endpoints support authentication via OAuth2 and interact with detections and network containment. For detailed usa... |
export { Person as default } from './Person'; |
import VuexModule from "./VuexModule.vue";
export default VuexModule; |
import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* GetFlowTemplateRevisionsInput shape
*/
export interface GetFlowTemplateRevisionsInput {
/**
* <p>The ID of the workflow.</p> <p>The ID should be in the following format.</p> <p> <code>ur... |
import { a } from 'a';
export function b() {
return a();
} |
/* Copyright 2018-present Mellisphera
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 writing, softwar... |
import { Injectable, NestMiddleware } from '@nestjs/common'
@Injectable()
export default class PaginationMiddleware implements NestMiddleware {
use(req, res, next) {
const page = req.query.page ? parseInt(req.query.page) : 0
const limit = req.query.limit ? parseInt(req.query.limit) : 10
req.pagination =... |
import { Call } from '../hooks/useCall';
import { Falsy } from '../model/types';
import { RawCall, RawCallResult } from '../providers';
export declare function warnOnInvalidCall(call: Call | Falsy): void;
export declare function encodeCallData(call: Call | Falsy): RawCall | Falsy;
export declare function getUniqueCalls... |
import { Field, InputType } from '@nestjs/graphql';
import { IsNotEmpty, IsUUID } from 'class-validator';
@InputType()
export class GetLessonInput {
@Field()
@IsNotEmpty()
@IsUUID(4)
id: string;
} |
import fetch from 'node-fetch';
import semver from 'semver';
const { NPM_REGISTRY_URL = 'https://registry.npmjs.com' } = process.env;
/**
* Make an API call to npm to get package manifest details
* @param name The npm package name
*/
export async function fetchManifest(name: string) {
const encodedPackage = es... |
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack";
import * as __aws_sdk_types from "@aws-sdk/types";
import { SetTopicAttributes } from "../model/operations/SetTopicAttributes";
import { InputTypesUnion } from "../types/InputTypesUnion";
import { OutputTypesUnion } from "../types/OutputTypesUnion... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-klacht-input',
templateUrl: './klacht-input.component.html',
styleUrls: ['./klacht-input.component.css']
})
export class KlachtInputComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
// *** 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 * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as utilitie... |
// tracing: off
export * from "../Effect/asUnit"
export * from "../Effect/core"
export * from "../Effect/do"
export * from "../Effect/effect"
export * from "../Effect/excl-forEach"
export * from "../Effect/fiberId"
export * from "../Effect/filter"
export * from "../Effect/interruption"
export * from "../Effect/map"
ex... |
import React, { useCallback, useState } from "react";
import {
atom,
selector,
useRecoilCallback,
useRecoilValue,
useSetRecoilState,
} from "recoil";
import { useSpring } from "react-spring";
import Popout from "./Popout";
import { ActionOption } from "./Common";
import { SwitcherDiv, SwitchDiv } from "./uti... |
import { BBox } from '@antv/g';
import * as G2 from '@antv/g2';
import * as _ from '@antv/util';
import TextDescription from '../components/description';
import { getComponent } from '../components/factory';
import BaseInteraction, { InteractionCtor } from '../interaction/index';
import {
Axis,
IDescription,
IInt... |
// Based on loopback4-example-shopping
import {Entity, hasOne, model, property} from '@loopback/repository';
import {UserProfile} from '@loopback/security';
import {UserCredentials} from './user-credentials.model';
import {roleSchema, USER_ROLE} from './user-role.model';
@model({
settings: {
indexes: {
un... |
<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 { AuthGuard } from './../../auth/auth.guard';
import { Routes } from '@angular/router';
// export const AdminLayoutRoutes: Routes = [
// { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
// { path: 'dashboard', canActivate: [AuthGuard], loadChildren: '../dashboard/dashboard.module#DashboardModu... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import {MatTooltipModule} from '@angular/material/tooltip';
import { FooterComponent } from './footer/footer.component';
import { NavbarComponent } from './navbar/navbar.component';
... |
type RangeTuple =
| [number, number]
| [number, number, number]
| [number, number, number, number];
export function clearSheet(
sheet: GoogleAppsScript.Spreadsheet.Sheet,
startingRow: number = 1,
startingColumn: number = 1,
rowsLength: number = sheet.getMaxRows(),
colsLenghth: number = sheet.getMaxColumns(),
)... |
import type { QueryDescription } from "../query-builder.ts";
import { Translator } from "../translators/translator.ts";
/** Default connector options. */
export interface ConnectorOptions {}
/** Default connector client. */
export interface ConnectorClient {}
/** Connector interface for a database provider connectio... |
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1 small')).getText();
}
} |
import { Module } from '@nestjs/common';
import { ProductModule } from './product/product.module';
import { DatabaseModule } from './database/database.module';
import { OrderModule } from './order/order.module';
@Module({
imports: [ProductModule, DatabaseModule, OrderModule],
controllers: []
})
export class AppMod... |
import { List as _List_ } from "@aws-sdk/types";
export const _CustomerIdList: _List_ = {
type: "list",
member: {
shape: {
type: "string",
min: 1
}
}
}; |
import * as React from "react";
import { IViewProps } from "./IViewProps";
import { IStarRatingProps } from "../../models/field.properties";
const Rate = React.lazy(() => import(/* webpackChunkName: "starrating" */ "antd/es/rate"));
import { useObserver } from "mobx-react";
export const StarRatingView: React.FC<IView... |
import React from 'react';
import { md, code, Props, Example } from '@atlaskit/docs';
export default md`
### Custom Icons
If you need to render an icon that is not in our current set, and adding it
does not make sense, you can render a custom icon instead. We assume here that
the SVG's contents will be export... |
import { ResourceBase } from '../resource';
import { Value } from '../dataTypes';
export interface SubscriptionFilterProperties {
DestinationArn: Value<string>;
FilterPattern: Value<string>;
LogGroupName: Value<string>;
RoleArn?: Value<string>;
}
export default class SubscriptionFilter extends ResourceB... |
import { join } from "path";
import semver from "semver";
import chalk from "chalk";
import { AccessType } from "@changesets/types";
import { Package } from "@manypkg/get-packages";
import { info, warn } from "@changesets/logger";
import { PreState } from "@changesets/types";
import * as npmUtils from "./npm-utils";
im... |
import mermaid from 'mermaid';
import moment from 'moment';
import { DurableOrchestrationStatus, HistoryEvent } from '../DurableOrchestrationStatus';
import { MermaidDiagramTabState } from './MermaidDiagramTabState';
import { CancelToken } from '../../CancelToken';
import { dfmContextInstance } from '../../DfmContext'... |
import { assert } from '@esm-bundle/chai';
import sinon from 'sinon';
import { EventTypes } from '../../src/events/EventTypes.js';
import { Events } from '../../src/events/Events.js';
import { ensureUnique } from './EventsTestHelpers.js';
describe('Events', () => {
describe('Authorization', () => {
describe('E... |
import 'phaser';
import GameCore from './proto/core/core_grpc_web_pb.js'
import CommonTypes from './proto/core/types_pb.js'
export default class Demo extends Phaser.Scene {
gcc: GameCore.GameCorePromiseClient
constructor() {
super('demo');
}
preload() {
}
create() {
this.add... |
export default class SceneNodeMixin {
visible: boolean;
locked: boolean;
} |
// Copyright 2016 The Oppia 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 ap... |
import React, { FC } from 'react';
import MyText from 'src/common/component/text';
import { StyleSheet } from 'react-native';
export const PoetryTitle: FC<{ title: string }> = ({ title }) => <MyText style={style.title}>{title}</MyText>;
const style = StyleSheet.create({
title: {
fontSize: 20,
marginBottom: ... |
import * as React from 'react';
import { classNamesFunction, createRef, BaseComponent, KeyCodes } from '../../Utilities';
import { ExpandingCardMode, IExpandingCardProps, IExpandingCardStyles, IExpandingCardStyleProps } from './ExpandingCard.types';
import { CardCallout } from './CardCallout/CardCallout';
const getCl... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { KotlinCoreComponent } from './kotlin-core.component';
describe('KotlinCoreComponent', () => {
let component: KotlinCoreComponent;
let fixture: ComponentFixture<KotlinCoreComponent>;
beforeEach(async () => {
await TestBed.configureT... |
import * as React from 'react';
/** Properties of the FAIRManualStep component */
interface IFairManualStepProps {
injectCode(injectStr: string): void;
}
/** State of the FAIRManualStep component */
interface IFairManualStepState {
description: string;
}
/**
* A React Component aiding in the creation of a F... |
export namespace VIRTUAL_BACKGROUND_TYPE {
const IMAGE: string;
const DESKTOP_SHARE: string;
const BLUR: string;
const NONE: string;
} |
/*
* Updated by Jimmy Lan
* Update Date: 2020-12-11
*/
import { getFakeServerCall } from "./helpers";
import { ServerResponse } from "./models";
import { axios } from "../axios";
export interface CoinsResponse extends ServerResponse {
data?: number;
}
export const fetchNumCoins = async () => {
return await ax... |
import { Injectable } from '@angular/core';
import {AlertController, ItemSliding, ModalController, ToastController} from "ionic-angular";
import {GroceriesServiceProvider} from "../groceries-service/groceries-service";
/*
Generated class for the InputDialogServiceProvider provider.
See https://angular.io/guide/de... |
import { Component, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { Observable, Observer, Subscription } from 'rxjs';
import { PhoneService } from 'src/app/services/phone.service';
import {... |
import { EventsKey } from '../../events';
import Event from '../../events/Event';
import { FeatureLike } from '../../Feature';
import Layer from '../../layer/Layer';
import VectorTileLayer from '../../layer/VectorTile';
import CanvasReplayGroup from '../../render/canvas/ReplayGroup';
import Style from '../../style/Styl... |
import { BinaryLike, createHash } from "crypto";
import { URL, URLSearchParams } from "url";
import { TextDecoder, TextEncoder } from "util";
import originalFetch, {
Headers,
Request,
RequestInfo,
RequestInit,
Response,
} from "@mrbbot/node-fetch";
import { Crypto } from "@peculiar/webcrypto";
import FormData... |
/*!
* devextreme-angular
* Version: 18.2.3
* Build date: Thu Nov 08 2018
*
* Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://git... |
import { Controller, Inject, Query, Get } from '@nestjs/common';
import { MvService } from '../services/mv.service';
import { ApiTags, ApiOperation } from '@nestjs/swagger';
import { TopDetailDto } from '../dto/cloudmusic.dto';
import { MvExclusiveRcmd, MvFirstDto, MvAllDto, MvUrlDto } from '../dto/mv.dto';
@ApiTags('M... |
import { firestore } from 'firebase-admin'
import LocalizedString from './LocalizedString'
import ManagedFirestoreDocument from './ManagedFirestoreDocument'
class Degree extends ManagedFirestoreDocument {
name: LocalizedString
regulations: number
semesters: number
constructor(id: string, name: LocalizedString... |
declare module jasmine {
interface Matchers<T> {
toHaveCssClass(expected: any): boolean;
toHaveModal(content?: string | string[], selector?: string): boolean;
toHaveBackdrop(): boolean;
toBeShown(): boolean;
}
} |
export interface Category {
id: number;
icon: object;
description: string;
color: string;
} |
import { storiesOf } from '@storybook/react'
import { subDays } from 'date-fns'
import React from 'react'
import { Observable, of } from 'rxjs'
import { WebStory } from '../components/WebStory'
import { ListSearchContextsResult, Scalars, SearchContextsNamespaceFilterType } from '../graphql-operations'
import { Search... |
import React, { FC, useEffect, useState, useCallback } from 'react'
import styled from "styled-components";
import { axiosAuth, getDomainName, axiosInstance } from '../../tools/tools';
import { useAuthState, useAuthDispatch } from '../../contexts/authContext';
import Loader from "../Tools/Loader";
import TableWithPagin... |
import { SignedOrder } from '@0x/connect';
import { assetDataUtils } from '@0x/order-utils';
import { OrderInfo } from '@0x/types';
import { UI_DECIMALS_DISPLAYED_PRICE_ETH } from '../common/constants';
import { getKnownTokens } from './known_tokens';
import { tokenAmountInUnitsToBigNumber } from './tokens';
import {... |
/*
E se volessimo far girare il programma in un qualsiasi contesto monadico?
*/
import * as fs from 'fs'
import * as T from 'fp-ts/Task'
import * as RA from 'fp-ts/ReadonlyArray'
import { URIS, Kind } from 'fp-ts/HKT'
import { Monad1 } from 'fp-ts/Monad'
import { Applicative1 } from 'fp-ts/Applicative'
import { co... |
import { trigger, state, style, transition, animate,
AnimationTriggerMetadata, AUTO_STYLE, query, animateChild, group } from '@angular/animations';
import { IAnimationOptions } from '../common/interfaces';
export interface IFadeInOutAnimation extends IAnimationOptions {
easeOnIn?: string;
easeOnOut?: str... |
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
@Entity()
export class ItemMaster {
@PrimaryGeneratedColumn()
id: number;
@Column()
itemName: string;
@Column()
itemDescription: string;
} |
import { Component, OnInit, OnDestroy, HostListener, AfterViewInit, ViewChild, ElementRef } from '@angular/core';
import { MainService } from '../../services/appservices/main.service';
import { Subscription, from } from 'rxjs';
import * as $ from 'jquery';
import * as jquery from 'image-map-resizer';
import { location ... |
export {default as useIntersectionObserver} from './use-intersection-observer'; |
/**
* Copyright (c) 2019-present, heineiuo.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export { BootBuffer, ValueType, EntryValueType } from './BootBuffer' |
// This file was auto-generated. Please do not edit it.
import * as p5 from '../../index';
declare module '../../index' {
class Image {
/**
* Creates a new p5.Image. A p5.Image is a canvas
* backed representation of an image. p5 can display
* .gif, .jpg and .png images. Im... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Register } from './Register';
it('It should mount', () => {
const div = document.createElement('div');
ReactDOM.render(<Register />, div);
ReactDOM.unmountComponentAtNode(div);
}); |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { ProductListComponent } from './products/product-list.component';
import { ConvertToSpacesPipe } from './shared/conv... |
import { Injectable } from '@angular/core';
import { ToastController } from '@ionic/angular';
import { Observable } from 'rxjs';
import { DataService } from './data.service';
import { CreateSurvey } from 'src/app/shared/interfaces/posts/survey/create-survey';
import { EditableSurvey } from 'src/app/shared/interfaces/... |
import { NavbarComponent } from '../custom-navbar-component'
let componentUpdate = async () => { }
let tabUpdate = async () => { }
let latestID: string
interface ActivityTabComponentConfig {
dataObject: {}
apiUrl: string
name: string
handleJson: (json: any) => void
template: string
}
interface ActivityTab {
... |
import './AppBar.less'
import React from 'react'
import { AppBar as MuiAppBar, Toolbar, useTheme } from '@mui/material'
import { PlayArrow, Stop } from '@mui/icons-material'
const LeftSetion: React.FC = () => {
const theme = useTheme()
return (
<section className='left-section'>
<svg xmlns='http://www.w3... |
import {formMessages} from "@temp/intl";
import { BlogErrorFragment } from "@temp/sections/blog/types/BlogErrorFragment";
import { BlogErrorCode } from "@temp/types/globalTypes";
import commonErrorMessages from "./common";
import {IntlShape} from "react-intl";
function getBlogErrorMessage(
err: Omit<BlogErrorFragme... |
// tslint:disable-next-line:no-var-requires
const ymlConfig = require('config-yml').load(process.env.NODE_ENV === undefined ? 'development' : process.env.NODE_ENV);
export const AppConfig = ymlConfig;
export class YamlService {
config: any;
constructor() {
this.config = ymlConfig;
}
public get(key: stri... |
/**
* @license
* Copyright 2017 Google Inc.
*
* 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, modify, merge... |
export * from './AccordionUtils'; |
import { Card } from '../../../interfaces'
import Set from '../Sun & Moon'
const card: Card = {
name: {
en: "Decidueye",
fr: "Archéduc",
es: "Decidueye",
it: "Decidueye",
pt: "Decidueye",
de: "Silvarro"
},
illustrator: "Kouki Saitou",
rarity: "Rare",
category: "Pokemon",
set: Set,
dexId: [
724,
... |
import log from "electron-log";
import {
ComboEvent,
ComboEventFilter,
EventConfig,
GameEvent,
InputEvent,
StockEvent,
StockEventFilter,
} from "@vinceau/slp-realtime";
import { CustomInputEventFilter, generateButtonComboPreview } from "./inputs";
export const generateEventName = (event: EventConfig): st... |
import { ClientFunction, Selector } from 'testcafe';
import { ReactSelector, waitForReact } from 'testcafe-react-selectors';
import { getPageUrl } from './helpers';
const getPageTitle = ClientFunction(() => document.title);
const counterSelector = Selector('[data-tid="counter"]');
const buttonsSelector = Selector('[da... |
import { Test, TestingModule } from '@nestjs/testing';
import { BankAccountsService } from './bank-accounts.service';
describe('BankAccountsService', () => {
let service: BankAccountsService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [BankAccounts... |
import React from 'react'
const KissWomanManMediumDarkSkinTone = ({ size, rem }: {
size: number | string,
rem?: boolean
}) => {
const width = (typeof size === 'string') ? size : rem ? `${size}rem` : `${size}px`
return (
)
}
export default KissWomanManMediumDarkSkinTone |
/* eslint-disable jest/expect-expect */
import '@aws-cdk/assert-internal/jest';
import * as assert from '@aws-cdk/assert-internal';
import * as acm from '@aws-cdk/aws-certificatemanager';
import { Metric, Statistic } from '@aws-cdk/aws-cloudwatch';
import { Vpc, EbsDeviceVolumeType, SecurityGroup } from '@aws-cdk/aws-e... |
import React from 'react';
import {Link} from "gatsby";
import {SocialMediaConstants} from "../common/SocialMediaConstants";
import ProfilePhoto from "../common/ProfilePhoto";
import CardComponent from "../common/CardComponent";
import {faCheckCircle} from "@fortawesome/free-solid-svg-icons";
import {FontAwesomeIcon} f... |
import { DateWheelPicker } from "@querycap-ui/date-pickers";
import { useState } from "react";
export const DateWheelPickers = () => {
const [value, updateValue] = useState("");
return (
<div>
<div>{value}</div>
<DateWheelPicker value={value} onValueChange={updateValue} />
</div>
);
}; |
import * as React from 'react';
import { Grid } from 'react-bootstrap';
const s = require('./style.css');
class Loader extends React.Component<void, void> {
render() {
return (
<Grid>
<div className={s.Spinner}></div>
</Grid>
);
}
}
export { Loader } |
version https://git-lfs.github.com/spec/v1
oid sha256:12b5a22730ecfef92ea960a0cf1840b18c630a51af904659c5ff841e7a7a353f
size 1244936 |
import { HandleCommand } from "@atomist/automation-client";
import { chainEditors } from "@atomist/automation-client/operations/edit/projectEditorOps";
import { EditorFactory, generatorHandler } from "@atomist/automation-client/operations/generate/generatorToCommand";
import * as utils from "@atomist/automation-client/... |
import { Logger } from '@nestjs/common';
import { EventsHandler, IEventHandler } from '@nestjs/cqrs';
import { PaymentMethodUpdatedEvent } from '../../impl';
@EventsHandler(PaymentMethodUpdatedEvent)
export class PaymentMethodUpdatedHandler
implements IEventHandler<PaymentMethodUpdatedEvent> {
handle(event: Pa... |
import React, { SVGProps } from 'react';
import generateIcon from '../../generateIcon';
const SolidArrowUp = (props: SVGProps<SVGSVGElement>) => {
return (
<svg viewBox="0 0 448 512" width="1em" height="1em" {...props}>
<path d="M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.