@spinajs/rbac-http 1.2.137 → 1.2.145
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/rbac-http/src/dto/login-dto.d.ts +1 -0
- package/lib/rbac-http/src/dto/login-dto.js +8 -1
- package/lib/rbac-http/src/dto/login-dto.js.map +1 -1
- package/lib/rbac-http/src/dto/password-dto.d.ts +1 -0
- package/lib/rbac-http/src/dto/password-dto.js +8 -1
- package/lib/rbac-http/src/dto/password-dto.js.map +1 -1
- package/lib/rbac-http/src/dto/user-dto.d.ts +1 -0
- package/lib/rbac-http/src/dto/user-dto.js +8 -1
- package/lib/rbac-http/src/dto/user-dto.js.map +1 -1
- package/package.json +5 -5
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.LoginDto = exports.LoginDtoSchema = void 0;
|
|
10
13
|
const validation_1 = require("@spinajs/validation");
|
|
@@ -19,9 +22,13 @@ exports.LoginDtoSchema = {
|
|
|
19
22
|
required: ['Login', 'Password'],
|
|
20
23
|
};
|
|
21
24
|
let LoginDto = class LoginDto {
|
|
25
|
+
constructor(data) {
|
|
26
|
+
Object.assign(this, data);
|
|
27
|
+
}
|
|
22
28
|
};
|
|
23
29
|
LoginDto = __decorate([
|
|
24
|
-
(0, validation_1.Schema)(exports.LoginDtoSchema)
|
|
30
|
+
(0, validation_1.Schema)(exports.LoginDtoSchema),
|
|
31
|
+
__metadata("design:paramtypes", [Object])
|
|
25
32
|
], LoginDto);
|
|
26
33
|
exports.LoginDto = LoginDto;
|
|
27
34
|
//# sourceMappingURL=login-dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-dto.js","sourceRoot":"","sources":["../../../../src/dto/login-dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"login-dto.js","sourceRoot":"","sources":["../../../../src/dto/login-dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA6C;AAEhC,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,gBAAgB;IACvB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE;QACxC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE;KAC5C;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;CAChC,CAAC;AAGF,IAAa,QAAQ,GAArB,MAAa,QAAQ;IAKnB,YAAY,IAAS;QACnB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF,CAAA;AARY,QAAQ;IADpB,IAAA,mBAAM,EAAC,sBAAc,CAAC;;GACV,QAAQ,CAQpB;AARY,4BAAQ"}
|
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.PasswordDto = exports.PasswordDtoSchema = void 0;
|
|
10
13
|
const validation_1 = require("@spinajs/validation");
|
|
@@ -19,9 +22,13 @@ exports.PasswordDtoSchema = {
|
|
|
19
22
|
required: ['Password', 'ConfirmPassword'],
|
|
20
23
|
};
|
|
21
24
|
let PasswordDto = class PasswordDto {
|
|
25
|
+
constructor(data) {
|
|
26
|
+
Object.assign(this, data);
|
|
27
|
+
}
|
|
22
28
|
};
|
|
23
29
|
PasswordDto = __decorate([
|
|
24
|
-
(0, validation_1.Schema)(exports.PasswordDtoSchema)
|
|
30
|
+
(0, validation_1.Schema)(exports.PasswordDtoSchema),
|
|
31
|
+
__metadata("design:paramtypes", [Object])
|
|
25
32
|
], PasswordDto);
|
|
26
33
|
exports.PasswordDto = PasswordDto;
|
|
27
34
|
//# sourceMappingURL=password-dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-dto.js","sourceRoot":"","sources":["../../../../src/dto/password-dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"password-dto.js","sourceRoot":"","sources":["../../../../src/dto/password-dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA6C;AAEhC,QAAA,iBAAiB,GAAG;IAC/B,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,mBAAmB;IAC1B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;QACzD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;KACjE;IACD,QAAQ,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;CAC1C,CAAC;AAGF,IAAa,WAAW,GAAxB,MAAa,WAAW;IAKtB,YAAY,IAAS;QACnB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF,CAAA;AARY,WAAW;IADvB,IAAA,mBAAM,EAAC,yBAAiB,CAAC;;GACb,WAAW,CAQvB;AARY,kCAAW"}
|
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.UserDto = exports.UserDtoSchema = void 0;
|
|
10
13
|
const validation_1 = require("@spinajs/validation");
|
|
@@ -23,9 +26,13 @@ exports.UserDtoSchema = {
|
|
|
23
26
|
required: ['Email', 'NiceName'],
|
|
24
27
|
};
|
|
25
28
|
let UserDto = class UserDto {
|
|
29
|
+
constructor(data) {
|
|
30
|
+
Object.assign(this, data);
|
|
31
|
+
}
|
|
26
32
|
};
|
|
27
33
|
UserDto = __decorate([
|
|
28
|
-
(0, validation_1.Schema)(exports.UserDtoSchema)
|
|
34
|
+
(0, validation_1.Schema)(exports.UserDtoSchema),
|
|
35
|
+
__metadata("design:paramtypes", [Object])
|
|
29
36
|
], UserDto);
|
|
30
37
|
exports.UserDto = UserDto;
|
|
31
38
|
//# sourceMappingURL=user-dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-dto.js","sourceRoot":"","sources":["../../../../src/dto/user-dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-dto.js","sourceRoot":"","sources":["../../../../src/dto/user-dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA6C;AAChC,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,UAAU;IACjB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACtB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE;QACzD,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE;QACxC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;QAChE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;QACzD,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE;KAC5C;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC;CAChC,CAAC;AAGF,IAAa,OAAO,GAApB,MAAa,OAAO;IAalB,YAAY,IAAS;QACnB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF,CAAA;AAhBY,OAAO;IADnB,IAAA,mBAAM,EAAC,qBAAa,CAAC;;GACT,OAAO,CAgBnB;AAhBY,0BAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinajs/rbac-http",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.145",
|
|
4
4
|
"description": "HTTP API for user session & permissions",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"@spinajs/di": "^1.2.127",
|
|
43
43
|
"@spinajs/exceptions": "^1.2.127",
|
|
44
44
|
"@spinajs/log": "^1.2.137",
|
|
45
|
-
"@spinajs/orm": "^1.2.
|
|
46
|
-
"@spinajs/rbac": "^1.2.
|
|
45
|
+
"@spinajs/orm": "^1.2.140",
|
|
46
|
+
"@spinajs/rbac": "^1.2.140",
|
|
47
47
|
"@spinajs/reflection": "^1.2.137",
|
|
48
48
|
"accesscontrol": "^2.2.1",
|
|
49
49
|
"luxon": "^2.4.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@spinajs/orm-sqlite": "^1.2.
|
|
52
|
+
"@spinajs/orm-sqlite": "^1.2.140"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "fce080fe09be9b255f34981bfd00257726472f60"
|
|
55
55
|
}
|