text stringlengths 10 953k |
|---|
import { DebugElement } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { Store, StoreModule } from '@ngrx/store';
import { OverlayModule } from '@angular/cdk/overlay';
import { App } from '@flogo-web/core';
import {... |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'desafio-wallmart';
} |
import React from 'react'
import { Alert } from 'react-bootstrap'
import { Link } from 'react-router-dom'
const calculator = <Link to="/calculator">calculator</Link>
/**
* Returns a link to the spreadsheet.
* @param text Display text for the link. Defaults to 'spreadsheet'
*/
function spreadsheet(text = 'spreadshe... |
import { IMatchList } from 'src/models/interfaces/match/matchlist.interface';
import { MatchReferenceExternal } from './matchreference.external';
export class MatchListExternal implements IMatchList {
matches: MatchReferenceExternal[];
totalGames: number;
startIndex: number;
endIndex: number;
} |
import axios from 'axios'
import {environment} from '../environment'
export const client = axios.create({
withCredentials:true,
baseURL: environment.baseUrl,
headers: {
'Content-Type':'application/json'
}
}) |
// *** 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";
/*... |
export class User {
id: number;
name: string;
username: string;
password: string;
ensurePassword: string;
email: string;
is_active: boolean;
is_superuser: boolean;
items: string[] = [];
current_item: string;
} |
export class Follow {
constructor(
public _id: string,
public user: string,
public followed: string
) {}
} |
import { Context } from 'koa'
import { Level } from '../../entities'
import { AuthUser } from '../../lib/authentication'
import { LevelManager } from '../../managers'
import { LevelModel } from './model'
export class LevelController {
private manager: LevelManager
constructor(manager: LevelManager) {
this.man... |
/*
* 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 React, { Fragment, FC, useContext, useState, useEffect } from 'react';... |
import {
Body,
Controller,
Get,
Param,
Patch,
Post,
Query,
UseGuards,
} from '@nestjs/common';
import { Serialize } from '../interceptors/serialize.interceptor';
import { AuthGuard } from '../guards/auth.guard';
import { CurrentUser } from '../users/decorators/current-user.decorator';
import { User } fr... |
import { CustomConsole } from './CustomConsole';
export declare class CustomConsoleMessage {
domElement: HTMLElement;
private customConsole;
private elapsedTime;
private removalTriggered;
constructor(console: CustomConsole, domElement: HTMLElement);
update(timeStep: number): void;
private tr... |
//-- copyright
// OpenProject is an open source project management software.
// Copyright (C) 2012-2021 the OpenProject GmbH
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License version 3.
//
// OpenProject is a fork of ChiliProject, which is... |
import Vec from '@/util/vec';
import Socket from '@/util/socket';
import Config from '@/services/config';
import * as randName from 'node-random-name';
import Session from '@/session';
import * as uuid from 'uuid/v4';
import { size } from 'lodash';
import { setTimeout } from 'timers';
type TOnDisconnectFunc = (reason:... |
import { Component, Directive } from '@angular/core';
@Directive({
selector: 'sbb-radio-button-panel-subtitle',
exportAs: 'sbbRadioButtonPanelSubtitle',
host: {
class: 'sbb-radio-button-panel-subtitle sbb-selection-panel-subtitle',
},
})
export class SbbRadioButtonPanelSubtitle {}
@Component({
selector:... |
import {getRando} from "dbmage"
import "./game/utils/thumbsticks/thumbsticks.js"
import {installXiome} from "./xiome.js"
// import {installXiomeMock} from "./xiome-mock.js"
import {AccessPayload} from "xiome/x/features/auth/types/auth-tokens.js"
import {HostNetworking} from "./netcode/types.js"
import {CharacterType,... |
import defaultLogger from '../logger'
import future, { IFuture } from 'fp-future'
import { Layer, Realm, Candidate, RootDaoState, ServerConnectionStatus, PingResult } from './types'
import { RootState } from 'shared/store/rootTypes'
import { Store } from 'redux'
import {
isRealmInitialized,
getCatalystRealmCommsSta... |
import { Component, OnInit, Input, Output, EventEmitter, ViewEncapsulation } from '@angular/core';
import { ClassStatusService } from '../../../../services/list/classstatus.service';
import { ImportViewModel } from '../../../../models/importviewmodel';
import { Router, ActivatedRoute } from '@angular/router';
import {... |
import { Markup } from 'telegraf';
import { InlineKeyboardMarkup } from 'telegraf/typings/core/types/typegram';
import { ExtraReplyMessage } from 'telegraf/typings/telegram-types';
import { bot } from '..';
import { Lobby } from './Lobby';
import { LobbyManager } from './LobbyManager';
export type ActionMap = PlayerAc... |
import React from "react";
import styled from "styled-components";
import orderBy from "lodash/orderBy";
import {
Heading,
Card,
CardBody,
Flex,
ArrowForwardIcon,
} from "@pancakeswap-libs/uikit";
import { NavLink } from "react-router-dom";
import pools from "config/constants/pools";
import { Pool } from "sta... |
import React, { useState } from 'react';
import { useIntl } from 'react-intl';
import { REF_STABLE_SWAP_TAB_KEY } from '~pages/stable/StableSwapPage';
export default function SquareRadio({
radios,
onChange,
}: {
radios: string[];
onChange: (chooseModule: string) => void;
}) {
const [choose, setChoose] = useS... |
/* GENERATED FILE */
import React, { forwardRef } from "react";
import {
IconWeight,
IconProps,
PaintFunction,
renderPathForWeight,
} from "../lib";
import IconBase, { RenderFunction } from "../lib/IconBase";
const pathsByWeight = new Map<IconWeight, PaintFunction>();
pathsByWeight.set("bold", () => (
<>
... |
/**
* @fileoverview Functions to convert API data to internal models.
*/
import {ApiClient, ApiClientApproval, ApiClientInformation, ApiClientLabel, ApiInterface, ApiKnowledgeBase, ApiNetworkAddress, ApiUname, ApiUnixVolume, ApiUser, ApiVolume, ApiWindowsVolume} from '../api/api_interfaces';
import {AgentInfo, Clie... |
import { jsx } from '@theme-ui/core'
export {
jsx,
Context,
merge,
useThemeUI,
ContextValue,
IntrinsicSxElements,
SxProps,
SxStyleProp,
} from '@theme-ui/core'
export { useColorMode, InitializeColorMode } from '@theme-ui/color-modes'
export { Styled, components } from '@theme-ui/mdx'
export { ThemeProv... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Digitalmoneybits</source>
<translation>Sobre o Digitalmoneybits</translation>
</message>
<me... |
import { TokenPair } from '@root/AuthEngine/SessionManager';
import { AxiosError, AxiosResponse } from 'axios';
export interface ApiResponse
extends AxiosResponse<{
message: string;
data?: any;
tokens?: TokenPair; // Only for login req
}> {}
export interface ApiErrorResponse
extends AxiosError<{
... |
import React, { useCallback } from 'react'
import { URL } from 'iso-url'
import { useLocation } from '@reach/router'
import GatsbyLink from 'gatsby-link'
import { getRedirect } from '../../utils/shared/redirects'
import { scrollIntoLayout, getScrollNode } from '../../utils/front/scroll'
export type ILinkProps = {
ch... |
/**
* @jest-environment jsdom
*/
import React from 'react';
import { render, cleanup } from '@testing-library/react';
import { ThemeProvider } from 'styled-components';
import { defaultTheme } from '@sinoui/theme';
import '@testing-library/jest-dom';
import DatesViewStatus from '../DatesViewStatus';
afterEach(cleanu... |
import { buildURL, isAbsoluteURL, combineURL, isURLSameOrigin } from '../../src/helpers/url';
describe('helpers:url', () => {
describe('buildURL', () => {
test('should support null params', () => {
expect(buildURL('/foo')).toBe('/foo');
});
test('should support params', () => {
expect(buildU... |
/**
* WebBlutooth example for Arduino Nano BLE 33
*
* Author: Danial Chitnis
* December 2019
*
* Please upload the sketch before running this code
*/
let LED = false;
let bleChar: BluetoothRemoteGATTCharacteristic;
let btConnect = document.getElementById("btConnect") as HTMLButtonElement;
let btLED = docum... |
import { TableSchema } from "./table-schema";
import { IndexableTypeArrayReadonly } from "./indexable-type";
import { TableHooks } from "./table-hooks";
import { Collection } from "./collection";
import { ThenShortcut } from "./then-shortcut";
import { WhereClause } from "./where-clause";
import { PromiseExtended } fro... |
import Vue, { PluginFunction, VueConstructor } from 'vue';
declare const StatefulForm: VueConstructor<Vue> & { install: PluginFunction<any>; };
export default StatefulForm; |
/**
* @license
* Copyright Google Inc. 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
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
export default [
[
... |
export const isWindow = () => process.platform === "win32"; |
import { computed, defineComponent, onBeforeUnmount, provide, ref, watch, watchEffect } from 'vue'
import { IxPortal } from '@idux/cdk/portal'
import { ScrollLocker } from '@idux/cdk/scroll'
import { callEmit, isPromise } from '@idux/cdk/utils'
import { IxMask } from '@idux/components/_private'
import { useGlobalConfig... |
import Timeline from "./Timeline";
import YearRecord from "./YearRecord";
export { Timeline, YearRecord }; |
import { UserState } from "../user/state/user.reducer";
export interface State {
user: UserState;
} |
/*
* 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 { fold } from 'fp-ts/lib/Either';
import { pipe } from 'fp-ts/lib/pipe... |
import * as React from "react";
import { InputHTMLAttributes, useEffect, useRef } from "react";
import styled from "styled-components";
import { guid } from "../..";
import { buttonCommonStyling } from "./common";
const Style = styled.div`
display: inline-flex;
flex-direction: column;
input {
padding: 0.2em ... |
import { DBParameterGroupNotFoundFault } from "./DBParameterGroupNotFoundFault";
export type DescribeDBParameterGroupsExceptionsUnion = DBParameterGroupNotFoundFault; |
/** @jsx jsx */
import { jsx } from '@emotion/core';
import { FC } from 'react';
import { components } from 'react-select';
import { IndicatorProps } from '../types';
import Spinner from '@atlaskit/spinner';
import SelectClearIcon from '@atlaskit/icon/glyph/select-clear';
import DownIcon from '@atlaskit/icon/glyph/chev... |
// Elix is a JavaScript project, but we define TypeScript declarations so we can
// confirm our code is type safe, and to support TypeScript users.
/// <reference path="../core/shared.d.ts"/>
import { goToItemWithPrefix } from "./internal.js";
declare const KeyboardPrefixCursorMixin: Mixin<
{},
{
[goToItemWi... |
/**
* @file One 一
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime';
export default IconWrapper(
'one',
true,
(h: IconHelper, props: ISvgIconProps) => (
<svg
wi... |
import {LearningUnitInfoInterface} from '../interfaces/LearningUnitInfoInterface';
export class LearningUnitInfo implements LearningUnitInfoInterface {
id: string;
learningUnitName: string;
deadLine: string;
analystName: string;
status: string;
constructor
(id: string = null, learningUnitName: string = ... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { SharedModule } from 'src/app/shared/shared.module';
import { MaterialModule } from 'src/app/material/material-module';
import { AkovariMainComponent } from './akovari-main.com... |
import * as React from 'react';
import FormControlLabel from '@material-ui/core/FormControlLabel';
import RadioGroup from '@material-ui/core/RadioGroup';
import { StyleRulesCallback, withStyles, WithStyles } from '@material-ui/core/styles';
import ActionsPanel from 'src/components/ActionsPanel';
import Button from 's... |
import {InfluxDB} from '@influxdata/influxdb-client'
import {APIBase, RequestOptions} from '../APIBase'
import {Flags} from './types'
export interface GetFlagsRequest {}
/**
* Flags API
*/
export class FlagsAPI {
// internal
private base: APIBase
/**
* Creates FlagsAPI
* @param influxDB - an instance th... |
import React, { useEffect } from 'react'
import { useParams, useHistory } from 'react-router-dom'
import { connect } from 'react-redux'
import './Code.scss'
import qrcode from '@public/img/qrcode.png'
import { productMap } from '@/store/fakeProduct'
interface Props {
oder: Oder[]
}
function getOderById (id: string... |
import { NgModule} from '@angular/core';
import { RouterModule } from '@angular/router';
import { ANGULAR_ROUTER_ROUTING } from "src/app/components/angular-router/angular-router.routing";
import { PageModule } from "src/app/components/page/page.module";
@NgModule({
imports: [ANGULAR_ROUTER_ROUTING ,PageModule],
... |
import json from 'comment-json';
import fs from 'fs-extra';
import * as path from 'path';
import R from 'ramda';
import { BitId, BitIds } from '../../bit-id';
import { BitIdStr } from '../../bit-id/bit-id';
import { BIT_MAP, BIT_VERSION, COMPONENT_ORIGINS, DEFAULT_LANE, OLD_BIT_MAP, VERSION_DELIMITER } from '../../con... |
// 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... |
/**
* @typedef CacheOptions
* @typeParam Args Arguments array infered from passed function to cache
* @typeParam ResultType Value that is returned from operation, infered from passed function
*/
interface CacheOptions<Args extends unknown[], ResultType extends unknown> {
/**
* Function used to calculate cach... |
import {} from "./array" // Make this a module
declare global {
// https://github.com/leobalter/proposal-setmap-offrom
interface SetConstructor {
/** Set containing the given values. */
of<T>(...values: T[]): Set<T>
/** Set containing the given values. */
from<T>(values: Iterable<T>): Set<T>
}
interface ... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
import { Injectable, UnauthorizedException } from '@nestjs/common';
import { JwtService } from '@nestjs/jwt';
import { CredentialsDto } from './dto/credentials.dto';
import { UserRepository } from './user.repository';
import * as bcrypt from 'bcrypt';
import { OrganizationRepository } from 'src/organizations/organizati... |
import {Dataset} from "../../types/Dataset";
import {ItemSelector, SELECTIONS} from "../useDataset/selection";
import {Classification} from "../../types/annotations";
import {Image} from "../../types/data";
export const IC_SELECTIONS = {
...SELECTIONS,
withClassification(
classification: Classification... |
// This file is auto generated by build/build-entry.js
import { VueConstructor } from 'vue/types';
import ActionSheet from './action-sheet';
import AddressEdit from './address-edit';
import AddressList from './address-list';
import Area from './area';
import Button from './button';
import Card from './card';
import Cel... |
import { UiSchema } from '@rjsf/core';
import { IActivity } from 'apps/delivery/store/features/activities/slice';
import chroma from 'chroma-js';
import { JSONSchema7 } from 'json-schema';
import ColorPickerWidget from '../custom/ColorPickerWidget';
import CustomFieldTemplate from '../custom/CustomFieldTemplate';
expo... |
/// <reference types="node" />
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { Readable } from 'stream';
expor... |
/* tslint:disable */
/* eslint-disable */
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tec... |
import { ValidationStatus } from '@limetech/lime-elements';
import { Component, h, State } from '@stencil/core';
import { schema } from './layout-schema';
/**
* Layout
* By default, each item in a limel-form will be rendered in a single row, and
* each row occupies the entire available width of the form's container... |
/// <reference path="custom.d.ts" />
/// <reference path="globals/core-js/index.d.ts" />
/// <reference path="globals/jasmine/index.d.ts" />
/// <reference path="modules/lodash/index.d.ts" /> |
import { SecurityContext } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { MarkdownModule, MarkdownService, SECURITY_CONTEXT } from 'ngx-markdown';
import { BaseUrlPipe } from '../entry/base-url.pipe';
import { MarkdownWrapperComponent } from './markdown-w... |
import IRunnable from '../interfaces/runnable';
import WorkResult from './work-result';
import Workhorse from '../workhorse';
export default class Work {
id: string;
workLoadHref: string;
input: any;
result: WorkResult;
finalizerResult: WorkResult;
parentID: string;
childrenIDs: string[];
... |
module kobito.qiita {
export function fetchItem(teamId, serverItemId: string) {
setEndpoint(teamId);
return Qiita.Resources.Item.get_item(serverItemId);
}
} |
import { ASTNode } from "graphql";
export function getKind({ kind }: ASTNode): string {
return kind;
} |
import React from "react";
import { MainDesign } from "src/components/main-design/main-design";
const MainDesignRoute: React.FC = () => {
return <MainDesign />;
};
// eslint-disable-next-line
export default MainDesignRoute; |
/**
* Copyright (c) 2019 Han Lee
* 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, publish, dist... |
import { TestBed, async } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
RouterTestingModule
],
... |
export class CustomerRegisterDto{
customerId : string;
name : string;
email:string;
password : string;
}; |
import {TimewarriorTimecard} from "./types/TimewarriorTimecard";
import {Timecard} from "./types/Timecard";
import {padTimeElement} from "./timeUtils";
import {configuration} from "./configuration";
const parseHour = (hourString: string): number => {
return parseInt(hourString, 10) + 2;
}
const getIconNameForTags =... |
import { ThunkCreator } from 'easy-peasy'
import { useCallback, useState } from 'react'
import { ThunkStage } from './thunk-stages-model'
export const useThunkStage = <P = void, R = any>(
thunk: ThunkCreator<P, R>
): [(payload: P extends undefined ? void : P) => Promise<R>, ThunkStage] => {
const [stage, setStage... |
import { FieldDefinition } from './field.static.types'
export type TextFieldDefinition = FieldDefinition<
string,
string,
string[],
string[]
> & {
/** * Text field */
type: 'text'
/** Options */
options?: {
/** The minimum length we'll allow of this field */
minLength?: number
/** The max length possible... |
import { Entity, Column, PrimaryGeneratedColumn, OneToMany, JoinColumn } from 'typeorm';
import Image from './Image';
@Entity('orphanages')
export default class Orphanages {
@PrimaryGeneratedColumn('increment')
id: number
@Column()
name: string
@Column()
latitude: number
@Column()
l... |
import { gql } from "@apollo/client";
import Button from "components/Button";
import Field from "components/forms/Field";
import useForm from "hooks/useForm";
import { useResetPasswordMutation } from "libs/graphql";
import { createGetServerSideProps } from "libs/page";
import { useTranslation } from "next-i18next";
imp... |
import {
ChangeDetectorRef,
Component,
EventEmitter,
forwardRef,
HostBinding,
Input,
OnInit,
Output,
ViewChild,
ViewEncapsulation
} from '@angular/core';
import { CalendarI18n } from './i18n/calendar-i18n';
import { FdDate } from './models/fd-date';
import { CalendarCurrent } fro... |
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
// import {AccountService} from '../services/account.services';
/**
* This class represents the lazy loaded AboutComponent.
*/
@Component({
moduleId: module.id,
selector: 'detail-plant',
templateUrl: 'detail-... |
// import { Injectable } from '@angular/core';
// import { HttpClient } from '@angular/common/http';
// import { Observable } from 'rxjs';
// import { END_POINTS } from './globals/global-config';
// const API_URL = END_POINTS.authorities;
// @Injectable({
// providedIn: 'root'
// })
// export class AuthoritiesServ... |
import type {
ContinuableState,
ContinuableFunction,
ContinuableUpdateHook,
ContinuableFixedExtension,
ContinuableContinuableExtension,
ContinuableContext,
BaseContinuableContext,
ContinuableStateResult,
UnwrapContinuableExtension
} from '../interfaces'
import * as Typeson from 'typ... |
import { LogErrorRepository } from '@/data/protocols/db/log/log-error-repository'
export const mockLogErrorRepository = (): LogErrorRepository => {
class LogErrorRepositoryStub implements LogErrorRepository {
async logError (stack: string): Promise<void> {
return await Promise.resolve()
}
}
return... |
import {
BadRequestException,
Body,
Controller,
Get,
NotFoundException,
Param,
Post,
Put,
} from '@nestjs/common';
import { ApiBody, ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
import {
EntityCommandRouterService,
EntityHistoryRequest,
LightingCacheDTO,
LightManagerService,
} fr... |
// Type definitions for angular.throttle
// Project: https://github.com/BaggersIO/angular.throttle
// Definitions by: Stefan Steinhart <https://github.com/reppners>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="angular" />
import * as angular from ... |
import { LoginResponseTemplate } from './libsaml';
export { IdentityProvider as IdentityProviderConstructor } from './entity-idp';
export { IdpMetadata as IdentityProviderMetadata } from './metadata-idp';
export { ServiceProvider as ServiceProviderConstructor } from './entity-sp';
export { SpMetadata as ServiceProvid... |
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { OrderEntry } from '@spartacus/core';
import { Observable } from 'rxjs';
import { tap } from 'rxjs/operators';
import { OrderAmendService } from '../../amend-order.service';
@Component({
selector: 'cx-return-order',
templateUrl: './return-... |
/// <reference path="../typings/index.d.ts" />
import routing from './app.route';
import {components} from './components/components';
const ngMainComponentName = 'tsngApp';
let app = angular.module('app', [
'ngComponentRouter',
'ngAnimate',
'ngCookies',
'ngSanitize',
// 'ngTouch',
'nvd3',
'tmh.dynamicL... |
// Type definitions for Angular JS 1.2 (ngResource module)
// Project: http://angularjs.org
// Definitions by: Diego Vilar <http://github.com/diegovilar>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="angular.d.ts" />
//////////////////////////////////////////////////////////////... |
// smithy-typescript generated code
import { Paginator } from "@aws-sdk/types";
import { ListFiltersCommand, ListFiltersCommandInput, ListFiltersCommandOutput } from "../commands/ListFiltersCommand";
import { GuardDuty } from "../GuardDuty";
import { GuardDutyClient } from "../GuardDutyClient";
import { GuardDutyPagin... |
/**
* Copyright (c) 2019 Kai Henningsen <kai.extern+mechanic@gmail.com>
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
export class ASTMoreBlock {
} |
/**
* Copyright (c) Meta Platforms, Inc. and 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 {_setFlipperLibImplementation} from 'flipper-plugin';
import {Logger} from 'flipper-common';
import type {S... |
declare function f([]?, {}) |
import { Injectable } from '@angular/core';
import {BehaviorSubject, Observable} from "rxjs";
@Injectable({
providedIn: 'root'
})
export class CountdownTimerService {
private time: BehaviorSubject<string> = new BehaviorSubject<string>('00:00:00');
private timerInSeconds: number; //in seconds
private interval;
... |
import React, { memo } from "react";
import classNames from "classnames";
function Shimmer({
width = "100%",
height = "auto",
className = "",
}: {
width?: string | number;
height?: string | number;
className?: string;
}) {
const styles = {
width,
height,
};
return (
<div
className=... |
import { Component, OnInit } from '@angular/core';
import {HttpClient} from "@angular/common/http";
import * as L from "leaflet";
import { Layer, tileLayer, geoJSON, LayerOptions } from 'leaflet';
import 'leaflet-providers';
@Component({
selector: 'app-user-details',
templateUrl: 'crop-advisory.component.html',
... |
/**
* 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... |
export declare type ICSSRule = 'initial' | 'inherit' | 'unset';
export declare type ICSSPercentageRule = string;
export declare type ICSSPixelUnitRule = string | number;
export declare type IFontWeight = ICSSRule | 'normal' | 'bold' | 'bolder' | 'lighter' | '100' | 100 | '200' | 200 | '300' | 300 | '400' | 400 | '500' ... |
import { HttpClient } from '@angular/common/http';
import { Inject, Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { BASE_URL } from '../app.tokens';
import { Task } from './task';
import { TaskService } from './task.service';
@Injectable()
export class DefaultTaskService implements Task... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PubliclistsComponent } from './publiclists.component';
import { ActivatedRoute, Router, Routes } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';
import { GlobalService } from '../../services/global... |
/*
* @Author: czy0729
* @Date: 2022-03-12 04:56:17
* @Last Modified by: czy0729
* @Last Modified time: 2022-05-03 10:55:02
*/
import React from 'react'
import { observer } from 'mobx-react'
import { _ } from '@stores'
import { Navigation, ColorValue } from '@types'
import { Touchable } from '../touchable'
import {... |
import React, { VFC } from 'react';
import { Color, G, Path } from 'react-native-svg';
import { createIcon } from '../helpers';
type BrokenProps = { color: Color, strokeWidth: number, };
type CurvedProps = { color: Color, strokeWidth: number, };
type DuotoneProps = { color: Color, strokeWidth: number, };
type OutlineP... |
/**
* @file Belt 腰带
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime';
export default IconWrapper(
'belt',
true,
(h: IconHelper, props: ISvgIconProps) => (
<svg
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.