Files
SDK-TypeScript/src/domain/common.schema.ts
chatenium f54e76ab72
All checks were successful
Setup testing environment and test the code / build (push) Successful in 26s
Publish to NPM / build-and-publish (release) Successful in 18s
Updated extraMetadata to allow any type of data
2026-04-15 16:11:01 +02:00

28 lines
469 B
TypeScript

export interface RGB {
r: number;
g: number;
b: number;
}
export interface TimeStamp {
T: number;
I: number;
}
export interface PublicUserData {
pfp: string
displayName: string
username: string
userid: string
}
export interface Attachment {
fileId: string
fileName: string
format: string
type: string
path: string
height: number
width: number
extraMetaData: Record<string, any> // Used by clients
}