@signskart/shared 1.3.0 → 1.3.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.
@@ -0,0 +1,13 @@
1
+ import { IStore } from './store';
2
+ export interface ICustomerPhotos {
3
+ _id?: string;
4
+ store: IStore;
5
+ customer: {
6
+ name?: string;
7
+ email?: string;
8
+ };
9
+ photos: string[];
10
+ status: 'pending' | 'approved' | 'rejected';
11
+ createdAt: Date;
12
+ updatedAt: Date;
13
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -10,3 +10,4 @@ export * from './subscriber';
10
10
  export * from './language';
11
11
  export * from './banner';
12
12
  export * from './common';
13
+ export * from './customerPhotos';
@@ -10,3 +10,4 @@ export * from './subscriber';
10
10
  export * from './language';
11
11
  export * from './banner';
12
12
  export * from './common';
13
+ export * from './customerPhotos';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signskart/shared",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -0,0 +1,14 @@
1
+ import { IStore } from './store';
2
+
3
+ export interface ICustomerPhotos {
4
+ _id?: string; // MongoDB document ID
5
+ store: IStore; // Store reference
6
+ customer: {
7
+ name?: string; // Customer name
8
+ email?: string; // Optional email
9
+ };
10
+ photos: string[]; // Array of photo URLs
11
+ status: 'pending' | 'approved' | 'rejected'; // moderation status
12
+ createdAt: Date;
13
+ updatedAt: Date;
14
+ }
@@ -9,4 +9,5 @@ export * from './variant';
9
9
  export * from './subscriber';
10
10
  export * from './language';
11
11
  export * from './banner';
12
- export * from './common'
12
+ export * from './common';
13
+ export * from './customerPhotos';