text
stringlengths
10
953k
export class TransferUserDto { walletAddress: string; amount: number; tUserId: number; tokenId: number; }
import { BN } from "ethereumjs-util"; import { JsonRpcClient } from "../../jsonrpc/client"; import { ForkConfig } from "../node-types"; export declare function makeForkClient(forkConfig: ForkConfig, forkCachePath?: string): Promise<{ forkClient: JsonRpcClient; forkBlockNumber: BN; forkBlockTimestamp: number...
import { InteractionCallbackType, InteractionFlags, InteractionResponse, } from '@roleypoly/types'; export const mustBeInGuild = (): InteractionResponse => ({ type: InteractionCallbackType.CHANNEL_MESSAGE_WITH_SOURCE, data: { content: ':x: This command has to be used in a server.', flags: Interaction...
import {Component} from '@angular/core'; @Component({ templateUrl:'html/login.html', styleUrls:['css/styles.css'] }) export class LoginComponent{} //adfafds //adfadfs //hhh //adfdf
/* eslint-disable react/display-name */ import React from 'react'; import {ListWidget, Widget} from '../../types'; import Selector from '../selector'; import {IgnoreKeys} from 'react-hotkeys'; import {TiArrowDown, TiArrowUp} from 'react-icons/ti'; import {GenericAction, SetWidgetValuePayload} from '../../actions'; impo...
declare const React: typeof import('react'); declare namespace NodeJS { interface Global { React: typeof import('react'); } } declare module '*.png' { const path: string; export default path; } declare module '*.webp' { const path: string; export default path; } declare module '*.svg' { type SvgCo...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { AppTicketComponent } from './ticket.component'; describe('AppTicketComponent', () => { let component: AppTicketComponent; let fixture: ComponentFixture<AppTicketComponent>; beforeEach(waitForAsync(() => { TestBed.conf...
<TS language="uk" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Кликните правой кнопкой для редактирования адреса или метки</translation> </message> <message> <source>Create a new address</source...
export function bootstrap() { console.log(` █████╗ ███╗ ██╗██╗ ██╗██████╗    █████╗ ███████╗██████╗ ███████╗███╗ ███╗██╗██████╗ ██╔══██╗████╗ ██║██║ ██║██╔══██╗  ██╔══██╗╚════██║██╔══██╗██╔════╝████╗ ████║██║██╔══█...
import * as model from '../models/commentModel'; export async function getComments() { return await model.getComments(); } export async function getCommentsForMovie(movieId: string) { return await model.getComments({ movieId }); } export async function createComment(comment: model.CommentData) { return await m...
import { useState, useEffect } from 'react' export const isGeolocationAvailable = (): boolean => { return Boolean('geolocation' in navigator) } type GeolocationStatus = 'allowed' | 'blocked' export interface Geolocation { latitude: number | undefined longitude: number | undefined } export const useGeolocation...
import { Injectable } from '@angular/core'; import { Router } from '@angular/router'; import { Actions, Effect, ofType } from '@ngrx/effects'; import { Action, Store } from '@ngrx/store'; import { Observable, of as observableOf, EMPTY, of, empty } from 'rxjs'; import { catchError, map, startWith, switchMap, tap, exhaus...
import { DI, IContainer, IRegistry, Profiler, Registration } from '@aurelia/kernel'; import { IDOM, ILifecycle, IObserverLocator, IProjectorLocator, IRenderer, IRenderingEngine, ITemplateCompiler } from '@aurelia/runtime'; import { HTMLDOM } from '@aurelia/runtime-html'; import { padLeft } from ...
/*! * 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...
import { Widget } from '@lumino/widgets'; import { CodeEditor, CodeEditorWrapper } from '@jupyterlab/codeeditor'; import { ICellModel } from './model'; /** **************************************************************************** * InputArea *************************************************************************...
export const version = "bytes/5.0.37";
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
<TS language="bg_BG" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Клик с десен бутон на мишката за промяна на адрес или етикет</translation> </message> <message> <source>Create a new address</so...
// import express, { Router, Request, Response } from 'express'; // import { authMiddleware } from '../../middleware/auth'; // import { check, Result, ValidationError, validationResult } from 'express-validator'; // import { ListGroupBaseModel } from '../../../models/listGroups/ListGroupBaseModel'; // import { PERM_GRO...
import { Math as OtMath } from "@ot-builder/ot-layout"; import { TestOtlLoop } from "./-shared-test-loop.test"; test("Math - Constants", () => { for (const { otl } of TestOtlLoop("Asana-Math.otf")) { const { math } = otl; if (!math) fail("MATH not present"); expect(math.constants?.scriptPe...
import { getSelectionSet } from "../helpers" import { FieldNode } from "graphql" describe("getSelectionSet()", () => { it("returns a flat SelectionSet with selected fields", () => { const selections = { id: true, name: true } const ast = getSelectionSet(selections) ...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { LoginComponent } from './login/login.component'; import { AuthGuard } from './shared/guard/auth.guard'; import { ChangePasswordComponent } from './login/change-password/change-password.component'; const routes: R...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="lv_LV"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Healthsource</source> <translation type="unfini...
import { Field, ObjectType } from '@nestjs/graphql'; import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn, } from 'typeorm'; @Entity({ name: 'todos' }) @ObjectType() export class Todo { @PrimaryGeneratedColumn('uuid') @Field() id: string; @Column() @Field() name: s...
export * from './cluster'; // ALIYUN::MSE Resources: export * from './mse.generated';
import { getFilesToLint } from './file-utils'; import { Schema } from '../schema'; import { CLIEngine } from 'eslint'; /** * Copied from @angular-eslint/builder source */ export async function loadESLint() { let eslint; try { eslint = await import('eslint'); return eslint; } catch { throw new Erro...
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import { lucidClassNames } from '../../util/style-helpers'; import { findTypes, getFirst, StandardProps } from '../../util/component-types'; import { buildModernHybridComponent } from '../../util/state-management'; import * as reduce...
import { MongoObservable } from "meteor-rxjs"; import { Pest } from "../models/pest.model"; export const PestCollection = new MongoObservable.Collection<Pest>("pest-collection");
import { LookupData } from './lookup-data.model'; import { FieldTypes } from './field-type.model'; export class DataColumn { constructor( public fieldName: string = '', public label: string = '', public dataType: FieldTypes = FieldTypes.String, public lookupData: LookupData = new Lo...
function SaveAsIcon(props: React.SVGProps<SVGSVGElement>) { return ( <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" {...props}> <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M17 16v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-7a2 2 0 012-2h2m3-4H9a2 2 0 ...
// Copyright 2020 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...
/* Generated code */ import PathSegment from '../PathSegment'; import Contacts from './Contacts'; import Federation from './Federation'; export default class Directory extends PathSegment { constructor(prv: PathSegment, id?: string, service?) { super('directory', id, prv, service); } /** * Internal identifier o...
import { EOL } from 'os'; import { Range, TextEditor } from 'vscode'; import { ArrayUtility } from '../common/arrayUtility'; import * as Constants from '../common/constants'; import { VariableProcessor } from './variableProcessor'; export interface RequestRangeOptions { ignoreCommentLine?: boolean; ignoreEmpty...
import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material'; import { Observable } from 'rxjs'; import {WOW} from 'wowjs/dist/wow.min' import { Intents } from '../intent'; import { TermComponent } from '../neo4j-term/neo4j-term.component'; import { Neo4jService } from '../services/n...
import React from 'react'; import { Divider } from '@material-ui/core'; import { useStyles } from './styles'; export const Footer = () => { const classes = useStyles(); return ( <div className={classes.root}> <span>guid.bbon.me</span> <Divider orientation="vertical" /> <span>bui...
import { readdirSync, readFileSync, writeFileSync } from "fs"; import { join, parse, normalize, dirname } from "path"; import { LocalizationStrings } from "../ui/localization/definition"; const basePath = "src/ui/localization/source"; const dir = readdirSync(basePath); for (const file of dir) { const path = join(b...
import * as http from 'http'; import { Server } from 'http'; import { HttpError } from 'http-errors'; import * as express from 'express'; import { Request, Response } from 'express'; import MOCK_POSTS from './model/mock-posts'; import { v4 as uuid4 } from 'uuid'; import { Post, IdType } from './model/post'; import { Ht...
import React, { PureComponent } from 'react'; import _ from 'lodash'; export interface Props { label: string; checked: boolean; className?: string; labelClass?: string; switchClass?: string; transparent?: boolean; onChange: (event?: React.SyntheticEvent<HTMLInputElement>) => void; } export interface Sta...
import React, { } from 'react'; import { SystemStyleObject, } from '@material-ui/system'; import { keyframes } from '@emotion/react'; import { Box } from '@material-ui/core'; const pulseKeyframe = keyframes` 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } `; interface Image...
import { query } from "~/queries/query"; export type FactionMemebersRow = { faction: 0 | 1 | 2; none_faction: number; total_member: number; }; export const queryFactionMemebers = () => { const statement = ` SELECT faction, count(*) - count(faction) as none_faction, count(faction) as total_member FROM \`fl...
import * as React from 'react'; const WarningIconSVG = (props: React.SVGProps<SVGSVGElement>) => { return ( <svg viewBox="64 64 896 896" focusable="false" data-icon="exclamation-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" {...props} ...
export * from './AppLayout' export { ScrollableDivWrapper } from './styles'
import React from 'react' const HandWithFingersSplayedMediumLightSkinTone = ({ size, rem }: { size: number | string, rem?: boolean }) => { const width = (typeof size === 'string') ? size : rem ? `${size}rem` : `${size}px` return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" style={{ width:...
import { IPropertyPaneField, IPropertyPaneCustomFieldProps } from '@microsoft/sp-webpart-base'; /** * @interface * Public properties of the PropertyFieldFontPicker custom field * */ export interface IPropertyFieldFontPickerProps { /** * @var * Property field label displayed on top */ label: s...
/** * 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...
import type { IApp, ExternalDeployment, Deployment } from "@hypertool/common"; import joi from "joi"; import { google, AppModel, DeploymentModel, BadRequestError, NotFoundError, } from "@hypertool/common"; import mongoose, { ClientSession } from "mongoose"; const runAsTransaction = async (callback...
import React from "react"; import { useRouting } from "@src/routes"; import { Header } from "./components/Header"; import { useSettings } from "@src/services/settings"; import { SettingsEditor } from "./components/SettingsEditor/SettingsEditor"; import "./Settings.scss"; export const SettingsPage: React.FC = () => { ...
/** * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright 2018 Google Inc. All rights reserved. * Modifications copyright (c) Microsoft Corporation. * * 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.or...
import { html, LitElement, TemplateResult, unsafeCSS } from "lit"; import { componentStyles, getLocale } from "~src/global"; import { defineComponent } from "~utils/components"; import scopedStyles from "./styles.scss"; import printIcon from "../../assets/icons/print.svg"; import { localized, msg } from "@lit/localize"...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
function solveNQueens(n: number): string[][] { const ret: string[][] = []; const pathToAns = (path: number[]): string[] => path.map((col) => new Array(n) .fill(".") .map((item, i) => (i === col - 1 ? "Q" : item)) .join("") ); const isValid = ( path: number[], col: num...
import { Test, TestingModule } from '@nestjs/testing'; import { VendorsResolver } from './vendors.resolver'; import { VendorsService } from './vendors.service'; describe('VendorsResolver', () => { let resolver: VendorsResolver; beforeEach(async () => { const module: TestingModule = await Test.createTestingMod...
import BinaryStream from '../../common/binarystream'; import IndexEntry from './indexentry'; import Reference from './reference'; /** * An animation validator. */ export default class Sts { version: number = -1; animIds: Reference = new Reference(); load(reader: BinaryStream, version: number, index: IndexEntr...
import React, { ChangeEvent, PureComponent } from 'react'; import deepEqual from 'deep-equal'; import { autoBindMethodsForReact } from 'class-autobind-decorator'; import { AUTOBIND_CFG } from '../../../common/constants'; import Modal, { ModalProps } from '../base/modal'; import ModalBody from '../base/modal-body'; impo...
import { Component, ElementRef, Input, OnDestroy, OnInit, ChangeDetectionStrategy } from '@angular/core'; import * as Clipboard from 'clipboard'; @Component({ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'rt-demo-copy-button', styleUrls: ['copy-button.component.scss'], template: ` ...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Framework Emulator Github: // https://github.com/Microsoft/BotFramwork-Emulator // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // ...
// 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 ...
import { Controller, UseGuards, Post, Request, Body } from '@nestjs/common'; import { ApiTags, ApiResponse } from '@nestjs/swagger'; import { AuthService } from './auth.service'; import { JwtAuthGuard } from './jwt-auth.guard'; import { UserDTO } from 'src/dto/user.dto'; @ApiTags('auth') @Controller('auth') export cla...
import { FORMS } from '../Types/forms'; function submitForm(data: any) { return { payload: data, type: FORMS.SUBMIT_FORM }; } function resetForm() { return { type: FORMS.RESET_FORM }; } export default { submitForm, resetForm };
import { Writable } from 'stream'; import { start } from '@tramvai/cli'; import type { PromiseType } from 'utility-types'; import waitOn from 'wait-on'; import { requestFactory, renderFactory } from '@tramvai/test-helpers'; import type { StartOptions } from './types'; import { getServerUrl, getStaticUrl } from './utils...
import { parseCss } from '../parse-css'; import { serializeCss } from '../serialize-css'; describe('css parse/serialize', () => { // Modified tests from Rework CSS // https://github.com/reworkcss/css/tree/master/test/cases // https://github.com/reworkcss/css/blob/master/LICENSE const tests = [ ['at-namesp...
/* eslint max-len: 0 */ import {input, isFlowEnabled, raise, state} from "../traverser/base"; import {unexpected} from "../traverser/util"; import {charCodes} from "../util/charcodes"; import {isIdentifierChar, isIdentifierStart} from "../util/identifier"; import {nonASCIIwhitespace} from "../util/whitespace"; import ...
import { CPagination } from './CPagination'; import { CPaginationItem } from './CPaginationItem'; import { CSmartPagination } from './CSmartPagination'; export { CPagination, CPaginationItem, CSmartPagination };
import { screen, render } from 'utils/test-utils'; import Logo from '.'; describe('<Logo />', () => { it('should render the logo with id passed', () => { const { container } = render(<Logo id="myId" />); expect(container.querySelector('#paint_linear_myId')).toBeInTheDocument(); }); it('should render a...
import { IUser } from '@cc98/api' import { GET, PUT, DELETE, POST } from '@/utils/fetch' import { memoize } from 'lodash-es' /** * @description 通过用户id获取用户信息 * @param {number} id 用户id */ export const getUserInfoById = memoize((id: string | number) => GET<IUser>(`user/${id}`)) /** * @description 通过用户名获取用户信息 * @pa...
/** * <p>An object that represents a resource that is under DDoS protection.</p> */ export interface _Protection { /** * <p>The unique identifier (ID) of the protection.</p> */ Id?: string; /** * <p>The friendly name of the protection. For example, <code>My CloudFront distributions</code>.</p> */ ...
import { Box, Button, Step, StepLabel, Stepper, Typography, useMediaQuery, useTheme } from '@material-ui/core' import React, { useEffect } from 'react' import { RootState, useStoreDispatch } from 'store' import { Theme, createStyles, makeStyles } from '@material-ui/core/styles' import { back, jump, next, reset, useStep...
import { useState } from "react"; import Input from "~components/Input"; const Position3 = ({ formData, setFormData, errs }) => { return ( <> <div className="mt-5 flex flex-col gap-2"> <div className={`relative flex items-center ct-bg-muted p-3 rounded-lg ${ Object.keys(errs.p...
import { ACMPCAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMPCAClient"; import { ListPermissionsRequest, ListPermissionsResponse } from "../models/models_0"; import { deserializeAws_json1_1ListPermissionsCommand, serializeAws_json1_1ListPermissionsCommand, } from "../protocols/Aws_json1...
import { OccConfig } from '../../occ/config/occ-config'; import { Injectable } from '@angular/core'; import { Config } from '../../config/config.module'; @Injectable({ providedIn: 'root', useExisting: Config, }) export abstract class AnonymousConsentsConfig extends OccConfig { anonymousConsents?: { /** ...
// // Copyright (c) Microsoft Corporation. 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 ...
import Service from '@ember/service'; import { inject as service } from '@ember/service'; import Metrics, { IAdapterOptions } from 'ember-metrics'; import CurrentUser from '@datahub/shared/services/current-user'; import { ITrackingConfig } from '@datahub/shared/types/configurator/tracking'; import { ITrackSiteSearchPar...
import { BufReader, BufWriter } from "../../deps.ts"; import { decoder, encoder } from "../../utils/clientUtil.ts"; import { EOFError, ErrorReplyError, InvalidStateError } from "./errors.ts"; /** * @see https://redis.io/topics/protocol */ /** * @description Represents the **simple string** type in the RESP2 protoc...
/// <reference path='fourslash.ts'/> // Valid References for a label /////*1*/label: while (true) { //// if (false) break /*2*/label; //// if (true) continue /*3*/label; ////} //// /////*4*/label: while (false) { } ////var label = "label"; goTo.marker("1"); verify.referencesCountIs(3); goTo.marker("2"); verif...
import S, {InitialValueTemplateItem} from '@sanity/base/structure-builder' import classNames from 'classnames' import {negate} from 'lodash' import {MenuButton} from 'part:@sanity/components/menu-button' import Menu from 'part:@sanity/components/menus/default' import IconMoreVert from 'part:@sanity/base/more-vert-icon'...
export const Moves: {[k: string]: ModdedMoveData} = { baddybad: { inherit: true, isNonstandard: undefined, }, bouncybubble: { inherit: true, isNonstandard: undefined, }, buzzybuzz: { inherit: true, isNonstandard: undefined, }, freezyfrost: { inherit: true, isNonstandard: undefined, }, glitzyglo...
import CommentsSvg from '../../../../svg/CommentsSvg.js'; const Help = () => { return ( <li className="help-button"> <div className="wrap"> <span className="nav-icon"> <CommentsSvg /> </span> <span className="icon_label">Help</span> </div> </li> ); }; export d...
import { Image } from './image.interface'; import { ImageDimension } from './image-dimension.interface'; import { Comment } from './comment.interface'; import { Emotion } from './emotion.interface'; export interface BestOf { readonly id?: string; readonly slug: string; readonly images: Image[]; readonly imageD...
export interface Target { _declaration: Declaration; _comment: string; Project: Project; } export interface Project { _attributes: ProjectAttributes; PropertyGroup: PropertyGroup[]; UsingTask: UsingTask[]; ItemGroup: ProjectItemGroup; _comment: string[]; Target: TargetElement[]; } export interface P...
import { Component, Input, Output, OnInit, OnDestroy, EventEmitter } from '@angular/core'; import { DataService } from '../../services/data.service' import { SharedService } from '../../services/shared.service' import { Ticket } from '....
import { ViewEntity, ViewColumn } from 'typeorm'; /** * Comments in this file were automatically generated from Postgres files */ @ViewEntity({ schema: 'pg_catalog', name: 'pg_db_role_setting', synchronize: false, }) export class PgDbRoleSetting { @ViewColumn({ name: 'setdatabase' }) public readonly setdata...
import { BusinessRule } from '@krater/building-blocks'; export class PostTitleMustBeValid implements BusinessRule { message = 'Provided title is not valid. Provide at least 3 characters.'; constructor(private readonly title: string | null) {} public isBroken(): boolean { return this.title.trim().length < 3...
import { Money } from "./Money"; export interface ServiceOptionInsurance { type: 'insurance', insured_value: Money };
/* © 2020 NetSuite Inc. User may not copy, modify, distribute, or re-bundle or otherwise make available this code; provided, however, if you are an authorized user with a NetSuite account or log-in, you may use this code subject to the terms that govern your access and use. */ ///<amd-module name="dexie"/> declare...
import { Component, ElementRef, OnDestroy, Renderer2, ViewChild, OnInit } from '@angular/core'; import { CdkOverlayOrigin, ConnectionPositionPair } from '@angular/cdk/overlay'; import { dropdownMotion } from 'ng-element-ui/core/animation'; import { TriggerType, SizeType } from './dropdown.directive'; import { NelDropdo...
import { Expense } from './expense.model'; export class Expenses { data: Array<Expense>; count: number; }
/* Copyright Contributors to the Open Cluster Management project */ import { makeStyles } from '@material-ui/styles' import { Cluster, ClusterProvision, ClusterStatus, ConfigMap, getHivePod, getLatest } from '../../../../../resources' import { AcmAlert, AcmButton } from '@open-cluster-management/ui-components' import ...
import { UMaterialInterface } from "./UMaterialInterface"; import { FName } from "../../../objects/uobject/FName"; import { FGuid } from "../../../objects/core/misc/Guid"; import { FLinearColor } from "../../../objects/core/math/FColor"; import { Lazy } from "../../../../util/Lazy"; import { UTexture } from "../tex/UTe...
import { Controller, UseGuards, UseInterceptors } from "@nestjs/common"; import { Post, Get, Headers, Body, Query } from '@nestjs/common'; import { VkInitDto } from "src/app.service"; import { AuthGuard } from "src/guards/AuthGuard"; import { FormatResponse } from "src/interceptors/FormatResponse"; import { ReviewDto }...
import { makeExecutableSchema } from '@graphql-tools/schema'; import fs from 'fs'; import path from 'path'; const CLIENT_SCHEMA_FILE = '../../packages/admin-ui/src/lib/core/src/data/client-state/client-types.graphql'; const LANGUAGE_CODE_FILE = '../../packages/core/src/api/schema/common/language-code.graphql'; const A...
import { Utils } from '../Utils/Utils'; import { LogType } from '../Enums/LogType'; import Guild from '../Objects/Guild'; const { Model } = require('objection'); export default class LogModel extends Model { static get tableName() { return 'log'; } public static async New(guild: Guild, logType?:...
import { ToastrService } from 'ngx-toastr'; import { GraficoService } from './services/grafico.service'; import { Component, OnDestroy, OnInit } from '@angular/core'; import { InfoChartViewModel, VendaMes } from './models/home.model'; import { Router } from '@angular/router'; import { interval, Subscription } from 'rxj...
import { createNodeRedisClient } from "../../../src"; import { fuzzify } from "../../fuzzify"; const client = createNodeRedisClient(); beforeAll(async () => { await client.ping(); }); beforeEach(async () => { await client.flushall(); }); test("docs/redis-doc/commands/setrange.md example 1", async () => { ...
import React, { useCallback, useRef } from 'react'; import { FiLogIn, FiMail, FiLock } from 'react-icons/fi'; import { Form } from '@unform/web'; import { FormHandles } from '@unform/core'; import * as Yup from 'yup'; import { Link, useHistory } from 'react-router-dom'; import { useAuth } from '../../hooks/auth'; impo...
import { cssClass } from '../styled'; import { borderRadius, palette, theme } from '../utils'; export const Key = (styleProps) => cssClass` box-sizing: border-box; display: inline; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: ${palette('default')(styleProps)}; font-size: 0.875em; border...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About TipaulCoin</source> <translation>Sobre o TipaulCoin</translation> </message> <message> ...
<TS language="mk_MK" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Десен клик за уредување на адреса или етикета</translation> </message> <message> <source>Create a new address</source> <...
import styled from "styled-components"; type ICommonCSS = "inherit" | "initial" | "unset"; type IFlexDirection = | ICommonCSS | "colum" | "column-revers" | "row" | "row-reverse"; type IFlexWrap = "nowrap" | "unset" | "wrap" | "wrap-reverse"; type IFlexAlignItems = | ICommonCSS | "center"...
import React from "react"; import { Lobby } from "../../shared"; import { Translation, S } from "../../etc"; import Button from "../basic/Button"; type Props = { t: Translation; send: S; lobbies: Array<Lobby>; }; export default ({ t, send, lobbies }: Props) => ( <div className="LobbyChoosing"> <h1>{t.lobb...