@ludo.ninja/api 2.8.28 → 2.8.30

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 (48) hide show
  1. package/build/config/index.js +4 -4
  2. package/build/graphql_tools/__generated__/adminHost/schema.d.ts +1434 -0
  3. package/build/graphql_tools/__generated__/adminHost/schema.js +688 -0
  4. package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +392 -0
  5. package/build/graphql_tools/__generated__/assetsHost/schema.js +80 -0
  6. package/build/graphql_tools/__generated__/authHost/schema.d.ts +238 -0
  7. package/build/graphql_tools/__generated__/authHost/schema.js +85 -0
  8. package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +455 -0
  9. package/build/graphql_tools/__generated__/collectionsHost/schema.js +80 -0
  10. package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +356 -0
  11. package/build/graphql_tools/__generated__/experiencesHost/schema.js +191 -0
  12. package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +808 -0
  13. package/build/graphql_tools/__generated__/extensionHost/schema.js +449 -0
  14. package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +794 -0
  15. package/build/graphql_tools/__generated__/galleriesHost/schema.js +575 -0
  16. package/build/graphql_tools/__generated__/identityHost/schema.d.ts +1205 -0
  17. package/build/graphql_tools/__generated__/identityHost/schema.js +757 -0
  18. package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +242 -0
  19. package/build/graphql_tools/__generated__/mediasHost/schema.js +110 -0
  20. package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +486 -0
  21. package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +148 -0
  22. package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +604 -0
  23. package/build/graphql_tools/__generated__/preferencesHost/schema.js +411 -0
  24. package/build/graphql_tools/__generated__/schema.d.ts +1 -0
  25. package/build/graphql_tools/__generated__/searchHost/schema.d.ts +1304 -0
  26. package/build/graphql_tools/__generated__/searchHost/schema.js +1191 -0
  27. package/build/hosts/index.d.ts +0 -3
  28. package/build/hosts/index.js +1 -4
  29. package/build/index.d.ts +13 -2
  30. package/build/index.js +25 -3
  31. package/package.json +1 -1
  32. package/src/config/index.ts +50 -50
  33. package/src/graphql_tools/__generated__/adminHost/schema.ts +1814 -0
  34. package/src/graphql_tools/__generated__/assetsHost/schema.ts +482 -0
  35. package/src/graphql_tools/__generated__/authHost/schema.ts +317 -0
  36. package/src/graphql_tools/__generated__/collectionsHost/schema.ts +554 -0
  37. package/src/graphql_tools/__generated__/experiencesHost/schema.ts +478 -0
  38. package/src/graphql_tools/__generated__/extensionHost/schema.ts +1074 -0
  39. package/src/graphql_tools/__generated__/galleriesHost/schema.ts +1090 -0
  40. package/src/graphql_tools/__generated__/identityHost/schema.ts +1584 -0
  41. package/src/graphql_tools/__generated__/mediasHost/schema.ts +333 -0
  42. package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +629 -0
  43. package/src/graphql_tools/__generated__/preferencesHost/schema.ts +772 -0
  44. package/src/graphql_tools/__generated__/schema.ts +1 -0
  45. package/src/graphql_tools/__generated__/searchHost/schema.ts +2137 -0
  46. package/src/hosts/index.ts +0 -6
  47. package/src/index.ts +29 -2
  48. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,575 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserFavoritesV2LazyQuery = exports.useFetchUserFavoritesV2Query = exports.FetchUserFavoritesV2Document = exports.useFetchMyGalleriesV2LazyQuery = exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchGalleryV2LazyQuery = exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCollectionsToGalleryV2Mutation = exports.AddCollectionsToGalleryV2Document = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = void 0;
