@burdenoff/microfe-i18n 2026.1126.1 → 2026.1129.1

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 (92) hide show
  1. package/dist/generated/global-operations.d.ts +299 -0
  2. package/dist/generated/global-operations.js +135 -0
  3. package/dist/generated/global-types.d.ts +34021 -0
  4. package/dist/generated/global-types.js +11 -0
  5. package/dist/i18n/I18nRoutes.d.ts +11 -0
  6. package/dist/i18n/I18nRoutes.js +54 -41
  7. package/dist/i18n/v2/LanguagesPage.d.ts +3 -0
  8. package/dist/i18n/v2/LanguagesPage.js +82 -0
  9. package/dist/i18n/v2/LanguagesTab.d.ts +8 -0
  10. package/dist/i18n/v2/LanguagesTab.js +102 -0
  11. package/dist/i18n/v2/ProductsTab.d.ts +4 -0
  12. package/dist/i18n/v2/ProductsTab.js +60 -0
  13. package/dist/i18n/v2/ReviewRows.d.ts +9 -0
  14. package/dist/i18n/v2/ReviewRows.js +71 -0
  15. package/dist/i18n/v2/ReviewTab.d.ts +6 -0
  16. package/dist/i18n/v2/ReviewTab.js +121 -0
  17. package/dist/i18n/v2/ShareBar.d.ts +5 -0
  18. package/dist/i18n/v2/ShareBar.js +28 -0
  19. package/dist/i18n/v2/TabRedirect.d.ts +4 -0
  20. package/dist/i18n/v2/TabRedirect.js +14 -0
  21. package/dist/i18n/v2/__tests__/routeShapes.d.ts +7 -0
  22. package/dist/i18n/v2/formats.d.ts +3 -0
  23. package/dist/i18n/v2/formats.js +6 -0
  24. package/dist/i18n/v2/links.d.ts +13 -0
  25. package/dist/i18n/v2/links.js +16 -0
  26. package/dist/i18n/v2/model.d.ts +76 -0
  27. package/dist/i18n/v2/model.js +87 -0
  28. package/dist/i18n/v2/reviewMessages.d.ts +9 -0
  29. package/dist/i18n/v2/reviewMessages.js +40 -0
  30. package/dist/i18n/v2/useLanguagesData.d.ts +35 -0
  31. package/dist/i18n/v2/useLanguagesData.js +62 -0
  32. package/dist/i18n/v2/useReviewActions.d.ts +9 -0
  33. package/dist/i18n/v2/useReviewActions.js +56 -0
  34. package/dist/i18n/v2/useReviewQueue.d.ts +44 -0
  35. package/dist/i18n/v2/useReviewQueue.js +60 -0
  36. package/dist/node_modules/@apollo/client/react/context/ApolloContext.js +15 -0
  37. package/dist/node_modules/@apollo/client/react/hooks/constants.js +3 -0
  38. package/dist/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js +11 -0
  39. package/dist/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js +5 -0
  40. package/dist/node_modules/@apollo/client/react/hooks/internal/wrapHook.js +13 -0
  41. package/dist/node_modules/@apollo/client/react/hooks/useApolloClient.js +9 -0
  42. package/dist/node_modules/@apollo/client/react/hooks/useMutation.js +96 -0
  43. package/dist/node_modules/@apollo/client/react/hooks/useQuery.js +125 -0
  44. package/dist/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js +34 -0
  45. package/dist/node_modules/@apollo/client/react/internal/index.js +3 -0
  46. package/dist/node_modules/@apollo/client/utilities/internal/canUseDOM.js +4 -0
  47. package/dist/node_modules/@apollo/client/utilities/internal/compact.js +11 -0
  48. package/dist/node_modules/@apollo/client/utilities/internal/constants.js +3 -0
  49. package/dist/node_modules/@apollo/client/utilities/internal/deepFreeze.js +14 -0
  50. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +6 -0
  51. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +7 -0
  52. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +5 -0
  53. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +7 -0
  54. package/dist/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js +6 -0
  55. package/dist/node_modules/@apollo/client/utilities/internal/mergeOptions.js +9 -0
  56. package/dist/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js +5 -0
  57. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +7 -0
  58. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +54 -0
  59. package/dist/node_modules/@apollo/client/version.js +3 -0
  60. package/dist/node_modules/@wry/equality/lib/index.js +86 -0
  61. package/dist/node_modules/lucide-react/dist/esm/icons/check-check.js +10 -0
  62. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +7 -0
  63. package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +10 -0
  64. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +18 -0
  65. package/dist/node_modules/rxjs/dist/esm5/internal/Scheduler.js +11 -0
  66. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +114 -0
  67. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +94 -0
  68. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +9 -0
  69. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +43 -0
  70. package/dist/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js +22 -0
  71. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js +13 -0
  72. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js +19 -0
  73. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js +24 -0
  74. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js +43 -0
  75. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js +27 -0
  76. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js +5 -0
  77. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js +8 -0
  78. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js +14 -0
  79. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js +13 -0
  80. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +13 -0
  81. package/dist/node_modules/rxjs/dist/esm5/internal/util/Immediate.js +17 -0
  82. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +10 -0
  83. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +8 -0
  84. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +8 -0
  85. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +5 -0
  86. package/dist/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js +9 -0
  87. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +5 -0
  88. package/dist/node_modules/rxjs/dist/esm5/internal/util/lift.js +18 -0
  89. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +3 -0
  90. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +11 -0
  91. package/dist/node_modules/tslib/tslib.es6.js +49 -0
  92. package/package.json +12 -5
