meemup-library 1.5.87 → 1.5.89
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/enums/EnumManagementOperationMode.d.ts +7 -0
- package/dist/enums/EnumManagementOperationMode.js +8 -0
- package/dist/enums/EnumPointOfSaleAccessType.d.ts +2 -1
- package/dist/enums/EnumPointOfSaleAccessType.js +1 -0
- package/dist/interfaces/IAccount.d.ts +0 -2
- package/dist/interfaces/IAccount.js +1 -2
- package/dist/interfaces/management/IManagementAccount.d.ts +10 -0
- package/dist/interfaces/management/IManagementAccount.js +16 -0
- package/package.json +2 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var EnumManagementOperationMode;
|
|
2
|
+
(function (EnumManagementOperationMode) {
|
|
3
|
+
EnumManagementOperationMode[EnumManagementOperationMode["Independent"] = 1] = "Independent";
|
|
4
|
+
EnumManagementOperationMode[EnumManagementOperationMode["HostWithGhostBrands"] = 2] = "HostWithGhostBrands";
|
|
5
|
+
EnumManagementOperationMode[EnumManagementOperationMode["BrandAggregator"] = 3] = "BrandAggregator";
|
|
6
|
+
EnumManagementOperationMode[EnumManagementOperationMode["GhostBrandOnly"] = 4] = "GhostBrandOnly";
|
|
7
|
+
})(EnumManagementOperationMode || (EnumManagementOperationMode = {}));
|
|
8
|
+
export default EnumManagementOperationMode;
|
|
@@ -23,5 +23,6 @@ var EnumPointOfSaleAccessType;
|
|
|
23
23
|
EnumPointOfSaleAccessType[EnumPointOfSaleAccessType["TransactionReport"] = 21] = "TransactionReport";
|
|
24
24
|
EnumPointOfSaleAccessType[EnumPointOfSaleAccessType["TerminalReport"] = 22] = "TerminalReport";
|
|
25
25
|
EnumPointOfSaleAccessType[EnumPointOfSaleAccessType["Reservations"] = 23] = "Reservations";
|
|
26
|
+
EnumPointOfSaleAccessType[EnumPointOfSaleAccessType["Archive"] = 24] = "Archive";
|
|
26
27
|
})(EnumPointOfSaleAccessType || (EnumPointOfSaleAccessType = {}));
|
|
27
28
|
export default EnumPointOfSaleAccessType;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import EnumAccountRole from "../enums/EnumAccountRole";
|
|
2
1
|
interface IAccount {
|
|
3
2
|
token: string;
|
|
4
3
|
fullName: string;
|
|
@@ -8,7 +7,6 @@ interface IAccount {
|
|
|
8
7
|
rootUrl: string;
|
|
9
8
|
userName: string;
|
|
10
9
|
date: string;
|
|
11
|
-
role: EnumAccountRole;
|
|
12
10
|
}
|
|
13
11
|
export default IAccount;
|
|
14
12
|
export declare const initAccount: IAccount;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import EnumAccountRole from "../enums/EnumAccountRole";
|
|
2
1
|
export const initAccount = {
|
|
3
2
|
token: "",
|
|
4
3
|
fullName: "",
|
|
@@ -8,5 +7,5 @@ export const initAccount = {
|
|
|
8
7
|
rootUrl: "",
|
|
9
8
|
userName: "",
|
|
10
9
|
date: new Date().toISOString(),
|
|
11
|
-
role: EnumAccountRole.Member
|
|
10
|
+
// role: EnumAccountRole.Member
|
|
12
11
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import EnumAccountRole from "../../enums/EnumAccountRole";
|
|
2
|
+
import EnumManagementOperationMode from "../../enums/EnumManagementOperationMode";
|
|
3
|
+
import IAccount from "../IAccount";
|
|
4
|
+
export default interface IManagementAccount extends IAccount {
|
|
5
|
+
isSplash: boolean;
|
|
6
|
+
isMultiBrand: boolean;
|
|
7
|
+
operationModel: EnumManagementOperationMode;
|
|
8
|
+
role: EnumAccountRole;
|
|
9
|
+
}
|
|
10
|
+
export declare const initManagementAccount: IManagementAccount;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import EnumAccountRole from "../../enums/EnumAccountRole";
|
|
2
|
+
import EnumManagementOperationMode from "../../enums/EnumManagementOperationMode";
|
|
3
|
+
export const initManagementAccount = {
|
|
4
|
+
token: "",
|
|
5
|
+
fullName: "",
|
|
6
|
+
remoteInfo: "",
|
|
7
|
+
company: "",
|
|
8
|
+
companyId: -1,
|
|
9
|
+
rootUrl: "",
|
|
10
|
+
userName: "",
|
|
11
|
+
date: new Date().toISOString(),
|
|
12
|
+
role: EnumAccountRole.Member,
|
|
13
|
+
isMultiBrand: false,
|
|
14
|
+
isSplash: false,
|
|
15
|
+
operationModel: EnumManagementOperationMode.Independent
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.89",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"remove:one": "rimraf dist",
|
|
12
12
|
"remove:two": "rimraf ./src/dist",
|
|
13
13
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"commit": "git add . && git commit -m \"version.1.5.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.5.89\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|