-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MS-754] feat: Add gql subscriptions
- Loading branch information
1 parent
b392f34
commit a517437
Showing
11 changed files
with
294 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
src/graphql/operations/subscriptions/AccountChangeEmailRequestedSubscription.graphql
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
subscription AccountChangeEmailRequestedSubscription { | ||
event { | ||
... on AccountChangeEmailRequested { | ||
user { | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/graphql/operations/subscriptions/AccountConfirmationRequestedSubscription.graphql
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
subscription AccountConfirmationRequestedSubscription { | ||
event { | ||
... on AccountConfirmationRequested { | ||
user { | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/graphql/operations/subscriptions/AccountConfirmedSubscription.graphql
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
subscription AccountConfirmedSubscription { | ||
event { | ||
... on AccountConfirmed { | ||
user { | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/graphql/operations/subscriptions/AccountDeleteRequestedSubscription.graphql
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
subscription AccountDeleteRequestedSubscription { | ||
event { | ||
... on AccountDeleteRequested { | ||
user { | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/graphql/operations/subscriptions/AccountDeletedSubscription.graphql
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
subscription AccountDeletedSubscription { | ||
event { | ||
... on AccountDeleted { | ||
user { | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/graphql/operations/subscriptions/FulfillmentTrackingNumberUpdated.graphql
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
subscription FulfillmentTrackingNumberUpdated { | ||
event { | ||
... on FulfillmentTrackingNumberUpdated { | ||
order { | ||
userEmail | ||
} | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
src/graphql/operations/subscriptions/GiftCardSentSubscription.graphql
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
subscription GiftCardSentSubscription { | ||
event { | ||
... on GiftCardSent { | ||
sentToEmail | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/graphql/operations/subscriptions/OrderCancelledSubscription.graphql
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
subscription OrderCancelledSubscription { | ||
event { | ||
... on OrderCancelled { | ||
order { | ||
userEmail | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/graphql/operations/subscriptions/OrderRefundedSubscription.graphql
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
subscription OrderRefundedSubscription { | ||
event { | ||
... on OrderCancelled { | ||
order { | ||
userEmail | ||
} | ||
} | ||
} | ||
} |
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