@ludo.ninja/api 2.8.73 → 2.8.74
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/index.d.ts +72 -1
- package/build/index.js +5 -2
- package/package.json +1 -1
- package/src/index.ts +5 -2
- package/tsconfig.tsbuildinfo +1 -1
package/build/index.d.ts
CHANGED
|
@@ -14,7 +14,78 @@ import * as opportunitiesSchema from "./graphql_tools/__generated__/opportunitie
|
|
|
14
14
|
import * as preferencesSchema from "./graphql_tools/__generated__/preferencesHost/schema";
|
|
15
15
|
import * as searchSchema from "./graphql_tools/__generated__/searchHost/schema";
|
|
16
16
|
import * as formsSchema from "./graphql_tools/__generated__/formsHost/schema";
|
|
17
|
+
import * as tapsSchema from "./graphql_tools/__generated__/tapHost/schema";
|
|
17
18
|
declare const schema: {
|
|
19
|
+
useClaimFarmingRewardMutation(baseOptions?: import("@apollo/client").MutationHookOptions<tapsSchema.IClaimFarmingRewardMutation, tapsSchema.Exact<{
|
|
20
|
+
[key: string]: never;
|
|
21
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IClaimFarmingRewardMutation, tapsSchema.Exact<{
|
|
22
|
+
[key: string]: never;
|
|
23
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
24
|
+
useConfirmStreakNotificationHasBeenReadMutation(baseOptions?: import("@apollo/client").MutationHookOptions<tapsSchema.IConfirmStreakNotificationHasBeenReadMutation, tapsSchema.Exact<{
|
|
25
|
+
streakId: string;
|
|
26
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IConfirmStreakNotificationHasBeenReadMutation, tapsSchema.Exact<{
|
|
27
|
+
streakId: string;
|
|
28
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
29
|
+
useMarkNotificationAsNewMutation(baseOptions?: import("@apollo/client").MutationHookOptions<tapsSchema.IMarkNotificationAsNewMutation, tapsSchema.Exact<{
|
|
30
|
+
notificationId: string;
|
|
31
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IMarkNotificationAsNewMutation, tapsSchema.Exact<{
|
|
32
|
+
notificationId: string;
|
|
33
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
34
|
+
useMarkNotificationAsReadMutation(baseOptions?: import("@apollo/client").MutationHookOptions<tapsSchema.IMarkNotificationAsReadMutation, tapsSchema.Exact<{
|
|
35
|
+
notificationId: string;
|
|
36
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IMarkNotificationAsReadMutation, tapsSchema.Exact<{
|
|
37
|
+
notificationId: string;
|
|
38
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
39
|
+
useMarkNotificationAsShownMutation(baseOptions?: import("@apollo/client").MutationHookOptions<tapsSchema.IMarkNotificationAsShownMutation, tapsSchema.Exact<{
|
|
40
|
+
notificationId: string;
|
|
41
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IMarkNotificationAsShownMutation, tapsSchema.Exact<{
|
|
42
|
+
notificationId: string;
|
|
43
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
44
|
+
useStartFarmingMutation(baseOptions?: import("@apollo/client").MutationHookOptions<tapsSchema.IStartFarmingMutation, tapsSchema.Exact<{
|
|
45
|
+
[key: string]: never;
|
|
46
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<tapsSchema.IStartFarmingMutation, tapsSchema.Exact<{
|
|
47
|
+
[key: string]: never;
|
|
48
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
49
|
+
useFetchFrensDataQuery(baseOptions?: import("@apollo/client").QueryHookOptions<tapsSchema.IFetchFrensDataQuery, tapsSchema.Exact<{
|
|
50
|
+
[key: string]: never;
|
|
51
|
+
}>> | undefined): import("@apollo/client").QueryResult<tapsSchema.IFetchFrensDataQuery, tapsSchema.Exact<{
|
|
52
|
+
[key: string]: never;
|
|
53
|
+
}>>;
|
|
54
|
+
useFetchFrensDataLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<tapsSchema.IFetchFrensDataQuery, tapsSchema.Exact<{
|
|
55
|
+
[key: string]: never;
|
|
56
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<tapsSchema.IFetchFrensDataQuery, tapsSchema.Exact<{
|
|
57
|
+
[key: string]: never;
|
|
58
|
+
}>>;
|
|
59
|
+
useFetchPlayerStateQuery(baseOptions?: import("@apollo/client").QueryHookOptions<tapsSchema.IFetchPlayerStateQuery, tapsSchema.Exact<{
|
|
60
|
+
[key: string]: never;
|
|
61
|
+
}>> | undefined): import("@apollo/client").QueryResult<tapsSchema.IFetchPlayerStateQuery, tapsSchema.Exact<{
|
|
62
|
+
[key: string]: never;
|
|
63
|
+
}>>;
|
|
64
|
+
useFetchPlayerStateLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<tapsSchema.IFetchPlayerStateQuery, tapsSchema.Exact<{
|
|
65
|
+
[key: string]: never;
|
|
66
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<tapsSchema.IFetchPlayerStateQuery, tapsSchema.Exact<{
|
|
67
|
+
[key: string]: never;
|
|
68
|
+
}>>;
|
|
69
|
+
useOnPlayerStateUpdatedSubscription(baseOptions: import("@apollo/client").SubscriptionHookOptions<tapsSchema.IOnPlayerStateUpdatedSubscription, tapsSchema.Exact<{
|
|
70
|
+
authToken: string;
|
|
71
|
+
}>>): {
|
|
72
|
+
restart(): void;
|
|
73
|
+
loading: boolean;
|
|
74
|
+
data?: tapsSchema.IOnPlayerStateUpdatedSubscription | undefined;
|
|
75
|
+
error?: import("@apollo/client").ApolloError | undefined;
|
|
76
|
+
variables?: tapsSchema.Exact<{
|
|
77
|
+
authToken: string;
|
|
78
|
+
}> | undefined;
|
|
79
|
+
};
|
|
80
|
+
ClaimFarmingRewardDocument: import("graphql").DocumentNode;
|
|
81
|
+
ConfirmStreakNotificationHasBeenReadDocument: import("graphql").DocumentNode;
|
|
82
|
+
MarkNotificationAsNewDocument: import("graphql").DocumentNode;
|
|
83
|
+
MarkNotificationAsReadDocument: import("graphql").DocumentNode;
|
|
84
|
+
MarkNotificationAsShownDocument: import("graphql").DocumentNode;
|
|
85
|
+
StartFarmingDocument: import("graphql").DocumentNode;
|
|
86
|
+
FetchFrensDataDocument: import("graphql").DocumentNode;
|
|
87
|
+
FetchPlayerStateDocument: import("graphql").DocumentNode;
|
|
88
|
+
OnPlayerStateUpdatedDocument: import("graphql").DocumentNode;
|
|
18
89
|
useSubmitContactSupportMutation(baseOptions?: import("@apollo/client").MutationHookOptions<formsSchema.ISubmitContactSupportMutation, formsSchema.Exact<{
|
|
19
90
|
input: formsSchema.IContactSupportInput;
|
|
20
91
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<formsSchema.ISubmitContactSupportMutation, formsSchema.Exact<{
|
|
@@ -1606,4 +1677,4 @@ declare const schema: {
|
|
|
1606
1677
|
FetchAdminXpPageDocument: import("graphql").DocumentNode;
|
|
1607
1678
|
FetchBlockchainsDocument: import("graphql").DocumentNode;
|
|
1608
1679
|
};
|
|
1609
|
-
export { hosts, schema, graphqlConfig, authCookies, adminSchema, assetSchema, authSchema, collectionsSchema, experiencesSchema, extensionSchema, galleriesSchema, identitySchema, mediasSchema, opportunitiesSchema, preferencesSchema, searchSchema, formsSchema };
|
|
1680
|
+
export { hosts, schema, graphqlConfig, authCookies, adminSchema, assetSchema, authSchema, collectionsSchema, experiencesSchema, extensionSchema, galleriesSchema, identitySchema, mediasSchema, opportunitiesSchema, preferencesSchema, searchSchema, formsSchema, tapsSchema };
|
package/build/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.formsSchema = exports.searchSchema = exports.preferencesSchema = exports.opportunitiesSchema = exports.mediasSchema = exports.identitySchema = exports.galleriesSchema = exports.extensionSchema = exports.experiencesSchema = exports.collectionsSchema = exports.authSchema = exports.assetSchema = exports.adminSchema = exports.authCookies = exports.graphqlConfig = exports.schema = exports.hosts = void 0;
|
|
26
|
+
exports.tapsSchema = exports.formsSchema = exports.searchSchema = exports.preferencesSchema = exports.opportunitiesSchema = exports.mediasSchema = exports.identitySchema = exports.galleriesSchema = exports.extensionSchema = exports.experiencesSchema = exports.collectionsSchema = exports.authSchema = exports.assetSchema = exports.adminSchema = exports.authCookies = exports.graphqlConfig = exports.schema = exports.hosts = void 0;
|
|
27
27
|
const hosts = __importStar(require("./hosts"));
|
|
28
28
|
exports.hosts = hosts;
|
|
29
29
|
const graphqlConfig = __importStar(require("./config"));
|
|
@@ -56,6 +56,8 @@ const searchSchema = __importStar(require("./graphql_tools/__generated__/searchH
|
|
|
56
56
|
exports.searchSchema = searchSchema;
|
|
57
57
|
const formsSchema = __importStar(require("./graphql_tools/__generated__/formsHost/schema"));
|
|
58
58
|
exports.formsSchema = formsSchema;
|
|
59
|
+
const tapsSchema = __importStar(require("./graphql_tools/__generated__/tapHost/schema"));
|
|
60
|
+
exports.tapsSchema = tapsSchema;
|
|
59
61
|
const schema = {
|
|
60
62
|
...adminSchema,
|
|
61
63
|
...assetSchema,
|
|
@@ -69,6 +71,7 @@ const schema = {
|
|
|
69
71
|
...opportunitiesSchema,
|
|
70
72
|
...preferencesSchema,
|
|
71
73
|
...searchSchema,
|
|
72
|
-
...formsSchema
|
|
74
|
+
...formsSchema,
|
|
75
|
+
...tapsSchema
|
|
73
76
|
};
|
|
74
77
|
exports.schema = schema;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -14,6 +14,7 @@ import * as opportunitiesSchema from "./graphql_tools/__generated__/opportunitie
|
|
|
14
14
|
import * as preferencesSchema from "./graphql_tools/__generated__/preferencesHost/schema";
|
|
15
15
|
import * as searchSchema from "./graphql_tools/__generated__/searchHost/schema";
|
|
16
16
|
import * as formsSchema from "./graphql_tools/__generated__/formsHost/schema";
|
|
17
|
+
import * as tapsSchema from "./graphql_tools/__generated__/tapHost/schema";
|
|
17
18
|
|
|
18
19
|
const schema = {
|
|
19
20
|
...adminSchema,
|
|
@@ -28,7 +29,8 @@ const schema = {
|
|
|
28
29
|
...opportunitiesSchema,
|
|
29
30
|
...preferencesSchema,
|
|
30
31
|
...searchSchema,
|
|
31
|
-
...formsSchema
|
|
32
|
+
...formsSchema,
|
|
33
|
+
...tapsSchema
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
export {
|
|
@@ -48,5 +50,6 @@ export {
|
|
|
48
50
|
opportunitiesSchema,
|
|
49
51
|
preferencesSchema,
|
|
50
52
|
searchSchema,
|
|
51
|
-
formsSchema
|
|
53
|
+
formsSchema,
|
|
54
|
+
tapsSchema
|
|
52
55
|
};
|