text
stringlengths
10
953k
import { ASTNode, namedTypes as t, visit } from "ast-types"; import { resolver, utils } from "react-docgen"; import resolveHOC from "react-docgen/dist/utils/resolveHOC"; import { isStyledComponent } from "./utils"; interface Options { moduleName?: string; } export function createStyledResolvers({ moduleName }: Opt...
import { Component, OnInit } from '@angular/core'; import { User } from '../user'; import { UserService } from '../user.service'; @Component({ selector: 'app-user', templateUrl: './user.component.html', styleUrls: ['./user.component.css'] }) export class UserComponent implements OnInit { user: User; con...
import {Card} from "./Card"; export class List { cards: Array<Card>; title: string; constructor(title) { this.title = title; this.cards = []; } }
import { createGraphQLHandler } from '@redwoodjs/graphql-server' import directives from 'src/directives/**/*.{js,ts}' import sdls from 'src/graphql/**/*.sdl.{js,ts}' import { db } from 'src/lib/db' import { logger } from 'src/lib/logger' import services from 'src/services/**/*.{js,ts}' import { getCurrentUser } from '...
import { expect } from "chai"; import { ClassDeclaration, PropertyDeclaration, Scope, ScopedNode } from "../../../../compiler"; import { ScopedNodeStructure } from "../../../../structures"; import { getInfoFromText } from "../../testHelpers"; describe(nameof(ScopedNode), () => { function getInfoWithFirstPropertyFr...
import { Reducer, ReducersMapObject } from 'redux'; export declare function applyReducer(key: string, fn: any, replace?: boolean): void; export declare function combine<S>(reducers: ReducersMapObject): Reducer<S>; export declare function localCompose(...reducers: any[]): (state: any, action: any) => any; export declare...
/**************************************************************************** * Copyright 2021 EPAM Systems * * 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...
export * from './case-review-specific-access-request.component';
import * as Api from './../api.generated'; import * as Models from './../models.generated'; import * as Services from './../services'; import * as Components from './../app/components'; import * as Ng from './angular' export { Models, Services, Api, Components, Ng}
/** * Created by adalbertdavidaroca on 10/6/16. */ export class AppCtorComponent { title: string; myHero: string; constructor() { this.title = 'Tour of Heroes'; this.myHero = 'Windstorm'; } }
import { Component, Inject, OnInit } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { DialogData } from '../dialog-data'; @Component({ selector: 'app-wait-dialog', templateUrl: './wait-dialog.component.html', styleUrls: ['./wait-dialog.component.scss'] }) e...
import { Message } from "discord.js"; import { getPoolData, updatePoolRow } from "../../../Server/sheets"; import { Command } from "../index"; import mappoolFunctions from "../../functions/mappoolFunctions"; async function command (m: Message) { if (!(await mappoolFunctions.privilegeChecks(m, false, false))) ...
import React, { useContext, useState, useEffect } from 'react' import styled from 'styled-components' import { Lock } from './Lock' import { AuthenticationContext } from '../Authenticate' import { useLock } from '../../../hooks/useLock' import { TransactionInfo } from '../../../hooks/useCheckoutCommunication' import { ...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { ConfigResponse } from '../Planeacion/crece/crece.component'; @Injectable({ providedIn: 'root'...
/*! * Copyright 2019, 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...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RequestListComponent } from './request-list.component'; describe('OfferListComponent', () => { let component: RequestListComponent; let fixture: ComponentFixture<RequestListComponent>; beforeEach(async(() => { TestBed.config...
import { Claim_Accident } from './Claim_Accident' import { Claim_CareTeam } from './Claim_CareTeam' import { Claim_Diagnosis } from './Claim_Diagnosis' import { Claim_Insurance } from './Claim_Insurance' import { Claim_Item } from './Claim_Item' import { Claim_Payee } from './Claim_Payee' import { Claim_Procedure } fro...
/* * 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 { IRouter } from '../../../../../../../../src/core/server'; import { D...
/*! * @license * Copyright 2016 Alfresco Software, 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 app...
import { interfaces } from "../interfaces/interfaces"; import { BindingOnSyntax } from "./binding_on_syntax"; import { namedConstraint, taggedConstraint, traverseAncerstors, typeConstraint } from "./constraint_helpers"; class BindingWhenSyntax<T> implements interfaces.BindingWhenSyntax<T> { private _binding: interf...
/* ====== Contact ====== */ export const CITY = 'city'; export const ZIP_CODE = 'zip_code'; export const STREET_NUMBER = 'street_number'; export const STREET = 'street';
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SearchTitleContainerComponent } from './search-title-container.component'; describe('SearchTitleContainerComponent', () => { let component: SearchTitleContainerComponent; let fixture: ComponentFixture<SearchTitleContainerComponent>...
import * as cdk from '@aws-cdk/core'; import * as custom from '@aws-cdk/custom-resources'; import * as iam from '@aws-cdk/aws-iam'; /** * Custom resource implementation that retrive Organization Ids */ export class Organizations extends cdk.Construct { private readonly resource: custom.AwsCustomResource; constr...
export const Scripts: ModdedBattleScriptsData = { gen: 8, init() { const addNewMoves = (pokemonid: string, moveids: string[], tutor = false) => { for (const moveid of moveids.map(this.getId)) { this.modData('Learnsets', this.getId(pokemonid)).learnset[moveid] = [`8${tutor ? 'T' : 'M'}`]; } }; for (con...
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { IBizSysModule } from '../../../ibizsys/ibizsys.module'; import { UserModule } from '../../user.module'; import { OA_CCSQMobListView } from './oa-ccsqmob-list-view'; @NgModule({ declarations: [ OA_CCSQMobListVie...
import {Injectable} from '@angular/core'; import {Observable} from 'rxjs'; import {IBaseServiceCreatable} from "../components/http/IBaseServiceCreatable"; import {AbstractBaseService} from "../components/http/AbstractBaseService"; import {SaveModelResponse} from "../components/http/SaveModelResponse"; import {RestClien...
import { RouterModule, Routes } from '@angular/router'; import { NgModule } from '@angular/core'; import { NotFoundComponent } from '../../@uea/components/not-found/not-found.component'; import {DeviceManageComponent} from './device-manage.component'; import {ColdChainDeviceComponent} from './component/cold-chain-devic...
export type FileSnippetOut = { githubURL: string; fps: number; height: number; width: number; frameData: FrameDataOut[]; }; export type FrameDataOut = { frame: number; fileInFrames: DataInFrameOut[]; }; export type DataInFrameOut = { fileURL: string; x: number; y: number; width: number; height...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Use this data source to get the ARN and URL of queue in...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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 "../utili...
import gql from 'graphql-tag'; export type Maybe<T> = T | null; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; String: string; Boolean: boolean; Int: number; Float: number; json: any; jsonb: any; timestamptz: any; uuid: any; }; /** expression...
import { getFileContentByName, getLastModifyFilePath } from '../config/util'; import { Router, Request, Response, NextFunction } from 'express'; import { Container } from 'typedi'; import { Logger } from 'winston'; import config from '../config'; import * as fs from 'fs'; import { celebrate, Joi } from 'celebrate'; con...
/** * Created by xiezongjun on 2016-12-20. */ import path = require('path'); import {Service, IOption} from "./src/service"; export const winston_viewer_koa_middleware = Service; interface IAppOption extends IOption { port?: number; } export const winston_viewer = (option: IAppOption) => { let Koa; tr...
import cli from 'cli-ux' const emoji = require('node-emoji') export function log(logMessage: Message, ...args: string[]): void { let message = '' if (logMessage.emoji) { message = `${emoji.get(logMessage.emoji)} ` } message = message.concat(logMessage.message) if (args && args.length) { ...
import { promises, statSync } from 'fs'; import minimatch from 'minimatch'; import * as path from 'path'; import { Config } from './configuration/getConfiguration'; import { Mapping } from './configuration/getMapping'; export class FileInfo { isFile: boolean; constructor(public filePath: string, public file: stri...
export const orgUser = { header: 'All users ({{count}})', disabled: '(disabled)', uid: 'Email', active: 'Status', name: 'Name', firstName: 'First name', lastName: 'Last name', email: 'Email', orgUnit: 'Unit', unit: 'Unit', roles: 'Roles', title: 'Title', hint: 'Users are the buyers, approv...
/* * 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...
export declare function getUploadFileConcurrency(): number; export declare function getUploadChunkConcurrency(): number; export declare function getUploadChunkSize(): number; export declare function getDownloadFileConcurrency(): number; export declare function getDownloadArtifactConcurrency(): number; export declare fu...
import { defaults, isNull, isUndefined, mapValues, max } from 'lodash'; import { lookup } from 'mime-types'; import { resolve } from 'path'; import { Dictionary } from 'ts-essentials'; import { BaseResponsiveImage, Breakpoint, getPathAliases, resolveAliases, SizesMap, } from './base'; import { byMostEfficient...
import { useMediaQuery } from '@material-ui/core'; import AppBar from '@material-ui/core/AppBar'; import Backdrop from '@material-ui/core/Backdrop'; import Box from '@material-ui/core/Box'; import Button from '@material-ui/core/Button'; import CircularProgress from '@material-ui/core/CircularProgress'; import Collapse ...
declare module '@carbonplan/maps' declare module '@carbonplan/colormaps' declare module '@carbonplan/theme'
import { FIND, ADD, UPDATE, REMOVE } from '@skysmack/framework'; export class AccessPointsPermissions { private static products = 'AccessPoints'; public static findAccessPoints = FIND + AccessPointsPermissions.products; public static addAccessPoints = ADD + AccessPointsPermissions.products; public sta...
/* * Copyright 2021 Bundesrepublik Deutschland * * 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 la...
/// <reference types="node" /> import { EthereumInternalOptions } from "@ganache/ethereum-options"; import { AbortSignal } from "abort-controller"; import { OutgoingHttpHeaders } from "http"; import RateLimiter from "../rate-limiter/rate-limiter"; import LRU from "lru-cache"; import { PersistentCache } from "../persist...
import { Injectable } from '@angular/core'; @Injectable() export class DashboardService { getAguardando() { } getAtentido() { } getAgendado(){ } getFila(){ } getCalendario(){ } }
export import Attachments = require("./resources/attachments"); export import CustomFieldSettings = require("./resources/custom_field_settings"); export import CustomFields = require("./resources/custom_fields"); export import Events = require("./resources/events"); export import Jobs = require("./resources/jobs"); exp...
/* * 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. */ export interface LspRequest { method: string; params: any; documentUri?...
import { Test, TestingModule } from '@nestjs/testing' import { INestApplication } from '@nestjs/common' import * as request from 'supertest' import { AppModule } from '../src/app/app/modules/app.module' describe('AppController (e2e)', () => { let app: INestApplication beforeEach(async () => { const moduleFixt...
import { Component, ReactNode } from "react"; import React from "react"; import { Role, RoleBinding, Permission } from "../../../state/restInterfaces"; import { Table, Select, Input, Typography } from "antd"; import { observer } from "mobx-react"; import { api, } from "../../../state/backendApi"; import { sortField } f...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.16.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do n...
import React, { useState } from 'react'; import { JsonInput } from '@mantine/demos'; import { useMantineTheme } from '@mantine/core'; import CodeDemo from '../../../components/CodeDemo/CodeDemo'; // @ts-ignore // eslint-disable-next-line import/no-webpack-loader-syntax import code from '!!raw-loader!../../../../../src...
import { TestBed, async } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ RouterTestingModule ], ...
import React, { useState, useMemo, useEffect, ReactElement } from 'react'; import { View, Text } from 'react-native'; import { isSameDay, isSameMonth, isSameYear, isSameWeek } from 'date-fns'; import Page from '~/components/Page'; import SegmentedButtons from '~/components/SegmentedButtons'; import Chart from '~/com...
import React from "react"; import ReactDOM from "react-dom"; import "./styles.css"; import Root from "./views/Root"; ReactDOM.render( <React.StrictMode> <Root /> </React.StrictMode>, document.getElementById("root"), );
// Mesh Normal Material /// 法線マテリアル /// RGBによる指定になる。 /// Basic Material同様光源を置かなくても良いマテリアル。 import * as THREE from "three"; import "bootstrap/dist/css/bootstrap.min.css"; import "bootstrap"; import "./main.css"; window.addEventListener("DOMContentLoaded", () => { // レンダラーの設定。 const RENDER = new THREE.WebGLRenderer()...
import {TypeOrmModuleOptions} from "@nestjs/typeorm"; export const config: TypeOrmModuleOptions = { type: 'postgres', host: process.env.POSTGRES_HOST, url: process.env.POSTGRES_URL, port: 5432, username: process.env.POSTGRES_USERNAME, password: process.env.POSTGRES_PASSWORD, database: proce...
import { Axis, Chart, Coord, Geom, Guide } from 'bizcharts'; import { Html } from 'bizcharts/lib/components/Annotation'; import React from 'react'; import autoHeight from '../autoHeight'; const { Arc, Line } = Guide; export type GaugeProps = { title: React.ReactNode; color?: string; height?: number; bgColor?...
import { ImportMock } from 'ts-mock-imports' import S3Provider from "./s3-provider" import * as Client from "../client" import { CloudMetadata } from "./provider-interface" const clientMockManager = ImportMock.mockClass(Client, 'CloudFileManagerClient') const client = clientMockManager.getMockInstance() describe("S3...
/* eslint-disable jsx-a11y/no-static-element-interactions */ /* eslint-disable @typescript-eslint/no-explicit-any */ import React, { Component } from 'react'; import classNames from 'classnames'; import ClickOutside from 'react-click-outsider'; import styles from '../ToolbarNew.scss'; import Toolbar from '../Toolbar'; ...
import { TestBed, async } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ imports: [ RouterTestingModule ], ...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ i...
declare const enum opc_informationcentre_statecode { Active = 0, Inactive = 1, }
import * as React from 'react'; import Sticky from '../Sticky'; import { SVGCross } from '../internal/cross'; import { SidePageContext } from './SidePageContext'; import styles from './SidePage.module.less'; import { isFunction } from '../../lib/utils'; import { cx } from '../../lib/theming/Emotion'; import jsStyles fr...
import { XmlFormatter } from "../xml-formatter"; import { XmlFormattingOptions } from "../xml-formatting-options"; import { ClassicXmlFormatter } from "./classic-xml-formatter"; const MagicalStringOfWonders = "~::~MAAAGIC~::~"; /* tslint:disable no-use-before-declare */ export class V2XmlFormatter implements XmlForma...
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('Welcome...
import React from 'react'; import { Container, HashtagIcon, InviteIcon, SettingsIcon } from './style'; export interface Props { channelName: string; selected?: boolean; } const ChannelButton: React.FC<Props> = ({ channelName, selected }) => { return ( <Container className={selected ? 'active' : ''}> ...
import { Module } from '@nestjs/common'; import { ReportController } from "src/modules/report/report.controller"; import { ReportService } from "src/modules/report/report.service"; @Module({ controllers: [ReportController], providers: [ReportService] }) export class ReportModule {}
import { Module } from '@nestjs/common'; import { UserController } from './user.controller'; import { UserService } from './user.service'; import { MongooseModule } from '@nestjs/mongoose'; import { User, UserSchema } from '../mongo/schema/users'; @Module({ imports: [MongooseModule.forFeature([ { name: User.nam...
export class CategoryUser { canChangeAccess: true; canRead: true; canWrite: true; userId: string; }
import {Catalog, Identity, Taxonomy, Translation, Charity, Notification} from '../../../../src/api/restful/commerce'; import CatalogOas from './catalog/commerce_catalog_v1_beta_oas3.json'; import IdentityOas from './identity/buy_identity_v1_oas3.json'; import TaxonomyOas from './taxonomy/commerce_taxonomy_v1_beta_oas3....
/* -------------------------------------------------------------------------------------------- * Copyright (c) Jan Dolejsi. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * --------------------------------------------------------------------------...
import { Token } from 'types/network'; import * as types from './types'; export type TAddCustomToken = typeof addCustomToken; export function addCustomToken(payload: Token): types.AddCustomTokenAction { return { type: types.CustomTokensActions.ADD, payload }; } export type TRemoveCustomToken = typeof remo...
import { Module } from '@nestjs/common'; import { AppService } from './app.service'; import { CoursesModule } from './courses/courses.module'; import {TypeOrmModule} from '@nestjs/typeorm'; @Module({ imports: [ CoursesModule, TypeOrmModule.forRoot({ type:'postgres', host:'localhost', port:5...
import { Catalog, CatalogMessages, CatalogStatus } from './catalog'; export declare abstract class AbstractCatalog implements Catalog { private _locale; private _domains; constructor(locale: string, domains?: string[]); get locale(): string; get domains(): string[]; hasDomain(domain: string): bo...
// Types. import { Point, View as ViewDefinition, dip } from "."; // Requires import { ViewCommon, layout, isEnabledProperty, originXProperty, originYProperty, automationTextProperty, isUserInteractionEnabledProperty, traceEnabled, traceWrite, traceCategories, traceError, traceMessageType, ShowModalOptions } f...
import { shallowMount, createLocalVue, Wrapper } from '@vue/test-utils'; import axios from 'axios'; import sinon from 'sinon'; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; import * as config from '@/shared/config/config'; import UserManagementEdit from '@/admin/user-management/user-management-edit.v...
/* * Power BI Visualizations * * Copyright (c) Microsoft Corporation * All rights reserved. * MIT License * * 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 restricti...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-patrones-semanticos', templateUrl: './patrones-semanticos.component.html', styleUrls: ['./patrones-semanticos.component.css'] }) export class PatronesSemanticosComponent implements OnInit { constructor() { } ngOnInit() { } }
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'pp-transaction-detail-menu', templateUrl: './transaction-detail-menu.component.html', styleUrls: ['./transaction-detail-menu.component.css'] }) export class TransactionDetailMenuComponent implements OnI...
export * from "./attachment"; export * from "./attachments"; export * from "./audit"; import * as ComplexTypes from "./complexTypes"; export * from "./contentType"; export * from "./contentTypes"; export * from "./eventReceiver"; export * from "./eventReceivers"; export * from "./features"; export * from "./field"; exp...
// GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY import { FunctionalComponent } from 'vue'; import ProfileOutlinedSvg from '@ant-design/icons-svg/lib/asn/ProfileOutlined'; import AntdIcon, { AntdIconProps } from '../components/AntdIcon'; export interface ProfileOutlinedIconType extends FunctionalCompo...
export declare class ProductDto { id: number; readonly title: string; readonly isActive: boolean; readonly description: string; readonly price: number; readonly unit: string; }
import { createGlobalStyle } from 'styled-components'; export default createGlobalStyle` * { margin: 0; padding: 0; border: 0; box-sizing: border-box; } body { background: #312E38; font-family: 'Roboto'; box-sizing: border-box; -webkit-font-smoothing: antialiased; ::-webkit-sc...
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www...
/* * 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 { SqlMa...
export { QueryOptions } from './query.options'; export { MongoId } from './id'; export { TDocument as TDoc } from './tdocument';
import { writeFileSync } from 'fs'; import fetch from 'node-fetch'; import { Item } from '../dist/meta/types'; import { ItemCollection } from '../dist/structures/Items'; import weirdItemFilter from '../dist/util/weirdItemFilter'; const itemNameMap: { [key: string]: Item } = {}; export default async function prepareI...
import { Directive, HostBinding, Input } from '@angular/core'; let panelTitleUniqueId = 0; /** * Applies the panel title style to a header element. It can be used with any header level. * * ```html * <h5 fd-panel-title>Panel Title</h5> * ``` */ @Directive({ // tslint:disable-next-line:directive-selector ...
import { extensionPoints, components, gettingStarted, } from './typedoc/shopify-dev-renderer'; const checkout = { inputRoot: './packages/checkout-ui-extensions', packages: { JS: './packages/checkout-ui-extensions', React: './packages/checkout-ui-extensions-react', }, outputRoot: '../shopify-dev/c...
// Copyright 2020 The Oppia Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
import { INPUT_TYPE, MyCompanyConfig, MyCompanyRowConfig, } from '../../models/index'; import { ignoreCaseSensivity } from '../../my-company.utils'; export enum FormType { CREATE = 'create', UPDATE = 'update', } /** * Returns the key of the MyCompanyRowConfig for the item value. * * Depending on the form...
import { Expression, IExpression } from '../expression'; export declare class LoopExpression extends Expression { protected count: IExpression; protected expression: IExpression; type: string; constructor(count: IExpression, expression: IExpression); get allExpressions(): IExpression[]; setExpre...
import { Body, Controller, Post, ValidationPipe } from '@nestjs/common'; import { AuthService } from './auth.service'; import { AuthCredentialsDto } from './dto/auth-credentials.dto'; @Controller('auth') export class AuthController { constructor(private authService: AuthService) {} @Post('/signup') signUp( ...
import * as React from 'react'; import { SVGIconProps } from '../createIcon'; export declare const SyncIconConfig: { name: 'SyncIcon', height: 512, width: 512, svgPath: 'M440.65 12.57l4 82.77A247.16 247.16 0 0 0 255.83 8C134.73 8 33.91 94.92 12.29 209.82A12 12 0 0 0 24.09 224h49.05a12 12 0 0 0 11.67-9.26 175.91...
import { FC, useState } from 'react' import { Table, Tag, Switch, Button, Modal } from 'antd' import dayjs from 'dayjs' import { useAtom } from 'jotai' import { currentProjectAtom } from '@/atoms' import type { RouteComponentProps } from '@/ability' import type { NotificationRule } from '@/types' import { Zone } from ...
// Generated from src/antlr/TypeScript/TypeScriptParser.g4 by ANTLR 4.9.0-SNAPSHOT /** Modified by Jasper Geer */ import { ATN } from "antlr4ts/atn/ATN"; import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer"; import { FailedPredicateException } from "antlr4ts/FailedPredicateException"; import { NotNull } fr...
import { Resolver, Query, Args, ResolveProperty, Parent, Mutation, Context, } from '@nestjs/graphql'; import { UseGuards } from '@nestjs/common'; import { CommentsService } from '../comments/comments.service'; import { AuthGuard } from '../shared/auth.guard'; import { IdeasService } from ...
import { IsEnum } from 'class-validator'; import { TaskStatus } from '../task-status.enum'; export class UpdateTaskStatusDto{ @IsEnum(TaskStatus) status: TaskStatus; }
import { Request, Response } from "express"; import NotificationModel from "../models/NotificationModel"; class NotificationController { async index(request: Request | any, response: Response) { try { const { username } = request; const notifications: any = await NotificationModel.find({ username })...