Skip to content

Commit

Permalink
feat: message channel
Browse files Browse the repository at this point in the history
  • Loading branch information
kaioken committed Dec 23, 2024
1 parent 975f083 commit e97d419
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/queries/messages.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const GET_MESSAGES_QUERY = (includeChildren: boolean, alias: string) => g
is_saved
is_shared
is_reported
is_purchased
}
${includeChildren ? `${alias}: children(first: $childrenFirst) {
data {
Expand Down Expand Up @@ -172,6 +173,7 @@ export const GET_FOR_YOU_MESSAGES_QUERY = (includeChildren: boolean, alias: stri
is_saved
is_shared
is_reported
is_purchased
}
${includeChildren ? `${alias}: children(first: $childrenFirst) {
data {
Expand Down Expand Up @@ -263,6 +265,7 @@ export const GET_MESSAGES_BY_DISPLAYNAME_AND_SLUG = gql`
is_saved
is_shared
is_reported
is_purchased
}
created_at
}
Expand Down Expand Up @@ -331,6 +334,7 @@ export const GET_CHANNEL_MESSAGES_QUERY = gql`
is_saved
is_shared
is_reported
is_purchased
}
created_at
}
Expand Down Expand Up @@ -402,6 +406,7 @@ export const GET_MESSAGES_GROUP_BY_DATE_QUERY = gql`
is_saved
is_shared
is_reported
is_purchased
}
created_at
}
Expand Down Expand Up @@ -479,6 +484,7 @@ export const GET_MESSAGES_LIKED_BY_USER = gql`
is_saved
is_shared
is_reported
is_purchased
}
created_at
}
Expand Down

0 comments on commit e97d419

Please sign in to comment.