// 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 {Nep171TokenOption} from './nep-171-token-option.model.js'; import {CollectionProperties} from './collection-properties.model.js'; import {Nep171ContractMetadata} from './nep-171-contract-metadata.model.js'; /** * The model class is generated from OpenAPI schema - TokenContractSettings * TokenContractSettings */ @model({name: 'TokenContractSettings'}) export class TokenContractSettings { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) name?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) metadataUrl?: string; /** * */ @property.array(Nep171TokenOption, { jsonSchema: { type: 'array', items: { $ref: '#/components/schemas/NEP171TokenOption', }, }, }) tokenOptions?: Nep171TokenOption[]; /** * */ @property({ jsonSchema: { $ref: '#/components/schemas/CollectionProperties', }, }) properties?: CollectionProperties; /** * */ @property({ jsonSchema: { $ref: '#/components/schemas/NEP171ContractMetadata', }, }) metadata?: Nep171ContractMetadata; /** * */ @property({ jsonSchema: { type: 'string', }, }) owner?: string; /** * NEAR account id for the NEP171 token contract */ @property({ jsonSchema: { type: 'string', description: 'NEAR account id for the NEP171 token contract', }, }) contractId?: string; } export interface TokenContractSettingsRelations { // describe navigational properties here } export type TokenContractSettingsWithRelations = TokenContractSettings & TokenContractSettingsRelations;