text stringlengths 10 953k |
|---|
// @Libs
import { flowResult, makeAutoObservable } from "mobx"
// @Store
import { IDestinationsStore } from "./destinations"
// @Services
import ApplicationServices, { IApplicationServices } from "lib/services/ApplicationServices"
// @Utils
import { intersection, merge, remove, without } from "lodash"
import { toArrayI... |
export { Marble, Operator } from '../../drivers/operators'; |
/**
* Core Services API
* API covering the [Networking](/iaas/Content/Network/Concepts/overview.htm),
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services. Use this API
to manage resources such as virtual cloud networks (VCNs), compute i... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Polcoin</source>
<translation>Informatio de Polcoin</translation>
... |
import { TFunction } from 'react-i18next';
import { V1Template } from '@kubevirt-ui/kubevirt-api/console';
import { V1beta1DataVolumeSpec } from '@kubevirt-ui/kubevirt-api/kubevirt';
import {
getTemplateContainerDisks,
getTemplateImportURLs,
getTemplateVirtualMachineObject,
} from '@kubevirt-utils/resources/temp... |
import { Node } from '../parser';
import { AnnotatedValue } from '../../types/parser';
import { Token } from '../../types/tokens';
/**
* Find additional values given to the keywords
* @param statement - Keyword node with entire statement tree
*/
export default function statementValues (statement: Node, optionals: Arra... |
import { terminalCommandStates } from 'constants/states';
import * as Api from 'services/api-ts-sdk';
import * as Config from 'services/apiConfig';
import * as Service from 'services/types';
import { generateDetApi } from 'services/utils';
import * as Type from 'types';
import { tensorBoardMatchesSource } from 'utils/t... |
'use strict';
import {
ScanParameters,
ConnectionParameters,
ConnectionOptions,
AdapterOpenOptions
} from 'pc-ble-driver-js';
export const connectionParameters: ConnectionParameters = {
min_conn_interval: 7.5,
max_conn_interval: 7.5,
slave_latency: 0,
conn_sup_timeout: 4000,
};
export const scanParam... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const faDiceD8: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligatures:... |
import { describe, expect, test } from "@jest/globals";
import { convertNgrxNoMultipleActionsInEffects } from "../ngrx-no-multiple-actions-in-effects";
describe("convertNgrxNoMultipleActionsInEffects", () => {
test("conversion without arguments", () => {
const result = convertNgrxNoMultipleActionsInEffect... |
import type { ReactNode } from "react";
declare const ArrowUpLarge: ReactNode;
export default ArrowUpLarge; |
import { assert, Type } from "@thi.ng/api";
import { clamp01 } from "@thi.ng/math";
import {
Lane,
PackedChannel,
PackedChannelSpec,
PackedFormat,
PackedFormatSpec
} from "./api";
import { compileFromABGR, compileToABGR } from "./codegen";
import { luminanceABGR } from "./utils";
const defChannel =... |
import { Position, TransitionType } from '../types';
import { ComputedRef, Ref } from 'vue';
declare const useTransitionType: (position: Position, transition: TransitionType, swiped: Ref<number>) => {
transitionType: ComputedRef<string>;
};
export default useTransitionType; |
import * as React from 'react';
import { IItemProperty } from '../../models/items/IItemProperty';
import { IItemPropertiesProps } from './IItemPropertiesProps';
import './item-properties.scss';
import { ItemPropertyValueTypes } from './ItemPropertyValueTypes';
const UNMET_TAG_TEST_REGEX: RegExp = /<unmet>/;
const ITEM... |
/*
* 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 { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { NavigationFacade } from '../../facades/navigation.facade';
import { NavigationItem } from '../../models/navigation-item.model';
@Component({
selector: 'app-navigation-bar-container',
templateUrl:... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import chai = require('chai');
const should = chai.should();
import { shortenShape } from '../../../src/slimming/rules/shorten-shape';
import { parse } from '../../../src/xml-parser/app';
import { createXML } from '../../../src/slimming/xml/create';
describe('rules/shorten-shape', () => {
it('rule false branch', asy... |
import { serve, setup } from 'swagger-ui-express';
import { Express } from 'express';
import swaggerConfig from './index';
export default (app: Express): void => {
app.use('/api-docs', serve, setup(swaggerConfig));
}; |
import * as React from 'react';
import ActionMenu, {
Action,
ActionMenuProps
} from 'src/components/ActionMenu_CMR';
import {
makeStyles,
Theme,
useTheme,
useMediaQuery
} from 'src/components/core/styles';
import InlineMenuAction from 'src/components/InlineMenuAction/InlineMenuAction';
const useStyles = ma... |
import { WithStyle } from '@medly-components/utils';
import React, { FC } from 'react';
import SideEffect600167LineIconSvg from '../../assets/GSDD/SideEffect_600_167_Line.svg';
import SvgIcon, { SvgIconProps } from '../../SvgIcon';
const Component: FC<SvgIconProps> = React.memo(props => {
const { size, withHoverEf... |
import {
Component, Socket, _,
} from '../../shared/importer';
@Component({
selector: 'game-map', // <game-map></game-map>
providers: [],
styleUrls: ['./game-map.style.scss'],
templateUrl: './game-map.template.html'
})
export class GameMap {
private _ = _;
private slotSize = '64';
pri... |
export default class Vector2D {
private _x: number;
private _y: number;
public constructor(x?: number, y?: number) {
this._x = x ?? 0;
this._y = y ?? 0;
}
public random2D = (): this => {
const theta = Math.random() * Math.PI * 2;
this._x = Math.cos(theta);
... |
import { DeepPartial } from '../helpers/strict-type-checks';
import { LineStyle, LineType, LineWidth } from '../renderers/draw-line';
import { AutoScaleMargins } from './autoscale-info-impl';
import { PriceFormatterFn } from './price-formatter-fn';
import { PriceScaleMargins } from './price-scale';
/** Structure des... |
import {
ImportProvidersField,
VMImportProvider,
VMSettingsField,
} from '../../../../components/create-vm-wizard/types';
import {
asSimpleSettings,
getFieldValue,
} from '../../../../components/create-vm-wizard/selectors/vm-settings';
import { VMTemplateWrapper } from '../../../wrapper/vm/vm-template-wrapper... |
import { gql } from 'urql'
import { AUTOMATION_CONDITION_FRAGMENT } from './automation-condition.fragment.graphql'
import { AUTOMATION_ACTION_FRAGMENT } from './automation-action.fragment.graphql'
export const AUTOMATION_TRIGGER_FRAGMENT = gql`
fragment automationTriggerFragment on AutomateTriggerType {
id
... |
import {
Header,
JSXSlack,
Modal,
RadioButton,
RadioButtonGroup,
} from '@speee-js/jsx-slack'
import { ViewComponent } from './type'
export const HelloPick: ViewComponent = () =>
JSXSlack(
<Modal title="挨拶" externalId="hello">
<Header>挨拶してくれるよ!</Header>
<RadioButtonGroup
label="abc... |
import { Injectable } from '@angular/core';
import { Http, Response, Headers, RequestOptions } from '@angular/http';
import { Router, ActivatedRoute } from '@angular/router';
import { Subject } from 'rxjs/Subject';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/do';
import 'rxjs/add/operator/ca... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import path from 'path';
import pluginContentPages from '../index';
import {LoadContext} from '@docusaurus/types';
describe('doc... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import * as assert from "assert";
import { KeyClient } from "../src";
import { isNode } from "@azure/core-http";
import { isPlayingBack, testPollerProperties } from "./utils/recorderUtils";
import { retry } from "./utils/recorderUtils";
import ... |
import { MONGODB_FAST_QUERY_CONNECTION } from '../../../../../../lib/constants/database.constant';
import { MessageModel } from '../../../../../../lib/schemas';
import { MongodbService } from '../../../../service/database/mongodb.service';
import { MessageDto } from '../dto/message.dto';
export class SequelizeReposito... |
/**
* @file deployToAzure.ts
* @Copyright (c) Microsoft Corporation. All rights reserved.
*
* Uploads source files to an Azure Blob Storage instance
*/
import { IDeployAzureStorageTaskConfig } from '../DeployAzureStorageTask';
/**
* Deploys all the files in a certain directory to a specific Azure Blob Storage in... |
import * as Hapi from '@hapi/hapi';
const init = async () => {
const server = Hapi.server({
port: 3000,
host: 'localhost'
});
await server.start();
console.log('Server running on %s', server.info.uri);
};
process.on('unhandledRejection', (err) => {
console.log(err);
process.... |
import * as React from 'react';
import { LuckyWheel } from 'lucky-canvas';
import { getPx, idxx } from './utils';
type Font = {
text: string; // 字体内容 (可以使用 \n 用来换行)
top?: string | number; // 距离顶部的高度 (格式为:20 | '20px' | '20%',默认为 0)
fontColor?: string; //字体颜色
fontSize?: string; //字体大小(px) (可继承 defaultStyle 字体样式,... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
* This sample demonstrates create and delete entities in a table
*
* @summary creates and deletes a entities in a table
* @azsdk-weight 40
*/
import { Edm, TableClient, AzureNamedKeyCredential } from "@azure/data-tables";
// Load the... |
export const configs = {
charSet: 'utf-8',
};
export default configs; |
<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>
<... |
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { EventEmitter } from "events";
import { DataObject, DataObjectFactory } from "@fluidframework/aqueduct";
import { IDirectoryValueChanged, IValueChanged } from "@fluidframework/map";
/**
* IKeyValueDataObje... |
/*---------------------------------------------------------------------------------------------
* 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" encoding="UTF-8"?>
<tileset version="1.5" tiledversion="1.7.2" name="npc" tilewidth="32" tileheight="48" spacing="8" tilecount="825" columns="17">
<grid orientation="orthogonal" width="16" height="24"/>
<image source="images/sprites/npc.png" trans="6890a8" width="672" height="720"/>
</tileset> |
export { viewBinder } from "./view.binder";
export { viewStaticBinder } from "./view-static.binder";
export { routeBinder } from "./route.binder";
export { routeClassStarBinder } from "./route-class-star.binder";
export { parentRouteClassStarBinder } from "./parent-route-class-star.binder";
export { routeBackOnStarBind... |
import { SharedModule } from "src/app/modules/shared/shared.module";
import { CommonModule, APP_BASE_HREF } from "@angular/common";
import { HttpClientTestingModule } from "@angular/common/http/testing";
import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";
import { ComponentFixture, TestBed } from "@angular/core/tes... |
import React, { useState } from "react";
import {
Modal,
ModalOverlay,
ModalContent,
ModalHeader,
ModalFooter,
ModalBody,
ModalCloseButton,
Button,
Box,
useDisclosure,
useToast,
} from "@chakra-ui/react";
import { withApollo } from "../../utils/withApollo";
import { Form, Formik } from "formik";
i... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { ModuleWithProviders } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PageComponent } from "src/app/components/page/page.component";
const PATTERN_ROUTES: Routes = [
{
path:':typeName/:templateDrivenType',
component:PageComponent
},
{
path:':typeName',
component:PageC... |
import {Group} from './Group';
import {Control} from './Control';
import {isArray} from 'rxjs/util/isArray';
export class FeedBackForm {
public get groups(): Group[] {
return this._groups;
}
public get comment() {
return this._comment;
}
public set comment(value: string) {
this._comment = value... |
import { graphql, useStaticQuery } from "gatsby"
import React, { useState, useEffect } from "react"
import { MdPlace } from "react-icons/md"
import {
Carousel,
CarouselIndicators,
CarouselItem,
Col,
Container,
Row,
} from "reactstrap"
import { groupOf } from "../../lib/array"
import { Section } from "../lay... |
import {
GL_ARRAY_BUFFER,
GL_COLOR_BUFFER_BIT,
GL_DEPTH_BUFFER_BIT,
GL_STREAM_DRAW,
GL_TEXTURE0,
GL_TEXTURE_2D,
} from "../../common/webgl.js";
import {CameraEye, CameraKind} from "../components/com_camera.js";
import {FLOATS_PER_INSTANCE, Game} from "../game.js";
import {Has} from "../world.js"... |
import {Score} from '@/app/models/score';
export class ScoreResponse {
public scores!: Score[];
public surveyIsRunning!: boolean;
public perspective?: string;
public numberOfVotes?: number;
public numberOfUsers?: number;
} |
import { ErrorCodes, ResponseError, CancellationToken, CancellationTokenSource, Disposable, Event, Emitter, Trace, Tracer, TraceFormat, TraceOptions, SetTraceNotification, LogTraceNotification, Message, NotificationMessage, RequestMessage, MessageType as RPCMessageType, RequestType, RequestType0, RequestHandler, Reques... |
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import { faGithub, faLinkedin, faTwitter } from "@fortawesome/free-brands-svg-icons"
import Image from "next/image"
import { faEnvelope } from "@fortawesome/free-solid-svg-icons"
import profilePic from "../public/image.webp"
export default function HeroS... |
/*
* Copyright 2020 ThoughtWorks, 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 agr... |
import { Component, OnInit } from '@angular/core';
import { ScrollService } from '../services/scroll.service';
@Component({
selector: 'app-about',
templateUrl: './about.component.html',
styleUrls: ['./about.component.scss'],
})
export class AboutComponent implements OnInit {
constructor(public scrollService: S... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import * as React from 'react'
import './Picker.css'
import { IOption } from './models'
import { MatchedOption } from '../../ExtractorResponseEditor/models'
import FuseMatch from '../../ExtractorResponseEditor/Fuse... |
import React, { ReactElement } from 'react';
import { usePermission } from '../../../contexts/AuthorizationContext';
import NotAuthorizedPage from '../../notAuthorized/NotAuthorizedPage';
import InvitesPage from './InvitesPage';
const InvitesRoute = (): ReactElement => {
const canCreateInviteLinks = usePermission('c... |
import {Component, OnInit} from '@angular/core';
import {TransactionService} from '../service/transaction.service';
import {ToastrService} from 'ngx-toastr';
import {TransactionSearchRequestModel} from '../model/transaction-search-request-model';
import {NgbDate, NgbDateParserFormatter} from '@ng-bootstrap/ng-bootstrap... |
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import { createTheme, ThemeProvider } from "@material-ui/core/styles";
import purple from "@material-ui/core/colors/purple";
import green from "@material-ui/core/c... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import * as puppeteer from 'puppeteer';
let target: puppeteer.Page;
let frontend: puppeteer.Page;
let browser: puppeteer.Browser;
export interface Brows... |
import * as React from 'react';
import { Async } from './Async';
import { EventGroup } from './EventGroup';
import { IDisposable } from './IDisposable';
import { ISettingsMap } from './warn/warn';
import { warnConditionallyRequiredProps } from './warn/warnConditionallyRequiredProps';
import { warnMutuallyExclusive } fr... |
import * as t from '@babel/types';
import traverse, { NodePath } from '@babel/traverse';
export default class Module {
private _id: number;
private params: Parameter[];
private body: t.BlockStatement;
private moduleArgName?: string;
private exportsArgName?: string;
private requireArgName?: str... |
import AlbumContract from '@DataContracts/Album/AlbumContract';
import PagingProperties from '@DataContracts/PagingPropertiesContract';
import PartialFindResultContract from '@DataContracts/PartialFindResultContract';
import AlbumRepository from '@Repositories/AlbumRepository';
import ArtistRepository from '@Repositori... |
import { EventEmitter } from 'events';
import { Logger } from './Logger';
const logger = new Logger('EnhancedEventEmitter');
export class EnhancedEventEmitter extends EventEmitter
{
constructor()
{
super();
this.setMaxListeners(Infinity);
}
safeEmit(event: string, ...args: any[]): boolean
{
const numListe... |
// Adding a comment to the syntax will become the first
// comment in the output source file.
//
import { ImportedThing } from './import_dir/thing';
import { Reader, Writer, util, configure } from 'protobufjs/minimal';
import { Timestamp } from './google/protobuf/timestamp';
import * as Long from 'long';
import { Str... |
/*
* @Author: eamiear
* @Date: 2021-02-02 14:40:00
* @Last Modified by: eamiear
* @Last Modified time: 2021-02-02 14:40:00
*/
import { BaseEquip } from './BaseEquip';
export class LampEquip extends BaseEquip {
/**
* 灯套件
* @param status 状态
* @param deviceType 设备主类型
* @param deviceChildType 设备子类型
... |
import * as hr from 'htmlrapier/src/main';
import * as datetime from 'htmlrapier.bootstrap.datetime/src/main';
import * as bootstrap from 'htmlrapier.bootstrap/src/main';
import * as bootstrap4form from 'htmlrapier.form.bootstrap4/src/main';
import * as controller from 'htmlrapier/src/controller';
import * as WindowFe... |
'use strict';
import Slot from './slot'
import SlotContainerManager from '../managers/slotContainerManager';
export default class SlotContainer {
private slot_3: Slot;
private slot_2: Slot;
private slot_1: Slot;
private slot0: Slot;
private slot1: Slot;
private slot2: Slot;
private slot3: ... |
import React, { ReactElement } from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter } from 'react-router-dom';
import { fontStyle } from './constants/style';
// import Nav from './components/Nav';
import Home from './components/Home';
// import Details from './components/Details';
// import Map from '... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Area5Component } from './area5.component';
describe('Area5Component', () => {
let component: Area5Component;
let fixture: ComponentFixture<Area5Component>;
beforeEach(async(() => {
TestBed.configureTestingModule({
decl... |
import cn from 'classnames'
import Link from 'next/link'
import { FC, useRef, useState, useEffect } from 'react'
import { useTheme } from 'next-themes'
import { useRouter } from 'next/router'
import s from './DropdownMenu.module.css'
import { Avatar } from '@components/common'
import { Moon, Sun } from '@components/ico... |
import { CloudWatchEventsClient } from "../../CloudWatchEventsClient";
import { ListRulesCommand } from "../../commands/ListRulesCommand";
import { DescribeRuleCommand } from "../../commands/DescribeRuleCommand";
declare let defaultRegion: string;
declare const credentials: any;
describe("@aws-sdk/client-cloudwatch-eve... |
export * from "./UploadFilesAnswerFactory"; |
import * as React from 'react';
import { IconProps } from './types';
export const SewingPinIcon = ({ color = 'currentColor', ...props }: IconProps) => {
return (
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M6 3.5C6 2.67157 6.67... |
/**
* Edge Impulse API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* ... |
// Copyright 2020 EPAM Systems, 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 applicab... |
export class AriyalaMateriaOptions {
estimateOvermeldMateria: boolean;
multiplyToolMateria: boolean;
groupTogether = true;
} |
export const tabLabels = [
'active',
'delinquent',
'allValidators',
]; |
import axios from 'axios'
import compression from 'compression'
import connectDatadog from 'connect-datadog'
import cors from 'cors'
import express from 'express'
import fs from 'fs'
import helmet from 'helmet'
import { StatsD } from 'hot-shots'
import { StatusCodes } from 'http-status-codes'
import { createTransport }... |
export class CronInfo {
private week: string;
private month: string;
private date: string;
private hour: string;
private minute: string;
private second: string;
private static SECOND = 0;
private static MINUTE = 0;
private static HOUR = 0;
private static DATE = 0;
private st... |
export class TemperatureListener {
temperature: number;
} |
/* tslint:disable */
/* eslint-disable */
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tec... |
module GA
{
export module Utils
{
export class Response
{
/**
* The response state, if the call was successful or not
*
* @type {boolean}
*/
public success: boolean = false;
/**
* The response o... |
import { createMuiTheme } from "@material-ui/core";
const Theme = createMuiTheme({
palette: {
secondary: {
main: "#1A535C",
},
},
});
export default Theme; |
/*
* Copyright 2021 ABSA Group Limited
*
* 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 agr... |
import { registerOutputPlatform } from '@jovotech/output';
import { Card as DialogflowCard, NormalizedDialogflowOutputTemplate, Text } from './models';
import { augmentModelPrototypes } from './utilities';
declare module '@jovotech/output/dist/types/models/Card' {
interface Card {
toDialogflowCard?(): Dialogflow... |
import * as logger from '../logger';
import servicesModel from '../database/services';
import { connection } from '../database';
export async function deleteService({ name }) {
const services = await servicesModel.deleteService(connection, name);
if (services > 0) {
logger.info('Deleted service from DB', { name })... |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { DelonACLModule } from '@delon/acl';
import { DelonFormModule } from '@delon/form';
import { AlainThemeModu... |
import {Request, Response} from 'express';
import knex from '../database/connection';
class ItemsController {
async index (request: Request, response: Response){
const items = await knex('items').select('*');
const serializedItems = items.map(item => {
return {
id: ... |
import {
MyAdminProfile_myAdminProfile_projects_edges_node as ProjectNode,
MyAdminProfile_myAdminProfile_projects_edges_node_myPermissions as ProjectPermissions,
} from '../../api/generatedTypes/MyAdminProfile';
import RelayList from '../../api/relayList';
import dataProvider from '../../api/dataProvider';
import p... |
import './given-steps';
import './when-steps';
import './then-steps';
import './and-steps';
import './but-steps'; |
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { Province, ProvinceApi } from '../sdk/index'
@Injectable({
providedIn: 'root'
})
export class ProvinceService {
constructor(private provinceApi: ProvinceApi) { }
getAll(filtro: any = { deleted_at: null }): Observable<Provin... |
'use strict'
import { BaseField } from './baseField';
export class JsonField extends BaseField{
format(value: any): string{
return JSON.stringify(value)
}
parse(value: any): any{
if(value == ""){
return ""
}
return JSON.parse(value)
}
getDiscription... |
import { Coordinate } from 'ol/coordinate';
export interface DevicesLocation {
[key: string]: Coordinate;
}
export interface GeoJSON {
features: Array<{
type: string;
properties: {
IP: string;
name: string;
ref: string;
id: string;
};
geometry: {
type: string;
c... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { OneProductComponent } from './one-product.component';
describe('OneProductComponent', () => {
let component: OneProductComponent;
let fixture: ComponentFixture<OneProductComponent>;
beforeEach(async () => {
await TestBed.configureT... |
/* eslint-disable no-underscore-dangle */
import type { JWSHeaderParameters, JWTClaimVerificationOptions, JWTPayload } from '../types.d'
import { decoder } from '../lib/buffer_utils.js'
import * as base64url from '../runtime/base64url.js'
import { JWTInvalid } from '../util/errors.js'
import jwtPayload from '../lib/jw... |
import { StyledIcon, StyledIconProps } from '..';
export declare const Empire: StyledIcon<any>;
export declare const EmpireDimensions: {
height: any;
width: any;
};
export { StyledIcon, StyledIconProps }; |
/**
* Perun RPC API
* Perun Remote Procedure Calls Application Programming Interface
*
* The version of the OpenAPI document: 3.10.0
* Contact: perun@cesnet.cz
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class ... |
import { TestBed } from '@angular/core/testing';
import { AngularFireModule, FIREBASE_APP_NAME, FIREBASE_OPTIONS, FirebaseApp } from '@angular/fire/compat';
import { AngularFireFunctions, AngularFireFunctionsModule, USE_EMULATOR, REGION } from '@angular/fire/compat/functions';
import { COMMON_CONFIG } from '../../test-... |
import { useQuery, UseQueryOptions } from 'react-query';
import { useRecoilValue } from 'recoil';
import { utils as ethersUtils } from 'ethers';
import { appReadyState } from 'store/app';
import { isL2State, isWalletConnectedState, networkState } from 'store/wallet';
import QUERY_KEYS from 'constants/queryKeys';
impo... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ja" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About BitcoinAir</source>
<translation>BitcoinAirについて</translation>
</... |
import React, { useMemo } from 'react'
import Styles from 'lib/styles'
import { graphql } from 'gatsby'
import Layout from 'components/layouts/Default'
import { postPath } from 'lib/routes'
import PostList from 'components/organisms/PostList'
import { mq } from 'constants/index'
const styles = new Styles({
postList:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.