@burdenoff/microfe-coolandlovely 2026.820.4 → 2026.827.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.
- package/dist/coolandlovely/CoolAndLovelyRoot.d.ts.map +1 -1
- package/dist/coolandlovely/CoolAndLovelyRoot.js +90 -54
- package/dist/coolandlovely/CoolAndLovelyRoot.js.map +1 -1
- package/dist/coolandlovely/CoolAndLovelyRoutes.d.ts.map +1 -1
- package/dist/coolandlovely/CoolAndLovelyRoutes.js +25 -6
- package/dist/coolandlovely/CoolAndLovelyRoutes.js.map +1 -1
- package/dist/coolandlovely/components/ActivityTrail.d.ts +24 -0
- package/dist/coolandlovely/components/ActivityTrail.d.ts.map +1 -0
- package/dist/coolandlovely/components/ActivityTrail.js +70 -0
- package/dist/coolandlovely/components/ActivityTrail.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 +4 -1
- package/dist/coolandlovely/hooks/index.d.ts.map +1 -1
- package/dist/coolandlovely/hooks/index.js +2 -0
- package/dist/coolandlovely/hooks/useActivity.d.ts +39 -0
- package/dist/coolandlovely/hooks/useActivity.d.ts.map +1 -0
- package/dist/coolandlovely/hooks/useActivity.js +38 -0
- package/dist/coolandlovely/hooks/useActivity.js.map +1 -0
- package/dist/coolandlovely/hooks/useAssistantEntity.d.ts +24 -0
- package/dist/coolandlovely/hooks/useAssistantEntity.d.ts.map +1 -0
- package/dist/coolandlovely/hooks/useAssistantEntity.js +12 -0
- package/dist/coolandlovely/hooks/useAssistantEntity.js.map +1 -0
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts +9 -1
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts.map +1 -1
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.js +79 -14
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.js.map +1 -1
- package/dist/coolandlovely/index.d.ts +1 -1
- package/dist/coolandlovely/index.d.ts.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminBrandsPage.d.ts +9 -0
- package/dist/coolandlovely/pages/admin/AdminBrandsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminBrandsPage.js +82 -0
- package/dist/coolandlovely/pages/admin/AdminBrandsPage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminCollaborationsPage.d.ts +9 -0
- package/dist/coolandlovely/pages/admin/AdminCollaborationsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminCollaborationsPage.js +142 -0
- package/dist/coolandlovely/pages/admin/AdminCollaborationsPage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminFeaturedItemsPage.d.ts +9 -0
- package/dist/coolandlovely/pages/admin/AdminFeaturedItemsPage.d.ts.map +1 -0
- package/dist/coolandlovely/pages/admin/AdminFeaturedItemsPage.js +139 -0
- package/dist/coolandlovely/pages/admin/AdminFeaturedItemsPage.js.map +1 -0
- package/dist/coolandlovely/pages/admin/index.d.ts +8 -0
- package/dist/coolandlovely/pages/admin/index.d.ts.map +1 -0
- package/dist/coolandlovely/pages/brands/BrandDetailPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/brands/BrandDetailPage.js +163 -143
- package/dist/coolandlovely/pages/brands/BrandDetailPage.js.map +1 -1
- package/dist/coolandlovely/pages/collaborations/CollaborationDetailPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/collaborations/CollaborationDetailPage.js +114 -113
- package/dist/coolandlovely/pages/collaborations/CollaborationDetailPage.js.map +1 -1
- package/dist/coolandlovely/pages/collections/CollectionDetailPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/collections/CollectionDetailPage.js +105 -104
- package/dist/coolandlovely/pages/collections/CollectionDetailPage.js.map +1 -1
- package/dist/coolandlovely/pages/discover/DiscoverPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/discover/DiscoverPage.js +289 -151
- package/dist/coolandlovely/pages/discover/DiscoverPage.js.map +1 -1
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.js +110 -109
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.js.map +1 -1
- package/dist/coolandlovely/pages/lookbooks/LookbookDetailPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/lookbooks/LookbookDetailPage.js +18 -15
- package/dist/coolandlovely/pages/lookbooks/LookbookDetailPage.js.map +1 -1
- package/dist/coolandlovely/pages/looks/LookDetailPage.d.ts.map +1 -1
- package/dist/coolandlovely/pages/looks/LookDetailPage.js +129 -128
- package/dist/coolandlovely/pages/looks/LookDetailPage.js.map +1 -1
- package/dist/coolandlovely/types/index.d.ts +7 -0
- package/dist/coolandlovely/types/index.d.ts.map +1 -1
- package/dist/stories/__fixtures__/coolandlovely.d.ts.map +1 -1
- package/dist/utils/pageContext.d.ts +23 -0
- package/dist/utils/pageContext.d.ts.map +1 -1
- package/dist/utils/pageContext.js +37 -25
- package/dist/utils/pageContext.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Audit-trail hooks — activity via wspace-activity-svc (NO new table).
|
|
3
|
+
* @module coolandlovely/hooks
|
|
4
|
+
*
|
|
5
|
+
* CoolAndLovely does NOT own an audit table. Every `coo*` mutation is already
|
|
6
|
+
* recorded by the svc's mutation-audit plugin
|
|
7
|
+
* (`wspace-coolandlovely-svc/src/plugins/mutation-audit-plugin.ts`) through
|
|
8
|
+
* be-sdk `trackOperation`, which writes an `ActivityLog` row on
|
|
9
|
+
* wspace-activity-svc carrying:
|
|
10
|
+
*
|
|
11
|
+
* action — the plugin's `eventName`, e.g. `coolandlovely.brand_transitioned`
|
|
12
|
+
* description — `"<action> <resourceType>: <fieldName>"`
|
|
13
|
+
* resourceType — e.g. `coolandlovely-brand`
|
|
14
|
+
* resourceId — the affected record's id
|
|
15
|
+
* userId — the acting actor
|
|
16
|
+
*
|
|
17
|
+
* This hook is purely the read surface over those rows (`getActivities`,
|
|
18
|
+
* federated on the workspace supergraph). Nothing is synthesised: when the
|
|
19
|
+
* service has no rows for a record, callers render an empty state.
|
|
20
|
+
*/
|
|
21
|
+
/** A single audit entry as surfaced in the MFE (scalar-only projection). */
|
|
22
|
+
export interface CooActivityEntry {
|
|
23
|
+
id: string;
|
|
24
|
+
action: string;
|
|
25
|
+
description: string | null;
|
|
26
|
+
resourceType: string | null;
|
|
27
|
+
resourceId: string | null;
|
|
28
|
+
userId: string;
|
|
29
|
+
timestamp: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Audit entries for one record, newest first.
|
|
33
|
+
*
|
|
34
|
+
* `getActivities` is `@rbac(action: "read", resource: "activity-log",
|
|
35
|
+
* scopeType: "wspace")` — a member without that permission gets an error from
|
|
36
|
+
* the gateway, which callers surface honestly rather than hiding.
|
|
37
|
+
*/
|
|
38
|
+
export declare const useEntityActivity: (resourceType: string, resourceId: string | undefined, limit?: number) => import('@tanstack/react-query').UseQueryResult<NoInfer<CooActivityEntry[]>, Error>;
|
|
39
|
+
//# sourceMappingURL=useActivity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActivity.d.ts","sourceRoot":"","sources":["../../../src/coolandlovely/hooks/useActivity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AASH,4EAA4E;AAC5E,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAqCD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAC5B,cAAc,MAAM,EACpB,YAAY,MAAM,GAAG,SAAS,EAC9B,cAAU,uFAiBX,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { useCoolAndLovely as e } from "../context/CoolAndLovelyContext.js";
|
|
2
|
+
import "../context/index.js";
|
|
3
|
+
import { useQuery as t } from "@tanstack/react-query";
|
|
4
|
+
import { graphqlFetch as n } from "@burdenoff/fe-libs/shared/graphql";
|
|
5
|
+
//#region src/coolandlovely/hooks/useActivity.ts
|
|
6
|
+
var r = "coolandlovely-activity", i = "\n query CooEntityActivity($filter: ActivityLogFilter) {\n getActivities(filter: $filter) {\n id\n action\n description\n resourceType\n resourceId\n userId\n timestamp\n }\n }\n", a = async (e, t, r) => {
|
|
7
|
+
let i = await n({
|
|
8
|
+
gateway: "workspace",
|
|
9
|
+
baseUrl: r,
|
|
10
|
+
query: e,
|
|
11
|
+
variables: t,
|
|
12
|
+
workspaceToken: !0
|
|
13
|
+
});
|
|
14
|
+
if (i.errors?.length) throw Error(i.errors[0]?.message ?? "Activity request failed");
|
|
15
|
+
if (!i.data) throw Error("Activity response did not include data");
|
|
16
|
+
return i.data;
|
|
17
|
+
}, o = (n, o, s = 20) => {
|
|
18
|
+
let { apiGatewayUrl: c, workspaceId: l } = e();
|
|
19
|
+
return t({
|
|
20
|
+
queryKey: [
|
|
21
|
+
r,
|
|
22
|
+
n,
|
|
23
|
+
o,
|
|
24
|
+
s
|
|
25
|
+
],
|
|
26
|
+
enabled: !!o && !!l,
|
|
27
|
+
queryFn: async () => [...(await a(i, { filter: {
|
|
28
|
+
workspaceId: l,
|
|
29
|
+
resourceType: n,
|
|
30
|
+
resourceId: o,
|
|
31
|
+
limit: s
|
|
32
|
+
} }, c)).getActivities].sort((e, t) => new Date(t.timestamp).getTime() - new Date(e.timestamp).getTime())
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { o as useEntityActivity };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=useActivity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActivity.js","names":[],"sources":["../../../src/coolandlovely/hooks/useActivity.ts"],"sourcesContent":["/**\n * Audit-trail hooks — activity via wspace-activity-svc (NO new table).\n * @module coolandlovely/hooks\n *\n * CoolAndLovely does NOT own an audit table. Every `coo*` mutation is already\n * recorded by the svc's mutation-audit plugin\n * (`wspace-coolandlovely-svc/src/plugins/mutation-audit-plugin.ts`) through\n * be-sdk `trackOperation`, which writes an `ActivityLog` row on\n * wspace-activity-svc carrying:\n *\n * action — the plugin's `eventName`, e.g. `coolandlovely.brand_transitioned`\n * description — `\"<action> <resourceType>: <fieldName>\"`\n * resourceType — e.g. `coolandlovely-brand`\n * resourceId — the affected record's id\n * userId — the acting actor\n *\n * This hook is purely the read surface over those rows (`getActivities`,\n * federated on the workspace supergraph). Nothing is synthesised: when the\n * service has no rows for a record, callers render an empty state.\n */\n\nimport { useQuery } from '@tanstack/react-query';\nimport { graphqlFetch } from '@burdenoff/fe-libs/shared/graphql';\n\nimport { useCoolAndLovely } from '../context';\n\nconst QK = 'coolandlovely-activity';\n\n/** A single audit entry as surfaced in the MFE (scalar-only projection). */\nexport interface CooActivityEntry {\n id: string;\n action: string;\n description: string | null;\n resourceType: string | null;\n resourceId: string | null;\n userId: string;\n timestamp: string;\n}\n\nconst GET_ACTIVITIES = `\n query CooEntityActivity($filter: ActivityLogFilter) {\n getActivities(filter: $filter) {\n id\n action\n description\n resourceType\n resourceId\n userId\n timestamp\n }\n }\n`;\n\nconst activityFetch = async <TData>(\n query: string,\n variables: Record<string, unknown>,\n baseUrl?: string\n): Promise<TData> => {\n const response = await graphqlFetch<TData>({\n gateway: 'workspace',\n baseUrl,\n query,\n variables,\n workspaceToken: true,\n });\n if (response.errors?.length) {\n throw new Error(response.errors[0]?.message ?? 'Activity request failed');\n }\n if (!response.data) {\n throw new Error('Activity response did not include data');\n }\n return response.data;\n};\n\n/**\n * Audit entries for one record, newest first.\n *\n * `getActivities` is `@rbac(action: \"read\", resource: \"activity-log\",\n * scopeType: \"wspace\")` — a member without that permission gets an error from\n * the gateway, which callers surface honestly rather than hiding.\n */\nexport const useEntityActivity = (\n resourceType: string,\n resourceId: string | undefined,\n limit = 20\n) => {\n const { apiGatewayUrl, workspaceId } = useCoolAndLovely();\n return useQuery({\n queryKey: [QK, resourceType, resourceId, limit],\n enabled: Boolean(resourceId) && Boolean(workspaceId),\n queryFn: async (): Promise<CooActivityEntry[]> => {\n const data = await activityFetch<{ getActivities: CooActivityEntry[] }>(\n GET_ACTIVITIES,\n { filter: { workspaceId, resourceType, resourceId, limit } },\n apiGatewayUrl\n );\n return [...data.getActivities].sort(\n (a, b) => new Date(b.timestamp).getTime() - new Date(a.timestamp).getTime()\n );\n },\n });\n};\n"],"mappings":";;;;;AA0BA,IAAM,IAAK,0BAaL,IAAiB,iOAcjB,IAAgB,OACpB,GACA,GACA,MACmB;CACnB,IAAM,IAAW,MAAM,EAAoB;EACzC,SAAS;EACT;EACA;EACA;EACA,gBAAgB;EACjB,CAAC;AACF,KAAI,EAAS,QAAQ,OACnB,OAAU,MAAM,EAAS,OAAO,IAAI,WAAW,0BAA0B;AAE3E,KAAI,CAAC,EAAS,KACZ,OAAU,MAAM,yCAAyC;AAE3D,QAAO,EAAS;GAUL,KACX,GACA,GACA,IAAQ,OACL;CACH,IAAM,EAAE,kBAAe,mBAAgB,GAAkB;AACzD,QAAO,EAAS;EACd,UAAU;GAAC;GAAI;GAAc;GAAY;GAAM;EAC/C,SAAS,EAAQ,KAAe,EAAQ;EACxC,SAAS,YAMA,CAAC,IALK,MAAM,EACjB,GACA,EAAE,QAAQ;GAAE;GAAa;GAAc;GAAY;GAAO,EAAE,EAC5D,EACD,EACe,cAAc,CAAC,MAC5B,GAAG,MAAM,IAAI,KAAK,EAAE,UAAU,CAAC,SAAS,GAAG,IAAI,KAAK,EAAE,UAAU,CAAC,SAAS,CAC5E;EAEJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assistant screen-context hook.
|
|
3
|
+
* @module coolandlovely/hooks
|
|
4
|
+
*
|
|
5
|
+
* The floating assistant already receives `entityType` / `entityId`, both
|
|
6
|
+
* resolved from the URL. Neither tells the model WHAT the shopper is looking
|
|
7
|
+
* at, so "publish this storefront" or "what collections is this in" forces the
|
|
8
|
+
* assistant to echo a UUID back at a human.
|
|
9
|
+
*
|
|
10
|
+
* `entityName` is one of the agent's allowed context keys
|
|
11
|
+
* (`~/products/wspace/sandbox/ai-assistant/src/context-loader.ts`), but nothing
|
|
12
|
+
* in this product ever sent it. Detail pages call this hook with the name from
|
|
13
|
+
* their own loaded record — no extra request, no invented label — and it is
|
|
14
|
+
* withdrawn again on unmount.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Publish the current entity's display name to the assistant page context.
|
|
18
|
+
*
|
|
19
|
+
* Safe to call before the record has loaded: a missing id or name simply
|
|
20
|
+
* publishes nothing, so the assistant falls back to the id-only context it
|
|
21
|
+
* gets today rather than receiving a placeholder.
|
|
22
|
+
*/
|
|
23
|
+
export declare function useAssistantEntityName(entityId: string | undefined, entityName: string | null | undefined): void;
|
|
24
|
+
//# sourceMappingURL=useAssistantEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAssistantEntity.d.ts","sourceRoot":"","sources":["../../../src/coolandlovely/hooks/useAssistantEntity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACpC,IAAI,CAMN"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { clearActiveEntityName as e, setActiveEntityName as t } from "../../utils/pageContext.js";
|
|
2
|
+
import { useEffect as n } from "react";
|
|
3
|
+
//#region src/coolandlovely/hooks/useAssistantEntity.ts
|
|
4
|
+
function r(r, i) {
|
|
5
|
+
n(() => {
|
|
6
|
+
if (!(!r || !i)) return t(r, i), () => e(r);
|
|
7
|
+
}, [r, i]);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { r as useAssistantEntityName };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=useAssistantEntity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAssistantEntity.js","names":[],"sources":["../../../src/coolandlovely/hooks/useAssistantEntity.ts"],"sourcesContent":["/**\n * Assistant screen-context hook.\n * @module coolandlovely/hooks\n *\n * The floating assistant already receives `entityType` / `entityId`, both\n * resolved from the URL. Neither tells the model WHAT the shopper is looking\n * at, so \"publish this storefront\" or \"what collections is this in\" forces the\n * assistant to echo a UUID back at a human.\n *\n * `entityName` is one of the agent's allowed context keys\n * (`~/products/wspace/sandbox/ai-assistant/src/context-loader.ts`), but nothing\n * in this product ever sent it. Detail pages call this hook with the name from\n * their own loaded record — no extra request, no invented label — and it is\n * withdrawn again on unmount.\n */\n\nimport { useEffect } from 'react';\n\nimport { clearActiveEntityName, setActiveEntityName } from '../../utils/pageContext';\n\n/**\n * Publish the current entity's display name to the assistant page context.\n *\n * Safe to call before the record has loaded: a missing id or name simply\n * publishes nothing, so the assistant falls back to the id-only context it\n * gets today rather than receiving a placeholder.\n */\nexport function useAssistantEntityName(\n entityId: string | undefined,\n entityName: string | null | undefined\n): void {\n useEffect(() => {\n if (!entityId || !entityName) return;\n setActiveEntityName(entityId, entityName);\n return () => clearActiveEntityName(entityId);\n }, [entityId, entityName]);\n}\n"],"mappings":";;;AA2BA,SAAgB,EACd,GACA,GACM;AACN,SAAgB;AACV,SAAC,KAAY,CAAC,GAElB,QADA,EAAoB,GAAU,EAAW,QAC5B,EAAsB,EAAS;IAC3C,CAAC,GAAU,EAAW,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CooAddLookbookEntryInput, CooBrand, CooBrandConnection, CooBrandStatus, CooCollaboration, CooCollaborationStatus, CooCollection, CooCollectionStatus, CooCreateBrandInput, CooCreateCollaborationInput, CooCreateCollectionInput, CooCreateLookInput, CooCreateLookbookInput, CooCreateStyleItemInput, CooCreateWardrobeItemInput, CooLook, CooLookConnection, CooLookOccasion, CooLookbook, CooStyleCategory, CooStyleItem, CooStyleItemConnection, CooStyleItemStatus, CooStyleProfile, CooUpdateBrandInput, CooUpdateCollaborationInput, CooUpdateCollectionInput, CooUpdateLookInput, CooUpdateStyleItemInput, CooUpdateWardrobeItemInput, CooUpsertStyleProfileInput, CooWardrobeItem, CooWardrobeSource, PaginationInput, CooSearchStyleItemsInput, CooSearchLooksInput } from '../types';
|
|
1
|
+
import { CooAddLookbookEntryInput, CooBrand, CooBrandConnection, CooBrandStatus, CooCollaboration, CooCollaborationStatus, CooCollection, CooCollectionStatus, CooCreateBrandInput, CooCreateCollaborationInput, CooCreateCollectionInput, CooCreateLookInput, CooCreateLookbookInput, CooCreateStyleItemInput, CooCreateWardrobeItemInput, CooLook, CooLookConnection, CooLookOccasion, CooLookbook, CooStyleCategory, CooStyleItem, CooStyleItemConnection, CooStyleItemStatus, CooStyleProfile, CooUpdateBrandInput, CooUpdateCollaborationInput, CooUpdateCollectionInput, CooUpdateLookInput, CooUpdateStyleItemInput, CooUpdateWardrobeItemInput, CooUpsertStyleProfileInput, CooWardrobeItem, CooWardrobeSource, PaginationInput, CooSearchStyleItemsInput, CooSearchLooksInput, CooReviewCollaborationInput } from '../types';
|
|
2
2
|
|
|
3
3
|
export interface ListBrandsArgs {
|
|
4
4
|
status?: CooBrandStatus;
|
|
@@ -166,4 +166,12 @@ export interface SearchLooksArgs {
|
|
|
166
166
|
pagination?: PaginationInput;
|
|
167
167
|
}
|
|
168
168
|
export declare const useSearchLooks: (args: SearchLooksArgs) => import('@tanstack/react-query').UseQueryResult<NoInfer<CooLookConnection>, Error>;
|
|
169
|
+
export declare const useApproveBrand: () => import('@tanstack/react-query').UseMutationResult<CooBrand, Error, string, unknown>;
|
|
170
|
+
export declare const useRejectBrand: () => import('@tanstack/react-query').UseMutationResult<CooBrand, Error, string, unknown>;
|
|
171
|
+
export declare const useReviewCollaboration: () => import('@tanstack/react-query').UseMutationResult<CooCollaboration, Error, {
|
|
172
|
+
id: string;
|
|
173
|
+
input: CooReviewCollaborationInput;
|
|
174
|
+
}, unknown>;
|
|
175
|
+
export declare const useFeatureStyleItem: () => import('@tanstack/react-query').UseMutationResult<CooStyleItem, Error, string, unknown>;
|
|
176
|
+
export declare const useUnfeatureStyleItem: () => import('@tanstack/react-query').UseMutationResult<CooStyleItem, Error, string, unknown>;
|
|
169
177
|
//# sourceMappingURL=useCoolAndLovelyApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCoolAndLovelyApi.d.ts","sourceRoot":"","sources":["../../../src/coolandlovely/hooks/useCoolAndLovelyApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAWH,OAAO,KAAK,EACV,wBAAwB,EACxB,QAAQ,EACR,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAEhB,sBAAsB,EACtB,aAAa,EAEb,mBAAmB,EACnB,mBAAmB,EACnB,2BAA2B,EAC3B,wBAAwB,EACxB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,0BAA0B,EAC1B,OAAO,EACP,iBAAiB,EAEjB,eAAe,EACf,WAAW,EAEX,gBAAgB,EAChB,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EAEf,mBAAmB,EACnB,2BAA2B,EAC3B,wBAAwB,EACxB,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,0BAA0B,EAC1B,eAAe,EAEf,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"useCoolAndLov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CAAC;AAEF,eAAO,MAAM,sBAAsB;QAIS,MAAM;WAAS,2BAA2B;WAerF,CAAC;AAEF,eAAO,MAAM,mBAAmB,+FAiB/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,+FAiBjC,CAAC"}
|
|
@@ -451,7 +451,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
451
451
|
] });
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
|
-
},
|
|
454
|
+
}, V = () => {
|
|
455
455
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
456
456
|
return t({
|
|
457
457
|
mutationFn: async (e) => (await s("mutation CooDeleteLook($id: ID!) { cooDeleteLook(id: $id) }", { id: e }, i)).cooDeleteLook,
|
|
@@ -459,7 +459,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
459
459
|
n.invalidateQueries({ queryKey: [o, "looks"] }), n.invalidateQueries({ queryKey: [o, "looks-with-items"] });
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
|
-
},
|
|
462
|
+
}, H = (t = {}) => {
|
|
463
463
|
let { apiGatewayUrl: r } = e();
|
|
464
464
|
return n({
|
|
465
465
|
queryKey: [
|
|
@@ -478,7 +478,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
478
478
|
status: t.status
|
|
479
479
|
}, r)).cooListCollaborations.items
|
|
480
480
|
});
|
|
481
|
-
},
|
|
481
|
+
}, U = (t) => {
|
|
482
482
|
let { apiGatewayUrl: r } = e();
|
|
483
483
|
return n({
|
|
484
484
|
queryKey: [
|
|
@@ -503,7 +503,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
503
503
|
},
|
|
504
504
|
enabled: !!t
|
|
505
505
|
});
|
|
506
|
-
},
|
|
506
|
+
}, W = () => {
|
|
507
507
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
508
508
|
return t({
|
|
509
509
|
mutationFn: async (e) => (await s(`mutation CooCreateCollaboration($input: CooCreateCollaborationInput!) {
|
|
@@ -513,7 +513,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
513
513
|
n.invalidateQueries({ queryKey: [o, "collaborations"] });
|
|
514
514
|
}
|
|
515
515
|
});
|
|
516
|
-
},
|
|
516
|
+
}, ne = () => {
|
|
517
517
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
518
518
|
return t({
|
|
519
519
|
mutationFn: async ({ id: e, input: t }) => (await s(`mutation CooUpdateCollaboration($id: ID!, $input: CooUpdateCollaborationInput!) {
|
|
@@ -664,7 +664,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
664
664
|
n.invalidateQueries({ queryKey: [o, "lookbooks"] });
|
|
665
665
|
}
|
|
666
666
|
});
|
|
667
|
-
},
|
|
667
|
+
}, se = () => {
|
|
668
668
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
669
669
|
return t({
|
|
670
670
|
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,
|
|
@@ -676,7 +676,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
676
676
|
] });
|
|
677
677
|
}
|
|
678
678
|
});
|
|
679
|
-
},
|
|
679
|
+
}, ce = () => {
|
|
680
680
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
681
681
|
return t({
|
|
682
682
|
mutationFn: async (e) => (await s("mutation CooRemoveLookbookEntry($id: ID!) { cooRemoveLookbookEntry(id: $id) }", { id: e }, i)).cooRemoveLookbookEntry,
|
|
@@ -684,7 +684,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
684
684
|
n.invalidateQueries({ queryKey: [o, "lookbooks"] }), n.invalidateQueries({ queryKey: [o, "lookbook"] });
|
|
685
685
|
}
|
|
686
686
|
});
|
|
687
|
-
},
|
|
687
|
+
}, le = "\n id workspaceId ownerId displayName bio visibility\n stylePreferences palette favouriteBrands\n isFollowedByMe followerCount followingCount\n", ue = (t) => {
|
|
688
688
|
let { apiGatewayUrl: r } = e();
|
|
689
689
|
return n({
|
|
690
690
|
queryKey: [
|
|
@@ -695,7 +695,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
695
695
|
enabled: !!t,
|
|
696
696
|
queryFn: async () => (await s("query CooIsFollowing($followeeId: ID!) { cooIsFollowing(followeeId: $followeeId) }", { followeeId: t }, r)).cooIsFollowing
|
|
697
697
|
});
|
|
698
|
-
},
|
|
698
|
+
}, de = () => {
|
|
699
699
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
700
700
|
return t({
|
|
701
701
|
mutationFn: async (e) => (await s("mutation CooFollow($followeeId: ID!) { cooFollow(followeeId: $followeeId) }", { followeeId: e }, i)).cooFollow,
|
|
@@ -707,7 +707,7 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
707
707
|
] }), n.invalidateQueries({ queryKey: [o, "my-following"] }), n.invalidateQueries({ queryKey: [o, "my-followers"] }), n.invalidateQueries({ queryKey: [o, "my-style-profile"] });
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
|
-
},
|
|
710
|
+
}, fe = () => {
|
|
711
711
|
let n = r(), { apiGatewayUrl: i } = e();
|
|
712
712
|
return t({
|
|
713
713
|
mutationFn: async (e) => (await s("mutation CooUnfollow($followeeId: ID!) { cooUnfollow(followeeId: $followeeId) }", { followeeId: e }, i)).cooUnfollow,
|
|
@@ -719,15 +719,15 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
719
719
|
] }), n.invalidateQueries({ queryKey: [o, "my-following"] }), n.invalidateQueries({ queryKey: [o, "my-followers"] }), n.invalidateQueries({ queryKey: [o, "my-style-profile"] });
|
|
720
720
|
}
|
|
721
721
|
});
|
|
722
|
-
},
|
|
722
|
+
}, pe = () => {
|
|
723
723
|
let { apiGatewayUrl: t } = e();
|
|
724
724
|
return n({
|
|
725
725
|
queryKey: [o, "my-following"],
|
|
726
726
|
queryFn: async () => (await s(`query CooMyFollowing {
|
|
727
|
-
cooMyFollowing { items { ${
|
|
727
|
+
cooMyFollowing { items { ${le} } pageInfo { cursor hasMore } }
|
|
728
728
|
}`, {}, t)).cooMyFollowing.items
|
|
729
729
|
});
|
|
730
|
-
},
|
|
730
|
+
}, $ = (t) => {
|
|
731
731
|
let { apiGatewayUrl: r } = e();
|
|
732
732
|
return n({
|
|
733
733
|
queryKey: [
|
|
@@ -801,8 +801,73 @@ var o = "coolandlovely", s = async (e, t, n) => {
|
|
|
801
801
|
}
|
|
802
802
|
}, r)).cooSearchLooks
|
|
803
803
|
});
|
|
804
|
+
}, _e = () => {
|
|
805
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
806
|
+
return t({
|
|
807
|
+
mutationFn: async (e) => (await s(`mutation CooApproveBrand($id: ID!) { cooApproveBrand(id: $id) { ${c} } }`, { id: e }, i)).cooApproveBrand,
|
|
808
|
+
onSuccess: (e) => {
|
|
809
|
+
n.invalidateQueries({ queryKey: [o, "brands"] }), n.invalidateQueries({ queryKey: [
|
|
810
|
+
o,
|
|
811
|
+
"brand",
|
|
812
|
+
e.id
|
|
813
|
+
] });
|
|
814
|
+
}
|
|
815
|
+
});
|
|
816
|
+
}, ve = () => {
|
|
817
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
818
|
+
return t({
|
|
819
|
+
mutationFn: async (e) => (await s(`mutation CooRejectBrand($id: ID!) { cooRejectBrand(id: $id) { ${c} } }`, { id: e }, i)).cooRejectBrand,
|
|
820
|
+
onSuccess: (e) => {
|
|
821
|
+
n.invalidateQueries({ queryKey: [o, "brands"] }), n.invalidateQueries({ queryKey: [
|
|
822
|
+
o,
|
|
823
|
+
"brand",
|
|
824
|
+
e.id
|
|
825
|
+
] });
|
|
826
|
+
}
|
|
827
|
+
});
|
|
828
|
+
}, ye = () => {
|
|
829
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
830
|
+
return t({
|
|
831
|
+
mutationFn: async ({ id: e, input: t }) => (await s(`mutation CooReviewCollaboration($id: ID!, $input: CooReviewCollaborationInput!) {
|
|
832
|
+
cooReviewCollaboration(id: $id, input: $input) { ${p} }
|
|
833
|
+
}`, {
|
|
834
|
+
id: e,
|
|
835
|
+
input: t
|
|
836
|
+
}, i)).cooReviewCollaboration,
|
|
837
|
+
onSuccess: (e) => {
|
|
838
|
+
n.invalidateQueries({ queryKey: [o, "collaborations"] }), n.invalidateQueries({ queryKey: [
|
|
839
|
+
o,
|
|
840
|
+
"collaboration",
|
|
841
|
+
e.id
|
|
842
|
+
] });
|
|
843
|
+
}
|
|
844
|
+
});
|
|
845
|
+
}, be = () => {
|
|
846
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
847
|
+
return t({
|
|
848
|
+
mutationFn: async (e) => (await s(`mutation CooFeatureStyleItem($id: ID!) { cooFeatureStyleItem(id: $id) { ${u} } }`, { id: e }, i)).cooFeatureStyleItem,
|
|
849
|
+
onSuccess: (e) => {
|
|
850
|
+
n.invalidateQueries({ queryKey: [o, "style-items"] }), n.invalidateQueries({ queryKey: [
|
|
851
|
+
o,
|
|
852
|
+
"style-item",
|
|
853
|
+
e.id
|
|
854
|
+
] });
|
|
855
|
+
}
|
|
856
|
+
});
|
|
857
|
+
}, xe = () => {
|
|
858
|
+
let n = r(), { apiGatewayUrl: i } = e();
|
|
859
|
+
return t({
|
|
860
|
+
mutationFn: async (e) => (await s(`mutation CooUnfeatureStyleItem($id: ID!) { cooUnfeatureStyleItem(id: $id) { ${u} } }`, { id: e }, i)).cooUnfeatureStyleItem,
|
|
861
|
+
onSuccess: (e) => {
|
|
862
|
+
n.invalidateQueries({ queryKey: [o, "style-items"] }), n.invalidateQueries({ queryKey: [
|
|
863
|
+
o,
|
|
864
|
+
"style-item",
|
|
865
|
+
e.id
|
|
866
|
+
] });
|
|
867
|
+
}
|
|
868
|
+
});
|
|
804
869
|
};
|
|
805
870
|
//#endregion
|
|
806
|
-
export {
|
|
871
|
+
export { se as useAddLookbookEntry, _e as useApproveBrand, T as useArchiveCollection, A as useArchiveStyleItem, te as useBrand, ee as useBrands, U as useCollaboration, H as useCollaborations, x as useCollection, b as useCollections, _ as useCreateBrand, W as useCreateCollaboration, S as useCreateCollection, P as useCreateLook, oe as useCreateLookbook, O as useCreateStyleItem, J as useCreateWardrobeItem, K as useDeleteCollaboration, V as useDeleteLook, me as useDeleteLookbook, be as useFeatureStyleItem, de as useFollow, ue as useIsFollowing, L as useLikeLook, Y as useLogWardrobeWear, M as useLook, $ as useLookbook, ae as useLookbooks, j as useLooks, N as useLooksWithItems, pe as useMyFollowing, Z as useMyStyleProfile, w as usePublishCollection, I as usePublishLook, ve as useRejectBrand, ce as useRemoveLookbookEntry, X as useRemoveWardrobeItem, ye as useReviewCollaboration, z as useSaveLook, ge as useSearchLooks, he as useSearchStyleItems, D as useStyleItem, E as useStyleItems, re as useStyleProfileByOwner, y as useTransitionBrand, G as useTransitionCollaboration, xe as useUnfeatureStyleItem, fe as useUnfollow, R as useUnlikeLook, B as useUnsaveLook, v as useUpdateBrand, ne as useUpdateCollaboration, C as useUpdateCollection, F as useUpdateLook, k as useUpdateStyleItem, ie as useUpsertStyleProfile, q as useWardrobeItems };
|
|
807
872
|
|
|
808
873
|
//# sourceMappingURL=useCoolAndLovelyApi.js.map
|