// 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'; /** * The model class is generated from OpenAPI schema - LeaderboardEntry * LeaderboardEntry */ @model({name: 'LeaderboardEntry'}) export class LeaderboardEntry { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * User Telegram id */ @property({ jsonSchema: { type: 'string', description: 'User Telegram id', }, }) userId?: string; /** * User Telegram username */ @property({ jsonSchema: { type: 'string', description: 'User Telegram username', }, }) userName?: string; /** * Icon of the Telegram user */ @property({ jsonSchema: { type: 'string', description: 'Icon of the Telegram user', }, }) userPfp?: string; /** * Telefrens user point */ @property({ jsonSchema: { type: 'number', description: 'Telefrens user point', }, }) point?: number; } export interface LeaderboardEntryRelations { // describe navigational properties here } export type LeaderboardEntryWithRelations = LeaderboardEntry & LeaderboardEntryRelations;