@taiger-common/core 1.1.2 → 1.1.4
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/cjs/index.js
CHANGED
|
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./constants"), exports);
|
|
18
|
-
__exportStar(require("./types"), exports);
|
|
19
18
|
__exportStar(require("./utils"), exports);
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal user shape for role-checking utils.
|
|
3
|
+
* Compatible with @taiger-common/model IUser (role from Mongoose discriminator).
|
|
4
|
+
*/
|
|
1
5
|
export interface UserProps {
|
|
2
6
|
role: string;
|
|
3
7
|
archiv?: boolean;
|
|
4
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Minimal application shape for application-status utils.
|
|
11
|
+
* Compatible with @taiger-common/model IApplication.
|
|
12
|
+
*/
|
|
5
13
|
export interface ApplicationProps {
|
|
6
14
|
decided: string;
|
|
7
15
|
closed: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiger-common/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "TaiGer core package",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -50,7 +50,9 @@
|
|
|
50
50
|
"bugs": {
|
|
51
51
|
"url": "https://github.com/LIYUNG/taiger-core/issues"
|
|
52
52
|
},
|
|
53
|
-
"dependencies": {
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@taiger-common/model": "^1.0.47"
|
|
55
|
+
},
|
|
54
56
|
"devDependencies": {
|
|
55
57
|
"@commitlint/cli": "^13.1.0",
|
|
56
58
|
"@commitlint/config-conventional": "^13.1.0",
|
package/dist/cjs/types/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./users"), exports);
|
package/dist/cjs/types/users.js
DELETED