text stringlengths 10 953k |
|---|
import { Document } from "./Document.model";
import { Location } from "./Location.model";
import { Images } from "./Images.model";
import { Bike } from "./Bike.model";
import { Login } from "./Login.model";
export class Dealer{
dealerId:number;
dealerName:string;
dealerEmail:string;
dealerMobileno:num... |
/*
* Copyright 2018-2020 VMware, Inc.
* SPDX-License-Identifier: BSD-2-Clause
*/
import { EventBusEnabled, MessageArgs, MessageHandler } from '../../../bus.api';
import { HttpRequest, RestError, RestErrorType, RestObject } from './rest.model';
import { LogLevel } from '../../../log';
import { BusStore } from '../..... |
import { Component } from '@angular/core';
@Component({
selector: 'app-loading-screen',
templateUrl: './loading-screen.component.html',
styleUrls: ['./loading-screen.component.less']
})
export class LoadingScreenComponent {
gif = (window as any).randomGif;
patron = (window as any).randomPatron;
} |
import styled from 'styled-components';
interface ProgressProps {
total: number;
current: number;
}
export const Container = styled.main`
width: 100%;
margin: 0 auto;
padding: 30px;
> header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
`;
... |
import Footer from '@/components/Footer';
import RightContent from '@/components/RightContent';
import { BookOutlined, LinkOutlined } from '@ant-design/icons';
import type { Settings as LayoutSettings } from '@ant-design/pro-components';
import { PageLoading, SettingDrawer } from '@ant-design/pro-components';
import ty... |
import cn from 'classnames'
import React, { FC } from 'react'
import dynamic from 'next/dynamic'
import { useRouter } from 'next/router'
import { CommerceProvider } from '@framework'
import { useUI } from '@components/ui/context'
import type { Page } from '@commerce/types/page'
import { Navbar, Footer } from '@componen... |
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import OrphanagesMap from './pages/OrphanagesMap';
import OrphanagesDetails from './pages/OrphanagesDetails';
import SelectMapPosition from './pages/CreateOrphanage... |
import {AfterViewInit, Component, ElementRef, ViewChild} from "@angular/core";
@Component({
selector: "app-root",
templateUrl: "./app.component.html",
styleUrls: ["./app.component.css"]
})
export class AppComponent implements AfterViewInit {
text = "https://github.com/werthdavid/ngx-kjua";
render = "svg";
... |
/*!
* @license
* Copyright 2019 Alfresco, Inc. and/or its affiliates.
*
* 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... |
import { Routes, RouterModule } from '@angular/router';
import { ModuleWithProviders } from '@angular/core';
import { DietchartsComponent } from './dietcharts.component';
// noinspection TypeScriptValidateTypes
export const routes: Routes = [
{
path: '',
component: DietchartsComponent,
}
];
export const ... |
import './binance';
import './bot';
import './store'; |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { ConfigService } from '@nestjs/config';
import { ValidationPipe } from '@nestjs/common';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
const configService = app.get(ConfigService);
app.en... |
import { Model } from 'mongoose';
import { MessageRecipientDTO } from './dto/MessageRecipient.dto';
import { MessageRecipientDocument } from './schema/MessageRecipient.schema';
export declare class MessageRecipientService {
private userConversationModel;
constructor(userConversationModel: Model<MessageRecipient... |
import { Component, OnInit, Input } from '@angular/core'
import { Location } from '@angular/common'
import { PagingData } from '@core/common-entity/paging-data'
import { CargoList } from '@core/cargo-list/cargo-list'
import { CargoListQueryDto } from '@core/cargo-list/cargo-list-query-dto'
import { CargoListService } f... |
import settings from '../settings';
import api from '../api';
import { village } from '../gamedata';
import { Inaturefinder, Imap_details, Ivillage } from '../interfaces';
import { find_state_data } from '../util';
import { nature_type } from '../data';
class nature_finder {
async get_nature(
village_id: number,
... |
// *** 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";
/**
* R... |
export * from './vendure-worker';
export * from './worker-health.service'; |
import * as dotenv from 'dotenv';
dotenv.config();
export default {
fileAuth: process.env.FILEAUTH ?? 'auth_info_multi.json',
authorizedUsers: process.env.AUTHORIZED_USERS ?? '[]',
prefixCommand : process.env.PREFIX_COMMAND ?? "#",
} |
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
import { SetupContext } from 'vue';
import Folder3FillSvg from '@airclass/icons-svg/lib/asn/Folder3Fill';
import AntdIcon, { AntdIconProps } from '../components/AntdIcon';
const Folder3Fill = (props: AntdIconProps, context: SetupContext) => {
const p ... |
import React from 'react'
import ReactDOM from 'react-dom'
import './asset/index.css'
import App from './App'
ReactDOM.render(
<React.StrictMode>
<App/>
</React.StrictMode>,
document.getElementById('root')
) |
import type { Head, Tail } from "./tuple.js";
/**
* Extracts from A all keys which have values assignable to type B.
*/
export type TypedKeys<A, B> = {
[P in Keys<A>]: B extends A[P] ? P : never;
}[keyof A];
export type NumericKeys<T> = TypedKeys<T, number>;
export type StringKeys<T> = TypedKeys<T, string>;
e... |
/*
* <<
* Davinci
* ==
* Copyright (C) 2016 - 2017 EDP
* ==
* 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 b... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bg" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About CybCSec</source>
<translation type="unfinished"/>
</message>
<message>
<location line="... |
import { createDecisionTable } from './createDecisionTable'
const conditions = Number(process.argv[2])
console.log(`${Array(conditions + 3).join('| ')}|`)
console.log(`${Array(conditions + 3).join('|-')}|`)
console.log(createDecisionTable(conditions).join('\n')) |
// general imports
import { TestBed, getTestBed } from '@angular/core/testing';
// class under inspection
import { TruncatePipe } from './truncate.pipe';
/**
* Suite: TruncatePipe
*/
describe('[ TruncatePipe ]', () => {
let injector: TestBed;
let pipe: TruncatePipe;
let mocktz1: string;
beforeEach(() => {
//... |
import { createReference, getReferenceString, IndexedStructureDefinition, ProfileResource } from '@medplum/core';
import {
ElementDefinition,
Questionnaire,
QuestionnaireItem,
QuestionnaireItemAnswerOption,
QuestionnaireResponse,
QuestionnaireResponseItem,
Reference,
} from '@medplum/fhirtypes';
import Re... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="14"/>
<source>About Bitcoin</source>
<translation>Sobre Bitcoin</translation>
</me... |
export const TAB_SIZE = 4
/*
* A map of characters, which can be used to mark rules.
*/
export const ruleMarkers = new Set(['*', '_', '-']) |
import { Directive, Input, OnDestroy, NgModule, TemplateRef } from '@angular/core';
import { IgxDragDirective } from '../directives/drag-drop/drag-drop.directive';
import { KEYS } from '../core/utils';
import { fromEvent, Subscription } from 'rxjs';
import { IgxRowDirective, IgxGridBaseDirective } from './grid';
import... |
<TS language="ru_RU" 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... |
import {
ActionTodosFilter,
ActionTodosRemoveDone,
ActionTodosAdd,
ActionTodosToggle,
TodosState,
todosReducer,
initialState
} from '@app/examples/todos/todos.reducer';
describe('TodoReducer', () => {
it('should return the default state', () => {
const action = {} as any;
const state = todosRed... |
/*
* Copyright (C) 2019 Toshiba Corporation
* SPDX-License-Identifier: Apache-2.0
*/
import { EShape } from "../e-shape";
import { EShapeRuntime, EShapeRuntimeReset } from "../e-shape-runtime";
import { EShapeActionRuntimeTransformMove } from "./e-shape-action-runtime-transform-move";
import { EShapeActionValueTran... |
<TS language="la" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Crea novam inscriptionem</translation>
</message>
<message>
<source>Copy the currently selected address to the system clipboard</source>
<t... |
import React from "react";
import { navigate } from "gatsby";
import LazyLoad from "react-lazyload";
import { AspectRatio, Box, Image } from "@chakra-ui/core";
import { ShopifyCollection } from "../../../../graphqlTypes";
import { linkResolver, Templates } from "../../../../utils/linkResolver";
interface Props {
co... |
import type { BytemdPlugin } from 'bytemd'
import remarkMath from 'remark-math'
import rehypeKatex, { Options } from 'rehype-katex'
import { MathLocale, getMathActions } from '@bytemd/plugin-math-common'
import en from '../locales/en.json'
export interface BytemdPluginMathSsrOptions {
locale?: Partial<MathLocale>
... |
import { createSelector } from '@ngrx/store';
import { employeeAdapter } from '../states';
import { selectEmployeesState } from './employee-features.selectors';
import { EmployeeReducer } from '../reducers';
export const selectEmployeeEntitiesState = createSelector(
selectEmployeesState,
state => state[EmployeeRe... |
export declare type FilterFn = (rootValue?: any, args?: any, context?: any, info?: any) => boolean;
export declare type ResolverFn = (rootValue?: any, args?: any, context?: any, info?: any) => AsyncIterator<any>;
export declare const withFilter: (asyncIteratorFn: () => AsyncIterator<any>, filterFn: FilterFn) => Functio... |
import { Component, OnInit, EventEmitter, Output } from '@angular/core';
import { Passenger } from '../../definitions/passenger';
import { PassengerService } from '../../services/passenger.service';
import { Observable, Subject } from 'rxjs';
import { debounceTime, switchMap } from 'rxjs/operators';
import { MatDial... |
import BigNumber from 'bignumber.js';
import { Transform, Type } from 'class-transformer';
class Output {
@Transform(value => new BigNumber(value), { toClassOnly: true })
value: BigNumber;
addresses: string[];
hex: string;
get address(): string | null {
return this.addresses.length > 0 ? t... |
namespace ts.projectSystem {
describe("unittests:: tsserver:: cancellationToken", () => {
// Disable sourcemap support for the duration of the test, as sourcemapping the errors generated during this test is slow and not something we care to test
let oldPrepare: AnyFunction;
before(() => {
... |
<TS version="2.1" language="et">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation type="unfinished">Paremkliki aadressi või sildi muutmiseks</translation>
</message>
<message>
<source>Create a new address</source>... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { Component } from 'react';
import Taro from '@tarojs/taro';
import { View, Text, Button } from '@tarojs/components';
import './index.scss';
/**
* 界面-下拉刷新
*/
export default class PageView extends Component<any, any> {
constructor(props) {
super(props);
this.state = {
list: [1, 2, 3, 4, 5],
... |
import { describe, expect, it, suite } from 'vitest'
import { datetime, longitude } from '.'
import {
getCurrentYearEnd,
getCurrentYearStart,
getGreenwhichSiderealTime,
getJulianDate,
getJulianYearInSeconds,
getLocalSiderealTime,
getModifiedJulianDate,
getNumberOfJulianCenturiesSinceEpoch,
getNumber... |
import { LocationLevel } from 'feature/locations/ui/contexts/browser/locationContext';
interface ILocationLevel {
COUNTRY: LocationLevel;
STATE: LocationLevel;
CITY: LocationLevel;
STREET: LocationLevel;
}
export const LOCATION = {
api: {
LOCATIONS: '/locations'
},
errors: {
LOCATION_NOT_FOUND: 'LOCATION_N... |
import Util from "../util/util";
export interface IBCodeDelimiters {
readonly start: string;
readonly end: string;
}
const defaultDelimiters: IBCodeDelimiters = {
start: "{",
end: "}"
};
export interface IBCodeMatch {
readonly content: string;
readonly pos: number;
}
export default class BCo... |
import { createRef } from 'office-ui-fabric-react';
import { ICollapsibleSectionProps, ICollapsibleSectionViewProps } from './CollapsibleSection.types';
import { BaseState } from '../../utilities/BaseState';
import { getRTL, KeyCodes } from '../../Utilities';
// export type ICollapsibleSectionStateProps = IBaseStateCo... |
import { Module } from '@nestjs/common'
import { ViewModule } from '~server/modules/view/view.module'
import { DummyModule } from '~server/modules/dummy/dummy.module'
@Module({
imports: [DummyModule, ViewModule],
controllers: [],
providers: []
})
export class AppModule {} |
import {activeFileName, openFile, selectedTextStart, selectedTextEnd, showErrorMessage} from "./editor";
// import { shouldSwitchToTarget } from "./settings";
import {
replaceTextInFile,
appendTextToFile,
prependTextToFile,
removeContentFromFileAtLineAndColumn
} from "./file-system";
export async function swit... |
const orange = {
50: '#fff3e0',
100: '#ffe0b2',
200: '#ffcc80',
300: '#ffb74d',
400: '#ffa726',
500: '#ff9800',
600: '#fb8c00',
700: '#f57c00',
800: '#ef6c00',
900: '#e65100'
}
export default orange |
export * from "./LocalAccountResponse";
export * from "./DataOwnersOfDataValidatorResponse";
export * from "./BalanceOfAccountResponse";
export * from "./BalancesOfLocalAccountsResponse";
export * from "./AccountRegistrationStatusResponse";
export * from "./AccountRole"; |
import 'express-async-errors';
import { NotFoundError, currentUser, errorHandler } from '@jjmauction/common';
import { json } from 'body-parser';
import cookieSession from 'cookie-session';
import express from 'express';
import { createPaymentRouter } from './routes/create-payment';
const app = express();
app.set('... |
export interface LogItemClient {
message: string;
}
export interface LogItemServer {
username: string;
userColor: string;
message: string;
createdAt: Date;
} |
export * from "./Conversation/args";
export * from "./Post/args";
export * from "./User/args"; |
import { Component, OnInit } from '@angular/core';
import {Miquotes} from '../miquotes';
@Component({
selector: 'app-miquotes',
templateUrl: './miquotes.component.html',
styleUrls: ['./miquotes.component.css']
})
export class MiquotesComponent implements OnInit {
title = 'MiQuotes'
quotes:Miquotes[] = [... |
import { Component, Input, Output, OnInit, OnDestroy, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
import { ShareButtons, ShareButtonsConfig } from '@ngx-share/core';
import { Observable, BehaviorSubject, Subscription } from 'rxjs';
import { map } from 'rxjs/operators';
export interface ButtonsState {... |
/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectionToken } from "@ogre-tools/injectable";
import type { ClusterFrameInfo } from "../../../../common/cluster-frames";
export interface SendToViewArgs {
c... |
/**
* index-h5.ts 4.2.1 - everything you need for a Grid that uses HTML5 native drag&drop
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
*/
export * from './types';
export * from './utils';
export * from './gridstack-engine';
export * from './gridstack-ddi';
export * from './gridstack';
export * f... |
/*
* Planck.js
* The MIT License
* Copyright (c) 2021 Erin Catto, Ali Shakiba
*
* 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 ri... |
import { Pointer } from 'ol/interaction';
import MapBrowserEvent from 'ol/MapBrowserEvent';
import { Color } from 'ol/color';
import { Pixel } from 'ol/pixel';
import { Layer } from 'ol/layer';
export interface Options {
layer?: Layer;
radius?: number;
interval?: number;
}
/**
* @constructor
* @extends {... |
import { DictionaryPhrases, DictionaryServiceData } from './dataModels';
import { HttpJsonFetcher } from './httpClientInterface';
export interface DictionaryService {
/**
* Fetch dictionary data for a language.
* @param {string} language
*/
fetchDictionaryData(language: string): Promise<Dictionar... |
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Licensed under GNU General Public License version 2 or later or a commercial license or MIT;
* For GPL see LICENSE-GPL.txt in the project root for license information.
* For MIT see LICENSE-MIT.txt in the project root for license information.
* For commercial licens... |
import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
import { GetMetricPolicyInput, GetMetricPolicyOutput } from "../models/models_0";
import {
deserializeAws_json1_1GetMetricPolicyCommand,
serializeAws_json1_1GetMetricPolicyCommand,
} from "../protocols/Aws_j... |
import { useEffect, useState } from "react";
import { api } from "../services/api";
import { MovieCard } from "./MovieCard";
interface MovieProps {
imdbID: string;
Title: string;
Poster: string;
Ratings: Array<{
Source: string;
Value: string;
}>;
Runtime: string;
}
interface GenreResponseProps {
... |
export default interface IEdge {
shape?: string;
style?: any;
} |
import rule, {
Options,
MessageId,
} from '../../src/rules/strict-boolean-expressions';
import {
batchedSingleLineTests,
getFixturesRootDir,
RuleTester,
noFormat,
} from '../RuleTester';
const ruleTester = new RuleTester({
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: getFi... |
/// Generated by expo-google-fonts/generator
/// Do not edit by hand unless you know what you are doing
///
export { useFonts } from './useFonts';
export const __metdata__: Any;
export const ContrailOne_400Regular: number; |
import Head from 'next/head';
import Navigation from '@/components/navigation';
import { tw } from 'twind';
interface IProps {
children: React.ReactNode;
}
const Page = ({ children }: IProps) => (
<div>
<Head>
<link rel="icon" href="/logo.png" />
{/* <script
dangerouslySetInnerHTML={{
... |
import React from "react"
interface Props {
children: React.ReactNode
}
/**
* A Bootstrap Alert https://getbootstrap.com/docs/4.6/components/alerts/
*/
const Alert = (props: Props): JSX.Element => {
return (
<div
className="alert alert-warning alert-dismissible fade show"
role="alert"
>
... |
import {LiquidityRemoveReq} from '../cells/liquidityRemoveReq'
import {Sudt} from '../cells/sudt'
import {Ckb} from '../cells/ckb'
import {Transformation} from './interfaces/transformation'
/*
info_in_cell info_out_cell
pool_in_cell pool_out_cell
... |
import test from "tape";
import browser from "webextension-polyfill";
import { isBackground, isContentScript, isWebPage } from "webext-detect-page";
import { PageTarget, Sender, Target } from "../..";
import * as backgroundContext from "../background/api";
import * as localContext from "../background/testingApi";
impor... |
import { RemoteInfo } from "dgram";
import { unpackFrom, pack, DataType } from "python-struct";
import LGXDevice, { getDevice, getVendor, ILGXDevice } from "./lgxDevice";
import { PinMappingError } from "./errors";
import PLC from "./PLC";
declare module "python-struct" {
export function unpackFrom(
format: stri... |
<TS language="es_CL" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Haga clic para editar la dirección o etiqueta</translation>
</message>
<message>
<source>Create a new address</source>
<... |
import { ViewStyle } from "react-native"
import { MessageOptions } from "react-native-flash-message"
import * as Colors from "./colors"
import * as Typography from "./typography"
export const iconBadge: ViewStyle = {
position: "absolute",
right: 22,
top: 3,
backgroundColor: Colors.warning100,
borderRadius: ... |
import { Color } from '../../../engine';
/**
* Tests for class Color
*/
describe('Color', () => {
/**
* Tests for Color static methods
*/
describe('Static', () => {
// TODO color methods
/**
* Tests for Color.random()
*/
describe('random', () => {
... |
import { Guild, GuildMember, Role, Message, TextChannel } from 'discord.js';
import { FieldsEmbed } from 'discord-paginationembed';
import { cleantext, uppercase, hasPermission } from '../../common';
const suffix = '_speakers';
const languageProper = (lang: string): string => {
return uppercase(lang.replace(suffix,... |
export const enum FearLevel {
ABSENT = 'ABSENT',
MINIMAL = 'MINIMAL',
MODERATE = 'MODERATE',
EXTREME = 'EXTREME',
} |
// Type definitions for react-big-calendar 0.22
// Project: https://github.com/intljusticemission/react-big-calendar
// Definitions by: Piotr Witek <https://github.com/piotrwitek>
// Austin Turner <https://github.com/paustint>
// Krzysztof Bezrąk <https://github.com/pikpok>
// ... |
import * as React from "react";
import { Button } from "../../../components/index";
const ButtonText = () => {
const handleClick = () => {
console.log("click");
};
return (
<div className="button-wrapper">
<Button variant="text" onClick={handleClick}>
DEFAULT
... |
<TS language="af_ZA" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Skep 'n nuwe adres</translation>
</message>
<message>
<source>&New</source>
<translation>&Nuwe</translation>
</message>
... |
jest.mock("fs");
jest.mock("../src/metadata.ts");
import { existsSync, unlinkSync } from "fs";
import { readMetadata } from "../src/metadata";
import { unlock } from "../src/unlock";
describe("Unlock", () => {
const FILE = "test.txt";
const LOCK_FILE = `${FILE}.lock`;
beforeEach(() => {
jest.rese... |
import styled, { css } from 'styled-components';
import { animated } from 'react-spring';
const toastTypeValidations = {
info: css`
background: #ebfaff;
color: #3172b7;
`,
success: css`
background: #e6fffa;
color: #2e656a;
`,
error: css`
background: #fddede;
color: #c53030;
`,
};
i... |
import { Component, OnInit } from '@angular/core';
import { IAppState } from 'src/app/store';
import { Observable } from 'rxjs';
import { select, NgRedux } from '@angular-redux/store';
import { AuthService } from 'src/app/auth/service/auth.service';
import { Router } from '@angular/router';
import { APP_ROUTES } from '... |
/*
* 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 { AzureFunction, Context, HttpRequest } from '@azure/functions'
import { authenticatedAzureWrap } from '../src/azureWrap'
import displayMessage from '../src/endpoints/displayMessage'
const httpTrigger: AzureFunction = async function (context: Context, req: HttpRequest): Promise<void> {
await authenticatedAzur... |
// Copyright Contributors to the Amundsen project.
// SPDX-License-Identifier: Apache-2.0
import * as React from 'react';
import { Modal, OverlayTrigger, Popover } from 'react-bootstrap';
import { logClick } from 'ducks/utilMethods';
import './styles.scss';
import {
getTruncatedText,
parseNestedType,
NestedTy... |
import isAfter from 'date-fns/esm/isAfter';
import isBefore from 'date-fns/esm/isBefore';
import isSameDay from 'date-fns/esm/isSameDay';
import isSameYear from 'date-fns/esm/isSameYear';
import getDaysInMonth from 'date-fns/esm/getDaysInMonth';
export const weekDays = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']... |
import { IOpCodeHanlePayload } from "../../types";
/*
OP Code: 0x52
Memonic: BIT 2 D
Description: Sets zero flag if bit 2 (third to the top right) of register D is set to 0.
Size: 2 Byte - increments PC by 2
Cycles: 8
Flags affected:
Sets SUBTRACTION flag to 0.
Carry flag is unchanged.
Sets ZER... |
import {NgModule,Component,ElementRef,Input,Output,EventEmitter,AfterContentInit,ContentChildren,ContentChild,QueryList,TemplateRef,IterableDiffers,forwardRef,ChangeDetectorRef} from '@angular/core';
import {CommonModule} from '@angular/common';
import {SelectItem} from '../common/selectitem';
import {SharedModule,Prim... |
import mongoose, { Connection } from 'mongoose';
import { MongoMemoryServer } from 'mongodb-memory-server';
import { Db } from 'mongodb';
import { FileType } from 'shared/types/fileType';
import { EntitySchema } from 'shared/types/entityType';
import { PageType } from 'shared/types/pageType';
import { DB } from 'api/od... |
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { Int } from '@nestjs/graphql';
import { DeckWordUncheckedCreateNestedManyWithoutWordInput } from '../deck-word/deck-word-unchecked-create-nested-many-without-word.input';
@InputType()
export class WordUncheckedCreateInput {
... |
import Head from 'next/head';
import { EntityType, ImagePublic } from '@dark-rush-photography/shared/types';
import { MainPage } from '@dark-rush-photography/admin/feature';
interface IndexProps {
images: ImagePublic[];
}
function Index(props: IndexProps): JSX.Element {
return (
<>
<Head>
<titl... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hu" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Mental</source>
<translation>A Mental-ról</translation>
</message>
<message>
<location ... |
import { Validator, NG_VALIDATORS, AbstractControl } from '@angular/forms';
import { Directive, Input } from '@angular/core';
@Directive({
selector: '[appOrderQuantityValidator]',
providers: [{
provide: NG_VALIDATORS,
useExisting: OrderQuantityValidatorDirective,
multi: true
}]
})
... |
import {
Component,
Input
} from '@angular/core';
import {
SkyIconDocsIconItem
} from './icon-item';
@Component({
selector: 'app-icon-docs-icon-list',
templateUrl: './icon-list.component.html',
styleUrls: ['./icon-list.component.scss']
})
export class IconDocsIconListComponent {
@Input()
public iconT... |
export * from './limit.operator';
export * from './orderby.operator';
export * from './where.operator';
export * from './start-after.operator';
export * from './start-before.operator';
export * from './scoopa-filter.operator'; |
import { TestFs, Callback } from '../TestFs';
import { PathAction } from '../Action';
import { Entry, DirectoryEntry, FileEntry, NotExistsEntry } from '../Entry';
Object.assign(TestFs.prototype, {
readdirSync(this: TestFs, path: string): string[] {
return this.runAction(new ReadDirAction(path));
},
... |
import classNames from 'classnames';
import { TestRow } from '@teambit/ui.test-row';
import { timeFormat } from '@teambit/time.time-format';
import React from 'react';
import { Icon } from '@teambit/evangelist.elements.icon';
import { TestsFiles, TestResult } from '@teambit/tester';
import { TestFileTitle } from './tes... |
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { checkEndpoints } from './util';
describe('--SLOW--: check configured chain types', (): void => {
checkEndpoints('./.github/chain-types.md', [
'Unknown types'
]);
}); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.