// Copyright Abridged, Inc. 2023,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 {TelefrensBalance} from './telefrens-balance.model.js'; /** * The model class is generated from OpenAPI schema - TelefrensSubjectTrend * TelefrensSubjectTrend */ @model({name: 'TelefrensSubjectTrend'}) export class TelefrensSubjectTrend { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) walletAddress?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) keyPrice?: string; /** * */ @property.array(TelefrensBalance, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/TelefrensBalance', }, }, }) balances?: TelefrensBalance[]; /** * */ @property({ jsonSchema: { type: 'string', enum: ['buy', 'sell'], }, }) lastTrade?: 'buy' | 'sell'; /** * */ @property({ jsonSchema: { type: 'string', }, }) userId?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) userName?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) userPfp?: string; } export interface TelefrensSubjectTrendRelations { // describe navigational properties here } export type TelefrensSubjectTrendWithRelations = TelefrensSubjectTrend & TelefrensSubjectTrendRelations;