text stringlengths 10 953k |
|---|
import { AnyConstructor, Mixin } from "../../../../ChronoGraph/class/BetterMixin.js"
import { CorePartOfProjectGenericMixin } from "../../CorePartOfProjectGenericMixin.js"
import { SchedulerCoreProjectMixin } from "../../model/scheduler_core/SchedulerCoreProjectMixin.js"
import Store from "../../../../Core/data/Store.j... |
import { readFile } from 'fs';
import { promisify } from 'util';
export const readFileAsync = promisify(readFile); |
/**
* Available CSV delimiter characters used to separate fields.
*/
export type GridExportCsvDelimiter = string;
/**
* The options to apply on the CSV export.
*/
export interface GridExportCsvOptions {
/**
* The character used to separate fields.
* @default ','
*/
delimiter?: GridExportCsvDelimiter;
... |
import React from 'react';
import {View, Text} from 'react-native';
import { RectButton, RectButtonProps } from 'react-native-gesture-handler';
import { categories } from '../../utils/categories';
import { GuildIcon } from '../GuildIcon';
import PlayerSvg from '../../assets/player.svg';
import CalendarSvg from '../../a... |
// 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,
firebase: {
apiKey: "AIzaSyCl123xQ1DLgcgTp... |
import { ValidationErrors } from '../types';
export function error(name: string, message: string): ValidationErrors {
return { [name]: message };
} |
import { Component } from '@angular/core';
@Component({
moduleId: module.id,
selector: 'avam-host',
templateUrl: 'host.component.html'
})
export class HostComponent {
constructor() {
}
} |
export const version = "bytes/5.0.11"; |
import registerAPI from './registerAPI';
import signInAPI from './signInAPI';
import signOutAPI from './signOutAPI';
import { IAuthState } from '../states';
export interface IUseAPIs {
register: (email: string, password: string, name: string, avatar: string) => void;
signIn: (email: string, password: string) => v... |
import { Component, OnInit } from '@angular/core';
import { HeaderInteractorService } from '../../../@theme/components/Services/header-interactor.service';
@Component({
selector: 'ngx-my-drivers',
templateUrl: './my-drivers.component.html',
styleUrls: ['./my-drivers.component.scss']
})
export class MyDriversComp... |
import { MigrationInterface, QueryRunner } from "typeorm";
export class AddTemplateTables1619989394868 implements MigrationInterface {
public name = "AddTemplateTables1619989394868";
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
`CREATE TABLE "template_fields" ("template_i... |
import {
Component,
Input,
OnInit,
Output,
EventEmitter,
ViewChild,
ElementRef,
} from '@angular/core'
import { NsGoal, BtnGoalsService } from '@sunbird-cb/collection'
import { TFetchStatus, EventService, ConfigurationsService } from '@sunbird-cb/utils'
import { Router } from '@angular/router'
import { Ma... |
import { Component, OnInit } from '@angular/core';
import { ImagesService } from '../../services/images.service';
import { NgForm } from '@angular/forms';
import { Router } from '@angular/router';
declare var $: any;
@Component({
selector: 'app-update-card',
templateUrl: './update-card.component.html',
styleUrls... |
import { createTranslationSaga } from '@dapps/modules/translation/sagas'
import { api } from 'lib/api'
export const translationSaga = createTranslationSaga({
getTranslation: locale => api.fetchTranslations(locale)
}) |
import { StyleSheet } from 'react-native';
const styles = StyleSheet.create({
container: {
backgroundColor: '#8257e5',
padding: 40
},
topBar: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between'
},
title: {
fontFamily: 'Archivo_700Bold',
color: '#FFF',
... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-po',
templateUrl: './po.component.html',
styleUrls: ['./po.component.css']
})
export class PoComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
import { print } from "recast";
import { builders } from "ast-types";
import { Module } from "../../types";
import { readFile, relativeImportPath } from "../../util/module";
import {
getExportedNames,
interpolate,
importNames,
addImports,
removeTSVariableDeclares,
removeESLintComments,
removeTSIgnoreComme... |
import {Entity, PrimaryGeneratedColumn, Column, ManyToOne} from "typeorm";
import {Category} from "./Category";
@Entity()
export class Sub_Category {
@PrimaryGeneratedColumn()
id: number = 0;
@Column('varchar', { length: 50 })
name: string = "";
@Column('text', { nullable: true })
description: string = "... |
import { InputType, Field, Int } from 'type-graphql';
import { AccountType } from '../enums';
import { Currency } from '../enums/currencyEnum';
@InputType()
export class CreateAccountInput {
@Field(() => AccountType)
type: AccountType;
@Field()
name: string;
@Field()
bank: string;
@Field(() => Currenc... |
/*
Copyright 2011-2019, RFXCOM
ALL RIGHTS RESERVED.
The RFXtrx protocol is owned by RFXCOM, and is protected under
Netherlands Copyright Laws and Treaties and shall be subject to the
exclusive jurisdiction of the Netherlands Courts. The information from this
file may freely be used to create programs to exclusively i... |
import { Component, OnInit, Inject } from '@angular/core';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
import { DialogData } from '../confirmacion-asistencia.component';
import { TutoriaConstants } from 'app/constants/constants';
import { PersonalDataService } from 'app/services/personal-data.ser... |
import {TextObj, Window} from "../../Window";
import {djinn_status, djinn_font_colors, Djinn} from "../../Djinn";
import * as numbers from "../../magic_numbers";
import {base_actions, change_brightness, directions, elements, reverse_directions} from "../../utils";
import {DjinnModeHeaderWindow} from "./DjinnModeHeaderW... |
/*
* Copyright The OpenTelemetry 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
import { useContext, ref, provide, watch } from "vue";
import { Props } from "./types";
import { OnChangeParams } from "./interfaces";
import { MeCheckboxGroupKey } from "./token";
// 初始化 slot
export const useInitSlots = (props: Props) => {
const context = useContext();
const { emit } = context;
const currentVal... |
//import EWCNumberfield from '../dist/ext-numberfield.component.js';
//inputs: (new EWCNumberfield()).properties,
//import EWCNumberfield from '@sencha/ext-web-components-classic/dist/ext-numberfield.component.js';
import { EWCNumberfield } from '@sencha/ext-web-components-classic';
import {
Host,
Optional,
... |
import { IHtlcRefundAsset, ITransactionData } from "../../../interfaces";
import { BigNumber } from "../../../utils";
import { Two } from "../../types";
import { TransactionBuilder } from "./transaction";
export class HtlcRefundBuilder extends TransactionBuilder<HtlcRefundBuilder> {
public constructor() {
... |
import React from 'react';
import range from 'lodash/range';
import numericalFieldHandler from '../../../utils/numericalFieldHandler';
import { MONTHS } from '../../../constants/index';
import translateLabel from '../../../utils/translateLabel';
import { getDaysInMonth, parse } from 'date-fns';
interface Props {
id... |
version https://git-lfs.github.com/spec/v1
oid sha256:bd62c927324d031a49d33673e20fd6b679f7d8d72628bbce07737503d9ebf2f8
size 419992 |
// tslint:disable no-reaching-imports
export { pitchCirculate } from './pitchCirculate'
export { PitchCircularTechnique } from './types' |
import { logger } from '../../middleware/logger';
import { MyContext } from '../../MyContext';
import { itemRemovalCallback } from '../../services/item/itemRemovalCallback';
import { sortIntoList } from '../../services/item/sortIntoList';
import {
Arg,
Ctx,
Mutation,
Publisher,
PubSub,
Resolver,
UseMiddle... |
import { Tree } from '@nrwl/devkit';
export declare function updateRootBabelConfig(host: Tree): Promise<void>;
export default updateRootBabelConfig; |
// 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,
zoneLess: false,
};
/*
* For easier debuggin... |
/*
* This file is automatically generated.
* Run 'pnpm run generate:locales' to update.
*/
import { Faker } from '..';
import en_ZA from '../locales/en_ZA';
import en from '../locales/en';
const faker = new Faker({
locale: 'en_ZA',
localeFallback: 'en',
locales: {
en_ZA,
en,
},
});
export = faker; |
/**
* This barrel file provides the export for the lazy loaded AddProjectComponent.
*/
export * from './add-project.component'; |
import { ValidationError } from '../../errors'
import { BaseTransaction, GlobalFlags, validateBaseTransaction } from './common'
/**
* Transaction Flags for an NFTokenMint Transaction.
*
* @category Transaction Flags
*/
export enum NFTokenMintFlags {
/**
* If set, indicates that the minted token may be burned... |
import {
activeStageSlice,
updateActiveStage,
clearActiveStage,
} from "./active-stage";
describe("activeStageSlice reducer", () => {
it("should return the initial state", () => {
expect(
activeStageSlice.reducer(undefined, {
type: "TEST_ACTION",
})
).toBeNull();
});
it(`should... |
interface LinkedNode {
value: number;
next: LinkedNode | null;
}
const reserve = (
node: LinkedNode,
pre: LinkedNode | null = null
): LinkedNode => {
const next = node.next;
node.next = pre;
return next ? reserve(next, node) : node;
};
// const reserve2 = (ctx: { node: LinkedNode; pre: LinkedNode | null... |
import { Survey } from "../../src/knockout/kosurvey";
import { QuestionText } from "../../src/knockout/koquestion_text";
import { QuestionDropdown } from "../../src/knockout/koquestion_dropdown";
import { QuestionCheckbox } from "../../src/knockout/koquestion_checkbox";
import { Question } from "../../src/question";
im... |
import { Component } from '@angular/core';
import { NgForm } from '@angular/forms';
import { Router } from '@angular/router';
import { AuthService } from './auth.service';
@Component({
templateUrl: './login.component.html',
})
export class LoginComponent {
errorMessage: string;
pageTitle = 'Log In';
construct... |
/* tslint:disable */
/* eslint-disable */
// @generated
// This file was automatically generated and should not be edited.
import { AddressInput, CheckoutErrorCode } from "./../../gqlTypes/globalTypes";
// ====================================================
// GraphQL mutation operation: UpdateCheckoutBillingAddress... |
// FooterBuilder.test.ts
// Copyright © 2021 Joel MUssman. All rights reserved.
//
// Verify that the correct menu is built and functions correctly. Currently if the user is not logged
// into the application the Login menu appears at the end of the items on the left. Otherwise a user
// menu appears on the right.
//
... |
import React from 'react';
import { Form, Formik } from 'formik';
import { simpleRender, fireEvent, wait } from 'test-utils';
import { fNetwork } from '@fixtures';
import { AssetContext } from '@services/Store';
import { ExtendedAddressBook, TUuid, IReceiverAddress } from '@types';
import { addressBook } from '@databa... |
import { Component, OnInit } from "@angular/core";
import { ModalController, NavController } from "@ionic/angular";
import { Validators, FormGroup, FormControl, FormArray, FormBuilder } from "@angular/forms";
import { FirebaseService } from "../../firebase-integration.service";
import { AuthService } from "./../../..... |
import { ApiException } from '@app/exceptions';
import {
ArgumentsHost,
Catch,
ExceptionFilter,
HttpException,
} from '@nestjs/common';
import { Response } from 'express';
@Catch(HttpException)
export class ApiExceptionFilter<HttpException> implements ExceptionFilter {
catch(exception: HttpException, host: A... |
import {
ITermStore,
ITermSet,
ITermGroup,
ITerm
} from '../common/SPEntities';
import {
IWebPartContext
} from '@microsoft/sp-webpart-base';
import { IDataHelper } from '../data-helpers/DataHelperBase';
import { DataHelpersFactory } from '../data-helpers/DataHelpersFactory';
/**
* Taxonomy Control Model
... |
export * from './auth.component';
export * from './create-account-form/create-account-form.component';
export * from './login-form/login-form.component'; |
<?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 Negancoin</source>
<translation>Acerca de Negancoin</translation>
... |
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Application } from "./Application";
ReactDOM.render(
<Application />,
document.getElementById("application-container")
); |
import Vue from 'vue';
import { uid } from '../ts/ui/helpers/uid';
import { cm6PreviewEnabled, setCM6PreviewEnabled } from './state/cm6-preview';
export default Vue.component('app-cm6-preview-manager', {
data: () => ({
enabled: cm6PreviewEnabled,
// eslint-disable-next-line no-plusplus
id: ... |
import { ShadowParams, Shadow as BaseShadow, Shadow_Type } from 'uxdm';
import { SketchFormat } from '../types';
import Color from './Color';
import { fromSketchBlendMode, getContextSettings } from '../utils';
class Shadow extends BaseShadow {
constructor(params?: ShadowParams) {
super(params);
if (params) ... |
import { DbtRpcDocsGenerateResults, DbtModelNode, Explore } from 'common';
import Ajv from 'ajv';
import addFormats from 'ajv-formats';
import { DbtRpcClientBase } from '../dbt/dbtRpcClientBase';
import { attachTypesToModels, convertExplores } from '../dbt/translator';
import { MissingCatalogEntryError, ParseError } fr... |
namespace Megaparsec {
export class FlowContainer {
private _game: Game;
private _elements: FlowElement[] = [];
private _elementsByName: Object = {};
private _currentElement: FlowElement;
get game() {
return this._game;
}
get currentElement() {
... |
export default {
title: 'Carrier siamese long snake',
life: [
[0, 0, 0, 0, 0, 0],
[0, 0, 0, 1, 1, 0],
[0, 0, 0, 0, 1, 0],
[0, 0, 1, 0, 0, 0],
[0, 0, 1, 1, 0, 0],
[0, 0, 0, 1, 0, 0],
[0, 0, 1, 0, 0, 0],
[0, 1, 0, 0, 0, 0],
[0, 1, 1, 0, 0, 0],
[0, 0, 0, 0, 0, 0],
],
}; |
import React from "react";
import { View, Image, Text, Alert, ActivityIndicator } from "react-native";
import { useAuth } from "../../hooks/auth";
import { styles } from "./styles";
import { theme } from "../../global/styles/theme";
import IllustrationImg from "../../assets/illustration.png";
import { ButtonIcon } f... |
export interface City {
title: string
woeid: string
} |
import { Injectable } from '@nestjs/common';
import { Client, Transport, ClientProxy } from '@nestjs/microservices';
@Injectable()
export class AppService {
@Client({ transport: Transport.TCP, options: { port: 3001 } })
orders: ClientProxy;
createOrder() {
const payload = {}
const pattern = { cmd: 'crea... |
/// <reference path='fourslash.ts' />
////class Cat {
//// /**
//// * NOTE: this constructor is private! Please use the factory function
//// */
//// private constructor() { }
////
//// static makeCat() { new Cat(); }
////}
////
////ne/*1*/w Ca/*2*/t();
verify.quickInfoAt('1', 'constructor Cat(): Cat',
'NOTE: ... |
import React, { useCallback, useState } from "react";
import { ShowMoreButton } from "./styles";
type Props = {
onClick: () => Promise<void>;
};
const ShowMore: React.FC<Props> = ({ onClick }) => {
const [loading, setLoading] = useState<boolean>(false);
const handleClick = useCallback(async () => {
setLoad... |
export class Contato {
id: number = null;
nome: string = '';
sobrenome: string = '';
telefone: string = '';
} |
function normalizeEnvVarArray (value?: string): string[] {
return (value ?? '').split(',').map(x => x.trim()).filter(x => x)
}
export default normalizeEnvVarArray |
export default function delay(ms): Promise<void> {
return new Promise<void>(resolve => setTimeout(resolve, ms));
} |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
function tests() {
// What date is next thursday?
Date.today().next().thursday();
// Add 3 days to Today
Date.today().add(3).days();
// Is today Friday?
Date.today().is().friday();
var is = Date.today().is();
// Number fun
(3).days().ago();
// 6 months from now
var n... |
import * as helpers from "@turf/helpers";
import {
Geometry,
GeometryCollection,
GeometryTypes,
LineString,
Point,
Polygon,
Position,
Types,
} from "@turf/helpers";
import * as invariant from "./";
/**
* Fixtures
*/
const pt = helpers.point([0, 0]);
const line = helpers.lineString([[0... |
declare module 'watermark-component-for-react'; |
import React from 'react';
import {
Container,
Retweeted,
CarpintariaDigitalIcon,
Body,
Avatar,
Content,
Header,
Dot,
Description,
ImagemContent,
Icons,
Status,
CommentIcon,
RetweetIcon,
LikeIcon
} from './styles';
export const Tweet: React.FC = () => (
... |
import {Injectable} from '@angular/core';
import {Auth, authState, getIdTokenResult, signOut} from '@angular/fire/auth';
import {CanActivate, Router} from '@angular/router';
import {TranslocoService} from '@ngneat/transloco';
import {notify} from '@shared/utils/notify.operator';
import {STATIC_CONFIG} from 'projects/cm... |
import { INavData } from '@coreui/angular';
export const navItems: INavData[] = [
{
title: true,
name: 'ADMIN SYSTEM - MONITORING AND WARNING SYSTEM'
},
{
divider: true
},
{
name: 'Dashboard',
url: '/dashboard',
icon: 'icon-speedometer',
},
{
name: 'Security',
url: '/secur... |
import Property from "./Property";
const ZipCode = Property({
type: "integer",
format: "int32",
example: "60452",
description: "Zip code."
});
export default ZipCode; |
import { Request, Response } from "express";
import { container } from "tsyringe";
import { ListUsersService } from "./ListUserService";
export class ListUsersController {
async handle(request: Request, response: Response): Promise<Response> {
const listUsersService = container.resolve(ListUsersService);
... |
import Echo from '../echo';
import { Socket } from 'net';
jest.mock('net', () => ({
Socket: jest.fn().mockImplementation(() => ({
write: jest.fn(),
})),
}));
describe('echo command', () => {
it('should have a name of echo', () => {
const command = new Echo();
expect(command.name).toBe('echo');
});... |
import { Component, Input, OnInit, Output, EventEmitter, AfterViewInit, ViewChild, ElementRef, HostListener } from '@angular/core';
import { DataLoaderService } from '../services/data-loader.service';
import { Question } from '../models/question.model';
import { MatDialog } from '@angular/material/dialog';
import { Que... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview
* 'settings-safety-updates-child' is the settings page containing the safety
* check child showing the browser's update status.
*/... |
import React from 'react';
import { SvgIcon, SvgIconProps } from '@kukui/ui';
const SvgComponent = props => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" {...props}>
<path d="M128 8c9.1 0 16.1 5.04 21.1 12.47C184.2 81.6 249.7 120 320 120c70.3 0 135.8-38.4 170.9-99.53C495 13.04 502.9 8 512 8c8.8... |
import { TestBed, waitForAsync } from '@angular/core/testing';
import { NgLyticsModule } from '../../../ng-lytics/src/lib/ng-lytics.module';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [AppCo... |
import fastifyCors from 'fastify-cors'
import chalk from 'chalk'
import { app } from './app'
import swaggerPlugin from './plugins/swagger'
import statusRoutes from './services/status'
if (app.convict.get('env') === 'development') {
console.log('APP.CONVICT ', app.convict.toString())
}
const port = app.convict.has('... |
import * as Keychain from 'react-native-keychain';
import { generateRandomEncryptionKey, hash } from '../encrypt/encrypt';
import { storeEncrypted, readEncrypted, deleteFromStorage } from '../storage/storage';
import DeviceInfo from 'react-native-device-info';
import uuidv4 from 'uuid/v4';
import { Platform } from 'rea... |
/*
* Copyright 2021 Inrupt 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, modify, merge, publish, di... |
import { expect } from 'chai';
import { dirname, join } from 'path';
import { StylableProjectRunner } from '@stylable/e2e-test-kit';
import { promises } from 'fs';
const { writeFile, readFile } = promises;
const project = 'hd-cache';
const projectDir = dirname(
require.resolve(`@stylable/webpack-plugin/test/e2e/p... |
/**
* @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 approvalprocess {
export namespace bo {
/** 审批请求 */
... |
import * as yup from 'yup'
import countryAgeDistribution from '../../../assets/data/country_age_distribution.json'
import i18next from 'i18next'
const countries = Object.keys(countryAgeDistribution)
const MSG_REQUIRED = 'Required'
const MSG_NON_NEGATIVE = 'Should be non-negative'
export const schema = yup.object()... |
import { equals } from './shared'
import { mixer, parser } from '../src'
describe('test parser', () => {
it('parser should parser the jsonify payload of url', () => {
const params = { a: 123, b: '我', c: [null], d: { e: true } }
const url = mixer('127.0.0.1', params)
equals(parser(url), params)
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About BitRaam</source>
<translation>Info su BitRaam</translation>
</me... |
// Copyright (C) 2020 Intel Corporation
//
// SPDX-License-Identifier: MIT
import React from 'react';
import { connect } from 'react-redux';
import { RadioChangeEvent } from 'antd/lib/radio';
import { CombinedState, ShapeType, ObjectType } from 'reducers/interfaces';
import { rememberObject } from 'actions/annotation... |
import { Column, CreateDateColumn, Entity, JoinColumn, ManyToOne, PrimaryColumn } from "typeorm";
import {v4 as uuid } from "uuid";
import { Survey } from "./Survey";
import { User } from "./User";
@Entity("surveys_users")
class SurveyUser {
@PrimaryColumn()
readonly id: string;
@Column()
user_id: str... |
/**
* Netsparker Enterprise API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tec... |
import { Component } from '@angular/core';
import { ProductGridItemComponent } from '@spartacus/storefront';
@Component({
selector: 'app-dvnt-product-grid-item',
templateUrl: './dvnt-product-grid-item.component.html',
styleUrls: ['./dvnt-product-grid-item.component.scss'],
})
export class DvntProductGridItemComp... |
export declare const cisWifiSignalLock4: string[]; |
declare module 'disqus-react'; |
import api from '../api.json';
import type { ModulesMap } from '../typings';
export const generateModulesMap = (): ModulesMap => {
return api.children.reduce((modulesMap, child) => Object.assign(modulesMap, { [child.id]: child }), {});
}; |
import { Context } from './Context';
export type MiddlewareHandler = (context: Context) => Promise<any>; |
// Comp_05_2996
import React from 'react';
import { incModCount } from '../modCount';
const Comp_05_2996: React.FC = () => {
React.useEffect(() => {
incModCount();
}, []);
return <div>
I'm component Comp_05_2996
<div>
</div>
</div>;
};
export default Comp_05_2996; |
import express from 'express';
import { findLatestRequestDoTasks, createRequestDoTask, findRequestDoTasks } from '../model/request-do-task-model';
import { authenticate, getHouseholdID, getUserID, getUser } from '../authentication/authentication';
import { findUser, findUserByID } from '../model/user-model';
import { ... |
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import type * as kafkaTypes from "node-rdkafka";
import {
BoxcarType,
IBoxcarMessage,
IPendingBoxcar,
IProducer,
PendingBoxcar,
MaxBatchSize,
} from "@fluidframework/server-services-core";
import { IKafkaBase... |
import { SchemaDirectiveVisitor } from 'graphql-tools';
import { DirectiveLocation, GraphQLDirective, GraphQLField, GraphQLString } from 'graphql';
export class AppendDirective extends SchemaDirectiveVisitor {
static getDirectiveDeclaration(directiveName: string): GraphQLDirective {
return new GraphQLDirec... |
import React, { forwardRef, useState } from 'react';
import styled from 'styled-components';
import {
compose,
space,
color,
layout,
typography,
SpaceProps,
ColorProps,
LayoutProps,
TypographyProps,
} from 'styled-system';
import { uuid } from './uuid';
export type IconProps = SpaceProps & ColorProps ... |
import { Model } from "mongoose";
import { IUserModel } from "./user";
import { IDeviceModel } from "./device";
export interface IModel {
user: Model<IUserModel>;
device: Model<IDeviceModel>;
} |
export type Document = object | import("parse5").DefaultTreeDocument;
export type Node = object | import("parse5").DefaultTreeNode;
export type FileType = "script" | "module" | "es-module-shims" | "systemjs";
export type PolyfillsLoaderConfig = import("./types").PolyfillsLoaderConfig;
export const noModuleSupportTest: ... |
import {Component, OnChanges, Input, Output, EventEmitter} from "@angular/core";
/**
* Created by jnonino on 26/01/2017.
*/
@Component({
selector: 'ai-star',
moduleId: module.id,
templateUrl: 'star.component.html',
styleUrls: ['star.component.css']
})
export class StarComponent implements OnChanges ... |
function add(n1: number, n2: number) {
const result = n1 + n2;
return result;
}
const ='oi'
console.log(add(3, 5));
const number1: number = 5;
const number2: number = 5;
let done: boolean = true;
console.log(add(number1, number2)); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.