@digitaldefiance/suite-core-lib 4.28.0 → 4.28.2
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/package.json +2 -2
- package/src/builders/role-builder.d.ts +2 -2
- package/src/builders/role-builder.d.ts.map +1 -1
- package/src/builders/user-builder.d.ts +2 -2
- package/src/builders/user-builder.d.ts.map +1 -1
- package/src/interfaces/bases/email-token.d.ts +1 -1
- package/src/interfaces/bases/email-token.d.ts.map +1 -1
- package/src/interfaces/bases/role.d.ts +1 -1
- package/src/interfaces/bases/role.d.ts.map +1 -1
- package/src/interfaces/bases/token-role.d.ts +1 -1
- package/src/interfaces/bases/token-role.d.ts.map +1 -1
- package/src/interfaces/bases/user-role.d.ts +1 -1
- package/src/interfaces/bases/user-role.d.ts.map +1 -1
- package/src/interfaces/bases/user.d.ts +1 -1
- package/src/interfaces/bases/user.d.ts.map +1 -1
- package/src/interfaces/frontend-objects/role.d.ts +1 -1
- package/src/interfaces/frontend-objects/role.d.ts.map +1 -1
- package/src/interfaces/frontend-objects/user-role.d.ts +1 -1
- package/src/interfaces/frontend-objects/user-role.d.ts.map +1 -1
- package/src/interfaces/frontend-objects/user.d.ts +1 -1
- package/src/interfaces/frontend-objects/user.d.ts.map +1 -1
- package/src/interfaces/has-creation.d.ts +1 -1
- package/src/interfaces/has-creation.d.ts.map +1 -1
- package/src/interfaces/has-soft-delete.d.ts +1 -1
- package/src/interfaces/has-soft-delete.d.ts.map +1 -1
- package/src/interfaces/has-timestamps.d.ts +1 -1
- package/src/interfaces/has-timestamps.d.ts.map +1 -1
- package/src/interfaces/has-updates.d.ts +1 -1
- package/src/interfaces/has-updates.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digitaldefiance/suite-core-lib",
|
|
3
|
-
"version": "4.28.
|
|
3
|
+
"version": "4.28.2",
|
|
4
4
|
"homepage": "https://github.com/Digital-Defiance/suite-core-lib",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@digitaldefiance/branded-interface": "^0.0.5",
|
|
32
|
-
"@digitaldefiance/ecies-lib": "5.2.
|
|
32
|
+
"@digitaldefiance/ecies-lib": "5.2.1",
|
|
33
33
|
"@digitaldefiance/i18n-lib": "4.7.4"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
|
@@ -7,9 +7,9 @@ import { IRoleBase } from '../interfaces/bases/role';
|
|
|
7
7
|
/**
|
|
8
8
|
* Builder for creating role objects with fluent API
|
|
9
9
|
*/
|
|
10
|
-
export declare class RoleBuilder<TID extends PlatformID = PlatformID, TDate extends Date | string = Date> {
|
|
10
|
+
export declare class RoleBuilder<TID extends PlatformID = PlatformID, TDate extends Date | number | string = Date> {
|
|
11
11
|
private data;
|
|
12
|
-
static create<TID extends PlatformID = PlatformID, TDate extends Date | string = Date>(): RoleBuilder<TID, TDate>;
|
|
12
|
+
static create<TID extends PlatformID = PlatformID, TDate extends Date | number | string = Date>(): RoleBuilder<TID, TDate>;
|
|
13
13
|
withName(name: Role): this;
|
|
14
14
|
asAdmin(): this;
|
|
15
15
|
asMember(): this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role-builder.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/builders/role-builder.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD;;GAEG;AACH,qBAAa,WAAW,CACtB,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"role-builder.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/builders/role-builder.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD;;GAEG;AACH,qBAAa,WAAW,CACtB,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI;IAE3C,OAAO,CAAC,IAAI,CAKV;IAEF,MAAM,CAAC,MAAM,CACX,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,KACxC,WAAW,CAAC,GAAG,EAAE,KAAK,CAAC;IAI5B,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAK1B,OAAO,IAAI,IAAI;IAQf,QAAQ,IAAI,IAAI;IAQhB,OAAO,IAAI,IAAI;IAQf,QAAQ,IAAI,IAAI;IAQhB,KAAK,IAAI,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;CAG9C"}
|
|
@@ -7,13 +7,13 @@ import { IUserBase } from '../interfaces/bases/user';
|
|
|
7
7
|
/**
|
|
8
8
|
* Builder for creating user objects with fluent API
|
|
9
9
|
*/
|
|
10
|
-
export declare class UserBuilder<TID extends PlatformID = PlatformID, TDate extends Date | string = Date, TLanguage extends string = string> {
|
|
10
|
+
export declare class UserBuilder<TID extends PlatformID = PlatformID, TDate extends Date | number | string = Date, TLanguage extends string = string> {
|
|
11
11
|
private data;
|
|
12
12
|
/**
|
|
13
13
|
* Creates a new user builder instance
|
|
14
14
|
* @returns UserBuilder<TID, TDate, TLanguage>
|
|
15
15
|
*/
|
|
16
|
-
static create<TID extends PlatformID = PlatformID, TDate extends Date | string = Date, TLanguage extends string = string>(): UserBuilder<TID, TDate, TLanguage>;
|
|
16
|
+
static create<TID extends PlatformID = PlatformID, TDate extends Date | number | string = Date, TLanguage extends string = string>(): UserBuilder<TID, TDate, TLanguage>;
|
|
17
17
|
/**
|
|
18
18
|
* Sets the username for the user
|
|
19
19
|
* @param username
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-builder.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/builders/user-builder.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD;;GAEG;AACH,qBAAa,WAAW,CACtB,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"user-builder.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/builders/user-builder.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD;;GAEG;AACH,qBAAa,WAAW,CACtB,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,EAC3C,SAAS,SAAS,MAAM,GAAG,MAAM;IAEjC,OAAO,CAAC,IAAI,CAMV;IAEF;;;OAGG;IACH,MAAM,CAAC,MAAM,CACX,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,EAC3C,SAAS,SAAS,MAAM,GAAG,MAAM,KAC9B,WAAW,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,CAAC;IAIvC;;;;OAIG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAKpC;;;;OAIG;IACH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAK9B;;;;OAIG;IACH,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAK1C;;;;OAIG;IACH,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAKtC;;;;OAIG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAKpC;;;;OAIG;IACH,gBAAgB,CAAC,YAAY,EAAE,SAAS,GAAG,IAAI;IAK/C;;;;OAIG;IACH,iBAAiB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAK1C;;;;OAIG;IACH,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;IAK9C;;;;OAIG;IACH,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAK3C;;;;OAIG;IACH,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAK5C;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;CAGlE"}
|
|
@@ -5,7 +5,7 @@ import { IHasTimestamps } from '../has-timestamps';
|
|
|
5
5
|
/**
|
|
6
6
|
* Base interface for email token collection documents
|
|
7
7
|
*/
|
|
8
|
-
export interface IEmailTokenBase<TID extends PlatformID, TDate extends Date | string, TEmailTokenType extends EmailTokenType | string> extends IHasId<TID>, IHasTimestamps<TDate> {
|
|
8
|
+
export interface IEmailTokenBase<TID extends PlatformID, TDate extends Date | number | string, TEmailTokenType extends EmailTokenType | string> extends IHasId<TID>, IHasTimestamps<TDate> {
|
|
9
9
|
/**
|
|
10
10
|
* The user ID associated with the token
|
|
11
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-token.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/email-token.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,eAAe,CAC9B,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"email-token.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/email-token.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,eAAe,CAC9B,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,EACpC,eAAe,SAAS,cAAc,GAAG,MAAM,CAE/C,SAAQ,MAAM,CAAC,GAAG,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC;IAC1C;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC;CAClB"}
|
|
@@ -5,7 +5,7 @@ import { IHasSoftDelete } from '../has-soft-delete';
|
|
|
5
5
|
import { IHasSoftDeleter } from '../has-soft-deleter';
|
|
6
6
|
import { IHasTimestampOwners } from '../has-timestamp-owners';
|
|
7
7
|
import { IHasTimestamps } from '../has-timestamps';
|
|
8
|
-
export interface IRoleBase<TID extends PlatformID, TDate extends Date | string = Date, TRole extends Role | string = Role> extends IHasId<TID>, IHasTimestamps<TDate>, IHasTimestampOwners<TID>, IHasSoftDelete<TDate>, IHasSoftDeleter<TID> {
|
|
8
|
+
export interface IRoleBase<TID extends PlatformID, TDate extends Date | number | string = Date, TRole extends Role | string = Role> extends IHasId<TID>, IHasTimestamps<TDate>, IHasTimestampOwners<TID>, IHasSoftDelete<TDate>, IHasSoftDeleter<TID> {
|
|
9
9
|
/**
|
|
10
10
|
* The name of the role
|
|
11
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/role.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,SAAS,CACxB,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/role.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,SAAS,CACxB,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,EAC3C,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,IAAI,CAElC,SACE,MAAM,CAAC,GAAG,CAAC,EACX,cAAc,CAAC,KAAK,CAAC,EACrB,mBAAmB,CAAC,GAAG,CAAC,EACxB,cAAc,CAAC,KAAK,CAAC,EACrB,eAAe,CAAC,GAAG,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC;IACZ;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { PlatformID } from '@digitaldefiance/ecies-lib';
|
|
6
6
|
import { IRoleBase } from './role';
|
|
7
|
-
export interface ITokenRole<TID extends PlatformID, TDate extends Date | string = Date> extends IRoleBase<TID, TDate> {
|
|
7
|
+
export interface ITokenRole<TID extends PlatformID, TDate extends Date | number | string = Date> extends IRoleBase<TID, TDate> {
|
|
8
8
|
/**
|
|
9
9
|
* The translated name of the role
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/token-role.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,WAAW,UAAU,CACzB,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"token-role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/token-role.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,WAAW,UAAU,CACzB,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAC3C,SAAQ,SAAS,CAAC,GAAG,EAAE,KAAK,CAAC;IAC7B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -4,7 +4,7 @@ import { IHasSoftDelete } from '../has-soft-delete';
|
|
|
4
4
|
import { IHasSoftDeleter } from '../has-soft-deleter';
|
|
5
5
|
import { IHasTimestampOwners } from '../has-timestamp-owners';
|
|
6
6
|
import { IHasTimestamps } from '../has-timestamps';
|
|
7
|
-
export interface IUserRoleBase<TID extends PlatformID, TDate extends Date | string> extends IHasId<TID>, IHasTimestamps<TDate>, IHasTimestampOwners<TID>, IHasSoftDelete<TDate>, IHasSoftDeleter<TID> {
|
|
7
|
+
export interface IUserRoleBase<TID extends PlatformID, TDate extends Date | number | string> extends IHasId<TID>, IHasTimestamps<TDate>, IHasTimestampOwners<TID>, IHasSoftDelete<TDate>, IHasSoftDeleter<TID> {
|
|
8
8
|
/**
|
|
9
9
|
* The user ID
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/user-role.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,aAAa,CAC5B,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"user-role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/user-role.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,aAAa,CAC5B,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,CAEpC,SACE,MAAM,CAAC,GAAG,CAAC,EACX,cAAc,CAAC,KAAK,CAAC,EACrB,mBAAmB,CAAC,GAAG,CAAC,EACxB,cAAc,CAAC,KAAK,CAAC,EACrB,eAAe,CAAC,GAAG,CAAC;IACtB;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;IACZ;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;CACb"}
|
|
@@ -9,7 +9,7 @@ import { IHasTimestamps } from '../has-timestamps';
|
|
|
9
9
|
/**
|
|
10
10
|
* Base interface for user collection documents
|
|
11
11
|
*/
|
|
12
|
-
export interface IUserBase<TID extends PlatformID, TDate extends Date | string, TLanguage extends string, TAccountStatus extends AccountStatus | string> extends IHasId<TID>, IHasTimestamps<TDate>, IHasTimestampOwners<TID>, IHasSoftDelete<TDate>, IHasSoftDeleter<TID> {
|
|
12
|
+
export interface IUserBase<TID extends PlatformID, TDate extends Date | number | string, TLanguage extends string, TAccountStatus extends AccountStatus | string> extends IHasId<TID>, IHasTimestamps<TDate>, IHasTimestampOwners<TID>, IHasSoftDelete<TDate>, IHasSoftDeleter<TID> {
|
|
13
13
|
/**
|
|
14
14
|
* The username of the user
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,SAAS,CACxB,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/bases/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,SAAS,CACxB,GAAG,SAAS,UAAU,EACtB,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,EACpC,SAAS,SAAS,MAAM,EACxB,cAAc,SAAS,aAAa,GAAG,MAAM,CAE7C,SACE,MAAM,CAAC,GAAG,CAAC,EACX,cAAc,CAAC,KAAK,CAAC,EACrB,mBAAmB,CAAC,GAAG,CAAC,EACxB,cAAc,CAAC,KAAK,CAAC,EACrB,eAAe,CAAC,GAAG,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,cAAc,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,yBAAyB,CAAC,EAAE;QAC1B,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;IACF;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAChC;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Role } from '../../enumerations/role';
|
|
6
6
|
import { IRoleBase } from '../bases/role';
|
|
7
|
-
export type IRoleFrontendObject = IRoleBase<string,
|
|
7
|
+
export type IRoleFrontendObject<TDate extends Date | number = Date> = IRoleBase<string, TDate, Role>;
|
|
8
8
|
//# sourceMappingURL=role.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/frontend-objects/role.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/frontend-objects/role.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,IAAI,IAAI,SAAS,CAC7E,MAAM,EACN,KAAK,EACL,IAAI,CACL,CAAC"}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Client-side representation of user-role associations with Date objects.
|
|
4
4
|
*/
|
|
5
5
|
import { IUserRoleBase } from '../bases/user-role';
|
|
6
|
-
export type IUserRoleFrontendObject = IUserRoleBase<string,
|
|
6
|
+
export type IUserRoleFrontendObject<TDate extends Date | number = Date> = IUserRoleBase<string, TDate>;
|
|
7
7
|
//# sourceMappingURL=user-role.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/frontend-objects/user-role.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,uBAAuB,GAAG,aAAa,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"user-role.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/frontend-objects/user-role.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,uBAAuB,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,IAAI,IACpE,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { AccountStatus } from '../../enumerations/account-status';
|
|
6
6
|
import { IUserBase } from '../bases/user';
|
|
7
|
-
export type IUserFrontendObject = IUserBase<string,
|
|
7
|
+
export type IUserFrontendObject<TDate extends Date | number | string = Date> = IUserBase<string, TDate, string, AccountStatus>;
|
|
8
8
|
//# sourceMappingURL=user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/frontend-objects/user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/frontend-objects/user.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,IACzE,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-creation.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/has-creation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,YAAY,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"has-creation.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/has-creation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,YAAY,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM;IAChE;;OAEG;IACH,SAAS,EAAE,KAAK,CAAC;CAClB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Interface for objects with soft delete capability (deletion timestamp).
|
|
3
3
|
*/
|
|
4
|
-
export interface IHasSoftDelete<TDate extends Date | string> {
|
|
4
|
+
export interface IHasSoftDelete<TDate extends Date | number | string> {
|
|
5
5
|
/**
|
|
6
6
|
* The date the object was deleted.
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-soft-delete.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/has-soft-delete.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"has-soft-delete.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/has-soft-delete.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM;IAClE;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Interface for objects with creation and update timestamps.
|
|
3
3
|
*/
|
|
4
4
|
import { IHasCreation } from './has-creation';
|
|
5
|
-
export interface IHasTimestamps<TDate extends Date | string> extends IHasCreation<TDate> {
|
|
5
|
+
export interface IHasTimestamps<TDate extends Date | number | string> extends IHasCreation<TDate> {
|
|
6
6
|
createdAt: TDate;
|
|
7
7
|
updatedAt: TDate;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-timestamps.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/has-timestamps.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,cAAc,CAC7B,KAAK,SAAS,IAAI,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"has-timestamps.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/has-timestamps.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,cAAc,CAC7B,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM,CACpC,SAAQ,YAAY,CAAC,KAAK,CAAC;IAC3B,SAAS,EAAE,KAAK,CAAC;IACjB,SAAS,EAAE,KAAK,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"has-updates.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/has-updates.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"has-updates.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/interfaces/has-updates.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,KAAK,SAAS,IAAI,GAAG,MAAM,GAAG,MAAM;IAC/D,SAAS,EAAE,KAAK,CAAC;CAClB"}
|