-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace updateQueries with update (#1258)
- Loading branch information
1 parent
c4d1314
commit 60098e0
Showing
18 changed files
with
262 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const HTTP_ENDPOINT_URL = "/graphql"; | ||
export const WEBSOCKETS_ENDPOINT_URL = `${location.protocol === "https:" ? "wss" : "ws"}://${location.host}${HTTP_ENDPOINT_URL}`; | ||
export const WEBSOCKETS_ENDPOINT_TIMEOUT = 55 * 1000; // 55 seconds | ||
export const ROOT_QUERY_CACHE_ID = "ROOT_QUERY"; |
39 changes: 20 additions & 19 deletions
39
client-app/core/api/graphql/push-messages/mutations/clearAllPushMessages/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 32 additions & 20 deletions
52
client-app/core/api/graphql/push-messages/mutations/markAllPushMessagesRead/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 48 additions & 21 deletions
69
client-app/core/api/graphql/push-messages/mutations/markAllPushMessagesUnread/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 43 additions & 22 deletions
65
client-app/core/api/graphql/push-messages/mutations/markPushMessageRead/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 43 additions & 22 deletions
65
client-app/core/api/graphql/push-messages/mutations/markPushMessageUnread/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.