Skip to content

Commit 6d5d6ad

Browse files
hotlongCopilot
andauthored
更新 sys-presence.object.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9889ef0 commit 6d5d6ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/services/service-realtime/src/objects/sys-presence.object.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ export const SysPresence = ObjectSchema.create({
9696
maxLength: 255,
9797
}),
9898

99-
metadata: Field.textarea({
99+
metadata: Field.json({
100100
label: 'Metadata',
101101
required: false,
102+
description: 'Arbitrary JSON metadata associated with the presence state (matches PresenceStateSchema.metadata).',
102103
}),
103104
},
104105

0 commit comments

Comments
 (0)