27
+ const client_1 = require("@apollo/client");
28
+ const Apollo = __importStar(require("@apollo/client"));
29
+ exports.AddAssetsToGalleryV2Document = (0, client_1.gql) `
30
+ mutation AddAssetsToGalleryV2($galleryId: ID!, $assetIds: [String!]!) {
31
+ addAssetsToGalleryV2(galleryId: $galleryId, assetIds: $assetIds)
32
+ }
33
+ `;
34
+ /**
35
+ * __useAddAssetsToGalleryV2Mutation__
36
+ *
37
+ * To run a mutation, you first call `useAddAssetsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
38
+ * When your component renders, `useAddAssetsToGalleryV2Mutation` returns a tuple that includes:
39
+ * - A mutate function that you can call at any time to execute the mutation
40
+ * - An object with fields that represent the current status of the mutation's execution
41
+ *
42
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
43
+ *
44
+ * @example
45
+ * const [addAssetsToGalleryV2Mutation, { data, loading, error }] = useAddAssetsToGalleryV2Mutation({
46
+ * variables: {
47
+ * galleryId: // value for 'galleryId'
48
+ * assetIds: // value for 'assetIds'
49
+ * },
50
+ * });
51
+ */
52
+ function useAddAssetsToGalleryV2Mutation(baseOptions) {
53
+ return Apollo.useMutation(exports.AddAssetsToGalleryV2Document, baseOptions);
54
+ }
55
+ exports.useAddAssetsToGalleryV2Mutation = useAddAssetsToGalleryV2Mutation;
56
+ exports.AddCollectionsToGalleryV2Document = (0, client_1.gql) `
57
+ mutation AddCollectionsToGalleryV2($galleryId: ID!, $collectionIds: [String!]!) {
58
+ addCollectionsToGalleryV2(galleryId: $galleryId, collectionIds: $collectionIds)
59
+ }
60
+ `;
61
+ /**
62
+ * __useAddCollectionsToGalleryV2Mutation__
63
+ *
64
+ * To run a mutation, you first call `useAddCollectionsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
65
+ * When your component renders, `useAddCollectionsToGalleryV2Mutation` returns a tuple that includes:
66
+ * - A mutate function that you can call at any time to execute the mutation
67
+ * - An object with fields that represent the current status of the mutation's execution
68
+ *
69
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
70
+ *
71
+ * @example
72
+ * const [addCollectionsToGalleryV2Mutation, { data, loading, error }] = useAddCollectionsToGalleryV2Mutation({
73
+ * variables: {
74
+ * galleryId: // value for 'galleryId'
75
+ * collectionIds: // value for 'collectionIds'
76
+ * },
77
+ * });
78
+ */
79
+ function useAddCollectionsToGalleryV2Mutation(baseOptions) {
80
+ return Apollo.useMutation(exports.AddCollectionsToGalleryV2Document, baseOptions);
81
+ }
82
+ exports.useAddCollectionsToGalleryV2Mutation = useAddCollectionsToGalleryV2Mutation;
83
+ exports.AddCreationsToGalleryV2Document = (0, client_1.gql) `
84
+ mutation AddCreationsToGalleryV2($galleryId: ID!, $creationIds: [String!]!) {
85
+ addCreationsToGalleryV2(galleryId: $galleryId, creationIds: $creationIds)
86
+ }
87
+ `;
88
+ /**
89
+ * __useAddCreationsToGalleryV2Mutation__
90
+ *
91
+ * To run a mutation, you first call `useAddCreationsToGalleryV2Mutation` within a React component and pass it any options that fit your needs.
92
+ * When your component renders, `useAddCreationsToGalleryV2Mutation` returns a tuple that includes:
93
+ * - A mutate function that you can call at any time to execute the mutation
94
+ * - An object with fields that represent the current status of the mutation's execution
95
+ *
96
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
97
+ *
98
+ * @example
99
+ * const [addCreationsToGalleryV2Mutation, { data, loading, error }] = useAddCreationsToGalleryV2Mutation({
100
+ * variables: {
101
+ * galleryId: // value for 'galleryId'
102
+ * creationIds: // value for 'creationIds'
103
+ * },
104
+ * });
105
+ */
106
+ function useAddCreationsToGalleryV2Mutation(baseOptions) {
107
+ return Apollo.useMutation(exports.AddCreationsToGalleryV2Document, baseOptions);
108
+ }
109
+ exports.useAddCreationsToGalleryV2Mutation = useAddCreationsToGalleryV2Mutation;
110
+ exports.CreateFavoriteListV2Document = (0, client_1.gql) `
111
+ mutation CreateFavoriteListV2($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
112
+ createFavoriteListV2(
113
+ name: $name
114
+ description: $description
115
+ publicAccessible: $publicAccessible
116
+ creationIds: $creationIds
117
+ )
118
+ }
119
+ `;
120
+ /**
121
+ * __useCreateFavoriteListV2Mutation__
122
+ *
123
+ * To run a mutation, you first call `useCreateFavoriteListV2Mutation` within a React component and pass it any options that fit your needs.
124
+ * When your component renders, `useCreateFavoriteListV2Mutation` returns a tuple that includes:
125
+ * - A mutate function that you can call at any time to execute the mutation
126
+ * - An object with fields that represent the current status of the mutation's execution
127
+ *
128
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
129
+ *
130
+ * @example
131
+ * const [createFavoriteListV2Mutation, { data, loading, error }] = useCreateFavoriteListV2Mutation({
132
+ * variables: {
133
+ * name: // value for 'name'
134
+ * description: // value for 'description'
135
+ * publicAccessible: // value for 'publicAccessible'
136
+ * creationIds: // value for 'creationIds'
137
+ * },
138
+ * });
139
+ */
140
+ function useCreateFavoriteListV2Mutation(baseOptions) {
141
+ return Apollo.useMutation(exports.CreateFavoriteListV2Document, baseOptions);
142
+ }
143
+ exports.useCreateFavoriteListV2Mutation = useCreateFavoriteListV2Mutation;
144
+ exports.CreateGalleryV2Document = (0, client_1.gql) `
145
+ mutation CreateGalleryV2($name: String!, $description: String, $publicAccessible: Boolean, $creationIds: [String]) {
146
+ createGalleryV2(
147
+ name: $name
148
+ description: $description
149
+ publicAccessible: $publicAccessible
150
+ creationIds: $creationIds
151
+ )
152
+ }
153
+ `;
154
+ /**
155
+ * __useCreateGalleryV2Mutation__
156
+ *
157
+ * To run a mutation, you first call `useCreateGalleryV2Mutation` within a React component and pass it any options that fit your needs.
158
+ * When your component renders, `useCreateGalleryV2Mutation` returns a tuple that includes:
159
+ * - A mutate function that you can call at any time to execute the mutation
160
+ * - An object with fields that represent the current status of the mutation's execution
161
+ *
162
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
163
+ *
164
+ * @example
165
+ * const [createGalleryV2Mutation, { data, loading, error }] = useCreateGalleryV2Mutation({
166
+ * variables: {
167
+ * name: // value for 'name'
168
+ * description: // value for 'description'
169
+ * publicAccessible: // value for 'publicAccessible'
170
+ * creationIds: // value for 'creationIds'
171
+ * },
172
+ * });
173
+ */
174
+ function useCreateGalleryV2Mutation(baseOptions) {
175
+ return Apollo.useMutation(exports.CreateGalleryV2Document, baseOptions);
176
+ }
177
+ exports.useCreateGalleryV2Mutation = useCreateGalleryV2Mutation;
178
+ exports.DeleteGalleryDocument = (0, client_1.gql) `
179
+ mutation DeleteGallery($galleryId: ID!) {
180
+ deleteGallery(galleryId: $galleryId)
181
+ }
182
+ `;
183
+ /**
184
+ * __useDeleteGalleryMutation__
185
+ *
186
+ * To run a mutation, you first call `useDeleteGalleryMutation` within a React component and pass it any options that fit your needs.
187
+ * When your component renders, `useDeleteGalleryMutation` returns a tuple that includes:
188
+ * - A mutate function that you can call at any time to execute the mutation
189
+ * - An object with fields that represent the current status of the mutation's execution
190
+ *
191
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
192
+ *
193
+ * @example
194
+ * const [deleteGalleryMutation, { data, loading, error }] = useDeleteGalleryMutation({
195
+ * variables: {
196
+ * galleryId: // value for 'galleryId'
197
+ * },
198
+ * });
199
+ */
200
+ function useDeleteGalleryMutation(baseOptions) {
201
+ return Apollo.useMutation(exports.DeleteGalleryDocument, baseOptions);
202
+ }
203
+ exports.useDeleteGalleryMutation = useDeleteGalleryMutation;
204
+ exports.EditGalleryDocument = (0, client_1.gql) `
205
+ mutation EditGallery($galleryId: ID!, $name: String, $description: String) {
206
+ editGallery(galleryId: $galleryId, name: $name, description: $description)
207
+ }
208
+ `;
209
+ /**
210
+ * __useEditGalleryMutation__
211
+ *
212
+ * To run a mutation, you first call `useEditGalleryMutation` within a React component and pass it any options that fit your needs.
213
+ * When your component renders, `useEditGalleryMutation` returns a tuple that includes:
214
+ * - A mutate function that you can call at any time to execute the mutation
215
+ * - An object with fields that represent the current status of the mutation's execution
216
+ *
217
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
218
+ *
219
+ * @example
220
+ * const [editGalleryMutation, { data, loading, error }] = useEditGalleryMutation({
221
+ * variables: {
222
+ * galleryId: // value for 'galleryId'
223
+ * name: // value for 'name'
224
+ * description: // value for 'description'
225
+ * },
226
+ * });
227
+ */
228
+ function useEditGalleryMutation(baseOptions) {
229
+ return Apollo.useMutation(exports.EditGalleryDocument, baseOptions);
230
+ }
231
+ exports.useEditGalleryMutation = useEditGalleryMutation;
232
+ exports.RemoveAssetFromGalleryV2Document = (0, client_1.gql) `
233
+ mutation RemoveAssetFromGalleryV2($galleryId: ID!, $assetId: String!) {
234
+ removeAssetFromGalleryV2(galleryId: $galleryId, assetId: $assetId)
235
+ }
236
+ `;
237
+ /**
238
+ * __useRemoveAssetFromGalleryV2Mutation__
239
+ *
240
+ * To run a mutation, you first call `useRemoveAssetFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
241
+ * When your component renders, `useRemoveAssetFromGalleryV2Mutation` returns a tuple that includes:
242
+ * - A mutate function that you can call at any time to execute the mutation
243
+ * - An object with fields that represent the current status of the mutation's execution
244
+ *
245
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
246
+ *
247
+ * @example
248
+ * const [removeAssetFromGalleryV2Mutation, { data, loading, error }] = useRemoveAssetFromGalleryV2Mutation({
249
+ * variables: {
250
+ * galleryId: // value for 'galleryId'
251
+ * assetId: // value for 'assetId'
252
+ * },
253
+ * });
254
+ */
255
+ function useRemoveAssetFromGalleryV2Mutation(baseOptions) {
256
+ return Apollo.useMutation(exports.RemoveAssetFromGalleryV2Document, baseOptions);
257
+ }
258
+ exports.useRemoveAssetFromGalleryV2Mutation = useRemoveAssetFromGalleryV2Mutation;
259
+ exports.RemoveCollectionFromGalleryV2Document = (0, client_1.gql) `
260
+ mutation RemoveCollectionFromGalleryV2($galleryId: ID!, $collectionId: String!) {
261
+ removeCollectionFromGalleryV2(
262
+ galleryId: $galleryId
263
+ collectionId: $collectionId
264
+ )
265
+ }
266
+ `;
267
+ /**
268
+ * __useRemoveCollectionFromGalleryV2Mutation__
269
+ *
270
+ * To run a mutation, you first call `useRemoveCollectionFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
271
+ * When your component renders, `useRemoveCollectionFromGalleryV2Mutation` returns a tuple that includes:
272
+ * - A mutate function that you can call at any time to execute the mutation
273
+ * - An object with fields that represent the current status of the mutation's execution
274
+ *
275
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
276
+ *
277
+ * @example
278
+ * const [removeCollectionFromGalleryV2Mutation, { data, loading, error }] = useRemoveCollectionFromGalleryV2Mutation({
279
+ * variables: {
280
+ * galleryId: // value for 'galleryId'
281
+ * collectionId: // value for 'collectionId'
282
+ * },
283
+ * });
284
+ */
285
+ function useRemoveCollectionFromGalleryV2Mutation(baseOptions) {
286
+ return Apollo.useMutation(exports.RemoveCollectionFromGalleryV2Document, baseOptions);
287
+ }
288
+ exports.useRemoveCollectionFromGalleryV2Mutation = useRemoveCollectionFromGalleryV2Mutation;
289
+ exports.RemoveCreationFromGalleryV2Document = (0, client_1.gql) `
290
+ mutation RemoveCreationFromGalleryV2($galleryId: ID!, $creationId: String!) {
291
+ removeCreationFromGalleryV2(galleryId: $galleryId, creationId: $creationId)
292
+ }
293
+ `;
294
+ /**
295
+ * __useRemoveCreationFromGalleryV2Mutation__
296
+ *
297
+ * To run a mutation, you first call `useRemoveCreationFromGalleryV2Mutation` within a React component and pass it any options that fit your needs.
298
+ * When your component renders, `useRemoveCreationFromGalleryV2Mutation` returns a tuple that includes:
299
+ * - A mutate function that you can call at any time to execute the mutation
300
+ * - An object with fields that represent the current status of the mutation's execution
301
+ *
302
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
303
+ *
304
+ * @example
305
+ * const [removeCreationFromGalleryV2Mutation, { data, loading, error }] = useRemoveCreationFromGalleryV2Mutation({
306
+ * variables: {
307
+ * galleryId: // value for 'galleryId'
308
+ * creationId: // value for 'creationId'
309
+ * },
310
+ * });
311
+ */
312
+ function useRemoveCreationFromGalleryV2Mutation(baseOptions) {
313
+ return Apollo.useMutation(exports.RemoveCreationFromGalleryV2Document, baseOptions);
314
+ }
315
+ exports.useRemoveCreationFromGalleryV2Mutation = useRemoveCreationFromGalleryV2Mutation;
316
+ exports.FetchGalleryV2Document = (0, client_1.gql) `
317
+ query FetchGalleryV2($galleryId: String!) {
318
+ fetchGalleryV2(galleryId: $galleryId) {
319
+ galleryId
320
+ galleryType
321
+ name
322
+ description
323
+ userId
324
+ username
325
+ userpic
326
+ banner
327
+ createdAt
328
+ items
329
+ views
330
+ publiclyAccessible
331
+ nsfw
332
+ creationIds
333
+ }
334
+ }
335
+ `;
336
+ /**
337
+ * __useFetchGalleryV2Query__
338
+ *
339
+ * To run a query within a React component, call `useFetchGalleryV2Query` and pass it any options that fit your needs.
340
+ * When your component renders, `useFetchGalleryV2Query` returns an object from Apollo Client that contains loading, error, and data properties
341
+ * you can use to render your UI.
342
+ *
343
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
344
+ *
345
+ * @example
346
+ * const { data, loading, error } = useFetchGalleryV2Query({
347
+ * variables: {
348
+ * galleryId: // value for 'galleryId'
349
+ * },
350
+ * });
351
+ */
352
+ function useFetchGalleryV2Query(baseOptions) {
353
+ return Apollo.useQuery(exports.FetchGalleryV2Document, baseOptions);
354
+ }
355
+ exports.useFetchGalleryV2Query = useFetchGalleryV2Query;
356
+ function useFetchGalleryV2LazyQuery(baseOptions) {
357
+ return Apollo.useLazyQuery(exports.FetchGalleryV2Document, baseOptions);
358
+ }
359
+ exports.useFetchGalleryV2LazyQuery = useFetchGalleryV2LazyQuery;
360
+ exports.FetchMyFavoritesV2Document = (0, client_1.gql) `
361
+ query FetchMyFavoritesV2($pageSize: Int!, $pageToken: String) {
362
+ fetchMyFavoritesV2(pageSize: $pageSize, pageToken: $pageToken) {
363
+ nextPageToken
364
+ galleries {
365
+ galleryId
366
+ galleryType
367
+ name
368
+ description
369
+ userId
370
+ username
371
+ userpic
372
+ banner
373
+ createdAt
374
+ items
375
+ views
376
+ publiclyAccessible
377
+ nsfw
378
+ creationIds
379
+ }
380
+ }
381
+ }
382
+ `;
383
+ /**
384
+ * __useFetchMyFavoritesV2Query__
385
+ *
386
+ * To run a query within a React component, call `useFetchMyFavoritesV2Query` and pass it any options that fit your needs.
387
+ * When your component renders, `useFetchMyFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
388
+ * you can use to render your UI.
389
+ *
390
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
391
+ *
392
+ * @example
393
+ * const { data, loading, error } = useFetchMyFavoritesV2Query({
394
+ * variables: {
395
+ * pageSize: // value for 'pageSize'
396
+ * pageToken: // value for 'pageToken'
397
+ * },
398
+ * });
399
+ */
400
+ function useFetchMyFavoritesV2Query(baseOptions) {
401
+ return Apollo.useQuery(exports.FetchMyFavoritesV2Document, baseOptions);
402
+ }
403
+ exports.useFetchMyFavoritesV2Query = useFetchMyFavoritesV2Query;
404
+ function useFetchMyFavoritesV2LazyQuery(baseOptions) {
405
+ return Apollo.useLazyQuery(exports.FetchMyFavoritesV2Document, baseOptions);
406
+ }
407
+ exports.useFetchMyFavoritesV2LazyQuery = useFetchMyFavoritesV2LazyQuery;
408
+ exports.FetchMyGalleriesV2Document = (0, client_1.gql) `
409
+ query FetchMyGalleriesV2($pageSize: Int!, $pageToken: String) {
410
+ fetchMyGalleriesV2(pageSize: $pageSize, pageToken: $pageToken) {
411
+ nextPageToken
412
+ galleries {
413
+ galleryId
414
+ galleryType
415
+ name
416
+ description
417
+ userId
418
+ username
419
+ userpic
420
+ banner
421
+ createdAt
422
+ items
423
+ views
424
+ publiclyAccessible
425
+ nsfw
426
+ creationIds
427
+ }
428
+ }
429
+ }
430
+ `;
431
+ /**
432
+ * __useFetchMyGalleriesV2Query__
433
+ *
434
+ * To run a query within a React component, call `useFetchMyGalleriesV2Query` and pass it any options that fit your needs.
435
+ * When your component renders, `useFetchMyGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
436
+ * you can use to render your UI.
437
+ *
438
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
439
+ *
440
+ * @example
441
+ * const { data, loading, error } = useFetchMyGalleriesV2Query({
442
+ * variables: {
443
+ * pageSize: // value for 'pageSize'
444
+ * pageToken: // value for 'pageToken'
445
+ * },
446
+ * });
447
+ */
448
+ function useFetchMyGalleriesV2Query(baseOptions) {
449
+ return Apollo.useQuery(exports.FetchMyGalleriesV2Document, baseOptions);
450
+ }
451
+ exports.useFetchMyGalleriesV2Query = useFetchMyGalleriesV2Query;
452
+ function useFetchMyGalleriesV2LazyQuery(baseOptions) {
453
+ return Apollo.useLazyQuery(exports.FetchMyGalleriesV2Document, baseOptions);
454
+ }
455
+ exports.useFetchMyGalleriesV2LazyQuery = useFetchMyGalleriesV2LazyQuery;
456
+ exports.FetchUserFavoritesV2Document = (0, client_1.gql) `
457
+ query FetchUserFavoritesV2($userId: ID!, $pageSize: Int!, $pageToken: String) {
458
+ fetchUserFavoritesV2(
459
+ userId: $userId
460
+ pageSize: $pageSize
461
+ pageToken: $pageToken
462
+ ) {
463
+ nextPageToken
464
+ galleries {
465
+ galleryId
466
+ galleryType
467
+ name
468
+ description
469
+ userId
470
+ username
471
+ userpic
472
+ userWallets {
473
+ userId
474
+ address
475
+ walletName
476
+ blockchain
477
+ chainId
478
+ }
479
+ banner
480
+ createdAt
481
+ items
482
+ views
483
+ publiclyAccessible
484
+ nsfw
485
+ creationIds
486
+ }
487
+ }
488
+ }
489
+ `;
490
+ /**
491
+ * __useFetchUserFavoritesV2Query__
492
+ *
493
+ * To run a query within a React component, call `useFetchUserFavoritesV2Query` and pass it any options that fit your needs.
494
+ * When your component renders, `useFetchUserFavoritesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
495
+ * you can use to render your UI.
496
+ *
497
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
498
+ *
499
+ * @example
500
+ * const { data, loading, error } = useFetchUserFavoritesV2Query({
501
+ * variables: {
502
+ * userId: // value for 'userId'
503
+ * pageSize: // value for 'pageSize'
504
+ * pageToken: // value for 'pageToken'
505
+ * },
506
+ * });
507
+ */
508
+ function useFetchUserFavoritesV2Query(baseOptions) {
509
+ return Apollo.useQuery(exports.FetchUserFavoritesV2Document, baseOptions);
510
+ }
511
+ exports.useFetchUserFavoritesV2Query = useFetchUserFavoritesV2Query;
512
+ function useFetchUserFavoritesV2LazyQuery(baseOptions) {
513
+ return Apollo.useLazyQuery(exports.FetchUserFavoritesV2Document, baseOptions);
514
+ }
515
+ exports.useFetchUserFavoritesV2LazyQuery = useFetchUserFavoritesV2LazyQuery;
516
+ exports.FetchUserGalleriesV2Document = (0, client_1.gql) `
517
+ query fetchUserGalleriesV2($userId: ID!, $pageSize: Int!, $pageToken: String) {
518
+ fetchUserGalleriesV2(
519
+ userId: $userId
520
+ pageSize: $pageSize
521
+ pageToken: $pageToken
522
+ ) {
523
+ nextPageToken
524
+ galleries {
525
+ galleryId
526
+ galleryType
527
+ name
528
+ description
529
+ userId
530
+ username
531
+ userpic
532
+ userWallets {
533
+ userId
534
+ address
535
+ walletName
536
+ blockchain
537
+ chainId
538
+ }
539
+ banner
540
+ createdAt
541
+ items
542
+ views
543
+ publiclyAccessible
544
+ nsfw
545
+ creationIds
546
+ }
547
+ }
548
+ }
549
+ `;
550
+ /**
551
+ * __useFetchUserGalleriesV2Query__
552
+ *
553
+ * To run a query within a React component, call `useFetchUserGalleriesV2Query` and pass it any options that fit your needs.
554
+ * When your component renders, `useFetchUserGalleriesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
555
+ * you can use to render your UI.
556
+ *
557
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
558
+ *
559
+ * @example
560
+ * const { data, loading, error } = useFetchUserGalleriesV2Query({
561
+ * variables: {
562
+ * userId: // value for 'userId'
563
+ * pageSize: // value for 'pageSize'
564
+ * pageToken: // value for 'pageToken'
565
+ * },
566
+ * });
567
+ */
568
+ function useFetchUserGalleriesV2Query(baseOptions) {
569
+ return Apollo.useQuery(exports.FetchUserGalleriesV2Document, baseOptions);
570
+ }
571
+ exports.useFetchUserGalleriesV2Query = useFetchUserGalleriesV2Query;
572
+ function useFetchUserGalleriesV2LazyQuery(baseOptions) {
573
+ return Apollo.useLazyQuery(exports.FetchUserGalleriesV2Document, baseOptions);
574
+ }
575
+ exports.useFetchUserGalleriesV2LazyQuery = useFetchUserGalleriesV2LazyQuery;