text
stringlengths
10
953k
import { Ray } from './Ray'; import { Vector3 } from './Vector3'; /** * @hidden */ export interface Raycastable { visible: boolean; distance: number; raycast(raycaster: Raycaster, intersects: Raycastable[]): void; children: Raycastable[]; } /** * @hidden */ export declare class Raycaster { ray: ...
// Copyright 2015-2021 Swim.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 applicable law or agreed to i...
import { Body, Controller, Delete, Get, Param, ParseIntPipe, Post, Put } from '@nestjs/common'; import { ProvinciaService } from './provincia.service'; import { CreateProvinciaDto } from './dto/create-provincia.dto'; import { EditProvinciaDto } from './dto/edit-provincia.dto'; @Controller('provincia') export class Pro...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="ru_RU"> <context> <name>QObject</name> <message> <location filename="../../../../plugins/robots/generators/trik/trikPythonGeneratorLibrary/src/threadsValidator.cpp" line="+141"/> <source>Trying to join a thread with...
import * as core from "@cowlick/core"; import {AlreadyReadChecker} from "./AlreadyReadChecker"; export interface GameStateParameters { data: core.SaveData[]; variables: core.Variables; max: number; scenario: core.Scenario; } /** * ゲーム情報を管理する。 */ export class GameState { private data: core.SaveData[]; pr...
import { Module } from '@nestjs/common'; import { JwtModule } from '@nestjs/jwt'; import { TypeOrmModule } from '@nestjs/typeorm'; import { PhotoRepository } from '../photo/photo.repository'; import { JwtStrategy } from '../util/jwt.strategy'; import { UserController } from './user.controller'; import { UserRepository ...
import { get, remove, set } from './index'; import { HashMapStructure } from '../internals/HashMap'; export type UpdateEntryCallback<K, V> = (value: V|undefined, map: HashMapStructure<K, V>) => V|undefined; export function update<K, V> (callback: UpdateEntryCallback<K, V>, key: K, map: HashMapStructure<K, V>): HashMa...
import { ISetting, SettingType } from '@rocket.chat/apps-engine/definition/settings'; import { AppSetting } from '../utils/enums'; const settings: Array<ISetting> = [ { id: AppSetting.ApplyMentionsToPublicRooms, public: true, type: SettingType.BOOLEAN, packageValue: true, i18nLabel: 'apply_mentions_to_publ...
import styled from 'src/themes'; import { Card as BaseCard, CardMeta as BaseCardMeta } from '../../common'; export const Card = styled(BaseCard)` background: none; .ant-card-body { padding: 0; } `; export const CardMeta = styled(BaseCardMeta)` margin: ${props => props.theme.all.blockPadding} 0...
export interface IMap<TValue> { [key:string]:TValue }
/******************************************************************************** * Copyright (c) 2019-2020 EclipseSource and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * https://www.eclipse.org/legal/epl-2...
/** * Case Manager Service * The TIBCO Cloud(TM) Live Apps Case Manager Service manages the following resources: * __Types__: A Type contains the essential data definition of a TIBCO(R) Live Apps application - that is, the data fields, data types and states which are created by an application designer when they crea...
import Node_Tree from "../utils/node_root"; abstract class BSTreeBuilder<T> { protected root: Node_Tree<T>; constructor() { this.root = null; } abstract getRoot(): Node_Tree<T>; abstract insertNode(value: T): Node_Tree<T>; abstract findNode(value: T): Node_Tree<T>; abstract removeNode(value: T):...
import { TestBed } from '@angular/core/testing'; import { AuthService } from './auth.service'; import { Auth0ClientService } from './auth.client'; import { Auth0Client, IdToken } from '@auth0/auth0-spa-js'; import { AbstractNavigator } from './abstract-navigator'; import { bufferCount, bufferTime, filter } from 'rxjs/o...
import { AlpineComponent } from '@leanadmin/alpine-typescript'; import { ModalStateUpdate } from './modalManager'; export default class ModalAction extends AlpineComponent { constructor( protected readonly _action_name: string, initialState: any = {}, ) { super(); Object.assign...
import type { PayloadSubscription, XummPostPayloadResponse as CreatedPayload } from '../index.ts' export interface PayloadAndSubscription extends PayloadSubscription { created: CreatedPayload }
import { concatAST } from "graphql/utilities"; import { GraphQLSchema, DocumentNode, NoUnusedFragmentsRule, KnownDirectivesRule, UniqueOperationNamesRule, ValidationContext, OperationDefinitionNode, GraphQLError, specifiedRules, validate, DefinitionNode, GraphQLType, isNonNullType, Selection...
// Copyright 2015-2021 Swim.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 applicable law or agreed to i...
import * as Cx from '../../core'; import { DateTimeFieldProps } from './DateTimeField'; interface TimeFieldProps extends DateTimeFieldProps {} export class TimeField extends Cx.Widget<TimeFieldProps> {}
import { Injector } from '@angular/core'; import { HttpModule } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import { IntlModule, IntlService, IntlLoader, IntlStaticLoader } from './../../module'; import { getTestBed, TestBed } from '@angular/core/testing'; const translations: any = {...
import { Directive, ElementRef, OnInit } from '@angular/core'; @Directive({ selector: '[appBasicHighLight]' }) export class BasicHighLightDirective implements OnInit { public constructor(private elementRef:ElementRef) { } ngOnInit() { this.elementRef.nativeElement.style.backgroundColor = "cyan"; }...
import { Component, OnInit } from '@angular/core'; import { PageComponent } from '../page/page.component'; import { PortfolioService } from './portfolio.service'; import { UiService } from '../ui.service'; import { Project } from '../project/project.component'; @Component({ selector: 'portfolio-page', templateUrl:...
import React, { createContext, useState, useContext, useCallback } from 'react'; import { ThemeName } from '../styles/themes'; interface ThemeContextProps { setThemeName: React.Dispatch<React.SetStateAction<'old' | 'new'>>; themeName: string; changeTheme: () => void; } const ThemeContext = createContext<ThemeC...
import got, { Response } from "got"; import { b64UrlToBuffer } from "../utility/encoding"; import { forEachNode } from "./node"; export interface ChunkType { tx_path: string; data_path: string; chunk: Uint8Array; chunkSize: number; } interface ChunkResponse extends Response { body: { tx_path: string; ...
export type FetchErrorCode = 'response' | 'network' | 'error';
import * as ts from 'typescript'; // Workaround to support new TS version features for consumers on old TS versions // Eg: https://github.com/typescript-eslint/typescript-eslint/issues/2388, https://github.com/typescript-eslint/typescript-eslint/issues/2784 declare module 'typescript' { /* eslint-disable @typescript...
import useNavigator from "@saleor/hooks/useNavigator"; import useNotifier from "@saleor/hooks/useNotifier"; import useShop from "@saleor/hooks/useShop"; import { commonMessages } from "@saleor/intl"; import { stringify as stringifyQs } from "qs"; import React from "react"; import { useIntl } from "react-intl"; import ...
import Web3 from 'web3'; import { getAddress } from '../contracts/addresses'; import { AbiItem } from 'web3-utils'; import { satisfies } from 'semver'; import mapKeys from 'lodash/mapKeys'; import { ExchangeRate, exchangeRateMeta } from './exchange-rate'; import { Safes, safesMeta } from './safes'; import { PrepaidCard...
/** * @license * MIT License * * Copyright (c) 2020 Alexis Munsayac * 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 u...
export const environment = { production: false, apiUrl: 'http://localhost:8005', websocketUrl: 'ws://localhost:8005', messagesInPage: 15, };
import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * <p>Contains the parameters for DetachVpnGateway.</p> */ export interface DetachVpnGatewayInput { /** * <p>The ID of the VPC.</p> */ VpcId: string; /** * <p>The ID of the virtu...
import { Localized } from "@fluent/react/compat"; import cn from "classnames"; import React, { FunctionComponent, MouseEvent, useCallback, useEffect, useMemo, } from "react"; import { graphql } from "react-relay"; import { getURLWithCommentID } from "coral-framework/helpers"; import { useCoralContext } from ...
import { InsertAll, Remove, SugarElement, Traverse } from '@ephox/sugar'; import Editor from '../api/Editor'; import * as NodeType from '../dom/NodeType'; import * as ArrUtils from '../util/ArrUtils'; /** * Internal class for overriding formatting. * * @private * @class tinymce.fmt.Hooks */ const postProcessHoo...
import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg'; import { extend } from 'lodash'; export default (appInfo: EggAppInfo) => { const config = {} as PowerPartial<EggAppConfig>; // override config from framework / plugin // use for cookie sign key, should change to your own and keep security config.ke...
import { RouteProp } from '@react-navigation/native' import { StackNavigationProp } from '@react-navigation/stack' export type SettingsParamList = { Settings: undefined Profile: undefined ChangePassword: undefined ChangeZone: undefined Security: undefined Notifications: undefined Preferences: undefined Privacy...
export { default as version } from './version'; export * from './export-types'; export { default as NotificationProviderForCustomComponent } from './components/map-notification-to-component'; export { default as Notification } from './components/notification'; export { default as NotificationsList, selectPageNotif...
import { View } from '@slack/web-api'; import { RequestType, SlackUser, Submission } from './slack/api_interfaces'; import { normalisedTitleAndDesc, SlackCommand, viewToSubmission } from './slack_jira_helpers'; import { CreateIssue } from './jira/api_interfaces'; import Config from './config...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { MatButtonModule } from '@angular/material/button'; import { MatToolbarModule } from '@angular/material/toolbar'; import { MatIconModule } from '@angular/material/icon'; import { MatSidenavModule } from '@angul...
import cdk = require('@aws-cdk/cdk'); import dynamodb = require('@aws-cdk/aws-dynamodb'); import iam = require("@aws-cdk/aws-iam"); import lambda = require("@aws-cdk/aws-lambda"); import { ProducerConsumerStack, ProducerConsumerStackProps } from "../../producer-consumer/lib/producer-consumer-stack"; import { Attribut...
interface Shape { shapeId: number colorId: number | null } export default Shape
import { Ancestor, Editor, NodeEntry, Path, Transforms } from 'slate'; import { getParent } from '../../../common/queries/getParent'; import { setDefaults } from '../../../common/utils/setDefaults'; import { DEFAULTS_LIST } from '../defaults'; import { ListOptions } from '../types'; export interface MoveListItemUpOpti...
export type Config = object | string | any; export type Message = object | string; export type Port = string | number; export type CountryData = { Country: string; TotalConfirmed: number; TotalDeaths: number; TotalRecovered: number; };
// *** 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 * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as utilities from ".....
import { Component, OnInit, Input, ViewChild, ElementRef } from '@angular/core'; import { FormGroup, FormBuilder, Validators } from '@angular/forms'; import { User, UserManager } from 'src/app/models/user'; import { Router } from '@angular/router'; import { BehaviorSubject } from 'rxjs'; import { isValid as isValidIban...
import Vuex from 'vuex' import Vuetify from 'vuetify' import { mount, createLocalVue } from '@vue/test-utils' import Toolbar from '@/components/organisms/global/TheToolbar.vue' import { userStore } from '@/store' const localVue = createLocalVue() localVue.use(Vuex) const store = userStore() const options = { store...
import { TreeDataServiceActions } from '../tree-data-service-actions'; import { TreeDataConverter } from '../tree-data-converter/tree-data-converter'; import { TreeItemData } from '../tree-data/tree-item-data'; import { RenderableTreeData } from '../tree-data/renderable-tree-data'; export class TreeDataManager { p...
import { defineActions } from 'direct-vuex'; import { api } from '@soramitsu/soraneo-wallet-web'; import { XOR } from '@sora-substrate/util/build/assets/consts'; import type { RewardInfo, RewardsInfo } from '@sora-substrate/util/build/rewards/types'; import type { Subscription } from '@polkadot/x-rxjs'; import { rewar...
// Copyright IBM Corp. 2019. All Rights Reserved. // Node module: @loopback/rest // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT import {get} from '../..'; describe('re-export controller decorators', () => { it('exports functions from @loopback/openap...
import open from 'open'; import { LocalConfig } from '../common/config'; import { NotifierService } from './notifier-service'; export class LocalNotifier extends NotifierService { private config: LocalConfig; constructor(config: LocalConfig) { super(); this.config = config; } // eslint-disable-next-l...
// For large dictionaries, it is necessary to increase the memory limit. import { compileWordList, compileTrie, Logger } from './compiler'; import * as compiler from './compiler'; import * as path from 'path'; import * as program from 'commander'; import glob from 'glob'; import { genSequence, Sequence } from 'gensequ...
import { IconSvg } from '../types'; const SvgListView: IconSvg = props => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}> <g className="icon__shape" fillRule="nonzero" transform="translate(2 3)"> <path d="M7 3.53h12a1 1 0 0 0 0-2H7a1 1 0 1 0 0 2zm12 5H7a1 1 0 1 0 0 2h12a1 1 0 0 0 ...
import React, { useState } from 'react' import { Popover, TextField, Grid, Button } from '@material-ui/core' import { createStyles, withStyles, WithStyles, Theme } from '@material-ui/core/styles' import CheckIcon from '@material-ui/icons/Check' import { getCompatibleSpacing } from '../utils' const styles = ({spacing}:...
import { Component } from '@angular/core'; @Component({ selector : 'core-demo-content', templateUrl: './demo-content.component.html', styleUrls : ['./demo-content.component.scss'] }) export class CoreDemoContentComponent { /** * Constructor */ constructor() { } }
import { R4_1_BackboneElement } from './R4_1_BackboneElement' import { R4_1_DomainResource } from './R4_1_DomainResource' import { R4_1_TestScript_Assert } from './R4_1_TestScript_Assert' import { R4_1_TestScript_Operation } from './R4_1_TestScript_Operation' export class R4_1_TestScript_Action1 extends R4_1_Back...
export const arrowDownRight16: string;
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** * This sa...
import { useWallet } from "contexts/wallet"; import { Nav, Navbar, Container, Button } from "react-bootstrap"; export const Header = () => { const { isConnected, toggleWalletModal } = useWallet(); return ( <Navbar collapseOnSelect expand="lg" bg="dark" variant="dark"> <Container> <Navbar.Brand h...
export = { customSyntax: 'postcss-jsx', // Override the rules in ~/src/common/rules.ts rules: { 'font-weight-notation': null, 'no-empty-source': null, 'no-missing-end-of-source-newline': null, 'property-no-unknown': [ true, { checkPrefixed: false, ignoreProperties: [/^...
import {Channel, Metadata} from '@grpc/grpc-js'; import getPort = require('get-port'); import {TestService} from '../../fixtures/test_grpc_pb'; import {TestRequest, TestResponse} from '../../fixtures/test_pb'; import {createChannel} from '../client/channel'; import {createClient} from '../client/ClientFactory'; import ...
import React from 'react'; import { NextPage } from 'next'; const Home: NextPage<{ data: string }> = (props) => { const { data } = props; return ( <div> <h1>Security Camera Viewer</h1> <p>Test</p> <pre>{data}</pre> </div> ); }; Home.getInitialProps = ({ query }) => { return { da...
import React from 'react'; import { create, act } from 'react-test-renderer'; import ChangeLog, { sessionLogPlaceholderCopy } from './ChangeLog'; import type { FileChangeEntry } from '../../types'; const dummyLogItem: FileChangeEntry = { fileName: 'newfile.extension', eventType: 'add', timeChanged: '4:20:00 PM', f...
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Inject, Input, OnChanges, OnDestroy, Output, SimpleChanges } from "@angular/core"; import { AbstractControl, FormGroup } from "@angular/forms"; import { EventBus, IEvent, uuid } from "@nova-ui/bits"; import { Observable, Subject } from "rxjs"...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { IsMongoId } from 'class-validator' export class IdChoreDto { @IsMongoId() choreId: string }
import { TestBed } from '@angular/core/testing'; import { DatabaseConnectionService } from './database-connection.service'; describe('DatabaseConnectionService', () => { beforeEach(() => TestBed.configureTestingModule({})); it('should be created', () => { const service: DatabaseConnectionService = TestBed.ge...
/* tslint:disable */ /* eslint-disable */ /** * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 10.7.2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)...
import { format } from '../src'; test('localization format number', () => { expect(format('')).toBe(''); expect(format('a', 1)).toBe('a'); expect(format('a{0}b', 1)).toBe('a1b'); expect(format('{0}', 1)).toBe(`1`); expect(format('{0}b', 1)).toBe('1b'); expect(format('a{0}b{0}', 1)).toBe('a1b1')...
'use strict'; angular. module('phonecatApp'). config(['$locationProvider' ,'$routeProvider', function config($locationProvider: angular.ILocationProvider, $routeProvider: angular.route.IRouteProvider) { $locationProvider.hashPrefix('!'); $routeProvider. when('/phones',...
import { Button, Input, Select, Space } from 'antd' import Loading from 'components/shared/Loading' import ProjectsGrid from 'components/shared/ProjectsGrid' import { layouts } from 'constants/styles/layouts' import { UserContext } from 'contexts/userContext' import { useProjects } from 'hooks/Projects' import { useCon...
interface TimerSettings { autoStart?: boolean; expiryTimestamp: number; onExpire?: () => void; } interface TimerResult { seconds: number; minutes: number; hours: number; days: number; isRunning: boolean; start: () => void; pause: () => void; resume: () => void; restart: ...
import { isLess } from "./isLess"; import { isFloatEqual } from "./isFloatEqual"; /** * @memberof Number * @name isLessOrEqual * @description 判断第一个参数是否小于等于第二个参数 * @param {number} leftNumber - 第一个参数 * @param {number} rightNumber - 第二个参数 * @returns - {boolean} */ const isLessOrEqual = (leftNumber: number, rightN...
import { drive_v3 as driveV3, google } from 'googleapis'; import _ from 'lodash'; import { OAuth2Client } from './googleAuth'; const sheets = google.sheets({ version: 'v4' }); const drive = google.drive({ version: 'v3' }); /** * Prints the names and majors of students in a sample spreadsheet: * @see https://docs.go...
import crossify from "../../index"; const cross = crossify(); const url = "/todo/:id"; const apiUrl = "https://jsonplaceholder.typicode.com/todos/:id"; type Data = Record<string, any>; cross.get(url, apiUrl, (data: Data) => { const result = Object.defineProperty(data, "title", { value: "Hello world!", }); ...
function sendData(data: string) { console.log(data); } sendData('this data')
import { sign, verify } from "jsonwebtoken"; export default class Jwt { public static encode = (payload) => sign(payload, process.env.JWT_SECRET as string, { expiresIn: "24h" }); public static decode = async (bearer_token: string) => { try { const [, token] = bearer_token.split(" "); ...
import * as React from "react"; import { em } from "polished"; import { styled } from "../../../gatsby-theme-stitches/stitches.config"; import { Flex } from "../../Flex"; import { Space } from "../../Space"; const Wrapper = styled("div", { width: "100%", boxSizing: "border-box", padding: em(16), display: "fle...
export default interface Separator<String extends string = string> { separator : String }
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { DesktopSliderButtonComponent } from './desktop-slider-button.component'; import { By } from '@angular/platform-browser'; describe('SliderButtonComponent', () => { let component: DesktopSliderButtonComponent; let fixture: ComponentFi...
import { Text, TextProps, TextVariants, TextContent, TextList, TextListProps, TextListVariants, TextListItem, TextListItemProps, TextListItemVariants } from '@patternfly/react-core'; import React, { Component } from 'react'; export class TextDemo extends Component { myTextProps: TextProps = { ...
/** * Datart * * Copyright 2021 * * 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 t...
namespace phasereditor2d.scene.ui { import controls = colibri.ui.controls; import ide = colibri.ui.ide; import io = colibri.core.io; import json = core.json; import FileUtils = colibri.ui.ide.FileUtils; export class SceneMaker { private _scene: Scene; private _packFinder: pack...
import React from "react"; import { Grid, Paper, makeStyles, createStyles, Theme, Tabs, Tab, Typography, Box, useTheme } from "@material-ui/core"; import NotifyList from "./components/notifyList"; const useStyles = makeStyles((theme: Theme) => createStyles({ root: { justifyContent: "cen...
import * as React from 'react'; import tw from 'twin.macro'; import { SignInButton } from '$/blocks/SignInButton'; import { UserMenu } from '$/blocks/UserMenu'; import { Link } from '$/components/Link'; import { Logo } from '$/components/Logo'; import { useCurrentUser } from '$/contexts/CurrentUserProvider/useCurrentU...
import { tensorflow } from '../data/compiled_api'; import { Graph } from './types'; export declare class OperationMapper { private static _instance; private opMappers; static readonly Instance: OperationMapper; private constructor(); private isControlFlow(node); private isDynamicShape(node); ...
import { XmlAttributeComponent } from "file/xml-components"; export interface IDocGridAttributesProperties { readonly linePitch?: number; } export class DocGridAttributes extends XmlAttributeComponent<IDocGridAttributesProperties> { protected readonly xmlKeys = { linePitch: "w:linePitch", }; }
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { Route } from '../core/route.service'; import { extract } from '../core/i18n.service'; import { EnvironmentsComponent } from './environments.component'; const routes: Routes = Route.withShell([ { path: 'environ...
import { Signer } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { IQuoter, IQuoterInterface } from "../IQuoter"; export declare class IQuoter__factory { static readonly abi: { inputs: { components: { internalType: string; name: st...
import { validUserSchema } from "@rufrontgen/common"; import { User } from "../../../models/User"; import { ResolverMap } from "../../../types/graphql-utils"; import { formatYupError } from "../../../utils/validation/formatYupError"; import { sendEmail } from "../../../utils/sendEmail"; import { createConfirmEmailLink...
import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; import { catchError, map, mergeMap } from 'rxjs/operators'; import { of } from 'rxjs'; import { showErrorMessage } from '../../../store/actions/error.actions'; import { InterfaceService } from '../../services/inte...
export * from './types'; export * from './data-cache-utils-caching-decorator-global-cache-per-class'; export * from './data-cache-utils-memoization'; export * from './data-cache-utils-main';
import Image from '../models/Image'; export default { render( image: Image) { return { id: image.id, url:`http://localhost:3333/uploads/${image.path}`, }; }, renderMany(images: Image[]) { return images.map(image => this.render(image)); } };
import * as React from 'react'; import { match as RouteMatch } from 'react-router'; import { useTranslation } from 'react-i18next'; import { useK8sWatchResource } from '@console/internal/components/utils/k8s-watch-hook'; import { useDeepCompareMemoize } from '@console/shared'; import { StatusBox } from '@console/inter...
import * as React from 'react'; declare const BoxSubtractSolidIcon: React.FC<React.HTMLAttributes<HTMLSpanElement> & import("..").ISvgIconProps>; export default BoxSubtractSolidIcon;
/** * Global ng-bootstrap config * * @since 8.0.0 */ import * as ɵngcc0 from '@angular/core'; export declare class NgbConfig { animation: boolean; static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<NgbConfig, never>; } //# sourceMappingURL=ngb-config.d.ts.map
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cy" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About TradeGuiderCoin</source> <translation type="unfinished"/> </message> <message> <locatio...
// Copyright 2017-2019 @polkadot/types authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import { Registry } from '../../types'; import { ExtrinsicOptions } from './types'; import Struct from '../../codec/Struct'; im...
import { Dispatch } from 'redux'; import { UserActions } from './UserActions'; export const AuthActions = { createUser: (payload: any, callback: Function) => { return (dispatch: Dispatch, { }: any, api: any) => { dispatch(UserActions.Map({ isCreatingUser: true })); return api .createUser(pa...
// Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/lib/zsh-completions-generator.ts import snakeCase from '../../x/snakeCase.ts'; import { Command } from './command.ts'; import { IArgumentDetails, IOption } from './types.ts'; interface ICompletionAction { arg: IArgumentDetails; label: string;...
import { fixedPointPrecision, fixedPointPrecisionPercent, } from './FormatPrecision' export const getWeekBudget = (budget: number): number => { return budget / 50 // Numbers look cleaner than 52. } export const budgetConsumption = ( points: number, budget: number, multiple_suffix: string, percentage_suf...
import EventEmitter from 'eventemitter3' import { Fsm, FsmConfig } from '../FsmTypes' import { createFsm } from '../Fsm' import { EmitterFsmEvents } from './EmitterFsmTypes' export class EmitterFsm<S extends string, E extends string> extends EventEmitter<EmitterFsmEvents> implements Fsm<S, E> { private _fsm: Fsm...