text stringlengths 10 953k |
|---|
import { ChatObject, MessageObject } from '../../../../interfaces';
import { MessageListStyles } from './styles';
import { Props as MessageBubbleProps } from './Message/props';
export interface Props extends MessageListStyles {
// Data
messages: MessageObject[];
chat?: ChatObject;
username?: string;
timezon... |
import { SpecifyLayout } from './interface';
declare const generatorSpecifyLayout: SpecifyLayout;
export default generatorSpecifyLayout; |
// import { Component, Input, EventEmitter, Output, HostBinding, OnChanges, ViewEncapsulation } from '@angular/core';
// import { Constants } from '@wth/shared/constant';
// @Component({
// moduleId: module.id,
// encapsulation: ViewEncapsulation.None,
// selector: 'me-item',
// templateUrl: 'media-item.compon... |
<TS language="fi" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Klikkaa hiiren oikealla muokataksesi osoitetta tai nimeä</translation>
</message>
<message>
<source>Create a new address</source>
... |
import {
Component,
ViewEncapsulation,
Input,
Output,
EventEmitter,
ContentChild,
TemplateRef,
ViewChild,
HostBinding,
OnChanges, SimpleChanges
} from '@angular/core';
import { SelectContainerComponent } from 'ngx-drag-to-select';
@Component({
selector: 'w-dataView',
templateUrl: 'w-dataView.co... |
// Copyright 2019 Xlab
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing... |
import { NetworkDefinition, Wallet } from './types';
export const genBrowserClient = ({
localDevNetworkName,
wallets,
networks,
}: {
readonly localDevNetworkName: string;
readonly wallets: ReadonlyArray<Wallet>;
readonly networks: ReadonlyArray<NetworkDefinition>;
}) => {
const mutableImports = [
'Cl... |
import { CompilationScope } from '../../compiler/CompilationScope'
import { ErrorType } from '../../type-checker/errors/Error'
import { cmd, unit } from '../../type-checker/types/builtins'
import {
functionFromTypes,
NamedType,
NType,
substitute,
} from '../../type-checker/types/types'
import { FuncTypeVarSpec,... |
import { countValidLengthPasswords, countValidPositionPasswords } from './dec2';
import { readRows } from 'support/files';
import { resolve } from 'path';
describe('dec2 Susanna', () => {
let input: string[];
beforeEach(() => {
const filePath = resolve(__dirname, './input.susanna.txt');
input = readRows(f... |
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule, ErrorHandler, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { IonicStorageModule, Storage } from ... |
<TS language="ne" 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>
... |
import * as path from "path";
import * as React from "react";
import { RUNTIME_CONSTANTS } from "../../build/config";
const ROOT_PATH: string = path.resolve(__dirname, "../../../");
const BABEL_TRANSFORMER_PATH: string = path.resolve(__dirname, "./babel_transformer.ts");
export const JEST_CONFIG = {
// automock: ... |
import { StackScreenProps } from "@react-navigation/stack";
import React from "react";
import BackHeader from "src/Components/Custom/BackHeader/BackHeader";
import ProductListing from "src/Components/Custom/ProductListing/ProductListing";
import Container from "src/Components/Shared/Container/Container";
import { useCa... |
import request from '@/utils/request';
export const getLog = (params: any) =>
request({
url: 'user/loginlog',
method: 'get',
params,
});
export const getMessage = (params: any) =>
request({
url: '/message',
method: 'get',
params,
});
export const getLabel = (params?: any) =>
reques... |
export * from "./button";
export * from "./checkbox";
export * from "./colors";
export * from './cookie-notice';
export * from "./copy";
export * from "./dropdown";
export * from "./dropdown-item";
export * from "./feature";
export * from "./footer";
export * from "./fonts";
export * from "./headline";
export * from ".... |
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { CSSTransition } from 'react-transition-group';
// import PropTypes from 'prop-types';
import './index.css';
export interface IProps {
visible: boolean;
className?: string;
destroyOnClose?: boolean;
onCancel: () => void;
}
ex... |
import { v3 } from './../math/v3'
// prettier-ignore
export const SimpleRectangle = new Float32Array([
0, 0,
1, 0,
0, 1, // Left Triangle
0, 1,
1, 0,
1, 1, // Right Triangles
])
export const generateSphere = (width = 10, height = 10, radius = 10) => {
let vertices: v3[] = []
const t = (1.0 + Math.sqrt(... |
import { type, string, number } from '../../..'
export const Struct = type({
name: string(),
age: number(),
})
export const data = {
name: 'john',
age: 'invalid',
}
export const failures = [
{
value: 'invalid',
type: 'number',
refinement: undefined,
path: ['age'],
branch: [data, data.ag... |
/**
* ovine 应用配置。文档:https://ovine.igroupes.com/org/docs/advance/configurations#%E5%BA%94%E7%94%A8%E9%85%8D%E7%BD%AE
* 路径别名映射:
* '@core/*': '@ovine/core/lib/*'
* '~/*': '/src/*'
*/
const config = {
env: {
default: {
disableLimit: true,
domains: {
api: 'https://test-api.com',
},
... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ParagraphComponent } from './paragraph.component';
import { ConfigModule } from '@spartacus/core';
import { CmsConfig } from '@spartacus/core';
@NgModule({
imports: [
CommonModule,
ConfigModule.withConfig(<CmsC... |
import { fetchHackerNews } from '../request/fetchHackerNews';
export const hackerNewsControllerFunc = async (parent: any, args: any, context: any, info: any): Promise<any[]> => {
const pageNumber = args.pageNumber || 1;
console.log('pageNumber = ', pageNumber);
const hackerNewsList = await fetchHackerNews(pageN... |
import { expect } from "chai";
describe(`chai`, () => {
it(`can use expect in a test`, () => {
// tslint:disable-next-line:typedef
const s = new Array<number>();
expect(s.length).to.equal(0);
});
}); |
/**
* @license
* Copyright Worktile 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://github.com/worktile/pkg-manager/blob/master/LICENSE
*/
export class ValidationError extends Error {
prefix: string;
constructor(pr... |
import { Component } from '@angular/core';
import { Hero } from './hero';
import { HeroService } from './hero.service'
@Component({
selector: 'my-app',
template: ` <h1>{{title}}</h1>
<nav>
<a routerLink="/dashboard" routerLinkActive="active">Dashboard</a>
... |
/*
* 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 {
FIELDS_BROWSER_CHECKBOX,
FIELDS_BROWSER_CONTAINER,
FIELDS_BROW... |
import {
Heading,
Text,
Divider,
Row,
Spacer,
View,
useExpoTheme,
RefreshIcon,
Button,
StatusIndicator,
TerminalIcon,
ChevronRightIcon,
InfoIcon,
} from 'expo-dev-client-components';
import * as React from 'react';
import { ScrollView } from 'react-native';
import { AppHeader } from '../compo... |
import Form from '../../components/common/Form/Form';
const FormPage = () => (
<>
<h2 className="text-dark dark:text-light text-2xl font-bold mb-5">Form</h2>
<h3 className="text-dark dark:text-light text-xl font-bold mb-3">Form Elements</h3>
<hr className="mb-5" />
<Form.Group controlId="form-item"... |
import { browser, logging } from 'protractor';
import { AppPage } from './app.po';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', async () => {
await page.navigateTo();
expect(await page.getTitleText()... |
import { IQuaternionLike } from './IQuaternionLike';
import { Vec3 } from '../vec3';
export declare function QuatToEulerAngles(q: IQuaternionLike, out?: Vec3): Vec3;
//# sourceMappingURL=QuatToEulerAngles.d.ts.map |
import React, { useMemo } from 'react';
import classNames from 'classnames';
import { Btn, BtnOptions } from "./Btn";
import './BtnGroup.less';
import { useSystemInfo } from '../../hooks/useSystemInfo';
export interface BtnGroupProps extends StyledProps {
children?: React.ReactNode;
layout?: 'flex' | 'vertical';
... |
import * as Path from 'path'
import * as FS from 'fs'
import { Repository } from '../../models/repository'
import { getConfigValue } from './config'
import { writeFile } from 'fs/promises'
/**
* Read the contents of the repository .gitignore.
*
* Returns a promise which will either be rejected or resolved
* with t... |
/**
* **This module is experimental**
*
* Experimental features are published in order to get early feedback from the community, see these tracking
* [issues](https://github.com/gcanti/io-ts/issues?q=label%3Av2.2+) for further discussions and enhancements.
*
* A feature tagged as _Experimental_ is in a high state... |
import { InfuraGas } from './infura-gas';
import { EthClient } from './eth-client';
export interface ITxManager {
insertLeaf(
toAddress: string,
fromAddress: string,
proof: any[],
publicInputs: any[],
newCommitment: string
): Promise<any>;
}
export async function txManagerServiceFactory(
pro... |
import chalk from 'chalk';
import * as Changelogs from '../../Changelogs';
import Git from '../../Git';
import logger from '../../Logger';
import { Package, getListOfPackagesAsync } from '../../Packages';
import { Task } from '../../TasksRunner';
import { CommandOptions, Parcel, TaskArgs } from '../types';
const { gr... |
import * as React from 'react';
import { IClassNames, IStyleFunction, classNamesFunction, styled, IStyleFunctionOrObject } from 'office-ui-fabric-react/lib/Utilities';
import { ITheme, IStyle } from 'office-ui-fabric-react/lib/Styling';
export interface IMarkdownParagraphProps {
styles?: IStyleFunctionOrObject<IMark... |
// import { Application } from './application'
// import { CanvasKeyBoardEvent } from './event/canvasKeyBoardEvent'
// import { CanvasMouseEvent } from './event/canvasMouseEvent'
// import { TestApplication } from './testApplication'
// import { Rectangle } from './math2D'
// import { axis } from './drawPolygon'
// imp... |
import { clApi } from '@commercelayer/cli-core'
import open from 'open'
const buildCheckoutUrl = (organization: string, id: string, accessToken: string): string => {
const baseUrl = clApi.baseURL(organization, 'checkout.commercelayer.app')
const checkoutUrl = `${baseUrl}/${id}?accessToken=${accessToken}`
retur... |
import AWS from 'aws-sdk';
import { Logger } from '../../common/logger';
import { DaemonProcessState } from './daemon-process-state';
import { S3CacheRatchet } from '../s3-cache-ratchet';
import { StringRatchet } from '../../common/string-ratchet';
import { DaemonProcessCreateOptions } from './daemon-process-create-opt... |
import { isLang, Lang } from '../../resources/languages';
import { UnreachableCode } from '../../resources/not_reached';
import PartyTracker from '../../resources/party';
import Regexes from '../../resources/regexes';
import { triggerOutputFunctions } from '../../resources/responses';
import UserConfig, {
ConfigValue... |
import { Button } from "./Button";
interface Genre {
id: number;
name: 'action' | 'comedy' | 'documentary' | 'drama' | 'horror' | 'family';
title: string;
}
interface SideBarProps {
selectedGenreId: number
onSelectGenre: (genre: number) => void
genres: Genre[]
}
export function SideBar(props: SideBarProp... |
// Vidur Ratna 1309874
import React from "react";
import { Redirect } from 'react-router';
import { FormGroup, FormControl, ControlLabel, Button, Glyphicon } from "react-bootstrap";
import { Auth } from "aws-amplify";
import "./login.css";
const emailRegex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"... |
export interface Company {
id: string;
name: string;
host: string;
image: string;
portalUrl: string;
info: string;
createdAt?: Date;
updatedAt?: Date;
} |
import { SpeekPeer } from './speek-peer'
describe('SpeekPeer', () => {
it('should create an instance', () => {
expect(new SpeekPeer()).toBeTruthy()
})
}) |
import { AppProps } from "next/app";
/**
* https://nextjs.org/learn/basics/assets-metadata-css/global-styles
* Global Styles
*/
const App = ({ Component, pageProps }: AppProps) => {
return <Component {...pageProps} />;
};
export default App; |
import { Box, Button, Container, Typography } from '@material-ui/core';
import React from 'react';
import { useWeb3React } from '@web3-react/core';
import { Web3Provider } from '@ethersproject/providers';
export const Explainer = () => {
const { active } = useWeb3React<Web3Provider>();
return (
<Box m... |
import { Document } from 'mongoose';
export const idField = <T extends Document>() => ({
type: 'MongoID',
resolve: (source: T) => source._id,
projection: { _id: true },
}); |
import * as ts from "typescript";
import * as lua from "../../LuaAST";
import { transformBuiltinCallExpression } from "../builtins";
import { FunctionVisitor, TransformationContext } from "../context";
import { AnnotationKind, getTypeAnnotations, isInTupleReturnFunction, isTupleReturnCall } from "../utils/annotations";... |
import { readFileSync } from 'fs-extra';
import { consola } from '../common/logger';
const commitRE =
/^(revert: )?(fix|feat|docs|perf|test|types|style|build|chore|refactor|breaking change)(\(.+\))?: .{1,50}/;
const mergeRE = /Merge /;
export function commitLint() {
const gitParams = process.env.HUSKY_GIT_PARAMS ... |
export class CreateTeacherDisciplineRequest {
readonly disciplineId: number;
readonly grade: string;
} |
/**
* @license Angular v12.2.5
* (c) 2010-2021 Google LLC. https://angular.io/
* License: MIT
*/
import { HttpBackend } from '@angular/common/http';
import { HttpEvent } from '@angular/common/http';
import { HttpHeaders } from '@angular/common/http';
import { HttpRequest } from '@angular/common/http';
import { Obs... |
// /src/maps/bike_scooter/materialicons/24px.svg
import { createSvgIcon } from './createSvgIcon';
export const SvgBikeScooter = createSvgIcon(
`<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24">
<g>
<rect fill="none" height="24" width="24"/... |
import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class TiFlowChildren extends React.Component<IconBaseProps, any> { } |
const VALID_URL_REGEX = new RegExp(
'^(https?:\\/\\/)?' +
'((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' +
'((\\d{1,3}\\.){3}\\d{1,3}))' +
'(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*' +
'(\\?[;&a-z\\d%_.~+=-]*)?' +
'(\\#[-a-z\\d_]*)?$',
'i'
);
/**
* @param url - The input URL
* @returns The URL pref... |
import nock from 'nock'
// import nockBack from 'nock'
// Requiring our app implementation
import myProbotApp from '../src'
import { BotConfig } from '../src/BotConfig'
import { Probot /*, GitHubAPI, Context*/ } from 'probot'
import { wrapLogger } from 'probot/lib/wrap-logger'
import { logger } from 'probot/lib/logger... |
import Card from '@celo/react-components/components/Card'
import colors from '@celo/react-components/styles/colors'
import * as React from 'react'
import { StyleProp, StyleSheet, ViewStyle } from 'react-native'
import ReactNativeModal from 'react-native-modal'
import { SafeAreaView } from 'react-native-safe-area-contex... |
import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
import { RouterTestingModule } from '@angular/router/testing';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [RouterTestingModule],
declaration... |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
// import { AngularFontAwesomeModule } from 'angular-font-awesome';
import { FormsModule } from '@angular/forms';
import { OrderModule } from 'ngx-order-pipe';
import { NgxPaginationModule } from 'ngx-pagination';
import { NgCusto... |
// *** 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 * as utilities from "../../utilities";
// Export members:
export * from "./containerGroup";
export * from "./getCo... |
import { createBEM } from "@oly_op/bem"
import Button from "@oly_op/react-button"
import { createElement, FC } from "react"
import "./index.scss"
const bem =
createBEM("Footer")
const Footer: FC = () => (
<a
target="_blank"
rel="noreferrer"
href="https://musicloud-app.com"
className={bem("", "Elevated")}
... |
export {multiDispatch} from './multi-dispatch'; |
import { findPackageRoot, findProjectRoot } from '../paths';
import fs from 'fs-extra';
import path from 'path';
import { listAllTrackedFiles } from '../git';
import { PackageInfos } from '../types/PackageInfo';
import { infoFromPackageJson } from './infoFromPackageJson';
export function getPackageInfos(cwd: string) {... |
import { RegionData } from "../Core/RegionData";
export declare type SelectionNotifyFunction = () => void;
export declare type SelectionConfirmFunction = (regionData: RegionData) => void;
/**
* Defines a collection of callbacks passed to the `AreaSelector` constructor.
*/
export interface ISelectorCallbacks {
/**... |
export const completionSpec: Fig.Spec = {
name: "dms",
description:
"AWS Database Migration Service AWS Database Migration Service (AWS DMS) can migrate your data to and from the most widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB, Ama... |
import { Assertions, GeneralSteps, Logger, Pipeline, Step } from '@ephox/agar';
import { Cell, Fun } from '@ephox/katamari';
import { TinyApis, TinyLoader } from '@ephox/mcagar';
import { Element } from '@ephox/sugar';
import Theme from 'tinymce/themes/silver/Theme';
import { UnitTest } from '@ephox/bedrock-client';
im... |
///////////////////////////////////////////////////////////////////////////////////
// Copyright 2016-present, Jnfinity, Inc. //
// All rights reserved. //
// ... |
import { Carrier, getHubFromCarrier, getMainCarrier } from '@sentry/hub';
import { RewriteFrames } from '@sentry/integrations';
import { configureScope, getCurrentHub, init as nodeInit, Integrations } from '@sentry/node';
import { hasTracingEnabled } from '@sentry/tracing';
import { Event } from '@sentry/types';
import... |
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, ParamMap } from '@angular/router';
import { Observable } from 'rxjs';
import { switchMap } from 'rxjs/operators';
import { FeedService } from 'app/services/feed.service';
import { Feed } from 'app/models/feed';
import { Article } from 'app/mode... |
export enum State {
ON = 1,
OFF = 0
} |
import * as simpleRegexpBuiltIns from './built-ins/simple-regexp-patterns';
export type SimpleFinding = {
text: string,
replaceWith: string
}
export interface ISyncRedactor {
/**
* @param textToRedact
* @param whitelist Applies only to GoogleDLPRedactor. Set of strings that should not be redacted.
*/
reda... |
import { Injectable } from '@nestjs/common';
import { BaseError } from '../../../app/core/error/BaseError';
import { ErrorMap } from '../../../app/core/error/Error.map';
import { Result } from '../../../app/core/Result';
import { Usecase } from '../../../app/core/Usecase';
import { AuthService } from '../../services/Au... |
import * as React from 'react';
const { useState } = React;
const noop = () => {};
export type Element = ((state: boolean) => React.ReactElement<any>) | React.ReactElement<any>;
const useHover = (element: Element): [React.ReactElement<any>, boolean] => {
const [state, setState] = useState(false);
const onMouse... |
import {Component, OnInit} from '@angular/core';
import {FormControl, Validators} from '@angular/forms';
import {Store} from '@ngrx/store';
import {AppState} from '../../app.reducers';
import * as fromTodo from '../todo.actions';
@Component({
selector: 'app-todo-add',
templateUrl: './todo-add.component.html',
st... |
import React from 'react'
import useBoolean from '~/utils/hooks/useBoolean'
import NavButton from '~/components/ui/button/NavButton/NavButton'
export default () => {
const [redirectToNavLogin, setRedirectNav] = useBoolean()
const handleNavClick = () => {
setRedirectNav()
}
if (redirectToNavLogin) {
let url = ... |
export default [
'0',
'about',
'about',
'abuse',
'access',
'account',
'accounts',
'activate',
'activities',
'activity',
'ad',
'add',
'address',
'adm',
'admin',
'administration',
'administrator',
'ads',
'adult',
'advertising',
'affiliate',
'affiliates',
'ajax',
'all',
'a... |
/*
* Created with @iobroker/create-adapter v1.11.0
*/
// The adapter-core module gives you access to the core ioBroker functions
// you need to create an adapter
import * as utils from "@iobroker/adapter-core";
import {PegelOnlineAPI} from "./lib/PegelOnlineAPI";
// Load your modules here, e.g.:
// import * as fs f... |
/*
* File containing map elements. These are either terrain or interactive
* elements like stairs.
*/
import RG from './rg';
import {Entity} from './entity';
import * as Mixin from './mixin';
import * as Component from './component/component';
import {compsToJSON} from './component/component.base';
type Cell = imp... |
import BaseInterface from 'App/Shared/Interfaces/BaseInterface'
import Reply from 'App/Modules/Question/Models/Reply'
export namespace IReply {
export interface Repository extends BaseInterface<typeof Reply> {}
export namespace DTO {
export type Store = {
user_id: string
replies: Array<{
c... |
import AnimatedScreenHeader from './AnimatedScreenHeader';
export default AnimatedScreenHeader; |
import { NgModule } from "@angular/core";
import { FileTypeAssociationService } from "@batch-flask/ui/file/file-viewer/file-type-association";
import { commonModules } from "app/common";
import { DataSharedModule } from "app/components/data/shared";
import { JobActionModule } from "app/components/job/action";
import { ... |
import { parseYear } from '../parseYear';
describe('parseYear', () => {
it('should parse the year', () => {
const year = parseYear(
'Movie.Name.2021.1080p.WEB-DL.DDP5.1.Atmos.H.264-moo.mkv'
);
expect(year).toStrictEqual('2021');
});
it('should return undefined', () => {
const year = parse... |
/*
* Copyright © 2018 Atomist, 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 agree... |
import mongoose from 'mongoose';
export type UsersDocument = mongoose.Document & {
name: string,
id: number,
bio: string,
createdAt: Date,
};
const usersSchema = new mongoose.Schema({
name: String,
id: { type: Number, index: true, unique: true },
bio: String,
createdAt: { type: Date, default: Date.now... |
import React from 'react';
import { Recipe } from '../types';
import { Link } from 'react-router-dom';
import { Card, Button } from 'react-bootstrap';
const Preview: React.FC<{ recipe: Recipe }> = ({ recipe }) => {
const trimmedText = (): string => {
if (!recipe.description) {
return "...";
}
if (r... |
/**
* Copyright 2020 Opstrace, 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 agree... |
import I18n = require('../interfaces.d');
declare var bud:I18n.IFingerprint;
bud = { rank: -1,
iso: 'bud',
name: 'Bassar Ntcham',
trigrams:
{ ' ní': 0,
' ki': 1,
'ní ': 2,
'ki ': 3,
'ee ': 4,
' bi': 5,
'aa ': 6,
'ti ': 7,
' ti': 8,
' kí': 9,
'in ': 10,
' ... |
import { attributes, fourBitColors } from './styles.ts'
import { Crayon } from './types.ts'
/** @internal */
export const clamp = (num: number, min: number, max: number) =>
Math.min(Math.max(num, min), max)
/** @internal */
export const errorConfig: Crayon['config']['errors'] = new Proxy(
{
log: true,
throw: fa... |
import { MediaType } from './mediatype.model';
import { MediaTag } from './mediatag.model';
export class Media {
constructor() {}
mediaId?: number;
type?: MediaType;
name?: string;
mediaTag?: MediaTag[];
} |
import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient";
import { ListTargetsForPolicyRequest, ListTargetsForPolicyResponse } from "../models/models_0";
import {
deserializeAws_json1_1ListTargetsForPolicyCommand,
serializeAws_json1_1ListTargetsForPolicyComma... |
import Parse from "parse/node";
const addInitialBoardSchema = async () => {
const schema = new Parse.Schema("Board");
schema.addString("name");
schema.addPointer("owner", "_User", {required: true});
schema.addPointer("template", "Template");
schema.addObject("columns", {defaultValue: {}});
schema.addBoolea... |
import { diff } from '../../../diff2'
import { parse } from '../../../../parse/parse2'
import { updateOffsetMap } from '../../../../parse/updateOffsetMap'
function adjustEdits(edits){
for(const edit of edits){
delete edit.payload.index
delete edit.payload.beforeId
delete edit.payload.id
delete edit.p... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Fizzlecoin</source>
<translation>Tietoa Fizzlecoinista</translation>... |
/**
* 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 { default } from 'components/Pages/Terms'; |
/*
* Copyright © 2019 Cask Data, 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 agreed t... |
import React, { Fragment } from 'react';
import { Level, LevelItem } from '@patternfly/react-core';
import { ContextSelector, ContextSelectorItem } from '@patternfly/react-core';
import { Dropdown } from '@app/Dropdown';
export interface IProps {
handleMoveLeft: () => any
handleMoveRight: () => any
handleMoveToF... |
import styled from 'styled-components';
const CardActionAreaStyled = styled.div``;
export default CardActionAreaStyled; |
export interface CustomButtonProps {
onPress: VoidFunction;
styles: Object;
buttonStyleBase: Object;
buttonTextStyleBase: Object;
buttonTextStyle: Object;
} |
/// <reference types="react" />
import * as React from "react";
import { StyleProp, TextStyle, ViewStyle } from "react-native";
import { PinStatus } from "./PinCode";
import { PinResultStatus } from "../index";
/**
* Pin Code Enter PIN Page
*/
export declare type IProps = {
storedPin: string | null;
disableLo... |
export const CODE_HTML = `\
<div class="box-container">
<div class="box-swap bg-success" ngDraggable
[preventDefaultEvent]="true"
[zIndexMoving]="9999"
[trackPosition]="false"
[position]="positionA"
(movingOffset)="onMoving($event)">A (Drag)</div>
<div class="box-swap bg-info static-block" [ngDr... |
import * as React from "react";
import { JSX } from "react-jsx";
import { IFluentIconsProps } from '../IFluentIconsProps.types';
const Speaker216Filled = (iconProps: IFluentIconsProps, props: React.HTMLAttributes<HTMLElement>): JSX.Element => {
const {
primaryFill,
className
} = iconProps;
return <svg {.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.