@signskart/shared 1.2.1 → 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 ADDED
@@ -0,0 +1,4 @@
1
+ publish version
2
+
3
+ Step 1: npm run build
4
+ Step 2: npm publish --access public
@@ -4,6 +4,6 @@ export interface ICurrency {
4
4
  symbol: string;
5
5
  status: boolean;
6
6
  live_exchange_rates?: 'show' | 'hide';
7
- createdAt: string;
8
- updatedAt: string;
7
+ createdAt?: string;
8
+ updatedAt?: string;
9
9
  }
@@ -5,7 +5,7 @@ export interface IStoreSettings {
5
5
  timezone: string;
6
6
  }
7
7
  export interface IStore {
8
- _id: string;
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: string;
17
- updatedAt: string;
16
+ createdAt?: string;
17
+ updatedAt?: string;
18
18
  }
19
19
  export interface ICreateStoreDTO {
20
20
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signskart/shared",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -6,6 +6,6 @@ export interface ICurrency {
6
6
  // iso_code: string;
7
7
  // exchange_rate?: string;
8
8
  live_exchange_rates?: 'show' | 'hide';
9
- createdAt: string;
10
- updatedAt: string;
9
+ createdAt?: string;
10
+ updatedAt?: string;
11
11
  }
@@ -7,7 +7,7 @@ export interface IStoreSettings {
7
7
  }
8
8
 
9
9
  export interface IStore {
10
- _id: string;
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: string;
19
- updatedAt: string;
18
+ createdAt?: string;
19
+ updatedAt?: string;
20
20
  }
21
21
 
22
22
  export interface ICreateStoreDTO {