@ludo.ninja/api 2.8.81 → 2.8.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -147,7 +147,7 @@ export type IOnNotificationSubscriptionVariables = Exact<{
147
147
  notificationTypes: Array<INotificationType>;
148
148
  }>;
149
149
  export type IOnNotificationSubscription = {
150
- onNotification: Pick<INotification, 'notificationType' | 'createdAt' | 'name' | 'description' | 'media' | 'link'>;
150
+ onNotification: Pick<INotification, 'notificationType' | 'eventType' | 'createdAt' | 'name' | 'description' | 'media' | 'link'>;
151
151
  };
152
152
  export declare const OnNotificationDocument: Apollo.DocumentNode;
153
153
  /**
@@ -43,6 +43,7 @@ exports.OnNotificationDocument = (0, client_1.gql) `
43
43
  subscription OnNotification($authToken: String!, $notificationTypes: [NotificationType!]!) {
44
44
  onNotification(authToken: $authToken, notificationTypes: $notificationTypes) {
45
45
  notificationType
46
+ eventType
46
47
  createdAt
47
48
  name
48
49
  description
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "2.8.81",
3
+ "version": "2.8.82",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -203,13 +203,14 @@ export type IOnNotificationSubscriptionVariables = Exact<{
203
203
  }>;
204
204
 
205
205
 
206
- export type IOnNotificationSubscription = { onNotification: Pick<INotification, 'notificationType' | 'createdAt' | 'name' | 'description' | 'media' | 'link'> };
206
+ export type IOnNotificationSubscription = { onNotification: Pick<INotification, 'notificationType' | 'eventType' | 'createdAt' | 'name' | 'description' | 'media' | 'link'> };
207
207
 
208
208
 
209
209
  export const OnNotificationDocument = gql`
210
210
  subscription OnNotification($authToken: String!, $notificationTypes: [NotificationType!]!) {
211
211
  onNotification(authToken: $authToken, notificationTypes: $notificationTypes) {
212
212
  notificationType
213
+ eventType
213
214
  createdAt
214
215
  name
215
216
  description