// 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 - MiniAppRegistration * MiniAppRegistration */ @model({name: 'MiniAppRegistration'}) export class MiniAppRegistration { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) id?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) createdTime?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) pk?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) sk?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) classifier?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) classifierGroup?: string; /** * Status of request */ @property({ required: true, jsonSchema: { type: 'string', description: 'Status of request', }, }) status: string; /** * */ @property({ jsonSchema: { type: 'array', items: { type: 'object', description: 'Actions by user on request', }, }, }) actions?: {}[]; /** * Name of the app. */ @property({ required: true, jsonSchema: { type: 'string', description: 'Name of the app.', }, }) name: string; /** * Url of icon for the app */ @property({ jsonSchema: { type: 'string', description: 'Url of icon for the app', }, }) icon?: string; /** * Description of App for which this is requested */ @property({ required: true, jsonSchema: { type: 'string', description: 'Description of App for which this is requested', }, }) description: string; /** * Feedback from user */ @property({ jsonSchema: { type: 'string', description: 'Feedback from user', }, }) feedback?: string; /** * Action url */ @property({ jsonSchema: { type: 'string', description: 'Action url', }, }) url?: string; /** * */ @property.array(String, { jsonSchema: { type: 'array', items: { type: 'string', description: 'String of Array to get the platforms this app is available.', }, }, }) platforms?: string[]; /** * private key of the mini app */ @property({ jsonSchema: { type: 'string', description: 'private key of the mini app', }, }) privateKey?: string; /** * public key of the mini app */ @property({ jsonSchema: { type: 'string', description: 'public key of the mini app', }, }) publicKey?: string; /** * metadata */ @property({ jsonSchema: { type: 'object', description: 'metadata', }, }) metadata?: {}; } export interface MiniAppRegistrationRelations { // describe navigational properties here } export type MiniAppRegistrationWithRelations = MiniAppRegistration & MiniAppRegistrationRelations;