text
stringlengths
10
953k
import { RequestHandler } from 'express'; import { DataStore } from '../../model/shared/DataStore'; import { EmbyFilters } from '../../model/shared/embyFilter'; import { ItemsCounts } from '../../model/shared/itemsCounts'; import { ItemsCountsTestData } from '../../model/shared/itemsCountsTestData'; // eslint-disable-...
export interface NetworkConfig { mnemonic: string; url: string; chainID: string; }
import { getPureData, insertSQL, object2Sql } from './transformer'; import Schema from './schema'; import { Log, DebugLog } from './log'; /** * todo * 定义模型需要校验上报内容,不合格内容应该单独不存储,但不影响其他内容存储 */ export default class ClickHouseOrm { client; db; debug; constructor({ client, db, debug }) { this.client = clien...
import { RequestBuilder, GetAllRequestBuilderV4, GetByKeyRequestBuilderV4, CreateRequestBuilderV4, UpdateRequestBuilderV4, DeleteRequestBuilderV4 } from '@sap-cloud-sdk/core'; import { EmployeeStatus } from './EmployeeStatus'; /** * Request builder class for operations supported on the [[EmployeeStatus]] entity. */ e...
import Mixin from '@ember/object/mixin'; import ComputedProperty from '@ember/object/computed'; /** * Map type `T` to a plain object hash with the identity mapping. * * Discards any additional object identity like the ability to `new()` up the class. * The `new()` capability is added back later by merging `EmberCl...
const persistState = require('redux-localstorage'); const createLogger = require( 'redux-logger'); import { IAppState, rootReducer, deimmutify, reimmutify } from './store'; import { ILineup, IParty } from './lineup'; import { IMenu, IMenuItem } from './menu'; import { ITables, ITable } from './tables'; export { IApp...
export const environment = { production: true, api_url: 'http://localhost:8000/api' };
export class EventReducer { private flag = false; constructor(private duration: number) {} public reduce = (callback: () => any) => { if (!this.flag) { this.flag = true; setTimeout(() => { this.flag = false; }, this.duration); callback(); } }; }
import * as React from 'react'; import { Icon } from '@mountain-ui/react-components'; import { IconPresetProps } from '../icons.types'; function SvgYoutube(props: IconPresetProps, svgRef?: React.Ref<SVGSVGElement>) { return ( <Icon {...props}> <svg xmlns='http://www.w3.org/2000/svg' data-n...
import {Component, OnDestroy, OnInit} from '@angular/core'; import {Subscription} from 'rxjs'; import {ActivatedRoute} from '@angular/router'; import {SharedService} from '../../services/shared.service'; import {PostService} from '../../services/post.service'; import {Post} from '../../data/PostData'; @Component({ s...
import config from "../../config"; import { codeblock } from "../../functions/markup"; import { commands, EmbedBrands, EmbedColors } from "../../globals"; import { Imagga } from "../../other_apis"; import { Parameters } from "../../parameters"; import { editOrReply } from "../../tools"; import { createUserEmbed } from ...
import * as assert from "assert"; import { randomBytes } from "crypto"; import { defaults } from "./config"; import deferred from "./deferred"; import { makeJobHelpers } from "./helpers"; import { Job, TaskList, WithPgClient, Worker, WorkerOptions, } from "./interfaces"; import { processSharedOptions } from ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
export class UserGender { private static codeMap: { [key: number]: UserGender } = {}; static values: UserGender[] = []; static MALE = new UserGender(1, 'Female'); static FEMALE = new UserGender(2, 'Male'); code: number; name: string; private constructor(code: number, name: string) { UserGender.c...
/** * Module providing simple page rendering model. */ import { dedent } from "ts-dedent" export type PageScript = { type?: string src?: string content?: string } export type PageInfo = { title?: string styles?: string[] scripts?: PageScript[] body?: string baseHref?: string } export const page = (...
import React from 'react'; import { SvgIcon } from '@mui/material'; export const GitHub = () => ( <SvgIcon viewBox="0 0 24 24"> <path d="M12 .3a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2c-3.3.7-4-1.6-4-1.6-.6-1.4-1.4-1.8-1.4-1.8-1-.7.1-.7.1-.7 1.2 0 1.9 1.2 1.9 1.2 1 1.8 2.8 1.3 3.5 1 0-.8.4-1.3.7-1.6-2.7-.3-5.5-1.3...
import { SP } from "gd-sprest-def"; /** * SharePoint Configuration */ export const SPConfig: (cfg: ISPConfigProps, webUrl?: string) => ISPConfig; /** * Field Information */ export interface IFieldInfo { /** The default value of the field. */ defaultValue?: string; /** The group name. */ group?: s...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'header-table-properties', templateUrl: './header-table-properties.component.html', styleUrls: ['./header-table-properties.component.scss'] }) export class HeaderTablePropertiesComponent implements OnInit { constructor() { } ngOnInit...
export * from './account-dialog/account-dialog.component'; export * from './archive-account/archive-account.component';
import { combineLatest as observableCombineLatest, Observable, Subscription } from 'rxjs'; import { Component, OnInit } from '@angular/core'; import { RemoteData } from '../../core/data/remote-data'; import { PaginatedList } from '../../core/data/paginated-list.model'; import { PaginationComponentOptions } from '../../...
export class Leader { id: string; name: string; image: string; designation: string; abbr: string; featured: boolean; description: string; }
/** * This is auto-generated file, don't modify this file manually */ // wall_wallpost_attachment_type /** * Attachment type */ export type WallWallpostAttachmentType = 'photo' | 'posted_photo' | 'audio' | 'video' | 'doc' | 'link' | 'graffiti' | 'note' | 'app' | 'poll' | 'page' | 'album' | 'photos_list' | 'market_...
import { TocNode } from "./toc-node"; type TocListInfo = { // if list is undefined it means this global list is not initialized yet yet (global list objects are initialized on the first page load) list?: TocNode[]; } /** * global toc node list for each document to be used in the left sidebar of all pages rela...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { HttpClientModule, HttpClient } from '@angular/common/http'; import { TranslateModu...
import {NgModule} from "@angular/core"; import {SimpleNotificationsModule} from "angular2-notifications"; import {AccordionModule} from 'ngx-bootstrap/accordion'; import {ProgressbarModule} from "ngx-bootstrap/progressbar"; import {PaginationModule} from "ngx-bootstrap/pagination"; import {TabsModule} from "ngx-bootstr...
import {NgModule} from "@angular/core"; import {RouterModule} from "@angular/router"; import {PopupServiceIntroduceComponent} from "./introduce/demo.component"; import {PopupServiceIntroduceModule} from "./introduce/demo.module"; import {PopupZIndexDemoComponent} from "./z-index/demo.component"; import {PopupZIndexDemo...
import React from 'react'; import Header from './Header/Header'; import Footer from './Footer/Footer'; import './styles/layout.scss'; const Layout: React.FC = ({ children }): JSX.Element => { return ( <> <Header /> {children} <Footer /> </> ); }; export default Layout;
import { useMemo } from 'react'; import { ReadShape, Schema } from '~/resource'; import useFetcher from './useFetcher'; import useMeta from './useMeta'; /** Returns whether the data at this url is fresh or stale */ function useIsStale< Params extends Readonly<object>, Body extends Readonly<object> | void, S ext...
import { testSaga } from 'redux-saga-test-plan'; import { ResourceType, SearchType } from 'interfaces'; import * as NavigationUtils from 'utils/navigationUtils'; import * as SearchUtils from 'ducks/search/utils'; import globalState from 'fixtures/globalState'; import * as API from '../api/v0'; import * as Sagas from...
export const formatPrice = (price: number): string => `€${(price / 100).toFixed(2)}`;
import { Component, OnInit } from '@angular/core'; import { MasterScreenerService } from '../../master-screener.service'; import { Animations } from '../../../../shared/animations'; import {ProgramsServiceService} from "../../../programs-service.service"; @Component({ selector: 'app-result-list', templateUrl: ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MainViewComponent } from './main-view.component'; describe('MainViewComponent', () => { let component: MainViewComponent; let fixture: ComponentFixture<MainViewComponent>; beforeEach(async(() => { TestBed.configureTestingMod...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-spinner', templateUrl: './spinner.component.html', styleUrls: ['./spinner.component.scss'] }) export class SpinnerComponent implements OnInit { constructor() { } ngOnInit() { } }
// Copyright 2021 CJ Harries // // 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 w...
export class SidebarClass { public static readonly MENU = 'sidebar/class/MENU'; public static readonly SETTINGS = 'sidebar/class/SETTINGS'; } export type SidebarClassType = typeof SidebarClass[keyof typeof SidebarClass] | null;
import React from "react"; export type User = { id?: string; uid: number; name: string; profileImageUrl: string; }; interface IWatchContext { users: User[]; addUser: (user: User) => void; loadUsers: () => void; } export const WatchContext = React.createContext<IWatchContext>({ users: ...
import cookieParser from 'cookie-parser'; import { Request, Response, Router } from 'express'; import rateLimit from 'express-rate-limit'; import { authorizeGetHandler, authorizePostHandler } from './authorize'; import { authenticateToken } from './middleware'; import { tokenHandler } from './token'; import { userInfoH...
import { createApp } from 'vue' import App from './App.vue' import './registerServiceWorker' import router from './router' import store from './store' import './tailwind.css' import axios from 'axios' axios.defaults.baseURL = 'http://127.0.0.1:8000' createApp(App).use(store).use(router, axios).mount('#app')
export interface Profile { about: string; photo: string; } export interface Answer { correct: boolean; answerId: number; } export interface QuizPayload extends Answer { questionId: number; userId: string; } export interface UserData { name: string; id: string; rehearsal: boolean; relationships?: ...
/* * Copyright 2021 The Backstage Authors * * 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 ...
import {Component, OnInit} from "@angular/core"; import {IPost, DocService} from "../../../../shared"; @Component({ selector: "app-sanitization-intro", templateUrl: "./sanitization-intro.component.html", styleUrls: ["./sanitization-intro.component.sass"] }) export class SanitizationIntroComponent implements OnIn...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { TableExternalComponent } from './table-external.component'; describe('PasswordExternalComponent', () => { let component: TableExternalComponent; let fixture: ComponentFixture<TableExternalComponent>; beforeEach(async () => { await ...
import React from 'react'; import { Variant } from '@newrade/core-design-system'; import { Tag } from '@newrade/core-react-ui'; type Props = { tagText?: string; }; export const NavbarLogoTagItem: React.FC<Props> = ({ tagText }) => { return tagText ? <Tag variant={Variant.primary}>{tagText}</Tag> : null; };
import { Interfaces } from "@youwol/flux-files" import { Observable, Subject } from "rxjs" import { map, tap } from "rxjs/operators" import { DeletedEntityResponse, ItemResponse, AssetsGatewayClient } from "@youwol/platform-essentials" export class File extends Interfaces.File { constructor(public readonly drive...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-date-picker', templateUrl: './date-picker.component.html', styleUrls: ['./date-picker.component.less'] }) export class DatePickerComponent implements OnInit { constructor() { } ngOnInit(): void { } }
import { RendererId, RendererErrorResponse } from 'react-cosmos-shared2/renderer'; import { isInsideCosmosPreviewIframe } from './shared'; let alreadyAdded = false; export function addGlobalErrorHandler(rendererId: RendererId) { if (alreadyAdded) { return; } alreadyAdded = true; window.addEventListen...
export interface SpinnerItemProperties { cardTemplates: {id: number, quantity: number}[] coins: number craftingcoins: number pack_templates: {id: number, quantity: number}[] random_card_template: number silvercoins: number }
<TS language="id_ID" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Klik-kanan untuk mengubah alamat atau label</translation> </message> <message> <source>Create a new address</source> <tr...
import * as React from 'react'; import { FormSection, SectionHeader, SectionBody, SectionFooter, } from '../AmplifyUI'; import { Input, Button } from '../AmplifyTheme'; import { I18n } from '@aws-amplify/core'; import { Interactions } from '@aws-amplify/interactions'; import { ConsoleLogger as Logger } from '@aws-...
import { getGenerator, getPackedPackage, parseEnvValue } from '@prisma/sdk' import fs from 'fs' import path from 'path' import rimraf from 'rimraf' import stripAnsi from 'strip-ansi' import { promisify } from 'util' import { omit } from '../../omit' const del = promisify(rimraf) jest.setTimeout(30000) describe('gener...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { inject, injectable } from 'inversify'; import { Event, EventEmitter, NotebookDocument } from 'vscode'; import { IDisposable, IDisposableRegistry } from '../../common/types'; import { IPyWidgetMessage...
import * as React from 'react'; import * as ReactDOM from 'react-dom'; import Popup from './Popup'; chrome.tabs.query({ active: true, currentWindow: true }, () => { ReactDOM.render(<Popup />, document.getElementById('popup')); });
import {Component, ElementRef, OnDestroy, ViewChild} from '@angular/core'; import {ActivatedRoute, Data, NavigationEnd, NavigationStart, Router} from '@angular/router'; import {takeUntil} from 'rxjs/operators'; import {Subject} from 'rxjs'; import {ApplicationInsightsService} from '../shared/application-insights/applic...
import { Routes, RouterModule } from '@angular/router'; import { ModuleWithProviders } from '@angular/core'; import { UserListComponent } from "./users-list.component"; import { Users } from "./users.component"; import {UserManagerComponent} from "./users-manager.component"; import {ApplicationGroupComponent} from "...
import * as React from 'react'; import { Align, Button, Toolbar, Checkbox, Stepper, Table, Layer, Dropdown, Input, Wizard, Modal, Open, Emerge, SlideIn, Transform, Toggle, Shrink } from '../../../src/index'; import TutorialView from './TutorialView'; const ChecboxProperties = [ { name: 'checked', type: 'boole...
import getFunctionScores from './score' import getMultiMatchConfig from './multimatch' import getBoosts from './boost' import cloneDeep from 'clone-deep' import SearchQuery from '../types/SearchQuery' import AppliedFilter from '../types/AppliedFilter' import ElasticsearchQueryConfig from './types/ElasticsearchQueryConf...
import { Allow } from 'class-validator' import { Field, InputType } from '@nestjs/graphql' @InputType() export class ExtendCaseInput { @Allow() @Field() readonly id!: string }
import { Animation } from '../../../interface'; /** * md Toast Leave Animation */ export declare function mdLeaveAnimation(AnimationC: Animation, baseEl: ShadowRoot): Promise<Animation>;
import React from 'react' import {Radio} from 'antd' import ReadOnlyField from '../ReadOnlyField/ReadOnlyField' import {RadioChangeEvent} from 'antd/es/radio' import {getIconByParams} from '../Dictionary/Dictionary' export interface RadioButtonProps { value?: string | null, onChange?: (value: string) => void ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { DeaseseShowPage } from './deasese-show.page'; describe('DeaseseShowPage', () => { let component: DeaseseShowPage; let fixture: ComponentFixture<DeaseseShowPage>; beforeEach(async(() ...
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
import { RuleConfiguration } from '../../../support/Rule.d' export type Options = Array<("outside" | "inside" | "any") | { functionPrototypeMethods?: boolean }> type Configuration = RuleConfiguration<'wrap-iife', 'eslint', Options> export default Configuration
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { CaseHeaderComponent } from './case-header.component'; describe('CaseHeaderComponent', () => { let component: CaseHeaderComponent; let fixture: ComponentFixture<CaseHeaderComponent>; beforeEach(async () => { await TestBed.configureT...
import { Router, Redirect } from "@reach/router"; import React, { Suspense } from "react"; import Loading from "@reearth/components/atoms/Loading"; import NotificationBanner from "@reearth/components/organisms/Notification"; // import LoginPage from "@reearth/components/pages/Authentication/LoginPage"; import NotFound...
import { CreateExamDTO, UpdateExamDTO, UpdateManyExamsDTO, } from '@src/dtos/ExamsDTOS'; import { PaginateOptionsDTO } from '@src/dtos/PaginateOptionsDTO'; import { Exam } from '@src/entities/Exam'; export type ExamsFindAllResult = { items: Exam[]; count: number; skip?: number; take?: number; }; export i...
import { Body, Controller, Delete, Get, HttpCode, Logger, Param, Patch, Post, ValidationPipe, NotFoundException, Query, UsePipes, UseGuards, ForbiddenException, SerializeOptions, UseInterceptors, ClassSerializerInterceptor } from '@nestjs/common'; import { CreateEventDto } from '../input/dtos/create-event.dto'; import...
import test from 'tape'; import spok from 'spok'; import { amman, killStuckProcess, metaplex, spokSamePubkey, } from '../../helpers'; import { createCandyMachineWithMinimalConfig } from './helpers'; import { CandyMachineAlreadyHasThisAuthorityError } from '../../../src'; killStuckProcess(); test('update: cand...
/** * @license * Copyright 2019 Palantir Technologies, Inc. * * 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...
import { Injectable } from '@angular/core'; import { Http, Response, Headers,RequestOptions, BaseRequestOptions } from '@angular/http'; import 'rxjs/Rx'; import {Observable} from 'rxjs/Observable'; import { Categorie } from './categorie.class'; //var url = "http://164.8.230.115:8080"; var url = "http://localhost:8080...
import { hashSync, compareSync } from "bcrypt"; const salt = 10; export const encrypt = (str: string): string => hashSync(str, salt); export const isPasswordMatched = (plainPassword: string, hashedPassword: string): boolean => compareSync(plainPassword, hashedPassword);
// tslint:disable:no-require-imports no-var-requires underscore-consistent-invocation no-unnecessary-callback-wrapper import { inject, injectable } from 'inversify' import { Uri } from 'coc.nvim' import { traceError, traceInfo } from '../../../common/logger' import { IFileSystem, IPlatformService } from '../../../commo...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { UsuarioPopoverPage } from './usuario-popover.page'; const routes: Routes = [ { path: '', component: UsuarioPopoverPage } ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [Router...
import { createTestEnv_artwork } from "v2/__generated__/createTestEnv_artwork.graphql" import { createTestEnvCreditCardMutation } from "v2/__generated__/createTestEnvCreditCardMutation.graphql" import { createTestEnvOrderMutation } from "v2/__generated__/createTestEnvOrderMutation.graphql" import { createTestEnvQueryRa...
import React from 'react'; import s from './Row.scss'; interface IRowProps { children: React.ReactNode; } export const Row = ({ children }: IRowProps) => ( <div className={s.row}>{children}</div> );
import { useMemo, MutableRefObject } from 'react' import { invariant } from '@react-dnd/invariant' import { DragSourceHookSpec, DragObjectWithType, DragSourceMonitor, } from '../../interfaces' import { DragDropMonitor, DragSource } from 'dnd-core' import { registerSource } from '../../common/registration' import { u...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import '../extensions'; import { inject, injectable, named } from 'inversify'; import { IExtensionSingleActivationService } from '../../../client/activation/types'; import { IServiceContainer } from '../../i...
/** * OS Management API * API for the OS Management service. Use these API operations for working with Managed instances and Managed instance groups. * OpenAPI spec version: 20190801 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, Orac...
'use strict'; import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger'; import { AnswerType } from '../../../common/constants/answer-type'; import { AbstractDto } from '../../../common/dto/AbstractDto'; import { StudentAnswerEntity } from '../student-answer.entity'; export class StudentAnswerDto extends Ab...
import { Component, OnInit, ViewChild } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { FormControl, FormGroupDirective, FormBuilder, FormGroup, NgForm, Validators } from '@angular/forms'; import { BankService } from '@core/services/bank.service'; import { Subscription } from 'r...
import { AnyJs } from '../util/misc'; /** * Observer/Subscribe interfaces. */ export declare type NextFn<T> = (value: T) => void; export declare type ErrorFn = (error: Error) => void; export declare type CompleteFn = () => void; export interface PartialObserver<T> { next?: NextFn<T>; error?: ErrorFn; comp...
import { callOrReturn } from '../fn/callOrReturn' export interface Ior { /** Accepts n values and/or functions as arguments. Returns true if one or more of them strictly equals `true` */ (...args: (any | ((i?: number) => any))[]): boolean } export const or: Ior = (...args) => { for (let i = 0; i < args.length; i++...
import {SemVer} from 'semver'; import {checkReleasePackage} from './check-package'; import {BuiltPackage} from '@angular/dev-infra-private/release/config'; import {error} from '@angular/dev-infra-private/utils/console'; import * as chalk from 'chalk'; /** Asserts that the given built packages are valid for public cons...
import { graphql } from "https://cdn.skypack.dev/@octokit/graphql"; interface RepositoryData { name: string; owner: { login: string; }; } interface PinnedRepos { repositoryOwner: { pinnedItems: { nodes: RepositoryData[]; }; }; } const pinnedRepos = (user: string, token: string): PinnedRep...
import { CheckboxModule, IconModule } from '@anglify/components'; import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import AppearancesComponent from './appearances/appearances.component'; import CustomIconsCompone...
import * as React from 'react' import { MarkdownRenderer } from '~/components/MarkdownRenderer' import type { ChecklistResource } from '../types' import { Apps } from './Apps' import { Heading } from './Heading' import { Resources } from './Resources' type Props = { resource: ChecklistResource } export function C...
import { NestMiddleware } from '@nestjs/common'; import * as cookieParser from 'cookie-parser'; export declare class CookieParserMiddleware implements NestMiddleware { static configure(secret: string | string[], opts?: cookieParser.CookieParseOptions): void; private static secret; private static options; ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import * as assert from "assert"; import * as dotenv from "dotenv"; import * as fs from "fs"; import { isNode, delay } from "@azure/core-http"; import { getBSU, recorderEnvSetup, bodyToString, getGenericCredential } from "./utils"; import { rec...
import Vue from 'vue' import { VNode, VNodeDirective } from 'vue/types' import { VuetifyIcon } from 'vuetify/types/services/icons' import { DataTableCompareFunction, SelectItemKey, ItemGroup } from 'vuetify/types' export function createSimpleFunctional ( c: string, el = 'div', name?: string ) { return Vue.exte...
import http from "http" import https from "https" import httpProxy from "http-proxy" import path from "path" import fs from "fs-extra" import { getServices } from "gatsby-core-utils/dist/service-lock" import st from "st" import restartingScreen from "./restarting-screen" import { IProgram } from "../commands/types" in...
import React from 'react'; import { MdShoppingBasket } from 'react-icons/md'; import { Link } from 'react-router-dom'; import logo from '../../assets/images/logo.svg'; import { useCart } from '../../hooks/useCart'; import { Container, Cart } from './styles'; const Header = (): JSX.Element => { const { cart } = use...
import { DiagnosticPropertiesBuilder } from "../../../../runtime/flutter/foundation/diagnosticPropertiesBuilder"; import { DiagnosticsNode } from "../../../../runtime/flutter/foundation/diagnosticsNode"; import { DiagnosticsTreeStyle } from "../../../../runtime/flutter/foundation/diagnosticsTreeStyle"; declare const as...
/** * @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 {animate, animateChild, AnimationPlayer, AUTO_STYLE, group, query, sequence, stagger, state, style, transition,...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About DraftCoin</source> <translation type="unfinished"/> </message> <message> <location line...
import { Model } from '@patternfly/react-topology'; import { K8sResourceKind } from '@console/internal/module/k8s'; import { isHelmResource } from '@console/shared'; import { OdcNodeModel } from '@console/topology/src/topology-types'; export const isHelmResourceInModel = (resource: K8sResourceKind, model: Model): bool...
import { ChainId, CurrencyAmount, ETHER, Percent, Token, TradeType, WETH9 } from '@uniswap/sdk-core' import { FeeAmount, TICK_SPACINGS } from './constants' import { Pool } from './entities/pool' import { SwapRouter } from './swapRouter' import { nearestUsableTick, TickMath } from './utils' import { encodeSqrtRatioX96 }...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { EmployeeManageListComponent } from './employee-manage-list.component'; describe('EmployeeManageListComponent', () => { let component: EmployeeManageListComponent; let fixture: Co...
const badgeStyle = { fontSize: [1, 1, 2], fontFamily: 'body', color: '#fff', p: 2, display: 'inline-block', '& > svg': { mr: 2, }, }; const baseInput = { border: 'none', fontFamily: 'Poppins, sans-serif', background: 'none', }; const flexCenterBase = { justifyConten...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import Layout from '@theme/Layout'; import BlogPostItem from '@theme/BlogPostItem'; import BlogPostPagi...
<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 { OnQueueCompleted, OnQueueError, OnQueueFailed, Process, Processor } from '@nestjs/bull' import { BadRequestException, Logger, Injectable } from '@nestjs/common' import { Job } from 'bull' import { EntityManager, MikroORM } from '@mikro-orm/core' import { RaiderIOService } from '../raiderIO/raiderIO.service' im...