// Copyright Abridged, Inc. 2021,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'; import {AccountBalance} from './account-balance.model.js'; /** * The model class is generated from OpenAPI schema - WalletBalance * WalletBalance */ @model({name: 'WalletBalance'}) export class WalletBalance { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) address?: string; /** * */ @property.array(AccountBalance, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/AccountBalance', }, }, }) accounts?: AccountBalance[]; } export interface WalletBalanceRelations { // describe navigational properties here } export type WalletBalanceWithRelations = WalletBalance & WalletBalanceRelations;