@burdenoff/microfe-store 2026.510.113

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 (141) hide show
  1. package/README.md +217 -0
  2. package/dist/StoreAdminRoot.d.ts +22 -0
  3. package/dist/StoreAdminRoot.js +23 -0
  4. package/dist/StoreAdminRoot.js.map +1 -0
  5. package/dist/StoreAdminRoutes.d.ts +9 -0
  6. package/dist/StoreAdminRoutes.js +69 -0
  7. package/dist/StoreAdminRoutes.js.map +1 -0
  8. package/dist/StoreRoot.d.ts +31 -0
  9. package/dist/StoreRoot.js +139 -0
  10. package/dist/StoreRoot.js.map +1 -0
  11. package/dist/StoreRoutes.d.ts +12 -0
  12. package/dist/StoreRoutes.js +285 -0
  13. package/dist/StoreRoutes.js.map +1 -0
  14. package/dist/components/InstallAppModal.d.ts +26 -0
  15. package/dist/components/InstallAppModal.js +287 -0
  16. package/dist/components/InstallAppModal.js.map +1 -0
  17. package/dist/components/RouteGuards.d.ts +17 -0
  18. package/dist/components/RouteGuards.js +26 -0
  19. package/dist/components/RouteGuards.js.map +1 -0
  20. package/dist/components/cart/CartDrawer.d.ts +35 -0
  21. package/dist/components/cart/CartDrawer.js +162 -0
  22. package/dist/components/cart/CartDrawer.js.map +1 -0
  23. package/dist/components/index.d.ts +9 -0
  24. package/dist/components/index.js +3 -0
  25. package/dist/components/marketplace/ProductCard.d.ts +18 -0
  26. package/dist/components/marketplace/ProductCard.js +2 -0
  27. package/dist/dev/main.d.ts +1 -0
  28. package/dist/generated/global-operations.d.ts +2012 -0
  29. package/dist/generated/global-operations.js +1444 -0
  30. package/dist/generated/global-operations.js.map +1 -0
  31. package/dist/generated/global-types.d.ts +20856 -0
  32. package/dist/generated/global-types.js +14 -0
  33. package/dist/generated/global-types.js.map +1 -0
  34. package/dist/generated/wspace-operations.d.ts +1 -0
  35. package/dist/generated/wspace-types.d.ts +53362 -0
  36. package/dist/hooks/index.d.ts +12 -0
  37. package/dist/hooks/useBackendCart.d.ts +73 -0
  38. package/dist/hooks/useBackendCart.js +171 -0
  39. package/dist/hooks/useBackendCart.js.map +1 -0
  40. package/dist/hooks/useCart.d.ts +62 -0
  41. package/dist/hooks/useCart.js +90 -0
  42. package/dist/hooks/useCart.js.map +1 -0
  43. package/dist/hooks/useInstallations.d.ts +43 -0
  44. package/dist/hooks/useInstallations.js +140 -0
  45. package/dist/hooks/useInstallations.js.map +1 -0
  46. package/dist/hooks/useOrders.d.ts +40 -0
  47. package/dist/hooks/useOrders.js +73 -0
  48. package/dist/hooks/useOrders.js.map +1 -0
  49. package/dist/hooks/useProductSearch.d.ts +22 -0
  50. package/dist/hooks/useProductSearch.js +59 -0
  51. package/dist/hooks/useProductSearch.js.map +1 -0
  52. package/dist/hooks/useStoreGraphQL.d.ts +475 -0
  53. package/dist/hooks/useStoreGraphQL.js +751 -0
  54. package/dist/hooks/useStoreGraphQL.js.map +1 -0
  55. package/dist/hooks/useStoreGraphQLWithContext.d.ts +48 -0
  56. package/dist/hooks/useStoreGraphQLWithContext.js +39 -0
  57. package/dist/hooks/useStoreGraphQLWithContext.js.map +1 -0
  58. package/dist/hooks/useStorePermissions.d.ts +63 -0
  59. package/dist/hooks/useStorePermissions.js +88 -0
  60. package/dist/hooks/useStorePermissions.js.map +1 -0
  61. package/dist/index.d.ts +44 -0
  62. package/dist/index.js +13 -0
  63. package/dist/pages/AdminDashboardPage.d.ts +3 -0
  64. package/dist/pages/AdminDashboardPage.js +491 -0
  65. package/dist/pages/AdminDashboardPage.js.map +1 -0
  66. package/dist/pages/AdminReviewModerationPage.d.ts +3 -0
  67. package/dist/pages/AdminReviewModerationPage.js +247 -0
  68. package/dist/pages/AdminReviewModerationPage.js.map +1 -0
  69. package/dist/pages/AdminStoresPage.d.ts +3 -0
  70. package/dist/pages/AdminStoresPage.js +442 -0
  71. package/dist/pages/AdminStoresPage.js.map +1 -0
  72. package/dist/pages/AdminSubmissionsQueuePage.d.ts +3 -0
  73. package/dist/pages/AdminSubmissionsQueuePage.js +387 -0
  74. package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -0
  75. package/dist/pages/AppDetailPage.d.ts +3 -0
  76. package/dist/pages/AppDetailPage.js +166 -0
  77. package/dist/pages/AppDetailPage.js.map +1 -0
  78. package/dist/pages/AppSettingsPage.d.ts +3 -0
  79. package/dist/pages/AppSettingsPage.js +100 -0
  80. package/dist/pages/AppSettingsPage.js.map +1 -0
  81. package/dist/pages/CartPage.d.ts +8 -0
  82. package/dist/pages/CartPage.js +259 -0
  83. package/dist/pages/CartPage.js.map +1 -0
  84. package/dist/pages/InstalledAppsPage.d.ts +8 -0
  85. package/dist/pages/InstalledAppsPage.js +290 -0
  86. package/dist/pages/InstalledAppsPage.js.map +1 -0
  87. package/dist/pages/MarketplaceHomePage.d.ts +3 -0
  88. package/dist/pages/MarketplaceHomePage.js +1118 -0
  89. package/dist/pages/MarketplaceHomePage.js.map +1 -0
  90. package/dist/pages/MyLicensesPage.d.ts +3 -0
  91. package/dist/pages/MyLicensesPage.js +146 -0
  92. package/dist/pages/MyLicensesPage.js.map +1 -0
  93. package/dist/pages/OrderConfirmationPage.d.ts +3 -0
  94. package/dist/pages/OrderConfirmationPage.js +178 -0
  95. package/dist/pages/OrderConfirmationPage.js.map +1 -0
  96. package/dist/pages/OrdersPage.d.ts +8 -0
  97. package/dist/pages/OrdersPage.js +358 -0
  98. package/dist/pages/OrdersPage.js.map +1 -0
  99. package/dist/pages/ProductCategoryPage.d.ts +3 -0
  100. package/dist/pages/ProductCategoryPage.js +83 -0
  101. package/dist/pages/ProductCategoryPage.js.map +1 -0
  102. package/dist/pages/ProductDetailPage.d.ts +8 -0
  103. package/dist/pages/ProductDetailPage.js +1205 -0
  104. package/dist/pages/ProductDetailPage.js.map +1 -0
  105. package/dist/pages/ProductReviewsPage.d.ts +3 -0
  106. package/dist/pages/ProductReviewsPage.js +86 -0
  107. package/dist/pages/ProductReviewsPage.js.map +1 -0
  108. package/dist/pages/PublisherDashboardPage.d.ts +3 -0
  109. package/dist/pages/PublisherDashboardPage.js +154 -0
  110. package/dist/pages/PublisherDashboardPage.js.map +1 -0
  111. package/dist/pages/PublisherRevenuePage.d.ts +3 -0
  112. package/dist/pages/PublisherRevenuePage.js +138 -0
  113. package/dist/pages/PublisherRevenuePage.js.map +1 -0
  114. package/dist/pages/PublisherSubmissionsPage.d.ts +3 -0
  115. package/dist/pages/PublisherSubmissionsPage.js +174 -0
  116. package/dist/pages/PublisherSubmissionsPage.js.map +1 -0
  117. package/dist/pages/PublisherSubmitPage.d.ts +3 -0
  118. package/dist/pages/PublisherSubmitPage.js +224 -0
  119. package/dist/pages/PublisherSubmitPage.js.map +1 -0
  120. package/dist/pages/SearchResultsPage.d.ts +3 -0
  121. package/dist/pages/SearchResultsPage.js +125 -0
  122. package/dist/pages/SearchResultsPage.js.map +1 -0
  123. package/dist/pages/StoresPage.d.ts +3 -0
  124. package/dist/pages/StoresPage.js +154 -0
  125. package/dist/pages/StoresPage.js.map +1 -0
  126. package/dist/providers/StoreProvider.d.ts +38 -0
  127. package/dist/providers/StoreProvider.js +51 -0
  128. package/dist/providers/StoreProvider.js.map +1 -0
  129. package/dist/store/storeStore.d.ts +69 -0
  130. package/dist/store/storeStore.js +68 -0
  131. package/dist/store/storeStore.js.map +1 -0
  132. package/dist/translations/en.d.ts +518 -0
  133. package/dist/translations/en.js +514 -0
  134. package/dist/translations/en.js.map +1 -0
  135. package/dist/types/index.d.ts +575 -0
  136. package/dist/utils/index.d.ts +67 -0
  137. package/dist/utils/index.js +114 -0
  138. package/dist/utils/index.js.map +1 -0
  139. package/dist/utils/nativeBridge.d.ts +2 -0
  140. package/dist/utils/nativeBridge.js +2 -0
  141. package/package.json +105 -0
