@fas-core/shared-types 1.0.5 → 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 +5 -0
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -33,6 +33,9 @@ interface ICustomer extends BaseEntity {
|
|
|
33
33
|
authProvider: "credentials" | "google" | "apple" | "facebook" | string | null;
|
|
34
34
|
googleId: string;
|
|
35
35
|
emailVerified?: boolean;
|
|
36
|
+
hasPassword: boolean;
|
|
37
|
+
allowedStores: Array<string | Types.ObjectId>;
|
|
38
|
+
isStoreAdmin: boolean;
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
interface IState extends BaseEntity {
|
|
@@ -109,6 +112,7 @@ interface IStoreSettings {
|
|
|
109
112
|
logo: string;
|
|
110
113
|
theme: 'light' | 'dark';
|
|
111
114
|
timezone: string;
|
|
115
|
+
requireCustomerLogin: boolean;
|
|
112
116
|
}
|
|
113
117
|
interface IStore extends BaseEntity {
|
|
114
118
|
name: string;
|
|
@@ -119,6 +123,7 @@ interface IStore extends BaseEntity {
|
|
|
119
123
|
defaultCurrency: ICurrency;
|
|
120
124
|
settings: IStoreSettings;
|
|
121
125
|
status: boolean;
|
|
126
|
+
storeAdmins: Array<string | Types.ObjectId>;
|
|
122
127
|
}
|
|
123
128
|
|
|
124
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
|
@@ -33,6 +33,9 @@ interface ICustomer extends BaseEntity {
|
|
|
33
33
|
authProvider: "credentials" | "google" | "apple" | "facebook" | string | null;
|
|
34
34
|
googleId: string;
|
|
35
35
|
emailVerified?: boolean;
|
|
36
|
+
hasPassword: boolean;
|
|
37
|
+
allowedStores: Array<string | Types.ObjectId>;
|
|
38
|
+
isStoreAdmin: boolean;
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
interface IState extends BaseEntity {
|
|
@@ -109,6 +112,7 @@ interface IStoreSettings {
|
|
|
109
112
|
logo: string;
|
|
110
113
|
theme: 'light' | 'dark';
|
|
111
114
|
timezone: string;
|
|
115
|
+
requireCustomerLogin: boolean;
|
|
112
116
|
}
|
|
113
117
|
interface IStore extends BaseEntity {
|
|
114
118
|
name: string;
|
|
@@ -119,6 +123,7 @@ interface IStore extends BaseEntity {
|
|
|
119
123
|
defaultCurrency: ICurrency;
|
|
120
124
|
settings: IStoreSettings;
|
|
121
125
|
status: boolean;
|
|
126
|
+
storeAdmins: Array<string | Types.ObjectId>;
|
|
122
127
|
}
|
|
123
128
|
|
|
124
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