@spinajs/rbac 2.0.279 → 2.0.280
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/lib/cjs/cli/ActivateUser.d.ts +1 -1
- package/lib/cjs/cli/ActivateUser.js +3 -3
- package/lib/cjs/cli/DeleteUser.d.ts +1 -1
- package/lib/cjs/cli/DeleteUser.js +3 -3
- package/lib/cjs/cron/DeactivatePasswords.d.ts +1 -1
- package/lib/cjs/cron/DeactivatePasswords.js +3 -3
- package/lib/mjs/cli/ActivateUser.d.ts +1 -1
- package/lib/mjs/cli/ActivateUser.js +1 -1
- package/lib/mjs/cli/DeleteUser.d.ts +1 -1
- package/lib/mjs/cli/DeleteUser.js +1 -1
- package/lib/mjs/cron/DeactivatePasswords.d.ts +1 -1
- package/lib/mjs/cron/DeactivatePasswords.js +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.mjs.tsbuildinfo +1 -1
- package/package.json +11 -11
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ActivateUser = void 0;
|
|
13
|
-
const
|
|
13
|
+
const queue_1 = require("@spinajs/queue");
|
|
14
14
|
const log_1 = require("@spinajs/log");
|
|
15
15
|
const cli_1 = require("@spinajs/cli");
|
|
16
16
|
const di_1 = require("@spinajs/di");
|
|
@@ -32,8 +32,8 @@ __decorate([
|
|
|
32
32
|
__metadata("design:type", log_1.Log)
|
|
33
33
|
], ActivateUser.prototype, "Log", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
-
(0, di_1.Autoinject)(
|
|
36
|
-
__metadata("design:type",
|
|
35
|
+
(0, di_1.Autoinject)(queue_1.QueueService),
|
|
36
|
+
__metadata("design:type", queue_1.QueueService)
|
|
37
37
|
], ActivateUser.prototype, "Queue", void 0);
|
|
38
38
|
exports.ActivateUser = ActivateUser = __decorate([
|
|
39
39
|
(0, cli_1.Command)('rbac:user-activate', 'Sets active or inactive user'),
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DeleteUser = void 0;
|
|
13
13
|
const exceptions_1 = require("@spinajs/exceptions");
|
|
14
|
-
const
|
|
14
|
+
const queue_1 = require("@spinajs/queue");
|
|
15
15
|
const log_1 = require("@spinajs/log");
|
|
16
16
|
const cli_1 = require("@spinajs/cli");
|
|
17
17
|
const di_1 = require("@spinajs/di");
|
|
@@ -38,8 +38,8 @@ __decorate([
|
|
|
38
38
|
__metadata("design:type", log_1.Log)
|
|
39
39
|
], DeleteUser.prototype, "Log", void 0);
|
|
40
40
|
__decorate([
|
|
41
|
-
(0, di_1.Autoinject)(
|
|
42
|
-
__metadata("design:type",
|
|
41
|
+
(0, di_1.Autoinject)(queue_1.QueueService),
|
|
42
|
+
__metadata("design:type", queue_1.QueueService)
|
|
43
43
|
], DeleteUser.prototype, "Queue", void 0);
|
|
44
44
|
exports.DeleteUser = DeleteUser = __decorate([
|
|
45
45
|
(0, cli_1.Command)('rbac:user-delete', 'Deletes user from database permanently'),
|
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DeactivatePassowords = void 0;
|
|
13
|
-
const
|
|
13
|
+
const queue_1 = require("@spinajs/queue");
|
|
14
14
|
const log_1 = require("@spinajs/log");
|
|
15
15
|
const cli_1 = require("@spinajs/cli");
|
|
16
16
|
const di_1 = require("@spinajs/di");
|
|
@@ -32,8 +32,8 @@ __decorate([
|
|
|
32
32
|
__metadata("design:type", log_1.Log)
|
|
33
33
|
], DeactivatePassowords.prototype, "Log", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
-
(0, di_1.Autoinject)(
|
|
36
|
-
__metadata("design:type",
|
|
35
|
+
(0, di_1.Autoinject)(queue_1.QueueService),
|
|
36
|
+
__metadata("design:type", queue_1.QueueService)
|
|
37
37
|
], DeactivatePassowords.prototype, "Queue", void 0);
|
|
38
38
|
exports.DeactivatePassowords = DeactivatePassowords = __decorate([
|
|
39
39
|
(0, cli_1.Command)('rbac:user-activate', 'Sets active or inactive user'),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { QueueService } from '@spinajs/
|
|
10
|
+
import { QueueService } from '@spinajs/queue';
|
|
11
11
|
import { Log, Logger } from '@spinajs/log';
|
|
12
12
|
import { Argument, CliCommand, Command } from '@spinajs/cli';
|
|
13
13
|
import { Autoinject } from '@spinajs/di';
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { ResourceNotFound } from '@spinajs/exceptions';
|
|
11
|
-
import { QueueService } from '@spinajs/
|
|
11
|
+
import { QueueService } from '@spinajs/queue';
|
|
12
12
|
import { Log, Logger } from '@spinajs/log';
|
|
13
13
|
import { Argument, CliCommand, Command } from '@spinajs/cli';
|
|
14
14
|
import { Autoinject } from '@spinajs/di';
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { QueueService } from '@spinajs/
|
|
10
|
+
import { QueueService } from '@spinajs/queue';
|
|
11
11
|
import { Log, Logger } from '@spinajs/log';
|
|
12
12
|
import { Argument, CliCommand, Command } from '@spinajs/cli';
|
|
13
13
|
import { Autoinject } from '@spinajs/di';
|