Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
UpdateNeeded removed from channelSchema.ts (#9302)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmadeusSlabu authored Nov 22, 2023
1 parent d49f5a1 commit 51f6bf1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/engine/src/schemas/social/channel.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export const channelSchema = Type.Object(
format: 'uuid'
})
),
updateNeeded: Type.Boolean(),
channelUsers: Type.Array(Type.Ref(channelUserSchema)),
messages: Type.Array(Type.Ref(messageSchema)),
createdAt: Type.String({ format: 'date-time' }),
Expand Down Expand Up @@ -92,7 +91,7 @@ export const channelPatchSchema = Type.Partial(channelSchema, {
export interface ChannelPatch extends Static<typeof channelPatchSchema> {}

// Schema for allowed query properties
export const channelQueryProperties = Type.Pick(channelSchema, ['id', 'name', 'instanceId', 'updateNeeded'])
export const channelQueryProperties = Type.Pick(channelSchema, ['id', 'name', 'instanceId'])
export const channelQuerySchema = Type.Intersect(
[
querySyntax(channelQueryProperties, {
Expand Down

0 comments on commit 51f6bf1

Please sign in to comment.