Interface UserInterface

User entity interface

Represents a user account in the Mosaia platform. Users can be associated with organizations and have various profile information including contact details, social links, and profile metadata.

const user: UserInterface = {
id: 'user-123',
email: 'john.doe@example.com',
name: 'John Doe',
username: 'johndoe',
image: 'https://example.com/avatar.jpg',
description: 'Software Engineer',
url: 'https://johndoe.com',
location: 'San Francisco, CA',
links: {
github: 'https://github.com/johndoe',
linkedin: 'https://linkedin.com/in/johndoe'
},
active: true
};
interface UserInterface {
    id?: string;
    active?: boolean;
    external_id?: string;
    extensors?: { [key: string]: string };
    record_history?: RecordHistory;
    username?: string;
    name?: string;
    image?: string;
    description?: string;
    email?: string;
    url?: string;
    location?: string;
    links?: { [key: string]: string };
    agents?: any;
    apps?: any;
    clients?: any;
    models?: any;
    orgs?: any;
}

Hierarchy (View Summary)

Properties

id?: string

Unique identifier for the entity

active?: boolean

Whether the entity is active

external_id?: string

External system identifier for integration with third-party systems

extensors?: { [key: string]: string }

Extended properties for custom integrations

record_history?: RecordHistory

Record history tracking information

username?: string

Unique username for the user

name?: string

Full name of the user

image?: string

URL to user's profile image/avatar

description?: string

User's bio or description

email?: string

User's email address

url?: string

User's personal website URL

location?: string

User's location

links?: { [key: string]: string }

Social media and other external links

agents?: any
apps?: any
clients?: any
models?: any
orgs?: any