@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.
- package/build/config/index.js +3 -2
- package/build/cookies/index.d.ts +1 -1
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +33 -33
- package/build/graphql_tools/__generated__/adminHost/schema.js +68 -66
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/assetsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/authHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/collectionsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +9 -9
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +10 -10
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +28 -28
- package/build/graphql_tools/__generated__/extensionHost/schema.js +18 -18
- package/build/graphql_tools/__generated__/formsHost/schema.js +8 -8
- package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +46 -46
- package/build/graphql_tools/__generated__/galleriesHost/schema.js +21 -21
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +52 -52
- package/build/graphql_tools/__generated__/identityHost/schema.js +32 -31
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +5 -5
- package/build/graphql_tools/__generated__/mediasHost/schema.js +5 -5
- package/build/graphql_tools/__generated__/notificationsHost/schema.d.ts +4 -4
- package/build/graphql_tools/__generated__/notificationsHost/schema.js +3 -3
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +7 -7
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +11 -11
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +2 -2
- package/build/graphql_tools/__generated__/preferencesHost/schema.js +23 -23
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +48 -48
- package/build/graphql_tools/__generated__/searchHost/schema.js +33 -33
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +14 -8
- package/build/graphql_tools/__generated__/tapHost/schema.js +18 -12
- package/build/hosts/index.d.ts +1 -1
- package/build/hosts/index.js +1 -1
- package/build/index.d.ts +1222 -573
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/tapHost/schema.ts +14 -2
- package/src/hosts/index.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -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
|
package/src/hosts/index.ts
CHANGED
|
@@ -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 = "
|
|
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
|
|