feat: enrich presence with roles
This commit is contained in:
@@ -15,6 +15,9 @@ export const PresenceEntrySchema = Type.Object(
|
||||
tags: Type.Optional(Type.Array(NonEmptyString)),
|
||||
text: Type.Optional(Type.String()),
|
||||
ts: Type.Integer({ minimum: 0 }),
|
||||
deviceId: Type.Optional(NonEmptyString),
|
||||
roles: Type.Optional(Type.Array(NonEmptyString)),
|
||||
scopes: Type.Optional(Type.Array(NonEmptyString)),
|
||||
instanceId: Type.Optional(NonEmptyString),
|
||||
},
|
||||
{ additionalProperties: false },
|
||||
|
||||
Reference in New Issue
Block a user