@ludo.ninja/api 2.8.87 → 2.8.89

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.
Files changed (38) hide show
  1. package/build/config/index.js +3 -2
  2. package/build/cookies/index.d.ts +1 -1
  3. package/build/graphql_tools/__generated__/adminHost/schema.d.ts +33 -33
  4. package/build/graphql_tools/__generated__/adminHost/schema.js +68 -66
  5. package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +2 -2
  6. package/build/graphql_tools/__generated__/assetsHost/schema.js +3 -3
  7. package/build/graphql_tools/__generated__/authHost/schema.d.ts +2 -2
  8. package/build/graphql_tools/__generated__/authHost/schema.js +3 -3
  9. package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +2 -2
  10. package/build/graphql_tools/__generated__/collectionsHost/schema.js +3 -3
  11. package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +9 -9
  12. package/build/graphql_tools/__generated__/experiencesHost/schema.js +10 -10
  13. package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +28 -28
  14. package/build/graphql_tools/__generated__/extensionHost/schema.js +18 -18
  15. package/build/graphql_tools/__generated__/formsHost/schema.js +8 -8
  16. package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +46 -46
  17. package/build/graphql_tools/__generated__/galleriesHost/schema.js +21 -21
  18. package/build/graphql_tools/__generated__/identityHost/schema.d.ts +52 -52
  19. package/build/graphql_tools/__generated__/identityHost/schema.js +32 -31
  20. package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +5 -5
  21. package/build/graphql_tools/__generated__/mediasHost/schema.js +5 -5
  22. package/build/graphql_tools/__generated__/notificationsHost/schema.d.ts +4 -4
  23. package/build/graphql_tools/__generated__/notificationsHost/schema.js +3 -3
  24. package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +7 -7
  25. package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +11 -11
  26. package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +2 -2
  27. package/build/graphql_tools/__generated__/preferencesHost/schema.js +23 -23
  28. package/build/graphql_tools/__generated__/searchHost/schema.d.ts +48 -48
  29. package/build/graphql_tools/__generated__/searchHost/schema.js +33 -33
  30. package/build/graphql_tools/__generated__/tapHost/schema.d.ts +14 -8
  31. package/build/graphql_tools/__generated__/tapHost/schema.js +18 -12
  32. package/build/hosts/index.d.ts +1 -1
  33. package/build/hosts/index.js +1 -1
  34. package/build/index.d.ts +1222 -573
  35. package/package.json +1 -1
  36. package/src/graphql_tools/__generated__/tapHost/schema.ts +14 -2
  37. package/src/hosts/index.ts +1 -1
  38. package/tsconfig.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "2.8.87",
3
+ "version": "2.8.89",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -110,6 +110,9 @@ export type IPlayingStreak = {
110
110
  status: IPlayingStreakStatus;
111
111
  type: IPlayingStreakType;
112
112
  startedAt: Scalars['Long'];
113
+ reward: Scalars['Int'];
114
+ endedAt?: Maybe<Scalars['Long']>;
115
+ totalDays: Scalars['Int'];
113
116
  };
114
117
 
115
118
  /** Please, manually sync with PlayingStreakStatus.java */
@@ -322,6 +325,9 @@ export type IPlayingStreakResolvers<ContextType = any, ParentType extends IResol
322
325
  status?: Resolver<IResolversTypes['PlayingStreakStatus'], ParentType, ContextType>;
323
326
  type?: Resolver<IResolversTypes['PlayingStreakType'], ParentType, ContextType>;
324
327
  startedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
328
+ reward?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
329
+ endedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
330
+ totalDays?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
325
331
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
326
332
  };
327
333
 
@@ -405,7 +411,7 @@ export type IFetchPlayerStateQueryVariables = Exact<{ [key: string]: never; }>;
405
411
 
406
412
  export type IFetchPlayerStateQuery = { fetchPlayerState: (
407
413
  Pick<IPlayerState, 'userId' | 'coins'>
408
- & { farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt'>>, playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt'>>, notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>> }
414
+ & { farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt'>>, playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt' | 'reward' | 'endedAt' | 'totalDays'>>, notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>> }
409
415
  ) };
410
416
 
411
417
  export type IOnPlayerStateUpdatedSubscriptionVariables = Exact<{
@@ -415,7 +421,7 @@ export type IOnPlayerStateUpdatedSubscriptionVariables = Exact<{
415
421
 
416
422
  export type IOnPlayerStateUpdatedSubscription = { onPlayerStateUpdated: (
417
423
  Pick<IPlayerState, 'userId' | 'coins'>
418
- & { farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt'>>, playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt'>>, notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>> }
424
+ & { farmingTask?: Maybe<Pick<IFarmingTask, 'taskId' | 'status' | 'startedAt'>>, playingStreaks: Array<Pick<IPlayingStreak, 'streakId' | 'status' | 'type' | 'startedAt' | 'reward' | 'endedAt' | 'totalDays'>>, notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>> }
419
425
  ) };
420
426
 
421
427
 
@@ -656,6 +662,9 @@ export const FetchPlayerStateDocument = gql`
656
662
  status
657
663
  type
658
664
  startedAt
665
+ reward
666
+ endedAt
667
+ totalDays
659
668
  }
660
669
  notifications {
661
670
  notificationId
@@ -706,6 +715,9 @@ export const OnPlayerStateUpdatedDocument = gql`
706
715
  status
707
716
  type
708
717
  startedAt
718
+ reward
719
+ endedAt
720
+ totalDays
709
721
  }
710
722
  notifications {
711
723
  notificationId
@@ -41,7 +41,7 @@ export const eventsHost = `wss://events.ludo.ninja:8090/subscriptions`;
41
41
  export const experiencesSubscriptionHost = "wss://experiences.ludo.ninja:8090/subscriptions";
42
42
 
43
43
  export const notificationsSubscriptionHost = "wss://notifications.ludo.ninja:8090/subscriptions";
44
- export const notificationsHost = "'https://notifications.ludo.ninja:8090/graphql'";
44
+ export const notificationsHost = "https://notifications.ludo.ninja:8090/graphql";
45
45
 
46
46
  export const opportunitiesHost = "https://opportunities.ludo.ninja:8090/graphql";
47
47