@medusajs/types 1.12.0-snapshot-20240401141452 → 1.12.0-snapshot-20240403102614

Sign up to get free protection for your applications and to get access to all the features.
@@ -168,6 +168,54 @@ export type ProjectConfigOptions = {
168
168
  * ```
169
169
  */
170
170
  admin_cors?: string;
171
+ /**
172
+ * The Medusa backend’s API Routes are protected by Cross-Origin Resource Sharing (CORS). So, only allowed URLs or URLs matching a specified pattern can send requests to the backend’s API Routes.
173
+ *
174
+ * `auth_cors` is a string used to specify the accepted URLs or patterns for API Routes starting with `/auth`. It can either be one accepted origin, or a comma-separated list of accepted origins.
175
+ *
176
+ * Every origin in that list must either be:
177
+ *
178
+ * 1. A URL. For example, `http://localhost:7001`. The URL must not end with a backslash;
179
+ * 2. Or a regular expression pattern that can match more than one origin. For example, `.example.com`. The regex pattern that the backend tests for is `^([\/~@;%#'])(.*?)\1([gimsuy]*)$`.
180
+ *
181
+ * @example
182
+ * Some example values of common use cases:
183
+ *
184
+ * ```bash
185
+ * # Allow different ports locally starting with 700
186
+ * AUTH_CORS=/http:\/\/localhost:700\d+$/
187
+ *
188
+ * # Allow any origin ending with vercel.app. For example, admin.vercel.app
189
+ * AUTH_CORS=/vercel\.app$/
190
+ *
191
+ * # Allow all HTTP requests
192
+ * AUTH_CORS=/http:\/\/.+/
193
+ * ```
194
+ *
195
+ * Then, set the configuration in `medusa-config.js`:
196
+ *
197
+ * ```js title="medusa-config.js"
198
+ * module.exports = {
199
+ * projectConfig: {
200
+ * auth_cors: process.env.AUTH_CORS,
201
+ * // ...
202
+ * },
203
+ * // ...
204
+ * }
205
+ * ```
206
+ *
207
+ * If you’re adding the value directly within `medusa-config.js`, make sure to add an extra escaping `/` for every backslash in the pattern. For example:
208
+ *
209
+ * ```js title="medusa-config.js"
210
+ * module.exports = {
211
+ * projectConfig: {
212
+ * auth_cors: "/http:\\/\\/localhost:700\\d+$/",
213
+ * // ...
214
+ * },
215
+ * // ...
216
+ * }
217
+ * ```
218
+ */
171
219
  auth_cors?: string;
172
220
  /**
173
221
  * A random string used to create cookie tokens. Although this configuration option is not required, it’s highly recommended to set it for better security.
@@ -1 +1 @@
1
- {"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC5B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;;;;;;;;;;;;;OA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O,EAAE,MAAM,CAAA;QACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KACjC,GACD,MAAM,CACT,EAAE,CAAA;IAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,OAAO,CAAC,EAAE,MAAM,CACd,MAAM,EACN,OAAO,GAAG,OAAO,CAAC,yBAAyB,GAAG,yBAAyB,CAAC,CACzE,CAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC,CAAA;CAC/C,CAAA"}
@@ -6,19 +6,31 @@ import { BaseFilterable } from "../../dal";
6
6
  */
7
7
  export interface CurrencyDTO {
8
8
  /**
9
- * The ISO 3 code of the currency.
9
+ * The ISO 3 character code of the currency.
10
+ *
11
+ * @example
12
+ * usd
10
13
  */
11
14
  code: string;
12
15
  /**
13
16
  * The symbol of the currency.
17
+ *
18
+ * @example
19
+ * $
14
20
  */
15
21
  symbol: string;
16
22
  /**
17
23
  * The symbol of the currecy in its native form. This is typically the symbol used when displaying a price.
24
+ *
25
+ * @example
26
+ * $
18
27
  */
19
28
  symbol_native: string;
20
29
  /**
21
30
  * The name of the currency.
31
+ *
32
+ * @example
33
+ * US Dollar
22
34
  */
23
35
  name: string;
24
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../../src/currency/common/currency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,uBAAuB,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
1
+ {"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../../src/currency/common/currency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,uBAAuB,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
@@ -3,7 +3,7 @@ import { IModuleService } from "../modules-sdk";
3
3
  import { Context } from "../shared-context";
4
4
  import { FilterableCurrencyProps, CurrencyDTO } from "./common";
5
5
  /**
6
- * The main service interface for the currency module.
6
+ * The main service interface for the Currency Module.
7
7
  */
8
8
  export interface ICurrencyModuleService extends IModuleService {
9
9
  /**
@@ -17,44 +17,7 @@ export interface ICurrencyModuleService extends IModuleService {
17
17
  * @returns {Promise<CurrencyDTO>} The retrieved currency.
18
18
  *
19
19
  * @example
20
- * A simple example that retrieves a currency by its code:
21
- *
22
- * ```ts
23
- * import {
24
- * initialize as initializeCurrencyModule,
25
- * } from "@medusajs/currency"
26
- *
27
- * async function retrieveCurrency (code: string) {
28
- * const currencyModule = await initializeCurrencyModule()
29
- *
30
- * const currency = await currencyModule.retrieve(
31
- * code
32
- * )
33
- *
34
- * // do something with the currency or return it
35
- * }
36
- * ```
37
- *
38
- * To specify attributes that should be retrieved:
39
- *
40
- * ```ts
41
- * import {
42
- * initialize as initializeCurrencyModule,
43
- * } from "@medusajs/currency"
44
- *
45
- * async function retrieveCurrency (code: string) {
46
- * const currencyModule = await initializeCurrencyModule()
47
- *
48
- * const currency = await currencyModule.retrieve(
49
- * code,
50
- * {
51
- * select: ["symbol_native"]
52
- * }
53
- * )
54
- *
55
- * // do something with the currency or return it
56
- * }
57
- * ```
20
+ * const currency = await currencyModuleService.retrieve("usd")
58
21
  */
59
22
  retrieve(code: string, config?: FindConfig<CurrencyDTO>, sharedContext?: Context): Promise<CurrencyDTO>;
60
23
  /**
@@ -72,69 +35,23 @@ export interface ICurrencyModuleService extends IModuleService {
72
35
  * To retrieve a list of currencies using their codes:
73
36
  *
74
37
  * ```ts
75
- * import {
76
- * initialize as initializeCurrencyModule,
77
- * } from "@medusajs/currency"
78
- *
79
- * async function retrieveCurrencies (codes: string[]) {
80
- * const currencyModule = await initializeCurrencyModule()
81
- *
82
- * const currencies = await currencyModule.list(
83
- * {
84
- * code: codes
85
- * },
86
- * )
87
- *
88
- * // do something with the currencies or return them
89
- * }
90
- * ```
91
- *
92
- * To specify attributes that should be retrieved within the money amounts:
93
- *
94
- * ```ts
95
- * import {
96
- * initialize as initializeCurrencyModule,
97
- * } from "@medusajs/currency"
98
- *
99
- * async function retrieveCurrencies (codes: string[]) {
100
- * const currencyModule = await initializeCurrencyModule()
101
- *
102
- * const currencies = await currencyModule.list(
103
- * {
104
- * code: codes
105
- * },
106
- * {
107
- * select: ["symbol_native"]
108
- * }
109
- * )
110
- *
111
- * // do something with the currencies or return them
112
- * }
38
+ * const currencies = await currencyModuleService.list({
39
+ * code: ["usd", "eur"],
40
+ * })
113
41
  * ```
114
42
  *
115
43
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
116
44
  *
117
45
  * ```ts
118
- * import {
119
- * initialize as initializeCurrencyModule,
120
- * } from "@medusajs/currency"
121
- *
122
- * async function retrieveCurrencies (codes: string[], skip: number, take: number) {
123
- * const currencyModule = await initializeCurrencyModule()
124
- *
125
- * const currencies = await currencyModule.list(
126
- * {
127
- * code: codes
128
- * },
129
- * {
130
- * select: ["symbol_native"],
131
- * skip,
132
- * take
133
- * }
134
- * )
135
- *
136
- * // do something with the currencies or return them
137
- * }
46
+ * const currencies = await currencyModuleService.list(
47
+ * {
48
+ * code: ["usd", "eur"],
49
+ * },
50
+ * {
51
+ * take: 20,
52
+ * skip: 2,
53
+ * }
54
+ * )
138
55
  * ```
139
56
  */
140
57
  list(filters?: FilterableCurrencyProps, config?: FindConfig<CurrencyDTO>, sharedContext?: Context): Promise<CurrencyDTO[]>;
@@ -153,69 +70,25 @@ export interface ICurrencyModuleService extends IModuleService {
153
70
  * To retrieve a list of currencies using their codes:
154
71
  *
155
72
  * ```ts
156
- * import {
157
- * initialize as initializeCurrencyModule,
158
- * } from "@medusajs/currency"
159
- *
160
- * async function retrieveCurrencies (codes: string[]) {
161
- * const currencyModule = await initializeCurrencyModule()
162
- *
163
- * const [currencies, count] = await currencyModule.listAndCount(
164
- * {
165
- * code: codes
166
- * },
167
- * )
168
- *
169
- * // do something with the currencies or return them
170
- * }
171
- * ```
172
- *
173
- * To specify attributes that should be retrieved within the money amounts:
174
- *
175
- * ```ts
176
- * import {
177
- * initialize as initializeCurrencyModule,
178
- * } from "@medusajs/currency"
179
- *
180
- * async function retrieveCurrencies (codes: string[]) {
181
- * const currencyModule = await initializeCurrencyModule()
182
- *
183
- * const [currencies, count] = await currencyModule.listAndCount(
184
- * {
185
- * code: codes
186
- * },
187
- * {
188
- * select: ["symbol_native"]
189
- * }
190
- * )
191
- *
192
- * // do something with the currencies or return them
193
- * }
73
+ * const [currencies, count] =
74
+ * await currencyModuleService.listAndCount({
75
+ * code: ["usd", "eur"],
76
+ * })
194
77
  * ```
195
78
  *
196
79
  * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
197
80
  *
198
81
  * ```ts
199
- * import {
200
- * initialize as initializeCurrencyModule,
201
- * } from "@medusajs/currency"
202
- *
203
- * async function retrieveCurrencies (codes: string[], skip: number, take: number) {
204
- * const currencyModule = await initializeCurrencyModule()
205
- *
206
- * const [currencies, count] = await currencyModule.listAndCount(
82
+ * const [currencies, count] =
83
+ * await currencyModuleService.listAndCount(
207
84
  * {
208
- * code: codes
85
+ * code: ["usd", "eur"],
209
86
  * },
210
87
  * {
211
- * select: ["symbol_native"],
212
- * skip,
213
- * take
88
+ * take: 20,
89
+ * skip: 2,
214
90
  * }
215
91
  * )
216
- *
217
- * // do something with the currencies or return them
218
- * }
219
92
  * ```
220
93
  */
221
94
  listAndCount(filters?: FilterableCurrencyProps, config?: FindConfig<CurrencyDTO>, sharedContext?: Context): Promise<[CurrencyDTO[], number]>;
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/currency/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAEtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE/D;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiDG;IACH,QAAQ,CACN,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,EAChC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,WAAW,CAAC,CAAA;IAEvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+EG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,uBAAuB,EACjC,MAAM,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,EAChC,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO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,OAAO,GACtB,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;CACpC"}
@@ -1,9 +1,9 @@
1
1
  import { IModuleService } from "../modules-sdk";
2
- import { FilterableFulfillmentSetProps, FilterableGeoZoneProps, FilterableServiceZoneProps, FilterableShippingOptionForContextProps, FilterableShippingOptionProps, FilterableShippingOptionRuleProps, FilterableShippingOptionTypeProps, FilterableShippingProfileProps, FulfillmentDTO, FulfillmentSetDTO, GeoZoneDTO, ServiceZoneDTO, ShippingOptionDTO, ShippingOptionRuleDTO, ShippingOptionTypeDTO, ShippingProfileDTO } from "./common";
2
+ import { FilterableFulfillmentProps, FilterableFulfillmentSetProps, FilterableGeoZoneProps, FilterableServiceZoneProps, FilterableShippingOptionForContextProps, FilterableShippingOptionProps, FilterableShippingOptionRuleProps, FilterableShippingOptionTypeProps, FilterableShippingProfileProps, FulfillmentDTO, FulfillmentSetDTO, GeoZoneDTO, ServiceZoneDTO, ShippingOptionDTO, ShippingOptionRuleDTO, ShippingOptionTypeDTO, ShippingProfileDTO } from "./common";
3
3
  import { FindConfig } from "../common";
4
4
  import { Context } from "../shared-context";
5
5
  import { RestoreReturn, SoftDeleteReturn } from "../dal";
6
- import { CreateFulfillmentSetDTO, CreateGeoZoneDTO, CreateServiceZoneDTO, CreateShippingOptionDTO, CreateShippingOptionRuleDTO, UpdateFulfillmentDTO, UpdateFulfillmentSetDTO, UpdateGeoZoneDTO, UpdateServiceZoneDTO, UpdateShippingOptionDTO, UpdateShippingOptionRuleDTO } from "./mutations";
6
+ import { CreateFulfillmentSetDTO, CreateGeoZoneDTO, CreateServiceZoneDTO, CreateShippingOptionDTO, CreateShippingOptionRuleDTO, UpdateFulfillmentDTO, UpdateFulfillmentSetDTO, UpdateGeoZoneDTO, UpdateServiceZoneDTO, UpdateShippingOptionDTO, UpdateShippingOptionRuleDTO, UpdateShippingProfileDTO } from "./mutations";
7
7
  import { CreateShippingProfileDTO } from "./mutations/shipping-profile";
8
8
  import { CreateFulfillmentDTO } from "./mutations/fulfillment";
9
9
  export interface IFulfillmentModuleService extends IModuleService {
@@ -271,8 +271,8 @@ export interface IFulfillmentModuleService extends IModuleService {
271
271
  * @param data
272
272
  * @param sharedContext
273
273
  */
274
- updateShippingProfiles(data: CreateShippingProfileDTO[], sharedContext?: Context): Promise<ShippingProfileDTO[]>;
275
- updateShippingProfiles(data: CreateShippingProfileDTO, sharedContext?: Context): Promise<ShippingProfileDTO>;
274
+ updateShippingProfiles(data: UpdateShippingProfileDTO[], sharedContext?: Context): Promise<ShippingProfileDTO[]>;
275
+ updateShippingProfiles(data: UpdateShippingProfileDTO, sharedContext?: Context): Promise<ShippingProfileDTO>;
276
276
  /**
277
277
  * Delete a shipping profile
278
278
  * @param ids
@@ -377,14 +377,14 @@ export interface IFulfillmentModuleService extends IModuleService {
377
377
  * @param config
378
378
  * @param sharedContext
379
379
  */
380
- listFulfillments(filters?: FilterableFulfillmentSetProps, config?: FindConfig<FulfillmentDTO>, sharedContext?: Context): Promise<FulfillmentDTO[]>;
380
+ listFulfillments(filters?: FilterableFulfillmentProps, config?: FindConfig<FulfillmentDTO>, sharedContext?: Context): Promise<FulfillmentDTO[]>;
381
381
  /**
382
382
  * List and count fulfillments
383
383
  * @param filters
384
384
  * @param config
385
385
  * @param sharedContext
386
386
  */
387
- listAndCountFulfillments(filters?: FilterableFulfillmentSetProps, config?: FindConfig<FulfillmentDTO>, sharedContext?: Context): Promise<[FulfillmentDTO[], number]>;
387
+ listAndCountFulfillments(filters?: FilterableFulfillmentProps, config?: FindConfig<FulfillmentDTO>, sharedContext?: Context): Promise<[FulfillmentDTO[], number]>;
388
388
  /**
389
389
  * Create a new fulfillment including into the third party provider
390
390
  * @param data
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/fulfillment/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EACL,6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sB,CACpB,gBAAgB,EAAE,MAAM,EACxB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,OAAO,CAAC,CAAA;CACpB"}
@@ -91,6 +91,7 @@ export type LoaderOptions<TOptions = Record<string, unknown>> = {
91
91
  container: MedusaContainer;
92
92
  options?: TOptions;
93
93
  logger?: Logger;
94
+ dataLoaderOnly?: boolean;
94
95
  };
95
96
  export type ModuleLoaderFunction = (options: LoaderOptions, moduleDeclaration?: InternalModuleDeclaration) => Promise<void>;
96
97
  export type ModulesResponse = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;AACtD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AAEjC,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,QAAQ,GACR,OAAO,GACP,MAAM,GACN,MAAM,GACN,KAAK,GACL,WAAW,CAAA;AACf,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,EAAE,CAAA;AAExD,oBAAY,YAAY;IACtB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,Y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