text
stringlengths
10
953k
import { BadRequestException, Injectable } from '@nestjs/common'; import { from, Observable } from 'rxjs'; import { InjectStripe } from 'nestjs-stripe'; import { Stripe } from 'stripe'; import { parse } from 'flatted'; import { CustomerStripeInterface } from '../../interfaces/user/customer-stripe.interface'; import { ...
import I = CodeceptJS.I const I: I = actor() const fields = { isDisabled: 'input[id=optionyes]', notDisabled: 'input[id=optionno]' } const buttons = { submit: 'input[type=submit]' } export class DisabilityPage { selectYesOption (): void { I.checkOption(fields.isDisabled) I.click(buttons.submit) }...
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { HttpClientModule } from '@angular/common/http'; import { Reactive...
/* tslint:disable */ import { NgModule, ModuleWithProviders, SkipSelf, Optional, } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ApiConfiguration, ApiConfigurationParams } from './api-configuration'; import { AlgorithmService } from './services/algorithm.service'; import { A...
// MIT License // // Copyright (c) 2017-2018 Stefano Cappa // // 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, ...
import { NumberValueConverter } from '../../../../../src/value-converters/vanilla/string/numeral/number'; test('numeral formatter value converter', () => { let vc = new NumberValueConverter(); const result = vc.toView('1000', '0,0'); expect(result).toBe('1,000'); });
/* * LiskHQ/lisk-commander * Copyright © 2019 Lisk Foundation * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied...
import { APIRouter } from "../router-class" import koaBody = require("koa-body") import $ from "transform-ts" import { Post } from "../../../db/entities/post" import { getManager, getRepository, getCustomRepository } from "typeorm" import { PostRepository } from "../../../db/repositories/post" import { User } from "../...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as React from 'react'; import { CommonResultProps } from './types'; export declare type Props = CommonResultProps & { /** Name of the container. Provides the main text to be displayed as the item. */ name: React.ReactNode; /** A user's custom handle. Appears to the right of their `name`. It has a l...
// Type definitions for ag-grid v5.0.6 // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby <https://github.com/ceolter/> // Definitions: https://github.com/borisyankov/DefinitelyTyped import { Component } from "../../widgets/component"; import { ICellEditor } from "./iCellEditor"; export declare class T...
import { Component } from '@angular/core'; @Component({ selector: 'app-not-found', templateUrl: './not-found.component.html', styleUrls: ['./not-found.component.scss'] }) export class NotFoundComponent { }
export default interface IssueType { id: string; name: string; };
import Matter from "matter-js"; import * as utils from "./utils" import { WorldExtended } from "./exttypes"; export const antiGravityManhattan = (src: Matter.Body, tgt: Matter.Body, coeff = 100): Matter.Vector => { let g = coeff; let dx = utils.distHoriz(src.position, tgt.position); let dy = utils.distVer...
import React, { useEffect, useState } from 'react'; import styled from 'styled-components' import { navigate } from "gatsby"; import Seo from "../components/seo" import Typography from '@material-ui/core/Typography'; import SettingsIcon from '@material-ui/icons/Settings'; import QRCode from 'qrcode' import IconButt...
import $ from 'cafy'; import { ID } from '../../../../misc/cafy-id'; import define from '../../define'; import { DriveFiles } from '../../../../models'; import { makePaginationQuery } from '../../common/make-pagination-query'; import { types, bool } from '../../../../misc/schema'; export const meta = { tags: ['drive'...
import type { QueriedInfoBuilder } from '#lib/interfaces/Semblance'; import { randomColor } from '#constants/index'; import { MessageEmbed } from 'discord.js'; import { currentLogo } from '#config'; export const build: QueriedInfoBuilder = interaction => { const embed = new MessageEmbed() .setTitle('Music') ...
import { Component } from '../Base/Component'; import { ComponentOptions } from '../Base/ComponentOptions'; import { ComponentOptionsModel } from '../../models/ComponentOptionsModel'; import { IResultsComponentBindings } from '../Base/ResultsComponentBindings'; import { analyticsActionCauseList } from '../Analytics/Ana...
import { HardhatRuntimeEnvironment } from "hardhat/types"; import { DeployFunction } from "hardhat-deploy/types"; import { ethers, upgrades, network } from "hardhat"; import { PancakeswapV2RestrictedStrategyAddBaseTokenOnly__factory, PancakeswapV2RestrictedStrategyAddTwoSidesOptimal__factory, PancakeswapV2Restric...
import { Body, Controller, Get, Param, Post, UseGuards } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { ApiBearerAuth, ApiOperation, ApiTags } from '@nestjs/swagger'; import { CurrentUser } from '../../auth/current-user.decorator'; import { Project } from '../../interfaces/project.interfa...
import * as React from 'react' import { Link } from 'react-router-dom' import { CUSTOMER_LIST_PATH } from 'sarte/Routes' const NotFound = () => <div> <h3>Not Found</h3> <Link to={CUSTOMER_LIST_PATH}>Customers</Link> </div> export default NotFound
import { TypedEvent } from '../libs/TypedEvent'; export function trial() { const e1 = new TypedEvent<number>(); e1.once(n => console.log(`fired e1 arg = ${n}`)); e1.emit(1); const e2 = new TypedEvent<[number, string]>(); e2.once((t) => console.log(`fired e2 arg1 = ${t[0]} arg2 = ${t[1]}`)); e2.emit([1, 'x...
export const Shadow = { // brand edge: "0px 0px 8px rgba(0, 0, 0, 0.1)", float: "0px 8px 24px rgba(0, 0, 0, 0.1)", floatRight: "8px 0px 24px rgba(0, 0, 0, 0.1)", borderRight: "inset -1px 0px 0px #dfdfde", borderBottom: "inset 0px -1px 0px #dfdfde", };
import { FC } from 'react' import cn from 'clsx' import Link from 'next/link' import { useRouter } from 'next/router' import type { Page } from '@commerce/types/page' import getSlug from '@lib/get-slug' import { Github, Mercury } from '@components/icons' import { Logo, Container } from '@components/ui' import { I18nWid...
import { ExtensionContext, StatusBarAlignment, StatusBarItem, window } from 'vscode'; import { ConfigurationKeys } from './types'; import { sysinfoData, SysinfoData, StatsModule, isDarwin, StatsModuleNameMap } from './sysinfo'; import { setting } from './setting'; import { formatBytes, formatTimes, formatByDict } from ...
import * as React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { applyMiddleware, createStore } from 'redux'; import * as ReduxPromise from 'redux-promise'; import reduxThunk from 'redux-thunk'; // styles import './styles/main.scss'; // reducers import rootReducer f...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="3.1.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About BuzzCoin</source> <translation type="unfinished"/> </message> <message> <location lin...
import 'reflect-metadata'; import { container } from 'tsyringe'; import Application from './Application'; import './di'; const app = container.resolve(Application); app.run();
import { JWT } from "../jwt/IJWTService"; export interface ITokenService { decode(token: string): JWT; verify(token: string): Promise<[boolean, JWT]>; }
import { Flex } from "@artsy/palette" import React from "react" import { storiesOf } from "storybook/storiesOf" import { Section } from "v2/Utils/Section" import { CreditCardDetails } from "../CreditCardDetails" const creditCard = { brand: "Visa", lastDigits: "4444", expirationMonth: 3, expirationYear: 21, } ...
import { configureStore } from "@reduxjs/toolkit"; import contactsReducer from "./contacts"; import menuReducer from "./menu"; import selectedContactReducer from "./selectedContact"; import searchTextReducer from "./searchText"; import userAuthReducer from "./userAuth"; export const store = configureStore({ reducer: ...
export { binarySearch } from './binary-search';
export const DEFAULT_ALERT_TIMEOUT = 30 * 1000 export const WALLET_IDX = 0 export const DEV_DOC_URL = 'https://developer.offchainlabs.com/docs/Chain_parameters/' // seems like metamask switched rinkeby and kovan chain ids? export const ROLLUP_FACTORIES: { [chainId: number]: string | undefined } = { // 3: '0xb391A11...
const isAnyTrue = (values: boolean[]) => values.some((value => value == true)) console.log( isAnyTrue([false, true, false]), isAnyTrue([false, false, false]) )
import {Feature, Shortcut} from '../settings' import {Navigation} from '../roam/navigation' export const config: Feature = { id: 'navigation', name: 'Navigation', settings: [ { type: 'shortcut', id: 'goToTodayPage', label: 'Go to today page', initValu...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { RequestsPage } from './requests.page'; const routes: Routes = [ { path: '', component: RequestsPage } ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule], }) export ...
import * as Session from './session'; import * as SessionAPI from './restapi'; export * from './manager'; export { Session, SessionAPI };
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ import { AlloySpec, Behaviour, Dropdown as AlloyDropdown, Raw...
import { ModelObjectTypeGenerator, RelatedGeneratorArgs, RelatedModelInputObjectTypeGenerator, TypeFromModelGenerator, } from '../../../generator' import { IGQLType, IGQLField, plural, capitalize } from 'prisma-datamodel' import { GraphQLObjectType, GraphQLInputFieldConfigMap, GraphQLFieldConfig, GraphQ...
// tslint:disable:no-console // In production, we register a service worker to serve assets from local cache. // This lets the app load faster on subsequent visits in production, and gives // it offline capabilities. However, it also means that developers (and users) // will only see deployed updates on the 'N+1' visi...
export class UserModel { public rut: string | undefined; }
import {errorIfUndefined, Section} from "./section"; import {round} from "../../math/round"; /** * A sections representing a simple linear function. */ export class LinearSection extends Section<number> { static readonly NAME: string = "LinearSection"; getValue(time: number, prevSection: Section<number>): ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
export enum BackendType { IN_MEMORY, REST, GRAPHQL, } interface Role { name: string; permission: number; } interface Lang { label: string; value: string; } export interface Config { version: string; backendType: BackendType; restPathRoot: string; restServiceRoot: string; loadExternalConfig: b...
import {Component, Input, OnChanges} from '@angular/core'; import {PlanDefinition} from 'fhir/r4'; import {TopicDecoderService} from '../../services/topic-decoder/topic-decoder.service'; import {DietImageSortService} from '../../services/diet-image-sort/diet-image-sort.service'; import {CodeSystem} from '../../services...
/****************************************************************************** Copyright:: 2020- IBM, Inc 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...
import fs from 'fs' import { getAbsoluteFilepath, assertDirectoryExists } from '../../utils' /** * * Save a screenshot of an element to a PNG file on your OS. * * <example> :saveScreenshot.js it('should save a screenshot of the browser view', async () => { const elem = await $('#someElem'); ...
import { Injectable } from '@angular/core'; @Injectable({ providedIn: 'root' }) export class SettingsService { constructor() { } getLocate(){ return 'pt-BR'; } }
import { BindViewport } from './BindViewport'; import { ViewportStack } from './ViewportStack'; export function PopViewport (): void { ViewportStack.index--; BindViewport(); }
import { NotificationType, RequestType } from 'vscode-languageserver'; export namespace SchemaAssociationNotification { export const type: NotificationType<{ }, { }> = new NotificationType('json/schemaAssociations'); } export namespace DynamicCustomSchemaRequestRegistration { export const type: NotificationTy...
import crypto from "crypto"; import getRawBody from "raw-body"; function compute(secret, data) { const hmac = crypto.createHmac('sha1', secret); hmac.update(data); return hmac.digest(); } async function checkSignaturePresence(req) { return Boolean(req.headers['x-hub-signature']); } async function checkSignat...
import errors from '@feathersjs/errors'; import { checkContext } from 'feathers-hooks-common'; import { getLongToken, getShortToken, ensureFieldHasChanged } from '../helpers'; import { HookContext } from '@feathersjs/feathers'; export const addVerification = (path?: string) => async ( context: HookContext, ) => { ch...
export type DeepPartial<T> = { [P in keyof T]?: DeepPartial<T[P]> }; export function matcher<T>(reference: unknown): (value: T) => boolean { return (value: unknown) => { if(typeof(value) === 'object' && typeof(reference) === 'object') { // eslint-disable-next-line @typescript-eslint/no-explicit-any ...
import * as path from 'path'; import * as webpack from 'webpack'; import Config from 'webpack-chain'; import HtmlWebpackPlugin from 'html-webpack-plugin'; import baseConfig from './baseConfig'; import webBaseConfig from './webBaseConfig'; import Builder from '../Builder'; import FallbackEntry from '../entries/FallbackE...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Maxcoin</source> <translation>Informatio de Maxcoin</translation> ...
/* Copyright Contributors to the Open Cluster Management project */ import { Metadata } from './metadata' import { IResource, IResourceDefinition } from './resource' export const NamespaceApiVersion = 'v1' export type NamespaceApiVersionType = 'v1' export const NamespaceKind = 'Namespace' export type NamespaceKindTyp...
export { PageError } from './PageError'
export * from './get-normalized-header-name';
import { Module } from '@nestjs/common'; import { MongooseModule } from '@nestjs/mongoose'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { TodoModule } from './todo/todo.module'; import { AuthModule } from './auth/auth.module'; import { UsersModule } from './users...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import * as React from 'react' import * as Types from '../../constants/types/wallets' import Disclaimer from './disclaimer' import Intro from './intro' type OnboardingProps = { acceptDisclaimerError: string acceptingDisclaimerDelay: boolean headerBody: string headerTitle: string nextScreen: Types.NextScreenA...
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { AccountFacade } from 'ish-core/facades/account.facade'; import { Address } from 'ish-core/models/address/address.model'; import { HttpError } from 'ish-core/models/http-error/http-error.model'; impor...
import React, { useState, useEffect, ReactElement } from "react"; import { Form } from "reactstrap"; import Swal from "sweetalert2"; import { useSelector, useDispatch } from "react-redux"; import { useTranslation } from "next-i18next"; import { useRouter } from "next/router"; import { fetchLanguesActionCreator, tog...
import {RowSet, runQuery} from "backend/src/Db"; import {logError} from "backend/src/ErrorLogging"; import {EmailConfirmationTokenUnrecognizedError, EmailConfirmed} from "shared/src/Model/EmailConfirmation"; import {DbError} from "shared/src/Model/Utils"; export async function verifyEmailConfirmationToken( token: st...
/* * Copyright [2019] [Metamagic] * * 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 agreed to in writing,...
import ts from 'typescript'; import { ParserOptions, ESTreeToken, ESTreeComment } from './temp-types-based-on-js-source'; import { Program } from './estree/spec'; declare type AST<T extends ParserOptions> = Program & (T['range'] extends true ? { range: [number, number]; } : {}) & (T['tokens'] extends true ? { t...
import { css } from '@emotion/react' import { above } from 'ui/lib/breakpoints' import { StyledFn } from 'ui/lib/types' import { FontSize } from 'ui/theme' export const responsiveTextSize = (...sizes: FontSize[]): StyledFn => ({ theme }) => css` font-size: ${theme.fontSizes[sizes[0]]}; ${sizes.leng...
import Title from "./Title/Title"; import Paragraph from "./Paragraph/Paragraph"; const Content = (props: any) => { return ( <div className="flex flex-col"> <Title> {props.title} </Title> <Paragraph> {props.children} </Paragrap...
/* * Tests the functionality of a GestureView component * through user interaction. */ import RX = require('reactxp'); import * as CommonStyles from '../CommonStyles'; import { Test, TestResult, TestType } from '../Test'; import { MultiTouchGestureState } from 'reactxp/dist/common/Types'; const _styles = { conta...
// Libraries import memoizeOne from 'memoize-one' import {get, flatMap} from 'lodash' import {Table, isNumeric} from '@influxdata/vis' // Utils import {parseResponse} from 'src/shared/parsing/flux/response' import {toMinardTable} from 'src/shared/utils/toMinardTable' // Types import { FluxTable, QueryView, AppS...
///<reference types="../../../../Core/Build/FudgeCore.js"/> import f = FudgeCore; namespace FudgePhysics_Communication { window.addEventListener("load", init); const app: HTMLCanvasElement = document.querySelector("canvas"); let viewPort: f.Viewport; let hierarchy: f.Node; let fps: number; const times: ...
import { Injectable, NgZone } from '@angular/core'; import { AngularFireAuth } from '@angular/fire/compat/auth'; import { AngularFirestore, AngularFirestoreCollection } from '@angular/fire/compat/firestore'; import firebase from 'firebase/compat/app'; import { BehaviorSubject, Observable } from 'rxjs'; import { filter...
import { ICompanyEnrich, ICompanyObject, ICompanyEnrichResults, ICompanyLocationEnrich, ICompanyLocationEnrichResults, ICompanyMasterDataEnrich, ICompanyMasterDataObject, ICompanyMasterDataEnrichResults, IContactEnrich, IContactObject, IContactEnrichResults, ICorporateHierarchyObject, ICorpora...
import { NotificationState } from './state'; import { makeAutoObservable } from 'mobx'; import { Store } from '~store'; import { ShowMessage } from '~models'; class NotificationStore { constructor(rootStore: Store) { makeAutoObservable(this); this.rootStore = rootStore; } private rootStore: Store; p...
import { Component, OnInit } from '@angular/core'; import { NbThemeService } from '@nebular/theme'; import { FinanceService } from '../../../../service/finance.service'; import { VenteService } from '../../../../service/vente.service'; import { chiffreAnnuelle } from '../../../../_models/Finance'; @Component({ selec...
import { Component, OnInit, OnDestroy, Input, EventEmitter, Output } from '@angular/core'; import { MockService } from '../services/mock-service'; import { finalize, debounceTime, distinctUntilChanged, switchMap, map } from 'rxjs/operators'; import { Subject } from 'rxjs/Subject'; import { Subscription } from 'rxjs/Sub...
export * from "./post"; export * from "./put"; export * from "./post/helpers";
export type RambdaTypes = "Object" | "Number" | "Boolean" | "String" | "Null" | "Array" | "RegExp" | "NaN" | "Function" | "Undefined" | "Async" | "Promise" | "Symbol" | "Set" | "Error"; export type IndexedIterator<T, U> = (x: T, i: number) => U; export type Iterator<T, U> = (x: T) => U; export type ObjectIterator<T, U...
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.getParagraphText()).toEqual('Welcome to destination!'); }); });
// *** 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! *** // Export members: export * from "./datasetMysql"; export * from "./datasetPostgresql"; export * from "./datasetSqlServerTable"; export * from "./fa...
import * as LogManager from 'aurelia-logging'; import { metadata, Origin, protocol } from 'aurelia-metadata'; import { DOM, PLATFORM, FEATURE } from 'aurelia-pal'; import { relativeToFile } from 'aurelia-path'; import { TemplateRegistryEntry, Loader } from 'aurelia-loader'; import { inject, Contai...
/* * Copyright 2017 Brigham Young University * * 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 ...
/* Copyright 2020 kanreisa 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 agreed to in writin...
import {ApolloLink, concat, NextLink, Operation, RequestHandler} from 'apollo-link'; import {createHttpLink} from 'apollo-link-http'; import {API_BASE} from '@/constants'; // HTTP connection to the API const httpLink = createHttpLink({ // You should use an absolute URL here uri: API_BASE + '/graphql', }); const a...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
export default function getRequestAnimationFrame() { if (typeof window === 'undefined') { return () => {}; } if (window.requestAnimationFrame) { return window.requestAnimationFrame; } const prefix = ['moz', 'ms', 'webkit'].filter(key => `${key}RequestAnimationFrame` in window)[0]; return prefix ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SharedModule } from './../../../../app/shared/shared.module'; import { SubscriptionsRoutes } from './subscriptions.routes'; import { SubscriptionsComponent } from './subscriptions.component'; import { SubscriptionListCo...
/* * 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...
import { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; import { ClusterVersionsMessage, DescribeClusterVersionsMessage } from "../models/models_0"; import { deserializeAws_queryDescribeClusterVersionsCommand, serializeAws_queryDescribeClusterVersionsCommand, } from ...
/** * @license * Copyright 2018 Google Inc. * * 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...
import axios from "axios"; import { API } from "./config"; import { AnimalTypes } from "./animal-types"; import SearchResult, { Animal } from "./search-result-types"; type Dictionary<T> = { [key: string]: T }; export default class AnimalData { public async getFilterData() { let filterData = await axios.get<Anim...
export enum ChartColor { CORRECT = 'rgba(3, 169, 244, 0.6)', WARNING = 'rgba(255, 152, 0, 0.6)', ERROR = 'rgba(216, 27, 96, 0.6)' }
import { OpsWorksCMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpsWorksCMClient"; import { DeleteServerRequest, DeleteServerResponse } from "../models/models_0"; import { deserializeAws_json1_1DeleteServerCommand, serializeAws_json1_1DeleteServerCommand, } from "../protocols/Aws_json1_1";...
import {markupToJoinedPlainText} from "@internal/cli-layout"; import {AbsoluteFilePath, createAbsoluteFilePath} from "@internal/path"; import {Consumer} from "@internal/consume"; import { LSPDiagnostic, LSPDiagnosticRelatedInformation, LSPPosition, LSPRange, LSPTextEdit, } from "./types"; import stringDiff, {Diff,...
import { AssertionError } from 'assert' import { Editor } from 'application/editor' import { FormatterFactory } from 'application/formatters' import { Ketcher } from 'application/ketcher' import { StructService } from 'domain/services' import { mock } from 'jest-mock-extended' describe('contructor()', () => { it('sh...
import { generateUtilityClass, generateUtilityClasses } from '@mui/base'; export interface AppBarClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to the root element if `position="fixed"`. */ positionFixed: string; /** Styles applied to the root element if `position="abso...
import { Projet } from "./projet"; export class Recette{ id:number; intitule:string; date:Date; montant:number; projet:Projet; }
/// <reference types="vite/client" /> declare module "*.vue" { import { DefineComponent } from "vue"; // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types const component: DefineComponent<{}, {}, any>; export default component; } interface ImportMetaEnv { VITE_BASE_AP...
/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 */ export { ConfigPanelOptions } from './config_panel_options'; export { ConfigValueOptions } from './config_value_options'; export { ConfigChartOptions } from './config_chart_options'; export { ConfigDataLinks } from './config_data_links'...
import BigNumber from 'bignumber.js' import { useTranslation } from 'next-i18next' import React from 'react' import { Card, Grid, Heading, Text } from 'theme-ui' import { formatAmount } from '../../../helpers/formatters/format' import { ModalProps, useModal } from '../../../helpers/modalHook' import { AfterPillProps, ...