@burdenoff/microfe-coolandlovely 2026.1024.1 → 2026.1024.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/package.json +1 -1
- package/dist/coolandlovely/CoolAndLovelyRoot.d.ts +0 -5
- package/dist/coolandlovely/CoolAndLovelyRoot.d.ts.map +0 -1
- package/dist/coolandlovely/CoolAndLovelyRoutes.d.ts +0 -4
- package/dist/coolandlovely/CoolAndLovelyRoutes.d.ts.map +0 -1
- package/dist/coolandlovely/components/ActivityTrail.d.ts +0 -24
- package/dist/coolandlovely/components/ActivityTrail.d.ts.map +0 -1
- package/dist/coolandlovely/components/ActorName.d.ts +0 -14
- package/dist/coolandlovely/components/ActorName.d.ts.map +0 -1
- package/dist/coolandlovely/components/AddToLookbookButton.d.ts +0 -10
- package/dist/coolandlovely/components/AddToLookbookButton.d.ts.map +0 -1
- package/dist/coolandlovely/components/BrandCard.d.ts +0 -11
- package/dist/coolandlovely/components/BrandCard.d.ts.map +0 -1
- package/dist/coolandlovely/components/BrandCover.d.ts +0 -17
- package/dist/coolandlovely/components/BrandCover.d.ts.map +0 -1
- package/dist/coolandlovely/components/BrandCreatorAvatars.d.ts +0 -14
- package/dist/coolandlovely/components/BrandCreatorAvatars.d.ts.map +0 -1
- package/dist/coolandlovely/components/CollectionCard.d.ts +0 -11
- package/dist/coolandlovely/components/CollectionCard.d.ts.map +0 -1
- package/dist/coolandlovely/components/ColourSwatchRow.d.ts +0 -11
- package/dist/coolandlovely/components/ColourSwatchRow.d.ts.map +0 -1
- package/dist/coolandlovely/components/Comments.d.ts +0 -14
- package/dist/coolandlovely/components/Comments.d.ts.map +0 -1
- package/dist/coolandlovely/components/EmptyState.d.ts +0 -14
- package/dist/coolandlovely/components/EmptyState.d.ts.map +0 -1
- package/dist/coolandlovely/components/FeedbackWidget.d.ts +0 -4
- package/dist/coolandlovely/components/FeedbackWidget.d.ts.map +0 -1
- package/dist/coolandlovely/components/Field.d.ts +0 -71
- package/dist/coolandlovely/components/Field.d.ts.map +0 -1
- package/dist/coolandlovely/components/FileImage.d.ts +0 -10
- package/dist/coolandlovely/components/FileImage.d.ts.map +0 -1
- package/dist/coolandlovely/components/FollowButton.d.ts +0 -11
- package/dist/coolandlovely/components/FollowButton.d.ts.map +0 -1
- package/dist/coolandlovely/components/ImageUploadField.d.ts +0 -21
- package/dist/coolandlovely/components/ImageUploadField.d.ts.map +0 -1
- package/dist/coolandlovely/components/LookCard.d.ts +0 -19
- package/dist/coolandlovely/components/LookCard.d.ts.map +0 -1
- package/dist/coolandlovely/components/LookbookCard.d.ts +0 -11
- package/dist/coolandlovely/components/LookbookCard.d.ts.map +0 -1
- package/dist/coolandlovely/components/MetricsCard.d.ts +0 -23
- package/dist/coolandlovely/components/MetricsCard.d.ts.map +0 -1
- package/dist/coolandlovely/components/PageLayout.d.ts +0 -17
- package/dist/coolandlovely/components/PageLayout.d.ts.map +0 -1
- package/dist/coolandlovely/components/ShopItemCard.d.ts +0 -15
- package/dist/coolandlovely/components/ShopItemCard.d.ts.map +0 -1
- package/dist/coolandlovely/components/StateViews.d.ts +0 -16
- package/dist/coolandlovely/components/StateViews.d.ts.map +0 -1
- package/dist/coolandlovely/components/StatusBadge.d.ts +0 -9
- package/dist/coolandlovely/components/StatusBadge.d.ts.map +0 -1
- package/dist/coolandlovely/components/StepTracker.d.ts +0 -12
- package/dist/coolandlovely/components/StepTracker.d.ts.map +0 -1
- package/dist/coolandlovely/components/TagList.d.ts +0 -12
- package/dist/coolandlovely/components/TagList.d.ts.map +0 -1
- package/dist/coolandlovely/components/Thumbnail.d.ts +0 -23
- package/dist/coolandlovely/components/Thumbnail.d.ts.map +0 -1
- package/dist/coolandlovely/components/VisibilityChip.d.ts +0 -10
- package/dist/coolandlovely/components/VisibilityChip.d.ts.map +0 -1
- package/dist/coolandlovely/components/WardrobeItemCard.d.ts +0 -14
- package/dist/coolandlovely/components/WardrobeItemCard.d.ts.map +0 -1
- package/dist/coolandlovely/components/index.d.ts +0 -32
- package/dist/coolandlovely/components/index.d.ts.map +0 -1
- package/dist/coolandlovely/context/CoolAndLovelyContext.d.ts +0 -16
- package/dist/coolandlovely/context/CoolAndLovelyContext.d.ts.map +0 -1
- package/dist/coolandlovely/context/index.d.ts +0 -6
- package/dist/coolandlovely/context/index.d.ts.map +0 -1
- package/dist/coolandlovely/hooks/index.d.ts +0 -15
- package/dist/coolandlovely/hooks/index.d.ts.map +0 -1
- package/dist/coolandlovely/hooks/useActivity.d.ts +0 -39
- package/dist/coolandlovely/hooks/useActivity.d.ts.map +0 -1
- package/dist/coolandlovely/hooks/useAssistantEntity.d.ts +0 -24
- package/dist/coolandlovely/hooks/useAssistantEntity.d.ts.map +0 -1
- package/dist/coolandlovely/hooks/useComments.d.ts +0 -37
- package/dist/coolandlovely/hooks/useComments.d.ts.map +0 -1
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts +0 -177
- package/dist/coolandlovely/hooks/useCoolAndLovelyApi.d.ts.map +0 -1
- package/dist/coolandlovely/hooks/useFiles.d.ts +0 -62
- package/dist/coolandlovely/hooks/useFiles.d.ts.map +0 -1
- package/dist/coolandlovely/hooks/useTr.d.ts +0 -2
- package/dist/coolandlovely/hooks/useTr.d.ts.map +0 -1
- package/dist/coolandlovely/index.d.ts +0 -11
- package/dist/coolandlovely/index.d.ts.map +0 -1
- package/dist/coolandlovely/pages/HomePage.d.ts +0 -10
- package/dist/coolandlovely/pages/HomePage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/admin/AdminBrandsPage.d.ts +0 -9
- package/dist/coolandlovely/pages/admin/AdminBrandsPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/admin/AdminCollaborationsPage.d.ts +0 -9
- package/dist/coolandlovely/pages/admin/AdminCollaborationsPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/admin/AdminFeaturedItemsPage.d.ts +0 -9
- package/dist/coolandlovely/pages/admin/AdminFeaturedItemsPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/admin/index.d.ts +0 -8
- package/dist/coolandlovely/pages/admin/index.d.ts.map +0 -1
- package/dist/coolandlovely/pages/brands/BrandDetailPage.d.ts +0 -9
- package/dist/coolandlovely/pages/brands/BrandDetailPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/brands/BrandFormPage.d.ts +0 -9
- package/dist/coolandlovely/pages/brands/BrandFormPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/brands/BrandsListPage.d.ts +0 -9
- package/dist/coolandlovely/pages/brands/BrandsListPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/collaborations/CollaborationDetailPage.d.ts +0 -9
- package/dist/coolandlovely/pages/collaborations/CollaborationDetailPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/collaborations/CollaborationFormPage.d.ts +0 -11
- package/dist/coolandlovely/pages/collaborations/CollaborationFormPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/collaborations/CollaborationsListPage.d.ts +0 -9
- package/dist/coolandlovely/pages/collaborations/CollaborationsListPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/collections/CollectionDetailPage.d.ts +0 -9
- package/dist/coolandlovely/pages/collections/CollectionDetailPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/collections/CollectionFormPage.d.ts +0 -9
- package/dist/coolandlovely/pages/collections/CollectionFormPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/collections/CollectionsListPage.d.ts +0 -8
- package/dist/coolandlovely/pages/collections/CollectionsListPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/discover/DiscoverPage.d.ts +0 -14
- package/dist/coolandlovely/pages/discover/DiscoverPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.d.ts +0 -9
- package/dist/coolandlovely/pages/items/StyleItemDetailPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/items/StyleItemFormPage.d.ts +0 -10
- package/dist/coolandlovely/pages/items/StyleItemFormPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/items/StyleItemsListPage.d.ts +0 -9
- package/dist/coolandlovely/pages/items/StyleItemsListPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/lookbooks/LookbookDetailPage.d.ts +0 -12
- package/dist/coolandlovely/pages/lookbooks/LookbookDetailPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/lookbooks/LookbooksListPage.d.ts +0 -10
- package/dist/coolandlovely/pages/lookbooks/LookbooksListPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/looks/LookDetailPage.d.ts +0 -11
- package/dist/coolandlovely/pages/looks/LookDetailPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/looks/LookFormPage.d.ts +0 -10
- package/dist/coolandlovely/pages/looks/LookFormPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/looks/LooksListPage.d.ts +0 -9
- package/dist/coolandlovely/pages/looks/LooksListPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/profile/StyleProfilePage.d.ts +0 -17
- package/dist/coolandlovely/pages/profile/StyleProfilePage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/trends/TrendsPage.d.ts +0 -11
- package/dist/coolandlovely/pages/trends/TrendsPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/wardrobe/WardrobeFormPage.d.ts +0 -10
- package/dist/coolandlovely/pages/wardrobe/WardrobeFormPage.d.ts.map +0 -1
- package/dist/coolandlovely/pages/wardrobe/WardrobeListPage.d.ts +0 -12
- package/dist/coolandlovely/pages/wardrobe/WardrobeListPage.d.ts.map +0 -1
- package/dist/coolandlovely/store/coolandlovelyStore.d.ts +0 -56
- package/dist/coolandlovely/store/coolandlovelyStore.d.ts.map +0 -1
- package/dist/coolandlovely/store/index.d.ts +0 -6
- package/dist/coolandlovely/store/index.d.ts.map +0 -1
- package/dist/coolandlovely/types/index.d.ts +0 -526
- package/dist/coolandlovely/types/index.d.ts.map +0 -1
- package/dist/coolandlovely/utils/cn.d.ts +0 -4
- package/dist/coolandlovely/utils/cn.d.ts.map +0 -1
- package/dist/coolandlovely/utils/formatters.d.ts +0 -101
- package/dist/coolandlovely/utils/formatters.d.ts.map +0 -1
- package/dist/coolandlovely/utils/icons.d.ts +0 -6
- package/dist/coolandlovely/utils/icons.d.ts.map +0 -1
- package/dist/coolandlovely/utils/index.d.ts +0 -10
- package/dist/coolandlovely/utils/index.d.ts.map +0 -1
- package/dist/coolandlovely/utils/navigation.d.ts +0 -20
- package/dist/coolandlovely/utils/navigation.d.ts.map +0 -1
- package/dist/coolandlovely/utils/sparkline.d.ts +0 -31
- package/dist/coolandlovely/utils/sparkline.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -2
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/services/createSandboxAssistantTransport.d.ts +0 -24
- package/dist/services/createSandboxAssistantTransport.d.ts.map +0 -1
- package/dist/stories/BrandCard.stories.d.ts +0 -10
- package/dist/stories/BrandCard.stories.d.ts.map +0 -1
- package/dist/stories/CollectionCard.stories.d.ts +0 -10
- package/dist/stories/CollectionCard.stories.d.ts.map +0 -1
- package/dist/stories/DiscoverPage.stories.d.ts +0 -11
- package/dist/stories/DiscoverPage.stories.d.ts.map +0 -1
- package/dist/stories/FeedbackWidget.stories.d.ts +0 -9
- package/dist/stories/FeedbackWidget.stories.d.ts.map +0 -1
- package/dist/stories/LookCard.stories.d.ts +0 -10
- package/dist/stories/LookCard.stories.d.ts.map +0 -1
- package/dist/stories/LookbookCard.stories.d.ts +0 -10
- package/dist/stories/LookbookCard.stories.d.ts.map +0 -1
- package/dist/stories/MetricsCard.stories.d.ts +0 -10
- package/dist/stories/MetricsCard.stories.d.ts.map +0 -1
- package/dist/stories/ShopItemCard.stories.d.ts +0 -9
- package/dist/stories/ShopItemCard.stories.d.ts.map +0 -1
- package/dist/stories/StatusBadge.stories.d.ts +0 -11
- package/dist/stories/StatusBadge.stories.d.ts.map +0 -1
- package/dist/stories/VisibilityChip.stories.d.ts +0 -10
- package/dist/stories/VisibilityChip.stories.d.ts.map +0 -1
- package/dist/stories/WardrobeItemCard.stories.d.ts +0 -11
- package/dist/stories/WardrobeItemCard.stories.d.ts.map +0 -1
- package/dist/stories/__fixtures__/coolandlovely.d.ts +0 -15
- package/dist/stories/__fixtures__/coolandlovely.d.ts.map +0 -1
- package/dist/utils/pageContext.d.ts +0 -58
- package/dist/utils/pageContext.d.ts.map +0 -1
|
@@ -1,526 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
/** Navigation item for shell integration */
|
|
4
|
-
export interface NavItem {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
path: string;
|
|
8
|
-
icon?: ReactNode;
|
|
9
|
-
badge?: number;
|
|
10
|
-
order?: number;
|
|
11
|
-
group?: string;
|
|
12
|
-
visible?: boolean;
|
|
13
|
-
/** When true, path is external (different microfe or full URL) */
|
|
14
|
-
external?: boolean;
|
|
15
|
-
children?: NavItem[];
|
|
16
|
-
}
|
|
17
|
-
/** Footer item for shell integration */
|
|
18
|
-
export interface FooterItem {
|
|
19
|
-
id: string;
|
|
20
|
-
label: string;
|
|
21
|
-
icon?: string;
|
|
22
|
-
onClick?: () => void;
|
|
23
|
-
type?: 'status' | 'action' | 'info';
|
|
24
|
-
order?: number;
|
|
25
|
-
badge?: string;
|
|
26
|
-
section?: 'left' | 'center' | 'right';
|
|
27
|
-
visible?: boolean;
|
|
28
|
-
}
|
|
29
|
-
/** Base microfrontend root props (extension point). */
|
|
30
|
-
export type MicrofrontendRootProps = Record<never, never>;
|
|
31
|
-
/** Current user information supplied by the host shell. */
|
|
32
|
-
export interface CoolAndLovelyUser {
|
|
33
|
-
id: string;
|
|
34
|
-
email: string;
|
|
35
|
-
name?: string;
|
|
36
|
-
firstName?: string;
|
|
37
|
-
lastName?: string;
|
|
38
|
-
avatar?: string;
|
|
39
|
-
phone?: string;
|
|
40
|
-
profilePicture?: string;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Props for the CoolAndLovelyRoot component.
|
|
44
|
-
*
|
|
45
|
-
* IMPORTANT: this is the host-shell contract — keep prop names/shape stable.
|
|
46
|
-
*/
|
|
47
|
-
export interface CoolAndLovelyRootProps extends MicrofrontendRootProps {
|
|
48
|
-
/** Base path for the coolandlovely microfrontend */
|
|
49
|
-
basePath?: string;
|
|
50
|
-
/** Workspace ID for scoping operations */
|
|
51
|
-
workspaceId?: string;
|
|
52
|
-
/** Tenant ID for multi-tenant context */
|
|
53
|
-
tenantId?: string;
|
|
54
|
-
/** Organization ID (optional context) */
|
|
55
|
-
organizationId?: string;
|
|
56
|
-
/** Workspace API Gateway URL for GraphQL requests */
|
|
57
|
-
apiGatewayUrl?: string;
|
|
58
|
-
/** Authentication token for API requests */
|
|
59
|
-
authToken?: string;
|
|
60
|
-
/** Workspace token (auto-attached by graphqlFetch when omitted) */
|
|
61
|
-
workspaceToken?: string;
|
|
62
|
-
/** Navigation function provided by the shell */
|
|
63
|
-
navigate?: (path: string) => void;
|
|
64
|
-
/** Current user information */
|
|
65
|
-
currentUser?: CoolAndLovelyUser;
|
|
66
|
-
/** Optional function to register navigation items with the shell */
|
|
67
|
-
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
68
|
-
/** Optional function to register footer items with the shell */
|
|
69
|
-
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
70
|
-
}
|
|
71
|
-
/** Cursor pagination input — mirrors `PaginationInput`. */
|
|
72
|
-
export interface PaginationInput {
|
|
73
|
-
cursor?: string | null;
|
|
74
|
-
limit?: number;
|
|
75
|
-
offset?: number;
|
|
76
|
-
}
|
|
77
|
-
/** Connection page info — mirrors `CooPageInfo`. */
|
|
78
|
-
export interface CooPageInfo {
|
|
79
|
-
cursor: string | null;
|
|
80
|
-
hasMore: boolean;
|
|
81
|
-
}
|
|
82
|
-
/** Federation file reference — only the id is resolvable here. */
|
|
83
|
-
export interface CooFileRef {
|
|
84
|
-
id: string;
|
|
85
|
-
}
|
|
86
|
-
export type CooBrandStatus = 'DRAFT' | 'PENDING_REVIEW' | 'PUBLISHED' | 'SUSPENDED' | 'ARCHIVED';
|
|
87
|
-
export type CooCollectionStatus = 'DRAFT' | 'SCHEDULED' | 'LIVE' | 'ENDED' | 'ARCHIVED';
|
|
88
|
-
export type CooSeason = 'SPRING' | 'SUMMER' | 'AUTUMN' | 'WINTER' | 'RESORT' | 'ALL_SEASON';
|
|
89
|
-
export type CooStyleCategory = 'TOPS' | 'BOTTOMS' | 'DRESSES' | 'OUTERWEAR' | 'FOOTWEAR' | 'BAGS' | 'ACCESSORIES' | 'JEWELLERY' | 'BEAUTY' | 'OTHER';
|
|
90
|
-
export type CooStyleItemStatus = 'DRAFT' | 'ACTIVE' | 'OUT_OF_STOCK' | 'RETIRED';
|
|
91
|
-
export type CooLookOccasion = 'EVERYDAY' | 'WORK' | 'EVENING' | 'WEDDING_GUEST' | 'VACATION' | 'PARTY' | 'ACTIVE' | 'OTHER';
|
|
92
|
-
export type CooVisibility = 'PUBLIC' | 'FOLLOWERS' | 'PRIVATE';
|
|
93
|
-
export type CooCollaborationStatus = 'PROPOSED' | 'ACCEPTED' | 'IN_PROGRESS' | 'PUBLISHED' | 'DECLINED' | 'CANCELLED';
|
|
94
|
-
export type CooCollaboratorRole = 'CREATOR' | 'BRAND' | 'STYLIST' | 'PHOTOGRAPHER';
|
|
95
|
-
export type CooWardrobeSource = 'OWNED' | 'WISHLIST' | 'PURCHASED_ON_PLATFORM' | 'GIFTED';
|
|
96
|
-
export type CooAdminDecision = 'APPROVE' | 'REJECT';
|
|
97
|
-
export interface CooBrand {
|
|
98
|
-
id: string;
|
|
99
|
-
workspaceId: string;
|
|
100
|
-
name: string;
|
|
101
|
-
handle: string;
|
|
102
|
-
tagline: string | null;
|
|
103
|
-
bio: string | null;
|
|
104
|
-
aesthetics: string[];
|
|
105
|
-
tags: string[];
|
|
106
|
-
websiteUrl: string | null;
|
|
107
|
-
isFeatured: boolean;
|
|
108
|
-
status: CooBrandStatus;
|
|
109
|
-
logo: CooFileRef | null;
|
|
110
|
-
cover: CooFileRef | null;
|
|
111
|
-
createdAt: string;
|
|
112
|
-
updatedAt: string;
|
|
113
|
-
/** Populated by the `cooBrand` detail query. */
|
|
114
|
-
collections?: CooCollection[];
|
|
115
|
-
/** Populated by the `cooBrand` detail query. */
|
|
116
|
-
items?: CooStyleItem[];
|
|
117
|
-
}
|
|
118
|
-
export interface CooBrandConnection {
|
|
119
|
-
items: CooBrand[];
|
|
120
|
-
pageInfo: CooPageInfo;
|
|
121
|
-
}
|
|
122
|
-
export interface CooCollection {
|
|
123
|
-
id: string;
|
|
124
|
-
workspaceId: string;
|
|
125
|
-
brandId: string;
|
|
126
|
-
name: string;
|
|
127
|
-
description: string | null;
|
|
128
|
-
season: CooSeason;
|
|
129
|
-
status: CooCollectionStatus;
|
|
130
|
-
tags: string[];
|
|
131
|
-
cover: CooFileRef | null;
|
|
132
|
-
publishAt: string | null;
|
|
133
|
-
endAt: string | null;
|
|
134
|
-
createdAt: string;
|
|
135
|
-
updatedAt: string;
|
|
136
|
-
brand?: Pick<CooBrand, 'id' | 'name' | 'handle'> | null;
|
|
137
|
-
/** Populated by the `cooCollection` detail query. */
|
|
138
|
-
items?: CooStyleItem[];
|
|
139
|
-
}
|
|
140
|
-
export interface CooCollectionConnection {
|
|
141
|
-
items: CooCollection[];
|
|
142
|
-
pageInfo: CooPageInfo;
|
|
143
|
-
}
|
|
144
|
-
export interface CooStyleItem {
|
|
145
|
-
id: string;
|
|
146
|
-
workspaceId: string;
|
|
147
|
-
brandId: string;
|
|
148
|
-
collectionId: string | null;
|
|
149
|
-
name: string;
|
|
150
|
-
description: string | null;
|
|
151
|
-
category: CooStyleCategory;
|
|
152
|
-
status: CooStyleItemStatus;
|
|
153
|
-
isFeatured: boolean;
|
|
154
|
-
sku: string | null;
|
|
155
|
-
price: number;
|
|
156
|
-
currency: string;
|
|
157
|
-
colours: string[];
|
|
158
|
-
sizes: string[];
|
|
159
|
-
materials: string[];
|
|
160
|
-
tags: string[];
|
|
161
|
-
image: CooFileRef | null;
|
|
162
|
-
createdAt: string;
|
|
163
|
-
updatedAt: string;
|
|
164
|
-
brand?: Pick<CooBrand, 'id' | 'name' | 'handle'> | null;
|
|
165
|
-
collection?: Pick<CooCollection, 'id' | 'name'> | null;
|
|
166
|
-
}
|
|
167
|
-
export interface CooStyleItemConnection {
|
|
168
|
-
items: CooStyleItem[];
|
|
169
|
-
pageInfo: CooPageInfo;
|
|
170
|
-
}
|
|
171
|
-
export interface CooLookItem {
|
|
172
|
-
id: string;
|
|
173
|
-
workspaceId: string;
|
|
174
|
-
lookId: string;
|
|
175
|
-
styleItemId: string;
|
|
176
|
-
position: number;
|
|
177
|
-
styling: string | null;
|
|
178
|
-
createdAt: string;
|
|
179
|
-
updatedAt: string;
|
|
180
|
-
styleItem?: Pick<CooStyleItem, 'id' | 'name' | 'category' | 'price' | 'currency' | 'brand' | 'image'> | null;
|
|
181
|
-
}
|
|
182
|
-
export interface CooLookItemConnection {
|
|
183
|
-
items: CooLookItem[];
|
|
184
|
-
pageInfo: CooPageInfo;
|
|
185
|
-
}
|
|
186
|
-
export interface CooLook {
|
|
187
|
-
id: string;
|
|
188
|
-
workspaceId: string;
|
|
189
|
-
authorId: string;
|
|
190
|
-
title: string;
|
|
191
|
-
caption: string | null;
|
|
192
|
-
occasion: CooLookOccasion;
|
|
193
|
-
visibility: CooVisibility;
|
|
194
|
-
isFeatured: boolean;
|
|
195
|
-
likeCount: number;
|
|
196
|
-
saveCount: number;
|
|
197
|
-
collaborationId: string | null;
|
|
198
|
-
image: CooFileRef | null;
|
|
199
|
-
tags: string[];
|
|
200
|
-
publishedAt: string | null;
|
|
201
|
-
createdAt: string;
|
|
202
|
-
updatedAt: string;
|
|
203
|
-
items?: CooLookItem[];
|
|
204
|
-
/** Per-caller like/save state (false for an unauthenticated caller). */
|
|
205
|
-
isLikedByMe?: boolean;
|
|
206
|
-
isSavedByMe?: boolean;
|
|
207
|
-
}
|
|
208
|
-
export interface CooLookConnection {
|
|
209
|
-
items: CooLook[];
|
|
210
|
-
pageInfo: CooPageInfo;
|
|
211
|
-
}
|
|
212
|
-
export interface CooCollaboration {
|
|
213
|
-
id: string;
|
|
214
|
-
workspaceId: string;
|
|
215
|
-
brandId: string;
|
|
216
|
-
creatorId: string;
|
|
217
|
-
collectionId: string | null;
|
|
218
|
-
title: string;
|
|
219
|
-
brief: string | null;
|
|
220
|
-
role: CooCollaboratorRole;
|
|
221
|
-
status: CooCollaborationStatus;
|
|
222
|
-
compensation: number;
|
|
223
|
-
currency: string;
|
|
224
|
-
tags: string[];
|
|
225
|
-
startDate: string | null;
|
|
226
|
-
endDate: string | null;
|
|
227
|
-
publishedAt: string | null;
|
|
228
|
-
createdAt: string;
|
|
229
|
-
updatedAt: string;
|
|
230
|
-
brand?: Pick<CooBrand, 'id' | 'name' | 'handle' | 'logo'> | null;
|
|
231
|
-
/** Populated by the `cooCollaboration` detail query. */
|
|
232
|
-
looks?: CooLook[];
|
|
233
|
-
}
|
|
234
|
-
export interface CooCollaborationConnection {
|
|
235
|
-
items: CooCollaboration[];
|
|
236
|
-
pageInfo: CooPageInfo;
|
|
237
|
-
}
|
|
238
|
-
export interface CooStyleProfile {
|
|
239
|
-
id: string;
|
|
240
|
-
workspaceId: string;
|
|
241
|
-
ownerId: string;
|
|
242
|
-
displayName: string | null;
|
|
243
|
-
bio: string | null;
|
|
244
|
-
visibility: CooVisibility;
|
|
245
|
-
stylePreferences: string[];
|
|
246
|
-
palette: string[];
|
|
247
|
-
favouriteBrands: string[];
|
|
248
|
-
sizes: Record<string, unknown> | null;
|
|
249
|
-
createdAt: string;
|
|
250
|
-
updatedAt: string;
|
|
251
|
-
/** Follow graph (resolved on the CooStyleProfile type). */
|
|
252
|
-
isFollowedByMe?: boolean;
|
|
253
|
-
followerCount?: number;
|
|
254
|
-
followingCount?: number;
|
|
255
|
-
}
|
|
256
|
-
export interface CooStyleProfileConnection {
|
|
257
|
-
items: CooStyleProfile[];
|
|
258
|
-
pageInfo: CooPageInfo;
|
|
259
|
-
}
|
|
260
|
-
export interface CooWardrobeItem {
|
|
261
|
-
id: string;
|
|
262
|
-
workspaceId: string;
|
|
263
|
-
profileId: string;
|
|
264
|
-
name: string;
|
|
265
|
-
category: CooStyleCategory;
|
|
266
|
-
source: CooWardrobeSource;
|
|
267
|
-
brandName: string | null;
|
|
268
|
-
colour: string | null;
|
|
269
|
-
size: string | null;
|
|
270
|
-
notes: string | null;
|
|
271
|
-
styleItemId: string | null;
|
|
272
|
-
purchasePrice: number | null;
|
|
273
|
-
currency: string | null;
|
|
274
|
-
/** purchasePrice / timesWorn, server-computed. Null when either input is missing/zero. */
|
|
275
|
-
costPerWear: number | null;
|
|
276
|
-
timesWorn: number;
|
|
277
|
-
lastWornAt: string | null;
|
|
278
|
-
tags: string[];
|
|
279
|
-
image: CooFileRef | null;
|
|
280
|
-
createdAt: string;
|
|
281
|
-
updatedAt: string;
|
|
282
|
-
}
|
|
283
|
-
export interface CooWardrobeItemConnection {
|
|
284
|
-
items: CooWardrobeItem[];
|
|
285
|
-
pageInfo: CooPageInfo;
|
|
286
|
-
}
|
|
287
|
-
export interface CooLookbookEntry {
|
|
288
|
-
id: string;
|
|
289
|
-
workspaceId: string;
|
|
290
|
-
lookbookId: string;
|
|
291
|
-
lookId: string | null;
|
|
292
|
-
styleItemId: string | null;
|
|
293
|
-
note: string | null;
|
|
294
|
-
position: number;
|
|
295
|
-
createdAt: string;
|
|
296
|
-
updatedAt: string;
|
|
297
|
-
}
|
|
298
|
-
export interface CooLookbookEntryConnection {
|
|
299
|
-
items: CooLookbookEntry[];
|
|
300
|
-
pageInfo: CooPageInfo;
|
|
301
|
-
}
|
|
302
|
-
export interface CooLookbook {
|
|
303
|
-
id: string;
|
|
304
|
-
workspaceId: string;
|
|
305
|
-
ownerId: string;
|
|
306
|
-
profileId: string;
|
|
307
|
-
name: string;
|
|
308
|
-
description: string | null;
|
|
309
|
-
visibility: CooVisibility;
|
|
310
|
-
tags: string[];
|
|
311
|
-
cover: CooFileRef | null;
|
|
312
|
-
createdAt: string;
|
|
313
|
-
updatedAt: string;
|
|
314
|
-
/** Flattened from the CooLookbookEntryConnection response — see useLookbooks/useLookbook. */
|
|
315
|
-
entries?: CooLookbookEntry[];
|
|
316
|
-
}
|
|
317
|
-
export interface CooLookbookConnection {
|
|
318
|
-
items: CooLookbook[];
|
|
319
|
-
pageInfo: CooPageInfo;
|
|
320
|
-
}
|
|
321
|
-
export interface CooCreateBrandInput {
|
|
322
|
-
name: string;
|
|
323
|
-
handle: string;
|
|
324
|
-
tagline?: string;
|
|
325
|
-
bio?: string;
|
|
326
|
-
aesthetics?: string[];
|
|
327
|
-
tags?: string[];
|
|
328
|
-
websiteUrl?: string;
|
|
329
|
-
logoFileId?: string;
|
|
330
|
-
coverFileId?: string;
|
|
331
|
-
}
|
|
332
|
-
export interface CooUpdateBrandInput {
|
|
333
|
-
name?: string;
|
|
334
|
-
tagline?: string;
|
|
335
|
-
bio?: string;
|
|
336
|
-
aesthetics?: string[];
|
|
337
|
-
tags?: string[];
|
|
338
|
-
websiteUrl?: string;
|
|
339
|
-
logoFileId?: string;
|
|
340
|
-
coverFileId?: string;
|
|
341
|
-
isFeatured?: boolean;
|
|
342
|
-
}
|
|
343
|
-
export interface CooCreateCollectionInput {
|
|
344
|
-
brandId: string;
|
|
345
|
-
name: string;
|
|
346
|
-
description?: string;
|
|
347
|
-
season?: CooSeason;
|
|
348
|
-
tags?: string[];
|
|
349
|
-
coverFileId?: string;
|
|
350
|
-
publishAt?: string;
|
|
351
|
-
endAt?: string;
|
|
352
|
-
}
|
|
353
|
-
export interface CooUpdateCollectionInput {
|
|
354
|
-
name?: string;
|
|
355
|
-
description?: string;
|
|
356
|
-
season?: CooSeason;
|
|
357
|
-
tags?: string[];
|
|
358
|
-
coverFileId?: string;
|
|
359
|
-
publishAt?: string;
|
|
360
|
-
endAt?: string;
|
|
361
|
-
}
|
|
362
|
-
export interface CooCreateStyleItemInput {
|
|
363
|
-
brandId: string;
|
|
364
|
-
name: string;
|
|
365
|
-
description?: string;
|
|
366
|
-
category?: CooStyleCategory;
|
|
367
|
-
collectionId?: string;
|
|
368
|
-
sku?: string;
|
|
369
|
-
price?: number;
|
|
370
|
-
currency?: string;
|
|
371
|
-
colours?: string[];
|
|
372
|
-
sizes?: string[];
|
|
373
|
-
materials?: string[];
|
|
374
|
-
tags?: string[];
|
|
375
|
-
imageFileId?: string;
|
|
376
|
-
}
|
|
377
|
-
export interface CooUpdateStyleItemInput {
|
|
378
|
-
name?: string;
|
|
379
|
-
description?: string;
|
|
380
|
-
category?: CooStyleCategory;
|
|
381
|
-
collectionId?: string;
|
|
382
|
-
sku?: string;
|
|
383
|
-
price?: number;
|
|
384
|
-
currency?: string;
|
|
385
|
-
colours?: string[];
|
|
386
|
-
sizes?: string[];
|
|
387
|
-
materials?: string[];
|
|
388
|
-
tags?: string[];
|
|
389
|
-
imageFileId?: string;
|
|
390
|
-
isFeatured?: boolean;
|
|
391
|
-
}
|
|
392
|
-
export interface CooLookItemInput {
|
|
393
|
-
styleItemId: string;
|
|
394
|
-
position?: number;
|
|
395
|
-
styling?: string;
|
|
396
|
-
}
|
|
397
|
-
export interface CooCreateLookInput {
|
|
398
|
-
title: string;
|
|
399
|
-
caption?: string;
|
|
400
|
-
occasion?: CooLookOccasion;
|
|
401
|
-
visibility?: CooVisibility;
|
|
402
|
-
collaborationId?: string;
|
|
403
|
-
imageFileId?: string;
|
|
404
|
-
tags?: string[];
|
|
405
|
-
items?: CooLookItemInput[];
|
|
406
|
-
}
|
|
407
|
-
export interface CooUpdateLookInput {
|
|
408
|
-
title?: string;
|
|
409
|
-
caption?: string;
|
|
410
|
-
occasion?: CooLookOccasion;
|
|
411
|
-
visibility?: CooVisibility;
|
|
412
|
-
tags?: string[];
|
|
413
|
-
imageFileId?: string;
|
|
414
|
-
/** Added this release — feature/unfeature a look. */
|
|
415
|
-
isFeatured?: boolean;
|
|
416
|
-
}
|
|
417
|
-
/** Input for adding an entry to a lookbook (mirrors CooAddLookbookEntryInput). */
|
|
418
|
-
export interface CooAddLookbookEntryInput {
|
|
419
|
-
lookbookId: string;
|
|
420
|
-
lookId?: string;
|
|
421
|
-
styleItemId?: string;
|
|
422
|
-
note?: string;
|
|
423
|
-
position?: number;
|
|
424
|
-
}
|
|
425
|
-
export interface CooCreateCollaborationInput {
|
|
426
|
-
brandId: string;
|
|
427
|
-
creatorId: string;
|
|
428
|
-
title: string;
|
|
429
|
-
brief?: string;
|
|
430
|
-
collectionId?: string;
|
|
431
|
-
role?: CooCollaboratorRole;
|
|
432
|
-
compensation?: number;
|
|
433
|
-
currency?: string;
|
|
434
|
-
tags?: string[];
|
|
435
|
-
startDate?: string;
|
|
436
|
-
endDate?: string;
|
|
437
|
-
}
|
|
438
|
-
/** Editable collaboration fields (identity + status excluded — see CooUpdateCollaborationInput on the svc). */
|
|
439
|
-
export interface CooUpdateCollaborationInput {
|
|
440
|
-
title?: string;
|
|
441
|
-
brief?: string;
|
|
442
|
-
role?: CooCollaboratorRole;
|
|
443
|
-
compensation?: number;
|
|
444
|
-
currency?: string;
|
|
445
|
-
tags?: string[];
|
|
446
|
-
startDate?: string;
|
|
447
|
-
endDate?: string;
|
|
448
|
-
}
|
|
449
|
-
export interface CooReviewCollaborationInput {
|
|
450
|
-
decision: CooAdminDecision;
|
|
451
|
-
notes?: string;
|
|
452
|
-
}
|
|
453
|
-
export interface CooCreateWardrobeItemInput {
|
|
454
|
-
name: string;
|
|
455
|
-
category?: CooStyleCategory;
|
|
456
|
-
source?: CooWardrobeSource;
|
|
457
|
-
brandName?: string;
|
|
458
|
-
colour?: string;
|
|
459
|
-
size?: string;
|
|
460
|
-
notes?: string;
|
|
461
|
-
styleItemId?: string;
|
|
462
|
-
purchasePrice?: number;
|
|
463
|
-
currency?: string;
|
|
464
|
-
tags?: string[];
|
|
465
|
-
imageFileId?: string;
|
|
466
|
-
}
|
|
467
|
-
export interface CooUpdateWardrobeItemInput {
|
|
468
|
-
name?: string;
|
|
469
|
-
category?: CooStyleCategory;
|
|
470
|
-
source?: CooWardrobeSource;
|
|
471
|
-
brandName?: string;
|
|
472
|
-
colour?: string;
|
|
473
|
-
size?: string;
|
|
474
|
-
notes?: string;
|
|
475
|
-
purchasePrice?: number;
|
|
476
|
-
currency?: string;
|
|
477
|
-
tags?: string[];
|
|
478
|
-
imageFileId?: string;
|
|
479
|
-
}
|
|
480
|
-
export interface CooUpsertStyleProfileInput {
|
|
481
|
-
displayName?: string;
|
|
482
|
-
bio?: string;
|
|
483
|
-
visibility?: CooVisibility;
|
|
484
|
-
stylePreferences?: string[];
|
|
485
|
-
palette?: string[];
|
|
486
|
-
favouriteBrands?: string[];
|
|
487
|
-
sizes?: Record<string, unknown>;
|
|
488
|
-
}
|
|
489
|
-
/** Input for searching style items (mirrors `CooSearchStyleItemsInput`). */
|
|
490
|
-
export interface CooSearchStyleItemsInput {
|
|
491
|
-
query?: string;
|
|
492
|
-
categories?: CooStyleCategory[];
|
|
493
|
-
colours?: string[];
|
|
494
|
-
sizes?: string[];
|
|
495
|
-
materials?: string[];
|
|
496
|
-
aesthetics?: string[];
|
|
497
|
-
status?: CooStyleItemStatus;
|
|
498
|
-
}
|
|
499
|
-
/** Input for searching looks (mirrors `CooSearchLooksInput`). */
|
|
500
|
-
export interface CooSearchLooksInput {
|
|
501
|
-
query?: string;
|
|
502
|
-
occasion?: CooLookOccasion;
|
|
503
|
-
occasions?: CooLookOccasion[];
|
|
504
|
-
aesthetics?: string[];
|
|
505
|
-
}
|
|
506
|
-
export interface CooCreateLookbookInput {
|
|
507
|
-
name: string;
|
|
508
|
-
description?: string;
|
|
509
|
-
visibility?: CooVisibility;
|
|
510
|
-
tags?: string[];
|
|
511
|
-
coverFileId?: string;
|
|
512
|
-
}
|
|
513
|
-
export type ViewMode = 'grid' | 'list';
|
|
514
|
-
export type TrendDirection = 'up' | 'down' | 'neutral';
|
|
515
|
-
/** Overview dashboard rollup (derived client-side from list ops). */
|
|
516
|
-
export interface DashboardStats {
|
|
517
|
-
totalBrands: number;
|
|
518
|
-
publishedBrands: number;
|
|
519
|
-
totalStyleItems: number;
|
|
520
|
-
activeStyleItems: number;
|
|
521
|
-
totalLooks: number;
|
|
522
|
-
featuredLooks: number;
|
|
523
|
-
activeCollaborations: number;
|
|
524
|
-
wardrobeItems: number;
|
|
525
|
-
}
|
|
526
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/coolandlovely/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,4CAA4C;AAC5C,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,wCAAwC;AACxC,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAA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AM,CAAC;IACf,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAMD,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAAC;AAEvD,qEAAqE;AACrE,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/coolandlovely/utils/cn.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAElD"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Formatting utilities for the CoolAndLovely microfrontend
|
|
3
|
-
* @module coolandlovely/utils/formatters
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Format a number as currency. Defaults to USD but accepts any ISO currency
|
|
7
|
-
* code (CoolAndLovely items/collaborations carry a per-record `currency`).
|
|
8
|
-
*
|
|
9
|
-
* @param amount - The numeric amount to format
|
|
10
|
-
* @param currency - ISO 4217 currency code (defaults to "USD")
|
|
11
|
-
* @param options - Optional Intl.NumberFormat options to override defaults
|
|
12
|
-
* @returns Formatted currency string (e.g., "$1,200.00")
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* formatPrice(1200) // => "$1,200.00"
|
|
16
|
-
* formatPrice(1200, 'EUR') // => "€1,200.00"
|
|
17
|
-
* formatPrice(1200, 'INR', { minimumFractionDigits: 0 }) // => "₹1,200"
|
|
18
|
-
*/
|
|
19
|
-
export declare function formatPrice(amount: number, currency?: string, options?: Partial<Intl.NumberFormatOptions>): string;
|
|
20
|
-
/**
|
|
21
|
-
* Format a number as currency (legacy alias kept for the shared export
|
|
22
|
-
* surface). Defaults to USD; pass a currency code as the second arg.
|
|
23
|
-
*/
|
|
24
|
-
export declare function formatCurrency(amount: number, options?: Partial<Intl.NumberFormatOptions>): string;
|
|
25
|
-
/**
|
|
26
|
-
* Convert an UPPER_SNAKE_CASE enum value into a Title Case label.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* titleCase('PENDING_REVIEW') // => "Pending Review"
|
|
30
|
-
* titleCase('LIVE') // => "Live"
|
|
31
|
-
*/
|
|
32
|
-
export declare function titleCase(value: string): string;
|
|
33
|
-
/**
|
|
34
|
-
* Parse a comma-separated input into a trimmed, de-duplicated string array.
|
|
35
|
-
* Empty entries are dropped. Returns `[]` for blank input.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* parseCsv('minimal, Y2K , minimal') // => ['minimal', 'Y2K']
|
|
39
|
-
*/
|
|
40
|
-
export declare function parseCsv(input: string): string[];
|
|
41
|
-
/**
|
|
42
|
-
* Format a date string or Date object into a human-readable format
|
|
43
|
-
*
|
|
44
|
-
* @param date - ISO date string or Date object
|
|
45
|
-
* @param options - Optional Intl.DateTimeFormat options
|
|
46
|
-
* @returns Formatted date string (e.g., "15 Jan 2024, 4:00 PM")
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* formatDate('2024-01-15T10:30:00Z')
|
|
50
|
-
* // => "15 Jan 2024, 4:00 PM" (in IST)
|
|
51
|
-
*/
|
|
52
|
-
export declare function formatDate(date: string | Date, options?: Partial<Intl.DateTimeFormatOptions>): string;
|
|
53
|
-
/**
|
|
54
|
-
* Format a date into a relative time string (e.g., "2 hours ago")
|
|
55
|
-
*
|
|
56
|
-
* @param date - ISO date string or Date object
|
|
57
|
-
* @returns Human-readable relative time string
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* formatRelativeTime('2024-01-15T10:30:00Z') // => "3 days ago"
|
|
61
|
-
* formatRelativeTime(new Date()) // => "just now"
|
|
62
|
-
*/
|
|
63
|
-
export declare function formatRelativeTime(date: string | Date): string;
|
|
64
|
-
/**
|
|
65
|
-
* Format a number with Indian locale grouping (lakhs, crores)
|
|
66
|
-
*
|
|
67
|
-
* @param value - The number to format
|
|
68
|
-
* @param options - Optional Intl.NumberFormat options
|
|
69
|
-
* @returns Formatted number string (e.g., "12,345" or "1,24,500")
|
|
70
|
-
*
|
|
71
|
-
* @example
|
|
72
|
-
* formatNumber(1245) // => "1,245"
|
|
73
|
-
* formatNumber(124500) // => "1,24,500"
|
|
74
|
-
*/
|
|
75
|
-
export declare function formatNumber(value: number, options?: Partial<Intl.NumberFormatOptions>): string;
|
|
76
|
-
/**
|
|
77
|
-
* Format a distance value in kilometers
|
|
78
|
-
*
|
|
79
|
-
* @param km - Distance in kilometers
|
|
80
|
-
* @returns Formatted distance string
|
|
81
|
-
*
|
|
82
|
-
* @example
|
|
83
|
-
* formatDistance(0.5) // => "500 m"
|
|
84
|
-
* formatDistance(1.2) // => "1.2 km"
|
|
85
|
-
* formatDistance(15) // => "15 km"
|
|
86
|
-
*/
|
|
87
|
-
export declare function formatDistance(km: number): string;
|
|
88
|
-
/**
|
|
89
|
-
* Format a duration in minutes into a human-readable string
|
|
90
|
-
*
|
|
91
|
-
* @param minutes - Duration in minutes
|
|
92
|
-
* @returns Formatted duration string
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* formatDuration(5) // => "5 min"
|
|
96
|
-
* formatDuration(90) // => "1h 30min"
|
|
97
|
-
* formatDuration(1440) // => "1 day"
|
|
98
|
-
* formatDuration(4320) // => "3 days"
|
|
99
|
-
*/
|
|
100
|
-
export declare function formatDuration(minutes: number): string;
|
|
101
|
-
//# sourceMappingURL=formatters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../src/coolandlovely/utils/formatters.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,EACd,QAAQ,SAAQ,EAChB,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,GAC1C,MAAM,CAaR;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,GAC1C,MAAM,CAER;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAK/C;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAWhD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,qBAAqB,CAAC,GAC5C,MAAM,CAWR;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAoB9D;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,GAAG,MAAM,CAE/F;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAQjD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAqBtD"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CooStyleCategory } from '../types';
|
|
3
|
-
|
|
4
|
-
export declare function categoryIcon(category: CooStyleCategory, size?: number): ReactNode;
|
|
5
|
-
export declare const STYLE_CATEGORIES: CooStyleCategory[];
|
|
6
|
-
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/coolandlovely/utils/icons.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,gBAAgB,EAAE,IAAI,SAAK,GAAG,SAAS,CAyB7E;AAED,eAAO,MAAM,gBAAgB,EAAE,gBAAgB,EAW9C,CAAC"}
|