initial commit

This commit is contained in:
felix
2026-09-16 17:16:19 +02:00
commit d120237521
80 changed files with 26582 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import Model, { attr, belongsTo, hasMany } from '@warp-drive/legacy/model';
export default class ChatMessage extends Model {
@attr uri;
@attr content;
@attr('date') created;
@attr maker;
@belongsTo('chat-conversation', {
async: false,
inverse: 'messages',
as: 'chat-message',
})
conversation;
@hasMany('chat-document', { async: false, inverse: null }) attachments;
}