text
stringlengths
10
953k
import { all } from 'redux-saga/effects'; import sessionPageSagas from '@screens/SessionPage/containers/sagas'; export default function* sessionSagas() { yield all([ sessionPageSagas() ]); }
export const loop = () => { if (Object.keys(Game.creeps).length < 3) { const name = Object.keys(Game.spawns)[0]; const id = Date.now().toString().slice(-4); Game.spawns[name].spawnCreep([WORK, MOVE, CARRY], `haverster${id}`); } for (const name in Game.creeps) { const creep = Game.creeps[name]; ...
import { BaseEntity } from 'app/shared/model/base-entity'; import { User } from 'app/core/user/user.model'; import dayjs from 'dayjs'; import { Reaction } from 'app/entities/metis/reaction.model'; export abstract class Posting implements BaseEntity { public id?: number; public author?: User; public creatio...
export const toggles = [ { name: "Inner Moon", svg: "inner-moon", description: "Inspired by Google fonts toggle", classesGrid: "dark:bg-[#6593F5] bg-[#bfd2fa]", classesToggle: "text-[#6593F5]", }, { name: "Inner Moon 2", svg: "inner-moon2", description: "Inspired by Google fonts to...
import * as React from 'react'; import { useLocation } from 'react-router'; import { parse, stringify } from 'querystring'; import { ConfigUtil } from '@malagu/core'; import { View } from '@malagu/react'; import { LocaleMenu, Icon } from '@malagu/grommet'; import { useIntl } from 'react-intl'; import { Box, Button, Hea...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; /*...
/* eslint-disable no-console */ import { FiscalCode, NonEmptyString, OrganizationFiscalCode } from "@pagopa/ts-commons/lib/strings"; import { MESSAGE_MODEL_PK_FIELD, MessageModel, NewMessageWithoutContent, RetrievedMessage, defaultPageSize } from "../../src/models/message"; import { createContext } from...
const ARG_COMMON = { '--help': Boolean, '-h': '--help', '--platform-version': Number, '-V': '--platform-version', '--debug': Boolean, '-d': '--debug', '--token': String, '-t': '--token', '--scope': String, '-S': '--scope', '--team': String, '-T': '--team', '--local-config': String, '-A...
import React from "react"; import Layout from "../components/Layout"; import SearchBox from "../components/SearchBox"; const Home = () => { document.title = "Github Profile"; return ( <Layout> <div id="home--container"> <h1>Search for a Github user</h1> <div className="search-box--contai...
import * as Darwin from './darwin' import * as Win32 from './win32' import * as Linux from './linux' export type ExternalEditor = Darwin.ExternalEditor | Win32.ExternalEditor /** Parse the label into the specified shell type. */ export function parse(label: string): ExternalEditor | null { if (__DARWIN__) { ret...
import { Button, Chip, Fade, Paper, TextField } from '@material-ui/core'; import { COULDNOTEXECUTESTATEMENT, CUSTOMERIDFIELD, FILESIZERROR, INVALIDUUID, SAMEUSERNAME, } from '../../constants/APIERRORS'; import React, { useEffect, useState } from 'react'; import { getMaxFileSizeFromErrorBytes, valida...
import { Body, Controller, Delete, Get, Param, Post, Put, Query } from '@nestjs/common'; import { GuestService } from '../core/services/guest/guest.service'; import { GuestRequest } from '../core/models/guest-request'; import { GuestEntity } from '../core/entity'; import { WakeUpService } from '../core/services/wake-up...
import { render } from '@redwoodjs/testing/web' import UserProfile from './UserProfile' describe('UserProfile', () => { it('renders successfully', () => { expect(() => { render(<UserProfile />) }).not.toThrow() }) })
import Vue from 'vue' import { PropValidator } from 'vue/types/options' import { deepEqual } from '../../util/helpers' export default Vue.extend({ name: 'comparable', props: { valueComparator: { type: Function, default: deepEqual, } as PropValidator<typeof deepEqual>, }, })
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { FinalDestinationComponent } from './final-destination.component'; describe('FinalDestinationComponent', () => { let component: FinalDestinationComponent; let fixture: ComponentFixture<FinalDestinationComponent>; beforeEach(async...
import { BaseInfoField as AParentClass } from '../BaseInfoField' import { DeviceField as BParentClass } from '../DeviceField' import { ExceptionField as CParentClass } from '../ExceptionField' import { MockField as DParentClass } from '../MockField' import { OpenCloseField as EParentClass } from '../OpenCloseField' imp...
import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MatTableDataSource } from '@angular/material/table'; import { MatSnackBar } from '@angular/material/snack-bar'; import { MediaMatcher } from '@angular/cdk/layout'; import { AddressService } from '../shared...
interface ICoordinates { x: number; y: number; } class Ball { private _radius: number; private _position: ICoordinates; private _velocity: ICoordinates; private _color: p5.Color; public constructor( shapeColor = color( Math.floor(random(90, 255)), Math.floor(random(90, 255)), Math.floor(random(90, 2...
import {BaseView} from "./BaseView"; import {Position} from "./Position"; import {UVUtils} from "../../Utils"; export class CenterPanel extends BaseView { title: string | null; subtitle: string | null; subtitleExpanded: boolean = false; $attribution: JQuery; $closeAttributionButton: JQuery; $c...
export default function referenceObjectPath({ object, path: objectPath }: Params): any; export interface Params { object: IObject; path: string; } export interface IObject { [key: string]: any; } export declare type ReferenceObjectPath = typeof referenceObjectPath;
// GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY import * as React from 'react' import ImageEditLineSvg from '@airclass/icons-svg/lib/asn/ImageEditLine'; import AntdIcon, { AntdIconProps } from '../components/AntdIcon'; const ImageEditLine = ( props: AntdIconProps, ref: React.MutableRefObject<HTML...
var path = require('path') import * as tl from 'vsts-task-lib/task'; import * as engine from 'artifact-engine/Engine'; import * as providers from 'artifact-engine/Providers'; import * as webHandlers from 'artifact-engine/Providers/typed-rest-client/Handlers'; import {CommitsDownloader} from "./commitsdownloader" tl....
import { handleActions } from 'redux-actions'; import * as Actions from '../constants/actions'; const initialState: GraphStoreState = [{ id: 0, graph_type: 1, /** add graph source data **/ }]; export default handleActions<GraphStoreState, GraphItemData>({ [Actions.LINE_GRAPH]: (state, action) => { return ...
import { Component } from '@angular/core'; import { Router } from '@angular/router'; import { AngularFireAuth } from 'angularfire2/auth'; import { Observable } from 'rxjs/Observable'; import * as firebase from 'firebase/app'; @Component({ selector: 'register', templateUrl: './register.component.html' }) expor...
import {LogEvent, nTimeStamp, EventMatcher, EventHandler} from "../types"; import { Factor } from "../factor"; import { BasicDetector } from "./basic-detector"; const NEW_INTERVAL = "duration-detector-new-interval"; export class DurationDetector extends BasicDetector { start: EventMatcher; stop: EventMatcher; ...
<TS language="en_US" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Right-click to edit address or label</translation> </message> <message> <source>Create a new address</source> <translati...
import { Subject, NEVER, of } from 'rxjs'; import { CurrentTimeService } from '../services/current-time.service'; import { MessageService } from 'primeng/api'; import { WindowService } from '../services/browser-apis/window.service'; import { AppInsightsService } from '../services/logging/app-insights.service'; import {...
import {waitForAsync, TestBed, inject} from '@angular/core/testing'; import {Component, ViewChild, QueryList, ViewChildren} from '@angular/core'; import {By} from '@angular/platform-browser'; import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; import { MatExpansionModule, MatAccordion, M...
import { Directive } from '@angular/core'; @Directive({ selector: '[nzDateCell]' }) export class NzDateCellDirective { } @Directive({ selector: '[nzMonthCell]' }) export class NzMonthCellDirective { } @Directive({ selector: '[nzDateFullCell]' }) export class NzDateFullCellDirective { } @Directive({ selector...
import { MongoRepository, getMongoRepository } from 'typeorm'; import INotificationsRepository from '@modules/notifications/repositories/INotificationsRepository'; import ICreateNotificationDTO from '@modules/notifications/dtos/ICreateNotificationDTO'; import Notification from '../schemas/Notification'; class Notifi...
import { useMemo } from "react" import { useCommerce } from ".." export function formatPrice({ amount, currencyCode, locale, }: { amount: number currencyCode: string locale: string }) { const formatCurrency = new Intl.NumberFormat(locale, { style: "currency", currency: currencyCode, }) return formatCurre...
import { ActionReducer, Action } from '@ngrx/store'; import { MENTIONS_FETCH, MENTIONS_FETCHED, MENTIONS_ERROR, LOGOUT, INIT } from '../actions'; const defaultState = { fetching: false, list: [], }; export const mentionsReducer: ActionReducer<Object> = (state: IMentions = defaultState, action: Action) => { ...
import { NullTransport, ToolsLogger } from '@sap-ux/logger'; import { FilesystemStore } from '../../../src/data-access/filesystem'; import { Entities } from '../../../src/data-provider/constants'; import { SystemMigrationStatusDataProvider } from '../../../src/data-provider/system-migration'; import { SystemMigrationSt...
/* * Copyright 2018 The Kubeflow 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
import {StyleFunction} from "../../../../tss"; const STYLE = 'STYLE'; export const getStyleForComponent = (webComponent: any): StyleFunction => { return Reflect.get(webComponent, STYLE); }; export const setStyleForComponent = (webComponent: any, style: StyleFunction) => { Reflect.set(webComponent, STYLE, sty...
/*- * ***** * Concord * ----- * Copyright (C) 2017 - 2018 Walmart 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 * ...
import test from 'ava' import { parsePageId } from './parse-page-id' const pageIdFixturesSuccess = [ '267c0d1f1df8457f9b5c8f7efca16d83', 'Twitter-Automation-Tool-267c0d1f1df8457f9b5c8f7efca16d83', 'www.notion.so/saasifysh/Twitter-Automation-Tool-267c0d1f1df8457f9b5c8f7efca16d83', 'www.notion.so/saasifysh/Twitt...
/** * Copyright 2019, OpenCensus 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 ...
/** * @license * Copyright Google 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://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp229Component } from './comp-...
import execa from 'execa'; import fs from 'fs'; import path from 'path'; import { PluginBuildInfo } from '@grafana/data'; import { JobInfo } from './types'; const getJobFromProcessArgv = () => { const arg = process.argv[2]; if (arg && arg.startsWith('plugin:ci-')) { const task = arg.substring('plugin:ci-'.le...
import { number, object, optional, Schema, string } from '../schema'; export interface CancelBookingRequest { /** A unique key to make this request an idempotent operation. */ idempotencyKey?: string; /** The revision number for the booking used for optimistic concurrency. */ bookingVersion?: number; } export...
import React from 'react' import { graphql } from 'gatsby' import Helmet from 'react-helmet' import Container from '../components/common/Container' import Wrapper from '../components/common/Wrapper' import Layout from '../components/common/Layout' import { MetaData } from '../components/common/meta' import Article fro...
import * as passport from 'passport'; import { ExtractJwt, Strategy } from 'passport-jwt'; import { Component, Inject } from '@nestjs/common'; import { AuthService } from '../services/auth.service'; import { JWT_SECRET } from '../constants'; @Component() export class JwtStrategy extends Strategy { constructor(privat...
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser'; import { environment } from '../../../environments/environment'; import { ActivatedRoute } from '@angular/router'; import { LocalDataSource, ViewCell } from 'ng2-sma...
import { useEffect, useState } from "react"; import { useContractFunction, useEthers } from "@usedapp/core"; // @HACK https://github.com/EthWorks/useDApp/issues/263 import { Contract } from "@usedapp/core/node_modules/@ethersproject/contracts"; import { constants, utils } from "ethers"; import Farm from "../chain_info/...
import { Field, ObjectType } from '@nestjs/graphql' @ObjectType() export class CoreOutput { @Field(() => String, { nullable: true }) error?: string @Field(() => Boolean) ok: boolean }
import * as p from "core/properties" import {UIEvent} from "core/ui_events" import {isArray} from "core/util/types" import {MultiLine} from "../../glyphs/multi_line" import {Patches} from "../../glyphs/patches" import {GlyphRenderer} from "../../renderers/glyph_renderer" import {EditTool, EditToolView, HasXYGlyph} fro...
/** * @license * Copyright 2016-2018 the original author or 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 * * Unl...
import SearchData from "./SearchData" import SearchTermResponse from "./SearchTermResponse" describe('SearchTermResponse', () => { it ('holds search data', () => { const programs: SearchData = { data: [], searchMetadata: { searchTerm: 'moon', resultCount: 36 } } const r...
import React from 'react'; import { Alert, AlertVariant, List, ListComponent, ListItem } from '@patternfly/react-core'; import { Link } from 'react-router-dom'; const NoAgentsAlert = () => ( <Alert variant={AlertVariant.warning} title="No available hosts were found" isInline> The cluster can not be installed yet...
import 'mocha'; import {expect} from 'chai'; import * as chai from 'chai'; import * as chaiAsPromised from 'chai-as-promised'; import {CryptoUtils} from '../../src/utils/CryptoUtils'; chai.use(chaiAsPromised); describe('CryptoUtil', function () { var data = "Hello World!!"; var Ed25519PublicKey = "0x86qu8rDW...
import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { MatTableModule } from '@angular/material/table'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; import { SharedModul...
import { Module } from '@nestjs/common' import { TasksModule } from './tasks/tasks.module' import { TypeOrmModule } from '@nestjs/typeorm' import { AuthModule } from './auth/auth.module' import { ConfigModule, ConfigService } from '@nestjs/config' import { configValidationSchema } from 'config.schema' @Module({ impo...
import { PubSub, PubSubEngine } from "apollo-server"; import { Context, SubscriptionServerOptions } from "apollo-server-core"; import { ExpressContext } from "apollo-server-express/dist/ApolloServer"; import { filter } from "axax/es5/filter"; import { map } from "axax/es5/map"; import { pipe } from "axax/es5/pipe"; imp...
import { RcModalProps } from '@ringcentral-integration/rcui'; export type ModalItem = Partial<RcModalProps>; export type ModalMappingType = Record<string, ModalItem>; export interface State { modalIds: string[]; modalMapping: ModalMappingType; } export interface DepsModules {} export type ConfirmModalProps = P...
/* * @Author: wkpan2 * @Date: 2021-08-23 10:01:44 * @LastEditTime: 2021-08-24 16:26:33 * @Description: */ import { UserEntity } from 'src/modules/users/entities/user.entity'; import { Column, Entity, ManyToOne, PrimaryGeneratedColumn } from 'typeorm'; @Entity('photo') export class PhotoEntity { @PrimaryGenerat...
import { OrganizationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OrganizationsClient"; import { ListDelegatedServicesForAccountRequest, ListDelegatedServicesForAccountResponse } from "../models/models_0"; import { deserializeAws_json1_1ListDelegatedServicesForAccountCommand, serializeAws...
import {localStorage} from '_/utils/localStorage' export const contextIfTokenPresent = () => { const token = localStorage().getItem('auth_token') if (!token) return undefined return { context: {headers: {authorization: `Bearer ${token}`}}, } }
import { Component, OnInit } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { ActivatedRoute, Router, Routes } from '@angular/router'; import { FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms'; import 'rxjs/add/operator/filter'; import { Title } fr...
// This entry is the "full-build" that includes both the runtime // and the compiler, and supports on-the-fly compilation of the template option. import { compile, CompilerOptions, CompilerError } from '@vue/compiler-dom' import { registerRuntimeCompiler, RenderFunction, warn } from '@vue/runtime-dom' import * as runti...
/* * Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved. * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ import rule from './index'; import { getHtmlRuleTester, getInvalidTestFactory, getTsRuleTester } from '../.....
import { useTranslation } from 'react-i18next' import { Checkbox, Typography } from 'cx-portal-shared-components' import { Box } from '@mui/material' export const UserRoles = () => { const { t } = useTranslation() const userRoles = [ { id: 'itAdmin', title: t('global.userRoles.itAdmin'), }, ...
export enum IidTestName { Excursion = 'EXCURSION', NumberOfDirectionalRuns = 'NUM_DIRECTIONAL_RUNS', LengthOfDirectionalRuns = 'LEN_DIRECTIONAL_RUNS', NumberOfIncreasesAndDecreases = 'NUM_INCREASE_DECREASE', LengthOfRunsMedian = 'LEN_RUNS_MEDIAN', NumberOfRunsMedian = 'NUM_RUNS_MEDIAN', AverageCollision =...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utili...
import { FunctionalComponent, h } from 'preact'; import style from './style.scss'; const Stations: FunctionalComponent = () => { return ( <div class={style.stations}> <h1>TORONTO FIRE STATION MAP</h1> <iframe title="Fire Stations in Toronto" class={style.map} src="https://www.googl...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { DiseaseListCardComponent } from './disease-list-card.component'; import {CustomMaterialModule} from "@ncats-frontend-library/shared/custom-material"; import {RouterTestingModule} from "@angular/router/testing"; describe('DiseaseListCar...
import Thumbnail from './Thumbnail' export default interface Album { title: Text thumbnail: Thumbnail[] year: string browseId: string url: string author: string }
import { RenderElementProps } from "slate-react"; import { TypographyProps } from "@material-ui/core/Typography"; declare type ElementProps = { element: { /** Type of element to render */ type: string; /** Text alignment (left, center, right, justify) */ align?: TypographyProps["alig...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MurmurTweetsControlComponent } from './murmur-tweets-control.component'; describe('MurmurTweetsControlComponent', () => { let component: MurmurTweetsControlComponent; let fixture: ComponentFixture<MurmurTweetsControlComponent>; beforeE...
import { TestBed, async } from '@angular/core/testing'; import { clone } from 'ramda'; import { ObjectSortPipe } from './object-sort.pipe'; describe('ObjectSortPipe', () => { const nodes = [ {id: 'mnoNode', name: 'fIrStNode', attrs: [], x: 50}, {id: 'abcNode', random_key: 'a key', attrs: [], x: 100}, {i...
import * as parser from 'less-symbols-parser'; export type File = { references: string[]; }; export function parse(_filepath: string, buffer: Buffer): Promise<File> { const symbols = parser.parseSymbols(buffer.toString()); const references = symbols.imports.map((symbol) => symbol.filepath); return Promise.resolv...
import { ResolvedPath } from '../util/resolved_path'; export enum EventType { AddFile, ChangeFile, DeleteFile, BuildFile, } // Used when printing verbose output export const EVENT_NAMES = ['ADD', 'CHANGE', 'DELETE', 'BUILD']; export class Event { private readonly _type: EventType; private rea...
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core'; import { NzCalendarI18nInterface } from '../../../i18n/nz-i18n.interface'; @Component({ encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, // tslint:disable-ne...
/* * Copyright 2019 Amadeus s.a.s. * 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, modify, merge, publish, distr...
import { Component, Output, EventEmitter, Input, HostBinding, ChangeDetectorRef, ChangeDetectionStrategy, OnDestroy } from '@angular/core'; import { columnsByPin, columnGroupWidths, columnsByPinArr } from '../../utils/column'; import { SortType } from '../../types/sort.type'; import { SelectionType } fr...
/** * @file IconAlignmentRightTop 右侧上对齐 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime'; export default IconWrapper( 'IconAlignment-right-top', true, (h: IconHelper, props: ISvgI...
import FunctionsService from '../../../../ApiHelpers/FunctionsService'; import { FunctionInfo } from '../../../../models/functions/function-info'; import { ArmObj } from '../../../../models/arm-obj'; import { NameValuePair } from './FunctionEditor.types'; export default class FunctionEditorData { public getFunctionI...
import { Mongo } from 'meteor/mongo'; import { check } from 'meteor/check'; import { Meteor } from 'meteor/meteor' export interface ITask { _id: string; text: string content: string createdAt: Date owner: any username: string isPrivate?: boolean isChecked?: boolean } ...
import { ContainersState } from './ContainersState'; import { DataState } from './DataState'; export interface ApplicationState { containers: ContainersState; data: DataState; }
import { ITestCase, IConfig } from "./interfaces"; import { KuduContainer } from "./containers"; // Host 2.0 Python36 /api/zipdeploy export class Host20Python36 implements ITestCase { public async run(config: IConfig, srcPackage: string, runtimeImage: string): Promise<void> { const container = new KuduContainer(...
export * from './dto'; export * from './save-ticket';
import { LookoutMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutMetricsClient"; import { CreateAnomalyDetectorRequest, CreateAnomalyDetectorResponse } from "../models/models_0"; import { deserializeAws_restJson1CreateAnomalyDetectorCommand, serializeAws_restJson1CreateAnomalyDet...
import { Observable } from "rxjs/Observable"; import { Http, Headers } from "@angular/http"; import { Injectable } from "@angular/core"; import { environment } from "./../../environments/environment.prod"; import { Asset } from "./asset"; import { AuthenticationService } from "./../authentication/authentication.serv...
import { User } from "./User"; import { PaginatedResponse } from "./PaginationResponse"; export interface UserResponse { users: PaginatedResponse<User>; }
/* This file is generated by createIcons.js any changes will be lost. */ import { IconType } from '../createIcon'; declare const ObjectUngroupIcon: IconType; export default ObjectUngroupIcon;
import { RepositoryList } from './components/RepositoryList'; import './styles/global.scss'; export function App() { return <RepositoryList />; }
import { Signer } from 'ethers'; import { Provider } from '@ethersproject/providers'; import type { ISynthetix } from './ISynthetix'; export declare class ISynthetix__factory { static connect( address: string, signerOrProvider: Signer | Provider, ): ISynthetix; } //# sourceMappingURL=ISynthetix__factory.d.t...
import { MoonIcon, SunIcon } from "@chakra-ui/icons"; import { Button, useColorMode } from "@chakra-ui/react"; function ThemeButton() { const { colorMode, toggleColorMode } = useColorMode(); return ( <Button onClick={toggleColorMode} m={2}> {colorMode === "light" ? <SunIcon color="gray.900" /> : <MoonIco...
// tslint:disable: no-string-literal | Reason: used to access private variables import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { APP_BASE_HREF } from '@angular/common'; import { MatDialog } from '@angular/material'; import { RouterModule } from '@angular/router'; import { HomeComponen...
import { CloudWatchLogsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchLogsClient"; import { DescribeSubscriptionFiltersRequest, DescribeSubscriptionFiltersResponse } from "../models/models_0"; import { deserializeAws_json1_1DescribeSubscriptionFiltersCommand, serializeAws_json1_1De...
import { StyleSheet } from 'react-native'; import { theme } from '../../global/styles/theme'; export const styles = StyleSheet.create({ container: { borderRadius: 100, justifyContent: 'center', alignItems: 'center', backgroundColor: theme.colors.backGround, shadowColor: "#...
import { Typography } from '@material-ui/core'; import { ButtonOutlined, Modal } from 'litmus-ui'; import React from 'react'; import { useTranslation } from 'react-i18next'; import useActions from '../../../../redux/actions'; import * as DashboardActions from '../../../../redux/actions/dashboards'; import { history } f...
/** * 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 * ...
import styled, { css } from 'styled-components'; import Tooltip from '../Tooltip'; interface ContainerProps { isFocused: boolean; isFilled: boolean; isErrored: boolean; } export const Container = styled.div<ContainerProps>` background: #232129; border-radius: 10px; padding: 16px; width: 100%; border:...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import * as React from 'react'; import { RouteComponentProps } from 'react-router-dom'; import { withTranslation, WithTranslation } from "react-i18next"; import { initializeIcons } from 'office-ui-fabric-react/lib/Icons'; import * as AdaptiveCa...
import { Component, OnInit } from "@angular/core"; import { ActivatedRoute } from "@angular/router"; import { BlogPostsService } from "../../../app/services/blogpostservice/blog-posts.service"; import { SeoService } from "../../../app/services/seoservice/seo.service"; import { UrlFormatter } from "../../../app/services...
import { ChangeEvent, MouseEvent, useState } from 'react'; import Box from '@mui/material/Box'; import Card from '@mui/material/Card'; import CardActions from '@mui/material/CardActions'; import CardContent from '@mui/material/CardContent'; import Button from '@mui/material/Button'; import IconButton from '@mui/materia...
import { AfterViewInit, Component, OnInit, ViewEncapsulation } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { FormBase } from '@form'; import { coreAnimations } from '../../../../../../../core/animations'; import { MatDialog } from '@angular/material/dialog'; import { Campanha } from '../../...
import useSWR from 'swr' import { Message } from './message' import { User } from './user' export interface Group { id: string name: string members?: User[] threads?: Thread[] websocket?: Websocket } export interface Websocket { topic: string token: string url: string } export interface Thread { id...
import createIcon from './../createIcon' export default createIcon('la la-cc')