// 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 {TokenRoyalty} from './token-royalty.model.js'; /** * The model class is generated from OpenAPI schema - TokenProperties * TokenProperties */ @model({name: 'TokenProperties'}) export class TokenProperties { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', format: 'BigNumber', }, }) issuance?: string; /** * */ @property({ jsonSchema: { type: 'string', format: 'BigNumber', }, }) minting_fee?: string; /** * */ @property.array(TokenRoyalty, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/TokenRoyalty', }, }, }) royalties?: TokenRoyalty[]; } export interface TokenPropertiesRelations { // describe navigational properties here } export type TokenPropertiesWithRelations = TokenProperties & TokenPropertiesRelations;