text
stringlengths
10
953k
///<reference path="../../../node_modules/grafana-sdk-mocks/app/headers/common.d.ts" /> import moment from 'moment'; import $ from 'jquery'; import _ from 'lodash'; export class DeploymentInfoCtrl { pageReady: boolean; deployment: any; cluster_id: any; clusterDS: any; datasource: any; static templateUrl ...
import { ServiceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogClient"; import { UpdateConstraintInput, UpdateConstraintOutput } from "../models/models_0"; import { deserializeAws_json1_1UpdateConstraintCommand, serializeAws_json1_1UpdateConstraintCommand, } from "../pro...
import { Controller, Post, Param,HttpStatus, HttpCode, Get, Response, Body, UseGuards, Request } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { AuthService } from './auth.service'; import { UsersService } from '../users/users.service'; import { MailerService } from '@nest-modules/mailer';...
import { useParams } from "react-router-dom"; import logoImg from "../assets/images/logo.svg" import { Button } from "../components/Button" import { RoomCode } from "../components/RoomCode"; import "../styles/room.scss"; type export function Room() { const params = useParams(); return ( <div id="p...
import React, { useEffect, useRef, useState } from 'react'; import './home.less'; import 'antd/dist/antd.css'; import { Dropdown, Layout, Menu, Spin } from 'antd'; import { Link, useHistory, useLocation } from 'react-router-dom'; import Icon, { CaretDownOutlined, LoadingOutlined, ReloadOutlined, PlusOutlined, ...
import cluster from "cluster"; import express, { Express } from "express"; import { GraphQLSchema } from "graphql"; import { RedisPubSub } from "graphql-redis-subscriptions"; import http from "http"; import { Db } from "mongodb"; import { AggregatorRegistry, collectDefaultMetrics } from "prom-client"; import { Subscrip...
import type { ReadonlyDeep } from "type-fest" export type Location = ReadonlyDeep<{ file: string lineNumber: number text: string }> export type DiagnosticLevel = "Error" | "Warning" | "Information" | "Hint" export type Diagnostic = ReadonlyDeep<{ file: string lineNumber: number severity: DiagnosticLevel ...
import { Client } from '@elastic/elasticsearch'; import { ISignUpLead, } from '@gamaops/definitions/identity/types/v1'; import bodybuilder from 'bodybuilder'; export const indexSignUp = async (elasticsearch: Client, signUp: ISignUpLead) => { const { signUpId, ...signUpData } = signUp; await elasticsearch.upd...
// Definitions. import { Keyframes as KeyframesDefinition, UnparsedKeyframe as UnparsedKeyframeDefinition, KeyframeDeclaration as KeyframeDeclarationDefinition, KeyframeInfo as KeyframeInfoDefinition, KeyframeAnimationInfo as KeyframeAnimationInfoDefinition, KeyframeAnimation as KeyframeAnimatio...
import fs from 'fs'; import { FS } from '../../types'; export default { lstat: fs.lstat, readdir: fs.readdir, readFile: fs.readFile, } as FS;
import fs from 'fs-extra'; import path from 'path'; import glob from 'glob'; import chokidar from 'chokidar'; import gulp from 'gulp'; import gulpIf from 'gulp-if'; import rename from 'gulp-rename'; import replace from 'gulp-replace'; import cleanCSS from 'gulp-clean-css'; import mergeStream from 'merge-stream'; import...
import { useEffect, useState } from 'react'; import useScript from 'react-script-hook'; import { createPlaid, PlaidFactory } from './factory'; import { PlaidLinkOptions, PlaidLinkOptionsWithPublicKey } from './types'; const PLAID_LINK_STABLE_URL = 'https://cdn.plaid.com/link/v2/stable/link-initialize.js'; const no...
/* * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requi...
import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, HttpHandlerOptions...
export { default } from './Section'; export * from './Section.types';
import React from "react"; import { useState } from "react"; import { Fragment } from "react"; import { IVolunteerTeam } from "../../../requests/volunteers/types"; import EmojiIcon from "../../../ui-components/icons/emoji/emoji-icon"; import { EMOJIS } from "../../../ui-components/icons/emojis"; import EditCreateTeamMo...
import {Sequelize} from 'sequelize-typescript'; import config from '../config/config' import ChannelHandler from '../handler/channelHandler'; import { Channel } from './channel'; export class Database { private static instance: Database = undefined private sequelize: Sequelize /** * Connect to databa...
import { gql } from "apollo-server-micro"; import { EventEmitter } from "events"; import * as fs from "fs"; import { bootstrapSchema, importPlugin, loadManifest } from "./Bootstrap"; import nRequire from "./nativeRequire"; import { Resolvers } from "./resolvers"; import { models as fakerModels } from "./resolvers/db/fa...
import {Builtin} from './common'; import {IfTuple} from './type-check'; import {OptionalKeys} from './keys'; /** * Partial but deeply */ export type DeepPartial<T> = _DeepPartial<T>; type _DeepPartial<T> = T extends Builtin ? T : T extends Promise<infer U> ? Promise<DeepPartial<U>> : T extend...
import {MediaDTO} from './MediaDTO'; import {FileDTO} from './FileDTO'; import {PhotoDTO} from './PhotoDTO'; export interface DirectoryDTO<S extends FileDTO = MediaDTO> { id: number; name: string; path: string; lastModified: number; lastScanned: number; isPartial?: boolean; parent: DirectoryDTO<S>; med...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-table-structure', templateUrl: './table-structure.component.html', styleUrls: ['./table-structure.component.scss'] }) export class TableStructureComponent implements OnInit { constructor() { } ngOnInit(): void { } }
import * as fromCurrencies from '../actions/currencies.action'; export interface CurrenciesState { entities: { [isocode: string]: any }; loadAttempted: boolean; loading: boolean; activeCurrency: string; } export const initialState: CurrenciesState = { entities: {}, loadAttempted: false, loading: false, ...
import React from "react"; import PageHeader from "../../components/PageHeader"; import TeacherItem from "../../components/TeacherItem"; import "./styles.css"; const TeacherList: React.FC = () => { return ( <div id="page-teacher-list" className="container"> <PageHeader title="Estes são os proffys disponí...
import React from 'react' const ThumbsDownMediumDarkSkinTone = ({ size, rem }: { size: number | string, rem?: boolean }) => { const width = (typeof size === 'string') ? size : rem ? `${size}rem` : `${size}px` return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" style={{ width: width }}><pa...
import React, { FunctionComponent, useState } from "react" import { View, StyleSheet, TouchableWithoutFeedback } from "react-native" import { SvgXml } from "react-native-svg" import { Text } from "../../components" import { Colors, Iconography, Forms } from "../../styles" import { Icons } from "../../assets" interfa...
export type OutputBuffer = {}; export type SourceBuffer = { initCam: (index?: number) => void; initScreen: () => void; init: (options: { src: any; dyanmic: boolean }) => void; }; export type Buffer = OutputBuffer | SourceBuffer; export type CallbackObject = { time: number; }; export type NumberParameter = numbe...
import { DrawPosterPlugin } from '../../core/plugin' import uQRCode from './uQRCode' declare module '../../core/typed' { interface CanvasCtx { /** 绘制二维码 * * 说明文档: https://tuimao233.gitee.io/mao-blog/my-extends/u-draw-poste */ drawQrCode(options: DrawQrCodeOptions): void } } /** 绘制二维码配置 */ exp...
import { StyleSheet } from 'react-native'; export const styles = StyleSheet.create({ button: { marginTop: 20, width: 300, alignSelf: 'center', }, });
import React, { useRef, useState, useEffect, useContext } from "react"; import { View, StyleSheet, FlatList, AppState } from "react-native"; import { ListItem, Text, Button, Badge } from "react-native-elements"; import StateContext from "../Context"; import { $post } from "../Util/Request"; import { NotificationDTO } f...
import * as WebSocket from 'ws' import * as chokidar from 'chokidar' import * as http from 'http' import {join} from 'path' export default class LiveReload { private wss?: WebSocket.Server constructor (readonly server: http.Server) {} listen () { if (!this.wss) { this.wss = new WebSocket.Server({serv...
import * as React from "react"; import { connect } from "react-redux"; import { NavLink } from "react-router-dom"; import { AppState } from "@store/state"; import { Routes } from "@scripts/constants"; import { Menu } from "@components/Home/Menu"; import "./NavMenu.scss"; type NavMenuProps = StateProps; const NavMenu...
export type PathType = { one: string | null two: string | null three: string | null four: string | null five: string | null }
import * as React from "react" import AnimatedSlideUpElement from "../../../components/animated-slideup-element/animated-slideup-element.component" import "./hireme.component.scss" type HireMeProps = {} const HireMe: React.FC<HireMeProps> = () => ( <section className="hireme"> <AnimatedSlideUpElement type="h1"> ...
export const methods = [ 'get', 'post', 'put', 'patch', 'delete', 'head', 'options' ]; export const statusCodes = [ 100, 101, 102, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, ...
import { Command } from "../types/command.interfaces"; import { voice } from "../modules/voice"; const skip: Command = { name: "skip", patterns: ["skip", "s"], async execute({ msg }) { if (!msg.guild) { return msg.channel.send("Cannot find server to skip song on"); } const voiceChannel = msg.m...
/* * Copyright 2021 The Backstage Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
import Filter from './Filter' export default Filter
import { graphql, commitMutation } from 'react-relay' import env from '@yotta/web/src/relay/Environment' import { LoginWithGithubInput, LoginWithGithubMutationResponse, LoginWithGithubMutation, } from './__generated__/LoginWithGithubMutation.graphql' const mutation = graphql` mutation LoginWithGithubMutation...
import { Module } from '@nestjs/common'; import { AppGraphqlModule } from 'src/shared/modules/graphql/graphql.module'; import { AppConfigModule } from 'src/shared/modules/config/app-config.module'; import { DataAccessModule } from 'src/shared/modules/data-access/data-access.module'; import { AccountingFeature } from '....
import { MessageEmbed } from 'discord.js'; import { getPlayer } from '../../util/musicUtil'; import { Command } from '../../classes/Command'; import { embedColor, quickEmbed } from '../../util/styleUtil'; export const command: Command = { name: 'Replay', description: 'Replay last song played', args: false, ...
import { storiesOf } from '@storybook/react'; import stories from './stories'; // @ts-expect-error ts-migrate(2554) FIXME: Expected 2 arguments, but got 1. const s = storiesOf('Base/Scrollable'); stories.forEach((story) => s.add(story.name, story.content));
import { Component, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'app-resolve-confirm-dialog', templateUrl: './resolve-confirm-dialog.component.html', styleUrls: ['./resolve-confirm-dialog.component.css'] }) export class ResolveConfirmDialogCompon...
import { Component, OnInit, Output, EventEmitter } from '@angular/core'; import { Quote } from '../quote'; @Component({ selector: 'app-quote-form', templateUrl: './quote-form.component.html', styleUrls: ['./quote-form.component.css'] }) export class QuoteFormComponent implements OnInit { newQuote = new Quote("...
import { ExtendableStyles, WithChildren } from 'utils/types' import React from 'react' import { css, cx, makeStyles } from 'services/styles' import { Theme } from 'design-system' export type MainProps = ExtendableStyles & WithChildren export function Main({ className, children, ...otherProps }: MainProps) { const ...
/** * @file 下拉刷新 */ declare namespace my { interface IStartPullDownRefreshOptions { success?: () => void; fail?: () => void; complete?: () => void; } interface IStopPullDownRefreshOptions { success?: () => void; fail?: () => void; complete?: () => void; } /** * 停止当前页面的下拉刷新。 */ ...
import React, { useState } from "react"; import { action } from "@storybook/addon-actions"; import type { Meta } from "@storybook/react"; import { Button } from "../button"; import type { DialogProps } from "../dialog"; import { Dialog, DialogActions, DialogContent } from "../dialog"; import TextField from "../Input/t...
import { TestBed } from '@angular/core/testing'; import { RencontresServiceService } from './rencontres-service.service'; describe('RencontresServiceService', () => { beforeEach(() => TestBed.configureTestingModule({})); it('should be created', () => { const service: RencontresServiceService = TestBed.get(Re...
import {Request, Response} from 'express'; interface IRoute { path: string; execute(request: Request, response: Response); } export default IRoute;
import { Observable, Subscription } from 'rxjs'; import { Component, OnInit, HostListener, Input, OnDestroy } from '@angular/core'; import { MediaContainer } from '../../models/media-container'; import { NgOpengalleryService } from '../../ng-opengallery.service'; @Component({ selector: 'media-viewer', templateUrl:...
import { format } from 'date-fns' import { UserConfig, ConfigEnv } from 'vite' import { loadEnv } from 'vite' import { resolve } from 'path' import { wrapperEnv } from './build/utils' import { createVitePlugins } from './build/vite/plugin' import { createProxy } from './build/vite/proxy' import pkg from './package.json...
import Image from "next/image"; import Link from "next/link"; import { StarIcon, UserIcon } from "@heroicons/react/outline"; import useSWRImmutable from "swr/immutable"; import fetcher from "@/lib/fetcher"; import Skeleton from "@/components/Skeleton"; import { SkeletonTheme } from "react-loading-skeleton"; const Gith...
import { INgxFileUploadRequest, NgxFileUploadControl } from "@ngx-file-upload/core"; /** * remote control for a single upload, will passed * by [NgxFileUploadItem]{@link ../components/NgxFileUploadItem.html} as context.ctrl * to the item template. * * @example * * <ng-template let-uploadData="data" let-uploadCt...
export const getRandomNumber = (max = 10, min = 1) => Math.floor(Math.random() * max) + min export const getRandomFruit = () => { const fruits = [ 'kiwi', 'coconut', 'grapes', 'melon', 'watermelon', 'orange', 'lemon', 'banana', 'pineapple', 'red_apple', 'green_apple', ...
export declare class RandomGenerator { /** * discuss at: http://locutus.io/php/sha1/ * original by: Webtoolkit.info (http://www.webtoolkit.info/) * improved by: Michael White (http://getsprink.com) * improved by: Kevin van Zonneveld (http://kvz.io) * input by: Brett Zamir (http://brett-...
import {routers, _setInitTriggerHeight} from '../../_global/globalvariable'; import {InstanceLoader} from '../InstanceLoader'; import {NamedThing} from '../NamedThing'; export class route { private pageClassName: any = null; constructor(routePath: string) { if (this.isValidate(routePath) && this.isRou...
import { Component, Output, EventEmitter, Input, OnChanges } from '@angular/core'; @Component({ selector: 'cs-select-layout-5', templateUrl: 'select-layout-5.page.html', styleUrls: ['select-layout-5.page.scss'], }) export class SelectLayout5Page implements OnChanges { @Input() data: any; @Output() onChange =...
import { of as observableOf, Observable } from 'rxjs'; import { Injectable } from '@angular/core'; let counter = 0; @Injectable() export class UserService { private users = { nick: { name: 'Nathan', picture: 'assets/images/nick.png' }, eva: { name: 'Eva Moor', picture: 'assets/images/eva.png' }, jack...
// fontawesome/svgs/solid/chevron-left.svg import { createSvgIcon } from './createSvgIcon'; export const SvgChevronLeft = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"> <!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/licens...
import * as React from 'react'; import { StyledIconProps } from '../../StyledIconBase'; export declare const ZoomOutDimensions: { height: number; width: number; };
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { CitizenPanelComponent } from './citizen-panel.component'; describe('CitizenPanelComponent', () => { let component: CitizenPanelComponent; let fixture: ComponentFixture<CitizenPanelComponent>; beforeEach(async(() => { TestBed...
import "mocha"; import * as expect from "expect"; import { codeRaisesError, codeRaisesErrorWithOptions, testCodeEmit, testCodeEmitWithOptions, } from "./test-helpers"; import { AssemblerOptions } from "../../src/z80lang/assembler/assembler-in-out"; import { Z80Assembler } from "../../src/z80lang/assembler/asse...
import { INestApplication } from '@nestjs/common'; import { Test } from '@nestjs/testing'; import { AppModule } from '../../src/app.module'; import { AuthorService } from './../../src/author/services/author.service'; import * as request from 'supertest'; describe('Author', () => { const authorService = { all: () ...
import {testSyntax} from "../testSyntax"; import {Overlay} from "../../lib/syntax/Overlay"; describe("Overlay", () => { testSyntax(Overlay, { str: "overlay('Txxxxas' placing 'hom' from 2 for 4)", shouldBe: { str: {elements: [{ content: "Txxxxas" }]}, ...
/** * `Traversable` represents data structures which can be _traversed_ accumulating results and effects in some * `Applicative` functor. * * - `traverse` runs an action for every element in a data structure, and accumulates the results. * - `sequence` runs the actions _contained_ in a data structure, and accumula...
import * as React from 'react'; import { DataGridPro, GridApiRef, GridColumns, gridColumnVisibilityModelSelector, GridEvents, GridRowGroupingModel, useGridApiRef, } from '@mui/x-data-grid-pro'; import { useMovieData } from '@mui/x-data-grid-generator'; const INITIAL_GROUPING_COLUMN_MODEL = ['company', 'd...
import { RequestOptions, RestyResponse } from 'resty-client'; import { AudioAPI } from './v1/audio'; import { ChannelAPI } from './v1/channel'; import { ChannelPermissionsAPI } from './v1/channel-permission'; import { DirectMessageAPI } from './v1/direct-message'; import { GuildAPI } from './v1/guild'; import { MeAPI }...
'use strict'; import BaseApplication from '../Core/BaseApplication'; import { EasyWechatConfig } from '../Core/Types'; import { makeSignature } from '../Core/Utils'; import MicroMerchantBase from './Base/MicroMerchantBase'; import CertficatesClient from './Certficates/CertficatesClient'; import MediaClient from './Med...
function* gen() { // Once this is supported, the inner expression does not need to be parenthesized. var x = yield `abc${ x }def`; }
import { ClassMetaCreator } from "../implemention"; import { injectable } from "inversify"; import { NAMESPACE } from "./namespace"; export function Controller(url: string = '/') { return ClassMetaCreator.join( injectable(), ClassMetaCreator.define(NAMESPACE.CONTROLLER, url) ) }
import * as session from 'express-session'; import * as redis from 'redis'; import * as Store from 'connect-redis'; import { SESSION_SECRET } from './constants'; declare module 'express-session' { interface SessionData { userId: string; } } const RedisStore = Store(session); const redisClient = redis.createCl...
import { Component, OnDestroy } from '@angular/core'; import { NativeLoginService } from '@openchannel/angular-common-services'; import { ActivatedRoute, Router } from '@angular/router'; import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; import { ComponentsUserResetPassword } from '@openchannel...
import { Form } from '@cisco-msx/forms'; import { requiredValidator } from '@cisco-msx/forms/validators'; import _ from 'lodash'; export function createHelloWorldForm(initialValues?: string[]): Form { const form = new Form(); form.setFields([ { name: 'Input1', type: 'input', initialValue: _.ge...
import React, { FC } from 'react'; import { graphql } from 'gatsby'; import styled from 'styled-components'; import { MDXRenderer } from 'gatsby-plugin-mdx'; import Layout from '../components/Layout'; import PostList from '../components/PostList'; import { Category, BlogPost } from '../components/types'; import Seo fro...
import { IsEmail, IsNotEmpty, IsString, Validate } from 'class-validator'; import { Field, InputType } from 'type-graphql'; import { UserExistValidator } from '../decorators/user-exist.decorator'; @InputType() export class RegisterUserInput { @Field(() => String, { nullable: false }) @IsString() @IsNotEmpty() ...
import Component from '../Component' export default class HealthComponent extends Component { public startHealth:number; constructor(public health:number) { super(); this.startHealth = health; } public isAlive():boolean { return this.health > 0; } public isDead()...
export interface elementObjParam { parent?: any; id: string; items_lid?: string; lid?: string; bid?: string; pastBar?: any; past?: any; name?: string; action?: any; value?: any; cvalue?: any; svalue?: any; rvalue?: any; evalue?: any; option?: any; spage?: any; data?: any; mode?: string; contentClass:...
import { TooltipProps, IconButtonProps, Tooltip, IconButton, As, } from '@chakra-ui/react' interface Props extends Omit<TooltipProps, 'label' | 'aria-label' | 'children' | 'onClick'> { icon: IconButtonProps['icon'] label: string as?: As isLoading?: boolean onClick?: IconButtonProps['onClick'] c...
// (C) 2020-2021 GoodData Corporation import { transformExecutionResult, transformGrandTotalData } from "../result"; import { createDefaultDateFormatter } from "../../dateFormatting/defaultDateFormatter"; import { mockResult, mockDimensions } from "./result.fixture"; import { defWithDimensions, emptyDef, Me...
function deepen(modifyString: (source: string) => string) { function modifyObject<T extends unknown>(source: T): T { if (typeof source !== 'object' || !source) return source if (Array.isArray(source)) return source.map(modifyObject) as any const result = {} as any for (const key in s...
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2019 Nokia. All rights reserved. * ===...
import type { Logger } from '../logger' import type { InboundTransport } from '../transport/InboundTransport' import type { OutboundTransport } from '../transport/OutboundTransport' import type { InitConfig } from '../types' import type { Wallet } from '../wallet/Wallet' import type { AgentDependencies } from './AgentD...
import { gql } from '@apollo/client' export default gql` fragment EmptyOrTips on Identifiable { ... on User { __typename id is_me } ... on Group { __typename id is_current_user_a_member is_current_user_the_owner } } `
export * from './types'; export * from './key'; export * from './getCredentialList';
import { Logger as __Logger } from "@aws-sdk/types"; import { parseUrl } from "@aws-sdk/url-parser"; import { defaultRegionInfoProvider } from "./endpoints"; import { SSMClientConfig } from "./SSMClient"; /** * @internal */ export const getRuntimeConfig = (config: SSMClientConfig) => ({ apiVersion: "2014-11-06", ...
import React from 'react'; import { Provider } from 'react-redux'; import configureStore from './config/store'; import App from './screens/App'; import { PersistGate } from 'redux-persist/integration/react'; import LoadingScreen from './screens/LoadingScreen'; const { store, persistor } = configureStore(); class AppC...
import { ComponentFixture, TestBed } from '@angular/core/testing' import { AddProposalComponent } from './add-proposal.component' import {HttpClientTestingModule} from '@angular/common/http/testing' import {RouterTestingModule} from '@angular/router/testing' import {MatSnackBarModule} from '@angular/material/snack-bar'...
declare module bacon { export interface Event<T> { value(): T; hasValue(): boolean; isNext(): boolean; isInitial(): boolean; isError(): boolean; isEnd(): boolean; } export interface Error<T> extends Event<T> {} export interface End<T> extends Event<T> {} export interface Initial<T> e...
import React from 'react'; import { DraftEditor, SlateEditor } from './components'; type Props = { mobilization: Record<any, any>; widget: { id: number; settings: { content: string | Record<any, any>; }; }; editable?: boolean; handleSave: any; handleDelete: any; }; const Content = ({ wid...
import {ModuleWithProviders} from '@angular/core'; import {Routes,RouterModule} from '@angular/router' import {AppComponent} from './app.component' import {RxDemoComponent} from './rx-demo/rx-demo.component' import {RxObservablescratchComponent} from './rx-observablescratch/rx-observablescratch.component' import {RxObs...
interface DKIMHeaderFieldElement extends XULElement { _dkimValue: XULElement _dkimWarningIcon: XULElement _dkimWarningTooltip: DKIMTooltipElement _arhDkim: { box: XULElement, value: XULElement } _arhDmarc: { box: XULElement, value: XULElement } _arhSpf: { box: XULElement, value: XULElement } } ...
import React, { useEffect, useState } from "react"; import { useParams, useHistory } from "react-router-dom"; import { Avatar, Card, Layout, Skeleton, Spin, Button } from "antd"; import { CloseOutlined, PlusOutlined, RollbackOutlined, } from "@ant-design/icons"; import classes from "./Club.module.css"; import clu...
import {m} from 'malevic'; import {UpDown} from '../../../controls'; import CustomSettingsToggle from '../custom-settings-toggle'; import ModeToggle from './mode-toggle'; import {getLocalMessage} from '../../../../utils/locales'; import {isURLInList} from '../../../../utils/url'; import type {ExtWrapper, TabInfo, Filte...
import * as utils from "../common/utils"; import { getPriceUsdc } from "./SushiSwapRouter"; import * as constants from "../common/constants"; import { CustomPriceType } from "../common/types"; import { Address, BigDecimal, BigInt, dataSource, } from "@graphprotocol/graph-ts"; import { CurveRegistry as CurveRegi...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const faBlind: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const ligatures: ...
import { AsyncApiOperation } from '../interfaces/async-api-operation.interface' import { AsyncConsumerOptions } from '../decorators/async-consumer.decorator' export class ConsumerObjectFactory { create( options: AsyncConsumerOptions, operationId: string, ): AsyncApiOperation { /** @todo Handle first if...
// Copyright 2014 The Oppia Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
// GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY import { Component as OmiComponent, h, tag } from 'omi'; import { rmIEFP } from 'omi-tools'; import type { AntdIconProps } from '../components/types'; import '../components/AntdIcon'; const PlusCircleOutlinedSvg: AntdIconProps['icon'] = {"icon":{"tag":"...
import { Action } from '@ngrx/store'; import { PrivacySetting } from 'src/app/core/models/baseUser/privacySetting.model'; export enum ActionTypes { LOAD_SETTING_VISIBILITY = '@load/setting-visibility', LOAD_SETTING_VISIBILITY_START = '@load/setting-visibility_start', LOAD_SETTING_VISIBILITY_SUCCESS = 'load/setti...
jest.mock("@angular/router"); jest.mock("@ngx-translate/core"); jest.mock("app/core/auth/state-storage.service"); import { Router } from "@angular/router"; import { HttpClientTestingModule, HttpTestingController, } from "@angular/common/http/testing"; import { TestBed } from "@angular/core/testing"; import { Trans...
declare interface ApplicationState { __resources: { profile: RequestableData<Linode.Profile>, accountSettings: RequestableData<Linode.AccountSettings> }, authentication: AuthState; documentation: DocumentationState; features: FeaturesState; volumeDrawer: VolumeDrawerState; notifications: Requestab...