text stringlengths 10 953k |
|---|
/*
* Project: ZilPay-wallet
* Author: Rinat(lich666dead)
* -----
* Modified By: the developer formerly known as Rinat(lich666dead) at <lich666black@gmail.com>
* -----
* Copyright (c) 2020 ZilPay
*/
export * from './connect';
export * from './store'; |
import {
combineReducers,
StoreModule,
ActionReducer,
ActionReducerMap,
MetaReducer
} from "@ngrx/store";
import { compose } from "@ngrx/core/compose";
import { reducers, initialState } from "./reducers";
import { StoreConfig } from "@ngrx/store/src/store_module";
import { ModuleWithProviders } from... |
export {MigrationsStack} from './stack'; |
/**
* @module node-opcua-server
*/
// tslint:disable:no-console
// tslint:disable:max-line-length
// tslint:disable:unified-signatures
import * as async from "async";
import * as chalk from "chalk";
import * as crypto from "crypto";
import { EventEmitter } from "events";
import * as _ from "underscore";
import { call... |
export class Word {
id: string;
description: string;
categoryId: boolean;
clue: string;
userCreate: string;
creationDate: Date;
updateModify: Date;
} |
import {
Entity,
PrimaryGeneratedColumn,
Column,
BaseEntity,
CreateDateColumn,
UpdateDateColumn,
} from "typeorm";
@Entity("users")
export class User extends BaseEntity {
@PrimaryGeneratedColumn()
id!: number;
@Column({ unique: true })
userName: string;
// @Column({unique: true})
// email!: s... |
import * as ESTree from 'estree';
import { TNodeWithLexicalScope } from '../types/node/TNodeWithLexicalScope';
import { TNodeWithLexicalScopeStatements } from '../types/node/TNodeWithLexicalScopeStatements';
import { TNodeWithStatements } from '../types/node/TNodeWithStatements';
import { NodeType } from '../enums/no... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LayoutModule } from '@angular/cdk/layout';
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { FormsModule } from '@angular/forms';
import { MatButtonModule, MatCardModule } from '@angular/material';
import... |
import type { NextApiRequest } from 'next';
import { Server } from 'socket.io';
import type {
ClientToServerEvents,
NextApiResponseServerIO,
ServerToClientEvents
} from '../../utils/socket';
export default function handler(req: NextApiRequest, res: NextApiResponseServerIO) {
if (!res.socket.server.io) {
const io... |
/*
MIT License
Copyright (c) 2020 Looker Data Sciences, Inc.
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, modi... |
import { createDrawerNavigator } from '@react-navigation/drawer';
import React from 'react';
import { Bills } from '../screens/Bills/Bills';
import { Checkout } from '../screens/Checkout/Checkout';
import { Items } from '../screens/Items/Items';
import { Reports } from '../screens/Reports/Reports';
import { Settings } ... |
import path from 'path'
import {
createSimpleExpression,
ExpressionNode,
NodeTransform,
NodeTypes,
SourceLocation,
TransformContext
} from '@vue/compiler-core'
import {
isRelativeUrl,
parseUrl,
isExternalUrl,
isDataUrl
} from './templateUtils'
import { isArray } from '@vue/shared'
export interface ... |
import { Request } from '@tinkoff/request-core';
export default ({
httpMethod = 'GET',
url,
payload = '',
query = '',
rawQueryString = '',
additionalCacheKey = '',
}: Request) =>
httpMethod.toLowerCase() +
url +
JSON.stringify(payload) +
JSON.stringify(query) +
rawQueryStrin... |
import { applyMiddleware, createStore } from "redux";
import { composeWithDevTools } from "redux-devtools-extension";
import thunk from "redux-thunk";
import * as actionCreators from "../actions/counter";
import rootReducer from "../reducers";
const configureStore = () => {
const composeEnhancers = composeWithDevTo... |
import * as React from 'react';
import { get } from 'lodash';
import * as ReactGA from 'react-ga';
import { Subscription } from 'rxjs';
import { UISref } from '@uirouter/react';
import { Application } from 'core/application/application.model';
import { SETTINGS } from 'core/config';
import { IExecution, IPipeline } fr... |
import { createContext, useContext } from 'react';
import type { SpotlightAction } from './types';
export interface SpotlightContextProps {
/** Opens spotlight */
openSpotlight(): void;
/** Closes spotlight */
closeSpotlight(): void;
/** Toggles spotlight opened state */
toggleSpotlight(): void;
/** T... |
import { UnsavedChangesRouteGuard } from "./routing/unsavedChangesRouteGuard";
import { MapiObjectStorage } from "./persistence/mapiObjectStorage";
import { DefaultAuthenticator } from "./components/defaultAuthenticator";
import { AccessTokenRouteGuard } from "./routing/accessTokenRouteGuard";
import { IInjector, IInje... |
import { NgModule, ModuleWithProviders } from "@angular/core";
import { AuthenticationService } from "../_service/auth-service";
import { UserService } from "../_service/user/user-service"
import { AuthGuard } from "../_service/authguard-service"
import { DataService } from '../_service/dataconnect'
@NgModule({})
ex... |
import { AccessControl } from 'accesscontrol';
import { flatten, toPairs, values } from 'ramda';
import { AclPermission } from './AclPermission';
interface AclOptions {
getRoles(user: any): string[];
logger?: any;
ownerFunctions?: {
[key: string]: (user: any, resource: any) => boolean;
};
i... |
import MockRequest from './MockRequest';
export declare function formatError(msg: string, req: MockRequest, err?: Error): string; |
import Pagination from 'rc-pagination/lib/locale/sl_SI';
import DatePicker from '../date-picker/locale/sl_SI';
import TimePicker from '../time-picker/locale/sl_SI';
import Calendar from '../calendar/locale/sl_SI';
export default {
locale: 'sl',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
fil... |
/**
* @license
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
* http://polymer.github.io/AUTHORS.txt
* The complete set of contributors ma... |
// 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,
name: 'dev',
app_id: 'suTLP5hyFAPMyPx131t0TP... |
import { PackageRules } from '..';
let rules: PackageRules = {
package: 'ember-element-helper',
addonModules: {
'helpers/-element.js': {
dependsOnComponents: ['{{-dynamic-element}}', '{{-dynamic-element-alt}}'],
},
},
components: {},
};
export default [rules]; |
const ExecutansManageLsi = {
title: {
ru: 'Исполнители задания',
ua: 'Виконавці завдання',
},
description: {
ru: 'Вы можете изменить список сотрудников, исполняющих задание',
ua: 'Ви можете змінити список співробітників, виконуючих завдання',
},
}
export default Executan... |
import packageInfo from "./package.json";
import { Sha256 } from "@aws-crypto/sha256-browser";
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
import { invalidAsyncFunction } from "@aws-sdk/invalid-dependency";
import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry";
import { ... |
import { basename, dirname, extname, join, relative, resolve } from 'path';
import { Duplex, PassThrough } from 'stream';
import { info, warn } from 'fancy-log';
import { pathExists, pathExistsSync, readFile, readJson, stat } from 'fs-extra';
import { VinylFile } from '../tasks';
export interface ICopyModuleInput {
/... |
export * as Channels from './Channels';
export * as Events from './Events';
export * as Messages from './Messages';
export * as Permissions from './Permissions';
export * as Roles from './Roles';
export * as Selfmod from './Selfmod/All';
export * as Social from './Social';
export * as Suggestions from './Suggestions';
... |
/* Core */
import { render } from 'react-dom';
/* Components */
import { HomePage } from './pages';
/* Instruments */
import './theme/main.scss';
render(<HomePage />, document.getElementById('root')); |
import Promise from './promise';
export interface Notifier {
notify(err: any): Promise;
}
export default Notifier; |
import { Controller, Get } from '@nestjs/common';
import { ExpensesService } from './expenses.service';
@Controller('expenses')
export class ExpensesController {
constructor(private expenseServices: ExpensesService) {}
@Get('/create')
makeexpense() {
return this.expenseServices.make_payment();
}
@Get()... |
import { InjectionToken, ModuleWithProviders, NgModule, NgZone } from '@angular/core';
import { WrappedSocket } from './socket-io.service';
import { SocketIoConfig } from './socketIoConfig';
/** Socket factory */
export function SocketFactory(config: SocketIoConfig, ngZone: NgZone) {
return new WrappedSocket(confi... |
/**
* Copyright 2015 Google 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 required by appli... |
import { tryValueIfChoice1, tryValueIfChoice2, value } from "./Option";
import { IDisposable } from "./Util";
export interface IObserver<T> {
OnNext: (x: T) => void;
OnError: (e: any) => void;
OnCompleted: () => void;
}
export class Observer<T> implements IObserver<T> {
public OnNext: (x: T) => void;
public... |
import React from "react";
import createSvgIcon from "../SvgIcon/utils/createSvgIcon";
export default createSvgIcon(
<path d="M11 18h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1zm4 6h10c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.4... |
'use strict';
import * as express from 'express';
import * as expressConfig from './config/express';
var appPath = process.cwd();
export function init () : express.Express {
// Express settings
var app = express();
expressConfig.config(app);
return app;
} |
import { Product } from './../product';
import { Action } from '@ngrx/store';
export enum ProductActionTypes {
ToggleProductCode = '[Product] Toogle Product Code',
SetCurrentProduct = '[Product] Set Current Product',
ClearCurrentProduct = '[Product] Clear Current Product',
InitializeNewProduct = '[Prod... |
export type KFrame = KFrameTop | KFrameRest;
export interface KFrameTop {
kind: 'top';
f: () => any;
this: any;
}
export interface KFrameRest {
kind: 'rest';
f: () => any; // The function we are in
locals: any[]; // All locals
params: any[]; // All params
this: any; // The object bound to `th... |
interface ITestInputAreaViewModel {
text: string;
setText(text: string): void;
clearText(): void;
}
export function makeTestInputAreaViewModel(): ITestInputAreaViewModel {
let text = '';
return {
get text() {
return text;
},
setText(value: string) {
text = value;
},
clearText(... |
/**
* @typedef {string} BaseResolverType Valid argument resolver types
* for use with [resolve]{@link module:Middleware.resolve} and
* [expect]{@link module:Middleware.expect}. Can be one of
* the following string literals:
* ```
* 'String'
* | 'Number'
* | 'Boolean'
* | 'Duration'
* | 'User'
* | 'Member'
*... |
export interface ISkill {
// id: number
skillName: string
}
export interface ISkillCreate {
skillName: string
}
export interface ISkillGet {
id: number,
skillName: string
}
export interface ISkillGetAll<ISkillGet> {
items: ISkillGet[]
} |
// (C) Copyright 2015 Moodle Pty Ltd.
//
// 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 agree... |
import { Injectable } from '@angular/core';
import { Socket } from 'ngx-socket-io';
import { Document } from 'src/app/models/document.model';
@Injectable({
providedIn: 'root'
})
export class DocumentService {
currentDocument = this.socket.fromEvent<Document>('document');
documents = this.socket.fromEvent<strin... |
import { AuthContextModule } from "@artsy/cohesion"
import { Image } from "@artsy/palette"
import { FillwidthItem_artwork } from "v2/__generated__/FillwidthItem_artwork.graphql"
import { SystemContextProps } from "v2/Artsy"
import { Mediator } from "v2/Artsy"
import React from "react"
import { createFragmentContainer, ... |
import * as fs from "fs";
import { sudokuFilePath, standardCharacterCode, standardLineBreak } from "../constant";
/**
* ファイル内容からマスごとの情報が入った配列を作成する
*/
const createGridInfoFromFile: () => gridInfo[] = () => {
const sudokuFileContents: string = fs.readFileSync(
sudokuFilePath,
standardCharacterCode
);
/... |
export * from './Invoice' |
import { execSync } from "child_process";
import * as matter from "gray-matter";
import * as fs from "fs";
import * as path from "path";
// Note: this must be executed within the docs-website directory.
// Constants.
const HOSTED_SITE_URL = "https://datahubproject.io";
const GITHUB_EDIT_URL = "https://github.com/link... |
// 带有单个方法的基本服务
import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
getHello(): string {
return 'Hello World!';
}
} |
import superjson from "superjson";
import {$} from "edgedb";
import e from "../dbschema/edgeql-js";
import {$expr_Function} from "edgedb/dist/reflection";
import {tc} from "./setupTeardown";
import {number} from "../dbschema/edgeql-js/modules/std";
function checkFunctionExpr<T extends $expr_Function>(
expr: T,
nam... |
import XRPPayIDClientInterface from '../../../src/PayID/xrp-pay-id-client-interface'
import Result from '../../Common/Helpers/result'
import { XRPLNetwork } from '../../../src'
/**
* A fake XRPPayIDClient which can return faked values.
*/
export default class FakeXRPPayIDClient implements XRPPayIDClientInterface {
... |
// Imports:
import { minABI, pooltogether } from '../../ABIs';
import { initResponse, query, addToken, addLPToken } from '../../functions';
import type { Request } from 'express';
import type { Chain, Address, Token, LPToken } from 'cookietrack-types';
// Initializations:
const chain: Chain = 'eth';
const project = 'p... |
import { makeStyles } from '@material-ui/core';
export default makeStyles(() => ({
root: {
margin: '0px 15px',
height: '88vh',
},
heading: {
fontFamily: 'Roboto',
fontStyle: 'normal',
fontWeight: 'normal',
fontSize: 24,
color: '#1C1C28',
letterSpacing: '0.18px',
marginBottom: ... |
import { StatefulCallClient, StatefulDeviceManager } from "../../../calling-stateful-client/src";
import React from 'react';
/**
* @private
*/
export declare type CallClientContextType = {
callClient: StatefulCallClient;
deviceManager: StatefulDeviceManager | undefined;
};
/**
* @private
*/
export declare c... |
import styled from 'styled-components';
import Typing from 'react-typing-animation';
import { Link } from 'react-router-dom';
export const TerminalWindow = styled.div`
width: 70rem;
max-width: 100%;
display: flex;
flex-direction: column;
margin: auto;
background: #fff;
border-radius: 4px;
height: 70re... |
import * as CSS from 'csstype';
const Color = require('color');
import { Data } from 'geostyler-data';
import {
LevelOfMeasurement
} from 'src/Component/RuleGenerator/RuleGenerator';
import {
Rule,
Filter,
SymbolizerKind,
Symbolizer,
WellKnownName
} from 'geostyler-style';
import SymbolizerUtil from './Symb... |
/**
* @module node-opcua-address-space
*/
import { assert } from "node-opcua-assert";
import * as _ from "underscore";
import { Int64 } from "node-opcua-basic-types";
import { EnumValueType } from "node-opcua-common";
import { coerceLocalizedText } from "node-opcua-data-model";
export function coerceEnumValues(enum... |
// 字体图标 url
const cssCdnUrlList: Array<string> = [
'//at.alicdn.com/t/font_2298093_ysc3z187xhh.css',
'//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css',
];
// 第三方 js url
const jsCdnUrlList: Array<string> = [];
// 动态设置字体图标
export function setCssCdn() {
if (cssCdnUrlList.length <= 0) ret... |
import { useMemo, useState, useEffect } from 'react';
import {
PersonPhoto,
PhotoSize,
usePopoverRef,
PersonPicker,
styling,
} from '@equinor/fusion-components';
import classNames from 'classnames';
import styles from './styles.less';
import {
PersonDetails,
useComponentDisplayClassNames,
... |
import { IStyleFunctionOrObject } from '../../Utilities';
import { IGroupDividerProps } from './GroupedList.types';
import { ITheme, IStyle } from '../../Styling';
export interface IGroupHeaderProps extends IGroupDividerProps {
/**
* Theme provided by Higher Order Component
*/
theme?: ITheme;
/**
* Sty... |
import path from 'path';
import { globalBeforeEach } from '../../__jest__/before-each';
import * as models from '../../models';
import { AUTH_BASIC } from '../constants';
import * as harUtils from '../har';
import * as render from '../render';
describe('export', () => {
beforeEach(async () => {
await globalBefo... |
<TS language="mn" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Шинэ хаяг нээх</translation>
</message>
<message>
<source>&New</source>
<translation>&Шинэ</translation>
</message>
<messag... |
import React from 'react';
import 'leaflet/dist/leaflet.css'
import './styles/global.css'
import Routes from './routes';
function App() {
return (
<Routes />
);
}
export default App; |
import { Sticky, StickyContainer } from "react-sticky";
import * as React from "react";
const StickyAllOptions: JSX.Element =
<StickyContainer className="sticky-container">
<Sticky isActive={true} className="sticky" style={{}} stickyClassName="sticky" stickyStyle={{}} topOffset={0} bottomOffset={0} onStick... |
import { Directive, OnInit, ElementRef, Renderer, Input } from '@angular/core';
@Directive({
selector: '[appMated]'
})
export class MatedDirective {
@Input('appMated') isMated: boolean;
constructor(private hostElement: ElementRef, private renderer: Renderer) { }
ngOnInit() {
if (this.isMated) {
this... |
interface AuthErrors {
[key: string]: string;
}
export default AuthErrors; |
import { memo, FC, CSSProperties } from 'react';
import { Handle, NodeProps, Position } from 'react-flow-renderer';
const infoStyle: CSSProperties = { fontSize: 11 };
const idStyle: CSSProperties = {
fontSize: 10,
color: '#888899',
position: 'absolute',
top: 2,
left: 2,
};
const ColorSelectorNode: FC<NodeP... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Routes, RouterModule } from '@angular/router';
import { ShellComponent } from './shell/shell.component'
import { ShellModule } from './shell/shell.module';
import { AdminRequiredGuardService } from './auth/guards/admin-r... |
import * as express from "express";
import * as upload_types from "./upload.types";
import * as common_types from "./common.types";
import {v4 as uuidv4} from 'uuid';
import { DataFactory } from 'rdf-data-factory';
const factory = new DataFactory();
const rdf = require('rdflib');
import {Documentbase} from "./document... |
import { AvatarProps } from "@components/avatar";
import { LaunchImage } from "./assets";
import { expectAssignable } from "@typescript/tests";
expectAssignable<AvatarProps>({ name: "Elon Musk", src: "./launch.png" });
expectAssignable<AvatarProps>({ name: "Elon Musk", src: LaunchImage }); |
/**
* @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 { TemplateRef } from '@angular/core';
import { StepState } from '@angular/cdk/stepper';
/** Template context av... |
import { stringWidth } from 'tty-strings';
import type { IconID, Title, Palette, AnsiStyle, TextChunk, TextLine } from './types';
import parseAnsi, { stylesEqual } from './ansi';
import icons from './render/icons.json';
const iconMap = (
Object.entries(icons) as [IconID, { alias?: string[], path: string }][]
).red... |
import { FORM_DIRECTIVES, Component, View, Input, ViewChild } from 'angular2/angular2'
import { RouterOutlet, RouteParams, RouteConfig, ROUTER_DIRECTIVES } from 'angular2/router';
import { DataService, DataAction } from '../../services/data'
import { Form } from '../../models/form'
class Dashbo... |
import { ApiModelProperty } from "@nestjs/swagger";
import { role } from ".././schemas/user.schema";
export class CreateUserDto {
@ApiModelProperty()
readonly first_name: string;
@ApiModelProperty()
readonly last_name: string;
@ApiModelProperty()
readonly email: string;
@ApiModelProperty()
readon... |
import { FieldCardinality, FieldMeta } from '../FieldMeta'
import { Type, TypeModule } from '../Type'
import { CodeType } from '../cbc/CodeMeta'
import { TextType } from '../cbc/TextMeta'
import { UBLExtensionsType } from '../ext/UBLExtensionsMeta'
export enum ContractingRepresentationTypeField {
UBLExtensions = 'UB... |
import * as React from 'react';
export type WesterndigitalProps = {
/**
* 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 | number;
};
const Westerndigital ... |
import {EditUserConfigurationRequest, RaisedHandRequest} from "types/user";
import {callAPI} from "api/callApi";
export const UserAPI = {
/**
* Changes the permissions of a participant.
*
* @param userId the identifier of the user whose permissions are being changed
* @param boardId the identifier of the... |
import React from "react";
import { Link } from "react-router-dom";
import authHelpers from "utils/auth";
import { ScreenWrapper } from "components/ScreenWrapper";
import { Button, Col, Form, Input, Row, Space, Typography } from "antd";
import { css } from "@emotion/css";
import { AuthorizedCheckHoc } from "src/compone... |
import { CoverageData } from './coverageData.interface';
export interface MainDataInterface {
output: string;
theme: string;
extTheme: string;
serve: boolean;
hostname: string;
host: string;
port: number;
open: boolean;
assetsFolder: string;
documentationMainName: string;
do... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="he" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About fenixcoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line... |
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
import { default as AbortController } from "abort-controller";
import { v4 as uuid } from "uuid";
import { ITelemetryLogger } from "@fluidframework/common-definitions";
import { assert, fromUtf8ToBa... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS language="id" version="2.1">
<context>
<name>BootInfoWidget</name>
<message>
<location filename="../src/modules/partition/gui/BootInfoWidget.cpp" line="71"/>
<source>The <strong>boot environment</strong> of this system.<br>... |
import {
SystemProgram,
SYSVAR_RENT_PUBKEY,
TransactionInstruction,
} from '@solana/web3.js';
import BN from 'bn.js';
import { serialize } from 'borsh';
import {
getAuctionKeys,
getBidderKeys,
RedeemPrintingV2BidArgs,
getPrizeTrackingTicket,
SCHEMA,
getSafetyDepositConfig,
} from '.';
import {
getE... |
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { environment } from '../../../environments/environment';
import { HeadersService } from '../helpers/headers.service';
import { DisplayMatch } from '../models/displaymatch.model';
... |
/**
* A Regexp to validate potential values for the CSS easing property of transitions.
*/
export declare const cssEasingValuesRegexp: RegExp; |
import { Injectable } from '@nestjs/common';
import { CreateEmployeeRolDto } from './dto/create-employee-rol.dto';
import { UpdateEmployeeRolDto } from './dto/update-employee-rol.dto';
import { EmployeeRolRepository } from './entities/employee-rol.entity';
@Injectable()
export class EmployeeRolService {
constructor(... |
interface IResponseHead {
head: [{ list_total_count: number }, { RESULT: { CODE: string; MESSAGE: string } }];
}
interface ISchoolInfoRow {
/**
* 시도교육청코드
*/
ATPT_OFCDC_SC_CODE?: string;
/**
* 시도교육청명
*/
ATPT_OFCDC_SC_NM?: string;
/**
* 표준학교코드
*/
SD_SCHUL_CODE?: string;
/**
* 학교명
*/
SCHUL_NM?: s... |
import {
encrypt,
} from 'eth-sig-util';
import { ethers } from "ethers";
import { gtonMainnetAddress, fantomRpc } from '../../config/config';
import { toWei } from '../WEB3/API/balance';
import balance from '../WEB3/Balance';
export const GTON_THERSHOLD = toWei(1)
export const messengerUrl = "https://mailbox.cli.... |
import { assert } from '../../../../../common/util/util.js';
import { EncodableTextureFormat, kTextureFormatInfo } from '../../../../capability_info.js';
import { virtualMipSize } from '../../../../util/texture/base.js';
import { CheckContents } from '../texture_zero.spec.js';
export const checkContentsByBufferCopy: C... |
import debug from 'debug';
import type {Options} from '@mikro-orm/core';
import {PostgreSqlDriver} from '@mikro-orm/postgresql';
import {entities} from '@imperium/example-domain';
const d = debug('imperium.example.server.mikro-orm.config');
export const mikroOrmConfig: Options = {
entities: Object.values(entities),
... |
import { singleton } from 'tsyringe'
import { injectable } from 'tsyringe'
import { inject } from 'tsyringe'
import { container as tsyringeContainer } from 'tsyringe'
export interface Tsy {
get(): string
}
@singleton()
export class TsyRepository {
find() {
return 'data'
}
}
@singleton()
export class TsySer... |
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SubtitleController } from './controllers';
import { Subtitle } from './models';
import { SubtitleService } from './services';
@Module({
imports: [TypeOrmModule.forFeature([Subtitle])],
providers: [SubtitleService],
... |
import React, { ReactElement } from 'react'
import { StyleSheet, View, Image, Text } from 'react-native'
import IconBronzeBadgeSVG from 'app/assets/images/IconBronzeBadge.svg'
import IconGoldBadgeSVG from 'app/assets/images/IconGoldBadge.svg'
import IconPlatinumBadgeSVG from 'app/assets/images/IconPlatinumBadge.svg'
... |
//-- copyright
// OpenProject is an open source project management software.
// Copyright (C) 2012-2021 the OpenProject GmbH
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License version 3.
//
// OpenProject is a fork of ChiliProject, which is... |
import { SchematicContext, Tree } from '@angular-devkit/schematics';
import {
ProjectType,
WorkspaceSchema,
WorkspaceTargets,
} from '@schematics/angular/utility/workspace-models';
import { RunSchematics } from '../../types';
import { strings } from '@angular-devkit/core';
export class ChangeAngularJson implemen... |
import type { AssertionIO } from "../../control/AssertionIO/definition.js";
import type { FreeBooleanAlgebra } from "../FreeBooleanAlgebra.js";
export const AssertionValueTypeId = Symbol.for("fncts.test.data.AssertionValue");
export type AssertionValueTypeId = typeof AssertionValueTypeId;
/**
* @tsplus type fncts.te... |
import * as colorUtils from './color_utils';
import * as mathUtils from './math_utils';
export { colorUtils, mathUtils }; |
import { Component } from "@angular/core";
@Component({
selector: "nui-popover-no-padding-example",
templateUrl: "./popover-no-padding.example.component.html",
})
export class PopoverNoPaddingExampleComponent {} |
export { default } from './Webshop'; |
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
/**
* @module ui/group
*/
import { UIElement } from 'jodit/core/ui/element';
import { component... |
/// <reference path='harness.ts'/>
/// <reference path='runnerbase.ts' />
/// <reference path='syntacticCleaner.ts' />
/// <reference path='loggedIO.ts' />
/// <reference path='..\compiler\commandLineParser.ts'/>
module RWC {
function runWithIOLog(ioLog: IOLog, fn: () => void) {
var oldSys = sys;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.