@signskart/shared 1.3.10 → 1.3.12
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/index.d.mts +11 -19
- package/dist/index.d.ts +11 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -61,20 +61,13 @@ interface ICategory {
|
|
|
61
61
|
shopPageThumbnail?: string;
|
|
62
62
|
categoryThumbnail?: string;
|
|
63
63
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
csrKeywords?: string;
|
|
70
|
-
};
|
|
71
|
-
product?: {
|
|
72
|
-
titleTag?: string;
|
|
73
|
-
headerTag?: string;
|
|
74
|
-
metaDescription?: string;
|
|
75
|
-
csrKeywords?: string;
|
|
76
|
-
};
|
|
64
|
+
seoMetaData: {
|
|
65
|
+
titleTag: string;
|
|
66
|
+
headerTag: string;
|
|
67
|
+
metaDescription: string;
|
|
68
|
+
keywords: string;
|
|
77
69
|
};
|
|
70
|
+
metaData: {};
|
|
78
71
|
createdAt?: string;
|
|
79
72
|
updatedAt?: string;
|
|
80
73
|
productCount?: number;
|
|
@@ -114,10 +107,10 @@ interface IImages {
|
|
|
114
107
|
}
|
|
115
108
|
interface IProduct {
|
|
116
109
|
_id: string;
|
|
117
|
-
sku
|
|
110
|
+
sku: string;
|
|
118
111
|
barcode?: string;
|
|
119
112
|
title: ILocalizedString;
|
|
120
|
-
description
|
|
113
|
+
description: ILocalizedString;
|
|
121
114
|
slug: string;
|
|
122
115
|
categories: ICategory[];
|
|
123
116
|
category: ICategory;
|
|
@@ -132,10 +125,9 @@ interface IProduct {
|
|
|
132
125
|
prices: IPrices;
|
|
133
126
|
status: boolean;
|
|
134
127
|
store: IStore;
|
|
135
|
-
images
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
};
|
|
128
|
+
images: IImages;
|
|
129
|
+
seoMetaData: IMetaDataProduct;
|
|
130
|
+
metaData: {};
|
|
139
131
|
createdAt?: Date;
|
|
140
132
|
updatedAt?: Date;
|
|
141
133
|
variantList?: IVariant[];
|
package/dist/index.d.ts
CHANGED
|
@@ -61,20 +61,13 @@ interface ICategory {
|
|
|
61
61
|
shopPageThumbnail?: string;
|
|
62
62
|
categoryThumbnail?: string;
|
|
63
63
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
csrKeywords?: string;
|
|
70
|
-
};
|
|
71
|
-
product?: {
|
|
72
|
-
titleTag?: string;
|
|
73
|
-
headerTag?: string;
|
|
74
|
-
metaDescription?: string;
|
|
75
|
-
csrKeywords?: string;
|
|
76
|
-
};
|
|
64
|
+
seoMetaData: {
|
|
65
|
+
titleTag: string;
|
|
66
|
+
headerTag: string;
|
|
67
|
+
metaDescription: string;
|
|
68
|
+
keywords: string;
|
|
77
69
|
};
|
|
70
|
+
metaData: {};
|
|
78
71
|
createdAt?: string;
|
|
79
72
|
updatedAt?: string;
|
|
80
73
|
productCount?: number;
|
|
@@ -114,10 +107,10 @@ interface IImages {
|
|
|
114
107
|
}
|
|
115
108
|
interface IProduct {
|
|
116
109
|
_id: string;
|
|
117
|
-
sku
|
|
110
|
+
sku: string;
|
|
118
111
|
barcode?: string;
|
|
119
112
|
title: ILocalizedString;
|
|
120
|
-
description
|
|
113
|
+
description: ILocalizedString;
|
|
121
114
|
slug: string;
|
|
122
115
|
categories: ICategory[];
|
|
123
116
|
category: ICategory;
|
|
@@ -132,10 +125,9 @@ interface IProduct {
|
|
|
132
125
|
prices: IPrices;
|
|
133
126
|
status: boolean;
|
|
134
127
|
store: IStore;
|
|
135
|
-
images
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
};
|
|
128
|
+
images: IImages;
|
|
129
|
+
seoMetaData: IMetaDataProduct;
|
|
130
|
+
metaData: {};
|
|
139
131
|
createdAt?: Date;
|
|
140
132
|
updatedAt?: Date;
|
|
141
133
|
variantList?: IVariant[];
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/interfaces/category.ts"],"sourcesContent":["export * from './interfaces';\n","import { ILocalizedString } from \"./common\";\nimport { IStore } from \"./store\";\n\nexport const TAGS = ['new', 'hot', 'sale', 'featured', 'exclusive'] as const;\n\nexport type Tag = typeof TAGS[number];\n\nexport interface ICategory {\n _id: string;\n name: ILocalizedString;\n description?: ILocalizedString;\n slug: string;\n parent?: string | null;\n parentName?: string;\n children?: string[];\n level?: number;\n status: boolean;\n store: IStore;\n skuInitial?: string;\n sortPosition?: number;\n tags: Tag[];\n\n images: {\n desktopBanner?: string;\n mobileBanner?: string;\n shopPageThumbnail?: string;\n categoryThumbnail?: string;\n };\n\n
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/interfaces/category.ts"],"sourcesContent":["export * from './interfaces';\n","import { ILocalizedString } from \"./common\";\nimport { IStore } from \"./store\";\n\nexport const TAGS = ['new', 'hot', 'sale', 'featured', 'exclusive'] as const;\n\nexport type Tag = typeof TAGS[number];\n\nexport interface ICategory {\n _id: string;\n name: ILocalizedString;\n description?: ILocalizedString;\n slug: string;\n parent?: string | null;\n parentName?: string;\n children?: string[];\n level?: number;\n status: boolean;\n store: IStore;\n skuInitial?: string;\n sortPosition?: number;\n tags: Tag[];\n\n images: {\n desktopBanner?: string;\n mobileBanner?: string;\n shopPageThumbnail?: string;\n categoryThumbnail?: string;\n };\n\n seoMetaData: {\n titleTag: string;\n headerTag: string;\n metaDescription: string;\n keywords: string;\n };\n metaData: {\n\n };\n\n createdAt?: string;\n updatedAt?: string;\n productCount?: number;\n\n [key: string]: any; // Optional catch-all for dynamic properties\n}\n\nexport interface CategoryQueryParams {\n page?: number;\n limit?: number;\n name?: string;\n status?: string;\n minLevel?: string;\n maxLevel?: string;\n}\n\nexport interface CategoryResponse {\n categories: ICategory[];\n totalCategories: number;\n totalPages: number;\n currentPage: number;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGO,IAAM,OAAO,CAAC,OAAO,OAAO,QAAQ,YAAY,WAAW;","names":[]}
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/interfaces/category.ts"],"sourcesContent":["import { ILocalizedString } from \"./common\";\nimport { IStore } from \"./store\";\n\nexport const TAGS = ['new', 'hot', 'sale', 'featured', 'exclusive'] as const;\n\nexport type Tag = typeof TAGS[number];\n\nexport interface ICategory {\n _id: string;\n name: ILocalizedString;\n description?: ILocalizedString;\n slug: string;\n parent?: string | null;\n parentName?: string;\n children?: string[];\n level?: number;\n status: boolean;\n store: IStore;\n skuInitial?: string;\n sortPosition?: number;\n tags: Tag[];\n\n images: {\n desktopBanner?: string;\n mobileBanner?: string;\n shopPageThumbnail?: string;\n categoryThumbnail?: string;\n };\n\n
|
|
1
|
+
{"version":3,"sources":["../src/interfaces/category.ts"],"sourcesContent":["import { ILocalizedString } from \"./common\";\nimport { IStore } from \"./store\";\n\nexport const TAGS = ['new', 'hot', 'sale', 'featured', 'exclusive'] as const;\n\nexport type Tag = typeof TAGS[number];\n\nexport interface ICategory {\n _id: string;\n name: ILocalizedString;\n description?: ILocalizedString;\n slug: string;\n parent?: string | null;\n parentName?: string;\n children?: string[];\n level?: number;\n status: boolean;\n store: IStore;\n skuInitial?: string;\n sortPosition?: number;\n tags: Tag[];\n\n images: {\n desktopBanner?: string;\n mobileBanner?: string;\n shopPageThumbnail?: string;\n categoryThumbnail?: string;\n };\n\n seoMetaData: {\n titleTag: string;\n headerTag: string;\n metaDescription: string;\n keywords: string;\n };\n metaData: {\n\n };\n\n createdAt?: string;\n updatedAt?: string;\n productCount?: number;\n\n [key: string]: any; // Optional catch-all for dynamic properties\n}\n\nexport interface CategoryQueryParams {\n page?: number;\n limit?: number;\n name?: string;\n status?: string;\n minLevel?: string;\n maxLevel?: string;\n}\n\nexport interface CategoryResponse {\n categories: ICategory[];\n totalCategories: number;\n totalPages: number;\n currentPage: number;\n}\n"],"mappings":";AAGO,IAAM,OAAO,CAAC,OAAO,OAAO,QAAQ,YAAY,WAAW;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signskart/shared",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12",
|
|
4
4
|
"description": "Production-grade upload manager SDK with queue, progress tracking, retry logic, and multi-provider support (S3, Cloudinary).",
|
|
5
5
|
"author": "Signskart",
|
|
6
6
|
"license": "UNLICENSED",
|