text stringlengths 10 953k |
|---|
declare namespace javax {
namespace script {
class SimpleScriptContext implements javax.script.ScriptContext {
protected writer: java.io.Writer
protected errorWriter: java.io.Writer
protected reader: java.io.Reader
protected engineScope: javax.script.Bindings
protected globalScope: ... |
import { ColumnMap } from "../../column-map";
import { ColumnUtil } from "../../../column";
export declare type WithTableAlias<ColumnMapT extends ColumnMap, NewTableAliasT extends string> = ({
readonly [columnName in Extract<keyof ColumnMapT, string>]: (ColumnUtil.WithTableAlias<ColumnMapT[columnName], NewTableAlia... |
import BLOCKS from './blocks';
import INLINES from './inlines';
import { TopLevelBlockEnum } from './schemaConstraints';
/**
* @additionalProperties true
*/
export declare type NodeData = Record<string, any>;
export interface Node {
readonly nodeType: string;
data: NodeData;
}
export interface Block extends N... |
import { EnvironmentPlugin, HotModuleReplacementPlugin, NamedModulesPlugin, NoEmitOnErrorsPlugin, optimize } from 'webpack' // tslint:disable-line:max-line-length
import * as HtmlWebpackPlugin from 'html-webpack-plugin'
import { join } from 'path'
const dist = '../../demo'
const publicPath = '/'
export default (env: ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="id_ID" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About coinscontrol</source>
<translation>Tentang coinscontrol</translation>
</message>
<message>
... |
// Copyright 2020 The Kubermatic Kubernetes Platform contributors.
//
// 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 requir... |
import React from "react";
import { IModuleDef } from "plugin-api/IModuleDef";
import { ToolbarItem } from "@alethio/ui/lib/layout/toolbar/ToolbarItem";
import { ITranslation } from "plugin-api/ITranslation";
import { ExternalLink } from "plugin-api/component/ExternalLink";
import { ToolbarIconButton } from "@alethio/u... |
/**
* The Compendium class provides an interface for interacting with compendium packs which are
* collections of similar Entities which are stored outside of the world database but able to
* be easily imported into an active session.
*
* When the game session is initialized, each available compendium pack is cons... |
import { ReactNode, useEffect, useState } from "react";
import useAudio from "./useAudio";
import {
HTMLMediaControls,
HTMLMediaState,
} from "./factory/createHTMLMediaHook";
import { Song, useSongList } from "./useSongList";
interface Props {
songList: Song[];
autoPlay: boolean;
}
export type MusicHTMLMediaS... |
import React, { useContext } from 'react';
import classNames from 'classnames/bind';
import getMeetingStatusContext from '../../../context/getMeetingStatusContext';
import OneOnOneLocalControls from '../../ControlsBar/OneOnOneLocalControls';
import useMeetingMessaging from '../../../hooks/useMeetingMessaging';
import ... |
import React, { ReactNode } from "react";
import { BorderlessButton } from "react-native-gesture-handler";
import { useNavigation } from "@react-navigation/native";
import { LinearGradient } from "expo-linear-gradient";
import { Feather } from "@expo/vector-icons";
import { View, Text } from "react-native";
import { ... |
import * as React from 'react';
import { StyledIconProps } from '@styled-icons/styled-icon';
export declare const MaleSignDimensions: {
height: number;
width: number;
}; |
import * as React from 'react';
import { css } from 'office-ui-fabric-react/lib/Utilities';
import '../ExampleCard/ExampleCard.scss';
import { CommandButton } from 'office-ui-fabric-react/lib/Button';
export interface ICodepenProps {
/* JS string to be passed into Codepen */
jsContent: string;
}
export class Code... |
import { CONSTRUCTOR_NAME } from '../Binder';
import { BoundTreeWalker } from '../BoundTreeWalker';
import { BoundNodeKind } from '../Node/BoundNodes';
import { BoundExternClassDeclaration } from '../Node/Declaration/BoundExternClassDeclaration';
import { Type, TypeKind, Types } from './Types';
export class StringType... |
/**
* ID: 01970
* Title: Last Day Where You Can Still Cross
* Difficulty: Hard
* Description: There is a 1-based binary matrix where 0 represents land and 1 represents water. You are given integers row and col representing the number of rows and columns in the matrix, respectively.
*
* Initially on day 0, the... |
import uuid from "uuid";
import { PubSub } from "graphql-subscriptions";
import { roll } from "@airjp73/dice-notation";
export type DiceRollDetail =
| {
type: "DiceRoll";
content: string;
detail: {
max: number;
min: number;
};
rolls: Array<number>;
}
| {
type... |
import * as React from 'react'
import { SearchResult, SearchResultItem } from '../services/api'
import { Gallery, GalleryRow, GalleryRowImage } from '../services/gallery'
import GalleryThumbnail from './gallery-thumbnail'
import Icon from './icon'
const GalleryDesktopCard = ({ image, shouldBlur }: { image: GalleryRowI... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2017 NEM
*
* 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, mo... |
import { Injectable } from '@angular/core';
import { CanActivate } from '@angular/router';
import { Router } from '@angular/router';
import { AuthService } from '../services/auth.service';
@Injectable({
providedIn: 'root',
})
export class AuthGuard implements CanActivate {
constructor(private auth: AuthService, pr... |
import { Component, OnInit } from '@angular/core';
import { NgForm } from '@angular/forms';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { FirebaseClientService } from 'src/app/services/firebase-client.service';
import { SharedFuncService } from 'src/app/services/shared-func.service';
import... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
import { inject, injectable } from 'inversify';
import { Disposable } from 'vscode';
import { IWorkspaceService } from '../../common/application/types';
import { IPlatformService } from '../../common/platform... |
import { useState } from 'react'
import { bindAttributeOrProperty } from '../../../../../../src/extracted/bindAttributeOrProperty'
export default function () {
const [stub, setStub] = useState(null)
bindAttributeOrProperty({
element: stub,
key: 'dataLabel',
value: 'stub',
dependencyList: [],
... |
import {
DefaultDeSerializers,
DeSerializers,
GetAllRequestBuilder,
GetByKeyRequestBuilder,
CreateRequestBuilder,
UpdateRequestBuilder,
DeleteRequestBuilder,
DeserializedType,
RequestBuilder
} from '@sap-cloud-sdk/odata-v2';
import { TestEntityLvl2MultiLink } from './TestEntityLvl2MultiLink';
/**
* R... |
import {Injectable} from '@angular/core';
import {environment} from '../../environments/environment';
import {HttpClient} from '@angular/common/http';
import {hasKey,getString,setString,remove} from 'tns-core-modules/application-settings'
import { Observable, throwError, BehaviorSubject, of } from 'rxjs';
import { catc... |
import React from "react"
import {createUseStyles} from 'react-jss'
const useStyles = createUseStyles({
scoreBoard: {
flexBasis: '25%'
}
})
const ScoreBoard: React.FC = (props) => {
const classes = useStyles()
return (
<span className={classes.scoreBoard}>
{props.children}
... |
import { Reactive, ReactiveWatcher, ReactiveMapper, ReactiveGetter } from "./Reactive";
import { Utils } from "./Utils";
import { ReactiveValue } from "./ReactiveValue";
import { Component } from "./createComponent";
import { createElement } from './createElement';
/** dts2md break */
/**
* Type of reactive list mapp... |
import { fillTable } from '../fillTable';
describe('pairs daemon sql test', () => {
it('fill table', () => {
expect(fillTable('pairs')).toMatchSnapshot();
});
}); |
import { Address, Cart, Product, User } from '@prisma/client'
type ErrorResponse = {
message: string
}
export type AddAddressApiRequestBody = {
address1: string
address2?: string
}
export type AddToCartRequestBody = {
productId: number
quantity: number
}
export type DeleteAddressRequestBody = {
addressI... |
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { Resolve, ActivatedRouteSnapshot, Router } from '@angular/router';
import { layoutService } from '../../layout/layout.service';
@Injectable()
export class ContatoResolve implements Resolve<any> {
constructor(private router: Ro... |
/**
* @license
* Copyright 2016 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 React, { PureComponent } from 'react'
import { DDO, File } from '@oceanprotocol/squid'
import AssetFile from './AssetFile'
import { User } from '../../../context'
import Web3message from '../../organisms/Web3message'
import styles from './AssetFilesDetails.module.scss'
export default class AssetFilesDetails ext... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
import '../common/extensions';
import { inject, injectable } from 'inversify';
import { ConfigurationChangeEvent, Disposable, OutputChannel, Uri } from 'vscode';
import { LSNotSupportedDiagnosticServiceId } from '../applic... |
import {
adjustContrast,
contrast,
ContrastFunction,
ensureContrast,
} from "@microsoft/fast-colors";
import { clamp, memoize } from "lodash-es";
/**
* Hashing function for contrast memoization
*/
export function contrastHasher(...args: Array<string | number>): string {
return args
.map((... |
import * as React from 'react';
import { ICalloutProps } from './Callout.types';
import { CalloutContent } from './CalloutContent';
import { Layer } from '../../Layer';
export const Callout: React.FunctionComponent<ICalloutProps> = React.forwardRef<HTMLDivElement, ICalloutProps>(
({ layerProps, doNotLayer, ...rest }... |
import { CanActivate } from '@angular/router';
import { Router } from '@angular/router';
import { Injectable } from '@angular/core';
import { UserService } from './user.service';
@Injectable()
export class SigninGuard implements CanActivate {
constructor(private userService: UserService, private router: Router) { }... |
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { NewChildComponent } from './addChild.component';
import { ChildListComponent} from './child-list.component';
@NgMod... |
import {CoreEntity} from '@polygonjs/polygonjs/dist/src/core/geometry/Entity';
import {AttribValue} from '@polygonjs/polygonjs/dist/src/types/GlobalTypes';
import Ammo from 'ammojs-typed';
import {CollisionFlag} from '../Constant';
export enum RBDAttribute {
ATTRIBUTE_MODE = 'physicsAttributesMode',
ACTIVE = 'active... |
export class ReactiveFormConfig {
static number:{[key:string]:any} = {}
static json: { [key: string]: any } = {};
static set(jObject: { [key: string]: any }): void {
if (jObject)
ReactiveFormConfig.json = jObject;
}
} |
import * as React from "react";
import { State, useCoreMarkerInput } from "./useCoreMarkerInput";
import { MarkerInputDispatchContext } from "./MarkerInputDispatchContext";
import { MarkerInputStateContext } from "./MarkerInputStateContext";
type Props = {
initialState?: State;
};
export const MarkerInputProvider = ... |
import { useEffect, useState, useMemo, FC } from "react";
import { createPortal } from "react-dom";
import { Entity } from "cesium";
import { useCesium } from "../core";
// @noCesiumElement
/*
@summary
`EntityDescription` provides a way to render description of the entity with React.
Its children will be rendered t... |
import {
Entity,
ConstantPositionProperty,
ConstantProperty,
ReferenceFrame,
Cartesian3,
Matrix3,
Matrix4,
CesiumMath,
Quaternion,
Transforms,
JulianDate,
PerspectiveFrustum,
defined,
HeadingPitchRoll,
Cartographic
} from './cesium/cesium-imports'
import {au... |
import * as React from 'react';
import { IconProps } from '../index';
export default class SvgPhone extends React.PureComponent<IconProps> {
public static defaultProps: Partial<IconProps> = {
fillColor: '#1B1C1D',
accentColor: '#DDE0E2',
size: 24,
};
public render() {
return (
<svg
... |
// eslint-disable-next-line import/extensions
import marked from 'marked/lib/marked.js';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { useHistory } from 'react-router-dom';
import { Spinner } from '../../components';
import {
isMdUrlFile,
isValidGithubMdUrl,
isValidRawMdUrl,
}... |
module adapter {
export interface SimpleExternalSoftware {
simpleMethod1(): void;
simpleMethod2(param: string, param2: number): void;
}
} |
import {
Body,
Controller,
Get,
HttpException,
HttpService,
HttpStatus,
Logger,
Post,
Req,
Request,
ServiceUnavailableException,
UploadedFile,
UploadedFiles,
UseInterceptors,
} from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { FileInterceptor, FilesInterceptor }... |
/**
*
*
* OpenAPI spec version: 20190501
*
*
* 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 xs, {Stream} from 'xstream';
import {StreamAdapter, DevToolEnabledSource} from '@cycle/base';
import {DOMSource, EventsFnOptions} from './DOMSource';
import xsSA from '@cycle/xstream-adapter';
export class HTMLSource implements DOMSource {
private _html$: any;
private _empty$: any;
constructor(html$: Str... |
import { keccak256 } from "js-sha3";
import { Reader } from "protobufjs";
import secp256k1 from "secp256k1";
import { Identity } from "../identity";
import * as proto from "../proto/status/v1/application_metadata_message";
import { ApplicationMetadataMessage_Type } from "../proto/status/v1/application_metadata_message... |
export default function toUppercase(text: string) {
return text.toUpperCase();
} |
/*!
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
'use strict'
import { hostedFilesBaseUrl } from '../shared/constants'
export const blueprintsManifestPath: string =
'LambdaSampleFunctions/NETCore/msbuild-v4/vs-lambda-blueprint-manifest.xml'
... |
import { useEffect, useState } from 'react';
import type { NextPage } from 'next';
import { useRouter } from 'next/router';
import Head from 'next/head';
import { Button, Grid, Box, CircularProgress, Link } from '@mui/material';
import { AppPage } from '../components/app-page';
import { dashboardWalletFactory } from '... |
import { StyleSheet } from 'react-native';
export { commonStyles } from '../commonStyles';
export const styles = StyleSheet.create({
footerContainer: {
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center'
},
inputContainer: {
borderRadius: 15,
width: ... |
export const NoConfig = "No configuration found. The platform will be initialized with the default configuration.";
export const ConfigUpdateRequired = "Your config is outdated. It will be temporarily converted to the latest format, but you should consider updating your config file."; |
/**
*
*
* OpenAPI spec version: 20190531
*
*
* 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 * as React from 'react';
import { Option, OptGroup } from './src/index.js';
import Select, { AbstractSelectProps, SelectValue, OptionProps, OptGroupProps } from './Select';
import classNames from 'classnames';
import Input from '../Input';
import InputElement from './InputElement';
import './style/index.less';
... |
// CloudFormation Resource AWS::ElasticLoadBalancingV2::Listener
import { CfnResource, Resolvable } from '../../base';
export type Listener_Type = 'AWS::ElasticLoadBalancingV2::Listener';
export const Listener_Type = 'AWS::ElasticLoadBalancingV2::Listener';
/**
* Resource Type definition for AWS::ElasticLoadBalanci... |
/**
* Sets the `node` to the given `x` and `y` absolute position.
*
* @category Node
*/
export function setAbsolutePosition(
node: SceneNode,
vector: { x?: number; y?: number }
): void {
let x = typeof vector.x === 'undefined' ? null : vector.x
let y = typeof vector.y === 'undefined' ? null : vector.y
let... |
import Course from "@models/Course";
import Department from "@models/Department";
import StudentLectureAttendance from "@models/JoinTables/StudentLectureAttended";
import Professor from "@models/Users/Professor";
import Student from "@models/Users/Student";
import { IsFQDN, Max } from "class-validator";
import {
Co... |
import * as React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import List, { TransferListProps } from './list';
import Operation from './operation';
import Search from './search';
import LocaleReceiver from '../locale-provider/LocaleReceiver';
import defaultLocale from '../loc... |
import BaseImageURLMessage from '../Base'
import { Message } from 'discord.js';
import fetch from 'node-fetch';
export default class CatImageURLMessage extends BaseImageURLMessage {
constructor(msgObject: Message) {
super(msgObject);
this.apiEndPoint = "https://aws.random.cat/meow";
this.targetMessageCo... |
// Examples from project repo used for tests.
import Sortable = require("sortablejs");
var simpleList = document.createElement('ul');
var list = simpleList;
var el = document.createElement('div');
var sortable = new Sortable(simpleList, {});
var order = sortable.toArray();
var angular: any;
var Ply: any;
sortable.so... |
/*
Copyright 2017 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 agreed to in writing, software
dis... |
import { useMultiwallet } from "@renproject/multiwallet-ui";
import {
burnMachine,
BurnMachineContext,
BurnMachineEvent,
BurnMachineSchema,
GatewaySession,
} from "@renproject/ren-tx";
import { useMachine } from "@xstate/react";
import { useCallback, useEffect } from "react";
import { useDispatch, useSelector... |
import { Request, Response } from 'express';
import { container } from 'tsyringe';
// app -> services
import UpdateProfileService from '@modules/users/services/UpdateProfileService';
import ShowProfileService from '@modules/users/services/ShowProfileService';
export default class ProfileController {
public async sh... |
import * as React from "react";
/* tslint:disable:no-var-requires */
const styles: any = require("./Node.module.css");
/* tslint:enable:no-var-requires */
import { INodeProps } from "./INodeProps";
class Node extends React.Component<INodeProps, {}> {
public render() {
return this._getNestedFolderTypeNod... |
import { CommonDescriptor } from './common-descriptor.interface';
/**
* Descriptor with its unique optional `get()` and `set()` functions, of the `Value` type.
* For the accessor descriptor with also the object type, please use the type `ThisAccessorDescriptor<Value, Obj>`.
*/
export interface AccessorDescriptor<Val... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { EmployeesComponent } from './employees/employees.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { EmployeeDetailComponent } from './employee-detail/employee-detail.compone... |
import { Button, Form, Input, InputNumber, Select } from 'antd'
import dayjs, { Dayjs } from 'dayjs'
import { ScrollablePane } from 'office-ui-fabric-react/lib/ScrollablePane'
import React, { useState, useMemo } from 'react'
import { useTranslation } from 'react-i18next'
import { getValueFormat } from '@baurine/grafana... |
import { Component, OnInit } from '@angular/core';
import { Site } from '../models/site.model';
@Component({
selector: 'app-body',
templateUrl: './body.component.html',
styleUrls: ['./body.component.css']
})
export class BodyComponent implements OnInit {
constructor() { }
ngOnInit() {
}
subtitle = "201... |
// 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,
API_KEY: 'INSERT_YOUR_API_KEY_HERE',
CX: 'INSER... |
import * as React from 'react';
import autoBindMethods from 'class-autobind-decorator';
import {IExecution, IExecutionStage} from 'core/domain';
import {Application} from 'core/application/application.model';
import {ReactInjector} from 'core/reactShims';
import {timePickerTime} from 'core/utils/timeFormatters';
impor... |
export * from './hotel.dto'; |
import { SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SESv2Client";
import { PutAccountSuppressionAttributesRequest, PutAccountSuppressionAttributesResponse } from "../models/models_0";
import {
deserializeAws_restJson1PutAccountSuppressionAttributesCommand,
serializeAws_restJson1PutA... |
/*
* Copyright 2020
* SRFG - Salzburg Research Forschungsgesellschaft mbH; Salzburg; Austria
In collaboration with
* SRDC - Software Research & Development Consultancy; Ankara; Turkey
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lice... |
import Image from 'next/image';
import { useEffect, useRef, useState } from 'react';
import Slider from 'rc-slider';
import 'rc-slider/assets/index.css';
import { usePlayer } from '../../contexts/PlayerContext';
import styles from './styles.module.scss';
import { convertDurationToTimeString } from '../../utils/conve... |
import { renderHook } from "@hackr/chakra-ui-test-utils"
import { useToken } from "../src"
import * as system from "../src/providers"
const mockRed = {
100: "mockRed.100",
200: "mockRed.200",
300: "mockRed.300",
400: "mockRed.400",
500: "mockRed.500",
}
const mockBlue = {
100: "mockBlue.100",
200: "mock... |
import {
DocumentDefinition,
FilterQuery,
QueryOptions,
UpdateQuery,
} from "mongoose";
import IndustryModel, { IndustryDocument } from "../models/industry.model";
export async function createIndustry(
input: DocumentDefinition<
Omit<IndustryDocument, "createdAt" | "updatedAt" | "productId">
>
) {
re... |
import * as pino from 'pino'
import { LOG_LEVEL, DeepstreamPlugin, DeepstreamLogger, DeepstreamServices, NamespacedLogger, EVENT } from '@deepstream/types'
const DSToPino: { [index: number]: string } = {
[LOG_LEVEL.DEBUG]: 'debug',
[LOG_LEVEL.FATAL]: 'fatal',
[LOG_LEVEL.ERROR]: 'error',
[LOG_LEVEL.WARN... |
import {
ChangeDetectionStrategy,
Component,
ElementRef,
EventEmitter,
HostBinding,
Input,
Output,
ViewEncapsulation,
ViewChild
} from '@angular/core';
import {parseBooleanAttribute} from '../../util';
import {validateStyleInput, validateSizeInput, ButtonComponent} from '../button.co... |
import { PortSets } from './PortSets';
import { getDataSource, PortSet, PortSetRepository } from '../model/portsets';
import { getSampleDataSource } from '../model/portsets.sample';
import { initializeIcons } from '@fluentui/react/lib/Icons';
initializeIcons();
const dataSource = getSampleDataSource();
const emptyDat... |
/**
* 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 {PluginConfig, DocusaurusConfig} from '@docusaurus/types';
import Joi from '@hapi/joi';
import {CONFIG_FILE_NAME} from '../... |
import { MigrationInterface, QueryRunner } from 'typeorm';
export class EventSponsor1575819672562 implements MigrationInterface {
name = 'EventSponsor1575819672562';
public async up(queryRunner: QueryRunner): Promise<any> {
await queryRunner.query(
`CREATE TABLE "event_sponsors" (
"id" SERIAL ... |
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... |
export declare const cilMouth: string[]; |
import { BaseResponse } from "../baseTypes";
interface SmallAndLightEnrollmentQuery {
marketplaceIds: string[];
}
interface SmallAndLightEnrollmentPath {
sellerSKU: string;
}
interface SmallAndLightEnrollment {
marketplaceId: string;
sellerSKU: string;
status: "ENROLLED" | "NOT_ENROLLED";
}
export interfa... |
/**
* Copyright (c) Super Awesome Design System
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
type Props = {
'aria-label'?: string;
'aria-labelledby'?: string;
tabIndex?: number;
title?: str... |
/**
* @licence
* Copyright (c) 2021, ッツ Reader Authors
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
import { Injectable } from '@angular/core';
import { BehaviorSubject, Subject } from 'rxjs';
import... |
import { css, ElementStyles } from '@microsoft/fast-element';
import { display, ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
import {
bodyFont,
neutralForegroundRest,
neutralStrokeDividerRest,
strokeWidth,
typeRampMinus1FontSize,
typeRampMinus1LineHeight,
} from... |
import React from 'react';
import { useLocation, useNavigate } from 'react-router-dom';
import { useAppContextApi, useAppSelector } from '../../redux';
import { apiClass } from '../../services/apis/apiClass';
import { parseParams } from '../../utils';
interface Props {}
export const JoinClass = (props: Props) => {
... |
import {Decorator} from "@sirian/decorators";
import {Annotation, AnnotationOptions} from "../Annotation";
import {AnnotationRegistry} from "../AnnotationRegistry";
export type PropertyAnnotationCtor<O = any> = new(object: object, k: PropertyKey, opts?: O) => PropertyAnnotation<O>;
export class PropertyAnnotation<O =... |
import * as React from "react";
import { Vector2 } from 'babylonjs/Maths/math.vector';
interface IAnchorSvgPointProps {
control: Vector2;
anchor: Vector2;
active: boolean;
type: string;
index: string;
selected: boolean;
selectControlPoint: (id: string) => void;
}
export class AnchorSvgPoint exte... |
import { expect } from 'chai';
import { API_VERSION, BASE, constructListUrl, constructUrl } from '../src/util';
import { endpointRunner } from './support/endpoint-runner';
import {
abilityTests,
berryFirmnessTests,
berryFlavorTests,
berryTests,
characteristicTests,
contestEffectTests,
contestTypeTests,
... |
import React, { useState, useEffect } from "react";
import { Typography, Grid, TextField, Button, IconButton } from "@material-ui/core";
import { Close } from '@material-ui/icons';
import { AddressFormState } from './addressFormState';
import { Address } from './addressInterface';
import addressService from "../../serv... |
import { generatorType } from '../../../types';
import { idModule } from '../../id';
import { statisticType } from '../statisticType';
export { statisticGenerator };
const statisticGenerator: generatorType<statisticType> = {
generate: ({
_id,
annotationsCount,
appealNumber,
chamberName,
decision... |
import { EtapaEnsino } from './../etapa-ensino/etapa-ensino.entity';
import { EtapaEnsinoService } from './../etapa-ensino/etapa-ensino.service';
import { SerieRepository } from './serie.repository';
import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Serie } from '... |
import { DataPipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataPipelineClient";
import { EvaluateExpressionInput, EvaluateExpressionOutput } from "../models/models_0";
import {
deserializeAws_json1_1EvaluateExpressionCommand,
serializeAws_json1_1EvaluateExpressionCommand,
} from "..... |
import { Command, Flags, Interfaces } from '@oclif/core';
import cli from 'cli-ux';
import { resolve } from 'node:path';
import globby from 'globby';
import { execSync } from 'node:child_process';
import { existsSync, readFileSync, unlinkSync } from 'node:fs';
import { IO, PromptsIO } from 'boilersmith/io';
import { St... |
import { noop } from 'lodash';
import React, { useCallback, useContext, FunctionComponent } from 'react';
import { Omit } from 'utility-types';
import { CustomError } from '../../common/error';
import { connectFormik, ConnectFormikProps } from '../../common/form';
import { withLanguage, WithLanguageProps } from '../..... |
import { LicenseManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerClient";
import { GetServiceSettingsRequest, GetServiceSettingsResponse } from "../models/models_0";
import {
deserializeAws_json1_1GetServiceSettingsCommand,
serializeAws_json1_1GetServiceSettingsCommand,
} ... |
/*
Copyright (C) 2017 Red Hat, 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.