@@ -0,0 +1,1444 @@
1
+ import * as e from "@apollo/client/react";
2
+ import { gql as t } from "@apollo/client";
3
+ //#region src/generated/global-operations.ts
4
+ var n = {}, r = t`
5
+ mutation CreateReview($input: CreateReviewInput!) {
6
+ createReview(input: $input) {
7
+ id
8
+ rating
9
+ }
10
+ }
11
+ `;
12
+ function i(t) {
13
+ let i = {
14
+ ...n,
15
+ ...t
16
+ };
17
+ return e.useMutation(r, i);
18
+ }
19
+ var a = t`
20
+ mutation DeleteReview($id: ID!) {
21
+ deleteReview(id: $id)
22
+ }
23
+ `;
24
+ function o(t) {
25
+ let r = {
26
+ ...n,
27
+ ...t
28
+ };
29
+ return e.useMutation(a, r);
30
+ }
31
+ var s = t`
32
+ mutation MarkReviewHelpful($id: ID!) {
33
+ markReviewHelpful(id: $id) {
34
+ id
35
+ helpful
36
+ }
37
+ }
38
+ `;
39
+ function ee(t) {
40
+ let r = {
41
+ ...n,
42
+ ...t
43
+ };
44
+ return e.useMutation(s, r);
45
+ }
46
+ var c = t`
47
+ mutation UpdateReview($id: ID!, $input: UpdateReviewInput!) {
48
+ updateReview(id: $id, input: $input) {
49
+ id
50
+ rating
51
+ }
52
+ }
53
+ `;
54
+ function te(t) {
55
+ let r = {
56
+ ...n,
57
+ ...t
58
+ };
59
+ return e.useMutation(c, r);
60
+ }
61
+ var l = t`
62
+ mutation AddToCart($input: AddToCartInput!) {
63
+ addToCart(input: $input) {
64
+ cartItem {
65
+ id
66
+ productId
67
+ productName
68
+ quantity
69
+ unitPrice
70
+ subtotal
71
+ }
72
+ cart {
73
+ id
74
+ items {
75
+ id
76
+ productId
77
+ productName
78
+ productIcon
79
+ variantId
80
+ quantity
81
+ unitPrice
82
+ subtotal
83
+ itemType
84
+ }
85
+ subtotal
86
+ total
87
+ itemCount
88
+ }
89
+ errors {
90
+ field
91
+ message
92
+ code
93
+ }
94
+ }
95
+ }
96
+ `;
97
+ function ne(t) {
98
+ let r = {
99
+ ...n,
100
+ ...t
101
+ };
102
+ return e.useMutation(l, r);
103
+ }
104
+ var u = t`
105
+ mutation Checkout($input: CheckoutInput!) {
106
+ checkout(input: $input) {
107
+ success
108
+ order {
109
+ id
110
+ status
111
+ total
112
+ createdAt
113
+ }
114
+ errors {
115
+ field
116
+ message
117
+ code
118
+ }
119
+ }
120
+ }
121
+ `;
122
+ function re(t) {
123
+ let r = {
124
+ ...n,
125
+ ...t
126
+ };
127
+ return e.useMutation(u, r);
128
+ }
129
+ var d = t`
130
+ mutation ClearCart {
131
+ clearCart {
132
+ cart {
133
+ id
134
+ items {
135
+ id
136
+ }
137
+ subtotal
138
+ total
139
+ itemCount
140
+ }
141
+ errors {
142
+ field
143
+ message
144
+ code
145
+ }
146
+ }
147
+ }
148
+ `;
149
+ function ie(t) {
150
+ let r = {
151
+ ...n,
152
+ ...t
153
+ };
154
+ return e.useMutation(d, r);
155
+ }
156
+ var f = t`
157
+ mutation CreateProductForPublisher($input: CreateProductInput!) {
158
+ createProduct(input: $input) {
159
+ id
160
+ name
161
+ slug
162
+ status
163
+ manifestVersion
164
+ subType
165
+ }
166
+ }
167
+ `;
168
+ function ae(t) {
169
+ let r = {
170
+ ...n,
171
+ ...t
172
+ };
173
+ return e.useMutation(f, r);
174
+ }
175
+ var p = t`
176
+ mutation CreateStoreOrder($input: CreateStoreOrderInput!) {
177
+ createStoreOrder(input: $input) {
178
+ id
179
+ status
180
+ total
181
+ lineItems
182
+ createdAt
183
+ }
184
+ }
185
+ `;
186
+ function m(t) {
187
+ let r = {
188
+ ...n,
189
+ ...t
190
+ };
191
+ return e.useMutation(p, r);
192
+ }
193
+ var h = t`
194
+ mutation RemoveFromCart($cartItemId: String!) {
195
+ removeFromCart(cartItemId: $cartItemId) {
196
+ cart {
197
+ id
198
+ items {
199
+ id
200
+ productId
201
+ productName
202
+ productIcon
203
+ variantId
204
+ quantity
205
+ unitPrice
206
+ subtotal
207
+ itemType
208
+ }
209
+ subtotal
210
+ total
211
+ itemCount
212
+ }
213
+ errors {
214
+ field
215
+ message
216
+ code
217
+ }
218
+ }
219
+ }
220
+ `;
221
+ function g(t) {
222
+ let r = {
223
+ ...n,
224
+ ...t
225
+ };
226
+ return e.useMutation(h, r);
227
+ }
228
+ var _ = t`
229
+ mutation RecordAppUninstallation($workspaceId: String!, $productId: String!) {
230
+ recordAppUninstallation(workspaceId: $workspaceId, productId: $productId) {
231
+ id
232
+ status
233
+ uninstalledAt
234
+ }
235
+ }
236
+ `;
237
+ function oe(t) {
238
+ let r = {
239
+ ...n,
240
+ ...t
241
+ };
242
+ return e.useMutation(_, r);
243
+ }
244
+ var v = t`
245
+ mutation UpdateCartItem($input: UpdateCartItemInput!) {
246
+ updateCartItem(input: $input) {
247
+ cartItem {
248
+ id
249
+ productId
250
+ productName
251
+ quantity
252
+ unitPrice
253
+ subtotal
254
+ }
255
+ cart {
256
+ id
257
+ items {
258
+ id
259
+ productId
260
+ productName
261
+ productIcon
262
+ variantId
263
+ quantity
264
+ unitPrice
265
+ subtotal
266
+ itemType
267
+ }
268
+ subtotal
269
+ total
270
+ itemCount
271
+ }
272
+ errors {
273
+ field
274
+ message
275
+ code
276
+ }
277
+ }
278
+ }
279
+ `;
280
+ function se(t) {
281
+ let r = {
282
+ ...n,
283
+ ...t
284
+ };
285
+ return e.useMutation(v, r);
286
+ }
287
+ var y = t`
288
+ query Categories {
289
+ categories {
290
+ id
291
+ name
292
+ slug
293
+ description
294
+ }
295
+ }
296
+ `;
297
+ function ce(t) {
298
+ let r = {
299
+ ...n,
300
+ ...t
301
+ };
302
+ return e.useQuery(y, r);
303
+ }
304
+ function le(t) {
305
+ let r = {
306
+ ...n,
307
+ ...t
308
+ };
309
+ return e.useLazyQuery(y, r);
310
+ }
311
+ function ue(t) {
312
+ let r = t === e.skipToken ? t : {
313
+ ...n,
314
+ ...t
315
+ };
316
+ return e.useSuspenseQuery(y, r);
317
+ }
318
+ var b = t`
319
+ query CheckEntitlement($productId: String!) {
320
+ checkEntitlement(productId: $productId) {
321
+ id
322
+ productId
323
+ status
324
+ licenseKey
325
+ expiresAt
326
+ }
327
+ }
328
+ `;
329
+ function de(t) {
330
+ let r = {
331
+ ...n,
332
+ ...t
333
+ };
334
+ return e.useQuery(b, r);
335
+ }
336
+ function fe(t) {
337
+ let r = {
338
+ ...n,
339
+ ...t
340
+ };
341
+ return e.useLazyQuery(b, r);
342
+ }
343
+ function pe(t) {
344
+ let r = t === e.skipToken ? t : {
345
+ ...n,
346
+ ...t
347
+ };
348
+ return e.useSuspenseQuery(b, r);
349
+ }
350
+ var x = t`
351
+ query DeveloperEarnings($input: DeveloperEarningsInput) {
352
+ developerEarnings(input: $input) {
353
+ totalEarnings
354
+ monthlyEarnings
355
+ totalOrders
356
+ monthlyOrders
357
+ currency
358
+ }
359
+ }
360
+ `;
361
+ function me(t) {
362
+ let r = {
363
+ ...n,
364
+ ...t
365
+ };
366
+ return e.useQuery(x, r);
367
+ }
368
+ function he(t) {
369
+ let r = {
370
+ ...n,
371
+ ...t
372
+ };
373
+ return e.useLazyQuery(x, r);
374
+ }
375
+ function ge(t) {
376
+ let r = t === e.skipToken ? t : {
377
+ ...n,
378
+ ...t
379
+ };
380
+ return e.useSuspenseQuery(x, r);
381
+ }
382
+ var S = t`
383
+ query FeaturedProducts($limit: Int) {
384
+ featuredProducts(limit: $limit) {
385
+ id
386
+ name
387
+ slug
388
+ }
389
+ }
390
+ `;
391
+ function _e(t) {
392
+ let r = {
393
+ ...n,
394
+ ...t
395
+ };
396
+ return e.useQuery(S, r);
397
+ }
398
+ function ve(t) {
399
+ let r = {
400
+ ...n,
401
+ ...t
402
+ };
403
+ return e.useLazyQuery(S, r);
404
+ }
405
+ function ye(t) {
406
+ let r = t === e.skipToken ? t : {
407
+ ...n,
408
+ ...t
409
+ };
410
+ return e.useSuspenseQuery(S, r);
411
+ }
412
+ var C = t`
413
+ query FilterOptions($type: ProductType) {
414
+ filterOptions(type: $type) {
415
+ categories {
416
+ value
417
+ count
418
+ }
419
+ subTypes {
420
+ value
421
+ count
422
+ }
423
+ tags {
424
+ value
425
+ count
426
+ }
427
+ licenses {
428
+ value
429
+ count
430
+ }
431
+ compatibleProducts {
432
+ value
433
+ count
434
+ }
435
+ }
436
+ }
437
+ `;
438
+ function w(t) {
439
+ let r = {
440
+ ...n,
441
+ ...t
442
+ };
443
+ return e.useQuery(C, r);
444
+ }
445
+ function T(t) {
446
+ let r = {
447
+ ...n,
448
+ ...t
449
+ };
450
+ return e.useLazyQuery(C, r);
451
+ }
452
+ function E(t) {
453
+ let r = t === e.skipToken ? t : {
454
+ ...n,
455
+ ...t
456
+ };
457
+ return e.useSuspenseQuery(C, r);
458
+ }
459
+ var D = t`
460
+ query MyEntitlements($limit: Int, $offset: Int) {
461
+ myEntitlements(limit: $limit, offset: $offset) {
462
+ id
463
+ productId
464
+ status
465
+ licenseKey
466
+ expiresAt
467
+ }
468
+ }
469
+ `;
470
+ function O(t) {
471
+ let r = {
472
+ ...n,
473
+ ...t
474
+ };
475
+ return e.useQuery(D, r);
476
+ }
477
+ function k(t) {
478
+ let r = {
479
+ ...n,
480
+ ...t
481
+ };
482
+ return e.useLazyQuery(D, r);
483
+ }
484
+ function A(t) {
485
+ let r = t === e.skipToken ? t : {
486
+ ...n,
487
+ ...t
488
+ };
489
+ return e.useSuspenseQuery(D, r);
490
+ }
491
+ var j = t`
492
+ query MyPublishedProducts($limit: Int, $offset: Int) {
493
+ publishedProducts(limit: $limit, offset: $offset) {
494
+ id
495
+ name
496
+ status
497
+ reviewCount
498
+ }
499
+ }
500
+ `;
501
+ function M(t) {
502
+ let r = {
503
+ ...n,
504
+ ...t
505
+ };
506
+ return e.useQuery(j, r);
507
+ }
508
+ function N(t) {
509
+ let r = {
510
+ ...n,
511
+ ...t
512
+ };
513
+ return e.useLazyQuery(j, r);
514
+ }
515
+ function P(t) {
516
+ let r = t === e.skipToken ? t : {
517
+ ...n,
518
+ ...t
519
+ };
520
+ return e.useSuspenseQuery(j, r);
521
+ }
522
+ var F = t`
523
+ query ProductReviews($productId: String!, $status: ReviewStatus) {
524
+ productReviews(productId: $productId, status: $status) {
525
+ id
526
+ rating
527
+ title
528
+ comment
529
+ helpful
530
+ createdAt
531
+ }
532
+ }
533
+ `;
534
+ function be(t) {
535
+ let r = {
536
+ ...n,
537
+ ...t
538
+ };
539
+ return e.useQuery(F, r);
540
+ }
541
+ function xe(t) {
542
+ let r = {
543
+ ...n,
544
+ ...t
545
+ };
546
+ return e.useLazyQuery(F, r);
547
+ }
548
+ function Se(t) {
549
+ let r = t === e.skipToken ? t : {
550
+ ...n,
551
+ ...t
552
+ };
553
+ return e.useSuspenseQuery(F, r);
554
+ }
555
+ var I = t`
556
+ query SearchSuggestions($query: String!, $limit: Int) {
557
+ searchSuggestions(query: $query, limit: $limit) {
558
+ term
559
+ type
560
+ count
561
+ }
562
+ }
563
+ `;
564
+ function Ce(t) {
565
+ let r = {
566
+ ...n,
567
+ ...t
568
+ };
569
+ return e.useQuery(I, r);
570
+ }
571
+ function we(t) {
572
+ let r = {
573
+ ...n,
574
+ ...t
575
+ };
576
+ return e.useLazyQuery(I, r);
577
+ }
578
+ function Te(t) {
579
+ let r = t === e.skipToken ? t : {
580
+ ...n,
581
+ ...t
582
+ };
583
+ return e.useSuspenseQuery(I, r);
584
+ }
585
+ var L = t`
586
+ query TrendingSearches($limit: Int) {
587
+ trendingSearches(limit: $limit)
588
+ }
589
+ `;
590
+ function Ee(t) {
591
+ let r = {
592
+ ...n,
593
+ ...t
594
+ };
595
+ return e.useQuery(L, r);
596
+ }
597
+ function De(t) {
598
+ let r = {
599
+ ...n,
600
+ ...t
601
+ };
602
+ return e.useLazyQuery(L, r);
603
+ }
604
+ function Oe(t) {
605
+ let r = t === e.skipToken ? t : {
606
+ ...n,
607
+ ...t
608
+ };
609
+ return e.useSuspenseQuery(L, r);
610
+ }
611
+ var R = t`
612
+ query UserReviewForProduct($productId: String!) {
613
+ userReviewForProduct(productId: $productId) {
614
+ id
615
+ rating
616
+ title
617
+ comment
618
+ }
619
+ }
620
+ `;
621
+ function ke(t) {
622
+ let r = {
623
+ ...n,
624
+ ...t
625
+ };
626
+ return e.useQuery(R, r);
627
+ }
628
+ function Ae(t) {
629
+ let r = {
630
+ ...n,
631
+ ...t
632
+ };
633
+ return e.useLazyQuery(R, r);
634
+ }
635
+ function je(t) {
636
+ let r = t === e.skipToken ? t : {
637
+ ...n,
638
+ ...t
639
+ };
640
+ return e.useSuspenseQuery(R, r);
641
+ }
642
+ var z = t`
643
+ query WorkspaceStoreOrders($billingAccountId: ID!, $page: Int!, $limit: Int!) {
644
+ workspaceStoreOrders(
645
+ billingAccountId: $billingAccountId
646
+ page: $page
647
+ limit: $limit
648
+ ) {
649
+ total
650
+ orders {
651
+ id
652
+ status
653
+ createdAt
654
+ }
655
+ }
656
+ }
657
+ `;
658
+ function Me(t) {
659
+ let r = {
660
+ ...n,
661
+ ...t
662
+ };
663
+ return e.useQuery(z, r);
664
+ }
665
+ function Ne(t) {
666
+ let r = {
667
+ ...n,
668
+ ...t
669
+ };
670
+ return e.useLazyQuery(z, r);
671
+ }
672
+ function Pe(t) {
673
+ let r = t === e.skipToken ? t : {
674
+ ...n,
675
+ ...t
676
+ };
677
+ return e.useSuspenseQuery(z, r);
678
+ }
679
+ var B = t`
680
+ query BrowseStore($input: BrowseStoreInput!) {
681
+ browseStore(input: $input) {
682
+ products {
683
+ id
684
+ name
685
+ slug
686
+ type
687
+ nature
688
+ status
689
+ description
690
+ pricingModel
691
+ price
692
+ currency
693
+ icon
694
+ screenshots
695
+ rating
696
+ reviewCount
697
+ downloads
698
+ featured
699
+ category
700
+ tags
701
+ publishedAt
702
+ publisher {
703
+ id
704
+ name
705
+ isVerified
706
+ logoUrl
707
+ }
708
+ }
709
+ totalCount
710
+ hasMore
711
+ nextCursor
712
+ facets {
713
+ types {
714
+ value
715
+ count
716
+ }
717
+ subTypes {
718
+ value
719
+ count
720
+ }
721
+ categories {
722
+ value
723
+ count
724
+ }
725
+ pricingModels {
726
+ value
727
+ count
728
+ }
729
+ licenses {
730
+ value
731
+ count
732
+ }
733
+ priceRange {
734
+ min
735
+ max
736
+ }
737
+ }
738
+ }
739
+ }
740
+ `;
741
+ function Fe(t) {
742
+ let r = {
743
+ ...n,
744
+ ...t
745
+ };
746
+ return e.useQuery(B, r);
747
+ }
748
+ function Ie(t) {
749
+ let r = {
750
+ ...n,
751
+ ...t
752
+ };
753
+ return e.useLazyQuery(B, r);
754
+ }
755
+ function Le(t) {
756
+ let r = t === e.skipToken ? t : {
757
+ ...n,
758
+ ...t
759
+ };
760
+ return e.useSuspenseQuery(B, r);
761
+ }
762
+ var V = t`
763
+ query GetCart {
764
+ myCart {
765
+ id
766
+ userId
767
+ status
768
+ currency
769
+ items {
770
+ id
771
+ productId
772
+ productName
773
+ productIcon
774
+ product {
775
+ id
776
+ name
777
+ slug
778
+ icon
779
+ price
780
+ pricingModel
781
+ }
782
+ variantId
783
+ variantName
784
+ variant {
785
+ id
786
+ name
787
+ price
788
+ }
789
+ quantity
790
+ unitPrice
791
+ subtotal
792
+ itemType
793
+ }
794
+ subtotal
795
+ total
796
+ itemCount
797
+ createdAt
798
+ updatedAt
799
+ }
800
+ }
801
+ `;
802
+ function Re(t) {
803
+ let r = {
804
+ ...n,
805
+ ...t
806
+ };
807
+ return e.useQuery(V, r);
808
+ }
809
+ function ze(t) {
810
+ let r = {
811
+ ...n,
812
+ ...t
813
+ };
814
+ return e.useLazyQuery(V, r);
815
+ }
816
+ function Be(t) {
817
+ let r = t === e.skipToken ? t : {
818
+ ...n,
819
+ ...t
820
+ };
821
+ return e.useSuspenseQuery(V, r);
822
+ }
823
+ var H = t`
824
+ query GetMyStoreInstallations($limit: Int = 50, $offset: Int = 0, $filter: InstallationFilterInput) {
825
+ myStoreAppInstallations(limit: $limit, offset: $offset, filter: $filter) {
826
+ total
827
+ hasMore
828
+ items {
829
+ id
830
+ productId
831
+ workspaceId
832
+ organizationId
833
+ status
834
+ installedAt
835
+ version
836
+ updatedAt
837
+ workspaceName
838
+ workspaceType
839
+ installedById
840
+ }
841
+ }
842
+ }
843
+ `;
844
+ function Ve(t) {
845
+ let r = {
846
+ ...n,
847
+ ...t
848
+ };
849
+ return e.useQuery(H, r);
850
+ }
851
+ function He(t) {
852
+ let r = {
853
+ ...n,
854
+ ...t
855
+ };
856
+ return e.useLazyQuery(H, r);
857
+ }
858
+ function Ue(t) {
859
+ let r = t === e.skipToken ? t : {
860
+ ...n,
861
+ ...t
862
+ };
863
+ return e.useSuspenseQuery(H, r);
864
+ }
865
+ var U = t`
866
+ query GetMyOrders($limit: Int, $offset: Int, $status: OrderStatus) {
867
+ myOrders(limit: $limit, offset: $offset, status: $status) {
868
+ id
869
+ status
870
+ total
871
+ currency
872
+ lineItems
873
+ createdAt
874
+ updatedAt
875
+ }
876
+ }
877
+ `;
878
+ function We(t) {
879
+ let r = {
880
+ ...n,
881
+ ...t
882
+ };
883
+ return e.useQuery(U, r);
884
+ }
885
+ function Ge(t) {
886
+ let r = {
887
+ ...n,
888
+ ...t
889
+ };
890
+ return e.useLazyQuery(U, r);
891
+ }
892
+ function Ke(t) {
893
+ let r = t === e.skipToken ? t : {
894
+ ...n,
895
+ ...t
896
+ };
897
+ return e.useSuspenseQuery(U, r);
898
+ }
899
+ var W = t`
900
+ query GetProduct($id: ID!) {
901
+ product(id: $id) {
902
+ id
903
+ publisherId
904
+ name
905
+ slug
906
+ description
907
+ longDescription
908
+ icon
909
+ screenshots
910
+ videoUrls
911
+ subType
912
+ type
913
+ manifest
914
+ manifestVersion
915
+ requiredPermissions
916
+ compatibleProducts
917
+ category
918
+ tags
919
+ pricingModel
920
+ price
921
+ currency
922
+ variants {
923
+ id
924
+ name
925
+ sku
926
+ price
927
+ compareAtPrice
928
+ isActive
929
+ stockQuantity
930
+ options
931
+ imageUrls
932
+ displayOrder
933
+ weight
934
+ weightUnit
935
+ }
936
+ status
937
+ featured
938
+ documentationUrl
939
+ repositoryUrl
940
+ downloads
941
+ viewCount
942
+ rating
943
+ reviewCount
944
+ publisher {
945
+ id
946
+ name
947
+ websiteUrl
948
+ isVerified
949
+ email
950
+ bio
951
+ logoUrl
952
+ products {
953
+ id
954
+ }
955
+ totalSales
956
+ totalEarnings
957
+ }
958
+ reviews {
959
+ id
960
+ userId
961
+ rating
962
+ comment
963
+ status
964
+ helpful
965
+ createdAt
966
+ }
967
+ createdAt
968
+ updatedAt
969
+ publishedAt
970
+ }
971
+ }
972
+ `;
973
+ function qe(t) {
974
+ let r = {
975
+ ...n,
976
+ ...t
977
+ };
978
+ return e.useQuery(W, r);
979
+ }
980
+ function Je(t) {
981
+ let r = {
982
+ ...n,
983
+ ...t
984
+ };
985
+ return e.useLazyQuery(W, r);
986
+ }
987
+ function Ye(t) {
988
+ let r = t === e.skipToken ? t : {
989
+ ...n,
990
+ ...t
991
+ };
992
+ return e.useSuspenseQuery(W, r);
993
+ }
994
+ var G = t`
995
+ query GetProducts($filter: ProductFilterInput, $limit: Int = 20, $offset: Int = 0) {
996
+ products(filter: $filter, limit: $limit, offset: $offset) {
997
+ id
998
+ name
999
+ slug
1000
+ description
1001
+ icon
1002
+ screenshots
1003
+ subType
1004
+ type
1005
+ pricingModel
1006
+ price
1007
+ currency
1008
+ status
1009
+ featured
1010
+ downloads
1011
+ viewCount
1012
+ rating
1013
+ reviewCount
1014
+ publisher {
1015
+ id
1016
+ name
1017
+ isVerified
1018
+ }
1019
+ category
1020
+ tags
1021
+ createdAt
1022
+ publishedAt
1023
+ }
1024
+ }
1025
+ `;
1026
+ function Xe(t) {
1027
+ let r = {
1028
+ ...n,
1029
+ ...t
1030
+ };
1031
+ return e.useQuery(G, r);
1032
+ }
1033
+ function Ze(t) {
1034
+ let r = {
1035
+ ...n,
1036
+ ...t
1037
+ };
1038
+ return e.useLazyQuery(G, r);
1039
+ }
1040
+ function Qe(t) {
1041
+ let r = t === e.skipToken ? t : {
1042
+ ...n,
1043
+ ...t
1044
+ };
1045
+ return e.useSuspenseQuery(G, r);
1046
+ }
1047
+ var K = t`
1048
+ query GetStoreAppInstallation($id: ID!) {
1049
+ storeAppInstallation(id: $id) {
1050
+ id
1051
+ productId
1052
+ workspaceId
1053
+ workspaceName
1054
+ workspaceType
1055
+ organizationId
1056
+ installedById
1057
+ status
1058
+ version
1059
+ manifest
1060
+ metadata
1061
+ context
1062
+ installedAt
1063
+ updatedAt
1064
+ uninstalledAt
1065
+ uninstalledById
1066
+ }
1067
+ }
1068
+ `;
1069
+ function $e(t) {
1070
+ let r = {
1071
+ ...n,
1072
+ ...t
1073
+ };
1074
+ return e.useQuery(K, r);
1075
+ }
1076
+ function et(t) {
1077
+ let r = {
1078
+ ...n,
1079
+ ...t
1080
+ };
1081
+ return e.useLazyQuery(K, r);
1082
+ }
1083
+ function q(t) {
1084
+ let r = t === e.skipToken ? t : {
1085
+ ...n,
1086
+ ...t
1087
+ };
1088
+ return e.useSuspenseQuery(K, r);
1089
+ }
1090
+ var J = t`
1091
+ query HomeGroupedProducts($compatibleWith: String) {
1092
+ homeGroupedProducts(compatibleWith: $compatibleWith) {
1093
+ featured {
1094
+ id
1095
+ name
1096
+ slug
1097
+ type
1098
+ nature
1099
+ status
1100
+ description
1101
+ pricingModel
1102
+ price
1103
+ currency
1104
+ icon
1105
+ screenshots
1106
+ rating
1107
+ reviewCount
1108
+ downloads
1109
+ featured
1110
+ category
1111
+ tags
1112
+ publishedAt
1113
+ publisher {
1114
+ id
1115
+ name
1116
+ isVerified
1117
+ logoUrl
1118
+ }
1119
+ }
1120
+ mostDownloaded {
1121
+ id
1122
+ name
1123
+ slug
1124
+ type
1125
+ nature
1126
+ status
1127
+ description
1128
+ pricingModel
1129
+ price
1130
+ currency
1131
+ icon
1132
+ screenshots
1133
+ rating
1134
+ reviewCount
1135
+ downloads
1136
+ featured
1137
+ category
1138
+ tags
1139
+ publishedAt
1140
+ publisher {
1141
+ id
1142
+ name
1143
+ isVerified
1144
+ logoUrl
1145
+ }
1146
+ }
1147
+ recentlyAdded {
1148
+ id
1149
+ name
1150
+ slug
1151
+ type
1152
+ nature
1153
+ status
1154
+ description
1155
+ pricingModel
1156
+ price
1157
+ currency
1158
+ icon
1159
+ screenshots
1160
+ rating
1161
+ reviewCount
1162
+ downloads
1163
+ featured
1164
+ category
1165
+ tags
1166
+ publishedAt
1167
+ publisher {
1168
+ id
1169
+ name
1170
+ isVerified
1171
+ logoUrl
1172
+ }
1173
+ }
1174
+ freeItems {
1175
+ id
1176
+ name
1177
+ slug
1178
+ type
1179
+ nature
1180
+ status
1181
+ description
1182
+ pricingModel
1183
+ price
1184
+ currency
1185
+ icon
1186
+ screenshots
1187
+ rating
1188
+ reviewCount
1189
+ downloads
1190
+ featured
1191
+ category
1192
+ tags
1193
+ publishedAt
1194
+ publisher {
1195
+ id
1196
+ name
1197
+ isVerified
1198
+ logoUrl
1199
+ }
1200
+ }
1201
+ }
1202
+ }
1203
+ `;
1204
+ function tt(t) {
1205
+ let r = {
1206
+ ...n,
1207
+ ...t
1208
+ };
1209
+ return e.useQuery(J, r);
1210
+ }
1211
+ function nt(t) {
1212
+ let r = {
1213
+ ...n,
1214
+ ...t
1215
+ };
1216
+ return e.useLazyQuery(J, r);
1217
+ }
1218
+ function rt(t) {
1219
+ let r = t === e.skipToken ? t : {
1220
+ ...n,
1221
+ ...t
1222
+ };
1223
+ return e.useSuspenseQuery(J, r);
1224
+ }
1225
+ var Y = t`
1226
+ query StoreProductDetails($input: StoreProductDetailsInput!) {
1227
+ storeProductDetails(input: $input) {
1228
+ product {
1229
+ id
1230
+ name
1231
+ slug
1232
+ type
1233
+ nature
1234
+ status
1235
+ description
1236
+ longDescription
1237
+ pricingModel
1238
+ price
1239
+ currency
1240
+ icon
1241
+ screenshots
1242
+ videoUrls
1243
+ documentationUrl
1244
+ repositoryUrl
1245
+ rating
1246
+ reviewCount
1247
+ downloads
1248
+ viewCount
1249
+ featured
1250
+ category
1251
+ tags
1252
+ publishedAt
1253
+ createdAt
1254
+ updatedAt
1255
+ subType
1256
+ manifestVersion
1257
+ authorName
1258
+ license
1259
+ minPlatformVersion
1260
+ compatibleProducts
1261
+ requiredPermissions
1262
+ integrationDeps
1263
+ manifest
1264
+ publisher {
1265
+ id
1266
+ name
1267
+ isVerified
1268
+ logoUrl
1269
+ websiteUrl
1270
+ bio
1271
+ email
1272
+ }
1273
+ }
1274
+ publisher {
1275
+ id
1276
+ name
1277
+ isVerified
1278
+ logoUrl
1279
+ websiteUrl
1280
+ bio
1281
+ email
1282
+ }
1283
+ relatedProducts {
1284
+ id
1285
+ name
1286
+ slug
1287
+ type
1288
+ nature
1289
+ status
1290
+ description
1291
+ icon
1292
+ rating
1293
+ reviewCount
1294
+ downloads
1295
+ price
1296
+ pricingModel
1297
+ currency
1298
+ screenshots
1299
+ featured
1300
+ category
1301
+ tags
1302
+ publishedAt
1303
+ publisher {
1304
+ id
1305
+ name
1306
+ isVerified
1307
+ logoUrl
1308
+ }
1309
+ }
1310
+ reviews {
1311
+ id
1312
+ userId
1313
+ rating
1314
+ title
1315
+ comment
1316
+ status
1317
+ helpful
1318
+ createdAt
1319
+ updatedAt
1320
+ }
1321
+ reviewsCount
1322
+ userReview {
1323
+ id
1324
+ userId
1325
+ rating
1326
+ title
1327
+ comment
1328
+ status
1329
+ helpful
1330
+ createdAt
1331
+ updatedAt
1332
+ }
1333
+ isPurchased
1334
+ userEntitlement {
1335
+ id
1336
+ status
1337
+ licenseKey
1338
+ expiresAt
1339
+ }
1340
+ ratingDistribution {
1341
+ fiveStars
1342
+ fourStars
1343
+ threeStars
1344
+ twoStars
1345
+ oneStar
1346
+ }
1347
+ }
1348
+ }
1349
+ `;
1350
+ function it(t) {
1351
+ let r = {
1352
+ ...n,
1353
+ ...t
1354
+ };
1355
+ return e.useQuery(Y, r);
1356
+ }
1357
+ function at(t) {
1358
+ let r = {
1359
+ ...n,
1360
+ ...t
1361
+ };
1362
+ return e.useLazyQuery(Y, r);
1363
+ }
1364
+ function ot(t) {
1365
+ let r = t === e.skipToken ? t : {
1366
+ ...n,
1367
+ ...t
1368
+ };
1369
+ return e.useSuspenseQuery(Y, r);
1370
+ }
1371
+ var X = t`
1372
+ subscription InstallationStatusUpdated($workspaceId: ID!) {
1373
+ installationStatusUpdated(workspaceId: $workspaceId) {
1374
+ installationId
1375
+ productId
1376
+ workspaceId
1377
+ status
1378
+ updatedAt
1379
+ }
1380
+ }
1381
+ `;
1382
+ function st(t) {
1383
+ let r = {
1384
+ ...n,
1385
+ ...t
1386
+ };
1387
+ return e.useSubscription(X, r);
1388
+ }
1389
+ var Z = t`
1390
+ subscription LicenseStatusUpdated($workspaceId: ID) {
1391
+ licenseStatusUpdated(workspaceId: $workspaceId) {
1392
+ entitlementId
1393
+ productId
1394
+ status
1395
+ updatedAt
1396
+ }
1397
+ }
1398
+ `;
1399
+ function ct(t) {
1400
+ let r = {
1401
+ ...n,
1402
+ ...t
1403
+ };
1404
+ return e.useSubscription(Z, r);
1405
+ }
1406
+ var Q = t`
1407
+ subscription OrderStatusUpdated($orderId: ID, $workspaceId: ID) {
1408
+ orderStatusUpdated(orderId: $orderId, workspaceId: $workspaceId) {
1409
+ orderId
1410
+ workspaceId
1411
+ status
1412
+ updatedAt
1413
+ }
1414
+ }
1415
+ `;
1416
+ function lt(t) {
1417
+ let r = {
1418
+ ...n,
1419
+ ...t
1420
+ };
1421
+ return e.useSubscription(Q, r);
1422
+ }
1423
+ var $ = t`
1424
+ subscription SubmissionStatusUpdated($publisherId: ID!) {
1425
+ submissionStatusUpdated(publisherId: $publisherId) {
1426
+ submissionId
1427
+ productId
1428
+ publisherId
1429
+ status
1430
+ updatedAt
1431
+ }
1432
+ }
1433
+ `;
1434
+ function ut(t) {
1435
+ let r = {
1436
+ ...n,
1437
+ ...t
1438
+ };
1439
+ return e.useSubscription($, r);
1440
+ }
1441
+ //#endregion
1442
+ export { l as AddToCartDocument, B as BrowseStoreDocument, y as CategoriesDocument, b as CheckEntitlementDocument, u as CheckoutDocument, d as ClearCartDocument, f as CreateProductForPublisherDocument, r as CreateReviewDocument, p as CreateStoreOrderDocument, a as DeleteReviewDocument, x as DeveloperEarningsDocument, S as FeaturedProductsDocument, C as FilterOptionsDocument, V as GetCartDocument, U as GetMyOrdersDocument, H as GetMyStoreInstallationsDocument, W as GetProductDocument, G as GetProductsDocument, K as GetStoreAppInstallationDocument, J as HomeGroupedProductsDocument, X as InstallationStatusUpdatedDocument, Z as LicenseStatusUpdatedDocument, s as MarkReviewHelpfulDocument, D as MyEntitlementsDocument, j as MyPublishedProductsDocument, Q as OrderStatusUpdatedDocument, F as ProductReviewsDocument, _ as RecordAppUninstallationDocument, h as RemoveFromCartDocument, I as SearchSuggestionsDocument, Y as StoreProductDetailsDocument, $ as SubmissionStatusUpdatedDocument, L as TrendingSearchesDocument, v as UpdateCartItemDocument, c as UpdateReviewDocument, R as UserReviewForProductDocument, z as WorkspaceStoreOrdersDocument, ne as useAddToCartMutation, Ie as useBrowseStoreLazyQuery, Fe as useBrowseStoreQuery, Le as useBrowseStoreSuspenseQuery, le as useCategoriesLazyQuery, ce as useCategoriesQuery, ue as useCategoriesSuspenseQuery, fe as useCheckEntitlementLazyQuery, de as useCheckEntitlementQuery, pe as useCheckEntitlementSuspenseQuery, re as useCheckoutMutation, ie as useClearCartMutation, ae as useCreateProductForPublisherMutation, i as useCreateReviewMutation, m as useCreateStoreOrderMutation, o as useDeleteReviewMutation, he as useDeveloperEarningsLazyQuery, me as useDeveloperEarningsQuery, ge as useDeveloperEarningsSuspenseQuery, ve as useFeaturedProductsLazyQuery, _e as useFeaturedProductsQuery, ye as useFeaturedProductsSuspenseQuery, T as useFilterOptionsLazyQuery, w as useFilterOptionsQuery, E as useFilterOptionsSuspenseQuery, ze as useGetCartLazyQuery, Re as useGetCartQuery, Be as useGetCartSuspenseQuery, Ge as useGetMyOrdersLazyQuery, We as useGetMyOrdersQuery, Ke as useGetMyOrdersSuspenseQuery, He as useGetMyStoreInstallationsLazyQuery, Ve as useGetMyStoreInstallationsQuery, Ue as useGetMyStoreInstallationsSuspenseQuery, Je as useGetProductLazyQuery, qe as useGetProductQuery, Ye as useGetProductSuspenseQuery, Ze as useGetProductsLazyQuery, Xe as useGetProductsQuery, Qe as useGetProductsSuspenseQuery, et as useGetStoreAppInstallationLazyQuery, $e as useGetStoreAppInstallationQuery, q as useGetStoreAppInstallationSuspenseQuery, nt as useHomeGroupedProductsLazyQuery, tt as useHomeGroupedProductsQuery, rt as useHomeGroupedProductsSuspenseQuery, st as useInstallationStatusUpdatedSubscription, ct as useLicenseStatusUpdatedSubscription, ee as useMarkReviewHelpfulMutation, k as useMyEntitlementsLazyQuery, O as useMyEntitlementsQuery, A as useMyEntitlementsSuspenseQuery, N as useMyPublishedProductsLazyQuery, M as useMyPublishedProductsQuery, P as useMyPublishedProductsSuspenseQuery, lt as useOrderStatusUpdatedSubscription, xe as useProductReviewsLazyQuery, be as useProductReviewsQuery, Se as useProductReviewsSuspenseQuery, oe as useRecordAppUninstallationMutation, g as useRemoveFromCartMutation, we as useSearchSuggestionsLazyQuery, Ce as useSearchSuggestionsQuery, Te as useSearchSuggestionsSuspenseQuery, at as useStoreProductDetailsLazyQuery, it as useStoreProductDetailsQuery, ot as useStoreProductDetailsSuspenseQuery, ut as useSubmissionStatusUpdatedSubscription, De as useTrendingSearchesLazyQuery, Ee as useTrendingSearchesQuery, Oe as useTrendingSearchesSuspenseQuery, se as useUpdateCartItemMutation, te as useUpdateReviewMutation, Ae as useUserReviewForProductLazyQuery, ke as useUserReviewForProductQuery, je as useUserReviewForProductSuspenseQuery, Ne as useWorkspaceStoreOrdersLazyQuery, Me as useWorkspaceStoreOrdersQuery, Pe as useWorkspaceStoreOrdersSuspenseQuery };
1443
+
1444
+ //# sourceMappingURL=global-operations.js.map