text stringlengths 10 953k |
|---|
import { ReactNode, ChangeEvent } from 'react';
import { BaseProps } from '../types';
type WeekDays = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
type Value = WeekDays | WeekDays[];
export interface WeekDayPickerProps extends BaseProps {
id?: string;
name?: string;
... |
import {
Body,
Controller,
Get,
Post,
Put,
UseGuards,
UsePipes,
ValidationPipe,
} from '@nestjs/common';
import { UserService } from '@app/user/user.service';
import { CreateUserDto } from '@app/user/dto/create-user.dto';
import { UserResponseInterface } from '@app/user/types/user-response.interface';
i... |
/*
* 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 { EuiButton, EuiFlexGroup, EuiFlexItem, EuiPage, EuiPageBody } from '@... |
import {
AlphaValue,
Brightness,
ColorInput,
CssColorName,
Hex,
HexColor,
Percentage,
RgbaColor,
RgbaObject,
RgbColor,
Value255
} from '@coloroscopy/types'
import {
alphaValueToDecimal,
getHexColorName,
getRgbBrightness,
rgbaObjectToRgbaString,
rgbaObjectToRgbString,
toHexString,
toP... |
// Copyright 2017-2018 @polkadot/ui-app authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
import { Param$Types, Param$Type$Array, ExtrinsicDecoded } from '@polkadot/params/types';
import './Params.css';
import React from '... |
/// <reference types="svelte" />
import { SvelteComponentTyped } from "svelte";
export interface DevopsProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["svg"]> {
tabindex?: string;
/**
* @default "currentColor"
*/
fill?: string;
}
export default class Devops extends SvelteComponentTyped<De... |
import {LoginPage} from './LoginPage.po';
import {RegisterPage} from './RegisterPage.po';
import {v4 as uuid} from 'uuid';
import {CategoryPage} from './CategoryPage.po';
import {AccountsPage} from './AccountPage.po';
import {TransactionAndFilterPage} from './TransactionPage.po';
describe('Transaction page tests', () ... |
/**
* SyncProxyOrganization返回参数结构体
*/
export interface SyncProxyOrganizationResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 创建流程签署人入参
*/
export interface FlowApproverInfo {
/**
* 签署人姓名
*/
Name: string;
/**
* 签署人手机号,脱敏显示
... |
import { orderBy as _orderBy } from 'lodash';
import { CircularProgress, IconButton } from '@material-ui/core';
import Box from '@material-ui/core/Box';
import Fab from '@material-ui/core/Fab';
import Table from '@material-ui/core/Table';
import TableBody from '@material-ui/core/TableBody';
import TableCell from '@mate... |
import React from "react";
import Dialog from "@material-ui/core/Dialog";
import Avatar from "@material-ui/core/Avatar";
import ListItem from '@material-ui/core/ListItem';
import ListItemText from '@material-ui/core/ListItemText';
import ListItemAvatar from '@material-ui/core/ListItemAvatar';
import sprite from "asset... |
import moment from 'moment'
import numeral from 'numeral'
import React from 'react'
import { Direction } from 'rt-types'
import { styled } from 'rt-theme'
const HeavyFont = styled('span')`
font-weight: 900;
`
const HeavyItalicsFont = styled(HeavyFont)`
font-style: italic;
`
const InverseFont = styled(HeavyFont)`... |
import { TelemetryPlugin } from '../../build/webpack/plugins/telemetry-plugin'
const REGEXP_DIRECTORY_DUNDER =
/[\\/]__[^\\/]+(?<![\\/]__(?:tests|mocks))__[\\/]/i
const REGEXP_DIRECTORY_TESTS = /[\\/]__(tests|mocks)__[\\/]/i
const REGEXP_FILE_TEST = /\.(?:spec|test)\.[^.]+$/i
const EVENT_TYPE_CHECK_COMPLETED = 'NEX... |
import { Product } from "src/modules/product/entities/product.entity";
import { Column, CreateDateColumn, Entity, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
@Entity('parts_or_service')
export class PartsOrService {
@PrimaryGeneratedColumn()
id_parts_or_service:number
@Column... |
/**
* Emulates the bootstrap alert boxes
*/
import CloseIcon from "@mui/icons-material/Close"
import Box from "@mui/material/Box"
import Fade from "@mui/material/Fade"
import {
alpha,
darken,
lighten,
styled,
Theme,
useTheme,
} from "@mui/material/styles"
import { SxProps } from "@mui/system"
import React... |
declare const _default: {
readonly name: string;
};
export default _default;
//# sourceMappingURL=ExpoNavigationBar.web.d.ts.map |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
const getSearchParameterByName = (name: string) => {
const search = window.location.search;
const searchArray = search.substring(1).split('&');
let searchValue = null as any;
searchArray.map((value: string) => {
if (value.indexOf(`${name}=`) === 0) {
searchValue = value.replace(`${name}=`, '');
}... |
import { defaultSettings } from './default-settings.js';
import { CMD, counter } from './globals';
import { addAffixTo, isArrayEmpty, ucFirst } from './utils';
interface StylerOptions {
name?: string;
styleType?: string;
styleProps?: string[];
layerProps?: string[];
layerPropType?: string;
prefix?: string;... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import {
IsString,
IsNotEmpty,
IsOptional,
MaxLength,
IsPositive,
IsInt,
IsEnum
} from 'class-validator'
import { CrudValidationGroups } from '@nestjsx/crud'
import {
Entity,
Column,
JoinColumn,
OneToOne,
OneToMany
} from 'typeorm'
import { BaseEntity } from '../base.entity'
import { Summoner... |
import { ThemeSwapSpec } from "../types";
const ncp = require("ncp").ncp;
const fs = require("fs");
const rimraf = require("rimraf");
const copy = (copyDir: string, targetDir: string) => {
rimraf.sync(targetDir);
ncp(copyDir, targetDir, function(err) {
if (err) {
throw `UNABLE TO COPY ${copyDir} TO ${ta... |
import { UserInterface } from './AuthInterface';
import { AController } from '../../shared/class/AbstractController';
import AuthModel from './AuthModel';
export default class AuthController extends AController <UserInterface> {
public cacheKey: String = 'auth-';
constructor() {
super(AuthModel);
}
} |
export { default as DialogLayout, IDialogLayoutProps } from './dialog_layout';
export { default as ModalLayout } from './modal_layout'; |
/**
* @hidden
*/
export declare class PagerModule {
static exports(): any[];
} |
let cachedSchema: any;
export function getJSONSchemaDefinition(): any {
if (!cachedSchema) {
cachedSchema = require("../schemas.json"); // eslint-disable-line @typescript-eslint/no-require-imports
}
return cachedSchema;
} |
export declare class QuizType {
id: number;
title: string;
created_by: number;
} |
export * from "./FileMetadata";
export * from "./File";
export * from "./AccountType";
export * from "./Account";
export * from "./SavedFileKey";
export * from "./User"; |
import {HitTestResult} from "core/hittest"
import * as p from "core/properties"
import * as bbox from "core/util/bbox"
import * as visuals from "core/visuals"
import * as geometry from "core/geometry"
import {Context2d} from "core/util/canvas"
import {View} from "core/view"
import {Model} from "../../model"
import {Anc... |
import { I18nCodegenConfig } from './config';
interface TranslationsDict {
[key: string]: string | object;
}
export declare type TranslationKeys = string[];
export declare const generateCode: (translations: TranslationsDict, config: I18nCodegenConfig) => string;
export declare const runCodegen: (config: I18nCodegen... |
/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT license.
*/
import BiString, { AnyString } from "./bistring";
export type Replacer = (match: string, ...args: any[]) => string | BiString;
export type MatchReplacer = (match: RegExpMatchArray) => string | BiString;
/**
* A r... |
import { container } from 'tsyringe'
import ICacheProvider from './models/ICacheProvider'
import RedisCacheProvider from './implementations/RedisCacheProvider'
const providers = {
redis: RedisCacheProvider
}
container.registerSingleton<ICacheProvider>('CacheProvider', providers.redis) |
import { Injectable } from '@nestjs/common';
import { CreateStatusDto } from './dto/create-status.dto';
import { UpdateStatusDto } from './dto/update-status.dto';
import { InjectRepository } from '@nestjs/typeorm';
import { Status } from './entities/status.entity';
import { Repository } from 'typeorm';
@Injectable()
e... |
/// <reference types="node" />
import { BaseResource } from '@gitbeaker/requester-utils';
import { Camelize } from './Utils';
export declare type IsForm = {
isForm?: boolean;
};
export declare type Sudo = {
sudo?: string | number;
};
export declare type ShowExpanded<T extends boolean = boolean> = {
showExpa... |
/**
* 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 React, {memo} from 'react';
import clsx from 'clsx';
import Image from '@theme/IdealImage';
import Link from '@docusaurus/L... |
import * as React from 'react'
import { RouteComponentProps } from 'react-router'
import { Link } from 'react-router-dom'
import { Observable, Subject, Subscription } from 'rxjs'
import { catchError, distinctUntilChanged, filter, map, startWith, switchMap, tap } from 'rxjs/operators'
import { gql } from '../../../../sh... |
import { getComponentByTag } from '../__builtins__/shared'
import { connect, mapProps } from '@formily/vue'
import type { DatePicker as ElDatePickerProps } from 'element-ui'
import { DatePicker as ElDatePicker } from 'element-ui'
export type DatePickerProps = ElDatePickerProps
const TransformElDatePicker = getCompon... |
import React from 'react'
import styles from './index.module.less'
function Rectangle (props) {
const data = props.data[0]
return (
<div className={styles.pbbContainer}>
{
data.itemMap.map(val => {
const imgUrl = val.img
return (
<div className={styles.pbbItemConta... |
import { AppEvents } from 'src/packages/datav-core/src';
import { toVariablePayload, VariableIdentifier } from '../state/types';
import { createIntervalOptions } from './reducer';
import { validateVariableSelectionState } from '../state/actions';
import { getVariable } from '../state/selectors';
import { IntervalVaria... |
import { Manifest } from "@iiif/presentation-3";
import Figure from "components/Figure/Figure";
import { useGetLabel } from "hooks/useGetLabel";
import React, { useEffect, useRef, useState } from "react";
import { Controls, Label, Overlay, PreviewStyled } from "./Preview.styled";
import * as AspectRatio from "@radix-ui... |
export = createSerializer;
declare function createSerializer(cache?: {}, wrap?: (a: any) => any): {
cache: {};
serialize: (data: any) => any;
serializable: (state: any) => boolean;
deserialize: (hash: any) => any;
deserializable: (state: any) => boolean;
}; |
import React from 'react';
import { Region, MetroArea, County } from 'common/regions';
import { Annotations, Sources } from 'api/schema/RegionSummaryWithTimeseries';
import ExternalLink from 'components/ExternalLink';
import { getMetricName } from 'common/metric';
import { Metric } from 'common/metricEnum';
/**
* Har... |
// Copyright (C) 2021-2022 Intel Corporation
//
// SPDX-License-Identifier: MIT
import { Dispatch, ActionCreator } from 'redux';
import { ActionUnion, createAction, ThunkAction } from 'utils/redux';
import getCore from 'cvat-core-wrapper';
import { CloudStoragesQuery, CloudStorage } from 'reducers/interfaces';
const ... |
import { fixture, expect, elementUpdated } from "@open-wc/testing";
import { Dropdown } from "../index";
const initItems = [
{ label: "-----", value: "-----" },
{ label: "Orange", value: "orange" },
{ label: "Apple", value: "apple" }
];
describe("Dropdown", () => {
describe("accessibility", () => {
it("sh... |
import { ISprite } from '../../../gameobjects/sprite/ISprite';
export function PackColors <T extends ISprite> (sprite: T): T
{
sprite.vertices.forEach(vertex =>
{
vertex.packColor();
});
return sprite;
} |
import { Directive, forwardRef, Attribute } from '@angular/core';
import { Validator, AbstractControl, NG_VALIDATORS } from '@angular/forms';
@Directive({
selector: '[validateEqual][formControlName],[validateEqual][formControl],[validateEqual][ngModel]',
providers: [
{ provide: NG_VALIDATORS, useExisting: forwar... |
export declare const version = "address/5.0.37"; |
import { AzureFunction, Context, HttpRequest } from '@azure/functions'
import productsService from '../services/productsService'
const httpTrigger: AzureFunction = async function (context: Context, req: HttpRequest): Promise<void> {
let response
try {
let products = await productsService.read()
response =... |
export const USER_NOT_EXIST: string = "User with this email not exist";
export const WRONG_PASSWORD: string = "Wrong password"; |
// Sift is a small routing library that abstracts the details like registering
// a fetch event listener and provides a simple function (serve) that has an
// API to invoke a funciton for a specific path.
import {
json,
serve,
validateRequest,
} from "https://deno.land/x/sift@0.4.2/mod.ts";
// TweetNaCl is a cryp... |
import { diagnosticsForFile } from '../helpers/helpers';
test('Generic types are not correctly inferred (TS 3.4)', async () => {
const diagnostics = diagnosticsForFile(`${__dirname}/../samples/typescript-3.4-inference.ts`);
expect(diagnostics).toMatchSnapshot();
// explicit alignment with comments in file, to ... |
import React, { useEffect, useState } from 'react'
import { Case, PoliceCaseFile } from '@island.is/judicial-system/types'
import { PageLayout } from '@island.is/judicial-system-web/src/components'
import { useQuery } from '@apollo/client'
import {
CaseQuery,
PoliceCaseFilesQuery,
} from '@island.is/judicial-system... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
// Implementation of backend transliteration data scenario
import {
baseXliterationDataScenario,
BaseXliterationDataScenario,
MicrotaskRecordType,
MicrotaskType,
} from '@karya/core';
import { IBackendScenarioInterface } from '../Sce... |
import { Injectable } from '@nestjs/common';
import { InjectModel } from '@nestjs/mongoose';
import { Model } from 'mongoose';
import {
buildFindingQuery,
buildFindingQueryByObject,
} from 'src/helpers/build';
import { TestingResults } from './models/testingResult.schema';
import {
CreateOneService,
FindManySer... |
import createHashHistory from "history/createHashHistory";
// TODO: Add user confirmation setting
export default createHashHistory(); |
import { minamo } from "../../nephila/minamo.js";
import { Type } from "./type";
export module Base
{
export const simpleComparer = minamo.core.comparer.basic;
export const simpleReverseComparer = <T>(a: T, b: T) => -simpleComparer(a, b);
export const getUrlParams = (url: string = location.href) =>
{
... |
/**
* <p>A file that will be deleted as part of a commit.</p>
*/
export interface _DeleteFileEntry {
/**
* <p>The full path of the file that will be deleted, including the name of the file.</p>
*/
filePath: string;
}
export type _UnmarshalledDeleteFileEntry = _DeleteFileEntry; |
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome... |
import { FitbitSleepQueryResult } from './types';
import { FitbitRangeMeasure } from './FitbitRangeMeasure';
import { makeFitbitSleepApiUrl, FITBIT_DATE_FORMAT } from './api';
import { DateTimeHelper } from '@data-at-hand/core/utils/time';
import {
parse,
getDay,
parseISO,
differenceInSeconds,
startOfDay,
} f... |
import {
Metadata,
PackDistributionType,
ParsedAccount,
useMeta,
} from '@oyster/common';
import { BN } from 'bn.js';
import { useMemo } from 'react';
type MetadataWithProbability = ParsedAccount<Metadata> & {
probability: string;
};
export type PackMetadataByPackCard = Record<string, MetadataWithProbability... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { KeyCodes } from './../models/constants';
export class AccessibilityHelper {
public static isEnterOrSpace(event: any) {
return event.keyCode === KeyCodes.enter || event.keyCode === KeyCodes.space;
}
} |
<TS language="cs" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Pravým kliknutím upravte adresu nebo popisek</translation>
</message>
<message>
<source>Create a new address</source>
<tran... |
/**
* TIN (Belize Tax ID)
*
* Source
* https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Belize-TIN.pdf
*
* PERSON/ENTITY
*/
import * as exceptions from '../exceptions';
import { strings } from '../util';
import { Validator, ValidateReturn } from '../typ... |
import { readFileSync } from "fs";
import Fish from "./Fish";
const inputText: string = readFileSync("./input.txt", "utf-8");
const initialTimers: number[] = inputText.split(",").map((e) => parseInt(e));
const initialFishes: Fish[] = initialTimers.map((num) => new Fish(num));
const result = getNumberOfFishes(initial... |
/**
* Certificates Service Management API
* API for managing certificates.
* OpenAPI spec version: 20210224
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dua... |
/**
* REST API for Flexicore filtered by your access rights
* Flexicore REST API
*
* OpenAPI spec version: V3.2.0
* Contact: avishay@flexi-core.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually... |
import $logger from '../../src/server';
import logTest from '../lib/log';
logTest($logger, 'server'); |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-notfoundcmp',
templateUrl: './notfoundcmp.component.html',
styleUrls: ['./notfoundcmp.component.scss']
})
export class NotfoundcmpComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
// Esta mierda no funciona. dice cannot read property isCommand of undefined
import { Event } from '../types';
import { Message, CommandInteraction } from 'discord.js';
import { config } from '../botconfig';
import extClient from '../client';
export const event: Event = {
name: 'interactionCreate',
// He añadid... |
import React, { FC } from 'react';
import { Icon, IconInterface } from "@redesign-system/ui-core";
export const DivingScubaIcon: FC<IconInterface> = function DivingScubaIcon({
className,
...propsRest
}) {
const classNames = `DivingScubaIcon ${className}`;
return (
<Icon alt=... |
import { BotGuild } from '@lib/extensions/BotGuild';
import { GuildSettings } from '@lib/types/settings/GuildSettings';
import { Event, Settings } from 'klasa';
export default class extends Event {
public async run(settings: Settings) {
// If the synchronized settings isn't from the guilds gateway, return early.
... |
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, LOCALE_ID, NgModule} from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule, HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
import { RouteReuseStrategy, UrlSerializer } from '@angular/... |
import BuildParameters from '../../../build-parameters';
import CloudRunnerEnvironmentVariable from '../../services/cloud-runner-environment-variable';
import CloudRunnerLogger from '../../services/cloud-runner-logger';
import { ProviderInterface } from '../provider-interface';
import CloudRunnerSecret from '../../serv... |
import * as React from "react"
import {getTodayInputDateTimeString} from "../utils/utils";
import LocalStorageUtility from "../utils/LocalStorageUtility";
type AddLectureState = {
lecture: Lecture,
message: string,
companies: Company[],
attachment: any
image: any,
}
class AddLecture extends React.... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca@valencia" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Obsidian</source>
<translation type="unfinished"/>
</message>
<message>
<locat... |
import { browser, element, by } from 'protractor';
export class Angular2ExpressStarterPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
} |
import storage from '../../lib/storage';
import {isValidString} from '../../helpers/string';
import {handlerCallback} from '../../types'
const deleteToken:handlerCallback = (data,callback)=>{
const {id} = data.queryStringObj
if(isValidString(id) && id.trim().length === 20){
storage.read('tokens',id.tri... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sk" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SOLIDUS</source>
<translation>O SOLIDUS</translation>
</message>
<message>
<location li... |
import * as t from '@babel/types';
import { NodePath } from '@babel/traverse';
import { addNamed } from '@babel/helper-module-imports';
function pageConfigExpression(
path: NodePath<t.ExportDefaultDeclaration>,
id: t.Identifier
) {
const createId = addNamed(path, 'createPageConfig', 'remax');
path.insertAfter(... |
import { Meteor } from 'meteor/meteor';
import { hasPermission } from '../../../../../app/authorization/server';
import { businessHourManager } from '../../../../../app/livechat/server/business-hour';
Meteor.methods({
'livechat:removeBusinessHour'(id: string, type: string) {
const userId = Meteor.userId();
if (... |
/**
* @author Gleb Ordinsky <glebordinskijj@gmail.com>
*/
export const WebxrNativeAction = {
setWebXrNative: () => {
return {
type: 'SET_WEBXRNATIVE' as const
}
},
tougleWebXrNative: () => {
return {
type: 'TOGGLE_WEBXRNATIVE' as const
}
}
}
export type WebxrNativeActionType = Re... |
import { CheckOrderStepOutput, SendOrderStepInput, SendOrderStepOutput, StrategyStepType } from '../model/strategy-step';
import { StrategyStepService } from './strategy-step-service';
import { Strategy, StrategyWallet } from '../model/strategy';
import { StrategyStepRepository } from './strategy-step-repository';
impo... |
/*
MIT License
Copyright (c) 2020 Looker Data Sciences, Inc.
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 rights
to use, copy, modi... |
import React from 'react';
import {
SnippetsOutlined,
HomeOutlined,
InsertRowAboveOutlined,
UserOutlined,
ScheduleOutlined,
BankOutlined,
SettingOutlined
} from '@ant-design/icons';
import { Menu, Affix, Button } from 'antd';
import { useLocation, useHistory } from "react-router-dom";
imp... |
import AsyncStorage from '@react-native-community/async-storage';
export const saveLoginDetails = async (userData: any) => {
let email = '',
password = '';
if (userData.mail != null && userData.mail !== '') {
email = userData.mail;
}
if (userData.password != null && userData.password !== '') {
pas... |
import { PublicKey } from '@solana/web3.js';
import { programIds } from './programIds';
export const METADATA_PROGRAM_ID = 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s';
export const METADATA_PREFIX = 'metadata';
export type StringPublicKey = string;
export const findProgramAddress = async (
seeds: (Buffer | Uint8... |
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.13.9
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do n... |
export declare class ApiDemoPage {
isDisabled: boolean;
}
export declare class ApiDemoApp {
root: typeof ApiDemoPage;
}
export declare class AppModule {
} |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="af_ZA" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GOLDFISH</source>
<translation type="unfinished"/>
</message>
<message>
<location li... |
export declare class Sexo {
id_detalle: number;
sexo: string;
} |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export declare type LogMessage = string;
export declare type LogEntry = {
message: LogMessage;
origin:... |
import Head from "next/head";
const Offline = () => (
<>
<Head>
<title>PWA</title>
</Head>
<h1>Oops! you are offline!</h1>
</>
);
export default Offline; |
import { PrismaClient } from '@prisma/client';
export { PrismaClient as IDataBase }; |
import { ethers } from "hardhat";
import chai from "chai";
import { TestEd25519 } from '../typechain';
import { verify } from "crypto";
const { expect } = chai;
describe('Ed25519', () => {
let ed25519: TestEd25519
before('deploy Ed25519', async () => {
const ed25519Factory = await ethers.getContract... |
import React from 'react';
import { useHistory } from 'react-router-dom';
import { RestaurantListComponent } from './restaurant-list.component';
import { Restaurant, createEmpyRestaurant } from './restaurant.vm';
import * as api from './api';
import { linkRoutes, switchRoutes } from 'core/router';
//Cabecera de la tab... |
import { Response } from 'express'
import { NextFunction } from 'express'
import { HttpRequest } from '../HttpRequest'
export type Middleware = (
req: HttpRequest,
res: Response,
next: NextFunction
) => void | Promise<void> |
import { Client } from '../client';
import { BaseError } from '../errors/baseError';
import { UriHelper, HandlerQuery } from '../uri-helper';
import { ThBaseHandler } from '../base';
export interface UsersOptions {
user?: string;
base?: string;
configurationId?: string;
}
export interface UsersQuery {
l... |
import Engine from "publicodes";
import { mergeModels } from "../internal/merger";
import { getReferences } from "../utils/GetReferences";
import {
DepartRetraiteReferences,
MiseRetraiteReferences,
} from "./common/LegalReferences";
const engine = new Engine(mergeModels());
const DepartRetraiteCadresReferences =... |
import { UseWalletConnect } from './useWalletConnect';
import { Image } from 'components/image/Image';
export const WalletConnectModalList = ({
handleConnect,
SUPPORTED_WALLETS,
}: UseWalletConnect) => {
const className =
'flex items-center w-full px-16 py-10 border-2 border-grey-2 dark:border-grey-4 rounded... |
import { createContext, ReactNode, useContext, useState } from 'react';
type Episode = {
title: string;
members: string;
thumbnail: string;
duration: number;
url: string;
}
type PlayerContextData = {
episodeList: Array<Episode>;
currentEpisodeIndex: number;
isPlaying: boolean,
isLooping: boolean,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.