text stringlengths 10 953k |
|---|
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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 "../utilities";
/**
* D... |
export interface LoginDto {
username: string,
password: string
} |
/**
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.o... |
import { ProgrammingLanguage } from './programminglanguage.enum';
export class TestCodeSolutionDetails {
language: ProgrammingLanguage;
totalNumberOfAttempts: number;
numberOfSuccessfulAttempts: number;
codeSolution: string;
} |
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerExecutionContext,
HttpHandlerOptions... |
declare module "d3-flame-graph" {
export function flamegraph(): FlameGraph;
export interface StackFrame {
name: string;
value: number;
children: StackFrame[];
}
type LabelHandler = (node: any) => string;
type NameHandler = (node: any) => string;
type ClickHandler = (node... |
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`, but if you do
// `ng build --env=prod` then `environment.prod.ts` will be used instead.
// The list of which env maps to which file can be found in `.angul... |
/* tslint:disable */
import { ReflectMetadata } from '@nestjs/common';
export const Roles = (...roles: RoleName[]) => ReflectMetadata('roles', roles);
export enum RoleName {
SUPER_ADMIN = -1,
ADMIN = 0,
USER = 1,
} |
import _ from 'lodash';
import {
colors,
createMuiTheme,
responsiveFontSizes
} from '@material-ui/core';
import type { Theme as MuiTheme } from '@material-ui/core/styles/createMuiTheme';
import type { Shadows as MuiShadows } from '@material-ui/core/styles/shadows';
import type {
Palette as MuiPalette,
Palette... |
import * as webpack from 'webpack';
import * as path from 'path';
import * as HtmlWebpackPlugin from 'html-webpack-plugin';
import * as ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
const IS_PROD: boolean = process.argv.indexOf('-p') > -1;
export default {
devtool: IS_PROD ? 'source-map' : 'eval... |
import { Schema, model, Document } from 'mongoose'
export interface RefreshTokenAttributes {
UserId: string
token: string
createdAt?: Date
updatedAt?: Date
}
export interface verifyRefreshTokenAttributes {
_id?: string
nama: string
email: string
active: boolean
}
interface RefreshTokenCreationAttribu... |
<TS language="bg" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Десен клик за промяна на адреса или името</translation>
</message>
<message>
<source>Create a new address</source>
<transla... |
import VersionVector from "./versionVector";
import Char from "./char";
import Identifier from "./identifier";
import Version from "./version";
export function randomID() {
return Math.random()
.toString(36)
.substr(2, 9);
}
export enum Strategy {
Plus = "Plus",
Minus = "Minus",
Random = "Random",
E... |
import React from "react";
import ClassNames from "classnames";
import withStyles, { WithStyles } from "@material-ui/core/styles/withStyles";
import { CardBodyStyle } from "./CardBodyStyle";
export const CardBody = withStyles(CardBodyStyle)((
{
classes,
className,
children,
background,
plain,
... |
import { TaskParameters } from './taskparameters';
import { KuduServiceUtility } from 'azure-pipelines-tasks-azurermdeploycommon/operations/KuduServiceUtility';
import { AzureAppService } from 'azure-pipelines-tasks-azurermdeploycommon/azure-arm-rest/azure-arm-app-service';
import { AzureRMEndpoint } from 'azure-pipeli... |
import { XModule } from '../x-modules.types';
import { nextQueriesEmitters } from './store/emitters';
import { nextQueriesXStoreModule } from './store/module';
import { NextQueriesXStoreModule } from './store/types';
import { nextQueriesWiring } from './wiring';
/**
* NextQueries {@link XModule} alias.
*
* @public
... |
import { FowerPlugin } from '@fower/types'
declare const _default: () => FowerPlugin
export default _default
declare module '@fower/types' {
export interface AtomicProps {
/**
* Set textDecoration to underline
*
* @example
* ```tsx
* <Box underline></Box>
* ```
*/
underlin... |
import { TransformerResolversManagerProvider } from './transformer-resolver-provider';
import { TransformerDataSourceManagerProvider } from './transformer-datasource-provider';
import { TransformerProviderRegistry } from './transformer-provider-registry';
import { DocumentNode } from 'graphql';
import { TransformerCont... |
import { parseExcelSheet } from '../parseExcelSheet';
import { ExcelSheet, ParseSheetOptions } from '../types';
describe('parseExcelSheet(:excelSheet, :options)', () => {
const excelSheet: ExcelSheet = [{
A: 1, B: 'string', C: undefined,
}];
it('should parse only the requested columns', () => {
const s... |
// package: types
// file: events.proto
/* tslint:disable */
import * as jspb from "google-protobuf";
import * as access_path_pb from "./access_path_pb";
import * as proof_pb from "./proof_pb";
export class Event extends jspb.Message {
hasAccessPath(): boolean;
clearAccessPath(): void;
getAccessPath():... |
import type { BasicTableProps, FetchParams, SorterResult } from '../types/table';
import type { PaginationProps } from '../types/pagination';
import {
ref,
unref,
ComputedRef,
computed,
onMounted,
watch,
reactive,
Ref,
watchEffect,
} from 'vue';
import { useTimeoutFn } from '/@/hooks/core/useTimeout';... |
import React from 'react';
import { FontAwesome5 as Icon } from '@expo/vector-icons';
import { Text, StyleSheet, View, Image, Alert } from 'react-native';
import { RectButton } from 'react-native-gesture-handler';
import Header from '../../components/Header';
import { useNavigation } from '@react-navigation/native';
... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React from 'react';
import {shallow} from 'enzyme';
import {ChannelType} from 'mattermost-redux/types/channels';
import SidebarChannelLink from 'components/sidebar/sidebar_channel/sidebar_channel_li... |
$(document).ready(function() {
// Place JavaScript code here...
}); |
import {inject,injectable} from 'tsyringe';
import AppError from '@shared/errors/AppError';
import User from '@modules/users/infra/typeorm/models/Users';
import IUsersRepository from '../Repositories/IUsersRepository';
import IHashProvider from '../providers/HashProvider/models/IHashProvider';
interface Request {
n... |
/** @format */
import { ISvgIconProps, IconWrapper } from '../runtime';
export const BytedOscillator = IconWrapper(
'byted-oscillator',
false,
(props: ISvgIconProps) => (
<svg width={props.size} height={props.size} viewBox="0 0 48 48" fill="none">
<path
d="M7 9V24C7 27.3137 9.68629 30 13 30H35... |
import { Injectable, Inject } from '@nestjs/common';
import { MigvanBranch, Branch, CatalogItem } from 'src/shared/types/system.types';
import { MysqlService } from 'src/shared/mysql/mysql.service';
import { APP_TABLES } from 'src/shared/mysql/db.defaults';
import { PoolConnection } from 'promise-mysql';
// import { MY... |
export enum LanguageEnum {
ENGLISH,
HINDI,
MARATHI,
} |
import { ComponentResolver } from '../types'
export interface ElementPlusResolverOptions {
/**
* import style along with components
*
* @default true
*/
importStyle?: boolean
}
/**
* Resolver for Element Plus
*
* See https://github.com/antfu/vite-plugin-components/pull/28 for more details
*
* @au... |
/* eslint-disable sort-keys */
import * as React from 'react'
import * as Sb from '../../stories/storybook'
import BlockModal from './block-modal/container'
import Invitation from './invitation-to-block'
import * as Container from '../../util/container'
import * as Constants from '../../constants/chat2'
const others =... |
import { Component, Inject, Input, OnInit, OnDestroy, ViewContainerRef, ViewEncapsulation } from '@angular/core';
import { MdDialog, MdDialogConfig, MdDialogRef, MdSnackBar, MdSnackBarConfig } from '@angular/material';
import { ProjectService } from '../project.service';
import { UserAgentService } from '../../shared/... |
import { render } from "../../../core/render/src/vue";
import { SchemaData } from "../../../core/parser/src/types/schema";
import EnhanceProp from "./components/enhance-prop";
import { ComponentInfo } from "../types/transform";
import { DescriptorProp } from "../types/descriptor/props-descriptor";
export abstract clas... |
import React, { Component, ReactElement, ReactNode, useContext } from 'react'
import { OPTIMIZED_FONT_PROVIDERS } from '../shared/lib/constants'
import type {
DocumentContext,
DocumentInitialProps,
DocumentProps,
} from '../shared/lib/utils'
import { BuildManifest, getPageFiles } from '../server/get-page-files'
i... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HourlyWeightComponent } from './hourly-weight.component';
describe('HourlyWeightComponent', () => {
let component: HourlyWeightComponent;
let fixture: ComponentFixture<HourlyWeightComponent>;
beforeEach(async(() => {
TestBed... |
import * as crypto from 'crypto';
import * as fs from 'fs';
import * as path from 'path';
import { IgnoreStrategy } from './ignore';
import { FingerprintOptions, IgnoreMode, SymlinkFollowMode } from './options';
import { shouldFollow } from './utils';
const BUFFER_SIZE = 8 * 1024;
const CTRL_SOH = '\x01';
const CTRL_S... |
import commander from 'commander';
import createFileTreeWriter from 'file-tree-writer';
import chalk from 'chalk';
import { askQuestions, template } from '../template';
import directoryIsEmpty from '../utils/directoryIsEmpty';
import removeErrorLogs from '../utils/removeErrorLogs';
export interface CommandLineOptions ... |
import {
detectEnv, hasEnv,
EBrowser, EDeviceCategory,
} from "../src";
console.log('detected', {detectEnvironment: detectEnv});
if (typeof document !== "undefined")
document.write(
JSON.stringify({detectEnvironment: detectEnv}, null, 4)
.split("\n")
.join('<br/>')+
'<br/>'+
'<br/>'+
`is chrome ${has... |
import { ArgsType, Field } from '@nestjs/graphql'
@ArgsType()
export class ShowArgs {
@Field()
_id: string
} |
/*******************************************************************************
Test data delivery of BOA Client using internal web server
Copyright:
Copyright (c) 2020-2021 BOSAGORA Foundation
All rights reserved.
License:
MIT License. See LICENSE for details.
*****************... |
import * as React from "react";
import {
SystemProviderProps,
SystemProvider,
} from "reakit-system/SystemProvider";
import { unstable_IdProvider as IdProvider } from "./Id/IdProvider";
export type ProviderProps = Partial<SystemProviderProps> & {
unstable_prefix?: string;
};
export function Provider({
unstabl... |
import { LeaveZoneSignature } from '../../operator/leaveZone';
declare module 'rxjs/Observable' {
interface Observable<T> {
leaveZone: LeaveZoneSignature<T>;
}
} |
import { decrypt, encrypt } from "@utils";
export const dict = {
LSL_hash: "", // when truly logging in
LSL_TS: "", // when starting
LSL_time: "",
user_id: "", // current user ID
server_location: "", // current server location
lang: "",
version: "",
};
export const store = {
get(term: keyof typeof dict, non?:... |
import S3GuildRepository from '../../repositories/implementations/S3/s3GuildRepository';
import S3UserRepository from '../../repositories/implementations/S3/s3UserRepository';
import GuildInfosHandler from './infos';
const guildRepo = new S3GuildRepository();
const userRepo = new S3UserRepository();
const guildInfosH... |
import {IBaseThread, Thread} from '../state/state'
import {Link} from 'react-router-dom';
import { useContext, useEffect, useState } from 'react';
import { AppContext } from '../state/context';
import { getAndAddThreadById } from '../state/actionCreators';
declare global {
interface Window {
swarm:any;
}
}
... |
import { format } from 'date-fns';
import { Link } from 'gatsby';
import { lighten } from 'polished';
import React from 'react';
import { css } from '@emotion/react';
import styled from '@emotion/styled';
import { colors } from '../styles/colors';
import { PageContext } from '../templates/post';
export interface Pos... |
export type SMTPConfig = {
from: string,
host: string;
secure?: boolean;
port?: number;
auth: {
user: string;
pass: string;
};
ignoreTLS?: boolean;
tls: { rejectUnauthorized?: boolean; ciphers?: string };
status: boolean;
}; |
import { TUniversalRadio } from 'ui-core-models';
export interface RadioPageProps {
playerElement?: JSX.Element;
playButton?: JSX.Element;
playButtonTopLogo?: JSX.Element;
playButtonBackground?: JSX.Element;
background?: JSX.Element;
externalBackgroundEffect?: string;
logo?: JSX.Element;
... |
import React from 'react';
import { Menu, Container, Button } from 'semantic-ui-react';
import { useAppDispatch, useAppSelector } from '../hooks/useRedux';
import { toggleForm } from '../store/tasks/taskSlice';
import { toggleRegister, logout } from '../store/auth/authSlice';
export const Navigation = () => {
const ... |
/// <reference path="../../../typings/main/ambient/node/node.d.ts" />
"use strict";
import * as net from "net";
import LineStream from "../../util/linestream";
import Pop3Protocol from "./pop3protocol";
/**
* A connection from a POP3 server to a POP3 client
* @author Michel Kraemer
*/
class Pop3ServerConnection e... |
import { Injectable } from '@angular/core';
import {
HttpRequest,
HttpHandler,
HttpEvent,
HttpInterceptor, HTTP_INTERCEPTORS
} from '@angular/common/http';
import { Observable } from 'rxjs';
import {TokenService} from '../service/token.service';
const TOKEN_HEADER_KEY = 'Authorization';
@Injectable()
export cla... |
import MetaModel = require("../metamodel")
import Sys = require("./systemTypes")
import Decls=require("./declarations")
/**
* Created by kor on 07/07/15.
*/
export class Annotable {
annotations:Decls.AnnotationRef[]
$annotations=[
MetaModel.noDirectParse(),
MetaModel.setsContextValue("locationKind",... |
export { daffProductReducers } from './product-reducers';
export {
DaffProductReducersState,
DaffProductStateRootSlice,
} from './product-reducers-state.interface';
export { DaffProductGridReducerState } from './product-grid/product-grid-reducer-state.interface';
export { daffProductGridReducer } from './product-gr... |
export class PlaceResponse {
photos:any
formatted_address:any
name:any
rating:any
opening_hours:any
geometry:any
} |
export { default } from './CenteringModes'; |
import ValidationError from '../error/validation_error';
import getType from '../util/get_type';
import validate from './validate';
import type {StyleSpecification, TerrainSpecification} from '../types.g';
import type v8 from '../reference/v8.json';
export default function validateTerrain(
options: {value: Terrain... |
import { useEffect, useState } from 'react';
import { api } from './services/api';
import { SideBar } from './components/SideBar';
import { Content } from './components/Content';
import './styles/global.scss';
import './styles/sidebar.scss';
import './styles/content.scss';
interface GenreResponseProps {
id: number;
... |
import { getSwaggerConfig } from "./getSwaggerConfig";
import { SwaggerConfig } from "./types";
export function generateService() {
const { serviceName }: SwaggerConfig = getSwaggerConfig();
const name = serviceName ? `${serviceName}` : "";
return `
export let service = "${name}"
export const setService... |
/*!
* Copyright 2020 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
// import Axios from "axios";
// import Cookie from "js-cookie";
import {
USER_LOGIN_REQUEST,
USER_LOGIN_SUCCESS,
USER_LOGIN_FAIL,
USER_SIGNUP_REQUEST,
USER_SIGNUP_SUCCESS,
USER_SIGNUP_FAIL,
USER_LOGOUT,
SET_USER,
SET_ERROR,
} from "../constants/userConstants";
export interface Action {
type: any;
... |
import { Job } from './job';
import { TaskWorker } from './TaskWorker';
export async function handleJobs(jobs: Job[], pool: TaskWorker[]) {
// const pool = getPool(scriptFile, poolSize);
let tasks = [] as Promise<Job>[];
/** start max amount of initial jobs */
const x = Math.min(pool.length, jobs.length);
... |
import { Buffer } from 'buffer';
import { BITS_SPEEDS, EFormatBit, ESubProtocol, ETextEncoding, VBANProtocolFactory, VBANTEXTPacket } from '../../src';
describe('VBANTextPacket.test.ts', () => {
describe('from Buffer', () => {
it('should handle basic convert buffer to packet', () => {
const buf... |
import React from 'react'
import { RouteComponentProps } from 'react-router'
import { PageHeader } from '@sourcegraph/wildcard'
import { PageTitle } from '../../../components/PageTitle'
import { UserAreaUserFields } from '../../../graphql-operations'
import { queryUserBatchChangesCodeHosts } from './backend'
import ... |
import { AnimeTop } from './../interface/anime-top';
import { Component, OnInit } from '@angular/core';
import { AnimeMangaService } from '../services/anime-manga.service';
@Component({
selector: 'app-mangas',
templateUrl: './mangas.component.html',
styleUrls: ['./mangas.component.css']
})
export class MangasCom... |
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
} from "ethers";
import {
Contract,
ContractTransaction,
CallOverrides,
} from "@ethersproject/contracts";
import { BytesLike ... |
import { module } from 'angular';
import { WEBHOOK_STAGE } from './webhookStage';
import { STAGE_COMMON_MODULE } from '../common/stage.common.module';
import { TIME_FORMATTERS } from 'core/utils/timeFormatters';
import { WEBHOOK_EXECUTION_DETAILS_CONTROLLER } from './webhookExecutionDetails.controller';
import { WEBHO... |
import { browser, by, element } from 'protractor';
export class AppPage {
// eslint-disable-next-line class-methods-use-this
public get titleText(): Promise<string> {
return element(by.css('ez-root')).getText() as Promise<string>;
}
// eslint-disable-next-line class-methods-use-this
public navigateTo(): Promis... |
import { WithStyle } from '@medly-components/utils';
import React, { FC } from 'react';
import UndoIconSvg from '../../assets/Content/undo_24px_rounded.svg';
import SvgIcon, { SvgIconProps } from '../../SvgIcon';
const UndoIcon: FC<SvgIconProps> & WithStyle = React.memo(props => {
const { size, withHoverEffect, co... |
<TS language="fi" version="2.1">
<context>
<name>AddNewAddressDialog</name>
<message>
<source>Address</source>
<translation>Osoite</translation>
</message>
</context>
<context>
<name>AddNewContactDialog</name>
<message>
<source>TextLabel</source>
<translation>Teks... |
import { expect } from 'chai';
import { mountJsonForms } from '../util';
const schema = {
type: 'array',
title: 'My Array',
items: {
type: 'string'
}
};
const uischema = {
type: 'Control',
scope: '#'
};
describe('ArrayListRenderer.vue', () => {
it('renders a fieldset', () => {
const wrapper = mo... |
import { u128, VM } from "near-sdk-as";
import {
TransferEvent, recordTransferEvent, getNewestTransferEvent,
ApprovalEvent, recordApprovalEvent, getNewestApprovalEvent
} from "../events"
function logs(): string[] {
return VM.outcome().logs;
}
const spender = "spender";
const owner = "owner";
const from = "from"... |
export * from './Frontops';
export * from './Css';
export * from './Jam';
export * from './Js';
export * from './Monitor';
export * from './Seo';
export * from './Ux';
export * from './Utils';
export * from '../CategoryImage'; |
import React from 'react';
import Key from 'components/JSONView/ObjView/CompositeView/Value/Key';
import { render } from 'enzyme';
describe('<Key />', () => {
it('Renders correctly', () => {
const props = { value: 'test', isArray: false };
const output = render(<Key {...props} />);
expect(... |
// (C) 2021 GoodData Corporation
import { getAccountMenuFeatureFlagsMock, getWorkspacePermissionsMock } from "./mock";
import { generateHeaderMenuItemsGroups } from "../generateHeaderMenuItemsGroups";
describe("generateHeaderMenuItemsGroups", () => {
it("should return dashboards and report items if hidePixelPerfec... |
import ClassicsScrollBar from './ClassicsScrollBar.vue';
// @ts-ignore
ClassicsScrollBar.install = function(Vue) {
Vue.component('ClassicsScrollBar', ClassicsScrollBar)
};
export default ClassicsScrollBar |
import React from 'react'
import { connect, MapStateToProps } from 'react-redux'
import { runInBackground } from 'src/util/webextensionRPC'
import NotificationContainer, {
selectors as notifs,
} from '../../../notifications'
import { selectors as filters } from 'src/search-filters'
import NoResultBadTerm from './N... |
export * from './is-selector-read-only'; |
// Type definitions for Material Components Web 0.43
// Project: https://material.io/components/
// Definitions by: Arthur Groupp <https://github.com/agroupp>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
/**
* @license
* Copyright 2018 Google Inc.
*
* Permission is ... |
import { IVideoPlayerIMA } from "../types/ima";
export const isIMAStream = (url: string): boolean => {
return url.startsWith('https://dai.google.com');
}
export const getIMAConfig = (url: string): IVideoPlayerIMA => {
const isVod = url.indexOf('https://dai.google.com/ondemand') !== -1;
const regex = isVod ? /co... |
import React from 'react';
import { View } from 'react-native';
import { Swiper } from '@uiw/react-native';
const SwiperDemo = () => {
const data = [
{ url: 'https://img2.baidu.com/it/u=1669646624,570058533&fm=26&fmt=auto&gp=0.jpg' },
{ url: 'https://img0.baidu.com/it/u=1079471900,3150741739&fm=26&... |
import React, { useEffect, useRef, useState } from 'react';
import { get } from '@lianmed/request';
import { IBloodListItem } from "@lianmed/lmg/lib/services/types";
import { getOptions1 } from "./options";
import { Table } from 'antd';
import { convertstarttime } from '@lianmed/lmg';
// 引入 ECharts 主模块
var echarts = re... |
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('Setting... |
export interface ImportResourcePathPackage {
kind: 'package';
packageName: string;
importPath?: string;
}
export interface ImportResourcePathRelative {
kind: 'relative';
importPath: string;
sourcePath: string;
}
export interface ImportResourcePathRelativeInPackage {
kind: 'relative-in-packag... |
import { AnyAction } from 'redux';
import stageActions from './stageActions';
import deviceActions from './deviceActions';
import {
ServerDeviceEvents,
ServerGlobalEvents,
ServerStageEvents,
ServerUserEvents,
} from '../../global/SocketEvents';
import { User } from '../../types';
import AdditionalReducerTypes f... |
import variable from "./../variables/platform";
export default (variables = variable) => {
const iconTheme = {
fontSize: variables.iconFontSize,
color: "#000",
};
return iconTheme;
}; |
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack";
import * as __aws_sdk_types from "@aws-sdk/types";
import { ListInvalidations } from "../model/operations/ListInvalidations";
import { InputTypesUnion } from "../types/InputTypesUnion";
import { OutputTypesUnion } from "../types/OutputTypesUnion";... |
export const setPositionAtSelection = (el: HTMLElement) => {
const domSelection = window.getSelection();
if (!domSelection || domSelection.rangeCount < 1) return;
const domRange = domSelection.getRangeAt(0);
const rect = domRange.getBoundingClientRect();
el.style.opacity = '1';
el.style.top = `${rect.top ... |
import { InputValueDefinitionNode, DirectiveNode } from "graphql";
import { ExtensionsDirective, ObjectTypeComposerFieldConfigAsObjectDefinition } from "graphql-compose";
import { BaseField } from "../types";
export declare function graphqlArgsToCompose(args: InputValueDefinitionNode[]): {};
export declare function gra... |
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
import { RemoveRoleFromInstanceProfileRequest } from "../models/index";
import {
deserializeAws_queryRemoveRoleFromInstanceProfileCommand,
serializeAws_queryRemoveRoleFromInstanceProfileCommand,
} from "../protocols/Aws_q... |
import * as React from 'react';
import { StyledIconProps } from '../../StyledIconBase';
export declare const PowerSettingsNewDimensions: {
height: number;
width: number;
}; |
import * as React from 'react';
export interface PerfRecord {
renderWithProps: boolean;
}
declare const PerfContext: React.Context<PerfRecord>;
export default PerfContext; |
/**
Copyright 2019 Forestry.io 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, softwa... |
import { Request, Response } from 'express';
import { container } from 'tsyringe';
import CreateUserService from '@modules/users/services/CreateUserService';
import { classToClass } from 'class-transformer';
export default class UsersController {
public async create(request: Request, response: Response): Promise<R... |
import { RegisterComponent } from './auth/register/register.component';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { LoginComponent } from './auth/login/login.component';
import { DashboardComponent } from './shared/components/dashboard/dashboard.component';... |
import { actions, Wallet } from '@metaplex/js';
import { PublicKey } from '@solana/web3.js';
import useCluster from '@/composables/cluster';
const { getConnection } = useCluster();
export async function NFTUpdate(
wallet: Wallet,
editionMint: PublicKey,
newMetadataData?: any,
newUpdateAuthority?: PublicKey,
... |
import Card from "@material-ui/core/Card";
import CardContent from "@material-ui/core/CardContent";
import { makeStyles } from "@material-ui/core/styles";
import Typography from "@material-ui/core/Typography";
import React from "react";
import { FormattedMessage, useIntl } from "react-intl";
import CardTitle from "@sa... |
export { BoxShape } from "./BoxShape";
export { ConnectorShape } from "./ConnectorShape";
export { CustomShape } from "./CustomShape";
export { createShapeExtension } from "./Extends";
export { LinkShape } from "./LinkShape";
export { MessageShape } from "./MessageShape"; |
import { iteratee } from "../fp";
export = iteratee; |
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack";
import * as __aws_sdk_types from "@aws-sdk/types";
import { DeleteVirtualMFADevice } from "../model/operations/DeleteVirtualMFADevice";
import { InputTypesUnion } from "../types/InputTypesUnion";
import { OutputTypesUnion } from "../types/OutputTy... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { StructExampleComponent } from './struct-example.component';
describe('StructExampleComponent', () => {
let component: StructExampleComponent;
let fixture: ComponentFixture<StructExampleComponent>;
beforeEach(async(() => {
Te... |
export class ModalService {
private modals: any[] = [];
add(modal: any) {
// add modal to array of active modals
this.modals.push(modal);
}
remove(id: string) {
// remove modal from array of active modals
this.modals = this.modals.filter(x => x.id !== id);
}
op... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.