@burdenoff/microfe-coolandlovely 2026.1027.2 → 2026.1028.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/coolandlovely/components/ReturnRequests.d.ts +15 -0
- package/dist/coolandlovely/components/ReturnRequests.d.ts.map +1 -0
- package/dist/coolandlovely/components/ReturnRequests.js +218 -0
- package/dist/coolandlovely/components/ReturnRequests.js.map +1 -0
- package/dist/coolandlovely/components/StatusBadge.d.ts.map +1 -1
- package/dist/coolandlovely/components/StatusBadge.js +5 -1
- package/dist/coolandlovely/components/StatusBadge.js.map +1 -1
- package/dist/coolandlovely/components/StoreListingCard.d.ts +9 -0
- package/dist/coolandlovely/components/StoreListingCard.d.ts.map +1 -0
- package/dist/coolandlovely/components/StoreListingCard.js +63 -0
- package/dist/coolandlovely/components/StoreListingCard.js.map +1 -0
- package/dist/coolandlovely/components/index.d.ts +1 -0
- package/dist/coolandlovely/components/index.d.ts.map +1 -1
- package/dist/coolandlovely/components/index.js +1 -0
- package/dist/coolandlovely/hooks/index.d.ts +1 -1
- package/dist/coolandlovely/hooks/index.d.ts.map +1 -1
- package/dist/coolandlovely/hooks/useBrandOrdersApi.d.ts +10 -1
- package/dist/coolandlovely/hooks/useBrandOrdersApi.d.ts.map +1 -1
- package/dist/coolandlovely/hooks/useBrandOrdersApi.js +99 -30
- package/dist/coolandlovely/hooks/useBrandOrdersApi.js.map +1 -1
- package/dist/coolandlovely/hooks/useCommerceApi.d.ts +8 -1
- package/dist/coolandlovely/hooks/useCommerceApi.d.ts.map +1 -1
- package/dist/coolandlovely/hooks/useCommerceApi.js +47 -31
- package/dist/coolandlovely/hooks/useCommerceApi.js.map +1 -1
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts +8 -0
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts.map +1 -1
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.js +109 -87
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.js.map +1 -1
- package/dist/coolandlovely/pages/commerce/BrandOrdersPage.d.ts +3 -1
- package/dist/coolandlovely/pages/commerce/BrandOrdersPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/commerce/BrandOrdersPage.js +129 -97
- package/dist/coolandlovely/pages/commerce/BrandOrdersPage.js.map +1 -1
- package/dist/coolandlovely/pages/commerce/OrdersPage.d.ts +2 -1
- package/dist/coolandlovely/pages/commerce/OrdersPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/commerce/OrdersPage.js +124 -122
- package/dist/coolandlovely/pages/commerce/OrdersPage.js.map +1 -1
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.d.ts +1 -1
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.js +113 -111
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.js.map +1 -1
- package/dist/coolandlovely/types/commerce.d.ts +45 -0
- package/dist/coolandlovely/types/commerce.d.ts.map +1 -1
- package/dist/coolandlovely/types/index.d.ts +9 -0
- package/dist/coolandlovely/types/index.d.ts.map +1 -1
- package/dist/generated/global-types.d.ts +4944 -1626
- package/dist/generated/global-types.d.ts.map +1 -1
- package/dist/generated/wspace-types.d.ts +98128 -34631
- package/dist/generated/wspace-types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
15
15
|
if (r.errors?.length) throw Error(r.errors[0]?.message ?? "GraphQL request failed");
|
|
16
16
|
if (!r.data) throw Error("GraphQL response did not include data");
|
|
17
17
|
return /^\s*mutation\b/.test(e) && a(), r.data;
|
|
18
|
-
}, c = "\n id workspaceId name handle tagline bio aesthetics tags websiteUrl\n isFeatured status logo { id } cover { id } createdAt updatedAt\n", l = "\n id workspaceId brandId name description season status tags\n cover { id } publishAt endAt createdAt updatedAt\n", u = "\n id workspaceId brandId collectionId name description category status\n sku price currency colours sizes materials tags image { id }\n createdAt updatedAt\n", d = "\n id workspaceId authorId title caption occasion visibility isFeatured\n likeCount saveCount collaborationId image { id } tags publishedAt\n createdAt updatedAt isLikedByMe isSavedByMe\n",
|
|
18
|
+
}, c = "\n id workspaceId name handle tagline bio aesthetics tags websiteUrl\n isFeatured status logo { id } cover { id } createdAt updatedAt\n", l = "\n id workspaceId brandId name description season status tags\n cover { id } publishAt endAt createdAt updatedAt\n", u = "\n id workspaceId brandId collectionId name description category status\n sku price currency colours sizes materials tags image { id }\n createdAt updatedAt\n", d = "\n storeProductId storeListingStatus storeSyncStatus storeSyncedAt\n", f = "\n id workspaceId authorId title caption occasion visibility isFeatured\n likeCount saveCount collaborationId image { id } tags publishedAt\n createdAt updatedAt isLikedByMe isSavedByMe\n", p = "\n id workspaceId lookId styleItemId position styling createdAt updatedAt\n styleItem { id name category price currency brand { id name handle } image { id } }\n", m = "\n id workspaceId brandId creatorId collectionId title brief role status\n compensation currency tags startDate endDate publishedAt createdAt updatedAt\n", h = "\n id collaborationId collaborationTitle brandId creatorId amount currency status paymentProvider\n paidAt earningAvailableAt earningSyncStatus createdAt updatedAt\n", g = "\n id workspaceId profileId name category source brandName colour size notes\n styleItemId purchasePrice currency costPerWear timesWorn lastWornAt tags\n image { id } createdAt updatedAt\n", _ = "\n id workspaceId ownerId displayName bio visibility stylePreferences\n palette favouriteBrands sizes createdAt updatedAt\n isFollowedByMe followerCount followingCount\n", v = "\n id workspaceId ownerId profileId name description visibility tags\n cover { id } createdAt updatedAt\n", ee = (t = {}) => {
|
|
19
19
|
let { apiGatewayUrl: r } = e();
|
|
20
20
|
return n({
|
|
21
21
|
queryKey: [
|
|
@@ -63,7 +63,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
63
63
|
},
|
|
64
64
|
enabled: !!t
|
|
65
65
|
});
|
|
66
|
-
},
|
|
66
|
+
}, y = () => {
|
|
67
67
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
68
68
|
return t({
|
|
69
69
|
mutationFn: async (e) => (await s(`mutation CooCreateBrand($input: CooCreateBrandInput!) {
|
|
@@ -73,7 +73,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
73
73
|
n.invalidateQueries({ queryKey: [o, "brands"] });
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
},
|
|
76
|
+
}, b = () => {
|
|
77
77
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
78
78
|
return t({
|
|
79
79
|
mutationFn: async ({ id: e, input: t }) => (await s(`mutation CooUpdateBrand($id: ID!, $input: CooUpdateBrandInput!) {
|
|
@@ -90,7 +90,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
90
90
|
] });
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
},
|
|
93
|
+
}, x = () => {
|
|
94
94
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
95
95
|
return t({
|
|
96
96
|
mutationFn: async ({ id: e, status: t }) => (await s(`mutation CooTransitionBrand($id: ID!, $status: CooBrandStatus!) {
|
|
@@ -107,7 +107,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
107
107
|
] });
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
},
|
|
110
|
+
}, S = (t = {}) => {
|
|
111
111
|
let { apiGatewayUrl: r } = e();
|
|
112
112
|
return n({
|
|
113
113
|
queryKey: [
|
|
@@ -125,7 +125,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
125
125
|
status: t.status
|
|
126
126
|
}, r)).cooListCollections.items
|
|
127
127
|
});
|
|
128
|
-
},
|
|
128
|
+
}, C = (t) => {
|
|
129
129
|
let { apiGatewayUrl: r } = e();
|
|
130
130
|
return n({
|
|
131
131
|
queryKey: [
|
|
@@ -150,7 +150,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
150
150
|
},
|
|
151
151
|
enabled: !!t
|
|
152
152
|
});
|
|
153
|
-
},
|
|
153
|
+
}, w = () => {
|
|
154
154
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
155
155
|
return t({
|
|
156
156
|
mutationFn: async (e) => (await s(`mutation CooCreateCollection($input: CooCreateCollectionInput!) {
|
|
@@ -160,7 +160,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
160
160
|
n.invalidateQueries({ queryKey: [o, "collections"] });
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
|
-
},
|
|
163
|
+
}, T = () => {
|
|
164
164
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
165
165
|
return t({
|
|
166
166
|
mutationFn: async ({ id: e, input: t }) => (await s(`mutation CooUpdateCollection($id: ID!, $input: CooUpdateCollectionInput!) {
|
|
@@ -177,7 +177,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
177
177
|
] });
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
|
-
},
|
|
180
|
+
}, E = () => {
|
|
181
181
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
182
182
|
return t({
|
|
183
183
|
mutationFn: async (e) => (await s(`mutation CooPublishCollection($id: ID!) {
|
|
@@ -191,7 +191,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
191
191
|
] });
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
|
-
},
|
|
194
|
+
}, D = () => {
|
|
195
195
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
196
196
|
return t({
|
|
197
197
|
mutationFn: async (e) => (await s("mutation CooArchiveCollection($id: ID!) { cooArchiveCollection(id: $id) }", { id: e }, i)).cooArchiveCollection,
|
|
@@ -199,7 +199,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
199
199
|
n.invalidateQueries({ queryKey: [o, "collections"] });
|
|
200
200
|
}
|
|
201
201
|
});
|
|
202
|
-
},
|
|
202
|
+
}, O = (t = {}) => {
|
|
203
203
|
let { apiGatewayUrl: r } = e();
|
|
204
204
|
return n({
|
|
205
205
|
queryKey: [
|
|
@@ -229,7 +229,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
229
229
|
}
|
|
230
230
|
}, r)).cooListStyleItems
|
|
231
231
|
});
|
|
232
|
-
},
|
|
232
|
+
}, k = (t) => {
|
|
233
233
|
let { apiGatewayUrl: r } = e();
|
|
234
234
|
return n({
|
|
235
235
|
queryKey: [
|
|
@@ -240,13 +240,14 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
240
240
|
queryFn: async () => (await s(`query CooStyleItem($id: ID!) {
|
|
241
241
|
cooStyleItem(id: $id) {
|
|
242
242
|
${u}
|
|
243
|
+
${d}
|
|
243
244
|
brand { id name handle }
|
|
244
245
|
collection { id name }
|
|
245
246
|
}
|
|
246
247
|
}`, { id: t }, r)).cooStyleItem,
|
|
247
248
|
enabled: !!t
|
|
248
249
|
});
|
|
249
|
-
},
|
|
250
|
+
}, A = () => {
|
|
250
251
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
251
252
|
return t({
|
|
252
253
|
mutationFn: async (e) => (await s(`mutation CooCreateStyleItem($input: CooCreateStyleItemInput!) {
|
|
@@ -256,7 +257,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
256
257
|
n.invalidateQueries({ queryKey: [o, "style-items"] });
|
|
257
258
|
}
|
|
258
259
|
});
|
|
259
|
-
},
|
|
260
|
+
}, j = () => {
|
|
260
261
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
261
262
|
return t({
|
|
262
263
|
mutationFn: async ({ id: e, input: t }) => (await s(`mutation CooUpdateStyleItem($id: ID!, $input: CooUpdateStyleItemInput!) {
|
|
@@ -277,7 +278,28 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
277
278
|
] });
|
|
278
279
|
}
|
|
279
280
|
});
|
|
280
|
-
},
|
|
281
|
+
}, M = () => {
|
|
282
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
283
|
+
return t({
|
|
284
|
+
mutationFn: async (e) => (await s(`mutation CooSyncStyleItemStoreListing($id: ID!) {
|
|
285
|
+
cooSyncStyleItemStoreListing(id: $id) { id ${d} }
|
|
286
|
+
}`, { id: e }, i)).cooSyncStyleItemStoreListing,
|
|
287
|
+
onSuccess: (e) => {
|
|
288
|
+
n.setQueryData([
|
|
289
|
+
o,
|
|
290
|
+
"style-item",
|
|
291
|
+
e.id
|
|
292
|
+
], (t) => t && {
|
|
293
|
+
...t,
|
|
294
|
+
...e
|
|
295
|
+
}), n.invalidateQueries({ queryKey: [
|
|
296
|
+
o,
|
|
297
|
+
"style-item",
|
|
298
|
+
e.id
|
|
299
|
+
] });
|
|
300
|
+
}
|
|
301
|
+
});
|
|
302
|
+
}, N = () => {
|
|
281
303
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
282
304
|
return t({
|
|
283
305
|
mutationFn: async (e) => (await s("mutation CooArchiveStyleItem($id: ID!) { cooArchiveStyleItem(id: $id) }", { id: e }, i)).cooArchiveStyleItem,
|
|
@@ -285,7 +307,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
285
307
|
n.invalidateQueries({ queryKey: [o, "style-items"] });
|
|
286
308
|
}
|
|
287
309
|
});
|
|
288
|
-
},
|
|
310
|
+
}, P = (t = {}) => {
|
|
289
311
|
let { apiGatewayUrl: r } = e();
|
|
290
312
|
return n({
|
|
291
313
|
queryKey: [
|
|
@@ -297,7 +319,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
297
319
|
$authorId: ID, $occasion: CooLookOccasion, $featured: Boolean, $pagination: PaginationInput
|
|
298
320
|
) {
|
|
299
321
|
cooListLooks(authorId: $authorId, occasion: $occasion, featured: $featured, pagination: $pagination) {
|
|
300
|
-
items { ${
|
|
322
|
+
items { ${f} }
|
|
301
323
|
pageInfo { cursor hasMore }
|
|
302
324
|
}
|
|
303
325
|
}`, {
|
|
@@ -310,7 +332,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
310
332
|
}
|
|
311
333
|
}, r)).cooListLooks
|
|
312
334
|
});
|
|
313
|
-
},
|
|
335
|
+
}, F = (t) => {
|
|
314
336
|
let { apiGatewayUrl: r } = e();
|
|
315
337
|
return n({
|
|
316
338
|
queryKey: [
|
|
@@ -321,8 +343,8 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
321
343
|
queryFn: async () => {
|
|
322
344
|
let e = await s(`query CooLook($id: ID!) {
|
|
323
345
|
cooLook(id: $id) {
|
|
324
|
-
${
|
|
325
|
-
items { items { ${
|
|
346
|
+
${f}
|
|
347
|
+
items { items { ${p} } pageInfo { cursor hasMore } }
|
|
326
348
|
}
|
|
327
349
|
}`, { id: t }, r);
|
|
328
350
|
if (!e.cooLook) return null;
|
|
@@ -334,7 +356,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
334
356
|
},
|
|
335
357
|
enabled: !!t
|
|
336
358
|
});
|
|
337
|
-
},
|
|
359
|
+
}, I = (t = {}) => {
|
|
338
360
|
let { apiGatewayUrl: r } = e();
|
|
339
361
|
return n({
|
|
340
362
|
queryKey: [
|
|
@@ -347,7 +369,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
347
369
|
$authorId: ID, $occasion: CooLookOccasion, $featured: Boolean, $pagination: PaginationInput
|
|
348
370
|
) {
|
|
349
371
|
cooListLooks(authorId: $authorId, occasion: $occasion, featured: $featured, pagination: $pagination) {
|
|
350
|
-
items { ${
|
|
372
|
+
items { ${f} items { items { ${p} } pageInfo { cursor hasMore } } }
|
|
351
373
|
pageInfo { cursor hasMore }
|
|
352
374
|
}
|
|
353
375
|
}`, {
|
|
@@ -368,21 +390,21 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
368
390
|
};
|
|
369
391
|
}
|
|
370
392
|
});
|
|
371
|
-
},
|
|
393
|
+
}, L = () => {
|
|
372
394
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
373
395
|
return t({
|
|
374
396
|
mutationFn: async (e) => (await s(`mutation CooCreateLook($input: CooCreateLookInput!) {
|
|
375
|
-
cooCreateLook(input: $input) { ${
|
|
397
|
+
cooCreateLook(input: $input) { ${f} }
|
|
376
398
|
}`, { input: e }, i)).cooCreateLook,
|
|
377
399
|
onSuccess: () => {
|
|
378
400
|
n.invalidateQueries({ queryKey: [o, "looks"] }), n.invalidateQueries({ queryKey: [o, "looks-with-items"] });
|
|
379
401
|
}
|
|
380
402
|
});
|
|
381
|
-
},
|
|
403
|
+
}, R = () => {
|
|
382
404
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
383
405
|
return t({
|
|
384
406
|
mutationFn: async ({ id: e, input: t }) => (await s(`mutation CooUpdateLook($id: ID!, $input: CooUpdateLookInput!) {
|
|
385
|
-
cooUpdateLook(id: $id, input: $input) { ${
|
|
407
|
+
cooUpdateLook(id: $id, input: $input) { ${f} }
|
|
386
408
|
}`, {
|
|
387
409
|
id: e,
|
|
388
410
|
input: t
|
|
@@ -395,10 +417,10 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
395
417
|
] });
|
|
396
418
|
}
|
|
397
419
|
});
|
|
398
|
-
},
|
|
420
|
+
}, z = () => {
|
|
399
421
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
400
422
|
return t({
|
|
401
|
-
mutationFn: async (e) => (await s(`mutation CooPublishLook($id: ID!) { cooPublishLook(id: $id) { ${
|
|
423
|
+
mutationFn: async (e) => (await s(`mutation CooPublishLook($id: ID!) { cooPublishLook(id: $id) { ${f} } }`, { id: e }, i)).cooPublishLook,
|
|
402
424
|
onSuccess: (e) => {
|
|
403
425
|
n.invalidateQueries({ queryKey: [o, "looks"] }), n.invalidateQueries({ queryKey: [o, "looks-with-items"] }), n.invalidateQueries({ queryKey: [
|
|
404
426
|
o,
|
|
@@ -407,10 +429,10 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
407
429
|
] });
|
|
408
430
|
}
|
|
409
431
|
});
|
|
410
|
-
},
|
|
432
|
+
}, B = () => {
|
|
411
433
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
412
434
|
return t({
|
|
413
|
-
mutationFn: async (e) => (await s(`mutation CooLikeLook($id: ID!) { cooLikeLook(id: $id) { ${
|
|
435
|
+
mutationFn: async (e) => (await s(`mutation CooLikeLook($id: ID!) { cooLikeLook(id: $id) { ${f} } }`, { id: e }, i)).cooLikeLook,
|
|
414
436
|
onSuccess: (e) => {
|
|
415
437
|
n.invalidateQueries({ queryKey: [o, "looks"] }), n.invalidateQueries({ queryKey: [o, "looks-with-items"] }), n.invalidateQueries({ queryKey: [
|
|
416
438
|
o,
|
|
@@ -419,10 +441,10 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
419
441
|
] });
|
|
420
442
|
}
|
|
421
443
|
});
|
|
422
|
-
},
|
|
444
|
+
}, V = () => {
|
|
423
445
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
424
446
|
return t({
|
|
425
|
-
mutationFn: async (e) => (await s(`mutation CooUnlikeLook($id: ID!) { cooUnlikeLook(id: $id) { ${
|
|
447
|
+
mutationFn: async (e) => (await s(`mutation CooUnlikeLook($id: ID!) { cooUnlikeLook(id: $id) { ${f} } }`, { id: e }, i)).cooUnlikeLook,
|
|
426
448
|
onSuccess: (e) => {
|
|
427
449
|
n.invalidateQueries({ queryKey: [o, "looks"] }), n.invalidateQueries({ queryKey: [o, "looks-with-items"] }), n.invalidateQueries({ queryKey: [
|
|
428
450
|
o,
|
|
@@ -431,10 +453,10 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
431
453
|
] });
|
|
432
454
|
}
|
|
433
455
|
});
|
|
434
|
-
},
|
|
456
|
+
}, H = () => {
|
|
435
457
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
436
458
|
return t({
|
|
437
|
-
mutationFn: async (e) => (await s(`mutation CooSaveLook($id: ID!) { cooSaveLook(id: $id) { ${
|
|
459
|
+
mutationFn: async (e) => (await s(`mutation CooSaveLook($id: ID!) { cooSaveLook(id: $id) { ${f} } }`, { id: e }, i)).cooSaveLook,
|
|
438
460
|
onSuccess: (e) => {
|
|
439
461
|
n.invalidateQueries({ queryKey: [o, "looks"] }), n.invalidateQueries({ queryKey: [o, "looks-with-items"] }), n.invalidateQueries({ queryKey: [
|
|
440
462
|
o,
|
|
@@ -443,10 +465,10 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
443
465
|
] });
|
|
444
466
|
}
|
|
445
467
|
});
|
|
446
|
-
},
|
|
468
|
+
}, U = () => {
|
|
447
469
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
448
470
|
return t({
|
|
449
|
-
mutationFn: async (e) => (await s(`mutation CooUnsaveLook($id: ID!) { cooUnsaveLook(id: $id) { ${
|
|
471
|
+
mutationFn: async (e) => (await s(`mutation CooUnsaveLook($id: ID!) { cooUnsaveLook(id: $id) { ${f} } }`, { id: e }, i)).cooUnsaveLook,
|
|
450
472
|
onSuccess: (e) => {
|
|
451
473
|
n.invalidateQueries({ queryKey: [o, "looks"] }), n.invalidateQueries({ queryKey: [o, "looks-with-items"] }), n.invalidateQueries({ queryKey: [
|
|
452
474
|
o,
|
|
@@ -455,7 +477,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
455
477
|
] });
|
|
456
478
|
}
|
|
457
479
|
});
|
|
458
|
-
},
|
|
480
|
+
}, W = () => {
|
|
459
481
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
460
482
|
return t({
|
|
461
483
|
mutationFn: async (e) => (await s("mutation CooDeleteLook($id: ID!) { cooDeleteLook(id: $id) }", { id: e }, i)).cooDeleteLook,
|
|
@@ -463,7 +485,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
463
485
|
n.invalidateQueries({ queryKey: [o, "looks"] }), n.invalidateQueries({ queryKey: [o, "looks-with-items"] });
|
|
464
486
|
}
|
|
465
487
|
});
|
|
466
|
-
},
|
|
488
|
+
}, G = (t = {}) => {
|
|
467
489
|
let { apiGatewayUrl: r } = e();
|
|
468
490
|
return n({
|
|
469
491
|
queryKey: [
|
|
@@ -473,7 +495,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
473
495
|
],
|
|
474
496
|
queryFn: async () => (await s(`query CooListCollaborations($brandId: ID, $creatorId: ID, $status: CooCollaborationStatus) {
|
|
475
497
|
cooListCollaborations(brandId: $brandId, creatorId: $creatorId, status: $status) {
|
|
476
|
-
items { ${
|
|
498
|
+
items { ${m} brand { id name handle logo { id } } }
|
|
477
499
|
pageInfo { cursor hasMore }
|
|
478
500
|
}
|
|
479
501
|
}`, {
|
|
@@ -482,7 +504,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
482
504
|
status: t.status
|
|
483
505
|
}, r)).cooListCollaborations.items
|
|
484
506
|
});
|
|
485
|
-
},
|
|
507
|
+
}, K = (t) => {
|
|
486
508
|
let { apiGatewayUrl: r } = e();
|
|
487
509
|
return n({
|
|
488
510
|
queryKey: [
|
|
@@ -493,10 +515,10 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
493
515
|
queryFn: async () => {
|
|
494
516
|
let e = await s(`query CooCollaboration($id: ID!) {
|
|
495
517
|
cooCollaboration(id: $id) {
|
|
496
|
-
${
|
|
518
|
+
${m}
|
|
497
519
|
brand { id name handle logo { id } }
|
|
498
|
-
looks { items { ${
|
|
499
|
-
payout { ${
|
|
520
|
+
looks { items { ${f} } pageInfo { cursor hasMore } }
|
|
521
|
+
payout { ${h} }
|
|
500
522
|
}
|
|
501
523
|
}`, { id: t }, r);
|
|
502
524
|
if (!e.cooCollaboration) return null;
|
|
@@ -508,22 +530,22 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
508
530
|
},
|
|
509
531
|
enabled: !!t
|
|
510
532
|
});
|
|
511
|
-
},
|
|
533
|
+
}, ne = () => {
|
|
512
534
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
513
535
|
return t({
|
|
514
536
|
mutationFn: async (e) => (await s(`mutation CooCreateCollaboration($input: CooCreateCollaborationInput!) {
|
|
515
|
-
cooCreateCollaboration(input: $input) { ${
|
|
537
|
+
cooCreateCollaboration(input: $input) { ${m} }
|
|
516
538
|
}`, { input: e }, i)).cooCreateCollaboration,
|
|
517
539
|
onSuccess: () => {
|
|
518
540
|
n.invalidateQueries({ queryKey: [o, "collaborations"] });
|
|
519
541
|
}
|
|
520
542
|
});
|
|
521
|
-
},
|
|
543
|
+
}, q = () => {
|
|
522
544
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
523
545
|
return t({
|
|
524
546
|
mutationFn: async ({ id: e, input: t }) => (await s(`mutation CooUpdateCollaboration($id: ID!, $input: CooUpdateCollaborationInput!) {
|
|
525
547
|
cooUpdateCollaboration(id: $id, input: $input) {
|
|
526
|
-
${
|
|
548
|
+
${m}
|
|
527
549
|
brand { id name handle logo { id } }
|
|
528
550
|
}
|
|
529
551
|
}`, {
|
|
@@ -538,11 +560,11 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
538
560
|
] });
|
|
539
561
|
}
|
|
540
562
|
});
|
|
541
|
-
},
|
|
563
|
+
}, J = () => {
|
|
542
564
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
543
565
|
return t({
|
|
544
566
|
mutationFn: async ({ id: e, status: t }) => (await s(`mutation CooTransitionCollaboration($id: ID!, $status: CooCollaborationStatus!) {
|
|
545
|
-
cooTransitionCollaboration(id: $id, status: $status) { ${
|
|
567
|
+
cooTransitionCollaboration(id: $id, status: $status) { ${m} }
|
|
546
568
|
}`, {
|
|
547
569
|
id: e,
|
|
548
570
|
status: t
|
|
@@ -555,7 +577,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
555
577
|
] });
|
|
556
578
|
}
|
|
557
579
|
});
|
|
558
|
-
},
|
|
580
|
+
}, Y = () => {
|
|
559
581
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
560
582
|
return t({
|
|
561
583
|
mutationFn: async (e) => (await s("mutation CooDeleteCollaboration($id: ID!) { cooDeleteCollaboration(id: $id) }", { id: e }, i)).cooDeleteCollaboration,
|
|
@@ -563,7 +585,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
563
585
|
n.invalidateQueries({ queryKey: [o, "collaborations"] });
|
|
564
586
|
}
|
|
565
587
|
});
|
|
566
|
-
},
|
|
588
|
+
}, X = (t = {}) => {
|
|
567
589
|
let { apiGatewayUrl: r } = e();
|
|
568
590
|
return n({
|
|
569
591
|
queryKey: [
|
|
@@ -573,7 +595,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
573
595
|
],
|
|
574
596
|
queryFn: async () => (await s(`query CooListWardrobeItems($category: CooStyleCategory, $source: CooWardrobeSource) {
|
|
575
597
|
cooListWardrobeItems(category: $category, source: $source) {
|
|
576
|
-
items { ${
|
|
598
|
+
items { ${g} }
|
|
577
599
|
pageInfo { cursor hasMore }
|
|
578
600
|
}
|
|
579
601
|
}`, {
|
|
@@ -581,27 +603,27 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
581
603
|
source: t.source
|
|
582
604
|
}, r)).cooListWardrobeItems.items
|
|
583
605
|
});
|
|
584
|
-
},
|
|
606
|
+
}, Z = () => {
|
|
585
607
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
586
608
|
return t({
|
|
587
609
|
mutationFn: async (e) => (await s(`mutation CooCreateWardrobeItem($input: CooCreateWardrobeItemInput!) {
|
|
588
|
-
cooCreateWardrobeItem(input: $input) { ${
|
|
610
|
+
cooCreateWardrobeItem(input: $input) { ${g} }
|
|
589
611
|
}`, { input: e }, i)).cooCreateWardrobeItem,
|
|
590
612
|
onSuccess: () => {
|
|
591
613
|
n.invalidateQueries({ queryKey: [o, "wardrobe"] });
|
|
592
614
|
}
|
|
593
615
|
});
|
|
594
|
-
},
|
|
616
|
+
}, re = () => {
|
|
595
617
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
596
618
|
return t({
|
|
597
619
|
mutationFn: async (e) => (await s(`mutation CooLogWardrobeWear($id: ID!) {
|
|
598
|
-
cooLogWardrobeWear(id: $id) { ${
|
|
620
|
+
cooLogWardrobeWear(id: $id) { ${g} }
|
|
599
621
|
}`, { id: e }, i)).cooLogWardrobeWear,
|
|
600
622
|
onSuccess: () => {
|
|
601
623
|
n.invalidateQueries({ queryKey: [o, "wardrobe"] });
|
|
602
624
|
}
|
|
603
625
|
});
|
|
604
|
-
},
|
|
626
|
+
}, ie = () => {
|
|
605
627
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
606
628
|
return t({
|
|
607
629
|
mutationFn: async (e) => (await s("mutation CooRemoveWardrobeItem($id: ID!) { cooRemoveWardrobeItem(id: $id) }", { id: e }, i)).cooRemoveWardrobeItem,
|
|
@@ -609,13 +631,13 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
609
631
|
n.invalidateQueries({ queryKey: [o, "wardrobe"] });
|
|
610
632
|
}
|
|
611
633
|
});
|
|
612
|
-
},
|
|
634
|
+
}, ae = () => {
|
|
613
635
|
let { apiGatewayUrl: t } = e();
|
|
614
636
|
return n({
|
|
615
637
|
queryKey: [o, "my-style-profile"],
|
|
616
|
-
queryFn: async () => (await s(`query CooMyStyleProfile { cooMyStyleProfile { ${
|
|
638
|
+
queryFn: async () => (await s(`query CooMyStyleProfile { cooMyStyleProfile { ${_} } }`, {}, t)).cooMyStyleProfile
|
|
617
639
|
});
|
|
618
|
-
},
|
|
640
|
+
}, oe = (t) => {
|
|
619
641
|
let { apiGatewayUrl: r } = e();
|
|
620
642
|
return n({
|
|
621
643
|
queryKey: [
|
|
@@ -624,21 +646,21 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
624
646
|
t
|
|
625
647
|
],
|
|
626
648
|
queryFn: async () => (await s(`query CooStyleProfileByOwner($ownerId: ID!) {
|
|
627
|
-
cooStyleProfileByOwner(ownerId: $ownerId) { ${
|
|
649
|
+
cooStyleProfileByOwner(ownerId: $ownerId) { ${_} }
|
|
628
650
|
}`, { ownerId: t }, r)).cooStyleProfileByOwner,
|
|
629
651
|
enabled: !!t
|
|
630
652
|
});
|
|
631
|
-
},
|
|
653
|
+
}, se = () => {
|
|
632
654
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
633
655
|
return t({
|
|
634
656
|
mutationFn: async (e) => (await s(`mutation CooUpsertStyleProfile($input: CooUpsertStyleProfileInput!) {
|
|
635
|
-
cooUpsertStyleProfile(input: $input) { ${
|
|
657
|
+
cooUpsertStyleProfile(input: $input) { ${_} }
|
|
636
658
|
}`, { input: e }, i)).cooUpsertStyleProfile,
|
|
637
659
|
onSuccess: () => {
|
|
638
660
|
n.invalidateQueries({ queryKey: [o, "my-style-profile"] });
|
|
639
661
|
}
|
|
640
662
|
});
|
|
641
|
-
}, Q = "id workspaceId lookbookId lookId styleItemId note position createdAt updatedAt",
|
|
663
|
+
}, Q = "id workspaceId lookbookId lookId styleItemId note position createdAt updatedAt", ce = (t) => {
|
|
642
664
|
let { apiGatewayUrl: r } = e();
|
|
643
665
|
return n({
|
|
644
666
|
queryKey: [
|
|
@@ -649,7 +671,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
649
671
|
queryFn: async () => (await s(`query CooListLookbooks($ownerId: ID) {
|
|
650
672
|
cooListLookbooks(ownerId: $ownerId) {
|
|
651
673
|
items {
|
|
652
|
-
${
|
|
674
|
+
${v}
|
|
653
675
|
entries { items { ${Q} } pageInfo { cursor hasMore } }
|
|
654
676
|
}
|
|
655
677
|
pageInfo { cursor hasMore }
|
|
@@ -659,17 +681,17 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
659
681
|
entries: e?.items ?? []
|
|
660
682
|
}))
|
|
661
683
|
});
|
|
662
|
-
},
|
|
684
|
+
}, le = () => {
|
|
663
685
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
664
686
|
return t({
|
|
665
687
|
mutationFn: async (e) => (await s(`mutation CooCreateLookbook($input: CooCreateLookbookInput!) {
|
|
666
|
-
cooCreateLookbook(input: $input) { ${
|
|
688
|
+
cooCreateLookbook(input: $input) { ${v} }
|
|
667
689
|
}`, { input: e }, i)).cooCreateLookbook,
|
|
668
690
|
onSuccess: () => {
|
|
669
691
|
n.invalidateQueries({ queryKey: [o, "lookbooks"] });
|
|
670
692
|
}
|
|
671
693
|
});
|
|
672
|
-
},
|
|
694
|
+
}, ue = () => {
|
|
673
695
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
674
696
|
return t({
|
|
675
697
|
mutationFn: async (e) => (await s("mutation CooAddLookbookEntry($input: CooAddLookbookEntryInput!) {\n cooAddLookbookEntry(input: $input) {\n id lookbookId lookId styleItemId note position createdAt updatedAt\n }\n }", { input: e }, i)).cooAddLookbookEntry,
|
|
@@ -681,7 +703,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
681
703
|
] });
|
|
682
704
|
}
|
|
683
705
|
});
|
|
684
|
-
},
|
|
706
|
+
}, de = () => {
|
|
685
707
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
686
708
|
return t({
|
|
687
709
|
mutationFn: async (e) => (await s("mutation CooRemoveLookbookEntry($id: ID!) { cooRemoveLookbookEntry(id: $id) }", { id: e }, i)).cooRemoveLookbookEntry,
|
|
@@ -689,7 +711,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
689
711
|
n.invalidateQueries({ queryKey: [o, "lookbooks"] }), n.invalidateQueries({ queryKey: [o, "lookbook"] });
|
|
690
712
|
}
|
|
691
713
|
});
|
|
692
|
-
},
|
|
714
|
+
}, fe = "\n id workspaceId ownerId displayName bio visibility\n stylePreferences palette favouriteBrands\n isFollowedByMe followerCount followingCount\n", pe = (t) => {
|
|
693
715
|
let { apiGatewayUrl: r } = e();
|
|
694
716
|
return n({
|
|
695
717
|
queryKey: [
|
|
@@ -700,7 +722,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
700
722
|
enabled: !!t,
|
|
701
723
|
queryFn: async () => (await s("query CooIsFollowing($followeeId: ID!) { cooIsFollowing(followeeId: $followeeId) }", { followeeId: t }, r)).cooIsFollowing
|
|
702
724
|
});
|
|
703
|
-
},
|
|
725
|
+
}, $ = () => {
|
|
704
726
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
705
727
|
return t({
|
|
706
728
|
mutationFn: async (e) => (await s("mutation CooFollow($followeeId: ID!) { cooFollow(followeeId: $followeeId) }", { followeeId: e }, i)).cooFollow,
|
|
@@ -712,7 +734,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
712
734
|
] }), n.invalidateQueries({ queryKey: [o, "my-following"] }), n.invalidateQueries({ queryKey: [o, "my-followers"] }), n.invalidateQueries({ queryKey: [o, "my-style-profile"] });
|
|
713
735
|
}
|
|
714
736
|
});
|
|
715
|
-
},
|
|
737
|
+
}, me = () => {
|
|
716
738
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
717
739
|
return t({
|
|
718
740
|
mutationFn: async (e) => (await s("mutation CooUnfollow($followeeId: ID!) { cooUnfollow(followeeId: $followeeId) }", { followeeId: e }, i)).cooUnfollow,
|
|
@@ -724,15 +746,15 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
724
746
|
] }), n.invalidateQueries({ queryKey: [o, "my-following"] }), n.invalidateQueries({ queryKey: [o, "my-followers"] }), n.invalidateQueries({ queryKey: [o, "my-style-profile"] });
|
|
725
747
|
}
|
|
726
748
|
});
|
|
727
|
-
},
|
|
749
|
+
}, he = () => {
|
|
728
750
|
let { apiGatewayUrl: t } = e();
|
|
729
751
|
return n({
|
|
730
752
|
queryKey: [o, "my-following"],
|
|
731
753
|
queryFn: async () => (await s(`query CooMyFollowing {
|
|
732
|
-
cooMyFollowing { items { ${
|
|
754
|
+
cooMyFollowing { items { ${fe} } pageInfo { cursor hasMore } }
|
|
733
755
|
}`, {}, t)).cooMyFollowing.items
|
|
734
756
|
});
|
|
735
|
-
},
|
|
757
|
+
}, ge = (t) => {
|
|
736
758
|
let { apiGatewayUrl: r } = e();
|
|
737
759
|
return n({
|
|
738
760
|
queryKey: [
|
|
@@ -743,7 +765,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
743
765
|
queryFn: async () => {
|
|
744
766
|
let e = await s(`query CooLookbook($id: ID!) {
|
|
745
767
|
cooLookbook(id: $id) {
|
|
746
|
-
${
|
|
768
|
+
${v}
|
|
747
769
|
entries { items { ${Q} } pageInfo { cursor hasMore } }
|
|
748
770
|
}
|
|
749
771
|
}`, { id: t }, r);
|
|
@@ -756,7 +778,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
756
778
|
},
|
|
757
779
|
enabled: !!t
|
|
758
780
|
});
|
|
759
|
-
},
|
|
781
|
+
}, _e = () => {
|
|
760
782
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
761
783
|
return t({
|
|
762
784
|
mutationFn: async (e) => (await s("mutation CooDeleteLookbook($id: ID!) { cooDeleteLookbook(id: $id) }", { id: e }, i)).cooDeleteLookbook,
|
|
@@ -764,7 +786,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
764
786
|
n.invalidateQueries({ queryKey: [o, "lookbooks"] }), n.invalidateQueries({ queryKey: [o, "lookbook"] });
|
|
765
787
|
}
|
|
766
788
|
});
|
|
767
|
-
},
|
|
789
|
+
}, ve = (t) => {
|
|
768
790
|
let { apiGatewayUrl: r } = e();
|
|
769
791
|
return n({
|
|
770
792
|
queryKey: [
|
|
@@ -785,7 +807,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
785
807
|
}
|
|
786
808
|
}, r)).cooSearchStyleItems
|
|
787
809
|
});
|
|
788
|
-
},
|
|
810
|
+
}, ye = (t) => {
|
|
789
811
|
let { apiGatewayUrl: r } = e();
|
|
790
812
|
return n({
|
|
791
813
|
queryKey: [
|
|
@@ -795,7 +817,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
795
817
|
],
|
|
796
818
|
queryFn: async () => (await s(`query CooSearchLooks($input: CooSearchLooksInput!, $pagination: PaginationInput) {
|
|
797
819
|
cooSearchLooks(input: $input, pagination: $pagination) {
|
|
798
|
-
items { ${
|
|
820
|
+
items { ${f} }
|
|
799
821
|
pageInfo { cursor hasMore }
|
|
800
822
|
}
|
|
801
823
|
}`, {
|
|
@@ -806,7 +828,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
806
828
|
}
|
|
807
829
|
}, r)).cooSearchLooks
|
|
808
830
|
});
|
|
809
|
-
},
|
|
831
|
+
}, be = () => {
|
|
810
832
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
811
833
|
return t({
|
|
812
834
|
mutationFn: async (e) => (await s(`mutation CooApproveBrand($id: ID!) { cooApproveBrand(id: $id) { ${c} } }`, { id: e }, i)).cooApproveBrand,
|
|
@@ -818,7 +840,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
818
840
|
] });
|
|
819
841
|
}
|
|
820
842
|
});
|
|
821
|
-
},
|
|
843
|
+
}, xe = () => {
|
|
822
844
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
823
845
|
return t({
|
|
824
846
|
mutationFn: async (e) => (await s(`mutation CooRejectBrand($id: ID!) { cooRejectBrand(id: $id) { ${c} } }`, { id: e }, i)).cooRejectBrand,
|
|
@@ -830,11 +852,11 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
830
852
|
] });
|
|
831
853
|
}
|
|
832
854
|
});
|
|
833
|
-
},
|
|
855
|
+
}, Se = () => {
|
|
834
856
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
835
857
|
return t({
|
|
836
858
|
mutationFn: async ({ id: e, input: t }) => (await s(`mutation CooReviewCollaboration($id: ID!, $input: CooReviewCollaborationInput!) {
|
|
837
|
-
cooReviewCollaboration(id: $id, input: $input) { ${
|
|
859
|
+
cooReviewCollaboration(id: $id, input: $input) { ${m} }
|
|
838
860
|
}`, {
|
|
839
861
|
id: e,
|
|
840
862
|
input: t
|
|
@@ -847,7 +869,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
847
869
|
] });
|
|
848
870
|
}
|
|
849
871
|
});
|
|
850
|
-
},
|
|
872
|
+
}, Ce = () => {
|
|
851
873
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
852
874
|
return t({
|
|
853
875
|
mutationFn: async (e) => (await s(`mutation CooFeatureStyleItem($id: ID!) { cooFeatureStyleItem(id: $id) { ${u} } }`, { id: e }, i)).cooFeatureStyleItem,
|
|
@@ -859,7 +881,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
859
881
|
] });
|
|
860
882
|
}
|
|
861
883
|
});
|
|
862
|
-
},
|
|
884
|
+
}, we = () => {
|
|
863
885
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
864
886
|
return t({
|
|
865
887
|
mutationFn: async (e) => (await s(`mutation CooUnfeatureStyleItem($id: ID!) { cooUnfeatureStyleItem(id: $id) { ${u} } }`, { id: e }, i)).cooUnfeatureStyleItem,
|
|
@@ -873,6 +895,6 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
873
895
|
});
|
|
874
896
|
};
|
|
875
897
|
//#endregion
|
|
876
|
-
export {
|
|
898
|
+
export { h as COLLABORATION_PAYOUT_FIELDS, s as coolQuery, ue as useAddLookbookEntry, be as useApproveBrand, D as useArchiveCollection, N as useArchiveStyleItem, te as useBrand, ee as useBrands, K as useCollaboration, G as useCollaborations, C as useCollection, S as useCollections, y as useCreateBrand, ne as useCreateCollaboration, w as useCreateCollection, L as useCreateLook, le as useCreateLookbook, A as useCreateStyleItem, Z as useCreateWardrobeItem, Y as useDeleteCollaboration, W as useDeleteLook, _e as useDeleteLookbook, Ce as useFeatureStyleItem, $ as useFollow, pe as useIsFollowing, B as useLikeLook, re as useLogWardrobeWear, F as useLook, ge as useLookbook, ce as useLookbooks, P as useLooks, I as useLooksWithItems, he as useMyFollowing, ae as useMyStyleProfile, E as usePublishCollection, z as usePublishLook, xe as useRejectBrand, de as useRemoveLookbookEntry, ie as useRemoveWardrobeItem, Se as useReviewCollaboration, H as useSaveLook, ye as useSearchLooks, ve as useSearchStyleItems, k as useStyleItem, O as useStyleItems, oe as useStyleProfileByOwner, M as useSyncStyleItemStoreListing, x as useTransitionBrand, J as useTransitionCollaboration, we as useUnfeatureStyleItem, me as useUnfollow, V as useUnlikeLook, U as useUnsaveLook, b as useUpdateBrand, q as useUpdateCollaboration, T as useUpdateCollection, R as useUpdateLook, j as useUpdateStyleItem, se as useUpsertStyleProfile, X as useWardrobeItems };
|
|
877
899
|
|
|
878
900
|
//# sourceMappingURL=useCoolAndLovelyApi.js.map
|