// 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 {LeaderboardEntry} from './leaderboard-entry.model.js'; /** * The model class is generated from OpenAPI schema - LeaderboardResponse * LeaderboardResponse */ @model({name: 'LeaderboardResponse'}) export class LeaderboardResponse { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property.array(LeaderboardEntry, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/LeaderboardEntry', }, }, }) data?: LeaderboardEntry[]; } export interface LeaderboardResponseRelations { // describe navigational properties here } export type LeaderboardResponseWithRelations = LeaderboardResponse & LeaderboardResponseRelations;