@@ -0,0 +1,299 @@
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends {
3
+ [key: string]: unknown;
4
+ }> = {
5
+ [K in keyof T]: T[K];
6
+ };
7
+ /** Internal type. DO NOT USE DIRECTLY. */
8
+ export type Incremental<T> = T | {
9
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
10
+ };
11
+ import * as Types from './global-types';
12
+ import * as Apollo from '@apollo/client';
13
+ import * as ApolloReactHooks from '@apollo/client/react';
14
+ export type I18nProductFilterInput = {
15
+ search?: string | null | undefined;
16
+ status?: I18nProductStatus | null | undefined;
17
+ };
18
+ export type I18nProductStatus = 'ACTIVE' | 'ARCHIVED' | 'DEPRECATED';
19
+ export type LanguageDirection = 'LTR' | 'RTL';
20
+ export type LanguageFilterInput = {
21
+ direction?: LanguageDirection | null | undefined;
22
+ search?: string | null | undefined;
23
+ status?: LanguageStatus | null | undefined;
24
+ };
25
+ export type LanguageStatus = 'ACTIVE' | 'DEPRECATED' | 'DRAFT';
26
+ export type TranslationFilterInput = {
27
+ keyId?: string | null | undefined;
28
+ languageCode?: string | null | undefined;
29
+ search?: string | null | undefined;
30
+ status?: TranslationStatus | null | undefined;
31
+ tenantId?: string | null | undefined;
32
+ };
33
+ export type TranslationStatus = 'APPROVED' | 'DRAFT' | 'PENDING_REVIEW' | 'PUBLISHED';
34
+ export type GetI18nCoverageQueryVariables = Exact<{
35
+ productId: string;
36
+ }>;
37
+ export type GetI18nCoverageQuery = {
38
+ translationCoverage: Array<{
39
+ languageCode: string;
40
+ coverage: number;
41
+ totalKeys: number;
42
+ translatedKeys: number;
43
+ missingCount: number;
44
+ pendingReviewKeys: number;
45
+ }>;
46
+ };
47
+ export type GetI18nLanguagesQueryVariables = Exact<{
48
+ filter?: Types.LanguageFilterInput | null | undefined;
49
+ limit?: number | null | undefined;
50
+ offset?: number | null | undefined;
51
+ }>;
52
+ export type GetI18nLanguagesQuery = {
53
+ languages: {
54
+ total: number;
55
+ hasMore: boolean;
56
+ items: Array<{
57
+ id: string;
58
+ code: string;
59
+ name: string;
60
+ nativeName: string;
61
+ direction: Types.LanguageDirection;
62
+ status: Types.LanguageStatus;
63
+ isDefault: boolean;
64
+ fallbackCode: string | null;
65
+ region: string | null;
66
+ dateFormat: string;
67
+ timeFormat: string;
68
+ updatedAt: string;
69
+ }>;
70
+ };
71
+ };
72
+ export type GetI18nProductsQueryVariables = Exact<{
73
+ filter?: Types.I18nProductFilterInput | null | undefined;
74
+ limit?: number | null | undefined;
75
+ offset?: number | null | undefined;
76
+ }>;
77
+ export type GetI18nProductsQuery = {
78
+ i18nProducts: {
79
+ total: number;
80
+ hasMore: boolean;
81
+ items: Array<{
82
+ id: string;
83
+ name: string;
84
+ displayName: string;
85
+ description: string | null;
86
+ status: Types.I18nProductStatus;
87
+ }>;
88
+ };
89
+ };
90
+ export type GetI18nTranslationsByStatusQueryVariables = Exact<{
91
+ filter?: Types.TranslationFilterInput | null | undefined;
92
+ limit?: number | null | undefined;
93
+ offset?: number | null | undefined;
94
+ }>;
95
+ export type GetI18nTranslationsByStatusQuery = {
96
+ translations: {
97
+ total: number;
98
+ hasMore: boolean;
99
+ items: Array<{
100
+ id: string;
101
+ value: string;
102
+ status: Types.TranslationStatus;
103
+ languageCode: string;
104
+ updatedAt: string;
105
+ key: {
106
+ id: string;
107
+ key: string;
108
+ defaultValue: string | null;
109
+ description: string | null;
110
+ product: {
111
+ id: string;
112
+ displayName: string;
113
+ };
114
+ namespace: {
115
+ id: string;
116
+ displayName: string;
117
+ } | null;
118
+ };
119
+ }>;
120
+ };
121
+ };
122
+ export type ApproveI18nTranslationMutationVariables = Exact<{
123
+ id: string | number;
124
+ }>;
125
+ export type ApproveI18nTranslationMutation = {
126
+ approveTranslation: {
127
+ id: string;
128
+ status: Types.TranslationStatus;
129
+ reviewedAt: string | null;
130
+ };
131
+ };
132
+ export type PublishI18nTranslationMutationVariables = Exact<{
133
+ id: string | number;
134
+ }>;
135
+ export type PublishI18nTranslationMutation = {
136
+ publishTranslation: {
137
+ id: string;
138
+ status: Types.TranslationStatus;
139
+ publishedAt: string | null;
140
+ };
141
+ };
142
+ export declare const GetI18nCoverageDocument: Apollo.DocumentNode;
143
+ /**
144
+ * __useGetI18nCoverageQuery__
145
+ *
146
+ * To run a query within a React component, call `useGetI18nCoverageQuery` and pass it any options that fit your needs.
147
+ * When your component renders, `useGetI18nCoverageQuery` returns an object from Apollo Client that contains loading, error, and data properties
148
+ * you can use to render your UI.
149
+ *
150
+ * @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;
151
+ *
152
+ * @example
153
+ * const { data, loading, error } = useGetI18nCoverageQuery({
154
+ * variables: {
155
+ * productId: // value for 'productId'
156
+ * },
157
+ * });
158
+ */
159
+ export declare function useGetI18nCoverageQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetI18nCoverageQuery, Types.GetI18nCoverageQueryVariables> & ({
160
+ variables: Types.GetI18nCoverageQueryVariables;
161
+ skip?: boolean;
162
+ } | {
163
+ skip: boolean;
164
+ })): ApolloReactHooks.useQuery.Result<Types.GetI18nCoverageQuery, Types.GetI18nCoverageQueryVariables, "empty" | "complete" | "streaming", Types.GetI18nCoverageQueryVariables, undefined>;
165
+ export declare function useGetI18nCoverageLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetI18nCoverageQuery, Types.GetI18nCoverageQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetI18nCoverageQuery, Types.GetI18nCoverageQueryVariables, "empty" | "complete" | "streaming", undefined>;
166
+ export declare function useGetI18nCoverageSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetI18nCoverageQuery, Types.GetI18nCoverageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetI18nCoverageQuery, Types.GetI18nCoverageQueryVariables>;
167
+ export declare function useGetI18nCoverageSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetI18nCoverageQuery, Types.GetI18nCoverageQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetI18nCoverageQuery | undefined, Types.GetI18nCoverageQueryVariables>;
168
+ export type GetI18nCoverageQueryHookResult = ReturnType<typeof useGetI18nCoverageQuery>;
169
+ export type GetI18nCoverageLazyQueryHookResult = ReturnType<typeof useGetI18nCoverageLazyQuery>;
170
+ export type GetI18nCoverageSuspenseQueryHookResult = ReturnType<typeof useGetI18nCoverageSuspenseQuery>;
171
+ export type GetI18nCoverageQueryResult = Apollo.QueryResult<Types.GetI18nCoverageQuery, Types.GetI18nCoverageQueryVariables>;
172
+ export declare const GetI18nLanguagesDocument: Apollo.DocumentNode;
173
+ /**
174
+ * __useGetI18nLanguagesQuery__
175
+ *
176
+ * To run a query within a React component, call `useGetI18nLanguagesQuery` and pass it any options that fit your needs.
177
+ * When your component renders, `useGetI18nLanguagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
178
+ * you can use to render your UI.
179
+ *
180
+ * @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;
181
+ *
182
+ * @example
183
+ * const { data, loading, error } = useGetI18nLanguagesQuery({
184
+ * variables: {
185
+ * filter: // value for 'filter'
186
+ * limit: // value for 'limit'
187
+ * offset: // value for 'offset'
188
+ * },
189
+ * });
190
+ */
191
+ export declare function useGetI18nLanguagesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetI18nLanguagesQuery, Types.GetI18nLanguagesQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetI18nLanguagesQuery, Types.GetI18nLanguagesQueryVariables, "empty" | "complete" | "streaming", Types.GetI18nLanguagesQueryVariables, undefined>;
192
+ export declare function useGetI18nLanguagesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetI18nLanguagesQuery, Types.GetI18nLanguagesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetI18nLanguagesQuery, Types.GetI18nLanguagesQueryVariables, "empty" | "complete" | "streaming", undefined>;
193
+ export declare function useGetI18nLanguagesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetI18nLanguagesQuery, Types.GetI18nLanguagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetI18nLanguagesQuery, Types.GetI18nLanguagesQueryVariables>;
194
+ export declare function useGetI18nLanguagesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetI18nLanguagesQuery, Types.GetI18nLanguagesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetI18nLanguagesQuery | undefined, Types.GetI18nLanguagesQueryVariables>;
195
+ export type GetI18nLanguagesQueryHookResult = ReturnType<typeof useGetI18nLanguagesQuery>;
196
+ export type GetI18nLanguagesLazyQueryHookResult = ReturnType<typeof useGetI18nLanguagesLazyQuery>;
197
+ export type GetI18nLanguagesSuspenseQueryHookResult = ReturnType<typeof useGetI18nLanguagesSuspenseQuery>;
198
+ export type GetI18nLanguagesQueryResult = Apollo.QueryResult<Types.GetI18nLanguagesQuery, Types.GetI18nLanguagesQueryVariables>;
199
+ export declare const GetI18nProductsDocument: Apollo.DocumentNode;
200
+ /**
201
+ * __useGetI18nProductsQuery__
202
+ *
203
+ * To run a query within a React component, call `useGetI18nProductsQuery` and pass it any options that fit your needs.
204
+ * When your component renders, `useGetI18nProductsQuery` returns an object from Apollo Client that contains loading, error, and data properties
205
+ * you can use to render your UI.
206
+ *
207
+ * @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;
208
+ *
209
+ * @example
210
+ * const { data, loading, error } = useGetI18nProductsQuery({
211
+ * variables: {
212
+ * filter: // value for 'filter'
213
+ * limit: // value for 'limit'
214
+ * offset: // value for 'offset'
215
+ * },
216
+ * });
217
+ */
218
+ export declare function useGetI18nProductsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetI18nProductsQuery, Types.GetI18nProductsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetI18nProductsQuery, Types.GetI18nProductsQueryVariables, "empty" | "complete" | "streaming", Types.GetI18nProductsQueryVariables, undefined>;
219
+ export declare function useGetI18nProductsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetI18nProductsQuery, Types.GetI18nProductsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetI18nProductsQuery, Types.GetI18nProductsQueryVariables, "empty" | "complete" | "streaming", undefined>;
220
+ export declare function useGetI18nProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetI18nProductsQuery, Types.GetI18nProductsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetI18nProductsQuery, Types.GetI18nProductsQueryVariables>;
221
+ export declare function useGetI18nProductsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetI18nProductsQuery, Types.GetI18nProductsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetI18nProductsQuery | undefined, Types.GetI18nProductsQueryVariables>;
222
+ export type GetI18nProductsQueryHookResult = ReturnType<typeof useGetI18nProductsQuery>;
223
+ export type GetI18nProductsLazyQueryHookResult = ReturnType<typeof useGetI18nProductsLazyQuery>;
224
+ export type GetI18nProductsSuspenseQueryHookResult = ReturnType<typeof useGetI18nProductsSuspenseQuery>;
225
+ export type GetI18nProductsQueryResult = Apollo.QueryResult<Types.GetI18nProductsQuery, Types.GetI18nProductsQueryVariables>;
226
+ export declare const GetI18nTranslationsByStatusDocument: Apollo.DocumentNode;
227
+ /**
228
+ * __useGetI18nTranslationsByStatusQuery__
229
+ *
230
+ * To run a query within a React component, call `useGetI18nTranslationsByStatusQuery` and pass it any options that fit your needs.
231
+ * When your component renders, `useGetI18nTranslationsByStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
232
+ * you can use to render your UI.
233
+ *
234
+ * @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;
235
+ *
236
+ * @example
237
+ * const { data, loading, error } = useGetI18nTranslationsByStatusQuery({
238
+ * variables: {
239
+ * filter: // value for 'filter'
240
+ * limit: // value for 'limit'
241
+ * offset: // value for 'offset'
242
+ * },
243
+ * });
244
+ */
245
+ export declare function useGetI18nTranslationsByStatusQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.GetI18nTranslationsByStatusQuery, Types.GetI18nTranslationsByStatusQueryVariables>): ApolloReactHooks.useQuery.Result<Types.GetI18nTranslationsByStatusQuery, Types.GetI18nTranslationsByStatusQueryVariables, "empty" | "complete" | "streaming", Types.GetI18nTranslationsByStatusQueryVariables, undefined>;
246
+ export declare function useGetI18nTranslationsByStatusLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetI18nTranslationsByStatusQuery, Types.GetI18nTranslationsByStatusQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetI18nTranslationsByStatusQuery, Types.GetI18nTranslationsByStatusQueryVariables, "empty" | "complete" | "streaming", undefined>;
247
+ export declare function useGetI18nTranslationsByStatusSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetI18nTranslationsByStatusQuery, Types.GetI18nTranslationsByStatusQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetI18nTranslationsByStatusQuery, Types.GetI18nTranslationsByStatusQueryVariables>;
248
+ export declare function useGetI18nTranslationsByStatusSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetI18nTranslationsByStatusQuery, Types.GetI18nTranslationsByStatusQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetI18nTranslationsByStatusQuery | undefined, Types.GetI18nTranslationsByStatusQueryVariables>;
249
+ export type GetI18nTranslationsByStatusQueryHookResult = ReturnType<typeof useGetI18nTranslationsByStatusQuery>;
250
+ export type GetI18nTranslationsByStatusLazyQueryHookResult = ReturnType<typeof useGetI18nTranslationsByStatusLazyQuery>;
251
+ export type GetI18nTranslationsByStatusSuspenseQueryHookResult = ReturnType<typeof useGetI18nTranslationsByStatusSuspenseQuery>;
252
+ export type GetI18nTranslationsByStatusQueryResult = Apollo.QueryResult<Types.GetI18nTranslationsByStatusQuery, Types.GetI18nTranslationsByStatusQueryVariables>;
253
+ export declare const ApproveI18nTranslationDocument: Apollo.DocumentNode;
254
+ export type ApproveI18nTranslationMutationFn = Apollo.MutationFunction<Types.ApproveI18nTranslationMutation, Types.ApproveI18nTranslationMutationVariables>;
255
+ /**
256
+ * __useApproveI18nTranslationMutation__
257
+ *
258
+ * To run a mutation, you first call `useApproveI18nTranslationMutation` within a React component and pass it any options that fit your needs.
259
+ * When your component renders, `useApproveI18nTranslationMutation` returns a tuple that includes:
260
+ * - A mutate function that you can call at any time to execute the mutation
261
+ * - An object with fields that represent the current status of the mutation's execution
262
+ *
263
+ * @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;
264
+ *
265
+ * @example
266
+ * const [approveI18nTranslationMutation, { data, loading, error }] = useApproveI18nTranslationMutation({
267
+ * variables: {
268
+ * id: // value for 'id'
269
+ * },
270
+ * });
271
+ */
272
+ export declare function useApproveI18nTranslationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ApproveI18nTranslationMutation, Types.ApproveI18nTranslationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ApproveI18nTranslationMutation, any, Apollo.ApolloCache, undefined>;
273
+ export type ApproveI18nTranslationMutationHookResult = ReturnType<typeof useApproveI18nTranslationMutation>;
274
+ export type ApproveI18nTranslationMutationResult = Apollo.MutationResult<Types.ApproveI18nTranslationMutation>;
275
+ export type ApproveI18nTranslationMutationOptions = Apollo.BaseMutationOptions<Types.ApproveI18nTranslationMutation, Types.ApproveI18nTranslationMutationVariables>;
276
+ export declare const PublishI18nTranslationDocument: Apollo.DocumentNode;
277
+ export type PublishI18nTranslationMutationFn = Apollo.MutationFunction<Types.PublishI18nTranslationMutation, Types.PublishI18nTranslationMutationVariables>;
278
+ /**
279
+ * __usePublishI18nTranslationMutation__
280
+ *
281
+ * To run a mutation, you first call `usePublishI18nTranslationMutation` within a React component and pass it any options that fit your needs.
282
+ * When your component renders, `usePublishI18nTranslationMutation` returns a tuple that includes:
283
+ * - A mutate function that you can call at any time to execute the mutation
284
+ * - An object with fields that represent the current status of the mutation's execution
285
+ *
286
+ * @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;
287
+ *
288
+ * @example
289
+ * const [publishI18nTranslationMutation, { data, loading, error }] = usePublishI18nTranslationMutation({
290
+ * variables: {
291
+ * id: // value for 'id'
292
+ * },
293
+ * });
294
+ */
295
+ export declare function usePublishI18nTranslationMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.PublishI18nTranslationMutation, Types.PublishI18nTranslationMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.PublishI18nTranslationMutation, any, Apollo.ApolloCache, undefined>;
296
+ export type PublishI18nTranslationMutationHookResult = ReturnType<typeof usePublishI18nTranslationMutation>;
297
+ export type PublishI18nTranslationMutationResult = Apollo.MutationResult<Types.PublishI18nTranslationMutation>;
298
+ export type PublishI18nTranslationMutationOptions = Apollo.BaseMutationOptions<Types.PublishI18nTranslationMutation, Types.PublishI18nTranslationMutationVariables>;
299
+ export {};
@@ -0,0 +1,135 @@
1
+ import { useMutation as e } from "../node_modules/@apollo/client/react/hooks/useMutation.js";
2
+ import { useQuery as t } from "../node_modules/@apollo/client/react/hooks/useQuery.js";
3
+ import { gql as n } from "@apollo/client";
4
+ // src/generated/global-operations.ts
5
+ var r = {}, i = n`
6
+ query GetI18nCoverage($productId: String!) {
7
+ translationCoverage(productId: $productId) {
8
+ languageCode
9
+ coverage
10
+ totalKeys
11
+ translatedKeys
12
+ missingCount
13
+ pendingReviewKeys
14
+ }
15
+ }
16
+ `, a = n`
17
+ query GetI18nLanguages($filter: LanguageFilterInput, $limit: Int = 100, $offset: Int = 0) {
18
+ languages(filter: $filter, limit: $limit, offset: $offset) {
19
+ items {
20
+ id
21
+ code
22
+ name
23
+ nativeName
24
+ direction
25
+ status
26
+ isDefault
27
+ fallbackCode
28
+ region
29
+ dateFormat
30
+ timeFormat
31
+ updatedAt
32
+ }
33
+ total
34
+ hasMore
35
+ }
36
+ }
37
+ `;
38
+ function o(e) {
39
+ let n = {
40
+ ...r,
41
+ ...e
42
+ };
43
+ return t(a, n);
44
+ }
45
+ var s = n`
46
+ query GetI18nProducts($filter: I18nProductFilterInput, $limit: Int = 100, $offset: Int = 0) {
47
+ i18nProducts(filter: $filter, limit: $limit, offset: $offset) {
48
+ items {
49
+ id
50
+ name
51
+ displayName
52
+ description
53
+ status
54
+ }
55
+ total
56
+ hasMore
57
+ }
58
+ }
59
+ `;
60
+ function c(e) {
61
+ let n = {
62
+ ...r,
63
+ ...e
64
+ };
65
+ return t(s, n);
66
+ }
67
+ var l = n`
68
+ query GetI18nTranslationsByStatus($filter: TranslationFilterInput, $limit: Int = 50, $offset: Int = 0) {
69
+ translations(filter: $filter, limit: $limit, offset: $offset) {
70
+ items {
71
+ id
72
+ value
73
+ status
74
+ languageCode
75
+ updatedAt
76
+ key {
77
+ id
78
+ key
79
+ defaultValue
80
+ description
81
+ product {
82
+ id
83
+ displayName
84
+ }
85
+ namespace {
86
+ id
87
+ displayName
88
+ }
89
+ }
90
+ }
91
+ total
92
+ hasMore
93
+ }
94
+ }
95
+ `;
96
+ function u(e) {
97
+ let n = {
98
+ ...r,
99
+ ...e
100
+ };
101
+ return t(l, n);
102
+ }
103
+ var d = n`
104
+ mutation ApproveI18nTranslation($id: ID!) {
105
+ approveTranslation(id: $id) {
106
+ id
107
+ status
108
+ reviewedAt
109
+ }
110
+ }
111
+ `;
112
+ function f(t) {
113
+ let n = {
114
+ ...r,
115
+ ...t
116
+ };
117
+ return e(d, n);
118
+ }
119
+ var p = n`
120
+ mutation PublishI18nTranslation($id: ID!) {
121
+ publishTranslation(id: $id) {
122
+ id
123
+ status
124
+ publishedAt
125
+ }
126
+ }
127
+ `;
128
+ function m(t) {
129
+ let n = {
130
+ ...r,
131
+ ...t
132
+ };
133
+ return e(p, n);
134
+ }
135
+ export { d as ApproveI18nTranslationDocument, i as GetI18nCoverageDocument, a as GetI18nLanguagesDocument, s as GetI18nProductsDocument, l as GetI18nTranslationsByStatusDocument, p as PublishI18nTranslationDocument, f as useApproveI18nTranslationMutation, o as useGetI18nLanguagesQuery, c as useGetI18nProductsQuery, u as useGetI18nTranslationsByStatusQuery, m as usePublishI18nTranslationMutation };