text stringlengths 10 953k |
|---|
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { DragDropModule } from '@... |
import { MdiReactIconComponentType } from './dist/typings';
declare const AssessmentIcon: MdiReactIconComponentType;
export default AssessmentIcon; |
export { Army as default } from './army' |
/* tslint:disable:no-unused-variable */
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
import {MeasurementDescViewComponent} from './measurement-desc-view.component';
describe('MeasurementDescViewComponent', () => {
let component: MeasurementDescViewComponent;
let fixture: ComponentFixtur... |
/***************************************************************************************************************************
* @license *
* Copyright 2017 Coinbase, Inc. ... |
import * as COMMON from './config.common';
const SERVER_URL = 'http://192.168.0.169' + ':';
const API_URLS = {
LOGIN_URL : SERVER_URL + COMMON.API_PORT + '/awiros_ms/attendence/api/login',
TODAYS_ATTENDANCE : SERVER_URL + COMMON.API_PORT + '/awiros_ms/attendence/api/console_data',
LIST_OF_REGISTER_URL : S... |
import * as React from 'react'
import { GetLayout, NextLayout } from 'next'
import Head from 'next/head'
import { Box } from 'degen/components'
import {
Header,
Nav,
NavProps,
SkipNavContent,
SkipNavLink,
} from '~/components'
import { getLayout as getBaseLayout } from './site'
export type Props = {
meta... |
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
BaseContract,
ContractTransaction,
Overrides,
CallOverrides,
} from "ethers";
import { BytesLike } from "@ethersproject/byte... |
interface I_Developer {
name: String;
role: String;
description: String;
imageSource: String;
}
export const developers: Array<I_Developer> = [
{
name: "Name of Developer",
role: "Role of Developer",
description:
"Some medium length description of the developer and his role.",
imageSour... |
import React from 'react';
import { NavLink } from 'react-router-dom';
import { SubNavMenu as Menu, SubNavIcon as Icon } from './styles';
const SubNav = () => {
return (
<Menu>
<NavLink exact={true} to="/" activeClassName="active">
<Icon className="icon-calendar" />
... |
//โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
/**
* @author Vivek M. Chawla <@VivekMChawla>
* @copyright 2019, Vivek M. Chawla / Salesforce. All rights reserved.
* @license BSD-3-Clause For full license text, see the LICENSE file in the repo roo... |
import { writeStorage } from "@rehooks/local-storage";
import { OperationsResponse } from "common-ui";
import { DEFAULT_GROUP_STORAGE_KEY } from "../../../../components/group-select/useStoredDefaultGroup";
import { PcrProfileEditPage } from "../../../../pages/seqdb/pcr-profile/edit";
import { mountWithAppContext } from... |
import "jest"
import { UserAuthInfo } from "../../src/auth/authn";
import { CasbinAuthorizer } from "../../src/auth/casbin";
import { resolve } from "path";
import { readFileSync } from "fs";
import { Action } from "papiea-core";
import { PermissionDeniedError } from "../../src/errors/permission_error";
import { Logger... |
// tslint:disable:member-ordering
import { TimeService } from '../../time.service';
import { Component, OnDestroy, OnInit } from '@angular/core';
import { Subject, Observable } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
let counter = 0;
@Component({
selector: 'app-take-until',
template: ` <p>t... |
import * as React from "react";
import { FunctionComponent } from "react";
export const RaidButton: FunctionComponent = () => {
return (
<>
</>
);
}; |
import { flx } from "@pseudo-su/flex-elements";
import { styled, css, createGlobalStyle } from "../typed-styled-components";
import { cssResetStyle } from "./css-reset";
import { cssThemeColors } from "./colors";
export const defaultPageStyle = css`
html,
html > body,
html > body > #root {
flex: 1;
heigh... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Liberi</source>
<translation>&ะ Liberi</translation>
</messa... |
const TAG: string = 'database.arcplayer.byuserid.ts';
import syslog from "../syslog/syslog";
import IDatabaseArcPlayer from "./interfaces/IDatabaseArcPlayer";
export default (userid: number): Promise<IDatabaseArcPlayer | null> => {
const _sql: string =
'SELECT * FROM `players` WHERE `uid` == ?';
syslog.v(TAG... |
/* istanbul ignore file */
import { ErrorSeverity, ErrorObject, CoreBaseError } from './coreBaseError';
import UseCase from './useCase';
import Logger from './logger';
import CRUDRepository from './crudRepository';
import { UseCaseResponse, UseCaseRequest } from './usecaseModel';
export { Logger, CRUDRepository, Us... |
export { default as Form } from './Form'
export { default as useForm } from '../../utils/hooks/useForm/useForm' |
import { CloudWatchClient } from "./CloudWatchClient";
import {
DeleteAlarmsCommand,
DeleteAlarmsCommandInput,
DeleteAlarmsCommandOutput,
} from "./commands/DeleteAlarmsCommand";
import {
DeleteAnomalyDetectorCommand,
DeleteAnomalyDetectorCommandInput,
DeleteAnomalyDetectorCommandOutput,
} from "./commands/... |
import { Heading, View, Text, Spacer, Button } from 'expo-dev-client-components';
import * as React from 'react';
import { Platform, StyleSheet } from 'react-native';
import { useMenuPreferences } from '../hooks/useMenuPreferences';
import { GestureHandlerTouchableWrapper } from './GestureHandlerTouchableWrapper';
co... |
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import { APP_BASE_HREF } from '@angular/common';
import { TestBed, ComponentFixture } from '@angular/core/testing';
// import { RouterTestingModule } from '@angular/router/testing';
import { NGXLogger } from 'ngx-logger';
import { AppModule } from '../../ap... |
// *** 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 {
IsInt,
Length,
Matches,
Allow,
IsEmail,
ArrayNotEmpty,
ValidateIf,
IsOptional,
IsIn,
IsNumberString,
} from 'class-validator';
import { Expose } from 'class-transformer';
import { PageGetDto } from '../../comm';
export class CreateUserDto {
@IsInt()
@Expose()
departmentId: number;
... |
import 'reflect-metadata'
export { default } from './parseus'
export { default as Field } from './field' |
import * as gcp from "@pulumi/gcp"
const furniDataTopic = new gcp.pubsub.Topic("furni-data-topic")
const furniDataDeadLetterTopic = new gcp.pubsub.Topic("furni-data-dead-letter-topic")
new gcp.pubsub.Subscription("furni-data-dead-letter-subscription", {
topic: furniDataTopic.name,
deadLetterPolicy: {
... |
import { DynamoDB, Endpoint, config } from "aws-sdk";
const options = {
region: "localhost",
endpoint: new Endpoint("http://localhost:8000"),
};
const isOffline = () => {
return process.env.IS_OFFLINE;
};
const AWSaccessKeyId = 'not-important';
const AWSsecretAccessKey = 'not-important';
const AWSregion ... |
/* GENERATED FILE */
import React, { useContext, useMemo } from 'react'
import { IconProps, IconContext } from '../lib'
import bold from '../bold/Spade'
import duotone from '../duotone/Spade'
import fill from '../fill/Spade'
import light from '../light/Spade'
import regular from '../regular/Spade'
import thin from '..... |
import { Injectable } from '@angular/core';
import { Http, Headers } from '@angular/http';
import 'rxjs/add/operator/map';
@Injectable()
export class GithubService {
private username: string;
private client_id = '7a2cc1dbb590d7d96d79';
private client_secret = 'b9a5b382974b29e9e147cbbdefbdde1a18579360';
const... |
export * from './calculateSteps';
export * from './clamp';
export * from './getKeydownValue';
export * from './getMarkPercent';
export * from './getMarkValues';
export * from './getPercent';
export * from './getRTLSafeKey';
export * from './on';
export * from './renderMarks'; |
// *** 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";
/*... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About LongCoin</source>
<translation>Acerca de LongCoin</translation>
... |
export interface ParsedMarkdown {
url?: string;
str?: string;
}
// Some really simple typings for the schedule data.
export interface HoraroSchedule {
schedule: {
setup_t: number;
items: {
length: string;
length_t: number;
scheduled: string;
scheduled_t: number;
data: (strin... |
import * as React from 'react';
export type ColumnProps
= string
| boolean
| number
| {
size?: boolean | number | string
push?: string | number
pull?: string | number
offset?: string | number
order?: string | number
};
export interface ColProps extends React.HTMLProps<HTMLDivElement> {
... |
import {test} from "rome";
import {parseJS} from "@internal/js-parser";
import {dedent} from "@internal/string-utils";
function helper(input: string) {
return parseJS({
path: "unknown",
input,
});
}
test(
"test comment parsing",
(t) => {
t.snapshot(helper("/* block comment */ 42"));
t.snapshot(helper("42... |
import { browserFunctions, StylableProjectRunner } from '@stylable/e2e-test-kit';
import { expect } from 'chai';
import { dirname } from 'path';
const project = '3rd-party';
const projectDir = dirname(
require.resolve(`@stylable/webpack-plugin/test/e2e/projects/${project}/webpack.config`)
);
describe(`(${project}... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PhoneOtpPage } from './phone-otp.page';
const routes: Routes = [
{
path: '',
component: PhoneOtpPage
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi_VN" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Excavate</source>
<translation type="unfinished"/>
</message>
<message>
<location li... |
import { IResponse } from "./IResponse";
export interface IMarketGetResponse extends IResponse {
/**
* Market data by date.
*/
data?: {
/**
* The market date.
*/
d: string;
/**
* The market price.
*/
p: number;
/**
*... |
/*
* 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 { RsqlTokenType } from '../rsql-tokenizer/entities/rsql-token-type';
import { Token } from '../tokenizer/entities/token';
import {
RsqlAstBasicExpressionNode,
RsqlAstBasicListExpressionNode,
RsqlAstCompositeExpressionNode,
RsqlAstRootNode,
} from './entities/rsql-ast-node';
import { RsqlAstNodeType } fro... |
import { Column, GridOption } from '../../models';
import { percentSymbolFormatter } from '../percentSymbolFormatter';
describe('the Percent Symbol Formatter', () => {
const gridStub = {
getOptions: jest.fn()
};
it('should display an empty string when no value is provided', () => {
const output = percen... |
export const locales = {
closeBtn: 'Fermer le menu'
}; |
import { IAuthOptions } from 'node-sp-auth';
import { IAuthConfigSettings } from 'node-sp-auth-config';
import { Router } from 'express';
import { Agent, Server as HttpsServer } from 'https';
import { Server as HttpServer } from 'http';
export interface IProxySettings {
hostname?: string;
ssl?: ISSLConf;
protoco... |
export class IOSSecurity {
static amIJailbroken(): boolean {
return SecurityFacade.amIJailbroken();
}
static amIDebugged(): boolean {
return SecurityFacade.amIDebugged();
}
static amIRunInEmulator(): boolean {
return SecurityFacade.amIRunInEmulator();
}
st... |
import { NextFunction, Request, Response, Router } from 'express';
import _ from 'lodash';
import { Events } from '../../data/events';
import { paths } from '../../paths';
import UpdateAppealService from '../../service/update-appeal-service';
import { shouldValidateWhenSaveForLater } from '../../utils/save-for-later-ut... |
import ejs from "ejs";
export const getCompiledTemplate = (templatePath: string, templateData: any = {}) => {
return new Promise((resolve, reject) => {
ejs.renderFile(templatePath, templateData, function (err, data) {
if (err) {
reject(err);
} else {
r... |
// @generated
/* tslint:disable */
/* eslint-disable */
// This file was automatically generated and should not be edited.
import { LogLevel } from "./../../types/globalTypes";
// ====================================================
// GraphQL fragment: LogsRowUnstructuredFragment
// =================================... |
import { getArrow, getInstance } from '../../src/logger';
describe('Logger', () => {
let logger;
let logMessage;
let debugMessage;
let infoMessage;
let warnMessage;
let errorMessage;
beforeEach(() => {
logMessage = undefined;
debugMessage = undefined;
infoMessage = undefined;
warnMessage... |
import { TransformInterceptor } from './transform.interceptor';
import { ValidationPipe } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { Logger } from '@nestjs/common';
async function bootstrap() {
const logger = new Logger();
const app = await... |
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack";
import * as __aws_sdk_types from "@aws-sdk/types";
import * as _stream from "stream";
import { DeleteAccount } from "../model/operations/DeleteAccount";
import { InputTypesUnion } from "../types/InputTypesUnion";
import { OutputTypesUnion } from "... |
/**
* @license
* Copyright Color-Coding Studio. All Rights Reserved.
*
* Use of this source code is governed by an Apache License, Version 2.0
* that can be found in the LICENSE file at http://www.apache.org/licenses/LICENSE-2.0
*/
namespace finance {
export namespace ui {
export namespace m {
... |
import { TestBed } from '@angular/core/testing';
import { ProdutoService } from './produto.service';
describe('ProdutoService', () => {
beforeEach(() => TestBed.configureTestingModule({}));
it('should be created', () => {
const service: ProdutoService = TestBed.get(ProdutoService);
expect(service).toBeTr... |
import { CategoryAdd, CategoryDelete, CategoryEdit, categoryActions } from "./category.actions";
import { Category } from "./category.model";
import { CategoryService } from "./category.service";
const template = require("./category-master-detail.component.html");
const styles = require("./category-master-detail.compo... |
import {Action} from '@ngrx/store';
import {HttpErrorResponse} from '@angular/common/http';
import {IUser} from '../_interface/iuser';
export enum UserActionTypes {
GetUserLoad = '[User] Get User',
GetUserSuccess = '[User] Get User Success',
GetUserFail = '[User] Get User Fail',
PostUser = '[User] Post User',... |
import { Component, OnInit } from '@angular/core';
import { IAppState } from '../../../../app.store';
import { Observable } from 'rxjs/Observable';
import { Group } from '../../../../core/models/group.model';
import { select, NgRedux } from '@angular-redux/store';
@Component({
selector: 'cr-description',
templ... |
import type { Bot } from "../../bot.ts";
import { Channel } from "../../transformers/channel.ts";
import { DiscordChannel } from "../../types/discord.ts";
import { ChannelTypes, VideoQualityModes } from "../../types/shared.ts";
import { OverwriteReadable } from "./editChannelOverwrite.ts";
/** Update a channel's setti... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import * as assert from "assert";
import { Context } from "mocha";
import { env, Recorder } from "@azure-tools/test-recorder";
import { KeyClient } from "../../src";
import { authenticate } from "../utils/testAuthentication";
import TestClient... |
import { replaceAll } from '../StringReplaceAll'
export function replaceEnvironmentVariables (content: string): string {
let result = content
for (const name of Object.keys(process.env)) {
const envValue = process.env[name]
if (envValue != null) {
result = replaceAll(result, `$\{${name}}`, envValue)
... |
import React, { useState, useEffect, memo, useCallback } from 'react';
import clsx from 'clsx';
import { useTranslation } from 'react-i18next';
import { useWallet, getCurrentConnectSite, openInTab } from 'ui/utils';
import { ConnectedSite } from 'background/service/permission';
import { ChainSelector, FallbackSiteLogo ... |
export class Xml {
public static loadFromUrl(url: string): Promise<Document> {
return new Promise<Document>((resolve, reject) => {
var oReq = new XMLHttpRequest();
oReq.open("GET", url, true);
oReq.responseType = "text";
oReq.onload = (_oEvent) =... |
/**
* 1Password Connect
* API interface for the 1Password Connect server.
*
* The version of the OpenAPI document: 0.2.3
* Contact: support@1password.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manual... |
export default `<meta charset='utf-8'><div style=\"color: #f1eff7;background-color: #292a44;font-family: Hasklig, Operator Mono, Menlo, Monaco, 'Courier New', monospace;font-weight: 400;font-size: 15px;line-height: 22px;white-space: pre;\"><div><span style=\"color: #2de0a7;\">dispatchPasteEvent</span></div></div>`; |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// The MIT License (MIT)
//
// vs-deploy (https://github.com/mkloubert/vs-deploy)
// Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net>
//
// 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... |
import Doughnut from './Doughnut';
import PlugExtrinsicV1 from './Extrinsic';
declare const PlugRuntimeTypes: {
Doughnut: typeof Doughnut;
ExtrinsicV4: typeof PlugExtrinsicV1;
RewardBalance: string;
Address: string;
};
export default PlugRuntimeTypes; |
import {getProjectRoot} from "@blitzjs/config"
import {log} from "@blitzjs/display"
import {spawn} from "cross-spawn"
import detect from "detect-port"
import fs from "fs"
import path from "path"
import {ServerConfig, standardBuildFolderPathRegex} from "./config"
import {Manifest} from "./stages/manifest"
import {resolv... |
/**
* @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 {Tree} from '@angular-devkit/schematics';
import {SchematicTestRunner, UnitTestTree} from '@angular-devkit/sch... |
import * as React from "react";
import { LayoutChangeEvent, View, ViewProperties } from "react-native";
import { Dimension } from "../../../core/dependencies/LayoutProvider";
import BaseViewRenderer, { ViewRendererProps } from "../../../core/viewrenderer/BaseViewRenderer";
/***
* View renderer is responsible for crea... |
import assert from "assert";
import {
refParser,
fieldParser,
structParser,
rpcParser,
channelParser,
importParser,
fileParser,
serviceParser,
oneOfParser,
} from "../parser";
import { stream } from "parser-ts/lib/Stream";
import { isRight, isLeft } from "fp-ts/lib/Either";
import * as chai from "chai... |
const Cryptr = require('cryptr');
const cryptr = new Cryptr('string');
export class CryptService {
async cryptFunc(string) {
return cryptr.encrypt(string);
}
async decryptFunc(string) {
return cryptr.decrypt(string);
}
} |
import { Module } from '@nestjs/common';
import { PrismaModule } from 'src/prisma/prisma.module';
import { UserService } from './user.service';
import { UserController } from './user.controller';
import { MailModule } from 'src/mail/mail.module';
import { PasswordService } from './password.service';
@Module({
impo... |
import { Matrix3 } from '../math/Matrices';
export interface MountPoint {
readonly transformation: Matrix3;
} |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react';
import {FormattedMessage} from 'react-intl';
import {ChannelCategory} from '@mattermost/types/channel_categories';
import FormattedMarkdownMessage from 'components/formatted_mark... |
/**
* Prefix the parameter.
*
* @param param
*/
function prefixed(param: string): string {
return `swb_${param}`;
}
export default {
DEBUG: prefixed('debug'),
LOG_LEVEL: prefixed('log'),
ENV: prefixed('env'),
REGION: prefixed('region'),
DEPLOYMENT: prefixed('d'),
POLICY_SCOPE: prefixed('p'),
LANGUA... |
import { React, classNames } from 'jimu-core'
import { Icon, SVGIconProps } from 'jimu-ui'
import svg from '../../svg/outlined/gis/select-circle.svg'
export const SelectCircleOutlined = (props: SVGIconProps) => {
const { className, ...others } = props
const classes = classNames('jimu-icon-component', className)
... |
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { NzMessageService, NzModalService } from 'ng-zorro-antd';
import { CacheService } from '@delon/cache';
import { ModalHelper } from '@delon/theme';
import { LearnHomeworkService } from '../homework.service';
import { HomeworkResultSe... |
import { HttpException, HttpStatus, Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Request } from 'express';
import { Reward, RewardRepository } from '@/entity/reward';
import { User, UserRepository } from '@/entity/user';
import { getWeekDates, normalizeDate } from '@/... |
// tslint:disable:max-line-length
import { DefaultScanWorkerJobInfo } from '@app/default-scan/default-scan-worker/default-scan-worker-job-info.interface';
import { ScannerBaseService } from '@app/default-scan/scanners/common/scanner-base.service';
import { Scan, SecurityScanResult, SecurityScanResultItem } from '@app/m... |
import Typography from "@material-ui/core/Typography";
import React from "react";
const CategoryTitle = ({ children }) => (
<Typography variant="h4">{children}</Typography>
);
export default CategoryTitle; |
export const combineExtrapolatedString = (strings: TemplateStringsArray, keys: any[]): string => {
let res = '';
for (let i = 0; i < strings.length; i++) {
if (i >= 1) {
res += keys[i - 1];
}
res += strings[i];
}
return res;
}; |
import { useEffect } from "react";
/** ๆๅใ ใๅฎ่กใใใ้ขๆฐ */
export default function (fn: () => any) {
useEffect(fn, []);
} |
/* eslint-disable */
import { ASN1Element as _Element, INTEGER } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
/* START_OF_SYMBOL_DEFINITION LinkId */
/**
* @summary LinkId
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* LinkId ::= INTEGER
* ```
*/
export type LinkId = INTEGER;
/... |
import { AppPage } from './app.po';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to angular-grocery!');
});
}); |
import { Component } from '@angular/core';
import {ExportService} from '../services/export-service';
import { Platform } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx';
import { MenuService } from '../services/menu-service'... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { Level1Page1Page } from './level1-page1.page';
const routes: Routes = [... |
import { Column, Entity, Generated, Index } from "typeorm";
import {
Structure,
StructurePortailUsagerParams,
StructureResponsable,
StructureType,
} from "../../../_common/model";
import { StructureAddresseCourrier } from "../../../_common/model/structure/StructureAddresseCourrier.type";
import { StructureSmsPa... |
export const SWITCH_DARK_MODE = 'SWITCH_DARK_MODE';
export interface SwitchDarkMode {
type: typeof SWITCH_DARK_MODE;
}
export type AppAction = SwitchDarkMode; |
import type {VNodeChild} from 'vue';
import type {RouteLocationNormalizedLoaded} from 'vue-router';
import type {DropdownOption} from 'naive-ui';
/** ่ๅ้กน้
็ฝฎ */
export type GlobalMenuOption = {
key: string;
label: string;
disabled?: boolean;
routeName: string;
routePath: string;
icon?: () => VNod... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { assert } from "@re-/assert"
import { model } from "@re-/model"
import { definitionTypeErrorTemplate } from "../../internal.js"
describe("root definition", () => {
it("bad type def type", () => {
// @ts-expect-error
assert(() => model({ bad: Symbol() })).throwsAndHasTypeError(
d... |
/**
* Perun RPC API
* Perun Remote Procedure Calls Application Programming Interface
*
* The version of the OpenAPI document: 0.0.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 m... |
import { Component, OnInit, OnDestroy } from '@angular/core';
import { AnimationService } from 'src/services/animation.service';
import { routes } from '../app-routing.module';
import { Route, Router, NavigationEnd } from '@angular/router';
import { filter, takeUntil } from 'rxjs/operators';
import { Subject } from 'rx... |
import { Component, Host, h, State, Method, Listen, Prop, Event, EventEmitter, Element, writeTask } from '@stencil/core'
import { dismiss, eventMethod, prepareOverlay } from '../../helpers/overlays'
import { attachComponent, detachComponent } from '../../helpers/framework-delegate'
import { ComponentProps, ComponentRef... |
import React from 'react'
import { useHistory } from 'react-router-dom'
import { IRecommendResponse } from 'interfaces/recommendation'
import PlayCount from 'components/play-count'
import ROUTES from 'constants/routes'
import styles from './index.module.scss'
interface IProps {
songItem: IRecommendResponse
}
/*
... |
import React from "react"
const Apps = () => (
<>
<h1>Software development</h1>
<p>
Our team has worked with small and big companies, from start to finish or
on existing projects, so whether you're just starting out or want to add
new features, let us assist you in your journey.
</p>
<p>
We are tr... |
/* eslint-disable */
import through from 'through'
import { File } from './file'
function streamToCb (stream: any, cb: any) {
const chunks: any = []
let complete: any
stream.on('data', function (d: any) {
chunks.push(d)
})
stream.on('end', function () {
if (!complete) {
complete = true
cb... |
import { FunctionalComponent, JSX, h } from "@stencil/core";
import { LiturgicalDocument } from "@venite/ldf";
export type LookupNodeProps = {
doc: LiturgicalDocument;
localeStrings: Record<string, string>;
}
const valueOrPreference = (x : string | number | { preference: string }, localeStrings : Record<string, s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.