// 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 {TokenProperties} from './token-properties.model.js'; import {Nep171TokenMetadata} from './nep-171-token-metadata.model.js'; /** * The model class is generated from OpenAPI schema - TokenSettings * TokenSettings */ @model({name: 'TokenSettings'}) export class TokenSettings { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) id?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) type?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) name?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) metadataUrl?: string; /** * */ @property({ jsonSchema: { $ref: '#/components/schemas/TokenProperties', }, }) properties?: TokenProperties; /** * */ @property({ jsonSchema: { $ref: '#/components/schemas/NEP171TokenMetadata', }, }) metadata?: Nep171TokenMetadata; /** * */ @property({ jsonSchema: { type: 'string', }, }) contractVersion?: string; } export interface TokenSettingsRelations { // describe navigational properties here } export type TokenSettingsWithRelations = TokenSettings & TokenSettingsRelations;