// 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'; /** * The model class is generated from OpenAPI schema - PlatformCommunityUser * Platform community user */ @model({name: 'PlatformCommunityUser'}) export class PlatformCommunityUser { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * Platform */ @property({ required: true, jsonSchema: { type: 'string', description: 'Platform', }, }) platform: string; /** * User id */ @property({ required: true, jsonSchema: { type: 'string', description: 'User id', }, }) id: string; /** * Platform qualified user id */ @property({ jsonSchema: { type: 'string', description: 'Platform qualified user id', }, }) userPk?: string; /** * User name */ @property({ jsonSchema: { type: 'string', description: 'User name', }, }) name?: string; /** * Community id */ @property({ jsonSchema: { type: 'string', description: 'Community id', }, }) communityId?: string; /** * Platform qualified community id */ @property({ jsonSchema: { type: 'string', description: 'Platform qualified community id', }, }) communityPk?: string; /** * Community name */ @property({ jsonSchema: { type: 'string', description: 'Community name', }, }) communityName?: string; /** * State/session slug */ @property({ jsonSchema: { type: 'string', description: 'State/session slug', }, }) state?: string; /** * Message for signing */ @property({ jsonSchema: { type: 'string', description: 'Message for signing', }, }) message?: string; /** * additionalProperties */ // eslint-disable-next-line @typescript-eslint/no-explicit-any [additionalProperty: string]: any; } export interface PlatformCommunityUserRelations { // describe navigational properties here } export type PlatformCommunityUserWithRelations = PlatformCommunityUser & PlatformCommunityUserRelations;