text
stringlengths
10
953k
/** * Copyright © 2020 Johnson & Johnson * * 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 { Routes, Route } from '@angular/router'; // import { AuthenticationGuard } from '@app/core'; import { RoutingSentinelService } from '../moon-manager/services/routing-sentinel.service'; import { ShellComponent } from './shell.component'; import { PreventRefreshGuard } from '../moon-manager/guards/prevent-refres...
import RankedSvg from '../assets/ranked.svg'; import DuelSvg from '../assets/duel.svg'; import FunSvg from '../assets/fun.svg'; import TrainingSvg from '../assets/training.svg'; export const categories = [ { id: '1', title: 'Ranqueada', icon: RankedSvg, }, { id: '2', ...
export * from './props'; export * from './SourceMessage'; export * from './SourceMessagePreview'; export * from './outbound'; export * from './services';
// This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { production: false, firebase: { apiKey: "", authDomain: "m...
import { OrientationModel } from "./orientation.model"; interface StyleLabel { data: any; children: any[]; } // style数据模型 export class StyleModel implements StyleLabel { data: any = {}; // 存放内联样式 children: Array<StyleModel> = []; // 如果有子标签,则存放子标签的样式和对应的StyleModel constructor() {} } export interfa...
import { Button } from '../widgets/button'; import { BaseEvent } from './event'; /** * Class of events raised when focus is gained by a Button. */ export declare class FocusEvent extends BaseEvent { target: Button; /** * @param target The button which gained focus. */ constructor(target: Button)...
import { Entity, PrimaryGeneratedColumn, Column, ManyToOne, JoinColumn, OneToMany, Index } from 'typeorm'; import { ApiModelProperty, ApiModelPropertyOptional } from '@nestjs/swagger'; import { Division } from '../division/division.model'; import { Team } from '../team/team.model'; import { Score } from '../score/score...
export interface RGB { r: number; g: number; b: number; } export function hex2rgb(hex: string) { let i = hex.indexOf("#"); let start = i === -1 ? 0 : 1; hex = hex.substring(start); let r = parseInt(hex.substring(0, 2), 16); let g = parseInt(hex.substring(2, 4), 16); let b = parseIn...
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { Hero } from './hero'; import { HeroService } from './hero.service'; @Component({ moduleId: module.id, selector: 'my-heroes', templateUrl: 'heroes.component.html', styleUrls: [ 'heroes.component.css' ] }) exp...
import Document, { Html, Head, Main, NextScript } from 'next/document' import { getInstanceDataByLang } from '@/helper/feature-i18n' import { htmlEscapeStringForJson } from '@/helper/html-escape' const bodyStyles = { fontFamily: 'Karmilla, sans-serif', } // See https://docs.sentry.io/platforms/javascript/install/l...
import multer from 'multer'; import path from 'path'; export default { storage: multer.diskStorage({ destination: path.join(__dirname,'..','..','uploads'), filename: (request, file, cb) =>{ const fileName = `${Date.now()}-${file.originalname}` cb(null,fileName); ...
import { MarketBAsset, marketBAssetQuery } from '@daodiseoanchor/app-fns'; import { createQueryFn } from '@libs/react-query-utils'; import { useQuery, UseQueryResult } from 'react-query'; import { useAnchorWebapp } from '../../contexts/context'; import { ANCHOR_QUERY_KEY } from '../../env'; const queryFn = createQuery...
import { proxy } from "valtio"; export const visualView = proxy({ height: 0, }); const setVisualViewSize = () => { visualView.height = visualViewport.height; }; visualViewport.addEventListener("resize", setVisualViewSize); setVisualViewSize();
module API { export interface IEmbed { id: string; mode: string; live: boolean; callback: { sendAnswerCallback?: answerCallback; liveEventStatus?: liveEventStatusCallback; buzzerQuestionStatus?: buzzerQuestionStatusCallback; activeUserCount?: activeUserCountCallback; }; ...
export default function generateCircle(core: Array<number>, r: number, segments: number) { let points = new Float32Array(segments * 4) if (core[3] && core[3] !== 0.0) { core[0] /= core[3] core[1] /= core[3] core[2] /= core[3] } // push points for (let m = 0; m < segments; ++m) { let angle = 2 ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import {SpriteBase} from "./SpriteBase"; import {Classes} from "./Classes"; import {djinn_status} from "./Djinn"; import {Effect, effect_types} from "./Effect"; import {Item, item_types} from "./Item"; import {Player, fighter_types, permanent_status, main_stats, effect_type_stat, extra_main_stats} from "./Player"; impo...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as fs from 'fs-extra' import * as path from 'path' /** * Buffers the text of a file for later saving. */ export default class FileBuffer { public readonly filePath: string; private buffer = ''; constructor(filePath: string) { this.filePath = filePath; } public write(s: string) ...
import { IsString, MinLength, MaxLength, Matches } from 'class-validator'; export class AuthCredentialsDTO { @IsString() @MinLength(4) @MaxLength(20) username: string; @IsString() @MinLength(5) @MaxLength(20) @Matches(/((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/, { message: 'Must be a l...
import { enumType } from "@nexus/schema"; const OriginalEpisodes = [ { name: "NEWHOPE", value: 4, description: "Released in 1977." }, { name: "EMPIRE", value: 5, description: "Released in 1980." }, { name: "JEDI", value: 6, description: "Released in 1983" }, ]; export const Episode = enumType({ name: "Episode...
module d5power { export class D5Event { } }
import * as socketIO from "socket.io-client"; import * as socketIOServer from "socket.io"; import { AstraEngine } from "../lib/engine"; import * as express from "express"; import * as path from "path"; import { TestLobby } from "./game/game"; export function start() { const app = express(); const port = process.en...
import {NextPage} from 'next'; import {useRouter} from 'next/dist/client/router'; import {useContext, useState} from 'react'; import {AppControlContext} from '../../components/appContextProvider'; import DMXProject from "../../backend/structs/DMXProject"; import {ipcRenderer} from 'electron'; //import {dialog} from "@e...
/** * @license MIT * @copyright OmniSharp Team * @summary Adds support for https://github.com/Microsoft/language-server-protocol (and more!) to https://atom.io */ export interface IAtomLanguageCsharpSettings { deserializer?: string; } export class AtomLanguageCsharpSettings { public static get empty...
import { URL } from 'url'; import { Metric, MetricOptions, Statistic } from '@aws-cdk/aws-cloudwatch'; import * as ec2 from '@aws-cdk/aws-ec2'; import * as iam from '@aws-cdk/aws-iam'; import * as kms from '@aws-cdk/aws-kms'; import * as logs from '@aws-cdk/aws-logs'; import * as secretsmanager from '@aws-cdk/aws-secr...
export const isVariantLike = <T extends any>(target: T): target is T & { type: string } => { return ( typeof target === 'object' && target !== null && // @ts-ignore typeof target.type === 'string' ) }
import Player from "./Player"; import Deck from "./Deck"; import Game from "./Game"; import Board from "./Board"; import {Games as iGames, IHand, Nullable} from "./Interfaces"; export default class Table { protected players: Array<Player> = []; protected deck: Deck; protected game: Game; protected board: Boar...
/* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. * * Licensed under the terms of the LICENSE file distributed with this project. */ import { expect } from "chai"; import { mount } from "enzyme"; import * as React from "react"; import * as ReactDOM from "react-dom"; import * as TestUtils from "r...
// eslint-disable-next-line import/no-default-export export default function IconGithub(): JSX.Element { return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="36" height="36" style={{ transform: "rotate(120deg)" }} > <path fill="var(--arrow)" fillRule="evenodd" d...
import { useSelector } from "react-redux"; import { ApplicationState } from "store"; export const useLoading = () => { const { inventory, user, cart, alert } = useSelector( (state: ApplicationState) => state ); const userLoading = user.loading; const orderLoading = cart.loading; const inventoryLoading = ...
import { queryConfig } from '@api/config'; import db from '@utils/firebase'; import firebase from 'firebase/app'; import { useQuery } from 'react-query'; export interface IFetchTalksParams { year: string | number; } export interface ITalksData { title: string; link: string; date: any; event: string; organ...
import React, { ChangeEvent } from 'react'; type OptionProps = { setFont: any; }; const fonts: string[] = [ 'Chivo', 'Arial', 'Helvetica', 'Verdana', 'Trebuchet MS', 'Gill Sans', 'Noto Sans', 'Avantgarde', 'Optima', 'Arial Narrow', 'sans-serif', 'Times', 'Times New Roman', 'Didot', 'Ge...
import { CartItemRequestDec } from '../decorator'; export class CartItemIdParam { @CartItemRequestDec.cartItemId() id: number; }
/** * @file Abdominal 腹部 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper('abdominal', (props: ISvgIconProps) => ( '<?xml version="1.0" encoding="UTF-8"?>' + '<svg wid...
import { BaseResponse } from './../../../../../config/interfaces/response.base.interface'; import { IOrder } from './../type/orders.interface'; export interface IOrdersResponse extends BaseResponse { data: IOrder[] | null; }
import { Link } from "react-router-dom"; import { Button } from "../components/Button"; import ilustrationImg from "../assets/images/illustration.svg"; import logoImg from "../assets/images/logo.svg"; import "../styles/auth.scss"; export const NewRoom = () => { return ( <div id="page-auth"> <aside> ...
import { IFilterOptionDef } from '../../interfaces/iFilter'; import { IScalarFilterParams } from './scalarFilter'; import { ISimpleFilterParams } from './simpleFilter'; import { _ } from '../../utils'; /* Common logic for options, used by both filters and floating filters. */ export class OptionsFactory { protecte...
import { actionCreatorFactory } from 'dva-model-creator'; import { AxiosError } from 'axios'; import { Food } from '@/types/Food.d'; import { WHAT_TO_EAT } from '@/constant/namespace'; const actionCreator = actionCreatorFactory(WHAT_TO_EAT); /** * 随机抽取 */ export const draw = actionCreator<void>('draw'); /** * 关键字...
import { Component, OnInit, HostListener, ViewChild, AfterViewInit, ElementRef } from '@angular/core'; import { ToastrService } from 'ngx-toastr'; import { Router } from '@angular/router'; import { FormGroup, Validators, FormBuilder } from '@angular/forms'; import { AuthenticationService } from 'src/app/core/services/a...
import * as core from '@actions/core'; import { exportBuilds } from './godot'; import { createRelease } from './release'; import { SHOULD_CREATE_RELEASE, ARCHIVE_EXPORT_OUTPUT, RELATIVE_EXPORT_PATH, USE_PRESET_EXPORT_PATH, } from './constants'; import { zipBuildResults, moveBuildsToExportDirectory } from './fil...
/* * 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. */ // @ts-ignore import { getAllStats } from './get_all_stats'; import { getStat...
import { EllipsisPipe } from './ellipsis.pipe'; describe('Pipe: Ellipsis', () => { let pipe: EllipsisPipe; const longStr = `Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quibusdam ab similique, odio sit harum laborum rem, nesciunt atque iure a pariatur nam nihil dolore necessitatibus quos ea autem ...
import { Ajax } from "../framework/basic/ajax"; import { Dictionary } from "../framework/conllection/dictionary"; import { Json } from "../framework/basic/json"; /** * @name 数据逻辑 */ export class RequestInfo { public readonly data: any; public readonly url: string; public header: any; public async: b...
export const isWithin = (from: number) => (to: number) => ( value: number, ): boolean => value >= from && value <= to;
import Check from '@material-ui/icons/Check'; import Close from '@material-ui/icons/Close'; import Edit from '@material-ui/icons/Edit'; import * as classnames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router-dom'; import { compose } from 'recompose'; import Button from 'src/componen...
import { AsteriaLogLevel } from './AsteriaLogLevel'; import { AsteriaObject } from '../../common/lang/core/AsteriaObject'; /** * The <code>AsteriaLogger</code> interface defines the API you must implement to create loggers in an Asteria * environment. */ export interface AsteriaLogger extends AsteriaObject { ...
const { promises: fs } = require('fs'); async function getJson() { const admin = await fs.readFile('./ci/cucumber/admin-report.json', 'utf-8'); const broker = await fs.readFile( './ci/cucumber/brokers-report.json', 'utf-8' ); const coverall = await fs.readFile( './ci/cucumber/coverall-report.json',...
import {Connection} from "../connection/Connection"; import {ObjectLiteral} from "../common/ObjectLiteral"; import {QueryRunner} from "../query-runner/QueryRunner"; import {RelationMetadata} from "../metadata/RelationMetadata"; /** * Wraps entities and creates getters/setters for their relations * to be able to lazi...
import { EventEmitter } from "events"; import { TsInfo } from "./info"; import TsPacket = require("./packet"); import { TsTablePat, TsTableCat, TsTablePmt, TsTableDsmcc, TsTableNit, TsTableSdt, TsTableBat, TsTableTdt, TsTableTot, TsTableDit, TsTableSit, TsTableSdtt, T...
import express from "express"; import {routeHandler} from "../middleware/RouteHandler"; import {groupJoin, groupRegister, groupUpdate} from "../management/GroupManagement"; import {extractJwt} from "../middleware/ExtractJwt"; import {idRegExp} from "./UtilRouteValues"; import {componentDelete, componentGet} from "../ma...
// import * as assert from "assert"; // import * as transducers-stats from "../src"; describe("transducers-stats", () => { it("tests pending"); });
import { defineConfig } from 'vite' import tsconfigPaths from 'vite-tsconfig-paths' import viteTestPlugin from 'vite-plugin-test' export default defineConfig({ plugins: [ tsconfigPaths(), viteTestPlugin({ dir: 'test' }) ] })
import styled from 'styled'; interface ButtonProps { active?: boolean; className?: string; } const Button = styled.button<ButtonProps>` height: 35px; width: 35px; border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; color: black; ...
import {Jam} from '@jam'; export abstract class JamObject { id: string; name: string; parent?: string; year?: string; mediaType?: string; genre?: string; protected constructor(public base: Jam.Base) { this.name = base.name; this.id = base.id; } abstract play(): void; abstract navigTo(): void; abstra...
// Generate by [js2dts@0.3.3](https://github.com/whxaxes/js2dts#readme) /** * @class BasePlayerInfoContent 播放信息base类 */ declare class BasePlayerInfoContent { data: _AudioPlayerInfoContent.T100; /** * 构造方法 */ constructor(); /** * 获取data * * @return Object */ getData(): _AudioPlayerInfoCont...
export default { okText: 'Ок', cancelText: 'Отмена' };
import tokens from '../tokens'; import { ParserError } from '../errors'; const createAdjacentPairs = (tokensList) => { const { pairs, previousToken: lastToken } = tokensList.reduce( ({ pairs, previousToken }, currentToken) => { return { pairs: [...pairs, [previousToken, currentToken]], prev...
import { Injectable, MiddlewareFunction, NestMiddleware } from '@nestjs/common'; @Injectable() export class LoggerMiddleware implements NestMiddleware { resolve(... args: any[]): MiddlewareFunction { return(req, res, next) => { console.log('Request Logged...'); next(); }; } }
version https://git-lfs.github.com/spec/v1 oid sha256:5f427f092f4dbb69ae0a06a06e45e78cdc9b2356049116b5528eb9fcf0af8eb6 size 569452
export type Replace<T, K extends keyof T, R> = Omit<T, K> & R;
import { AntdLayout, Space, Typography, useRouterContext, Row, } from "@pankod/refine"; import { MotorcycleIcon, FinefoodsIcon, RefineLoveIcon } from "@components"; const { Text } = Typography; require("./style.less"); export const Footer = () => { const { Link } = useRouterContext(); r...
import mongoose, { Schema, model } from "mongoose"; // An interface that describes the properties // that are required to create a new Post interface PostAttrs { userid: mongoose.Schema.Types.ObjectId; username: string; date: Date; text: string; image: string; comments: Array<any>; likes?: Array<any>; } ...
/// <amd-module name="Router/_private/Reference" /> import { Control, TemplateFunction } from 'UI/Base'; // @ts-ignore import template = require('wml!Router/_private/Reference'); import * as Controller from './Controller'; import * as MaskResolver from './MaskResolver'; import { getReverse } from './UrlRewriter'; imp...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Copyright 2020 Amaz...
import * as React from "react"; import pageStyle from "css/pageStyle"; import PagesProps from "../PagesProps"; const components: PagesProps = { module: "/layout", name: "layout", title: () => "Layout", subTitle: (key: string) => <span key={key}> Design the <strong>structure</strong> of your webpage wit...
import { FwFace } from "@ndn/fw"; import { collect, filter, pipeline, transform } from "streaming-iterables"; import { fchQuery, FchRequest } from "./fch"; import { FCH_DEFAULTS, getDefaultGateway } from "./platform_node"; import { ConnectRouterOptions, ConnectRouterResult, connectToRouter } from "./router"; export i...
declare namespace NodeJS { export interface Process { sasLoc: string driveLoc: string sessionController?: import('../../controllers/internal').SessionController appStreamConfig: import('../').AppStreamConfig logger: import('@sasjs/utils/logger').Logger } }
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient.ts"; import { ListModelQualityJobDefinitionsRequest, ListModelQualityJobDefinitionsResponse } from "../models/models_2.ts"; import { deserializeAws_json1_1ListModelQualityJobDefinitionsCommand, serializeAws_json...
import { Meta, Story } from '@storybook/react'; import React from 'react'; import { FriendsList } from './FriendsList'; import { FriendsMockSwitch, mockFriendHandlers, setFriendsMockSwitch, } from 'friends-api'; import { useState } from 'react'; import { rxFetchJSON } from 'core'; type StoryProps = { friendsMock...
import * as React from 'react'; import * as _ from 'underscore'; import {IButtonProps} from '../button/Button'; import {IInputOwnProps} from '../input/Input'; import {InputConnected} from '../input/InputConnected'; import {multilineBoxWithRemoveButton} from '../multilineBox/hoc/MultilineBoxWithRemoveButton'; import {I...
import isEmpty from 'ramda/src/isEmpty'; import { ValuesType } from 'utility-types'; import { NetworkConfig, NETWORKS_CONFIG, SCHEMA_BASE } from '@database/data'; import { createDefaultValues } from '@database/generateDefaultValues'; import { DataStore, ExtendedAsset, ExtendedContact, ExtendedContract, Exten...
export * from "./gitgraph";
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { SharedModule } from '../shared/shared.module'; import { HOME_COMPONENTS, HomeComponent } from './components'; export const routes: Routes = [ { path: '', component: HomeComponent, ...
import { Component, OnInit, ViewChild } from '@angular/core'; import { CommonEventService } from '@shared/services'; import { BsModalComponent } from 'ng2-bs3-modal'; @Component({ selector: 'my-setting-storage', templateUrl: 'storage.component.html', styleUrls: ['storage.component.scss'] }) export class MyStor...
import { WorkLink } from "../WorkLink"; import { WorkLinkClient } from "../WorkLinkClient"; import { ListDevicesCommand, ListDevicesCommandInput, ListDevicesCommandOutput } from "../commands/ListDevicesCommand"; import { WorkLinkPaginationConfiguration } from "./Interfaces"; import { Paginator } from "@aws-sdk/types"; ...
import { gql } from "apollo-server-express"; export default gql` type Query { me: User } `;
// sds.rest.service.ts // import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import 'rxjs/Rx'; import {HttpHeaders, HttpClient} from "@angular/common/http"; import sdsConfig from '../config/sdsconfig.json'; import { SdsConfig } from '../config/sdsconfig.js'; export class SdsStream { Id:...
import {CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router} from "@angular/router"; import {Observable} from "rxjs/Rx"; import {ClientService} from "./services/client.service"; import {Injectable} from "@angular/core"; @Injectable() export class AuthGuard implements CanActivate { constructor(private cl...
import { Repository } from 'typeorm'; import { EntityRepository } from 'typeorm/decorator/EntityRepository'; import { MachineEntity } from './machine.entity'; @EntityRepository(MachineEntity) export class MachineRepository extends Repository<MachineEntity> {}
import { ModuleWithProviders, NgModule } from "@angular/core"; import { CommonModule } from "@angular/common"; import { LoginComponent } from "./login/login.component"; import { MatCardModule } from "@angular/material/card"; import { MatInputModule } from "@angular/material/input"; import { RouterModule } from "@angula...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE TS> <TS version="2.1" language="zh_CN"> <context> <name>behavior_1/behavior.xar:/Get Localized Text</name> <message> <source>Hello</source> <comment>Text</comment> <translation type="vanished">你好</translation> ...
/* * Carrega todas as libs desta pasta */ import './decimal128.extension' import './console.extension'
import { escape as urlEscape } from 'querystring'; import { escape as htmlEscape } from 'lodash'; import { sentences } from 'sbd'; import { HashTag, Email, Mention, Link } from 'social-text-tokenizer'; import config from 'config'; import { tokenize } from './tokenize-text'; export function extractTitle(text: string,...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/** * @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 */ // tslint:disable // TODO: cleanup this file, it's copied as is from Angular CLI. import { CompilerOptions } from '@a...
import * as p from "@bokehjs/core/properties" import {AbstractVTKPlot, AbstractVTKView} from "./vtklayout" import { VolumeType, vtkns, data2VTKImageData, hexToRGB, vtkLutToMapper, ColorMapper, } from "./util" declare type InterpolationType = "fast_linear" | "linear" | "nearest" export class VTKVolumePlotV...
import styled, { useTheme } from 'styled-components'; import DefaultLayout from '../ui/layouts/DefaultLayout'; import { Text } from '../ui/components/Text'; import { useDispatch, useSelector } from 'react-redux'; import { getUser, setUser } from '../redux/slices/userSlice'; import React from 'react'; export default fu...
/* eslint-disable @typescript-eslint/no-unsafe-return */ import { isDeepStrictEqual } from 'util'; import { ValidationError, validate } from '../src'; describe('common', () => { it('should check function "isDeepStrictEqual"', (done) => { expect(new ValidationError('root', 'test', { type: 'number' })).toBeInstan...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { BoolExpression, BoolExpressionConverter } from 'adaptive-expressions'; import { Activity, StringUtils, TaskModuleResponse } from 'botbuilder'; import { Converter, ConverterFactory, DialogConfiguration, DialogContext, DialogSt...
import React, { FC } from "react"; import styled from "styled-components"; import { useQuiz } from "../hooks/useQuiz"; import { media } from "../theme"; interface AnswerIndicatorProps { answer: string; } const Indicator = styled.div` width: 3rem; height: 3rem; border-radius: 50%; border: 0.1rem solid ${({ t...
import * as React from "react" import { Divider } from "../../elements/parallax/divider" import { Content } from "../../elements/parallax/content" import { Inner } from "../../elements/inner" import { Svg } from "../../elements/svg" import { UpDown, UpDownWide } from "../../../styles/animations" import Colors from "../...
import { TestBed, async, fakeAsync, tick, ComponentFixture } from '@angular/core/testing'; import { DebugElement } from '@angular/core'; import { By } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { ListState, ListStateDispatcher } from '../list/state'; const momen...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="da" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Tardcoin</source> <translation>Om Tardcoin</translation> </messa...
import { assertEquals, assertNotEquals, assertThrowsAsync } from "https://deno.land/std@0.86.0/testing/asserts.ts"; import { stub } from "https://deno.land/x/mock@v0.9.4/stub.ts"; import type { Stub } from "https://deno.land/x/mock@v0.9.4/stub.ts"; import dbScope from '../lib/nano.js'; import { mockResponse } from "./...
import * as React from "react"; import { Component } from "react"; import { TaggedPlantPointer } from "../../../resources/tagged_resources"; import { round, transformXY } from "../util"; import { cachedCrop } from "../../../open_farm/icons"; import { MapTransformProps } from "../interfaces"; import { SpreadOverlapHelpe...
import { __prod__ } from "./constants"; import { Post } from "./entities/Post"; import { MikroORM } from "@mikro-orm/core"; import path from "path"; import { User } from "./entities/User"; export default { migrations: { path: path.join(__dirname, "./migrations"), pattern: /^[\w-]+\d+\.[tj]s$/, ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="de" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="14"/> <source>About Grantcoin</source> <translation>Über Grantcoin</translation> </me...