text stringlengths 10 953k |
|---|
/*---------------------------------------------------------------------------------------------
* Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license terms.
*--------------------------------------------------------------... |
export declare class ObjectUtils {
equals(obj1: any, obj2: any, field?: string): boolean;
equalsByValue(obj1: any, obj2: any): boolean;
resolveFieldData(data: any, field: string): any;
filter(value: any[], fields: any[], filterValue: string): any[];
reorderArray(value: any[], from: number, to: numbe... |
import { G, Path } from 'react-native-svg';
import * as React from 'react';
import withIcon from '../../lib/withIcon';
type Props = {
opacity?: string;
color?: string;
secondaryColor?: string;
set?: string;
strokeWidth?: string | number;
};
const ShieldFail = ({
color, secondaryColor, strokeWidth, opacity... |
// @ts-nocheck Ignore module definition errors for auto generated services
import { AccountBudgetProposalServiceClient } from "../protos/google/ads/googleads/v4/services/account_budget_proposal_service_grpc_pb";
import { AccountBudgetServiceClient } from "../protos/google/ads/googleads/v4/services/account_budget_servi... |
/* global __NEXT_DATA__ */
// tslint:disable:no-console
import { ParsedUrlQuery } from 'querystring'
import { ComponentType } from 'react'
import { UrlObject } from 'url'
import {
normalizePathTrailingSlash,
removePathTrailingSlash,
} from '../../../client/normalize-trailing-slash'
import { GoodPageCache, StyleShee... |
import ts=require("./typesystem")
import rs=require("./restrictions")
import ms=require("./metainfo")
import {TypeInformation, Abstract, Polymorphic} from "./typesystem";
import {MinProperties, MaxProperties, MinLength, MaxLength, MinItems , MaxItems, Minimum,
Maximum, Enum, Pattern, UniqueItems,
Pr... |
// std
import { AddressInfo } from 'net';
import * as http from 'http';
// 3p
import { io } from 'socket.io-client';
import * as superagent from 'superagent';
// FoalTS
import { ISocketIOController, SocketIOController, WsServer } from '@foal/socket.io';
import { closeConnections, createConnections } from './common';
... |
import { BasicGate } from '../basics';
import { complex, matrix } from 'mathjs';
// Square-root X gate class
export class SqrtXGate extends BasicGate {
get matrix() {
return matrix([
[complex(0.5, 0.5), complex(0.5, -0.5)] as any,
[complex(0.5, -0.5), complex(0.5, 0.5)]
])
... |
import { Tutor } from './tutor';
import { Resource } from './resource';
import { Feedback } from './feedback';
export class Lecture {
id: string;
name: string;
description: string;
type: string; //main or supplementary
url: string;
learningOutcomesUrl: string;
learningOutcomes: string;
... |
import { css, palette2, RcThemedStyled, spacing } from '../../../../foundation';
import { RcIcon } from '../../../Icon';
import { RcToggleButtonSpace } from '../../ToggleButton/utils';
import { RcToggleButtonGroupProps } from '../ToggleButtonGroup';
import { RcToggleButtonGroupClasses } from '../utils';
import { boxSty... |
import React, { useCallback, useEffect, useRef, useState } from "react";
import { Header } from "./common";
import Styles from "./modal.styles.less";
import { UnsupportedChainIdError, useWeb3React } from "@web3-react/core";
import { AbstractConnector } from "@web3-react/abstract-connector";
import { WalletConnectConnec... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distr... |
import * as React from 'react';
import styled from 'styled-components';
interface Props {}
export function Text(props: Props) {
return <StyledText {...props} />;
}
const StyledText = styled.label`
/*
* This would be replaced with a global css set
* in order to prevent massive rules duplication
* in page... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PickingComponent } from './picking.component';
import { AgregarPickingComponent } from './agregar-picking/agregar-picking.component';
const routes: Routes = [{
path: '',
component: PickingComponent,
childr... |
import axios from "axios";
import { backend_url } from "../../url";
export default async function startTest(quizId: number, token: string) {
if (!quizId) return;
const quizStatus = await axios
.post(
`${backend_url}/api/quiz-test/start`,
{
quiz_id: quizId,
},
{
headers:... |
export interface Interaction {
id: string;
hash: string;
image: string;
dateTime: number;
issuer: string;
recipient: string;
isValid: boolean;
} |
import React from 'react';
export interface LoadingProps {
loaded: boolean;
children: React.ReactNode;
}
function Loading({ loaded, children }: LoadingProps) {
if (loaded === false) {
return (
<div>Loading...</div>
);
}
return (
<>
{React.Children.only(children)}
</>
);
}
ex... |
import { IMessage } from '@interfaces/interface'
import { AxiosError } from 'axios'
import * as config from '../configuration'
import { SnackReporter } from '../snack/SnackManager'
import { AuthStore } from '../stores/authentication.store'
export class WebSocketStore {
private wsActive = false
private ws: WebSock... |
export interface Cat {
id: number;
name: string;
breed: {
id: number;
};
} |
import { EventInfo } from './EventInfo';
class EventsGroup {
public readonly events: EventInfo[];
constructor(public readonly name: string,
condition: (e: EventInfo) => boolean,
allEvents: EventInfo[]) {
this.events = allEvents.filter(condition);
}
}
export { EventsGroup }; |
export class ExternalReference {
public source_name: string;
public external_id: string;
public description: string;
public url: string;
} |
import { DepositCall, RedeemCall } from '../generated/OHMDAIBondV4/OHMDAIBondV4'
import { Deposit, Redemption } from '../generated/schema'
import { loadOrCreateTransaction } from "./utils/Transactions"
import { loadOrCreateOHMie, updateOhmieBalance } from "./utils/OHMie"
import { toDecimal } from "./utils/Decimals"
i... |
import { ICommon } from '../common/ICommon';
export declare namespace IIntroduce {
/**
* ### Sample Rendering
*
* 
*
* @example https://github.com/uyu423/resume-nextjs/blob/master/payload/intro... |
import * as React from "react";
export interface Props extends React.SVGProps<SVGSVGElement> {
size?: number;
}
const Speakerphone = (
{ size = 24, ...props }: Props,
svgRef: React.Ref<SVGSVGElement>
) => {
return (
<svg
viewBox="0 0 20 20"
fill="currentColor"
width={size}
height={s... |
import { restore } from 'sinon';
import sinonChai = require('sinon-chai');
import { use } from 'chai';
import { callsLike } from 'sinon-chai-calls-assertion';
use(sinonChai);
use(callsLike);
beforeEach(() => {
restore();
}); |
// Copyright 2017 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... |
import React from 'react';
import Skeleton from '../../Skeleton';
import { Container } from './styles';
const LoadingTrendingPanel: React.FC = () => {
const Row = () => (
<div className="row">
<Skeleton className="square-skeleton white" />
<div className="column">
<Skeleton className="row-... |
import { FC, ReactNode, useState, useEffect } from 'react'
import { observer } from 'mobx-react-lite'
import { useRouter } from 'next/router'
import { useStore } from 'hooks'
import BaseLayout from '../'
import Error from 'components/ui/Error'
import ProductMenu from 'components/ui/ProductMenu'
import { generateAuthMe... |
import React from 'react';
import { bemClasses } from '../../helpers';
import { Toggle } from '../../components';
import { ERROR_TEXT } from '../../constants';
import { ErrorObject, ValidationError } from '../../types';
const renderErrors = (errors: ValidationError[]): React.ReactNode => {
if (!errors) {
return... |
import styled from 'styled-components'
const Wrap = styled.div`
position: fixed;
bottom: 0;
width: 100%;
background-color: aquamarine;
`
export { Wrap } |
import { MallModule } from './mall.module';
describe('MallModule', () => {
let mallModule: MallModule;
beforeEach(() => {
mallModule = new MallModule();
});
it('should create an instance', () => {
expect(mallModule).toBeTruthy();
});
}); |
import { Component, ViewEncapsulation, Input, ElementRef, ChangeDetectionStrategy, HostBinding, Renderer2 } from '@angular/core';
import { DaffColorable, DaffPalette, daffColorMixin } from '../../../core/colorable/colorable';
// DaffCalloutLayout will be deprecated in v1.0.0
export type DaffCalloutLayout = 'centered'... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AwsEC2StateComponent } from './ec2/state/aws-ec2-state.component';
import { AwsEC2NetworkComponent } from './ec2/network/aws-ec2-network.component';
import { AwsEC2StorageComponent } from './ec2/storage/aws-ec2-st... |
let x: any = 0 // TS9263 |
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-return */
/**
* Copyright 2021 Solomon Shalom Lijo.
*
* 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... |
// (C) Copyright 2015 Interactive Group Pvt Ltd.
//
// 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 l... |
import { CreateParams } from './interfaces';
import { Contract } from '@openzeppelin/upgrades';
export default function createProxy({ packageName, contractAlias, methodName, methodArgs, network, txParams, force, salt, signature, admin, kind, networkFile, }: Partial<CreateParams>): Promise<Contract | never>; |
/**
* Convert object keys to camel case
*/
declare function toCamelCase<T extends {}, S extends {}>(obj: T, ignored?: string[]): S;
export = toCamelCase; |
import assert from 'assert';
import * as N3 from 'n3';
import namespace from '@rdfjs/namespace';
import {
isSubstituableGraph,
rebuildBlankNodes,
findBlankNodes
} from "../../src/rdf/graph-substitution";
import { Quad } from '@rdfjs/types';
const ex = namespace("http://ex.org/", { factory: N3.DataFactory });
... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { AppToolbarComponent } from './app-toolbar.component';
describe('AppToolbarComponent', () => {
let component: AppToolbarComponent;
let fixture: ComponentFixture<AppToolbarComponent>;
beforeEach(async(() => {
TestBed.configure... |
/* eslint-disable @typescript-eslint/no-explicit-any */
import {
CSSResultGroup,
LitElement,
PropertyValues,
TemplateResult,
html,
unsafeCSS,
} from 'lit';
import { customElement, property, query, state } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { styleMap } f... |
import { expect } from 'chai';
import 'mocha';
import { StringMapping } from '../src/mapping';
import { MappedItem } from '../src/mapping/interface';
describe('StringMapper functions', () => {
const stringMapper = new StringMapping();
it('should return item', () => {
const mapper = {
type: "string",
... |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'musicclient';
} |
export default class Player {
public bodyId = -1
public screenName = ''
public canJump = true
public p = { x: 0, y: 0, z: 0 } //position
public q = { x: 0, y: 0, z: 0, w: 0 } //quaternion
public t = -1 //ping timestamp
constructor() {}
} |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://bangular.io/license
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See bangular/tools/gulp-tasks/cldr/extract.js
function plural(n: numb... |
export * from '../../src-middle/types'; |
import { Request, Response } from "express";
import { ControllerSettings } from "./decorators/ControllerSettings";
import { Controller } from "./controller/Controller";
import { Get } from "./decorators/Get";
import { ExpressRequest } from "./decorators/Request";
import { Endpoint } from "./decorators/Endpoint";
import... |
/*
* Copyright 2017-20 IBM 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 agreed ... |
import * as _ from 'lodash'
import { dsField } from '../../../../datasetFilters'
import { DatasetSource, FieldResolversFor } from '../../../bindingTypes'
import { ProjectSourceRepository } from '../../project/ProjectSourceRepository'
import { Dataset as DatasetModel } from '../model'
import {
DatasetDiagnostic as Dat... |
import { WindowTitle } from "@saleor/components/WindowTitle";
import useNavigator from "@saleor/hooks/useNavigator";
import useNotifier from "@saleor/hooks/useNotifier";
import OrderFulfillPage from "@saleor/orders/components/OrderFulfillPage";
import { useOrderFulfill } from "@saleor/orders/mutations";
import {
useO... |
<TS language="uz@Cyrl" 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>
... |
export interface SlideContents {
/** Relative URL to the background image. */
image: string;
/** Name of the contents. */
name: string;
/** Optional description of the contents. */
description?: string;
} |
// ------------------------------------------------------------------------------
// Copyright (c) 2017-present, RobotlegsJS. All Rights Reserved.
//
// NOTICE: You are permitted to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
// --------------------... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comp-4958',
templateUrl: './comp... |
import localDB from './localDB';
export { localDB };
export * from './crypto';
export * from './types/notes';
export * from './types/user'; |
/**
* Register libraries here
*/
export { default as Exception } from "./Exception";
export * from "./File";
export * from "./Http";
export * from "./Node"; |
import { IGroupedUserSettings, UserSetting } from '../../../common/appdb/models/user_setting'
import _ from 'lodash'
import Vue from 'vue'
import { Module } from 'vuex'
interface State {
settings: IGroupedUserSettings
}
const M = {
ADD: 'addSetting',
REPLACEALL: 'replaceSettings',
}
const SettingStoreModule: ... |
import { Provide, Inject, ServerlessTrigger, ServerlessTriggerType, ServerlessFunction } from '@midwayjs/decorator';
@Provide()
export class HelloService {
@Inject()
ctx; // context
@ServerlessTrigger(ServerlessTriggerType.HTTP, { path: '/trigger/http', method: 'get'})
@ServerlessTrigger(ServerlessTriggerT... |
import { assertEquals } from "../vendor/https/deno.land/std/testing/asserts.ts";
import { newClient, startRedis, stopRedis, TestSuite } from "./test_util.ts";
const suite = new TestSuite("geo");
const server = await startRedis({ port: 7005 });
const client = await newClient({ hostname: "127.0.0.1", port: 7005 });
sui... |
export interface Country {
name: any;
dial_code?: any;
code?: any;
}
export interface Customer {
name: string;
addresses: Address[];
}
export interface Address {
street: string;
postcode: string;
}
export interface IRule {
ruleId: string;
ruleName: string;
ruleCriteria:IRuleCr... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About BamitCoin</source>
<translation>Sobre BamitCoin</translation>
</message>
<message>
<... |
export interface TargetCommandGroup {
name:string;
commands:string[];
} |
import React from 'react';
import {setUserMapboxAccessToken, setExportHTMLMapMode} from '../../Actions';
import {IntlShape} from 'react-intl';
export type ExportHtmlMapProps = {
onChangeExportMapHTMLMode: typeof setExportHTMLMapMode;
onEditUserMapboxAccessToken: typeof setUserMapboxAccessToken;
options: {
us... |
import { IntersectOf } from './IntersectOf';
/**
* Get the last item within an [[Union]]
* (⚠️ it might not preserve order)
* @param U
* @returns [[Any]]
* @example
* ```ts
* ```
*/
export declare type Last<U extends any> = IntersectOf<U extends unknown ? (x: U) => void : never> extends (x: infer P) => void ? P... |
import { Word } from './word';
export interface WordList {
name: string;
enabled: boolean;
nouns: Array<Word>;
verbs: Array<Word>;
adjectives: Array<Word>;
misc: Array<Word>;
} |
import { Auth } from 'aws-amplify';
import AWSAppSyncClient, { AUTH_TYPE } from 'aws-appsync';
import gql from 'graphql-tag';
import { ResourceConstants } from 'graphql-transformer-common';
import { GraphQLTransform } from 'graphql-transformer-core';
import { DynamoDBModelTransformer } from 'graphql-dynamodb-transforme... |
// Copyright 2017 The Kubernetes Authors.
//
// 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 a... |
import csvParse from 'csv-parse';
import { getCustomRepository, getRepository, In } from 'typeorm';
import fs from 'fs';
import TransactionsRepository from '../repositories/TransactionsRepository';
import Transaction from '../models/Transaction';
import Category from '../models/Category';
interface CSVTransaction {
... |
import * as React from "react"
import { useMultiStyleConfig, Box, Container, BoxProps } from "@chakra-ui/react"
interface IMultiContainerProps extends BoxProps {
variant?: "solid" | "gradient" | "ghost" | undefined
colorScheme?: string
size?: "prose" | "1/4" | "2/4" | "3/4" | "full"
}
const MultiContainer: Reac... |
import RibbonButton from '../../../plugins/RibbonPlugin/RibbonButton';
import { Direction } from 'roosterjs-editor-types';
import { setDirection } from 'roosterjs-editor-api';
/**
* Key of localized strings of Left to right button
*/
export type LtrButtonStringKey = 'buttonNameLtr';
/**
* "Left to right" button on... |
import React, { FormEvent, useState } from 'react';
import { signIn, signUp } from '../api/auth';
import { IResponse } from '../api/interfaces';
import { useToast } from '../contexts/toastContext';
import {
FAILED, IDLE, LOADING, SUCCEEDED,
} from '../store/interfaces';
import Error from './common/Error';
import Load... |
import { createAction, props } from '@ngrx/store';
import { Bookmark } from 'src/app/shared/models/bookmark.model';
export const loadCurrentWeather = createAction(
'[Home] Load Current Weather',
props<{ query: string }>(),
);
export const loadCurrentWeatherById = createAction(
'[Home] Load Current Weather By I... |
// *** 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";
/*... |
import {render, waitFor} from '@testing-library/react'
import ProductDetails from './ProductDetails'
describe('ProductDetails', () => {
it('displays a product when provided the correct id', async () => {
const {container} = render(<ProductDetails id="2" />)
await waitFor(() => {
expect(container).toM... |
import React, { useState } from 'react';
import { View, Pressable, ViewStyle, TextStyle } from 'react-native';
import Cascade, { valueType, OptionProps } from '../cascade';
import Popup from '../popup';
import FormValue from '../form-value';
import styles from './style';
const prefixCls = 'cascade-popup';
export inte... |
import { preloadAnim } from './preloader-anim';
import { mainScriptLoaded } from './final-actions';
import { externalLoad } from './connect-external';
export function noSupportServiceWorker() {
/*/
* After the first launch, all heavy scripts are cached, so we can no longer show the preloader
/*/
fetch... |
import React from 'react'
import clsx from "clsx"
import { useDispatch, useSelector } from 'react-redux'
import Button from '@material-ui/core/Button'
import Dialog from '@material-ui/core/Dialog'
import CloseIcon from '@material-ui/icons/Close'
import IconButton from '@material-ui/core/IconButton'
import Typography ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
import APLRenderer from './APLRenderer';
import { VectorGraphic } from './components/avg/VectorGraphic';
import { VectorGraphicElementUpdater } from './components/avg/VectorGraphicElementUpdater';
impor... |
/*
Copyright 2019 - 2021 The Matrix.org Foundation C.I.C.
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... |
import { createElement, ReactNode, useEffect, useState } from "react";
import { MapSwitcher } from "./components/MapSwitcher";
import { MapsContainerProps } from "../typings/MapsProps";
import { useLocationResolver } from "./utils/geodecode";
import { getCurrentUserLocation } from "./utils/location";
import { Marker }... |
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Layout, Tabs } from 'antd';
import { useRecoilValue, useSetRecoilState } from 'recoil';
import './dapp.less';
import { sessionState, pageLockState } from '../../recoil/atom';
import DappBrow... |
import { Component, OnInit } from "@angular/core";
import { HttpClient } from "@angular/common/http";
@Component({
selector : 'process-list',
templateUrl : 'process-list.html'
})
export class ProcessListComponent implements OnInit {
process_list: any;
configObj: {};
constructor(public http: Http... |
import type { DIconProps } from '../Icon';
import { DollarCircleFilled as AntIcon } from '@ant-design/icons-svg';
import { DIcon } from '../Icon';
export function DollarCircleFilled(props: Omit<DIconProps, 'dIcon'>) {
return <DIcon {...props} dIcon={AntIcon} />;
} |
export function removeBigParentheses(lStr: string): string {
let textFix = '';
let deep = 0;
const sL = lStr.length;
for (let i = 0; i < sL; i++) {
switch (lStr[i]) {
case '{':
deep++;
textFix += '_';
break;
case '}':
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
(() => {
if ("serviceWorker" in navigator) {
(navigator as any).serviceWorker
.register("/service-worker.js")
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About KETOsis</source>
<translation>Acerca de KETOsis</translation>
</message>
<message>
<loc... |
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack";
import * as __aws_sdk_types from "@aws-sdk/types";
import * as _stream from "stream";
import { StartServer } from "../model/operations/StartServer";
import { InputTypesUnion } from "../types/InputTypesUnion";
import { OutputTypesUnion } from "../t... |
import { TestBed } from '@angular/core/testing';
import { AppMarkdownService } from './app-markdown.service';
describe('AppMarkdownService', () => {
let service: AppMarkdownService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(AppMarkdownService);
});
it('should be... |
version https://git-lfs.github.com/spec/v1
oid sha256:957f7e4b52e214796555af993c8ee135ec0c8d63550d1b98a9de830ded583ecd
size 1423348 |
export { default as RoundCropDin } from './Icon'; |
export { default as StorageService } from './Storage'; |
import React from 'react';
import { useCommonProps } from '../hooks/use-common-props.hook';
import { PrimitiveProps } from '../primitive/primitive.props';
import * as styles from './main-wrapper.css';
type Props = PrimitiveProps & {};
/**
* High level layout component to create a wrapper for the `<main/>` content
... |
import * as ErrorMessages from "./ErrorMessages";
import * as InfoMessages from "./InfoMessages";
import * as Gentron from "./Gentron";
export {
ErrorMessages,
InfoMessages,
Gentron
} |
import logger from '../../logger'
import * as React from 'react'
import * as Kb from '../../common-adapters'
import Feedback from '.'
import logSend from '../../native/log-send'
import * as Container from '../../util/container'
import * as RouteTreeGen from '../../actions/route-tree-gen'
import {isAndroid, version, log... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<source>About BottleCaps</source>
<translation type="obsolete">About BottleCaps</translation>
</message>
<message>
... |
/* tslint:disable:no-unused-variable */
/* tslint:disable:no-unused-expression */
/* tslint:disable:no-var-requires */
/* tslint:disable:max-classes-per-file */
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { Component, DebugElement } from '@angular/core';
import { By } from '@angular... |
import { Flags, Operator, create } from '../../test-util';
import { MapOperator } from './map';
describe('operators', () => {
describe('classes', () => {
describe('transforming', () => {
describe('MapOperator', () => {
const flags = Flags.combine(Flags.Stateless, Flags.SideEffectFree);
const args = [1, 2, 'a'];
... |
/* eslint-disable no-sync */
import * as ChildProcess from 'child_process'
import * as os from 'os'
type IndexLookup = {
[propName: string]: string
}
/**
* The names of any env vars that we shouldn't copy from the shell environment.
*/
const BlacklistedNames = new Set(['LOCAL_GIT_DIRECTORY'])
/**
* Inspect whe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.