text
stringlengths
10
953k
import { fetchSintegra } from "../src"; describe("test sintegra ba", () => { test("valid ba cnpj", async () => { const result = await fetchSintegra("96835632000306", "BA"); expect(result).toStrictEqual({ identificacao: { cnpj: "96.835.632/0003-06", ie: "051.232.395", razaoSocial: "A FELIZ COMERCIO ...
import { IEvent } from '@thomrick/event-sourcing'; import { BasicCredentials, IUserId, UserCreated, UserLoggedIn, UserLoggedOut, UUIDUserId, WrongCredentialsException, } from '../../../00-common'; import { SimpleUserAggregate } from './simple-user.aggregate'; describe('SimpleUserAggregate', () => { con...
import * as React from 'react'; import { CSSModule } from '../index'; export interface TableProps extends React.HTMLAttributes<HTMLElement> { [key: string]: any; className?: string; cssModule?: CSSModule; size?: string; bordered?: boolean; borderless?: boolean; striped?: boolean; invers...
import { Component, OnInit } from '@angular/core'; import { TranslateService, LangChangeEvent } from '@ngx-translate/core'; import { MenuItem } from './menu-item'; import { MENU_ITEMS } from './pages-menu'; import { HttpErrorResponse } from '@angular/common/http'; import { MenuService } from '../@core/data/menu.service...
export default function hasMoved( endEvent: TouchEvent, moveEvent?: TouchEvent ): boolean { if (!moveEvent) { return false; } if ( !endEvent.changedTouches?.[0] || (moveEvent.changedTouches[0] as any).touchType !== 'stylus' ) { return true; } // Distinguish stylus scroll and tap: if to...
import { CheckIcon, XIcon } from "@heroicons/react/outline"; import React, { ForwardedRef, useEffect, useState } from "react"; import { useLocale } from "@lib/hooks/useLocale"; import Avatar from "@components/ui/Avatar"; import Select from "@components/ui/form/Select"; type CheckedSelectValue = { avatar: string; ...
import {Component} from 'angular2/core'; import {ROUTER_DIRECTIVES} from 'angular2/router'; @Component({ selector: 'home', templateUrl: 'app/home.html', directives: [ROUTER_DIRECTIVES] }) export class HomeComponent { }
/* GENERATED FILE */ import * as React from 'react'; import Svg, { Rect, Path } from 'react-native-svg'; import { IconProps } from '../lib'; function FastForward(props: IconProps) { return ( <Svg id="Raw" viewBox="0 0 256 256" width={props.size} height={props.size} fill={props.colo...
import React, { FunctionComponent } from "react"; import { graphql } from "gatsby"; import Layout from "../components/layout"; import SEO from "../components/seo"; interface NotFoundPageProps { location: Location; data: { site: { siteMetadata: { title: string; }...
export const AuthApiPath = { LOGIN: '/login', REGISTER: '/register', TOKEN_REFRESH: '/refresh-token', LOGOUT: '/logout', FORGOT_PASSWORD: '/forgot-password', RESET_PASSWORD: '/reset-password', CHANGE_PASSWORD: '/change-password', };
/*! * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { _Blob } from 'aws-sdk/clients/lambda' import _ = require('lodash') import * as vscode from 'vscode' import { ext } from '../../shared/extensionGlobals' import { ExtensionUtilities } from '...
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction, BaseContract, ContractTransaction, CallOverrides, } from "ethers"; import { BytesLike } from "@ethersproject/bytes"; import { ...
import range from 'lodash/range'; import isArray from 'lodash/isArray'; import concat from 'lodash/concat'; import uniq from 'lodash/uniq'; import sortBy from 'lodash/sortBy'; import * as React from 'react'; import MinuteView from '../../views/MinuteView'; import { BasePickerOnChangeData, BasePickerProps, Disab...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// Copyright IBM Corp. 2019,2020. All Rights Reserved. // Node module: @loopback/health // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT import { HealthChecker, LivenessCheck, ReadinessCheck, ShutdownCheck, StartupCheck, } from '@cloudnative/hea...
<TS language="vi" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Phải chuột để edit address hoặc label</translation> </message> <message> <source>Create a new address</source> <translation...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
/** * Gets characters from the left. * @param x a string * @param n number of characters (1) */ function left(x: string, n: number=1): string { return x.slice(0, n); } export default left;
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. import { TraceContext } from '@azure/functions'; import { isLong } from 'long'; import { AzureFunctionsRpcMessages as rpc, INullableBool, INullableDouble, INullableString, INullableTimestamp, } from '../../azu...
{ class Person { // Class _name: string = 'Igor' _age: number = 23 constructor(name: string, age: number) { this._name = name this._age = age } get name(): string { return this._name } set name(value: string) { ...
import { AxiosDataResponse } from "axios"; import RequestClient from "./client"; interface KeyData { keyId: string; key: string; value: string; } interface KeyResponse { statusCode: string; message: string; data: KeyData; } class DotCloudRepository extends RequestClient { public constructor(url = "http...
import { NestFactory } from '@nestjs/core'; import { Logger } from '@nestjs/common'; import { FastifyAdapter, NestFastifyApplication } from '@nestjs/platform-fastify'; import { AppModule } from './app.module'; import { fastifyHelmet } from 'fastify-helmet'; import { setupSwagger } from './api-docs'; import { SharedModu...
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MarketsharePopoverComponent } from './marketshare-popover.component'; describe('MarketsharePopoverComponent', () => { let component: MarketsharePopoverComponent; let fixture: ...
import { async, TestBed } from '@angular/core/testing'; import { DateTimeHelper } from '@askanative-angulartoolkit/shared/common'; describe('Helper: DateTimeHelper', () => { let helper: DateTimeHelper; beforeEach(async(() => { TestBed.configureTestingModule({ providers: [DateTimeHelper], }).compileC...
import { Vector3 } from './Vector3'; import { Matrix4 } from './Matrix4'; import { Euler } from './Euler'; import { f32, ZERO_F32, ONE_F32, EPSILON, IsNearEqual } from './Utils'; const TEMP_VEC3 = new Vector3(); /** * Quaternion object */ export class Quaternion { public x: number = ZERO_F32; public y: nu...
import { parseUnits } from '@ethersproject/units' import { Currency, CurrencyAmount, ETHER, JSBI, Token, TokenAmount, Trade } from 'local-pancakeswap-libs/sdk' import { ParsedQs } from 'qs' import { useCallback, useEffect, useMemo, useState } from 'react' import { useDispatch, useSelector } from 'react-redux' import us...
import type { TableBodyProps as MaterialTableBodyProps } from "@material-ui/core/TableBody"; import { Omit } from "@material-ui/types"; export type TableBodyProps = Omit<MaterialTableBodyProps, "css">;
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { FlexLayoutModule } from '@angular/flex-layout'; import { ArtisticComponent, NoteNamePipe } from './artistic.component'; import { CreditCardModule } from '../../components/c...
///<reference path='../../types/index.d.ts' /> import {assert, Has} from 'conditional-type-checks'; /* * This code will not run, but will be typechecked as a test. */ import { loadStripe, Stripe, StripeElements, StripeElementStyle, CssFontSource, StripeCardElement, StripeCardNumberElement, StripeCa...
import * as d3s from 'd3-selection'; import * as d3a from 'd3-array'; import * as d3f from 'd3-format'; import ClassBuffer from './class-buffer'; import * as Config from './config'; import Color from './color'; import Interpreter from './interp'; import * as Scale from './scale'; import Assembly from './assembly'; impo...
// Copyright (c) 2021 Visiosto oy // Licensed under the MIT License export default { site: { siteMetadata: { siteURL: 'https://visiosto-website-main.netlify.app', }, }, };
import { Router, NextFunction, Response, Request } from "express"; import { generateGuestToken } from "src/jwt/factory"; /* * ___ .______ __ * / \ | _ \ | | * / ^ \ | |_) | | | * / /_\ \ | ___/ | | * / _____ \ | | | | * /__/ ...
import { Module } from '@nestjs/common' import { TasksModule } from './tasks/tasks.module' import { TypeOrmModule } from '@nestjs/typeorm' import { AuthModule } from './auth/auth.module' import { ConfigModule, ConfigService } from '@nestjs/config' @Module({ imports: [ ConfigModule.forRoot({ envFilePath: [`...
/* * 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 { EuiBasicTable, EuiButton, EuiCodeBlock, EuiCopy, EuiFlexGro...
version https://git-lfs.github.com/spec/v1 oid sha256:886e27e210710caf3fdeae76c7afda657832c2e3c06012ceff84114b1d7345f4 size 1276708
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; // used to create fake backend import { fakeBackendProvider } from './_helpers'...
import { IMessage } from '../types'; type DateJSON = { year: number; month: number; day: number; hour: number; minutes: number; seconds: number; formatted: () => string; }; const SECOND = 100 * 60; const MINUTE = SECOND * 60; const HOUR = MINUTE * 60; const DAY = HOUR * 12; export function parseDate(da...
import { env as envDict } from "process"; import { s3Download } from "./aws"; // by default, we obviously want this setup to work correctly in a standalone fargate/lambda // HOWEVER, it is useful to be able to override these on an execution basis for local testing // THIS IS STRICTLY FOR USE IN DEV SETUPS - THESE PATH...
import * as THREE from "three"; import AComponent from "../ecs/abstract/AComponent"; import IEntity from "../ecs/interfaces/IEntity"; export default class Cloud extends AComponent { private _geometry: THREE.BoxGeometry; private _material: THREE.MeshBasicMaterial; private _mesh: THREE.Mesh; constructo...
#! /usr/bin/env node /** * @license * Licensed under the MIT License, (“the License”); you may not use this * file except in compliance with the License. * * Copyright (c) 2021 humbertda */ import { join } from 'path'; import {FormOpenapiGenerator} from './form-openapi-generator'; import {DefaultOutputFormatter...
import * as React from 'react' import { Svg, Path, SvgProps } from '../wrappers' const Financial: React.FC<SvgProps> = ({ fill, ...props }) => ( <Svg {...props}> <Path fill={fill} /> </Svg> ) export default React.memo(Financial)
export interface ICaching { set(key: any, value: any): any; get(key: any): Promise<any>; delete(key: any): Promise<any>; registerOnChange(key: any, cb: any): boolean; unRegisterOnChange(key: any): boolean; shutdown(): any; init(): Promise<void>; publish(key: any, value: any): Promise<any...
/// <reference types="chrome"/> import React from 'react'; import ReactDOM from 'react-dom'; import './viewer/reset.css'; import App from './viewer/App'; import { createStores } from './stores/RootStore'; import { Provider } from 'mobx-react'; // import 'regenerator-runtime/runtime'; const stores = createStores(); // ...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { LojasComponent } from './pages/listar/lojas.component'; import { LojasCadastrarComponent } from './pages/cadastrar/lojas-cadastrar.component'; import { LojasCadastrarResolve } from '../../core/resolves/lojas/lojas...
import { testApolloServer, createServerInfo, createApolloFetch, } from 'apollo-server-integration-testsuite'; import http = require('http'); import request from 'supertest'; import { Server } from '@hapi/hapi'; import { gql, AuthenticationError, Config } from 'apollo-server-core'; import { ApolloServer, Server...
import styled, { media } from "@styled"; export const DocsLayoutWrapper = styled.div` &&& { width: 100%; margin-top: 52px; ${media.tablet` margin-top: 72px; `} .grid-container { padding: 15px; } .grid-unit-content { padding: 0 32px; ${media.phone` paddi...
#include "buf.h" #test test_init_buf_free /* initialization, buf_free() */ float *a = 0; ck_assert_msg(buf_capacity(a) == 0, "capacity init"); ck_assert_msg(buf_size(a) == 0, "size init"); buf_push(a, 1.3f); ck_assert_msg(buf_size(a) == 1, "size 1"); ck_assert_msg(a[0] == (float)1.3f, "valu...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eo" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About monsterCoin</source> <translation>Pri monsterCoin</translation> ...
import { PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn, } from 'typeorm'; import { UtilsService } from '../providers/utils.service'; import { AbstractDto } from './dto/AbstractDto'; export abstract class AbstractEntity<T extends AbstractDto = AbstractDto> { @PrimaryGeneratedColumn('uuid') id: s...
import { Component, OnInit, ViewChild } from '@angular/core'; import { concat, Observable, of, Subject } from 'rxjs'; import { PicklistRemoteDataService, Person } from './picklist-remote-data.service'; import { catchError, distinctUntilChanged, switchMap, tap } from 'rxjs/operators'; import { PicklistComponent } from '...
import {Component, Input, OnInit, OnChanges, ViewChild} from '@angular/core'; declare var ol: any; /* It assumes the OL CSS and JS are already included in application: <link rel="stylesheet" href="https://openlayers.org/en/v4.6.5/css/ol.css" type="text/css"> <script src="https://openlayers.org/en/v4.6.5/build/ol.js"...
import { AnimationEntryMetadata } from '@angular/core'; export declare const animations: AnimationEntryMetadata[];
import { WorkspaceDefinition } from '@angular-devkit/core/src/workspace'; import { SchematicsException } from '@angular-devkit/schematics'; export function validatePlugin( workspace: WorkspaceDefinition, pluginName: string ) { const project = workspace.projects.get(pluginName); if (!project) { throw new Sc...
import * as MapboxDraw from "@mapbox/mapbox-gl-draw"; const DrawLineString = MapboxDraw.modes.draw_line_string; const _clickAnywhere = DrawLineString.clickAnywhere; DrawLineString.clickAnywhere = function ( state: any, e: MouseEvent, delta: any ) { const result = _clickAnywhere.apply(this, [state, e, delta])...
import { FilterQuery } from 'mongoose'; import { getUserProfile, populateMongooseDocWithUser, createLHProject } from './helpers'; import { Property } from './schema'; export const PropertyResolver = { Query: { async listLHProperties(root: any, args: any, ctx: any) { const { limit, offset, search, u...
import { removeFilterFromQuery } from './index'; /* Adds a filter to a query, If the same filter already exists remove any potential duplicates, Merge filters */ export const addFilterToQuery = (filter: any, query: any) => { let updatedQuery: any = {}; // Always start by removing the filter from the query i...
import { Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-even', templateUrl: './even.component.html', styleUrls: ['./even.component.css'], }) export class EvenComponent implements OnInit { @Input() num: number; constructor() {} ngOnInit(): void {} }
import { Object3D } from './../core/Object3D'; import { Bone } from './../objects/Bone'; import { LineSegments } from './../objects/LineSegments'; export class SkeletonHelper extends LineSegments { constructor( bone: Object3D ); bones: Bone[]; root: Object3D; getBoneList( object: Object3D ): Bone[]; update(): ...
import * as React from 'react'; function Loading() { return ( <div className="sha-lazyloading"> <div className="sha-loading-part"> <img className="sha-loading-img" src="/static/imgs/EastPerl.svg" alt="Loading Image" /> <img className="sha-loading-indicator" src="/static/imgs/loading.svg" ...
import * as AST from '../AST'; import { Environment } from './Environment'; import { TypedFunction, TypedArgument, ReplicatedExpression, DesignScriptError } from './RuntimeTypes'; import { Replicator } from './Replicator'; import { Range } from './Range'; import { CpsVisitor } from '../Visitor'; import { ImperativeInte...
/// <reference lib="es2022" /> /// <reference lib="dom" /> /// <reference lib="webworker.importscripts" /> /// <reference lib="scripthost" /> /// <reference lib="dom.iterable" />
export default { apiToken: 'PARTNER_AHm3M6clSAOoyJg4KyCg7w', apiHeaderName: 'X-Busbud-Token', apiUrl: 'https://napi.busbud.com/x-departures/', pollingTimeout: 5000 };
// 产品目录名字和service名字匹配即 lb_private(目录名) => lbPrivate(service) import { DetailQueryConfig, FildDescriptorType } from '../_base/types'; import { instanceQueryParamsBaseParse } from '../../common/utils'; import _ from 'lodash'; const namespace = 'QCE/BM_LB'; // 组件名称。这里名字要和index.ts中的SERVICES对应,后面会根据SERVICES中service字段拼接这个q...
import { getProductEndpoint, getProductDetailsEndpoint, getCategoryEndpoint, getCategoryDetailsEndpoint, getCustomerAddressEndpoint, getCustomerAddressDetailsEndpoint, getCustomerAddressSetDefaultShippingEndpoint, getCustomerAddressSetDefaultBillingEndpoint, getCustomerEndpoint, getCustomerDetailsEn...
<TS language="ca" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Botó dret per editar l'adreça o l'etiqueta</translation> </message> <message> <source>Create a new address</source> <transl...
import { animate, state, style, transition, trigger } from '@angular/animations'; import { SelectionModel } from '@angular/cdk/collections'; import { NestedTreeControl } from '@angular/cdk/tree'; import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges, SimpleChange } from '@angular/core'; import { Mat...
/* * For a detailed explanation regarding each configuration property and type check, visit: * https://jestjs.io/docs/en/configuration.html */ export default { // All imported modules in your tests should be mocked automatically // automock: false, // Stop running tests after `n` failures // bail: 0, //...
import {RangeSet} from "@codemirror/next/rangeset" import {ChangeSet, Transaction} from "@codemirror/next/state" import {ContentView, ChildCursor, Dirty, DOMPos} from "./contentview" import {BlockView, LineView} from "./blockview" import {InlineView, CompositionView} from "./inlineview" import {ContentBuilder} from "./...
import { Module } from '@nestjs/common'; import { AuthController } from './auth.controller'; import { AuthService } from './auth.service'; import { UsersModule } from 'src/users/users.module'; import { JwtModule } from '@nestjs/jwt'; import { PassportModule } from '@nestjs/passport'; import { JwtStrategy } from './jwt....
import { Observable } from 'rxjs'; import { API } from 'core/api/ApiService'; export interface IPagerDutyService { id: string; integration_key: string; lastIncidentTimestamp: string; name: string; policy: string; status: string; } export interface IOnCall { escalation_policy: { id: string; }; e...
// DefinitelyTyped: partial // This file contains common part of defintions for rx.time.d.ts and rx.lite.d.ts // Do not include the file separately. ///<reference path="rx-lite.d.ts" /> declare module Rx { export interface TimeInterval<T> { value: T; interval: number; } export interface Timestamp<T> { valu...
import * as React from "react"; import "./index.scss"; import { RoadmapEntry } from "../../types"; import { getUrlDomain } from "../../utils"; const isVideoLink = (url: string) => { return url.indexOf("Video:") === 0; }; const ListHeader: React.FC<{ goalsChecked?: number[]; activeNode: RoadmapEntry; totalIte...
import jwt from "jsonwebtoken"; import { NextApiRequest, NextApiResponse } from "next"; import prisma from "./prisma"; export const validateRoute = (handler) => { return async (req: NextApiRequest, res: NextApiResponse) => { const token = req.cookies.LIFETRACKS_ACCESS_TOKEN; if (token) { let user; ...
import { Component, OnDestroy, OnInit } from '@angular/core'; import { HttpResponse } from '@angular/common/http'; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { ActivatedRoute, Router } from '@angular/router'; import { JhiAlertService, JhiEventManager, JhiParseLinks } from 'ng-jhipster'; import { IT...
module armExplorer { export class Subscription extends GenericResource { constructor(resolver: ScriptParametersResolver) { super(resolver); } getScript(action: ResourceAction): String { let script: string = ""; switch (action) { case R...
/* * 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...
import {EventEmitter, Injectable, Output} from '@angular/core'; import {ApiService} from '../../core/api.service'; import {Observable} from 'rxjs'; import {ApiResponse} from '../../model/api.response'; import {User} from '../../model/user.model'; import {environment} from '../../../environments/environment'; import {Ht...
/* * Copyright 2018 Palantir Technologies, Inc. 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 req...
/** Combination Sum IV Given an array of distinct integers nums and a target integer target, return the number of possible combinations that add up to target. The answer is guaranteed to fit in a 32-bit integer. Example 1: Input: nums = [1,2,3], target = 4 Output: 7 Explanation: The possible combination ways are:...
import { Action } from '@ngrx/store'; import { Product } from '../product'; export enum ProductActionTypes { ToggleProductCode = 'products$/Toggle Product Code', SetCurrentProduct = 'products$/Set Current Product', ClearCurrentProduct = 'products$/Clear Current Product', InitializeCurrentProduct = 'products$/I...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { I18nTestingModule, PaginationModel } from '@spartacus/core'; import { StoreFinderPaginationDetailsComponent } from './store-finder-pagination-details.component'; describe('StoreFinderPagin...
import { MessageCodes, MessageParams } from 'src/renderer/app/models/messages.model'; import { ToastTypes } from 'src/renderer/app/models/toasts.model'; export const Messages: { [key in MessageCodes]: | ((messageParams: MessageParams) => { message: string; loggerMessage?: string; show...
import { ChangeDetectionStrategy, Component } from '@angular/core'; @Component({ selector: 'dsh-link-label', templateUrl: 'link-label.component.html', styleUrls: ['link-label.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) export class LinkLabelComponent {}
export const POD_NETWORK = 'Pod Networking';
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const fiCheckSquare: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const ligat...
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; @Injectable({ providedIn: 'root' }) export class LibraryServiceService { URMS_HOSTNAME = "http://localhost:8084"; constructor(private http: HttpClient) { } saveBook(bookDetails) { const httpOptions...
import { TrackOpTypes, TriggerOpTypes } from './operations' import { extend, isArray, isIntegerKey, isMap } from '@vue/shared' import { EffectScope, recordEffectScope } from './effectScope' import { createDep, Dep, finalizeDepMarkers, initDepMarkers, newTracked, wasTracked } from './dep' import { ComputedRe...
import { HttpProvider } from "../../../../src/internal/core/providers/http"; import { ALCHEMY_URL } from "../../../setup"; describe("HttpProvider", function () { describe("429 Too many requests - retries", function () { it("Retries are correctly handled for Alchemy", async function () { if (ALCHEMY_URL ===...
export interface IProduct { readonly product_id?: number; readonly name: string; readonly category: string; readonly unitPrice: number; readonly quantity: number; readonly photoURL: string; readonly createdAt: Date; }
import styled from 'styled-components'; import { getTheme } from 'utils/getTheme'; import { Typography } from 'components/primitives/Typography'; import { customCss } from 'utils/customCss'; import { StyledBaseProps, StyledCssProps, } from 'components/Components.styled.types'; type Props = StyledBaseProps & Styled...
/** * * * OpenAPI spec version: 20200131 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
/** * @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 { JsonObject } from '@angular-devkit/core'; import { EmptyTree } from '@angular-devkit/schematics'; import { S...
import React from "react"; import { css } from '@emotion/react' import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faCut, faFilm, faListUl, faPhotoVideo, faSignOutAlt, IconDefinition } from "@fortawesome/free-solid-svg-icons"; import { useDispatch, useSelector } from 'react-redux' import { se...
import styled from 'styled-components'; import { Typography } from '@components'; import { getAssetByUUID, useAssets } from '@services/Store'; import { BREAK_POINTS, COLORS, SPACING } from '@theme'; import { Asset } from '@types'; import { IMembershipConfig } from '../config'; const PlanCard = styled.div` @media s...
import { GraphQLError } from 'graphql'; import { useMemo } from 'react'; import { DeepNullable, makeDataGetter } from '@keystone-next/admin-ui-utils'; import { DocumentNode, useQuery, QueryResult, ServerError, ServerParseError } from '../apollo'; export type AuthenticatedItem = | { state: 'unauthenticated' } | { s...
import { NgModule, Optional, SkipSelf, Self, Host, ModuleWithProviders } from '@angular/core'; import { CommonModule } from '@angular/common'; import { LyThemeContainer } from './theme.directive'; import { LyTheme2 } from './theme2.service'; import { CoreTheme } from './core-theme.service'; import { LY_THEME_NAME } fro...
import * as assert from "assert"; import * as vs from "vscode"; import { activate, currentDoc, ensureTestContent, extApi, fakeCancellationToken, positionOf, setTestContent } from "../../helpers"; describe("rename_provider", () => { beforeEach("activate", () => activate()); it("renames all exact references but not ...
/** * UUID * Type alias used to describe unique IDs throughout @codotype/core */ export type UUID = string;
export interface Item { id: number; productImage: ProductImage; title: string; price: number; quantity: number; currentQuantity: number; description: string; active: boolean; shopManagement: ShopManagement; categoryDetails: CategoryDetails; serviceID: ServiceID; } export inte...
/* tslint:disable:no-unused-variable */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { DebugElement } from '@angular/core'; import { Skd17Component } from './skd17.component'; describe('Skd17Component', () => { let component: Skd17C...