text
stringlengths
10
953k
import { SSOOIDCClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOOIDCClient"; import { RegisterClientRequest, RegisterClientResponse } from "../models/index"; import { deserializeAws_restJson1RegisterClientCommand, serializeAws_restJson1RegisterClientCommand, } from "../protocols/Aws_restJs...
import { StackInfo } from '../constants/types'; declare let appDir: string; declare let srcDir: string; declare let compDir: string; declare let sourcePropsDir: string; export declare function createTopProjectDirs(currentStack: StackInfo, appName: string): Promise<void>; export { sourcePropsDir }; export { compDir }; e...
/** * @fileoverview This file is generated by the Angular template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride} */ /* tslint:disable */ export const styles:any[] = ['.phytologo[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n padding: 10px 15px;\n}\n.phytolo...
export const environment = { apiUrl: '/api/essentials', production: false, };
import {Construct, Stack, StackProps, RemovalPolicy, Duration} from '@aws-cdk/core'; import {Bucket} from '@aws-cdk/aws-s3'; import {SigningProfile, Platform} from '@aws-cdk/aws-signer'; import {CodeSigningConfig, UntrustedArtifactOnDeployment} from '@aws-cdk/aws-lambda'; import {PolicyStatement, Effect, User, Policy} ...
import React from "react"; import { BrowserRouter, Route } from "react-router-dom"; import { Provider, useDispatch } from 'react-redux'; import Store from './store' import Top from "./pages/Top"; import Login from "./pages/Login" import 'bootstrap/dist/css/bootstrap.min.css'; import UserDetail from "./pages/UserDetai...
import { TextColor, TextSize, TextWeight } from '@global/types/text.type'; import { Component, h, Host, Prop } from '@stencil/core'; @Component({ tag: 'ui-text', styleUrl: 'ui-text.scss', }) export class uiText { @Prop() readonly size: TextSize = 'base'; @Prop() readonly color: TextColor = 'black'; @Prop() r...
import React from 'react' import { Root, Routes } from 'react-static' import { Link } from '@reach/router' import './app.css' import FancyDiv from '@components/FancyDiv' function App() { return ( <Root> <nav> <Link to="/">Home</Link> <Link to="/about">About</Link> <Link to="/blog">B...
import { removeDuplicateWords } from "./removeDuplicateWords"; it("Basic test", () => { expect( removeDuplicateWords( "alpha beta beta gamma gamma gamma delta alpha beta beta gamma gamma gamma delta" ) ).toStrictEqual("alpha beta gamma delta"); });
import {ExAbilityPage} from '../../src/components/pages/gameData/ex/main'; export default ExAbilityPage;
export default { jwt: { secret: '277b2cebde8a62e227ac7b1e5ed2a4e5', expiresIn: '1d', }, };
import {Injectable} from '@angular/core'; import {OverlayContainer} from './overlay-container'; /** * The FullscreenOverlayContainer is the alternative to OverlayContainer * that supports correct displaying of overlay elements in Fullscreen mode * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFull...
<TS language="af" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Regs-kliek om die adres of etiket te verander</translation> </message> <message> <source>Create a new address</source> <tra...
/** * * * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ar" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Shirecoin</source> <translation>عن Shirecoin</translation> </mes...
import { chunkArray, isArray, isObject } from './utils'; export { isArray, isObject, chunkArray };
/** * * Copyright © 2021 Uncharted Software 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 requ...
import { SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SESv2Client"; import { ListDomainDeliverabilityCampaignsRequest, ListDomainDeliverabilityCampaignsResponse } from "../models/index"; import { deserializeAws_restJson1ListDomainDeliverabilityCampaignsCommand, serializeAws_restJson1L...
import './Coupon.scss';
import { execSync } from 'child_process'; import { browser, ExpectedConditions as until, Key } from 'protractor'; import { click, createResources, deleteResources } from '@console/shared/src/test-utils/utils'; import { testName } from '@console/internal-integration-tests/protractor.conf'; import { isLoaded } from '@con...
import { WithStyle } from '@medly-components/utils'; import React, { FC } from 'react'; import AddCommentIconSvg from '../../assets/Editor/add_comment_24px_rounded.svg'; import SvgIcon, { SvgIconProps } from '../../SvgIcon'; const Component: FC<SvgIconProps> = React.memo(props => { const { size, withHoverEffect, c...
export class Author { constructor(public name:String, public id:Number) {} homepage() { return "/authors/" + this.id; } }
import {Argumenter} from "@joejukan/argumenter"; export function kebab (value: string): string; export function kebab (type: new () => any): string; export function kebab (...args): string { let argue = new Argumenter(args); let string = argue.string; let type: new () => any = argue.function; let ...
import Link from 'next/link'; import { Text, Image, withDatasourceCheck } from '@sitecore-jss/sitecore-jss-nextjs'; import { ComponentProps } from 'lib/component-props'; import { Vendor } from 'src/types/vendor'; type VendorsGridProps = ComponentProps & { fields: { items: Vendor[]; }; }; const VendorsGrid = (...
import {Container} from "." describe('ExampleComponent', () => { it('is truthy', () => { expect(Container).toBeTruthy() }) })
import nodeunit = require('nodeunit'); import fn = require('../../lib/cloudformation/fn'); export = nodeunit.testCase({ 'Fn::Join': { 'rejects empty list of arguments to join'(test: nodeunit.Test) { test.throws(() => new fn.FnJoin('.', [])); test.done(); } } });
import { Test, TestingModule } from '@nestjs/testing' import { PessoaJuridicaService } from './pessoajuridica.service' import { TypeOrmModule } from '@nestjs/typeorm' import { PessoaJuridica } from './entities/pessoa-juridica.entity' import { CreatePessoaJuridicaDto } from './dto/create-pessoajuridica.dto' const ormcon...
import { Request, Response } from "express"; import Queue from "../services/Queue"; export default class UserController { async create(req: Request, res: Response) { const { name, email, password } = req.body; const user = { name, email, password, }; await Queue.add("Registration...
/* * Copyright 2021 ACC Cyfronet AGH * * 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 agre...
import { IRolePrivilegeRepo } from '../../../repository.interfaces/role.privilege.repo.interface'; import RolePrivilege from '../models/role.privilege.model'; import { RolePrivilegeDto } from '../../../../domain.types/role/role.privilege.dto'; import { Logger } from '../../../../common/logger'; import { ApiError } from...
/** * Copyright (c) Microsoft Corporation. * * 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 agr...
import { Client } from '@elastic/elasticsearch'; import { debug } from './utils'; import * as fs from 'fs'; import { DownloadArgs, getPointsReport } from './json-download'; type ESArgs = { elasticConfig: fs.PathLike; indexName: string; }; type cliArgs = ESArgs & DownloadArgs; const INDEX_FIELDS_MAPPING = { ...
import debug from "debug"; const loggingPrefix = "finnhub"; /** * Use to log in general case */ export const log = debug(`${loggingPrefix}:info`); /** * Use for verbose log */ export const verbose = debug(`${loggingPrefix}:verbose`);
/** * * * OpenAPI spec version: 20210501 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { DiscardDialogComponent } from './discard-dialog.component'; describe('DiscardDialogComponent', () => { let component: DiscardDialogComponent; let fixture: ComponentFixture<DiscardDialogComponent>; beforeEach(async(() => { Te...
import { IConfigurationStorage } from "./IConfigurationStorage"; import { RUSKConfig } from "./RUSKConfig"; import { ModuleConfiguration } from "./ModuleConfiguration"; /** * ChromeSyncStorage - IConfigurationStorage implementation that uses Chrome sync storage */ export class ChromeSyncStorage implements IConfigur...
import * as React from 'react'; import { createHostComponent } from '@tiki-miniapp/remax-runtime'; export interface MapMarker { readonly dataset?: DOMStringMap; id?: number; latitude: number; longitude: number; title?: string; iconPath: string; rotate?: number; alpha?: number; width?: number; heigh...
import { Component, OnInit} from '@angular/core'; import { Parent } from './parent'; import { ParentService } from './parent.service'; @Component ({ template: ` <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> ...
/** * Image.tsx * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. * * Web-specific implementation of the cross-platform Image abstraction. */ import * as PropTypes from 'prop-types'; import * as React from 'react'; import * as SyncTasks from 'synctasks'; import ass...
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent { title = 'custom-google-search'; }
import { patternValidator } from './pattern.directive'; describe('ValidPasswordDirective', () => { it('should create an instance', () => { const result = patternValidator(/a/); expect(result).toBeTruthy(); }); });
import React, { HTMLProps, forwardRef, ButtonHTMLAttributes } from "react"; import styled, { css } from "styled-components"; import Link, { LinkProps } from "next/link"; import Text from "./Text"; import Icon, { TIcons, TSizes, TProps as TIconProps } from "./Icon"; import ActivityIndicator from "./ActivityIndicator"; ...
/* eslint-disable */ // prettier-ignore import { AspidaClient, BasicHeaders } from 'aspida' // prettier-ignore import { Methods as Methods0 } from '.' // prettier-ignore import { Methods as Methods1 } from './password' // prettier-ignore const api = <T>({ baseURL, fetch }: AspidaClient<T>) => { const prefix = (baseU...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { ServicoPrestadoFormComponent } from './servico-prestado-form/servico-prestado-form.component'; import { ServicoPrestadoListaComponent } from './servico-prestado-lista/servico-prestado-lista.component'; import { La...
export type Refs = Record<string, HTMLElement> export type RefsAll = Record<string, HTMLElement[]> export type Component = (payload: { el: HTMLElement refs: Refs refsAll: RefsAll }) => any
import React from 'react' import styled from '@emotion/styled' import { colors, sizes, shadows } from '../styles/variables' const StyledFeatureCard = styled.div<{caption: boolean, isIllustration?: boolean}>` display: flex; background: ${colors.offWhite}; border: 3px solid ${colors.offWhite}; box-shado...
export const CHAIN_ID = { FTM_MAIN: "250", BSC_MAIN: "56", BSC_TEST: "97", TESTNET: "4002", ROPSTEN: "3", KOVAN: "42", HARDHAT: "31337", ARBITRUM_MAINNET: "42161", ARBITRUM_TESTNET: "421611", GW_TEST: "71393", GODWOKEN: "868455272153094", RINKEBY: "4", AURORA_TEST: "1313161555", Emerald_TEST...
import reducer, { saveFlowsToStorage } from "./flows.reducer" import { createNewFlow, deleteFlow, deleteNode, duplicateFlow, loadFlow, importFlow, setFlowArguments, updateSelectedFlow, addNode, addLink, deleteLink, updateNodeData, } from "./flows.actions" import { initialFlowChart } from "./flow...
import { TestBed, ComponentFixture } from '@angular/core/testing'; import { MatInputModule, MatCardModule } from '@angular/material'; import { ReactiveFormsModule } from '@angular/forms'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { LoginPageComponent } from '@example-app/auth/c...
import express from 'express' import p1nger from './p1nger/route' import bodyParser from 'body-parser' export default express() .use(express.static('html')) .use(bodyParser.json()) .use(p1nger)
import { TouchableOpacity } from 'react-native' import { tailwind } from '@tailwind' import { ThemedIcon, ThemedText } from '@components/themed' import React from 'react' interface TransactionIDButtonProps { txid: string onPress?: () => void } export function TransactionIDButton ({ txid, onPress }: TransactionIDB...
import { Observable } from 'rxjs'; import { Injectable } from '@angular/core'; @Injectable({ providedIn: 'root' }) export class WebsocketService { ws: WebSocket; socketIsOpen = 1; createObservableSocket(url:string): Observable<any>{ this.ws = new WebSocket(url); return new Observable( observer =...
export const styleConfig = { buttonColor: 'tan', fontSize: '14px' };
import NextIcon from '@/src/components/icons/next'; import LintersSection from '@/src/docs/common/linters'; import FeaturesSection from '@/src/docs/common/features'; import { ReactSnippet } from '@/src/docs/common/snippets'; import ComponentsSection from '@/src/docs/common/components'; import V7NextThirdSection from '@...
import * as React from 'react' import { Switch } from 'react-native' import { RkComponent } from 'react-native-ui-kitten' interface RkSwitchProps { onValueChange: any style: any value: any } interface RkSwitchState { alignItems: string left: number name: string offLeftValue?: number onLeftValue?: numb...
import React from 'react'; import Head from 'next/head'; import { AppProps } from 'next/app'; import { Provider } from 'next-auth/client'; import "tailwindcss/tailwind.css"; const MyApp = ({ Component, pageProps }: AppProps): JSX.Element => { return ( <Provider session={pageProps.session}> <Head> <...
export interface ClientModel{ name:string, address:number, contact:string, id:number, email:string, designation:string, phone:string, description:string, activeFlag:string }
export interface ILayout { header: { height: string; }; footer: { height: string; }; } export const layout = { header: { height: '80px', }, footer: { height: '115px', }, } as ILayout;
import axios from 'axios' import type { NextApiRequest, NextApiResponse } from 'next' import apiConfig from '../../config/api.json' export default async function handler(req: NextApiRequest, res: NextApiResponse) { // 'inline' is used for previewing PDF files inside the browser directly const { url, inline = fals...
import * as React from 'react'; import { A11yTitleType, AlignSelfType, GridAreaType, MarginType, Omit, } from '../../utils'; type controlsItems = | 'captions' | 'fullScreen' | 'play' | 'pause' | 'volume' | { icon?: React.ReactNode; a11yTitle?: A11yTitleType; onClick?: (...args: ...
import {setCurrentConfigSet, getCurrentConfigSet} from "../actions/current-config"; import {getLocalConfigName} from "../actions/get-local-configset-name"; import {requireConfigSetPath} from "../library/path"; import MyError from "../library/error"; export default function set(this:CmdLineConfig, configSetName) { if ...
import { Message } from "discord.js"; import Command from "../../structures/Command"; import Bot from "../../structures/Bot"; export default class MuteCommand extends Command { constructor(bot: Bot) { super(bot, { name: "mute", description: "Mute a user", category: "admin", usage: "<@user...
import { useState } from "react"; import ModalLayout from "."; import UserOverview from "../dashboard/userdetails/Overview"; import PersonalDetails from "../dashboard/userdetails/PersonalDetails"; import VerificationAttempt from "../dashboard/userdetails/VerificationAttempt"; const screens = [ {title: 'Overview',...
/* * 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 ...
import * as bookMark from '../actions/bookmark.actions'; export interface BookMarkState { bookmarkState: BookMark; } export interface BookMark { bookmark: any; courseByBookmarkId: any; } export const initialState: BookMark = { bookmark: null, courseByBookmarkId: null }; export function bookmarkReducer(sta...
import Link from "next/link"; import { urlFor } from "../lib/sanity"; import { Post } from "../typings"; interface Props { posts: [Post]; } const Posts = ({ posts }: Props) => { console.log(posts); return ( <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 md:gap-6 py-2 md:py-6"> {p...
export const defaultExample = ` const items = ['Alert', 'Anchor', 'Button', 'Card', 'Heading', 'List', 'Modal', 'Paragraph']; const BasicCombobox = () => { const { getComboboxProps, getInputProps, getItemProps, getLabelProps, getMenuProps, getToggleButtonProps, highlightedIndex, isOpe...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. *--------------------------------------------------------------------------------------------*/ import { ITheme, IStyle } fr...
import { Value } from "../value"; import { iValue } from "../interfaces/ivalue"; import { iAssertionContext } from "../interfaces/iassertioncontext"; import { iScenario } from "../interfaces/iscenario"; import { Link } from "../link"; import { getMessageAndCallbackFromOverloading } from "../util"; import { ValuePromise...
import { TagInstance } from '../../src'; import setupTags from '../helpers/setupTags'; import { staticTag, tagWithOpts, tagWithIf, tagWithShow, tagWithHide, tagWithIfNested, } from 'riot-test-renderer-shared/tags/singleTags'; import isString from 'lodash/isString'; describe('vdom', () => { describe('stat...
import { Cast } from '@remirror/core'; import { BoldExtension } from '@remirror/core-extensions'; import { renderEditor } from '../render-editor'; describe('toContainRemirrorDocument', () => { it('should match when state contains node', () => { const { nodes: { doc, p }, add, } = renderEditor({ p...
import React from 'react'; import styles from './KidsProgramSection.module.scss'; import Link from "../Link/Link"; interface KidsProgramSectionProps { header: string; speakers: string; children?: React.ReactNode; imageName: string; imageType?: string; moreInfoLink?: string; registrationLink...
import React, { useCallback, useMemo } from 'react'; import { Select } from '@grafana/ui'; import { SelectableValue } from '@grafana/data'; import { Field } from '../Field'; import { AzureQueryEditorFieldProps, AzureMonitorOption } from '../../types'; import { setResourceType } from './setQueryValue'; interface Names...
import * as React from "react"; import BibleVersionAutocomplete from "../BibleVersionAutocomplete"; import * as BibleContext from "../../contexts/BibleData"; import "./BibleVersionSelect.css"; interface BibleVersionSelectProps { versionId: string; onChange: (versionId: string) => void; } interface BibleVersionS...
/* * 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 restric...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import React from 'react'; import View from './view'; import { OptionValue } from '../../../lib/types'; import { WorkspaceClient } from '../../../lib/comm/coreServices/Workspace'; import { SERVICE_TIMEOUT } from '../../../constants'; import { NarrativeSelectProps } from './view'; /* For Component */ export interface D...
/* Generated for api/discovery/v1beta1/mod.ts */ import { ObjectReference } from "../../core/v1/mod.ts"; import { ListMeta, ObjectMeta, } from "../../../apimachinery/pkg/apis/meta/v1/mod.ts"; /** Endpoint represents a single logical "backend" implementing a service. */ export type Endpoint = { /** addresses of t...
import { ControllerCreator } from '../controller'; const postVenue: ControllerCreator = ({ createVenue }) => async ({ body: { venue }, user: { id: userId }, }) => { const createdVenue = await createVenue({ userId, venue }); return { status: 201, body: { venue: createdVenue }, }; }; export default po...
'use strict'; import * as deploymentHelper from '../utils/DeploymentHelper'; import * as TaskInputParameters from '../models/TaskInputParameters'; import * as utils from '../utils/utilities'; import { Kubectl } from 'kubernetes-common-v2/kubectl-object-model'; export async function deploy(ignoreSslErrors?: boolean) {...
import { IFuture } from "./future"; import { IStream } from "./stream"; export interface IStreamConsumer<S> { addStream: (stream: IStream<S>) => IFuture<any>; close: () => IFuture<any>; }
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import * as Joi from 'joi'; export declare const PluginIdSchema: Joi.StringSchema; export declare const RemarkPluginsSchema: Joi.Ar...
<?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 GoCoin</source> <translation type="unfinished"/> </message> <message> <location line...
// Loaded from https://raw.githubusercontent.com/denjucks/dex/master/lib/deps/hash/sha1.ts /* * [js-sha1]{@link https://github.com/emn178/js-sha1} * * @version 0.6.0 * @author Chen, Yi-Cyuan [emn178@gmail.com] * @copyright Chen, Yi-Cyuan 2014-2017 * @license MIT */ const HEX_CHARS = "0123456789abcdef".split("...
// Note: This is the list of formats // The rules that formats use are stored in data/rulesets.ts /* If you want to add custom formats, create a file in this folder named: "custom-formats.ts" Paste the following code into the file and add your desired formats and their sections between the brackets: ------------------...
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 ], ...
/** * * * OpenAPI spec version: 20190131 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-test-plan-suites-form', templateUrl: './test-plan-suites-form.component.html', styles: [ ] }) export class TestPlanSuitesFormComponent implements OnInit { constructor() { } ngOnInit(): void { } }
/** * * * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as sho...
import {NgModule} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {CommonModule} from '@angular/common'; import {HomeComponent} from "./home/home.component"; import {AppComponent} from './app.component'; import {AppService} from "./app.service"; import {RouterModule} from '@a...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Logger } from "vscode-languageserver" import { PostgresPool } from "@/postgres/pool" import { DefinitionsManager, makeTargetRelatedTableLink, } from "@/server/definitionsManager" interface TableConstraint { type: "foreign_key" | "check", schemaName: string, tableName: string, constraintName: stri...
/* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. */ import { errorWithCause, MapType } from '@sap-cloud-sdk/util'; import { Constructable, EntityIdentifiable, FieldType, Selectable } from '../../common'; import { Entity } from '../entity'; import { deserializeEntity } from '../ent...
import lintStaged from 'lint-staged'; import { logger, chalk } from '@modern-js/utils'; const printFormattedMsg = (success: boolean) => { logger.log(''); logger.log('=============================='); logger.log(''); if (success) { logger.log('[PRECOMMIT] Verified!'); logger.log( 'Please commit al...
// Copyright 2018 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...
/*--------------------------------------------------------------------------------------------- * Copywight (c) Micwosoft Cowpowation. Aww wights wesewved. * Wicensed unda the MIT Wicense. See Wicense.txt in the pwoject woot fow wicense infowmation. *----------------------------------------------------------------...
import styled from "styled-components/macro"; import { InputOrButtonBorderStyleType2 } from "../../style/mixins"; import { sizes } from "../../style/sizes"; import Icon from "../Icon/Icon"; import { ScrollContainer } from "../Overlay/Overlay.styles"; import TextInput from "../TextInput/TextInput"; import { StyledInput...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import * as Axe from 'axe-core'; import { difference, map } from 'lodash'; import { withAxeSetup } from 'scanner/axe-utils'; import { customWidgetConfiguration } from 'scanner/custom-rules/custom-widget'; import { ICheckConf...
import {BrowserModule} from '@angular/platform-browser'; import {NgModule} from '@angular/core'; import {FormsModule} from '@angular/forms'; import {HttpClientModule} from '@angular/common/http'; import {AppComponent} from './app.component'; import {MetaModule} from './meta/meta.module'; import {CommonModule} from '@a...