text
stringlengths
10
953k
import * as React from 'react' import * as I from 'immutable' import * as Kb from '../../../common-adapters' import * as Styles from '../../../styles' import * as Types from '../../../constants/types/wallets' import {AccountPageHeader} from '../../common' import DisplayCurrencyDropdown from './display-currency-dropdown...
export interface CheckAccessToken { msg: string; idx: string; username: string; is_superadmin: boolean; }
/* 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 { OperadorasComponent } from './operadoras.component'; describe('OperadorasComponent', () => { let co...
import * as React from "react"; function SvgCheckB(props: React.SVGProps<SVGSVGElement>) { return ( <svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props} > <path fillRule="evenodd" clipRule="evenod...
import {Config} from '@stencil/core'; import {postcss} from '@stencil/postcss'; import postcssImport from 'postcss-import'; import tailwindcss from 'tailwindcss'; import cssnano from 'cssnano'; // @ts-ignore const dev: boolean = process.argv && process.argv.indexOf('--dev') > -1; // @ts-ignore const tailwindDev: bool...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
export const WAKFU_CDN = 'https://wakfu.cdn.ankama.com/gamedata/';
/* eslint-disable */ import { configure } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; configure({ adapter: new Adapter() }); if (global.document) { document.createRange = () => ({ setStart: () => { }, setEnd: () => { }, commonAncestorContainer: { nodeName: 'B...
export * from './icons'; export * from './types';
import { ArgoCDApi } from '..'; export const getEntityStub = { metadata: { namespace: 'default', annotations: { 'backstage.io/managed-by-location': 'url:https://github.com/mcalus3/sample-service/blob/master/backstage.yaml', 'argocd/app-name': 'guestbook', }, name: 'sample-service'...
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { fromUtf8ToBase64 } from "@fluidframework/common-utils"; import qs from "querystring"; import * as git from "@fluidframework/gitresources"; import assert from "assert"; import Axios, { AxiosRequestConfig } f...
const realAlertUtils = jest.requireActual('../AlertUtils'); const alertUtils: any = jest.createMockFromModule('../AlertUtils'); alertUtils.addNotification = jest.fn(); alertUtils.addSuccessNotification = jest.fn((title: string, description: string) => { alertUtils.addNotification(realAlertUtils.NotificationType.S...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RightPanelComponent } from './right-panel1.component'; describe('RightPanelComponent', () => { let component: RightPanelComponent; let fixture: ComponentFixture<RightPanelComponent>; beforeEach(async(() => { TestBed.configur...
/* * 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 { EuiFormRow, // @ts-ignore EuiSelect, } from '@elastic/eui'; im...
/* eslint-disable class-methods-use-this */ import express from "express"; import mongoose from "mongoose"; import errorHandler from "common/server-only/middlewares/errorHandler"; import logger from "utils/logger"; import { Registry } from "types/registry"; import controllers from "application/controllers"; export c...
export * from './MoreActions';
import { QMainWindow } from './lib/QtWidgets/QMainWindow'; import { QTabWidget } from './lib/QtWidgets/QTabWidget'; import { QLabel } from './lib/QtWidgets/QLabel'; import { QIcon } from './lib/QtGui/QIcon'; const win = new QMainWindow(); const tab = new QTabWidget(); const label = new QLabel(); label.setText('Hello')...
export const countries = [ 'Afghanistan', 'Albania', 'Algeria', 'Andorra', 'Angola', 'Anguilla', 'Antigua &amp; Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Beni...
import React, { useEffect } from "react"; import styled from "styled-components"; import * as THREE from "three"; import SimplexNoise from "simplex-noise"; import Blob from "./Blob"; import { Flex, Column } from "../styles"; const Hero = () => { return ( <Wrapper> <Flex align="center" tabletVertical> ...
import { RootState, TagsState, Tag } from './types' import { Module } from 'vuex' import Api from '@/api' function defaultTag(tagName: string): Tag { return { name: tagName, description: `Questions related to ${tagName}`, questions_count: 1, subscribers_count: 0 } } const tagsStore: Module<TagsSta...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="kk_KZ" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Gameunits</source> <translation type="unfinished"/> </message> <message> <location l...
import { Module, Global, CacheModule } from '@nestjs/common'; import { PassportModule } from '@nestjs/passport'; import { JwtModule } from '@nestjs/jwt'; import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; import { config } from '../config'; import { UserService } from './services/user.service'; impo...
import { injectable, inject } from 'tsyringe'; import IRatingsRepository from '@modules/ratings/repositories/IRatingsRepository'; @injectable() class ListRatingsService { constructor( @inject('RatingsRepository') private ratingsRepository: IRatingsRepository, ) {} public async execute(rating_id: string...
import React from 'react'; import { SafeAreaView, StyleSheet, Modal, ActivityIndicator, View, } from 'react-native'; import WebView from 'react-native-webview'; import PropTypes from 'prop-types'; import { ConfigPropsWithURL, WebViewMessage, WebViewMessageType, } from './types'; const FluidcoinsPay = (...
import * as React from 'react'; import { HowToPlayBoardState } from '../../state/AppState'; import { BigBoard } from '../../components/Board/BigBoard/BigBoard'; interface HowToPlayContentProps { boardState: HowToPlayBoardState; } export function HowToPlayContent({ boardState }: HowToPlayContentProps) { return ( ...
import { Injectable } from '@angular/core'; import { Router } from '@angular/router'; import { Resolve } from '@angular/router'; import { HttpHeaders } from '@angular/common/http'; import { ApiService, ParamsListFunctions } from 'utask-lib'; import Function from 'utask-lib/@models/function.model'; @Injectable() export...
import { AABB } from "./AABB"; import { BoundingSphere } from "./BoundingSphere"; import { Matrix3 } from "./Matrix3"; import { Plane } from "./Plane"; import { Vector3 } from "./Vector3"; /** * Class representing an oriented bounding box (OBB). Similar to an AABB, it's a * rectangular block but with an arbitrary or...
import { resolveModelTypes } from '@/TreeToTS/templates/modelTypes'; import { resolveOperations } from '@/TreeToTS/templates/operations'; import { resolveInterfaces } from '@/TreeToTS/templates/returnedTypes/interfaces'; import { resolveUnions } from '@/TreeToTS/templates/returnedTypes/unions'; import { resolveValueTyp...
import { ScriptLoader } from '@bigcommerce/script-loader'; import { PaymentMethodClientUnavailableError } from '../../errors'; import PaymentMethod from '../../payment-method'; import ClearpaySdk from './clearpay-sdk'; import ClearpayWindow from './clearpay-window'; const SCRIPTS_DEFAULT = { PROD: '//portal.clea...
// @noImplicitOverride: true // @allowJs: true // @checkJs: true // @noEmit: true // @Filename: a.js class B { foo (v) {} fooo (v) {} } class D extends B { foo (v) {} /** @override */ fooo (v) {} /** @override */ bar(v) {} } class C { foo () {} /** @override */ fooo (v) {} ...
import {HttpException} from '@nestjs/common'; export class NftError extends HttpException { constructor(message: string, errorCode: string, statusCode: number = 403) { super({message, errorCode, statusCode}, statusCode); } }
/** * FF Typescript Foundation Library * Copyright 2021 Ralph Wiedemeier, Frame Factory GmbH * * License: MIT */ import MIDIDevice, { MIDIMessage } from "./MIDIDevice"; //////////////////////////////////////////////////////////////////////////////// export { MIDIDevice, MIDIMessage }; export interface IExchang...
import { Injectable, Logger } from '@nestjs/common'; import { PassportStrategy } from '@nestjs/passport'; import { Strategy } from 'passport-spotify'; import { AuthService } from '../auth.service'; import mainConfig from '../../config/main.config'; import { UserDataInterface } from '../interfaces/userData.interface'; i...
import * as Koa from 'koa'; import * as serveStatic from 'koa-static'; import * as path from 'path'; import * as send from 'koa-send'; const app = new Koa(); function redirectBehindProxyToSSL(environments = ['production']): Koa.Middleware { return async (ctx: Koa.Context, next: () => Promise<any>): Promise<any> =...
import React, { useState, FormEvent } from "react"; import PageHeader from "../../components/PageHeader"; import TeacherItem, { Teacher } from "../../components/TeacherItem"; import Input from "../../components/Input"; import Select from "../../components/Select"; import api from "../../services/api"; import "./styl...
export class TelemetryKeys { public static CurrentUserInput: string = 'currentUserInput'; public static RepoProvider: string = 'repoProvider'; public static AzureLoginRequired: string = 'azureLoginRequired'; public static JourneyId: string = 'journeyId'; public static SourceRepoLocation: string = 's...
import { html } from 'lit'; import { Route } from '../../models/Route'; import SpaceGame from '../../games/SpaceGame/summary'; export const route: Route = { module: () => import('./Mission'), path: `/${SpaceGame.name}/mission`, pattern: /^\/[a-zA-Z0-9]+\/mission[/]?$/, render: html`<mission-page .summary=${Spa...
import fetchMock from "fetch-mock"; import { Octokit } from "@octokit/core"; import { restEndpointMethods } from "../src"; // All the commented out tests are no longer valid as the methods/parameters // have been removed. We keep them here for future reference describe("Deprecations", () => { it("renamed method", a...
<TS language="gl" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Crear unha nova dirección</translation> </message> <message> <source>&amp;New</source> <translation>&amp;Novo</translation> </message> ...
import React from "react" import { Redirect, Link } from "react-router-dom" import FontIcon from "material-ui/FontIcon" import Lscache from "lscache" import { Field, reduxForm } from "redux-form" import api from "../../../dist/lib/api" import { themeSettings, text } from "../../lib/settings" import PageBreadcrumbs from...
import "@polymer/paper-input/paper-input"; import { CSSResult, customElement, html, internalProperty, LitElement, property, TemplateResult, } from "lit-element"; import { array, assert, number, object, optional, string, union, } from "superstruct"; import { fireEvent } from "../../../../comm...
import * as React from 'react'; import { StyleSheet, View } from 'react-native'; import VideoHeaderViewManager from 'react-native-video-header'; export default function App() { return ( <View style={styles.container}> <VideoHeaderViewManager color="#32a852" style={styles.box} /> </View> ); } const ...
import {expect} from 'chai' import {CompletionLookup, CompletionMapping} from '../src/completions' // autocomplete will throw error on windows const {default: runtest} = require('./helpers/runtest') runtest('CompletionLookup', () => { it('finds completion', async () => { const c = new CompletionLookup('cmdId',...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { RecipesComponent } from './recipes.component'; import { RecipeDefaultComponent } from './recipe-default/recipe-default.component'; import { RecipeEditComponent } from './recipe-edit/recipe-edit.component'; import...
import { Theme as ControlsTheme, CSSProps, CoreThemeColors } from "@twilio/flex-ui-core"; import { MainContainerThemeProps } from "./MainContainer"; import { EntryPointThemeProps } from "./EntryPoint/EntryPoint"; import { MainHeaderThemeProps } from "./MainHeader"; import { PreEngagementCanvasThemeProps } from "./PreEn...
import { createShallow } from '@material-ui/core/test-utils'; import {MapView} from "../../components/common/MapView"; import { DataPackAoiInfo } from '../../components/StatusDownloadPage/DataPackAoiInfo'; describe('DataPackAoiInfo component', () => { let shallow; beforeAll(() => { shallow = createSha...
import { forwardRef, Icon, IconProps } from '@queelag/react-core' import React, { ForwardedRef } from 'react' /** * Usage: * * ```typescript * import { IconWatch } from '@queelag/react-material-icons' * * function App() { * return <IconWatch /> * } * ``` * * @category Component */ export const IconWatch ...
/* istanbul ignore file */ import {/* Basic Types */ int8s, uint8_t, uint16_t, uint32_t, LVBytes, fixed_list, WordList, /* Named Types */ EmberRf4ceTxOption, EmberRf4ceNodeCapabilities, EmberNodeId, EmberPanId, EmberEUI64, EmberLibraryStatus, SecureEzspSecuri...
import Document, { Annotation, JSON } from '@atjson/document'; import { Root } from './annotations'; import HIRNode from './hir-node'; export default class HIR { rootNode: HIRNode; constructor(doc: Document) { let document: Document = doc.clone(); document.annotations .filter(a => a.start === a.en...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { BigComponentComponent } from './big-component.component'; describe('BigComponentComponent', () => { let component: BigComponentComponent; let fixture: ComponentFixture<BigComponentComponent>; beforeEach(async(() => { TestBed...
export function toQuery<T extends object>(search: string): T export function toQuery<T extends object>(searchParams: URLSearchParams): T export function toQuery<T extends object>(search: string | URLSearchParams): T { const searchParams: URLSearchParams = typeof search === 'string' ? new URLSearchParams(search) :...
/** * Cloud Guard APIs * A description of the Cloud Guard APIs * 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 t...
import styled from 'styled-components/native'; import { Platform } from 'react-native'; import { getBottomSpace } from 'react-native-iphone-x-helper'; export const Container = styled.View` flex: 1; justify-content: center; padding: 0 30px ${Platform.OS === 'android' ? 150 : 40}px; `; export const Title = styled...
import React from 'react'; import { View, Image, Text } from 'react-native'; import { BorderlessButton } from 'react-native-gesture-handler'; import backIcon from '../../assets/images/icons/back.png' import logoImg from '../../assets/images/logo.png' import styles from './styles'; import { useNavigation } from '@reac...
/** * @license * Copyright 2019 Google LLC. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ // [START maps_marker_modern] import { faBus } from "@fortawesome/free-solid-svg-icons"; function initMap(): void { const center = { lat: 36.6163, lng: -100.605 }; const map = new google.maps.Map( do...
import { Comment as CommentInterface } from "../interfaces/index"; import { BaseModel } from './base_model'; export class Comment extends BaseModel implements CommentInterface { public comment_id: number; public key_id: number; public comment: string; public added_by: number; public added_by_email: string; ...
import { BigNumber } from 'bignumber.js' import { ethers } from 'ethers' import { CurrencyNetwork } from './CurrencyNetwork' import { Event } from './Event' import { Payment } from './Payment' import { TLProvider } from './providers/TLProvider' import { Transaction } from './Transaction' import { User } from './User' ...
import { suite } from "uvu"; import * as assert from "uvu/assert"; import { HttpBrowserEngine, HttpClient, HttpRequestBuilder, HttpError, isOk, isError, } from "../../src/browser"; // @ts-ignore const rest = MockServiceWorker.rest; // @ts-ignore const setupWorker = MockServiceWorker.setupWorker; const handlers =...
import { connect } from "react-redux"; import { FilterListItem } from "./FilterListItem"; import { filterPokemons } from "actions/FilterListActions"; const mapDispatchToProps = { filterPokemons, }; export default connect(null, mapDispatchToProps)(FilterListItem);
import { AfterViewInit, Component, Input, OnChanges, ViewChild } from '@angular/core'; import { MatSort } from '@angular/material/sort'; import { RichDestination, Vo } from '@perun-web-apps/perun/openapi'; import { SelectionModel } from '@angular/cdk/collections'; import { MatTableDataSource } from '@angular/material/t...
import '../../../__mocks__/matchMediaMock' import { Typeahead, Alert } from '@hospitalrun/components' import { act } from '@testing-library/react' import { roundToNearestMinutes, addMinutes } from 'date-fns' import { mount, ReactWrapper } from 'enzyme' import React from 'react' import PatientRepository from '../../.....
import { Map as ImmutableMap } from 'immutable'; import { ReportReference, ReportGenerationQueryReference } from './chargeback'; import { referenceForModel, GroupVersionKind } from '../module/k8s'; import { AlertmanagerModel, BuildConfigModel, BuildModel, ClusterOperatorModel, ClusterRoleModel, ClusterServ...
import { season, player } from "../core"; import { idb } from "../db"; import { g, getProcessedGames, overrides } from "../util"; import type { UpdateEvents, ViewInput, Game } from "../../common/types"; export const getUpcoming = async (tid: number, limit: number = Infinity) => { const schedule = await season.getSche...
import { RefTyped, wrap, unwrap, isElement, RefElement, isClient, NO_OP } from "../utils"; import { ref, computed, watch, onMounted, onUnmounted, Ref } from "../api"; export interface IntersectionObserverOptions { root?: RefTyped<Element> | null; rootMargin?: RefTyped<string> | string; threshold?: ...
import { Command, flags } from '@oclif/command' import * as fs from "fs" import * as path from "path" import * as Mustache from "mustache" import { basicTemplate } from "../templates/basic" import { fetchPackagesJson, writeBasicConfig, getLicense } from '../utils'; import { EffePackageJson, PackageManagerSupported, Lic...
// Type definitions for CodeMirror // Project: https://github.com/marijnh/CodeMirror // Definitions by: mihailik <https://github.com/mihailik> // nrbernard <https://github.com/nrbernard> // Pr1st0n <https://github.com/Pr1st0n> // Definitions: https://github.com/DefinitelyTyped/Definitely...
/* * 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 { first, flatten, groupBy, indexBy, isEmpty, sortBy, uni...
import { DocumentEditor } from '../../../src/document-editor/document-editor'; import { createElement } from '@syncfusion/ej2-base'; import { Editor, Page, HelperMethods, TableWidget, ParagraphWidget } from '../../../src/index'; import { TestHelper } from '../../test-helper.spec'; import { Selection } from '../../../sr...
/** * @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 */ import {Type} from '@angular/core'; import {BehaviorSubject, Observable} from 'rxjs'; import {map} from 'rxjs/operat...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SharedModule } from '../shared/shared.module'; import { AboutModule } from '../about/about.module'; import { PressModule } from '../press/press.module'; import { NotFoundModule } from '../not-found/not-found.module'; @...
import React from "react"; import { AttrProps, createAttrTable, Demo, DemoProps } from "../common"; import IconDemo1 from "./icon.demo1"; const IconExample: React.FunctionComponent = () => { const demos: DemoProps[] = [ { code: require('!!raw-loader!./icon.demo1.tsx').default, demo:...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { HomeComponent } from './home/home.component'; import { MonsterGridComponent } from './monstergrid/monstergrid.component'; export const routes: Routes = [ { path: '', redirectTo: '/home', pathMatch: 'full' }, ...
import { RouteProp } from '@react-navigation/native'; import { StackNavigationProp } from '@react-navigation/stack'; import { Formik, FormikProps } from 'formik'; import { cloneDeep } from 'lodash'; import { Form, Icon, Item, Label, Picker, Text } from 'native-base'; import React, { Component } from 'react'; import { K...
export function createDmmfFixture() { return require("./dmmf.json"); }
export class MessageType {}
import { join } from "path"; import fetch from "isomorphic-unfetch"; import NpmAPI from "npm-api"; const currentPath = join(__dirname, ".."); export default currentPath; const getOnlineVersion = async () => { const npm = new NpmAPI(); const repo = await npm.repo("project-chef-templates").package(); return repo....
import * as core from '@actions/core'; import * as io from '@actions/io'; import { ok } from 'assert'; import * as go from './go'; import { KindMainService } from './kind/main'; async function run() { try { checkEnvironment(); const service: KindMainService = KindMainService.getInstance(); const toolPath...
// Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. ///<reference path='..\typescript.ts' /> module TypeScript { export enum PullElementFlags { None = 0, Exported = 1, Pr...
import { Component, OnInit } from '@angular/core'; import { DatePipe } from '@angular/common'; @Component({ selector: 'app-transfer', templateUrl: './transfer.component.html', styleUrls: ['./transfer.component.css'] }) export class TransferComponent implements OnInit { constructor(private datePipe: DatePipe) ...
export interface RootState { }
import { defineComponent, PropType, onMounted, ref, onUnmounted, computed } from 'vue' import type { LegacyRef } from 'react' import { GiscusProps } from '@shared/types' import { addDefaultStyles, createErrorMessageListener, formatError, getIframeSrc, GISCUS_ORIGIN, GISCUS_SESSION_KEY } from '@s...
import { Geometry, Group, Math, Mesh, MeshLambertMaterial, Scene, SmoothShading, VertexColors, } from "three"; import { makeCube } from "../../../utils/index"; export class Deer { public deer: any; public color: { main: number; paws: number; head: number;...
import { useEffect, useState } from 'react'; import { EventArgs } from './types'; import { managedEventListener } from './utils'; // Source: https://w3c.github.io/deviceorientation/#dictdef-deviceorientationeventinit const initialState: EventArgs<DeviceOrientationEvent> = { alpha: null, beta: null, gamma: null, ...
// Original file: src/protos/zetasql/parser/parse_tree.proto import type { ASTNodeProto as _zetasql_ASTNodeProto, ASTNodeProto__Output as _zetasql_ASTNodeProto__Output } from '../zetasql/ASTNodeProto'; import type { AnyASTExpressionProto as _zetasql_AnyASTExpressionProto, AnyASTExpressionProto__Output as _zetasql_AnyA...
import { Component, EventEmitter, Injector, OnInit, TemplateRef, ViewChild } from '@angular/core'; import { Codes, Util } from '../../../../../utils'; import { OBaseTableCellRenderer } from '../o-base-table-cell-renderer.class'; export const DEFAULT_INPUTS_O_TABLE_CELL_RENDERER_ACTION = [ 'icon', 'action', 'tex...
// FIXME: For whatever reason TypeScript is unable to load these typings properly... declare module 'rpc-websockets' { interface IClientOptions { autoconnect?: boolean reconnect?: boolean reconnect_interval?: number max_reconnects?: number } export class Client { ready: boolean reconnect:...
import { combine, commonInit, Configuration, Context } from '@datadog/browser-core' import { startDOMMutationCollection } from '../browser/domMutationCollection' import { startPerformanceCollection } from '../browser/performanceCollection' import { startRumAssembly } from '../domain/assembly' import { startRumAssemblyV...
import { EntityHeader } from "@artsy/palette" import { FollowArtistPopoverRow_artist } from "v2/__generated__/FollowArtistPopoverRow_artist.graphql" import { FollowArtistPopoverRowMutation } from "v2/__generated__/FollowArtistPopoverRowMutation.graphql" import { SystemContextProps } from "v2/System" import React from "...
export interface UserInterface { _id: string; userId: string; published: boolean; profileUrl: string; nsfw: boolean; censored: boolean; name: string; tagline: string; photoUrl: string; bannerUrl: string; description: string; websiteUrl: string; githubUrl: string; ...
export * from '@taiga-ui/cdk/components/dialog-host'; export * from '@taiga-ui/cdk/components/dropdown-host'; export * from '@taiga-ui/cdk/components/portal-host';
declare module 'react-native-elements' { import * as React from 'react' import { ViewStyle, TextStyle } from 'react-native' // TODO: export const Card: any export const FormLabel: any export const FormInput: any export interface TextProps { /** * font size 40 */ h1?: boolean /...
import { Connection, createConnection, getConnectionOptions } from 'typeorm'; export default async (host = 'database'): Promise<Connection> => { const defaultOptions = await getConnectionOptions(); return createConnection( Object.assign(defaultOptions, { host: process.env.NODE_ENV === 'test' ? 'localhos...
import { Column, Entity, ManyToOne, PrimaryGeneratedColumn, } from "typeorm"; import {Position} from "./position.entity"; import {ApplicationStatus, QuestionAnswerType} from "../recruitment.enum"; @Entity() export class Question { @PrimaryGeneratedColumn() id: number; @Column() name: string; @Column({ type...
/** * 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. * * @format */ import {CancelledPromiseError} from './errors'; import {sleep} from './promiseTimeout'; export interface BaseIdler ...
/* eslint-disable */ /* tslint:disable */ /* * --------------------------------------------------------------- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ## * ## ## * ## AUTHOR: acacode ## * ## S...
export class YunzaiSVConfig { /** 大小,默认:`large` */ size?: 'small' | 'large'; /** 间距,默认:`32` */ gutter?: number; /** 布局,默认:`horizontal` */ layout?: 'horizontal' | 'vertical'; /** 列数,默认:`3` */ col?: number; /** 是否显示默认值,当内容为空值时显示 `-`,默认:`true` */ default?: boolean; /** `label` 固定宽度,若 `null` 或 `undefi...
import { GetEntity } from './Users/GetEntity'; import { sendMessage, sendMessageMoreParams } from './Messages/sendMessage'; import { DeleteMessages } from './Messages/DeleteMessages'; import { EditMessage, editMessageMoreParams } from './Messages/EditMessage'; import { ForwardMessages, forwardMessageMoreParams } from '...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_CN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Poobcoin</source> <translation>关于莱特币</translation> </message>...
import { TestData } from "../types/TestData"; import { runtest } from "../util/test-util"; import { isDecimal } from "./isDecimal"; test("isDate", ()=>{ runtest(testdata, isDecimal) }) const testdata: TestData[] = [ { it: 'should validate decimal numbers', args: [], valid: [ ...
export const Foobar = () => "foobar"; export default Foobar;