text stringlengths 10 953k |
|---|
/*
* 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 {
Component,
ElementRef,
EventEmitter,
forwardRef,
Input,
OnInit,
Output,
ViewChild,
OnChanges,
Renderer2,
} from '@angular/core';
import {
ControlValueAccessor,
NG_VALUE_ACCESSOR,
FormControl,
} from '@angular/forms';
import { debounceTime } from 'rxjs/operators';
const COUNTER_CONTRO... |
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... |
import { Module } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { SequelizeModule } from '@nestjs/sequelize'
import { User } from './users/users.model'
import { UsersModule } from './users/users.module'
import { RolesModule } from './roles/roles.module'
import { Role } from './roles/roles.m... |
import { createSlice, PayloadAction, nanoid, createSelector } from "@reduxjs/toolkit"
import { RootState } from ".."
import { RDateType } from "../../class"
import { BookState } from "./main"
import { getTags } from "./utilities"
type SummaryField = {
id: string,
book?: BookState["id"], //Change to id
date... |
/**
* 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 Actions from '../core/Actions';
import { Editor } from 'tinymc... |
/// <reference types="react" />
import { DefaultNavigatorOptions, TabRouterOptions } from '@react-navigation/native';
declare type Props = DefaultNavigatorOptions<{}> & TabRouterOptions;
declare const _default: <NavigationPropType extends import("@react-navigation/native").NavigationProp<any, any, any, any, any>, Param... |
import CellEditorListener = require('nashorn/javax/swing/event/CellEditorListener');
import CellEditor = require('nashorn/javax/swing/CellEditor');
import Serializable = require('nashorn/java/io/Serializable');
declare class AbstractCellEditor {
cellEditorListeners : CellEditorListener[];
constructor();
getCellEdit... |
import { DefaultMap } from './../../data_structures/default_map';
import { GraphAnalysis, Subscriptions } from '../../data_structures/visitor';
import { Stack } from '../../data_structures/Stack';
import { Action, ActionSequence, Mutation, ActionKind } from './lock_calculation';
import { MongoNodeSet } from '../globals... |
import React, { Component } from 'react';
import {
Link,
Route, Switch, withRouter,
} from 'react-router-dom';
import { Grid } from 'semantic-ui-react';
import routeService from '../services/_routeService';
import Layout from './Layout'
interface AppContainerInput{
num: number,
}
const AppContainer = ()=>{
r... |
import React, { useCallback } from "react";
import { CustomCellProps } from "./withCustomCell";
import { useDropzone } from "react-dropzone";
import _findIndex from "lodash/findIndex";
import clsx from "clsx";
import {
makeStyles,
createStyles,
fade,
Grid,
Chip,
IconButton,
CircularProgress,
} from "@mat... |
import React from 'react'
import { Section } from '../../../../../modules/vendor/decentraland/routing/types'
import { DropdownMenu } from '../../../../Menu/DropdownMenu'
import { MenuItem } from '../../../../Menu/MenuItem'
import { Props } from '../NFTSections.types'
const shouldRenderSection = (section: Section, sec... |
import React from 'react';
import renderer from 'react-test-renderer';
import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import Slider from './Slider';
import data from './data';
describe('Slider', () => {
it('Should render correctly', () => {
const tr... |
export type CardElementSpacing = 'small' | 'default' | 'medium' | 'large' | 'extraLarge' | 'padding'
export type CardElement = {
/**
* A unique Id associated with the element
*/
id?: string
} & (
| { spacing: 'none'; separator?: false }
| {
/**
* Defines the amount of spacing between this ele... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-user-register',
templateUrl: './user-register.component.html',
styleUrls: ['./user-register.component.sass']
})
export class UserRegisterComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
import isNil from 'lodash.isnil';
import isString from 'lodash.isstring';
import { JsonApiIdentifierBuilder } from './jsonApiIdentifier.builder';
import { JsonApiLinksBuilder } from './jsonApiLinks.builder';
import { JsonApiRelationship } from './jsonApiRelationship.interface';
import { JsonApiRelationshipBuilder } fro... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { map, zipObject } from 'lodash';
const isString = (val: any): boolea... |
/**
* Generate Release
* Written by Kevin Gravier <kevin@mrkmg.com>
* MIT License 2018
*/
import Chai = require("chai");
import * as childProcess from "child_process";
import {SinonStub, stub} from "sinon";
import {GitCommands} from "../../../src/lib/GitCommands";
import {setupGitStreamTestRepo} from "../../helper... |
import searchBarStyles from "@/pages/DataLogs/components/SearchBar/index.less";
import { QueryTypeEnum } from "@/config/config";
import TableQuery from "@/pages/DataLogs/components/SearchBar/TableQuery";
import RawLogQuery from "@/pages/DataLogs/components/SearchBar/RawLogQuery";
import { useModel } from "@@/plugin-mod... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'ng-about',
templateUrl: './about.component.html',
styleUrls: ['./about.component.css']
})
export class AboutComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
import {ICarrinho} from "./ICarrinho";
export interface IPurchase{
carrinho: ICarrinho,
totalValue: number,
totalPaid: number
} |
import React from 'react'
import { queryCampaigns } from './backend'
import AddIcon from 'mdi-react/AddIcon'
import { Link } from '../../../../../../shared/src/components/Link'
import { RouteComponentProps } from 'react-router'
import { FilteredConnection, FilteredConnectionFilter } from '../../../../components/Filtere... |
export type Network = 'localhost' | 'rinkeby' | 'ropsten' | 'mainnet' | 'ropstenD' | 'ropstenT';
export interface Config {
network: Network;
rest_api_address: string;
operator_fee_address: string;
etherscan_api_key?: string;
}
export interface TokensInfo {
total: {
eth: number;
usd... |
const themes = {
LIGHT: 'LIGHT',
HACKER: 'HACKER',
COMIC: 'COMIC',
REDDY: 'REDDY',
DARK: 'DARK',
};
const themeOptions = [
{
title: 'Cream deLight',
value: themes.LIGHT,
description: 'The classic light theme.',
},
{
title: 'Hacker deBug',
value: themes.HACKER,
description: 'Them... |
import { Result, Union2, Intersect2, Constraint, ConstraintCheck, Brand } from './index.js';
import { Reflect } from './reflect.js';
/**
* A runtype determines at runtime whether a value conforms to a type specification.
*/
export interface Runtype<A = unknown> {
/**
* Verifies that a value conforms to this ... |
import { INormalizedArgument } from '../input/argument';
import { CommandValidationException } from '../../exceptions/command-validation.exception';
export class NormalizedArgumentsValidator {
static validate(argDefs: INormalizedArgument[]): void {
this.validateRequiredPositions(argDefs);
this.validateNameUn... |
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.2" tiledversion="1.2.3" name="Dungeon" tilewidth="16" tileheight="16" tilecount="448" columns="8">
<image source="Dungeon1.png" width="128" height="896"/>
</tileset> |
/**
* @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 { AuthenticatedRecordRepository, MetadataRepository } from '../../src/repositories/index';
const fetchMock = require('fetch-mock/es5/client');
describe('CurrentUserRecordRepository', () => {
const logicalName = 'account';
let recordRepo: AuthenticatedRecordRepository;
let metadataRepo: jasmine.SpyObj<Me... |
import { AuthenticationRequest, AuthenticationResponse } from '../model/auth';
import { Observable, tap } from 'rxjs';
import { AuthGuard } from './auth-guard';
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { JwtHelperService } from './jwt-helper.service';
import ... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
import * as React from 'react';
import { Section } from '../Guide';
import SearchInput from '../SearchInput';
export interface State {
value: string;
}
const description = `
The... |
import React, {useState} from 'react';
import {
View,
Text,
FlatList,
TextInput,
StyleSheet,
Switch,
TouchableOpacity,
} from 'react-native';
import {Divider, Row, Spacer, TempoButton} from 'component';
import {useStore} from 'Root.store';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons... |
// @ts-ignore
import toHTML from '@starptech/prettyhtml-hast-to-html'
import { CodeGeneratorFunction, HastNode } from '@teleporthq/teleport-types'
export const generator: CodeGeneratorFunction<HastNode> = (htmlObject) => {
return toHTML(htmlObject)
} |
import React, { FormEvent, useState, ChangeEvent } from "react";
import { Map, Marker, TileLayer } from 'react-leaflet';
import { LeafletMouseEvent } from 'leaflet';
import { useHistory } from "react-router-dom";
import { FiPlus } from "react-icons/fi";
import mapIcon from "../utils/mapIcon";
import Sidebar from "../... |
import { AxiosError } from 'axios';
import useRequest, { Return } from '../swr/useRequest';
import { IUser, IUserReadDTO } from '@src/interfaces';
import {
readConfig,
meReadConfig,
isFollowingConfig,
meFollowingUsersConfig,
} from '@src/services/api/User/config';
import { getCookie } from '@src/lib/utils';
im... |
import { Module } from '@nestjs/common'
import { ConfigModule } from '@nestjs/config'
import { TypeOrmModule } from '@nestjs/typeorm'
import { TypeORMFactory } from './typeorm.factory'
@Module({
imports: [
TypeOrmModule.forRootAsync({
imports: [ConfigModule],
useClass: TypeORMFactory,
}),
],
}... |
import { createIcon } from "@chakra-ui/react"
const RepositoryIcon = createIcon({
displayName: "ReposiotryIcon",
viewBox: "0 0 24 24",
d: "M13 21V23.5L10 21.5L7 23.5V21H6.5C5.57174 21 4.6815 20.6313 4.02513 19.9749C3.36875 19.3185 3 18.4283 3 17.5V5C3 4.20435 3.31607 3.44129 3.87868 2.87868C4.44129 2.31607 5.204... |
/*
* BackgroundAnalysisProgram.ts
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT license.
*
* Applies operations to both the foreground program and a background
* analysis running in a worker process.
*/
import { CancellationToken } from 'vscode-languageserver';
import { BackgroundAnalysisBase... |
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed 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.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/* All free solid fontawesome icons -> https://fontawesome.com/icons?d=gallery&s=solid&m=free */
import {
faAngleDown,
faAngleRight,
faArrowLeft,
faBars,
faBookOpen,
faChartArea,
faChartBar,
faChartPie,
faChevronDown,
faChevronUp,
faColumns,
faSearch,
faTable,
fa... |
import { Platform as ReactNativePlatform, PlatformOSType } from 'react-native';
import {
isDOMAvailable,
canUseEventListeners,
canUseViewport,
isAsyncDebugging,
} from './environment/browser';
export type PlatformSelectOSType = PlatformOSType | 'native' | 'electron' | 'default';
export type PlatformSelect = ... |
export const createGrid = (size, color, type): string => {
const canvas: HTMLCanvasElement = document.createElement('canvas');
const ctx = canvas.getContext('2d') as CanvasRenderingContext2D;
const size2 = size * 2;
canvas.height = canvas.width = size * 2;
ctx.beginPath();
if (type === 'dashed') {
ctx... |
import type { IStyledComponentFactory, RuleSet, StyledOptions, WebTarget } from '../types';
declare function createStyledComponent<Target extends WebTarget, OuterProps = unknown, Statics = unknown>(target: Target, options: StyledOptions<OuterProps>, rules: RuleSet<OuterProps>): ReturnType<IStyledComponentFactory<Target... |
import App from '../App'
import Setting from './Setting'
interface Settings {
showLogoOnStartup: Setting<boolean>
timeOffset: Setting<number>
colors: {
default: {
clock: Setting<string>
background: Setting<string>
progressBackground: Setting<string>
progressFilled: Setting<string>
... |
import { Dispatch } from 'redux';
import { API } from 'aws-amplify';
import { createProjectMutation, bindUserToProjectMutation, createRepositoryMutation } from 'graphql/mutations';
import { getProjectByUUIDQuery, getProjectsQuery, getUserLinksQuery } from 'graphql/queries';
import { IProject } from 'types/types';
impor... |
// Copyright 2018 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 in ... |
import 'reflect-metadata';
import { ItemsComponent } from "~/app/item/items.component";
import { nsTestBedAfterEach, nsTestBedRender, nsTestBedBeforeEach } from "nativescript-angular/testing";
import { MockService, ItemService } from "~/app/item/item.service";
import { ComponentFixture } from '@angular/core/testing';
i... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="nb" version="2.1">
<context>
<name>MInstall</name>
<message>
<location filename="minstall.cpp" line="64"/>
<source>%1 Installer</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="minstall.cpp... |
import { StructureProcessor } from '@ephox/boulder';
import { Arr, Optional, Type } from '@ephox/katamari';
import { checkboxDataProcessor } from '../components/dialog/Checkbox';
import { collectionDataProcessor } from '../components/dialog/Collection';
import { colorInputDataProcessor } from '../components/dialog/Col... |
export declare class UsuarioController {
} |
import { Telegram } from "telegraf"
import { User, Chat, Message } from "typegram"
import { Context, MatchedContext, MethodConfig, Storage } from "../types"
import { getSuperAdmins } from "./superadmin"
const BOT_USERNAME_REGEX = new RegExp(/\/([a-zA-Z0-9_\-\.]+)(@\S+)?/)
export function isMediaMessage(message: Messa... |
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... |
export class QuestionCount {
easyCount: number = 0;
mediumCount: number = 0;
hardCount: number = 0;
} |
import { expect } from 'chai';
import { IHttpError } from '../../src/index';
describe('Http Message', () => {
describe('#IHttpError(...)', () => {
it('should return message and code', () => {
const httpMessage= new IHttpError('Not Found', 404);
expect(httpMessage.message).to.be.eq(... |
import { PanelType } from './Panel.types';
import {
AnimationClassNames,
AnimationVariables,
getGlobalClassNames,
HighContrastSelector,
ScreenWidthMinMedium,
ScreenWidthMinLarge,
ScreenWidthMinXLarge,
ScreenWidthMinXXLarge,
ScreenWidthMinUhfMobile,
IconFontSizes,
} from '../../Styling';
import type ... |
import {AmplifyCodeBlock} from "./code-block";
import {newSpecPage} from "@stencil/core/testing";
describe("amplify-code-block", () => {
describe("Render logic", () => {
it("should render", async () => {
expect(
(
await newSpecPage({
components: [AmplifyCodeBlock],
... |
/*---------------------------------------------------------------------------------------------
* 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 Description, { DescriptionRow } from '@synerise/ds-description';
import Status from '@synerise/ds-status';
import { select, text } from '@storybook/addon-knobs';
import { AddM, DuplicateS, LockM, MailM, PlayM, SearchM, UserM, VarTypeStringM } from '@synerise/ds-icon/dist/icons';
... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import '@testing-library/cypress/add-commands'
import 'cypress-real-events/support'
import './api_commands'
import './ui_commands' |
export interface UpdateQuery {
$set?: { [key: string]: { $ifNotExists: any } | any };
$unset?: { [key: string]: any };
$inc?: { [key: string]: any };
$push?: { [key: string]: any };
$unshift?: { [key: string]: any };
$addToSet?: { [key: string]: any };
$removeFromSet?: { [key: string]: any };
} |
import { CircularProgress } from "@material-ui/core";
import Alert from "components/Alert";
import Button from "components/Button";
import { CalendarIcon } from "components/Icons";
import TextBody from "components/TextBody";
import { Community } from "proto/communities_pb";
import hasAtLeastOnePage from "utils/hasAtLea... |
import { ThemeProvider } from "@emotion/react";
import { BottomNavigation, BottomNavigationAction, Container, CssBaseline, Paper, useTheme } from "@mui/material";
import { useContext, useState } from "react";
import HomeIcon from '@mui/icons-material/Home';
import NewspaperIcon from '@mui/icons-material/Newspaper';
imp... |
import Knex from 'knex';
export async function up(knex: Knex)
{
return knex.schema.createTable('teachers', table =>
{
table.increments('id').primary();
table.string('name').notNullable();
table.string('email').notNullable();
table.string('rg').notNullable().unique();
... |
import * as semver from 'semver';
declare module 'semver' {
interface SemVer {
toString(): string;
}
interface Comparator {
toString(): string;
}
interface Range {
toString(): string;
}
}
export = semver; |
import {
ChimeClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
} from "../ChimeClient";
import {
GetVoiceConnectorRequest,
GetVoiceConnectorResponse
} from "../models/index";
import {
deserializeAws_restJson1_1GetVoiceConnectorCommand,
serializeAws_restJson1_1GetVoiceConnectorCommand
} from "..... |
import React from 'react';
import { AuthProvider } from './auth';
const AppProvider: React.FC = ({ children }) => (
<AuthProvider>
<>{children}</>
</AuthProvider>
);
export default AppProvider; |
import React from 'react';
import styled from 'react-emotion';
import {useApolloClient} from '@apollo/react-hooks'
import { menuItemClassName } from '../components/menu-item';
import { ReactComponent as ExitIcon } from '../assets/icons/exit.svg';
export default function LogoutButton() {
const client = useApolloCli... |
import { FeatureCollection, BBox, Point, Polygon } from '@turf/helpers';
/**
* http://turfjs.org/docs/#voronoi
*/
export default function voronoi(
points: FeatureCollection<Point>,
options?: any
): FeatureCollection<Polygon>; |
import React, { useState } from "react";
import { ExampleComponentProps } from "../../../doc-utils";
import { SecondaryButton } from "../src";
export const Secondary: React.FC<ExampleComponentProps> = ({ boolValues }) => {
const [showLoader, setShowLoader] = useState(false);
const loader = { showLoader: showLo... |
import { TagTemplate, Template, TemplateType } from './template';
import { reverse } from './util/reverse';
import { AttributeType } from './template';
import { isUnsubscribable } from './util/is-subscibable';
import { Renderable } from './renderable';
import { State } from './state';
import { isDisposable } from './ab... |
import React, { Component } from 'react';
import { FlatList, ActivityIndicator, NativeSyntheticEvent, NativeScrollEvent } from 'react-native';
import { Expense } from './networking';
import ExpenseCell from './expenseCell';
export interface Props {
expenses: Expense[]
initialLoad: boolean
isScrolledCloseTo... |
import { Injectable } from '@nestjs/common';
import axios from 'axios';
import { ConfigService } from '../config/config.service';
import { LoggerService } from '../logger/logger.service';
const URL = 'https://api.ipgeolocation.io/ipgeo';
export interface IIpGeolocationResult {
country_flag?: string;
}
@Injectable... |
/*
* Public API Surface of ngx-waiting
*/
export * from './lib/ngx-waiting.service';
export * from './lib/ngx-waiting.component';
export * from './lib/ngx-waiting.module'; |
import React, { FC, useMemo } from 'react';
import { IconNode, HasDependences, useLabelText } from '@rediagram/cdk';
import { resolveAsset } from '../../assets';
import { useAssertProvider } from '../../hooks/assert-provider';
export type PersonalizeProps = {
name: string;
} & HasDependences;
function resolveImage(... |
import * as React from "react";
import { Button } from "library-simplified-reusable-components";
import { PencilIcon } from "@nypl/dgx-svg-icons";
export interface WithEditButtonProps {
disabled: boolean;
onEdit: () => void;
}
/** When wrapped around an element, renders an edit button next to the element. */
expo... |
///<reference path="harness.ts" />
///<reference path="runnerbase.ts" />
// Test case is json of below type in tests/cases/project/
interface ProjectRunnerTestCase {
scenario: string;
projectRoot: string; // project where it lives - this also is the current directory when compiling
inputFiles: string[]; //... |
export { default as Split } from './Split';
export * from './SplitClient';
export { default as SplitProvider, SplitContext } from './SplitProvider';
export * from './useSplit';
export * from './useTrack'; |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*-------------------------------------------------------------------------... |
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ToastrService, IndividualConfig } from 'ngx-toastr';
import { AdminAPIsService } from 'app/services/admin-apis.service';
import { NgxSpinnerService } from 'ngx-spinner';
import { NgbModal } from '@ng-bo... |
import {
COMPONENT_TYPES,
createStaticBoolProp,
createStaticNumberProp,
} from "@draftbit/types";
export const SEED_DATA = {
name: "Keyboard Aware Scroll View",
tag: "KeyboardAwareScrollView",
description:
"View that moves pushes the content when virtual keyboard is open.",
category: COMPONENT_TYPES.... |
/**
* Copyright 2020-Present Han Lee <hanlee.dev@gmail.com>
*
* 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 ... |
export default function getOuterWidth(el: HTMLElement, defaultValue?: any): number; |
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/mongoose';
import { Emitter } from './schemas/emitter.schema';
import { Model } from 'mongoose';
import { SchemaRepository } from '../common/repositories/schema.repository';
@Injectable()
export class EmittersRepository extends SchemaRep... |
import { RequireFromMainProcess } from '../require/require-from-main-process';
const versionStr = RequireFromMainProcess.electron.app.getVersion();
const includesAlphaInVersionStr = versionStr.toLowerCase().includes('alpha');
export function isAlphaVersion(): boolean { return includesAlphaInVersionStr; }
const inclu... |
import { Component, Input, OnInit } from '@angular/core';
import { AbstractControl } from '@angular/forms';
import { JsonSchemaFormService } from '@cfstratos/ajsf-core';
@Component({
// tslint:disable-next-line:component-selector
selector: 'material-checkbox-widget',
template: `
<mat-checkbox *ngIf="boundCon... |
enum PersonSituationType {
/**
* Ativa
*/
ACTIVE = 'ACTIVE',
/**
* Bloqueada
*/
BLOCKED = 'BLOCKED'
}
export = PersonSituationType; |
import { MongooseModule } from '@nestjs/mongoose';
import { Module } from '@nestjs/common';
import { OrderService } from './order.service';
import { OrderController } from './order.controller';
import { OrderSchema } from './order.model';
import { FoodItemSchema } from '../foodItems/foodItems.model';
import { UserSche... |
import React from "react";
export const radioChecked = (props: React.SVGProps<SVGSVGElement>) => {
return (
<svg width={24} height={24} viewBox="0 0 24 24" {...props}>
<path fill="none" d="M0 0h24v24H0V0z" />
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.... |
import { ThemeColorToneKey } from '../theme';
/**
* @public
*/
export declare type CardTone = ThemeColorToneKey | 'inherit';
//# sourceMappingURL=card.d.ts.map |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { appRoutingModule } from './app.routing';
import { JwtInterceptor, ErrorInterce... |
import { Message } from "discord.js";
import { Track } from "discord-player";
import Bot from "../../structures/Bot";
import Event from "../../structures/Event";
export default class PlayerTrackAddEvent extends Event {
constructor(bot: Bot) {
super(bot, "trackAdd");
}
async execute(bot: Bot, message: Messag... |
import { ModelRegistry } from '../service/ModelRegistry';
import { RedactUnless } from '../interfaces/RedactUnless';
/**
* Indicates that a field should be ignored.
*/
export function redact(unless?: RedactUnless): any {
return (target: any, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor ... |
import "jest";
import { Configuration } from "webpack";
import config, { newModule } from "./webpack.config";
/**
* @todo should create a generator to do this but for now let's disable this rule here
*/
/* tslint:disable no-object-literal-type-assertion */
describe("@pixeloven/storybook", () => {
describe("confi... |
import { _UnmarshalledObjectLockLegalHold } from "./_ObjectLockLegalHold";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* GetObjectLegalHoldOutput shape
*/
export interface GetObjectLegalHoldOutput
extends __aws_sdk_types.MetadataBearer {
/**
* <p>The current Legal Hold status for the specified obje... |
import { PointLayer, Scene } from '@antv/l7';
import { GaodeMap } from '@antv/l7-maps';
import * as React from 'react';
export default class Amapdemo_extrude extends React.Component {
// @ts-ignore
private scene: Scene;
public componentWillUnmount() {
this.scene.destroy();
}
public async componentDidMo... |
import * as React from 'react';
import { useTranslation } from 'react-i18next';
import { FormSelect, FormSelectOption, Split, SplitItem } from '@patternfly/react-core';
import { ValidationObject } from '@console/shared';
import { prefixedID } from '../../utils';
import { getStringEnumValues } from '../../utils/types';
... |
import TextCard from "./card/TextCard";
import InputCard from "./card/InputCard";
import AuthCard from "./card/AuthCard";
import CommonTitle from "./commonTitle/CommonTitle";
import Modal from "./modal/Modal";
import NavBar from "./nav/NavBar";
import DropZone from "./droppable/DropZone";
export { TextCard, InputCar... |
import React, { useRef } from "react";
function Lightbulb(props) {
const mesh = useRef<any>(null);
return (
<mesh ref={mesh} {...props} >
{/* <pointLight castShadow /> */}
<spotLight castShadow intensity={0.3} position={[5, 10, 50]} />
<sphereBufferGeometry args={[0.2, 10, 5]} />
<meshP... |
export * from 'graphql-tools';
export * from 'graphql-subscriptions';
export { ApolloError, toApolloError, SyntaxError, ValidationError, AuthenticationError, ForbiddenError, UserInputError, gql, } from 'apollo-server-core';
//# sourceMappingURL=exports.d.ts.map |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.