@magda/org-tree 1.2.1 → 2.0.0-alpha.1
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/bin/org-tree/NestedSetModelQueryer.js +2557 -1182
- package/bin/org-tree/getNodeIdFromNameOrId.js +4 -4
- package/bin/org-tree/getUserIdFromNameOrId.js +4 -4
- package/bin/org-tree/org-tree-assign.js +10 -5
- package/bin/org-tree/org-tree-create.js +25 -30
- package/bin/org-tree/org-tree-delete.js +32 -36
- package/bin/org-tree/org-tree-insert.js +32 -37
- package/bin/org-tree/org-tree-move.js +32 -38
- package/bin/org-tree/org-tree-unassign.js +40 -45
- package/bin/org-tree/org-tree-view.js +2 -2
- package/bin/org-tree/org-tree.js +16 -16
- package/package.json +4 -4
|
@@ -92,15 +92,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 19);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
98
|
/******/ ({
|
|
99
99
|
|
|
100
|
-
/***/
|
|
100
|
+
/***/ 19:
|
|
101
101
|
/***/ (function(module, exports, __webpack_require__) {
|
|
102
102
|
|
|
103
|
-
const isUuid = __webpack_require__(
|
|
103
|
+
const isUuid = __webpack_require__(7).default;
|
|
104
104
|
async function getNodeIdByNameOrId(nameOrId, queryer) {
|
|
105
105
|
if (isUuid(nameOrId)) {
|
|
106
106
|
return nameOrId;
|
|
@@ -117,7 +117,7 @@ module.exports = getNodeIdByNameOrId;
|
|
|
117
117
|
|
|
118
118
|
/***/ }),
|
|
119
119
|
|
|
120
|
-
/***/
|
|
120
|
+
/***/ 7:
|
|
121
121
|
/***/ (function(module, exports, __webpack_require__) {
|
|
122
122
|
|
|
123
123
|
"use strict";
|
|
@@ -92,15 +92,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 20);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
98
|
/******/ ({
|
|
99
99
|
|
|
100
|
-
/***/
|
|
100
|
+
/***/ 20:
|
|
101
101
|
/***/ (function(module, exports, __webpack_require__) {
|
|
102
102
|
|
|
103
|
-
const isUuid = __webpack_require__(
|
|
103
|
+
const isUuid = __webpack_require__(7).default;
|
|
104
104
|
async function getUserIdFromNameOrId(nameOrId, pool) {
|
|
105
105
|
if (isUuid(nameOrId)) {
|
|
106
106
|
return nameOrId;
|
|
@@ -120,7 +120,7 @@ module.exports = getUserIdFromNameOrId;
|
|
|
120
120
|
|
|
121
121
|
/***/ }),
|
|
122
122
|
|
|
123
|
-
/***/
|
|
123
|
+
/***/ 7:
|
|
124
124
|
/***/ (function(module, exports, __webpack_require__) {
|
|
125
125
|
|
|
126
126
|
"use strict";
|
|
@@ -92,7 +92,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 21);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
98
|
/******/ ([
|
|
@@ -133,13 +133,13 @@ module.exports = require("./getNodeIdFromNameOrId");
|
|
|
133
133
|
|
|
134
134
|
/***/ }),
|
|
135
135
|
/* 6 */,
|
|
136
|
-
/* 7
|
|
136
|
+
/* 7 */,
|
|
137
|
+
/* 8 */
|
|
137
138
|
/***/ (function(module, exports) {
|
|
138
139
|
|
|
139
140
|
module.exports = require("./getUserIdFromNameOrId");
|
|
140
141
|
|
|
141
142
|
/***/ }),
|
|
142
|
-
/* 8 */,
|
|
143
143
|
/* 9 */,
|
|
144
144
|
/* 10 */,
|
|
145
145
|
/* 11 */,
|
|
@@ -147,7 +147,12 @@ module.exports = require("./getUserIdFromNameOrId");
|
|
|
147
147
|
/* 13 */,
|
|
148
148
|
/* 14 */,
|
|
149
149
|
/* 15 */,
|
|
150
|
-
/* 16
|
|
150
|
+
/* 16 */,
|
|
151
|
+
/* 17 */,
|
|
152
|
+
/* 18 */,
|
|
153
|
+
/* 19 */,
|
|
154
|
+
/* 20 */,
|
|
155
|
+
/* 21 */
|
|
151
156
|
/***/ (function(module, exports, __webpack_require__) {
|
|
152
157
|
|
|
153
158
|
|
|
@@ -158,7 +163,7 @@ const NestedSetModelQueryer = __webpack_require__(3)
|
|
|
158
163
|
.default;
|
|
159
164
|
const getDBPool = __webpack_require__(4);
|
|
160
165
|
const getNodeIdFromNameOrId = __webpack_require__(5);
|
|
161
|
-
const getUserIdFromNameOrId = __webpack_require__(
|
|
166
|
+
const getUserIdFromNameOrId = __webpack_require__(8);
|
|
162
167
|
|
|
163
168
|
program
|
|
164
169
|
.description(
|
|
@@ -92,53 +92,33 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 22);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
|
-
/******/ (
|
|
99
|
-
|
|
98
|
+
/******/ ({
|
|
99
|
+
|
|
100
|
+
/***/ 0:
|
|
100
101
|
/***/ (function(module, exports) {
|
|
101
102
|
|
|
102
103
|
module.exports = require("../../package.json");
|
|
103
104
|
|
|
104
105
|
/***/ }),
|
|
105
|
-
|
|
106
|
+
|
|
107
|
+
/***/ 1:
|
|
106
108
|
/***/ (function(module, exports) {
|
|
107
109
|
|
|
108
110
|
module.exports = require("commander");
|
|
109
111
|
|
|
110
112
|
/***/ }),
|
|
111
|
-
/* 2 */
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/***/ }),
|
|
117
|
-
/* 3 */
|
|
114
|
+
/***/ 2:
|
|
118
115
|
/***/ (function(module, exports) {
|
|
119
116
|
|
|
120
|
-
module.exports = require("
|
|
117
|
+
module.exports = require("chalk");
|
|
121
118
|
|
|
122
119
|
/***/ }),
|
|
123
|
-
/* 4 */
|
|
124
|
-
/***/ (function(module, exports) {
|
|
125
|
-
|
|
126
|
-
module.exports = require("../db/getDBPool");
|
|
127
120
|
|
|
128
|
-
/***/
|
|
129
|
-
/* 5 */,
|
|
130
|
-
/* 6 */,
|
|
131
|
-
/* 7 */,
|
|
132
|
-
/* 8 */,
|
|
133
|
-
/* 9 */,
|
|
134
|
-
/* 10 */,
|
|
135
|
-
/* 11 */,
|
|
136
|
-
/* 12 */,
|
|
137
|
-
/* 13 */,
|
|
138
|
-
/* 14 */,
|
|
139
|
-
/* 15 */,
|
|
140
|
-
/* 16 */,
|
|
141
|
-
/* 17 */
|
|
121
|
+
/***/ 22:
|
|
142
122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
143
123
|
|
|
144
124
|
|
|
@@ -180,6 +160,21 @@ program
|
|
|
180
160
|
.parse(process.argv);
|
|
181
161
|
|
|
182
162
|
|
|
163
|
+
/***/ }),
|
|
164
|
+
|
|
165
|
+
/***/ 3:
|
|
166
|
+
/***/ (function(module, exports) {
|
|
167
|
+
|
|
168
|
+
module.exports = require("./NestedSetModelQueryer");
|
|
169
|
+
|
|
170
|
+
/***/ }),
|
|
171
|
+
|
|
172
|
+
/***/ 4:
|
|
173
|
+
/***/ (function(module, exports) {
|
|
174
|
+
|
|
175
|
+
module.exports = require("../db/getDBPool");
|
|
176
|
+
|
|
183
177
|
/***/ })
|
|
184
|
-
|
|
178
|
+
|
|
179
|
+
/******/ });
|
|
185
180
|
});
|
|
@@ -92,59 +92,33 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 23);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
|
-
/******/ (
|
|
99
|
-
|
|
98
|
+
/******/ ({
|
|
99
|
+
|
|
100
|
+
/***/ 0:
|
|
100
101
|
/***/ (function(module, exports) {
|
|
101
102
|
|
|
102
103
|
module.exports = require("../../package.json");
|
|
103
104
|
|
|
104
105
|
/***/ }),
|
|
105
|
-
/* 1 */
|
|
106
|
-
/***/ (function(module, exports) {
|
|
107
106
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/***/ }),
|
|
111
|
-
/* 2 */
|
|
107
|
+
/***/ 1:
|
|
112
108
|
/***/ (function(module, exports) {
|
|
113
109
|
|
|
114
|
-
module.exports = require("
|
|
110
|
+
module.exports = require("commander");
|
|
115
111
|
|
|
116
112
|
/***/ }),
|
|
117
|
-
/* 3 */
|
|
118
|
-
/***/ (function(module, exports) {
|
|
119
|
-
|
|
120
|
-
module.exports = require("./NestedSetModelQueryer");
|
|
121
113
|
|
|
122
|
-
/***/
|
|
123
|
-
/* 4 */
|
|
114
|
+
/***/ 2:
|
|
124
115
|
/***/ (function(module, exports) {
|
|
125
116
|
|
|
126
|
-
module.exports = require("
|
|
117
|
+
module.exports = require("chalk");
|
|
127
118
|
|
|
128
119
|
/***/ }),
|
|
129
|
-
/* 5 */
|
|
130
|
-
/***/ (function(module, exports) {
|
|
131
120
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
/***/ }),
|
|
135
|
-
/* 6 */,
|
|
136
|
-
/* 7 */,
|
|
137
|
-
/* 8 */,
|
|
138
|
-
/* 9 */,
|
|
139
|
-
/* 10 */,
|
|
140
|
-
/* 11 */,
|
|
141
|
-
/* 12 */,
|
|
142
|
-
/* 13 */,
|
|
143
|
-
/* 14 */,
|
|
144
|
-
/* 15 */,
|
|
145
|
-
/* 16 */,
|
|
146
|
-
/* 17 */,
|
|
147
|
-
/* 18 */
|
|
121
|
+
/***/ 23:
|
|
148
122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
149
123
|
|
|
150
124
|
|
|
@@ -205,6 +179,28 @@ program
|
|
|
205
179
|
.parse(process.argv);
|
|
206
180
|
|
|
207
181
|
|
|
182
|
+
/***/ }),
|
|
183
|
+
|
|
184
|
+
/***/ 3:
|
|
185
|
+
/***/ (function(module, exports) {
|
|
186
|
+
|
|
187
|
+
module.exports = require("./NestedSetModelQueryer");
|
|
188
|
+
|
|
189
|
+
/***/ }),
|
|
190
|
+
|
|
191
|
+
/***/ 4:
|
|
192
|
+
/***/ (function(module, exports) {
|
|
193
|
+
|
|
194
|
+
module.exports = require("../db/getDBPool");
|
|
195
|
+
|
|
196
|
+
/***/ }),
|
|
197
|
+
|
|
198
|
+
/***/ 5:
|
|
199
|
+
/***/ (function(module, exports) {
|
|
200
|
+
|
|
201
|
+
module.exports = require("./getNodeIdFromNameOrId");
|
|
202
|
+
|
|
208
203
|
/***/ })
|
|
209
|
-
|
|
204
|
+
|
|
205
|
+
/******/ });
|
|
210
206
|
});
|
|
@@ -92,60 +92,33 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 24);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
|
-
/******/ (
|
|
99
|
-
|
|
98
|
+
/******/ ({
|
|
99
|
+
|
|
100
|
+
/***/ 0:
|
|
100
101
|
/***/ (function(module, exports) {
|
|
101
102
|
|
|
102
103
|
module.exports = require("../../package.json");
|
|
103
104
|
|
|
104
105
|
/***/ }),
|
|
105
|
-
/* 1 */
|
|
106
|
-
/***/ (function(module, exports) {
|
|
107
106
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/***/ }),
|
|
111
|
-
/* 2 */
|
|
107
|
+
/***/ 1:
|
|
112
108
|
/***/ (function(module, exports) {
|
|
113
109
|
|
|
114
|
-
module.exports = require("
|
|
110
|
+
module.exports = require("commander");
|
|
115
111
|
|
|
116
112
|
/***/ }),
|
|
117
|
-
/* 3 */
|
|
118
|
-
/***/ (function(module, exports) {
|
|
119
|
-
|
|
120
|
-
module.exports = require("./NestedSetModelQueryer");
|
|
121
113
|
|
|
122
|
-
/***/
|
|
123
|
-
/* 4 */
|
|
114
|
+
/***/ 2:
|
|
124
115
|
/***/ (function(module, exports) {
|
|
125
116
|
|
|
126
|
-
module.exports = require("
|
|
117
|
+
module.exports = require("chalk");
|
|
127
118
|
|
|
128
119
|
/***/ }),
|
|
129
|
-
/* 5 */
|
|
130
|
-
/***/ (function(module, exports) {
|
|
131
120
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
/***/ }),
|
|
135
|
-
/* 6 */,
|
|
136
|
-
/* 7 */,
|
|
137
|
-
/* 8 */,
|
|
138
|
-
/* 9 */,
|
|
139
|
-
/* 10 */,
|
|
140
|
-
/* 11 */,
|
|
141
|
-
/* 12 */,
|
|
142
|
-
/* 13 */,
|
|
143
|
-
/* 14 */,
|
|
144
|
-
/* 15 */,
|
|
145
|
-
/* 16 */,
|
|
146
|
-
/* 17 */,
|
|
147
|
-
/* 18 */,
|
|
148
|
-
/* 19 */
|
|
121
|
+
/***/ 24:
|
|
149
122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
150
123
|
|
|
151
124
|
|
|
@@ -200,6 +173,28 @@ program
|
|
|
200
173
|
.parse(process.argv);
|
|
201
174
|
|
|
202
175
|
|
|
176
|
+
/***/ }),
|
|
177
|
+
|
|
178
|
+
/***/ 3:
|
|
179
|
+
/***/ (function(module, exports) {
|
|
180
|
+
|
|
181
|
+
module.exports = require("./NestedSetModelQueryer");
|
|
182
|
+
|
|
183
|
+
/***/ }),
|
|
184
|
+
|
|
185
|
+
/***/ 4:
|
|
186
|
+
/***/ (function(module, exports) {
|
|
187
|
+
|
|
188
|
+
module.exports = require("../db/getDBPool");
|
|
189
|
+
|
|
190
|
+
/***/ }),
|
|
191
|
+
|
|
192
|
+
/***/ 5:
|
|
193
|
+
/***/ (function(module, exports) {
|
|
194
|
+
|
|
195
|
+
module.exports = require("./getNodeIdFromNameOrId");
|
|
196
|
+
|
|
203
197
|
/***/ })
|
|
204
|
-
|
|
198
|
+
|
|
199
|
+
/******/ });
|
|
205
200
|
});
|
|
@@ -92,61 +92,33 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 25);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
|
-
/******/ (
|
|
99
|
-
|
|
98
|
+
/******/ ({
|
|
99
|
+
|
|
100
|
+
/***/ 0:
|
|
100
101
|
/***/ (function(module, exports) {
|
|
101
102
|
|
|
102
103
|
module.exports = require("../../package.json");
|
|
103
104
|
|
|
104
105
|
/***/ }),
|
|
105
|
-
/* 1 */
|
|
106
|
-
/***/ (function(module, exports) {
|
|
107
106
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/***/ }),
|
|
111
|
-
/* 2 */
|
|
107
|
+
/***/ 1:
|
|
112
108
|
/***/ (function(module, exports) {
|
|
113
109
|
|
|
114
|
-
module.exports = require("
|
|
110
|
+
module.exports = require("commander");
|
|
115
111
|
|
|
116
112
|
/***/ }),
|
|
117
|
-
/* 3 */
|
|
118
|
-
/***/ (function(module, exports) {
|
|
119
|
-
|
|
120
|
-
module.exports = require("./NestedSetModelQueryer");
|
|
121
113
|
|
|
122
|
-
/***/
|
|
123
|
-
/* 4 */
|
|
114
|
+
/***/ 2:
|
|
124
115
|
/***/ (function(module, exports) {
|
|
125
116
|
|
|
126
|
-
module.exports = require("
|
|
117
|
+
module.exports = require("chalk");
|
|
127
118
|
|
|
128
119
|
/***/ }),
|
|
129
|
-
/* 5 */
|
|
130
|
-
/***/ (function(module, exports) {
|
|
131
120
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
/***/ }),
|
|
135
|
-
/* 6 */,
|
|
136
|
-
/* 7 */,
|
|
137
|
-
/* 8 */,
|
|
138
|
-
/* 9 */,
|
|
139
|
-
/* 10 */,
|
|
140
|
-
/* 11 */,
|
|
141
|
-
/* 12 */,
|
|
142
|
-
/* 13 */,
|
|
143
|
-
/* 14 */,
|
|
144
|
-
/* 15 */,
|
|
145
|
-
/* 16 */,
|
|
146
|
-
/* 17 */,
|
|
147
|
-
/* 18 */,
|
|
148
|
-
/* 19 */,
|
|
149
|
-
/* 20 */
|
|
121
|
+
/***/ 25:
|
|
150
122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
151
123
|
|
|
152
124
|
|
|
@@ -203,6 +175,28 @@ program
|
|
|
203
175
|
.parse(process.argv);
|
|
204
176
|
|
|
205
177
|
|
|
178
|
+
/***/ }),
|
|
179
|
+
|
|
180
|
+
/***/ 3:
|
|
181
|
+
/***/ (function(module, exports) {
|
|
182
|
+
|
|
183
|
+
module.exports = require("./NestedSetModelQueryer");
|
|
184
|
+
|
|
185
|
+
/***/ }),
|
|
186
|
+
|
|
187
|
+
/***/ 4:
|
|
188
|
+
/***/ (function(module, exports) {
|
|
189
|
+
|
|
190
|
+
module.exports = require("../db/getDBPool");
|
|
191
|
+
|
|
192
|
+
/***/ }),
|
|
193
|
+
|
|
194
|
+
/***/ 5:
|
|
195
|
+
/***/ (function(module, exports) {
|
|
196
|
+
|
|
197
|
+
module.exports = require("./getNodeIdFromNameOrId");
|
|
198
|
+
|
|
206
199
|
/***/ })
|
|
207
|
-
|
|
200
|
+
|
|
201
|
+
/******/ });
|
|
208
202
|
});
|
|
@@ -92,67 +92,33 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 26);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
|
-
/******/ (
|
|
99
|
-
/* 0 */
|
|
100
|
-
/***/ (function(module, exports) {
|
|
101
|
-
|
|
102
|
-
module.exports = require("../../package.json");
|
|
98
|
+
/******/ ({
|
|
103
99
|
|
|
104
|
-
/***/
|
|
105
|
-
/* 1 */
|
|
100
|
+
/***/ 0:
|
|
106
101
|
/***/ (function(module, exports) {
|
|
107
102
|
|
|
108
|
-
module.exports = require("
|
|
103
|
+
module.exports = require("../../package.json");
|
|
109
104
|
|
|
110
105
|
/***/ }),
|
|
111
|
-
/* 2 */
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
|
-
|
|
114
|
-
module.exports = require("chalk");
|
|
115
106
|
|
|
116
|
-
/***/
|
|
117
|
-
/* 3 */
|
|
107
|
+
/***/ 1:
|
|
118
108
|
/***/ (function(module, exports) {
|
|
119
109
|
|
|
120
|
-
module.exports = require("
|
|
110
|
+
module.exports = require("commander");
|
|
121
111
|
|
|
122
112
|
/***/ }),
|
|
123
|
-
/* 4 */
|
|
124
|
-
/***/ (function(module, exports) {
|
|
125
|
-
|
|
126
|
-
module.exports = require("../db/getDBPool");
|
|
127
113
|
|
|
128
|
-
/***/
|
|
129
|
-
/* 5 */
|
|
114
|
+
/***/ 2:
|
|
130
115
|
/***/ (function(module, exports) {
|
|
131
116
|
|
|
132
|
-
module.exports = require("
|
|
117
|
+
module.exports = require("chalk");
|
|
133
118
|
|
|
134
119
|
/***/ }),
|
|
135
|
-
/* 6 */,
|
|
136
|
-
/* 7 */
|
|
137
|
-
/***/ (function(module, exports) {
|
|
138
|
-
|
|
139
|
-
module.exports = require("./getUserIdFromNameOrId");
|
|
140
120
|
|
|
141
|
-
/***/
|
|
142
|
-
/* 8 */,
|
|
143
|
-
/* 9 */,
|
|
144
|
-
/* 10 */,
|
|
145
|
-
/* 11 */,
|
|
146
|
-
/* 12 */,
|
|
147
|
-
/* 13 */,
|
|
148
|
-
/* 14 */,
|
|
149
|
-
/* 15 */,
|
|
150
|
-
/* 16 */,
|
|
151
|
-
/* 17 */,
|
|
152
|
-
/* 18 */,
|
|
153
|
-
/* 19 */,
|
|
154
|
-
/* 20 */,
|
|
155
|
-
/* 21 */
|
|
121
|
+
/***/ 26:
|
|
156
122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
157
123
|
|
|
158
124
|
|
|
@@ -163,7 +129,7 @@ const NestedSetModelQueryer = __webpack_require__(3)
|
|
|
163
129
|
.default;
|
|
164
130
|
const getDBPool = __webpack_require__(4);
|
|
165
131
|
const getNodeIdFromNameOrId = __webpack_require__(5);
|
|
166
|
-
const getUserIdFromNameOrId = __webpack_require__(
|
|
132
|
+
const getUserIdFromNameOrId = __webpack_require__(8);
|
|
167
133
|
|
|
168
134
|
program
|
|
169
135
|
.description("Remove the specified user to from any org unit.")
|
|
@@ -197,6 +163,35 @@ program
|
|
|
197
163
|
.parse(process.argv);
|
|
198
164
|
|
|
199
165
|
|
|
166
|
+
/***/ }),
|
|
167
|
+
|
|
168
|
+
/***/ 3:
|
|
169
|
+
/***/ (function(module, exports) {
|
|
170
|
+
|
|
171
|
+
module.exports = require("./NestedSetModelQueryer");
|
|
172
|
+
|
|
173
|
+
/***/ }),
|
|
174
|
+
|
|
175
|
+
/***/ 4:
|
|
176
|
+
/***/ (function(module, exports) {
|
|
177
|
+
|
|
178
|
+
module.exports = require("../db/getDBPool");
|
|
179
|
+
|
|
180
|
+
/***/ }),
|
|
181
|
+
|
|
182
|
+
/***/ 5:
|
|
183
|
+
/***/ (function(module, exports) {
|
|
184
|
+
|
|
185
|
+
module.exports = require("./getNodeIdFromNameOrId");
|
|
186
|
+
|
|
187
|
+
/***/ }),
|
|
188
|
+
|
|
189
|
+
/***/ 8:
|
|
190
|
+
/***/ (function(module, exports) {
|
|
191
|
+
|
|
192
|
+
module.exports = require("./getUserIdFromNameOrId");
|
|
193
|
+
|
|
200
194
|
/***/ })
|
|
201
|
-
|
|
195
|
+
|
|
196
|
+
/******/ });
|
|
202
197
|
});
|
|
@@ -92,7 +92,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 27);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
98
|
/******/ ({
|
|
@@ -118,7 +118,7 @@ module.exports = require("chalk");
|
|
|
118
118
|
|
|
119
119
|
/***/ }),
|
|
120
120
|
|
|
121
|
-
/***/
|
|
121
|
+
/***/ 27:
|
|
122
122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
123
123
|
|
|
124
124
|
|
package/bin/org-tree/org-tree.js
CHANGED
|
@@ -92,34 +92,26 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
92
92
|
/******/
|
|
93
93
|
/******/
|
|
94
94
|
/******/ // Load entry module and return exports
|
|
95
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
95
|
+
/******/ return __webpack_require__(__webpack_require__.s = 12);
|
|
96
96
|
/******/ })
|
|
97
97
|
/************************************************************************/
|
|
98
|
-
/******/ (
|
|
99
|
-
|
|
98
|
+
/******/ ({
|
|
99
|
+
|
|
100
|
+
/***/ 0:
|
|
100
101
|
/***/ (function(module, exports) {
|
|
101
102
|
|
|
102
103
|
module.exports = require("../../package.json");
|
|
103
104
|
|
|
104
105
|
/***/ }),
|
|
105
|
-
|
|
106
|
+
|
|
107
|
+
/***/ 1:
|
|
106
108
|
/***/ (function(module, exports) {
|
|
107
109
|
|
|
108
110
|
module.exports = require("commander");
|
|
109
111
|
|
|
110
112
|
/***/ }),
|
|
111
|
-
/* 2 */
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/***/ }),
|
|
117
|
-
/* 3 */,
|
|
118
|
-
/* 4 */,
|
|
119
|
-
/* 5 */,
|
|
120
|
-
/* 6 */,
|
|
121
|
-
/* 7 */,
|
|
122
|
-
/* 8 */
|
|
114
|
+
/***/ 12:
|
|
123
115
|
/***/ (function(module, exports, __webpack_require__) {
|
|
124
116
|
|
|
125
117
|
|
|
@@ -194,6 +186,14 @@ program
|
|
|
194
186
|
.parse(process.argv);
|
|
195
187
|
|
|
196
188
|
|
|
189
|
+
/***/ }),
|
|
190
|
+
|
|
191
|
+
/***/ 2:
|
|
192
|
+
/***/ (function(module, exports) {
|
|
193
|
+
|
|
194
|
+
module.exports = require("chalk");
|
|
195
|
+
|
|
197
196
|
/***/ })
|
|
198
|
-
|
|
197
|
+
|
|
198
|
+
/******/ });
|
|
199
199
|
});
|