@signskart/shared 1.2.0 → 1.2.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/ReadMe.md +4 -0
- package/dist/interfaces/currency.d.ts +2 -2
- package/dist/interfaces/store.d.ts +3 -3
- package/dist/interfaces/subscriber.d.ts +1 -1
- package/package.json +1 -1
- package/src/interfaces/currency.ts +2 -2
- package/src/interfaces/store.ts +3 -3
- package/src/interfaces/subscriber.ts +1 -1
package/ReadMe.md
ADDED
|
@@ -5,7 +5,7 @@ export interface IStoreSettings {
|
|
|
5
5
|
timezone: string;
|
|
6
6
|
}
|
|
7
7
|
export interface IStore {
|
|
8
|
-
_id
|
|
8
|
+
_id?: string;
|
|
9
9
|
name: string;
|
|
10
10
|
shortName: string;
|
|
11
11
|
slug: string;
|
|
@@ -13,8 +13,8 @@ export interface IStore {
|
|
|
13
13
|
currency: ICurrency;
|
|
14
14
|
settings: IStoreSettings;
|
|
15
15
|
status: boolean;
|
|
16
|
-
createdAt
|
|
17
|
-
updatedAt
|
|
16
|
+
createdAt?: string;
|
|
17
|
+
updatedAt?: string;
|
|
18
18
|
}
|
|
19
19
|
export interface ICreateStoreDTO {
|
|
20
20
|
name: string;
|
|
@@ -11,7 +11,7 @@ export interface ISubscriber {
|
|
|
11
11
|
channels: Array<'email' | 'sms' | 'push'>;
|
|
12
12
|
status?: 'active' | 'unsubscribed' | 'bounced' | 'blocked';
|
|
13
13
|
locale?: string;
|
|
14
|
-
store?: IStore;
|
|
14
|
+
store?: IStore | string;
|
|
15
15
|
schemaVersion?: number;
|
|
16
16
|
isDeleted?: boolean;
|
|
17
17
|
createdAt?: Date;
|
package/package.json
CHANGED
package/src/interfaces/store.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface IStoreSettings {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export interface IStore {
|
|
10
|
-
_id
|
|
10
|
+
_id?: string;
|
|
11
11
|
name: string;
|
|
12
12
|
shortName: string;
|
|
13
13
|
slug: string;
|
|
@@ -15,8 +15,8 @@ export interface IStore {
|
|
|
15
15
|
currency: ICurrency;
|
|
16
16
|
settings: IStoreSettings;
|
|
17
17
|
status: boolean;
|
|
18
|
-
createdAt
|
|
19
|
-
updatedAt
|
|
18
|
+
createdAt?: string;
|
|
19
|
+
updatedAt?: string;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export interface ICreateStoreDTO {
|
|
@@ -15,7 +15,7 @@ export interface ISubscriber {
|
|
|
15
15
|
channels: Array<'email' | 'sms' | 'push'>;
|
|
16
16
|
status?: 'active' | 'unsubscribed' | 'bounced' | 'blocked';
|
|
17
17
|
locale?: string;
|
|
18
|
-
store?: IStore;
|
|
18
|
+
store?: IStore | string;
|
|
19
19
|
schemaVersion?: number;
|
|
20
20
|
isDeleted?: boolean;
|
|
21
21
|
createdAt?: Date;
|