// Copyright Abridged, Inc. 2022,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; /** * The model class is generated from OpenAPI schema - EvmNetworkConfig * EvmNetworkConfig */ @model({name: 'EvmNetworkConfig'}) export class EvmNetworkConfig { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'number', }, }) chainId?: number; /** * */ @property({ jsonSchema: { type: 'string', }, }) description?: string; /** * */ @property.array(String, { jsonSchema: { type: 'array', items: { type: 'string', }, }, }) names?: string[]; /** * */ @property.array(String, { jsonSchema: { type: 'array', items: { type: 'string', }, }, }) rpcs?: string[]; /** * */ @property.array(String, { jsonSchema: { type: 'array', items: { type: 'string', }, }, }) explorers?: string[]; /** * */ @property({ jsonSchema: { type: 'number', }, }) maxBlocks?: number; /** * */ @property({ jsonSchema: { type: 'number', }, }) concurrency?: number; /** * */ @property.array(String, { jsonSchema: { type: 'array', items: { type: 'string', }, }, }) providers?: string[]; /** * */ @property({ jsonSchema: { type: 'boolean', }, }) hidden?: boolean; } export interface EvmNetworkConfigRelations { // describe navigational properties here } export type EvmNetworkConfigWithRelations = EvmNetworkConfig & EvmNetworkConfigRelations;