text
stringlengths
10
953k
<TS language="de" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Rechtsklick um Adresse oder Bezeichnung zu bearbeiten</translation> </message> <message> <source>Create a new address</source> ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Pricecoin</source> <translation>À propos de Pricecoin</translation> ...
import React, { ReactElement, useState } from 'react'; import { Button, ColorPalette, Divider, DragHandle, ExpansionPanel, Icon, List, ListItem, ListSubheader, Size, Theme, } from 'LumX'; import { mdiSend } from 'LumX/icons'; ///////////////////////////// interface IProps ...
import {validator, minlength} from "@/index"; import {ValidationError} from "@/ValidationError"; import {expect} from "chai"; const valid = validator(); describe(`minlength`, () => { valid.setModel({test: {minlength: minlength(5)}}); it(`param:5 for "12345"`, () => { expect(() => { valid.v...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About WildBeastBitcoin</source> <translation>Info su WildBeastBitcoin</tra...
import React, {ReactElement} from "react"; import {Route, Redirect} from "react-router-dom"; import {useSelector} from "react-redux"; import {Routes} from "../constants/routes"; import {RootState} from "./rootReducer"; export interface IAuthenticatedRouteProps { path: string; component: any; } export const A...
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { Product } from '../product'; @Component({ selector: 'pm-product-list', templateUrl: './product-list.component.html', styleUrls: ['./product-list.component.css'], changeDetection: ChangeDetectionStrategy.On...
import { Injectable } from '@angular/core'; import { Broadcast } from 'app/model/broadcast.model'; import * as immutable from 'immutable'; import { Observable, BehaviorSubject } from 'rxjs'; import { map } from 'rxjs/operators'; import { BroadcastService } from './broadcast.service'; /** * Service to get broadcast *...
/** * Copyright (c) 2020-present, Goldman Sachs * * 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 l...
import * as React from 'react'; export type PowerappsProps = React.ComponentPropsWithoutRef<'svg'> & { /** * Hex color or color name */ title?: string; /** * The size of the Icon. */ color?: string; /** * The title provides an accessible short text description to the SVG */ size?: string ...
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { environment } from 'src/environments/environment'; import { Usuario } from '../models/usuario-model'; @Injectable({ providedIn: 'root' }) export class UsuarioService { constructo...
import { Config } from "./config"; import { MessageKey } from "./message-keys"; export interface Message { key: MessageKey; value: Partial<Config>; }
export class RegisterUserCommand { public username: string = ''; public email: string = ''; public password: string = ''; public firstName: string = ''; public lastName: string = ''; }
export enum PaymentStateEnum { FAILED = 'FAILED', SUCCESSFUL = 'SUCCESSFUL', PENDING = 'PENDING', }
import { GraphRequestCallback, GraphError } from "./common"; export declare class ResponseHandler { static init(err: any, res: any, callback: GraphRequestCallback): void; static ParseError(rawErr: any): GraphError; }
/// <reference path="../../../typings/angularjs/angular.d.ts"/> /// <reference path="../../../typings/angular-ui-router/angular-ui-router.d.ts"/> /// <reference path="./main/controller.ts"/> var webimApp = angular.module("webim", ["ui.router", "ui.event", "uiSwitch", "ng.shims.placeholder", "webim.main.directive",...
export { default as Breadcrumb, BreadcrumbProps } from './Breadcrumb'; export { default as BreadcrumbItem, BreadcrumbItemProps } from './BreadcrumbItem'; export { default as BreadcrumbHeading, BreadcrumbHeadingProps } from './BreadcrumbHeading';
// Copyright 2018 The Oppia Authors. All Rights Reserved. // // 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 ap...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="af_ZA" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About FUND</source> <translation type="unfinished"/> </message> <message> <location line="...
import React, { useEffect, useRef } from 'react'; import { motion, AnimatePresence, AnimateSharedLayout } from 'framer-motion'; import Cursor, { CursorContextProvider, useCursorCustomState, CustomStates, } from '../Cursor/Cursor'; import MainNav from '../MainNav/MainNav'; import { Footer } from '../Footer/Footer'...
import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; import * as Q from "q"; import * as tl from 'vsts-task-lib/task'; import * as javacommons from 'java-common/java-common'; import * as ccUtils from 'codecoverage-tools/codecoverageutilities'; import {CodeCoverageEnablerFactory} from 'code...
import {NotesSchema} from "../tables/notes-schema.js" import {UserAuth, UserMeta} from "../../../auth/types/auth-metas.js" export interface NotesMeta extends UserMeta {} export interface NotesAuth extends UserAuth { notesTables: NotesSchema }
import { Body, Controller, Delete, Get, Param, ParseIntPipe, Post, Put, Query, UseGuards, UsePipes, ValidationPipe, } from '@nestjs/common'; import { PostService } from './post.service'; import { CreatePostDto } from './dto/create-post.dto'; import { GetUser } from '../auth/decorator/getAuthUser...
import * as Chat2Gen from '../chat2-gen' import * as ConfigGen from '../config-gen' import * as DeeplinksGen from '../deeplinks-gen' import * as EngineGen from '../engine-gen-gen' import * as TeamBuildingGen from '../team-building-gen' import * as Constants from '../../constants/chat2' import * as GregorGen from '../gr...
import React, { useState } from 'react' import { View, ScrollView, Text} from 'react-native' import { Feather } from '@expo/vector-icons' import AsyncStorage from '@react-native-community/async-storage'; import PageHeader from '../../components/PageHeader'; import TeacherItem, { Teacher } from '../../components/Teacher...
import { Test, TestingModule } from '@nestjs/testing'; import { LoggerModule } from '@us-epa-camd/easey-common/logger'; import { MonitorDefaultMap } from '../maps/monitor-default.map'; import { MonitorDefaultService } from './monitor-default.service'; import { MonitorDefaultRepository } from './monitor-default.reposit...
import 'element-plus/es/components/radio-group/style/css' import 'element-plus/es/components/radio-button/style/css' import './radio-button.css'
import { ok } from 'assert'; import { suite } from 'uvu'; import { is } from 'uvu/assert'; import { style } from '../src'; const hello = 'Hello World!'; const hasStyles = (received: string, ...styles: string[]) => { const pass = styles.every((style) => received.includes(style)) && received.endsWith('\x1B[0m'); c...
// There is a faster version of this function that doesn't use // btoa (which requires a copy of the data). This buffer is // rather small so I don't think it makes sense to include it in // the bundle: https://gist.github.com/jonleighton/958841 function arrayBufferToBase64(buffer: ArrayBuffer): string { let binary =...
import * as express from 'express'; import * as morgan from 'morgan'; import * as mongoose from 'mongoose'; import { MappingDescriptor, OptionsType } from './types'; import { defaultMappingDescriptor } from './default-mapping-descriptor'; import { HandlersFactory } from './handlers-factory'; export class MorganMongo {...
import { ServiceScope, Event, EventArgs } from '@microsoft/sp-core-library'; import PlaceholderContent from './PlaceholderContent'; import PlaceholderName from './PlaceholderName'; /** * Options for the {@link PlaceholderProvider.tryCreateContent} method. * * @beta */ export interface IPlaceholderCreateContentOptio...
import { ElementDragging, SplittableProps, memoizeRendering, PositionCache, Hit, View, ViewSpec, createElement, parseFieldSpecs, ComponentContext, DateProfileGenerator, memoize, DateProfile, applyStyleProp, PointerDragEvent } from '@fullcalendar/core' import { ScrollJoiner, TimelineLane, StickyScroller, TimeAxis } from...
import { request } from "@dcos/mesos-client"; import { Observable } from "rxjs"; import { catchError, map } from "rxjs/operators"; import * as ValidatorUtil from "#SRC/js/utils/ValidatorUtil"; import { QuotaData, quotaFields } from "../types/Quota"; import { UpdateQuotaError } from "./errors/UpdateQuotaError"; import ...
/* Copyright 2021 Šimon Brandner <simon.bra.ag@gmail.com> 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...
import { deepMix, isArray } from '@antv/util'; import { jsx } from '../../jsx'; import { LineViewProps } from './types'; function concatPoints(children) { let result = []; for (let i = 0; i < children.length; i++) { const child = children[i]; result = result.concat(child.points); } return result; } fu...
import * as helper from '../__fixtures__/test-helper'; helper.createSuite('Events', (test, cb) => helper.writeToParser( helper.getEventCollector(cb), test.options.parser, test.html ) );
import * as React from 'react' import { TeamsProcessedSvgIconSpec } from '../types' export default { icon: ({ classes }) => ( <svg role="presentation" focusable="false" viewBox="8 8 16 16" className={classes.svg}> <g> <path className={classes.outlinePart} d="M23.7 12c-.2-.1-.4 0...
export type URLProtocol = 'http' | 'https' | 'ftp' | string; export type UUIDVersion = 1 | 2 | 3 | 4 | 5 | '1' | '2' | '3' | '4' | '5' | 'all'; export type IPVersion = 4 | 6; export type AlphaLocale = | 'ar' | 'ar-AE' | 'ar-BH' | 'ar-DZ' | 'ar-EG' | 'ar-IQ' | 'ar-JO' | 'ar-KW' | 'ar-LB' | 'ar-LY' ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { IHttpPostMessageResponse } from 'http-post-message'; import { CommonErrorCodes, DisplayOption, FiltersOperations, ICustomPageSize, IFilter, IPage, IUpdateFiltersRequest, IVisual, LayoutType, PageLevelFilters, Page...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { SearchAnimalCodigoPageRoutingModule } from './search-animal-codigo-routing.module'; import { SearchAnimalCodigoPage } from './...
import { AppError } from '@shared/core/errors/app-error' import { AppErrorCodes } from '@shared/core/errors/app-error-codes' import { HTTPStatus } from '@infra/http/status' export class UnknownAgentError extends AppError { constructor() { super({ code: AppErrorCodes.UNKNOWN_AGENT, httpStatus: HTTPSta...
/* * 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 { useParams } from 'react-router-dom'; import React from 'react'; impor...
import { AddAccountRepository } from '../../../../data/protocols/add-account-repository' import { MongoHelper } from '../helpers/mongo-helper' import { AccountMongoRepository } from './account-mongo-repository' describe('Account Mongo Repository', () => { beforeAll(async () => { await MongoHelper.connect(process...
import { Request, Response, Router } from "express"; var jsts = require('jsts'); const geometryServiceRouter: Router = Router(); //缓冲区服务,访问地址:http://localhost:4300/geometryService/buffer?wkt={wkt}&radius={radius} geometryServiceRouter.all("/buffer", (request: Request, response: Response) => { var param = request.met...
import Vue from 'vue' import VueRouter, { RouteConfig } from 'vue-router' Vue.use(VueRouter) const routes:RouteConfig[] = [ { path: '/', name: 'MainMenu', component: () => import(/* webpackChunkName: "mainmuen" */'../views/MainMenu.vue'), children:[ { path:'/home', name:'首页', ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { BinaryDisplayComponent } from './binary-display.component'; describe('BinaryDisplayComponent', () => { let component: BinaryDisplayComponent; let fixture: ComponentFixture<BinaryDisplayComponent>; beforeEach(async(() => { Te...
import { defineConfig } from 'vite' import reactRefresh from '@vitejs/plugin-react-refresh' import checker from 'vite-plugin-checker' // https://vitejs.dev/config/ export default defineConfig({ plugins: [ reactRefresh(), checker({ typescript: true, }), ], })
import { Credentials } from './credentials'; /** * Authentication * From: https://docs.docker.com/engine/api/v1.37/#section/Authentication */ export interface Authentication extends Credentials { serveraddress: string; }
import {createContext, ReactNode, useContext, useState} from 'react' type Episode = { title: string; members: string; thumbnail: string; duration: number; url: string; } type PlayerContextData = { episodeList: Array<Episode> currentEpisodeIndex: number; isPlaying: boolean; isLooping: boolean; isSh...
/** * Copyright (c) 2021 OpenLens Authors * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, p...
import { Answerable, AnswersQuestions, AssertionError, CollectsArtifacts, Interaction, LogicError, RuntimeError, UsesAbilities } from '@serenity-js/core'; import { formatted } from '@serenity-js/core/lib/io'; import { inspected } from '@serenity-js/core/lib/io/inspected'; import { Artifact, AssertionReport, Name } from...
import { Injectable } from '@angular/core'; import { HttpClient , HttpHeaders} from '@angular/common/http'; import { Observable } from 'rxjs'; import { Society } from '../interfaces/society'; @Injectable({ providedIn: 'root' }) export class SocietyService { private baseUrl = 'http://localhost:8080/secured/societyDeta...
export function toHaveClass(elm: HTMLElement, expectClassName: string) { if (!elm) { throw new Error(`expect toHaveClass value is null`); } if (typeof (elm as any).then === 'function') { throw new Error(`element must be a resolved value, not a promise, before it can be tested`); } if (elm.nodeType !...
import { IConnection, Location, LocationLink, Position, Range, TextDocumentPositionParams, } from "vscode-languageserver"; import { URI } from "vscode-uri"; import { SyntaxNode, Tree } from "web-tree-sitter"; import { ElmWorkspace } from "../elmWorkspace"; import { ElmWorkspaceMatcher } from "../util/elmWor...
import { useQueryClient } from 'react-query'; import type * as Task from 'types/task'; import { getQueryKey } from './helpers'; import { useCache } from './useMetaByName'; export default function () { const metaByNameCache = useCache(); const queryClient = useQueryClient(); return (name: string, meta: Task.IMeta)...
/* * 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 { EuiHideFor, EuiPageSideBar, EuiShowFor, EuiSideNav } from '@elastic/...
import React from 'react' import styled from 'styled-components' import { Button, Flex, Input, InputProps } from '@tokenbest/uikit' import useI18n from 'hooks/useI18n' interface TokenInputProps extends InputProps { max: number | string symbol: string availableSymbol: string value: string onSelectMax?: () => ...
import { useContext } from 'react'; import { IState } from '../model/state'; import { AuthContext } from '../provider'; export const useUser = (): IState => { const context = useContext(AuthContext); if (context === undefined) { throw new Error(`useUser must be used within a AuthProvider.`); } return cont...
import { BaseField } from '../fields'; import { FormContext } from '../form'; import { ModifierNonStandardCharRemoverHandler } from './ModifierNonStandardCharRemover'; describe('ModifierNonStandardCharRemover', () => { it('should remove the emoji', () => { expect( new ModifierNonStandardCharRemoverHandler...
import { TabGuardComp, IComponent, KeyCode, PostConstruct } from '@ag-grid-community/core'; import { MenuItemComponent } from './menuItemComponent'; export class MenuPanel extends TabGuardComp { constructor(private readonly wrappedComponent: IComponent<any>) { super(); this.setTemplateFromElement(...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { NavigationModule } from 'langs-navigation'; import { Tes1Component } from './components/tes1/tes1.compo...
import { Link } from 'gatsby' export const features = [ { title: "Keep Data on your Network", paragraphs: [ 'All data remains on your infrastructure and inside your network. Gitpod does not "call home" and can run air-gapped networks, disconnected from the internet.' ], ...
/** * @module ast/nodes */ /** * Copyright 2018 Alexandru RADOVICI * * 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...
import * as crypto from "crypto"; /** * Helper functions for use with trytes. */ export class TrytesHelper { /** * Generate a random hash. * @param length The length of the hash. * @returns The hash. */ public static generateHash(length: number = 81): string { let hash = ""; ...
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { BidiModule } from '@angular/cdk/bidi'; import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; imp...
import * as colors from "https://deno.land/std@0.106.0/fmt/colors.ts"; import { ColorType, IConsoleStyle, ModifierType } from "./types.ts"; /** * Altdx Console Style. * This class allows you to style terminal output. * * @example * * ```ts * const style = new ConsoleStyle(); * * style.bold().underline().col...
import { MonthViewDay, CalendarEvent, EventAction } from 'calendar-utils'; /** * The parameters passed to the a11y methods. */ export interface A11yParams { /** * A day in the month view */ day?: MonthViewDay; /** * A date */ date?: Date; /** * A calendar event */ ...
import * as React from 'react'; import classNames from './logoHeader.classNames'; export enum LogoColors { white = 'white', gray = 'gray' } export interface LogoProps extends React.Props<any> { logoColor?: LogoColors; } export const LogoHeader = (props: LogoProps) => ( <header className={classNames().root}> ...
export interface ISortResult { column: String; order: number; }
version https://git-lfs.github.com/spec/v1 oid sha256:7e6c920078e68ca017e7ca3f36dd3020e1134a71d51b3636e911539313bdb215 size 423000
import React, { useState } from 'react'; import axios from 'axios'; import { toast } from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; const AddToCart = (props: any) => { const cellValue = props.valueFormatted ? props.valueFormatted : props.value; const [submitting, setSubmitting] = useState...
import { Svg as RssIcon } from '@/assets/icons/rss.svg' import { Icon } from '@/common/Icon' import { useSiteMetadata } from '@/metadata/useSiteMetadata' import { feedFileName } from '~/config/site.config' /** * Page footer. */ export function PageFooter(): JSX.Element { const { creator } = useSiteMetadata() re...
import MockAdapter from 'axios-mock-adapter'; import { ProfileUploadData } from '../types/api'; import { APIClient as apiClient } from '../'; import { privateUsers } from './fixtures/privateUser'; import { validUploadData, invalidInstagramHandles, invalidFacebookHandles } from './fixtures/profileUploadData'; import For...
import * as assert from "assert"; import { testContext, disposeTestDocumentStore } from "../../Utils/TestUtil"; import { IDocumentStore, AbstractIndexCreationTask, } from "../../../src"; describe("Issue RavenDB-5669", function () { let store: IDocumentStore; let index; beforeEach(async function ...
import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; import { environment } from './environments/environment'; if (environment.production) { enableProdMode(); } (window as any)['doBootstrap'] = () =...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Terracoin</source> <translation>關於位元幣</translation> </message...
import Fuse from 'fuse.js' import { Readable, Writable, derived, writable } from 'svelte/store' export type FilterStore<T> = { collection: Writable<T[]> filter: Writable<string> results: Readable<T[]> } export type Weights<T> = { [P in keyof T]?: number } export function filterStore<T>( collection: T[], we...
/* * Copyright 2021 ACC Cyfronet AGH * * 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 agre...
import cheerio from 'cheerio' import { APIWrapper, Source } from 'paperback-extensions-common'; import { ReadComicsOnline } from '../ReadComicsOnline/ReadComicsOnline'; describe('ReadComicsOnline Tests', function () { var wrapper: APIWrapper = new APIWrapper(); var source: Source = new ReadComicsOnline(cheeri...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="el" sourcelanguage="en"> <context> <name>CmdPartDesignAdditiveLoft</name> <message> <location filename="../../Command.cpp" line="+1349"/> <source>PartDesign</source> <translation>ΣχεδίασηΕξαρτήματος</translation...
import React from 'react' import classes from './detail.styl' import { ShopDetailController } from '@canteen/common' import { RouteComponentProps } from 'react-router' import { Card, Button, Icon, Spin, Empty } from 'antd' import { defaultFoodImg } from 'utils/contants' const ShopDetail = ({ match, history, }: Route...
/* eslint-disable max-lines-per-function */ const myMeasureSystem = 'US'; const myCircle: Shape = { name: 'CIRCLE', radius: 5 }; const myArea = getArea(myCircle); const myUnits = getUnitName(myMeasureSystem); const areaDescription = `My ${myCircle.name} occupies an area of ${myArea} ${myUnits}`; console.log(areaDescrip...
import { useState, useEffect } from 'react' import { Grid } from './components/grid/Grid' import { Keyboard } from './components/keyboard/Keyboard' import { InfoModal } from './components/modals/InfoModal' import { StatsModal } from './components/modals/StatsModal' import { SettingsModal } from './components/modals/Set...
const Easing = { linear: () => (t: number) => t, inQuad: () => (t: number) => t * t, outQuad: () => (t: number) => t * (2 - t), inOutQuad: () => (t: number) => { t *= 2; if (t < 1) return 0.5 * t * t; return -0.5 * (--t * (t - 2) - 1); }, inCubic: () => (t: number) => t * t * t, outCubic:...
angular.module("logViewerApp").component("errorCount", { bindings: { errors: "=", onErrorClick: "&", }, templateUrl: "components/error-count.html", controllerAs: "vm", });
import { call, take, fork, put } from 'redux-saga/effects'; import { FETCH_USER_LOGIN_STATUS, setUserDetails } from '../../store/user'; import { getLoggedInStatus } from '../../helpers/api'; export function* isUserLoggedInSaga() { try { const res = yield call(getLoggedInStatus); yield put(setUserDetails(res)...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sk" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About IBTMaxcoin</source> <translation>O IBTMaxcoin</translation> </me...
import { MigrationInterface, QueryRunner, Table } from "typeorm"; export class createImages1618817361718 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.createTable(new Table({ name: "images", columns:[ { name: 'id', ...
import { twMerge } from '../src' test('handles arbitrary property conflicts correctly', () => { expect(twMerge('[paint-order:markers] [paint-order:normal]')).toBe('[paint-order:normal]') expect( twMerge('[paint-order:markers] [--my-var:2rem] [paint-order:normal] [--my-var:4px]') ).toBe('[paint-orde...
export class BatchSyncName { public static readonly DownloadTask: string = "Download"; public static readonly UploadTask: string = "Upload"; public static readonly UploadTask2: string = "Upload2"; public static readonly CloseTask: string = "Close"; public static readonly RecoveryTask: string = "Reco...
import { URL } from "url"; export const getOrigin = (originUrl?: string) => { if (originUrl) { const url = new URL(originUrl); return url.hostname || "UNKNOWN"; } return "UNKNOWN"; };
// import * as eyes from 'eyes' import * as _ from 'lodash' import * as core from '../../common/core' import fastify from '../fastify' import * as boom from 'boom' import * as fuzzy from 'fuzzy' import * as stores from '../adapters/stores' fastify.route({ method: 'POST', url: '/api/search', schema: { body: {...
import { Repos } from './../users/repos'; import { Component, OnInit, ViewChild } from '@angular/core'; import { DataService } from '../data-service/data.service'; import { NgForm } from '@angular/forms'; @Component({ selector: 'app-repos', templateUrl: './repos.component.html', styleUrls: ['./repos.component.cs...
import { Injectable } from '@angular/core'; import { Subject } from 'rxjs'; @Injectable() export class GlobalState { private _data = new Subject<Object>(); private _dataStream$ = this._data.asObservable(); private _subscriptions = new Map<string, Function[]>(); constructor() { this._dataStream$.subscrib...
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ ///<refere...
import { NgModule } from '@angular/core'; import { ServerModule } from '@angular/platform-server'; import { AppModule } from './app.module'; import { AppComponent } from './app.component'; import { ServerTransferStateModule } from '../modules/transfer-state/server-transfer-state.module'; import { TransferState } from ...
import { ApiPropertyOptional } from '@nestjs/swagger'; import { IsOptional, IsString } from 'class-validator'; export class UploadShapefileDto { @ApiPropertyOptional() @IsString() @IsOptional() name?: string; }
/** * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
// //Author Maxim Kuzmin//makc// import {AfterViewInit, Component, OnDestroy, OnInit, ViewChild} from '@angular/core'; import {NgForm} from '@angular/forms'; import {appCoreLoggingDiTokenLoggerName} from '@app/core/logging/core-logging-di'; import {AppCoreLoggingService} from '@app/core/logging/core-logging.service'; ...
import { Component, OnInit } from '@angular/core'; import {Subject} from '../../tables/contents/models/subject'; import {Book} from '../../tables/contents/models/book'; import { Class} from '../../tables/contents/models/class'; import {ChartService} from './services/echarts.service'; import {Chart} from './models/chart...