@fas-core/shared-types 1.0.6 → 1.0.7
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -34,6 +34,8 @@ interface ICustomer extends BaseEntity {
|
|
|
34
34
|
googleId: string;
|
|
35
35
|
emailVerified?: boolean;
|
|
36
36
|
hasPassword: boolean;
|
|
37
|
+
allowedStores: Array<string | Types.ObjectId>;
|
|
38
|
+
isStoreAdmin: boolean;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
interface IState extends BaseEntity {
|
|
@@ -110,6 +112,7 @@ interface IStoreSettings {
|
|
|
110
112
|
logo: string;
|
|
111
113
|
theme: 'light' | 'dark';
|
|
112
114
|
timezone: string;
|
|
115
|
+
requireCustomerLogin: boolean;
|
|
113
116
|
}
|
|
114
117
|
interface IStore extends BaseEntity {
|
|
115
118
|
name: string;
|
|
@@ -120,6 +123,7 @@ interface IStore extends BaseEntity {
|
|
|
120
123
|
defaultCurrency: ICurrency;
|
|
121
124
|
settings: IStoreSettings;
|
|
122
125
|
status: boolean;
|
|
126
|
+
storeAdmins: Array<string | Types.ObjectId>;
|
|
123
127
|
}
|
|
124
128
|
|
|
125
129
|
export { ADMIN_ROLES, type ApiResponse, type BaseEntity, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type ICountry, type ICurrency, type ICustomer, type IState, type IStore, type IStoreSettings, type Paginated, type SoftDeleteFilter };
|
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ interface ICustomer extends BaseEntity {
|
|
|
34
34
|
googleId: string;
|
|
35
35
|
emailVerified?: boolean;
|
|
36
36
|
hasPassword: boolean;
|
|
37
|
+
allowedStores: Array<string | Types.ObjectId>;
|
|
38
|
+
isStoreAdmin: boolean;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
interface IState extends BaseEntity {
|
|
@@ -110,6 +112,7 @@ interface IStoreSettings {
|
|
|
110
112
|
logo: string;
|
|
111
113
|
theme: 'light' | 'dark';
|
|
112
114
|
timezone: string;
|
|
115
|
+
requireCustomerLogin: boolean;
|
|
113
116
|
}
|
|
114
117
|
interface IStore extends BaseEntity {
|
|
115
118
|
name: string;
|
|
@@ -120,6 +123,7 @@ interface IStore extends BaseEntity {
|
|
|
120
123
|
defaultCurrency: ICurrency;
|
|
121
124
|
settings: IStoreSettings;
|
|
122
125
|
status: boolean;
|
|
126
|
+
storeAdmins: Array<string | Types.ObjectId>;
|
|
123
127
|
}
|
|
124
128
|
|
|
125
129
|
export { ADMIN_ROLES, type ApiResponse, type BaseEntity, type IAddress, type IAdmin, type IAdminCreate, type IAdminRoleType, type IAdminSafe, type IAdminUpdate, type ICountry, type ICurrency, type ICustomer, type IState, type IStore, type IStoreSettings, type Paginated, type SoftDeleteFilter };
|
package/package.json
CHANGED