text stringlengths 10 953k |
|---|
/**
* @file CompassOne 指南针
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime';
export default IconWrapper(
'compass-one',
true,
(h: IconHelper, props: ISvgIconProps) => (
<s... |
import { ThemeActions, IThemeState } from './types';
const initialState: IThemeState = {
current: 'light',
};
const themeReducer = (state = initialState, action: ThemeActions): IThemeState => {
switch (action.type) {
case 'SET_THEME':
return { ...state, current: action.payload };
case 'RESET_THEME':... |
/* eslint-disable @typescript-eslint/no-explicit-any */
// Type definitions for mariadb 2.5
// Project: https://github.com/mariadb-corporation/mariadb-connector-nodejs
// Definitions by: Diego Dupin <https://github.com/rusher>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../../types";
import * as utilities from "../../utilities";
/*... |
import React, { useState } from 'react'
import { useLocationService } from '../../contexts/LocationServiceContext'
import { useAuth } from '../../hooks/useAuth'
import type { UserInfo } from '../../models/Models'
import { fetchAdminGreeting } from '../../utils/api'
import { errorMessage } from '../../utils/message'
imp... |
import { ResourceProvider } from './ResourceContext';
import React from 'react';
export const CollectionContext: React.FC<{ collection: string }> = ({ collection, children }) => {
return <ResourceProvider value={{ collection }}>{children}</ResourceProvider>;
}; |
export const transformData = (data) => {
let transformedData = [];
const features = data;
if (features && features.length > 0) {
transformedData = features.map((feature) => {
return {
...feature,
tooltipContent: feature.name || feature.accession,
... |
import { IProcessedStyleSet } from '@uifabric/merge-styles';
import { IStyleFunction } from '@uifabric/merge-styles';
import { IStyleFunctionOrObject } from '@uifabric/merge-styles';
import { IStyleSet } from '@uifabric/merge-styles';
import { Omit } from '@uifabric/merge-styles';
import * as React from 'react';
/**
... |
<TS language="ru" 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</sourc... |
/**
* 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 { faFileAudio } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { useState, useEffect } from "react";
import { Alert, ButtonGroup, Dropdown, Table } from "react-bootstrap";
import { Profile, ProfileVoiceType, Region, Entity, Servant, CraftEssenc... |
/*!
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project.
*/
export * from './UploadView' |
import {Component, ElementRef, Input, ViewChild} from '@angular/core';
import {
FilterType,
RegisteredServiceMappedRegexAttributeFilter,
RegisteredServiceMutantRegexAttributeFilter,
RegisteredServiceRegexAttributeFilter, RegisteredServiceReverseMappedRegexAttributeFilter,
RegisteredServiceScriptedAttributeFil... |
import { RouterModule, Routes } from '@angular/router';
import { AuthGuard } from '../core/guards/auth.guard';
import { MessagesByUserComponent } from '../message/messages-by-user/messages-by-user.component';
import { ChangePasswordComponent } from './change-password/change-password.component';
import { LoginComponent ... |
import { Component, OnInit,ElementRef } from '@angular/core';
import { ActivatedRoute, Params,Router } from '@angular/router';
import { Profile } from './../../service/formData.model';
import { FormDataService } from './../../service/formData.service';
@Component({
selector: 'app-addprofile',
templat... |
import * as React from 'react';
import { IMenuItem, OperationModel } from '../../services';
export interface MenuItemProps {
item: IMenuItem;
onActivate?: (item: IMenuItem) => void;
withoutChildren?: boolean;
}
export declare class MenuItem extends React.Component<MenuItemProps> {
ref: Element | null;
... |
<TS language="es_MX" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Click derecho para editar tu dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {HerramientasComponent } from './herramientas.component';
const routes: Routes = [
{ path: '', component: HerramientasComponent },
{ path: 'tipo/:tipo', component: HerramientasComponent },
];
@NgModule(... |
import { getKBHelpArticle, KB_HELP_ARTICLE, ROUTE_PATHS, WALLETS_CONFIG } from '@config';
import { BusyBottomConfig, WalletId } from '@types';
import { getWeb3Config } from '@utils';
const web3Config = getWeb3Config();
const SUPPORT_LINK = {
copy: 'BUSY_BOTTOM_SUPPORT',
link: 'https://discord.com/invite/ubiq',
... |
/*
* 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 { EuiSpacer } from '@elastic/eui';
import React, { useCallback } from ... |
import { serve as stdServe, serveTLS, Server as StdServer } from 'https://deno.land/std@0.94.0/http/server.ts'
import log from '../shared/log.ts'
import type { ServerRequest } from '../types.ts'
import { Application } from './app.ts'
import compress from './compress.ts'
import { Server } from './server.ts'
/** Options... |
import { BigNumber } from '@0xproject/utils';
import ethUtil = require('ethereumjs-util');
import * as _ from 'lodash';
import { crypto } from './crypto';
import { EIP712Schema } from './types';
const EIP191_PREFIX = '\x19\x01';
const EIP712_DOMAIN_NAME = '0x Protocol';
const EIP712_DOMAIN_VERSION = '2';
const EIP712... |
/// <reference path='fourslash.ts' />
////class Base{
////}
////class C extends Base{
//// constructor() {[|
//// |]}
////}
verify.rangeAfterCodeFix(`
super();
`, /*includeWhitespace*/ true); |
/**
* Perun RPC API
* Perun Remote Procedure Calls Application Programming Interface
*
* The version of the OpenAPI document: 3.10.0
* Contact: perun@cesnet.cz
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class ... |
import { SSMClient } from "./SSMClient";
import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
import { CancelCommandCommandInput, CancelCommandCommandOutput } from "./commands/CancelCommandCommand";
import { CancelMaintenanceWindowExecutionCommandInput, Ca... |
import { html, PropertyValues, TemplateResult, element, property, MathBorderType } from './mathml-element.js';
import { MathTableBaseElement } from './mtable-base.js';
@element('math-table')
export class MathTableElement extends MathTableBaseElement {
@property({ type: String }) columnlines?: MathBorderType = 'none'... |
import { FileBasedProblemBase } from "../common/problemBase";
// const inputFile = 'example.txt';
const inputFile = 'problem.txt';
const inputPath = `${__dirname}/${inputFile}`;
const spawnInterval = 0;
const newlySpawnedInitialInterval = 8;
const postSpawnResetInterval = 6;
export class Solution extends FileBasedP... |
import { EventListener, IEngine, Module } from '@gamerig/core';
import { WebGLRenderer } from './renderer/WebGLRenderer';
import { RenderingOptions as RenderingOptions } from './RenderingOptions';
import { ScenePlugin } from './scene/ScenePlugin';
import { RenderingSystem } from './system/RenderingSystem';
export cla... |
/**
* @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 { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comp-1343',
templateUrl: './comp... |
declare enum E1 {
y = 4.23
}
// Ambient enum with computer member
declare enum E2 {
x = 'foo'.length
} |
import { Camera, World } from '@antv/g-webgpu';
import {
ICamera,
IDENTIFIER,
IInteractorEvent,
IRendererService,
IView,
Ray,
RendererSystem,
} from '@antv/g-webgpu-core';
import EventEmitter from 'eventemitter3';
import { mat4, vec3 } from 'gl-matrix';
import { Container } from 'inversify';
import { Inte... |
import {Component, OnInit, ViewChild, ElementRef, AfterViewInit} from '@angular/core';
import {MenuItem} from "primeng/primeng";
import {Menu} from "primeng/components/menu/menu";
import {ActivatedRoute, Router} from "@angular/router";
declare var jQuery :any;
@Component({
selector: 'app-root',
templateUrl: './ap... |
import { Injectable } from '@nestjs/common';
import axios from 'axios';
import { AllGitHubCommitsOutput } from 'src/modules/github/dtos/all-github-commits.api.output';
@Injectable()
export class GetAllCommits {
async byRepo(repo: string): Promise<AllGitHubCommitsOutput[]> {
const url = `https://api.github.com/re... |
import { Keys } from '@ephox/agar';
import { beforeEach, context, describe, it } from '@ephox/bedrock-client';
import { TinyAssertions, TinyContentActions, TinyHooks, TinySelections } from '@ephox/wrap-mcagar';
import Editor from 'tinymce/core/api/Editor';
import Theme from 'tinymce/themes/silver/Theme';
describe('br... |
/* tslint:disable:no-unused-variable */
import { async, ComponentFixture, TestBed } from "@angular/core/testing";
import { ProductListComponent } from "./product-list.component";
import { SharedModule } from "src/app/shared/shared.module";
import { ProductRoutingModule } from "../../product-routing.module";
import { P... |
module Rx {
export class Plan<T> { }
} |
import React from 'react'
import { Button, Card, Form, Input, message } from 'antd'
import type { IFormSchema } from '@antv/xflow'
import { useXFlowApp, WorkspacePanel, MODELS, useModelAsync, FormBuilder } from '@antv/xflow'
import type { NsNodeCmd } from '@antv/xflow'
import { XFlowNodeCommands } from '@antv/xflow'
e... |
import { h, Component } from 'preact';
import { route } from 'preact-router';
import { Building } from '../../models/building';
import firebaseInstance from '../../services/firebase-service';
import zipServiceInstance from '../../services/zip-service';
import styles from './AddEditBuilding.module.scss';
export interfa... |
import * as React from 'react';
import Collapse, { Panel } from '../src';
import motion from './_util/motionUtil';
import '../assets/index.less';
const text = `
A dog is a type of domesticated animal.
Known for its loyalty and faithfulness,
it can be found as a welcome guest in many households across the world.
... |
import './graph';
import './series_overrides_ctrl';
import './thresholds_form';
import './time_regions_form';
import template from './template';
import _ from 'lodash';
import { MetricsPanelCtrl } from 'app/plugins/sdk';
import { DataProcessor } from './data_processor';
import { axesEditorComponent } from './axes_edi... |
import { NextFunction, Request, Response } from 'express';
import AbstractEndpoint from './oicp-services-impl/AbstractEndpoint';
import AppAuthError from '../../exception/AppAuthError';
import AppError from '../../exception/AppError';
import Constants from '../../utils/Constants';
import { HTTPError } from '../../type... |
import * as React from "react"
import Layout from "../components/layout"
import Seo from "../components/seo"
import Counter from "../counter/counter"
import tw from "twin.macro"
import Home from "../assets/home.inline.svg"
import Signature from "../assets/signature.inline.svg"
const CounterContainer = tw.div`flex fl... |
/*
* 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 ... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { CategoriasComponent } from './categorias.component';
const routes: Routes = [
{
path: '',
component: CategoriasComponent,
data: {
title: 'Categorías'
}
}
];
@NgModule({
imports: [Rou... |
import {
declared,
property,
subclass
} from "esri/core/accessorSupport/decorators";
import Accessor from "esri/core/Accessor";
import { ApplicationConfig } from "ApplicationBase/interfaces";
@subclass("app.ConfigurationSettings")
class ConfigurationSettings extends (Accessor) {
@property()
webmap... |
import React from 'react';
import {View, Text, StyleSheet, FlatList} from 'react-native';
// type RouteMapScreenNavigationProps = StackNavigationProp<
// HomeStackParamList,
// HomeScreens.RouteMap
// >;
interface RouteMapScreenProps {
// navigation: RouteMapScreenNavigationProps;
route: any;
busNumber: any... |
import { SecureRandom } from '@util'
export type AES_GCM_SealedBoxProps = Readonly<{
authTag: Buffer
ciphertext: Buffer
nonce: Buffer
}>
export type AES_GCM_SealedBoxT = AES_GCM_SealedBoxProps &
Readonly<{
combined: () => Buffer
equals: (other: AES_GCM_SealedBoxT) => boolean
}>
export type AES_GCM_... |
export class Note{
id:String
} |
import {_PullRequestCreatedEventMetadata} from './_PullRequestCreatedEventMetadata';
import {_PullRequestStatusChangedEventMetadata} from './_PullRequestStatusChangedEventMetadata';
import {_PullRequestSourceReferenceUpdatedEventMetadata} from './_PullRequestSourceReferenceUpdatedEventMetadata';
import {_PullRequestMer... |
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
import { Document } from 'mongoose';
export type DepartmentDocument = Department & Document;
@Schema({ timestamps: true })
export class Department {
@Prop()
name: string;
@Prop()
officephone: string;
@Prop()
manager: string;
}
export const... |
import pkg from 'jsonwebtoken';
const {verify} = pkg;
import { loadProfileForUser } from '$lib/models/Profiles';
import { loadSubscription } from '$lib/services/stripe';
import { secret } from '$lib/services/secrets';
/** @type {import('@sveltejs/kit').RequestHandler} */
export async function get({request}) {
cons... |
import { ILogger, LogLevel } from "./api";
export const NULL_LOGGER: ILogger = Object.freeze({
level: LogLevel.NONE,
fine() {},
debug() {},
info() {},
warn() {},
severe() {}
});
export class ConsoleLogger implements ILogger {
id: string;
level: LogLevel;
constructor(id: string, le... |
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
import { FunctionalComponent } from 'vue';
import CameraTwoToneSvg from '@ant-design/icons-svg/lib/asn/CameraTwoTone';
import AntdIcon, { AntdIconProps } from '../components/AntdIcon';
export interface CameraTwoToneIconType extends FunctionalComponent<A... |
/* !
* Copyright 2020 Palantir Technologies, Inc. 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 r... |
import * as Immutable from 'immutable';
import React, { useState } from 'react';
import isHotkey from 'is-hotkey';
import {
ResourceContent,
ActivityPurposes,
ContentPurposes,
ResourceContext,
} from 'data/content/resource';
import { ActivityEditContext } from 'data/content/activity';
import { ActivityEditorMap... |
import { VALUE_FORMAT_TYPES } from '../types';
import getStartValue from './getStartValue';
const valueItems = [
{
'salario.competencia': '01/01/2012',
'salario.valor': 1000
},
{
'salario.competencia': '01/03/2012',
'salario.valor': 1002
},
{
'salario.competencia': '01/04/2012',
'sala... |
import { PersonalInformation, UserMetadata } from "../../interfaces";
import AvatarOverlap from "../AppImage/AvatarOverlap";
import cx from "classnames";
import { getUserProfileLink } from "../../utils/generalFunctions";
import { Link } from "react-router-dom";
type Props = {
searchedUsers: [string, { pinfo: Persona... |
import * as React from 'react';
import {classNames, variationName} from '@shopify/react-utilities/styles';
import {HeadingTagName} from '../../types';
import * as styles from './DisplayText.scss';
export type Size = 'small' | 'medium' | 'large' | 'extraLarge';
export interface Props {
/**
* Name of element to us... |
// /src/maps/badge/materialiconsoutlined/24px.svg
import { createSvgIcon } from './createSvgIcon';
export const SvgBadgeOutlined = createSvgIcon(
`<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24">
<g>
<rect fill="none" height="24" width="2... |
export interface IFilesService {
exists(filePath: string): Promise<boolean>;
isFile(filePath: string): Promise<boolean>;
readAllLines(filePath: string): Promise<string[]>;
} |
import { ObjectID } from "mongodb";
import { Overwrite } from "tsrpc";
import { Post } from "../../shared/protocols/models/Post";
export type DbPost = Overwrite<Post, {
_id: ObjectID
}> |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { Snaps... |
import React, { ReactElement } from 'react';
import { Platform, UIManager, Keyboard } from 'react-native';
import ReactNative, { I18nManager } from 'react-native';
import type {
PagerViewOnPageScrollEvent,
PagerViewOnPageSelectedEvent,
PageScrollStateChangedNativeEvent,
PagerViewProps,
} from './types';
import... |
import {Buffer} from 'buffer';
import * as BufferLayout from '@gemachain/buffer-layout';
import * as Layout from './layout';
/**
* @internal
*/
export type InstructionType = {
/** The Instruction index (from gemachain upstream program) */
index: number;
/** The BufferLayout to use to build data */
layout: B... |
// Represents data structures used in the JS part of the codebase
// These are reflections of the data format used to persist the puzzles
export type FEN = string
export type UciMove = string
export interface InitialMove {
san: string,
uci: UciMove,
}
export interface PuzzleLines {
[uciMove: string]: PuzzleLi... |
import * as path from 'path';
import { format } from 'util';
import * as cxapi from '@aws-cdk/cx-api';
import * as colors from 'colors/safe';
import * as fs from 'fs-extra';
import * as promptly from 'promptly';
import { environmentsFromDescriptors, globEnvironmentsFromStacks, looksLikeGlob } from '../lib/api/cxapp/env... |
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/map';
import 'rxjs/add/observable/throw';
import { AvailablePort } from '../../model/v1/available-port';
import { PageState } from '../../page/page-state';
import { isNot... |
import * as ts from 'typescript';
import * as util from '../util';
import { Mutator } from './Mutator';
export class BinaryExpressionMutator extends Mutator {
protected kind = ts.SyntaxKind.BinaryExpression;
private assignmentOperators: ts.AssignmentOperator[] = [
ts.SyntaxKind.EqualsToken,
ts.SyntaxKind... |
/**
* @license
* Copyright Google LLC 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 {SchematicsException, Tree} from '@angular-devkit/schematics';
import * as ts from 'typescript';
/**
* Wheth... |
export * from './accident.component'; |
// Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this f... |
export class Facet {
name: string;
tags: Array<Tag>;
constructor(name: string, tags: Array<Tag>) {
this.name = name;
this.tags = tags;
}
}
export class Tag {
name: string;
count: number;
constructor(name: string) {
this.name = name;
this.count = 1;
}
} |
import { ApiResponse, FileWrapper, RequestOptions } from '../core';
import {
AcceptDisputeResponse,
acceptDisputeResponseSchema,
} from '../models/acceptDisputeResponse';
import {
CreateDisputeEvidenceFileRequest,
createDisputeEvidenceFileRequestSchema,
} from '../models/createDisputeEvidenceFileRequest';
impor... |
import { ConfirmBidValidTestQueryRawResponse } from "__generated__/ConfirmBidValidTestQuery.graphql"
import {
createCreditCardAndUpdatePhoneFailed,
createCreditCardAndUpdatePhoneSuccessful,
} from "../__fixtures__/MutationResults/createCreditCardAndUpdatePhone"
jest.mock("Apps/Auction/Routes/ConfirmBid/BidderPosit... |
import { gql } from "@apollo/client";
export const GET_USER_INFO_FROM_MESSAGE = gql`
query MessageUserInfo (
$fromId : String!,
$fromOrganizationId : String!,
$content: String!
$type: MessageType!)
{
getUserInfoFromMessage(
fromId : $from... |
import {
getModelMeta,
getModelRefMeta,
modelToJsonApi,
config,
CachingStrategy,
getModelLinks,
} from '@datx/jsonapi';
import { setRequest, setupNetwork, confirmNetwork } from '../utils/api';
import { Event, TestStore } from '../utils/setup';
import { switchMap } from 'rxjs/operators';
import { Response, ... |
// Copyright 2017-2019 @polkadot/ui-keyring authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import Transport from '@ledgerhq/hw-transport';
export type LedgerTypes = 'hid' | 'u2f' | 'webusb';
export interface Ledg... |
import fs from 'fs';
import { IncomingMessage } from 'http';
import https from 'https';
import { Message, MessageAttachment } from 'discord.js';
import localize from '@util/i18n/localize';
import BaseDownloader from './BaseDownloader';
import AttachmentValidator from './validator/AttachmentValidator';
export default... |
import styled from "styled-components";
interface HeaderProps {
position?: "left" | "center" | "right";
margin?: string;
}
const Header = styled.h4<HeaderProps>`
color: blue;
text-transform: uppercase;
font-weight: 600;
text-align: ${(props) => (props.position ? props.position : "center")};
margin: ${(p... |
import {
Entity,
Column,
PrimaryGeneratedColumn,
CreateDateColumn,
UpdateDateColumn,
} from 'typeorm';
@Entity('users')
class User {
@PrimaryGeneratedColumn('uuid')
id: string;
@Column()
name: string;
@Column()
email: string;
@Column()
password: string;
@Column()
profile_picture: stri... |
import {Component,OnInit} from '@angular/core';
import {Car} from '../../components/domain/car';
import {CarService} from '../../service/carservice';
@Component({
templateUrl: './inplacedemo.html'
})
export class InplaceDemo implements OnInit {
cars: Car[];
constructor(private carService: CarServ... |
/**
* Copyright 2018, OpenCensus Authors
*
* 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 a... |
import { injectable, inject } from 'tsyringe';
import path from 'path';
import AppError from '@shared/errors/AppError';
import IMailProvider from '@shared/container/providers/MailProvider/models/IMailProvider';
import IUsersRepository from '@modules/users/repositories/IUsersRepository';
import IUserTokensRepository fro... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomePage } from './home.page';
import { UserGuard } from 'src/app/UserGuard/auth.guard';
const routes: Routes = [
{
path: '',
component: HomePage,
canActivate: [UserGuard]
}
];
@NgModule({
imp... |
/// <reference path="../../extensions/stringExtensions.ts" />
/// <reference path="../../config/config.ts" />
/// <reference path="../interfaces/directives/IDirective.ts" />
/// <reference path="../interfaces/services/localization/ILocalizationService.ts" />
/// <reference path="../interfaces/services/state/IEntityMeta... |
export interface WebUiLibsSchematicSchema {
appName: string
name: string
tags?: string
library?: 'bootstrap' | 'tailwind'
directory?: string
} |
import { OrderDraftListUrlSortField } from "@saleor/orders/urls";
import { PaginatorContextDecorator } from "@saleor/storybook/PaginatorContextDecorator";
import { storiesOf } from "@storybook/react";
import React from "react";
import {
filterPageProps,
limits,
limitsReached,
listActionsProps,
pageListProps,... |
export const clinicalStatements = {
AdmissionMedication: '2.16.840.1.113883.10.20.22.4.36',
AdvanceDirectiveObservation: '2.16.840.1.113883.10.20.22.4.48',
AgeObservation: '2.16.840.1.113883.10.20.22.4.31',
AllergyObservation: '2.16.840.1.113883.10.20.22.4.7',
AllergyProblemAct: '2.16.840.1.113883.10.20.22.4.... |
import { ParsedArgs } from 'minimist';
import { HelpTopic } from '../helpTopic';
import { Work } from '../property';
import { SyncCommand } from './types';
export class WorkCommand extends SyncCommand {
private work: Array<Work>;
public name: string = 'work';
public description: string = 'shows work exp... |
/**
* ID: 00788
* Title: Rotated Digits
* Difficulty: Medium
* Description: An integer x is a good if after rotating each digit individually by 180 degrees, we get a valid number that is different from x. Each digit must be rotated - we cannot choose to leave it alone.
*
* A number is valid if each digit rema... |
import { IDiscordEmoji } from '../../common/types';
import User from '../User/User';
export default class Emoji {
// 🥳 👨🏻💻 🦋 ✨
public Name: string;
public id: string;
public Roles?: string[];
public User?: User;
public RequireColons?: boolean;
public Managed?: boolean;
public Animated?: boolean... |
import { AggregateRoot } from '@shared/core/domain/aggregate-root'
import { Identifier } from '@shared/core/domain/identifier'
import { Violation } from '@shared/core/errors/violation'
import { Guard } from '@shared/core/logic/guard'
import { Either, right, left } from '@shared/core/logic/either'
import { RequiredViol... |
import {Router} from 'express';
import {createHash} from 'crypto';
import * as uuid from 'uuid/v4';
import {Observable, from, forkJoin, of as ObservableOf, throwError} from 'rxjs';
import {flatMap, map} from 'rxjs/operators';
import {Config} from '../models/config';
const COOKIE_OPTIONS = {
path: '/',
httpOnly... |
<TS language="he" 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>
... |
/* tslint:disable:no-duplicate-string new-parens */
import {resolveAsync} from '../../../../../../../../main/common/async/ThenableSync'
import {VALUE_PROPERTY_DEFAULT} from '../../../../../../../../main/common/helpers/value-property'
import {
ALWAYS_CHANGE_VALUE,
getCallState,
invalidateCallState,
} from '../../../.... |
import {
CompletionItemProvider,
TextDocument,
Position,
ProviderResult,
CompletionItem,
CompletionList,
Range,
workspace,
Uri,
window,
FileSystemWatcher,
FileType
} from 'vscode';
import { EntityType, FshDefinitionProvider } from './FshDefinitionProvider';
import YAML from 'yaml';
import path f... |
/**
* @def: i18nfile
* note, the def section marks this file as i18n file
* so that the parser can clearly start to parse here
*/
export const language = {
test3: {
test4: "booga",
test: "testString_xx",
testy: `testString_xx
booga `,
testx: () => {alert("bla");}
... |
import { Component, OnInit } from '@angular/core';
import { CourseService } from 'src/app/courses-manager/services/course.service';
import { Course } from 'src/app/courses-manager/models/course';
@Component({
selector: 'app-cards',
templateUrl: './cards.component.html',
styleUrls: ['./cards.component.css']
})
ex... |
import OAuthComplete from './oauth-complete.component';
export default OAuthComplete; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.