feat: add comment field to CommentSchema for new comment functionality
This commit is contained in:
parent
ae7f33c485
commit
919f0fc9aa
|
@ -79,6 +79,7 @@ function CommentsGroup() {
|
||||||
commentId: MathUtils.generateUUID(),
|
commentId: MathUtils.generateUUID(),
|
||||||
creatorId: userId,
|
creatorId: userId,
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
|
comment: '',
|
||||||
lastUpdatedAt: new Date().toISOString(),
|
lastUpdatedAt: new Date().toISOString(),
|
||||||
position: position.toArray(),
|
position: position.toArray(),
|
||||||
rotation: [0, 0, 0],
|
rotation: [0, 0, 0],
|
||||||
|
|
|
@ -3,6 +3,7 @@ interface CommentSchema {
|
||||||
commentId: string;
|
commentId: string;
|
||||||
creatorId: string;
|
creatorId: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
|
comment: string;
|
||||||
lastUpdatedAt: string;
|
lastUpdatedAt: string;
|
||||||
position: [number, number, number];
|
position: [number, number, number];
|
||||||
rotation: [number, number, number];
|
rotation: [number, number, number];
|
||||||
|
|
Loading…
Reference in New Issue