@punks/backend-entity-manager 0.0.72 → 0.0.73
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 +201 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/__test__/server/app/auth/auth.dto.d.ts +6 -14
- package/dist/cjs/types/platforms/nest/__test__/server/app/organizations/organization.controller.d.ts +5 -1
- package/dist/cjs/types/platforms/nest/__test__/server/app/organizations/templates/organization-register/index.d.ts +5 -21
- package/dist/cjs/types/platforms/nest/__test__/server/app/organizations/templates/organization-register/models.d.ts +17 -0
- package/dist/cjs/types/platforms/nest/__test__/server/app/tenants/templates/index.d.ts +3 -0
- package/dist/cjs/types/platforms/nest/__test__/server/app/tenants/templates/instance-initialize/index.d.ts +11 -0
- package/dist/cjs/types/platforms/nest/__test__/server/app/tenants/templates/instance-initialize/models.d.ts +4 -0
- package/dist/cjs/types/platforms/nest/__test__/server/app/tenants/templates/tenant-initialize/index.d.ts +13 -0
- package/dist/cjs/types/platforms/nest/__test__/server/app/tenants/templates/tenant-initialize/models.d.ts +17 -0
- package/dist/cjs/types/platforms/nest/__test__/server/app/tenants/tenant.controller.d.ts +7 -1
- package/dist/cjs/types/platforms/nest/__test__/server/index.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/__test__/server/infrastructure/authentication/index.d.ts +1 -1
- package/dist/cjs/types/platforms/nest/__test__/server/infrastructure/authentication/models/index.d.ts +9 -0
- package/dist/cjs/types/platforms/nest/__test__/server/infrastructure/authentication/providers/index.d.ts +5 -2
- package/dist/cjs/types/platforms/nest/__test__/server/infrastructure/authentication/providers/roles/index.d.ts +14 -0
- package/dist/cjs/types/platforms/nest/__test__/server/{app/auth/services/auth.userRoles.service.d.ts → infrastructure/authentication/providers/userRoles/index.d.ts} +6 -6
- package/dist/cjs/types/platforms/nest/__test__/server/infrastructure/authentication/providers/users/index.d.ts +23 -0
- package/dist/cjs/types/platforms/nest/__test__/server/infrastructure/authentication/roles/index.d.ts +14 -0
- package/dist/cjs/types/platforms/nest/__test__/server/infrastructure/authentication/types.d.ts +2 -1
- package/dist/cjs/types/platforms/nest/__test__/tests/ports.d.ts +9 -0
- package/dist/cjs/types/platforms/nest/base/entityActions.d.ts +1 -1
- package/dist/cjs/types/platforms/nest/extensions/authentication/abstractions/index.d.ts +3 -2
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/handlers.d.ts +3 -1
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/index.d.ts +2 -0
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/user-create/index.d.ts +14 -0
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/user-create/types.d.ts +16 -0
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/user-delete/index.d.ts +7 -0
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/user-delete/types.d.ts +3 -0
- package/dist/cjs/types/platforms/nest/extensions/authentication/services/authentication/index.d.ts +8 -1
- package/dist/cjs/types/platforms/nest/ioc/storage.d.ts +6 -0
- package/dist/cjs/types/platforms/nest/module.d.ts +6 -1
- package/dist/cjs/types/platforms/nest/pipelines/builder/types.d.ts +1 -1
- package/dist/cjs/types/platforms/nest/pipelines/template/errors.d.ts +6 -0
- package/dist/cjs/types/platforms/nest/pipelines/template/index.d.ts +8 -3
- package/dist/cjs/types/platforms/nest/pipelines/template/utils.d.ts +6 -0
- package/dist/cjs/types/platforms/nest/session/storage.d.ts +1 -1
- package/dist/cjs/types/templates/pipelines/converters/index.d.ts +2 -1
- package/dist/cjs/types/types/pipelines.d.ts +16 -2
- package/dist/esm/index.js +202 -21
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/__test__/server/app/auth/auth.dto.d.ts +6 -14
- package/dist/esm/types/platforms/nest/__test__/server/app/organizations/organization.controller.d.ts +5 -1
- package/dist/esm/types/platforms/nest/__test__/server/app/organizations/templates/organization-register/index.d.ts +5 -21
- package/dist/esm/types/platforms/nest/__test__/server/app/organizations/templates/organization-register/models.d.ts +17 -0
- package/dist/esm/types/platforms/nest/__test__/server/app/tenants/templates/index.d.ts +3 -0
- package/dist/esm/types/platforms/nest/__test__/server/app/tenants/templates/instance-initialize/index.d.ts +11 -0
- package/dist/esm/types/platforms/nest/__test__/server/app/tenants/templates/instance-initialize/models.d.ts +4 -0
- package/dist/esm/types/platforms/nest/__test__/server/app/tenants/templates/tenant-initialize/index.d.ts +13 -0
- package/dist/esm/types/platforms/nest/__test__/server/app/tenants/templates/tenant-initialize/models.d.ts +17 -0
- package/dist/esm/types/platforms/nest/__test__/server/app/tenants/tenant.controller.d.ts +7 -1
- package/dist/esm/types/platforms/nest/__test__/server/index.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/server/infrastructure/authentication/index.d.ts +1 -1
- package/dist/esm/types/platforms/nest/__test__/server/infrastructure/authentication/models/index.d.ts +9 -0
- package/dist/esm/types/platforms/nest/__test__/server/infrastructure/authentication/providers/index.d.ts +5 -2
- package/dist/esm/types/platforms/nest/__test__/server/infrastructure/authentication/providers/roles/index.d.ts +14 -0
- package/dist/esm/types/platforms/nest/__test__/server/{app/auth/services/auth.userRoles.service.d.ts → infrastructure/authentication/providers/userRoles/index.d.ts} +6 -6
- package/dist/esm/types/platforms/nest/__test__/server/infrastructure/authentication/providers/users/index.d.ts +23 -0
- package/dist/esm/types/platforms/nest/__test__/server/infrastructure/authentication/roles/index.d.ts +14 -0
- package/dist/esm/types/platforms/nest/__test__/server/infrastructure/authentication/types.d.ts +2 -1
- package/dist/esm/types/platforms/nest/__test__/tests/base/crud-actions.test.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/base/crud-api.test.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/base/crud-operations.test.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/base/seeder.test.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/base/server-session.test.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/pipelines/crud_pipeline_api.test.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/pipelines/crud_pipeline_template.test.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/pipelines/simple_pipeline.test.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/ports.d.ts +9 -0
- package/dist/esm/types/platforms/nest/base/entityActions.d.ts +1 -1
- package/dist/esm/types/platforms/nest/extensions/authentication/abstractions/index.d.ts +3 -2
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/handlers.d.ts +3 -1
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/index.d.ts +2 -0
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/user-create/index.d.ts +14 -0
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/user-create/types.d.ts +16 -0
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/user-delete/index.d.ts +7 -0
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/user-delete/types.d.ts +3 -0
- package/dist/esm/types/platforms/nest/extensions/authentication/services/authentication/index.d.ts +8 -1
- package/dist/esm/types/platforms/nest/ioc/storage.d.ts +6 -0
- package/dist/esm/types/platforms/nest/module.d.ts +6 -1
- package/dist/esm/types/platforms/nest/pipelines/builder/types.d.ts +1 -1
- package/dist/esm/types/platforms/nest/pipelines/template/errors.d.ts +6 -0
- package/dist/esm/types/platforms/nest/pipelines/template/index.d.ts +8 -3
- package/dist/esm/types/platforms/nest/pipelines/template/utils.d.ts +6 -0
- package/dist/esm/types/platforms/nest/session/storage.d.ts +1 -1
- package/dist/esm/types/templates/pipelines/converters/index.d.ts +2 -1
- package/dist/esm/types/types/pipelines.d.ts +16 -2
- package/dist/index.d.ts +68 -9
- package/package.json +1 -1
- package/dist/cjs/types/platforms/nest/__test__/server/app/auth/services/auth.roles.service.d.ts +0 -12
- package/dist/cjs/types/platforms/nest/__test__/server/app/auth/services/auth.user.service.d.ts +0 -20
- package/dist/cjs/types/platforms/nest/__test__/server/app/auth/services/index.d.ts +0 -4
- package/dist/esm/types/platforms/nest/__test__/server/app/auth/services/auth.roles.service.d.ts +0 -12
- package/dist/esm/types/platforms/nest/__test__/server/app/auth/services/auth.user.service.d.ts +0 -20
- package/dist/esm/types/platforms/nest/__test__/server/app/auth/services/index.d.ts +0 -4
- /package/dist/cjs/types/__test__/base/{test-actions-plain.test.d.ts → actions-plain.test.d.ts} +0 -0
- /package/dist/cjs/types/__test__/base/{test-actions-with-converters.test.d.ts → actions-with-converters.test.d.ts} +0 -0
- /package/dist/cjs/types/__test__/base/{test-default-entity-manager.test.d.ts → default-entity-manager.test.d.ts} +0 -0
- /package/dist/cjs/types/__test__/providers/typeorm/{test-typeorm-actions.test.d.ts → typeorm-actions.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/{tests/authentication/test_auth_api.test.d.ts → server/app/organizations/templates/organization-register/pipeline.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/{tests/authentication/test_auth_guards.test.d.ts → server/app/tenants/templates/instance-initialize/pipeline.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/{tests/authentication/test_auth_jwt.test.d.ts → server/app/tenants/templates/tenant-initialize/pipeline.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/server/infrastructure/authentication/providers/{auth-context → context}/index.d.ts +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/tests/{base/test_crud_actions.test.d.ts → authentication/auth-api.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/tests/{base/test_crud_api.test.d.ts → authentication/auth-guards.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/tests/{base/test_crud_operations.test.d.ts → authentication/auth-jwt.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/tests/base/{test_seeder.test.d.ts → crud-actions.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/tests/base/{test_server_session.test.d.ts → crud-api.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/tests/{pipelines/test_crud_pipeline.test.d.ts → base/crud-operations.test.d.ts} +0 -0
- /package/dist/cjs/types/platforms/nest/__test__/tests/{pipelines/test_simple_pipeline.test.d.ts → base/seeder.test.d.ts} +0 -0
- /package/dist/{esm/types/__test__/base/test-actions-plain.test.d.ts → cjs/types/platforms/nest/__test__/tests/base/server-session.test.d.ts} +0 -0
- /package/dist/{esm/types/__test__/base/test-actions-with-converters.test.d.ts → cjs/types/platforms/nest/__test__/tests/pipelines/crud_pipeline_api.test.d.ts} +0 -0
- /package/dist/{esm/types/__test__/base/test-default-entity-manager.test.d.ts → cjs/types/platforms/nest/__test__/tests/pipelines/crud_pipeline_template.test.d.ts} +0 -0
- /package/dist/{esm/types/__test__/providers/typeorm/test-typeorm-actions.test.d.ts → cjs/types/platforms/nest/__test__/tests/pipelines/simple_pipeline.test.d.ts} +0 -0
- /package/dist/esm/types/{platforms/nest/__test__/tests/authentication/test_auth_api.test.d.ts → __test__/base/actions-plain.test.d.ts} +0 -0
- /package/dist/esm/types/{platforms/nest/__test__/tests/authentication/test_auth_guards.test.d.ts → __test__/base/actions-with-converters.test.d.ts} +0 -0
- /package/dist/esm/types/{platforms/nest/__test__/tests/authentication/test_auth_jwt.test.d.ts → __test__/base/default-entity-manager.test.d.ts} +0 -0
- /package/dist/esm/types/{platforms/nest/__test__/tests/base/test_crud_actions.test.d.ts → __test__/providers/typeorm/typeorm-actions.test.d.ts} +0 -0
- /package/dist/esm/types/platforms/nest/__test__/{tests/base/test_crud_api.test.d.ts → server/app/organizations/templates/organization-register/pipeline.test.d.ts} +0 -0
- /package/dist/esm/types/platforms/nest/__test__/{tests/base/test_crud_operations.test.d.ts → server/app/tenants/templates/instance-initialize/pipeline.test.d.ts} +0 -0
- /package/dist/esm/types/platforms/nest/__test__/{tests/base/test_seeder.test.d.ts → server/app/tenants/templates/tenant-initialize/pipeline.test.d.ts} +0 -0
- /package/dist/esm/types/platforms/nest/__test__/server/infrastructure/authentication/providers/{auth-context → context}/index.d.ts +0 -0
- /package/dist/esm/types/platforms/nest/__test__/tests/{base/test_server_session.test.d.ts → authentication/auth-api.test.d.ts} +0 -0
- /package/dist/esm/types/platforms/nest/__test__/tests/{pipelines/test_crud_pipeline.test.d.ts → authentication/auth-guards.test.d.ts} +0 -0
- /package/dist/esm/types/platforms/nest/__test__/tests/{pipelines/test_simple_pipeline.test.d.ts → authentication/auth-jwt.test.d.ts} +0 -0
|
@@ -57,6 +57,12 @@ export type PipelineOperationRollbackResult = {
|
|
|
57
57
|
error: PipelineOperationError;
|
|
58
58
|
};
|
|
59
59
|
export type PipelineOperationRollbackResultType = PipelineOperationRollbackResult["type"];
|
|
60
|
+
export declare enum PipelineStepErrorType {
|
|
61
|
+
FailedPrecondition = "failedPrecondition",
|
|
62
|
+
OperationError = "operationError",
|
|
63
|
+
RollbackError = "rollbackError",
|
|
64
|
+
GenericError = "genericError"
|
|
65
|
+
}
|
|
60
66
|
export type PipelineStepResult<TStepInput, TStepOutput> = {
|
|
61
67
|
input: TStepInput;
|
|
62
68
|
operationResults: PipelineOperationResult<unknown, unknown>[];
|
|
@@ -65,8 +71,7 @@ export type PipelineStepResult<TStepInput, TStepOutput> = {
|
|
|
65
71
|
output: TStepOutput;
|
|
66
72
|
} | {
|
|
67
73
|
type: "error";
|
|
68
|
-
|
|
69
|
-
type: "preconditionFailed";
|
|
74
|
+
errorType: PipelineStepErrorType;
|
|
70
75
|
});
|
|
71
76
|
export type PipelineStepResultType = PipelineStepResult<unknown, unknown>["type"];
|
|
72
77
|
export type PipelineStepRollbackResult = {} & ({
|
|
@@ -75,6 +80,13 @@ export type PipelineStepRollbackResult = {} & ({
|
|
|
75
80
|
type: "error";
|
|
76
81
|
});
|
|
77
82
|
export type PipelineStepRollbackResultType = PipelineStepRollbackResult["type"];
|
|
83
|
+
export declare enum PipelineErrorType {
|
|
84
|
+
FailedPrecondition = "failedPrecondition",
|
|
85
|
+
OperationError = "operationError",
|
|
86
|
+
RollbackError = "rollbackError",
|
|
87
|
+
Unauthorized = "unauthorized",
|
|
88
|
+
GenericError = "genericError"
|
|
89
|
+
}
|
|
78
90
|
export type PipelineResult<TPipelineInput, TPipelineOutput> = {
|
|
79
91
|
stepResults: PipelineStepResult<unknown, unknown>[];
|
|
80
92
|
input: TPipelineInput;
|
|
@@ -83,6 +95,8 @@ export type PipelineResult<TPipelineInput, TPipelineOutput> = {
|
|
|
83
95
|
output: TPipelineOutput;
|
|
84
96
|
} | {
|
|
85
97
|
type: "error";
|
|
98
|
+
errorType: PipelineErrorType;
|
|
99
|
+
exception?: Error;
|
|
86
100
|
output?: TPipelineOutput;
|
|
87
101
|
});
|
|
88
102
|
export type PipelineResultType = PipelineResult<unknown, unknown>["type"];
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="express" />
|
|
3
3
|
import * as _punks_backend_core from '@punks/backend-core';
|
|
4
4
|
import * as _nestjs_common from '@nestjs/common';
|
|
5
|
-
import { Type as Type$1, INestApplicationContext, CanActivate, ExecutionContext, NestModule, DynamicModule, MiddlewareConsumer, ExceptionFilter, ArgumentsHost, NestMiddleware } from '@nestjs/common';
|
|
5
|
+
import { Type as Type$1, INestApplicationContext, CanActivate, ExecutionContext, NestModule, DynamicModule, MiddlewareConsumer, ExceptionFilter, ArgumentsHost, NestMiddleware, OnModuleInit } from '@nestjs/common';
|
|
6
6
|
import { Module } from '@nestjs/core/injector/module';
|
|
7
7
|
import { ModulesContainer } from '@nestjs/core/injector/modules-container';
|
|
8
8
|
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
|
|
@@ -168,6 +168,12 @@ type PipelineOperationRollbackResult = {
|
|
|
168
168
|
error: PipelineOperationError;
|
|
169
169
|
};
|
|
170
170
|
type PipelineOperationRollbackResultType = PipelineOperationRollbackResult["type"];
|
|
171
|
+
declare enum PipelineStepErrorType {
|
|
172
|
+
FailedPrecondition = "failedPrecondition",
|
|
173
|
+
OperationError = "operationError",
|
|
174
|
+
RollbackError = "rollbackError",
|
|
175
|
+
GenericError = "genericError"
|
|
176
|
+
}
|
|
171
177
|
type PipelineStepResult<TStepInput, TStepOutput> = {
|
|
172
178
|
input: TStepInput;
|
|
173
179
|
operationResults: PipelineOperationResult<unknown, unknown>[];
|
|
@@ -176,8 +182,7 @@ type PipelineStepResult<TStepInput, TStepOutput> = {
|
|
|
176
182
|
output: TStepOutput;
|
|
177
183
|
} | {
|
|
178
184
|
type: "error";
|
|
179
|
-
|
|
180
|
-
type: "preconditionFailed";
|
|
185
|
+
errorType: PipelineStepErrorType;
|
|
181
186
|
});
|
|
182
187
|
type PipelineStepResultType = PipelineStepResult<unknown, unknown>["type"];
|
|
183
188
|
type PipelineStepRollbackResult = {} & ({
|
|
@@ -186,6 +191,13 @@ type PipelineStepRollbackResult = {} & ({
|
|
|
186
191
|
type: "error";
|
|
187
192
|
});
|
|
188
193
|
type PipelineStepRollbackResultType = PipelineStepRollbackResult["type"];
|
|
194
|
+
declare enum PipelineErrorType {
|
|
195
|
+
FailedPrecondition = "failedPrecondition",
|
|
196
|
+
OperationError = "operationError",
|
|
197
|
+
RollbackError = "rollbackError",
|
|
198
|
+
Unauthorized = "unauthorized",
|
|
199
|
+
GenericError = "genericError"
|
|
200
|
+
}
|
|
189
201
|
type PipelineResult<TPipelineInput, TPipelineOutput> = {
|
|
190
202
|
stepResults: PipelineStepResult<unknown, unknown>[];
|
|
191
203
|
input: TPipelineInput;
|
|
@@ -194,6 +206,8 @@ type PipelineResult<TPipelineInput, TPipelineOutput> = {
|
|
|
194
206
|
output: TPipelineOutput;
|
|
195
207
|
} | {
|
|
196
208
|
type: "error";
|
|
209
|
+
errorType: PipelineErrorType;
|
|
210
|
+
exception?: Error;
|
|
197
211
|
output?: TPipelineOutput;
|
|
198
212
|
});
|
|
199
213
|
type PipelineResultType = PipelineResult<unknown, unknown>["type"];
|
|
@@ -1017,14 +1031,15 @@ interface IAuthUserService<TUser extends IAuthUser, TUserContext extends IAuthUs
|
|
|
1017
1031
|
getByUserName(userName: string, context?: TUserContext): Promise<TUser>;
|
|
1018
1032
|
update(id: string, data: Partial<TUser>): Promise<void>;
|
|
1019
1033
|
delete(id: string): Promise<void>;
|
|
1020
|
-
create(email: string, data: TUserRegistrationInfo, context?: TUserContext): Promise<TUser>;
|
|
1034
|
+
create(email: string, userName: string, data: TUserRegistrationInfo, context?: TUserContext): Promise<TUser>;
|
|
1021
1035
|
}
|
|
1022
1036
|
interface IAuthRoleService<TRole extends IAuthRole> {
|
|
1023
1037
|
create(data: Partial<TRole>): Promise<TRole>;
|
|
1024
1038
|
update(id: string, data: Partial<TRole>): Promise<void>;
|
|
1039
|
+
ensure(uid: string, data: Partial<Omit<TRole, "uid">>): Promise<TRole>;
|
|
1025
1040
|
delete(id: string): Promise<void>;
|
|
1026
1041
|
getById(id: string): Promise<TRole | undefined>;
|
|
1027
|
-
getByUid(
|
|
1042
|
+
getByUid(uid: string): Promise<TRole | undefined>;
|
|
1028
1043
|
}
|
|
1029
1044
|
interface IAuthUserRolesService<TUser extends IAuthUser, TRole extends IAuthRole> {
|
|
1030
1045
|
getRoleUsers(roleId: string): Promise<TUser[]>;
|
|
@@ -1133,10 +1148,30 @@ declare class AuthGuard implements CanActivate {
|
|
|
1133
1148
|
private getMetadata;
|
|
1134
1149
|
}
|
|
1135
1150
|
|
|
1151
|
+
declare enum UserCreationError {
|
|
1152
|
+
UserAlreadyExists = "userAlreadyExists"
|
|
1153
|
+
}
|
|
1154
|
+
interface UserCreationInput<TUserRegistrationInfo, TUserContext extends IAuthUserContext> {
|
|
1155
|
+
email: string;
|
|
1156
|
+
userName: string;
|
|
1157
|
+
password: string;
|
|
1158
|
+
registrationInfo: TUserRegistrationInfo;
|
|
1159
|
+
context?: TUserContext;
|
|
1160
|
+
}
|
|
1161
|
+
interface UserCreationResult {
|
|
1162
|
+
success: boolean;
|
|
1163
|
+
error?: UserCreationError;
|
|
1164
|
+
userId?: string;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1136
1167
|
interface UserDisableInput {
|
|
1137
1168
|
userId: string;
|
|
1138
1169
|
}
|
|
1139
1170
|
|
|
1171
|
+
interface UserDeleteInput {
|
|
1172
|
+
userId: string;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1140
1175
|
interface UserEnableInput {
|
|
1141
1176
|
userId: string;
|
|
1142
1177
|
}
|
|
@@ -1423,8 +1458,27 @@ declare class UserVerifyRequestHandler {
|
|
|
1423
1458
|
private resolveUser;
|
|
1424
1459
|
}
|
|
1425
1460
|
|
|
1461
|
+
declare class UserCreationHandler {
|
|
1462
|
+
private readonly services;
|
|
1463
|
+
private readonly passwordHashingProvider;
|
|
1464
|
+
private readonly logger;
|
|
1465
|
+
constructor(services: AuthenticationServicesResolver, passwordHashingProvider: PasswordHashingProvider);
|
|
1466
|
+
execute<TUserRegistrationInfo, TContext extends IAuthUserContext>(input: UserCreationInput<TUserRegistrationInfo, TContext>): Promise<UserCreationResult>;
|
|
1467
|
+
private createPasswordHash;
|
|
1468
|
+
private createUser;
|
|
1469
|
+
private resolveUser;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
declare class UserDeleteHandler {
|
|
1473
|
+
private readonly services;
|
|
1474
|
+
constructor(services: AuthenticationServicesResolver);
|
|
1475
|
+
execute(input: UserDeleteInput): Promise<void>;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1426
1478
|
declare class AuthenticationService implements IAuthService {
|
|
1479
|
+
private readonly userCreationHandler;
|
|
1427
1480
|
private readonly userDisableHandler;
|
|
1481
|
+
private readonly userDeleteHandler;
|
|
1428
1482
|
private readonly userEnableHandler;
|
|
1429
1483
|
private readonly userLoginHandler;
|
|
1430
1484
|
private readonly userPasswordChangeHandler;
|
|
@@ -1435,8 +1489,10 @@ declare class AuthenticationService implements IAuthService {
|
|
|
1435
1489
|
private readonly userVerifyRequestHandler;
|
|
1436
1490
|
private readonly userVerifyCompleteHandler;
|
|
1437
1491
|
private readonly resolver;
|
|
1438
|
-
constructor(userDisableHandler: UserDisableHandler, userEnableHandler: UserEnableHandler, userLoginHandler: UserLoginHandler, userPasswordChangeHandler: UserPasswordChangeHandler, userPasswordResetFinalizeHandler: UserPasswordResetCompleteHandler, userPasswordResetRequestHandler: UserPasswordResetRequestHandler, userRegistrationHandler: UserRegistrationHandler, userTokenVerifyHandler: UserTokenVerifyHandler, userVerifyRequestHandler: UserVerifyRequestHandler, userVerifyCompleteHandler: UserVerifyCompleteHandler, resolver: AuthenticationServicesResolver);
|
|
1492
|
+
constructor(userCreationHandler: UserCreationHandler, userDisableHandler: UserDisableHandler, userDeleteHandler: UserDeleteHandler, userEnableHandler: UserEnableHandler, userLoginHandler: UserLoginHandler, userPasswordChangeHandler: UserPasswordChangeHandler, userPasswordResetFinalizeHandler: UserPasswordResetCompleteHandler, userPasswordResetRequestHandler: UserPasswordResetRequestHandler, userRegistrationHandler: UserRegistrationHandler, userTokenVerifyHandler: UserTokenVerifyHandler, userVerifyRequestHandler: UserVerifyRequestHandler, userVerifyCompleteHandler: UserVerifyCompleteHandler, resolver: AuthenticationServicesResolver);
|
|
1493
|
+
userCreate<TUserRegistrationInfo, TUserContext extends IAuthUserContext>(input: UserCreationInput<TUserRegistrationInfo, TUserContext>): Promise<UserCreationResult>;
|
|
1439
1494
|
userDisable(input: UserDisableInput): Promise<void>;
|
|
1495
|
+
userDelete(input: UserDeleteInput): Promise<void>;
|
|
1440
1496
|
userEnable(input: UserEnableInput): Promise<void>;
|
|
1441
1497
|
userLogin<TUserContext extends IAuthUserContext>(input: UserLoginInput<TUserContext>): Promise<UserLoginResult>;
|
|
1442
1498
|
userPasswordChange(input: UserPasswordChangeInput): Promise<void>;
|
|
@@ -1612,7 +1668,7 @@ interface IPipelineStepOperationBuilder<TStepInput, TStepOutput, TPipelineInput,
|
|
|
1612
1668
|
}
|
|
1613
1669
|
interface IPipelineStepBuilder<TStepInput, TStepOutput, TPipelineInput, TContext> {
|
|
1614
1670
|
addStep<TNextStepOutput>(builder: (step: IPipelineStepOperationBuilder<TStepOutput, TNextStepOutput, TPipelineInput, TContext>) => void): IPipelineStepBuilder<TStepOutput, TNextStepOutput, TPipelineInput, TContext>;
|
|
1615
|
-
|
|
1671
|
+
complete(): PipelineDefinition<TPipelineInput, TStepOutput, TContext>;
|
|
1616
1672
|
}
|
|
1617
1673
|
interface IPipelineTemplateBuilder<TPipelineInput, TContext> {
|
|
1618
1674
|
addStep<TStepOutput>(builder: (step: IPipelineStepOperationBuilder<TPipelineInput, TStepOutput, TPipelineInput, TContext>) => void): IPipelineStepBuilder<TPipelineInput, TStepOutput, TPipelineInput, TContext>;
|
|
@@ -1750,7 +1806,10 @@ declare class AppSessionMiddleware implements NestMiddleware {
|
|
|
1750
1806
|
use(req: Request, res: Response, next: NextFunction): void;
|
|
1751
1807
|
}
|
|
1752
1808
|
|
|
1753
|
-
declare class EntityManagerModule {
|
|
1809
|
+
declare class EntityManagerModule implements OnModuleInit {
|
|
1810
|
+
private readonly registry;
|
|
1811
|
+
constructor(registry: EntityManagerRegistry);
|
|
1812
|
+
onModuleInit(): void;
|
|
1754
1813
|
}
|
|
1755
1814
|
|
|
1756
1815
|
declare const getLocalizedText: (item: string | LocalizedTexts, languageId: string, defaultLanguageId?: string) => string;
|
|
@@ -1762,4 +1821,4 @@ declare const renderHandlebarsTemplate: <TContext extends object>(input: {
|
|
|
1762
1821
|
|
|
1763
1822
|
declare const newUuid: () => string;
|
|
1764
1823
|
|
|
1765
|
-
export { AUTHENTICATION_EVENTS_NAMESPACE, AppExceptionsFilterBase, AppHashingService, AppInMemorySettings, AppSessionMiddleware, AppSessionService, AuthGuard, Authenticated, AuthenticationEmailTemplates, AuthenticationError, AuthenticationEvents, AuthenticationExtensionSymbols, AuthenticationModule, AuthenticationModuleSettings, AuthenticationService, AwsEmailModule, AwsSesEmailTemplate, AwsSesEmailTemplateData, AwsSesSettings, BooleanFacet, BooleanFacetItem, DeepPartial, EmailService, EmailTemplateProps, EmailVerifyEmailPayload, EmailVerifyTokenPayload, EntityActionsProps, EntityAdapterProps, EntityAuthMiddlewareProps, EntityConnectorProps, EntityConverterProps, EntityManagerConfigurationError, EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerProps, EntityManagerRegistry, EntityManagerService, EntityManagerSymbols, EntityManagerUnauthorizedException, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, EntityProps, EntityQueryBuilderProps, EntityRepositoryProps, EntitySeeder, EntitySeederProps, EventsService, EventsTrackerProps, FilterExpression, HtmlEmailInput, IAppCompany, IAppDivision, IAppOrganization, IAppRole, IAppTenant, IAppUser, IAppUserGroup, IAppUserProfile, IAuthRole, IAuthRoleService, IAuthService, IAuthUser, IAuthUserContext, IAuthUserOrganization, IAuthUserProfile, IAuthUserRolesService, IAuthUserService, IAuthUserTokenData, IAuthenticationContext, IAuthenticationContextProvider, IAuthorizationResult, IEmailProvider, IEmailTemplate, IEmailTemplatesCollection, IEntitiesCountQuery, IEntitiesQueryBuilder, IEntitiesSearchAction, IEntitiesSearchQuery, IEntitiesSearchResults, IEntitiesSearchResultsPaging, IEntityActions, IEntityAdapter, IEntityAuthorizationMiddleware, IEntityConverter, IEntityCreateAction, IEntityCreateCommand, IEntityDeleteAction, IEntityDeleteCommand, IEntityEventsManager, IEntityExistsQuery, IEntityFacet, IEntityFacetItem, IEntityFacets, IEntityGetAction, IEntityGetQuery, IEntityManager, IEntityManagerServiceCollection, IEntityManagerServiceRoot, IEntityMapper, IEntityReplicaDeleteManager, IEntityReplicaSyncManager, IEntityRepository, IEntitySearchParameters, IEntitySearchResults, IEntityUpdateAction, IEntityUpdateCommand, IEntityUpsertAction, IEntityUpsertCommand, IEventLog, IEventsTracker, IReplicasConfiguration, ISearchFilters, ISearchOptions, ISearchRequestPaging, ISearchResultsPaging, ISearchSorting, ISearchSortingField, InvalidCredentialsError, LocalizedMap, LocalizedTexts, MemberOf, MessagingEmailSentPayload, ModulesContainerProvider, MultiTenancyModule, MultipleEntitiesFoundException, NestEntityActions, NestEntityAuthorizationMiddleware, NestEntityManager, NestTypeOrmEntitySeeder, NestTypeOrmQueryBuilder, NestTypeOrmRepository, NonNullable$1 as NonNullable, NumericFacet, NumericFacetItem, OperationDefinition, OperationTokenMismatchError, PLATFORM_EVENT_NAMESPACE, PasswordResetEmailPayload, PipelineCompletedStepState, PipelineController, PipelineCurrentStepState, PipelineDefinition, PipelineOperationError, PipelineOperationResult, PipelineOperationResultType, PipelineOperationRollbackResult, PipelineOperationRollbackResultType, PipelineResult, PipelineResultType, PipelineStatus, PipelineStep, PipelineStepOperation, PipelineStepResult, PipelineStepResultType, PipelineStepRollbackResult, PipelineStepRollbackResultType, PipelineStepState, PipelineTemplateProps, PipelinesBuilder, PipelinesRunner, PlatformEvents, Public, QueryBuilderBase, RegistrationEmailPayload, ReplicaConfiguration, ReplicaOptions, ReplicationMode, Roles, RollbackOperationDefinition, RuntimeErrorInformation, SendgridEmailModule, SendgridEmailTemplate, SendgridEmailTemplateData, SendgridSettings, SendgridTemplateBaseData, SendgridTemplateType, SortDirection, SortingType, StringFacet, StringFacetItem, TemplatedEmailInput, TrackingService, UserDisableInput, UserEnableInput, UserLoginEventPayload, UserLoginInput, UserLoginResult, UserPasswordChangeInput, UserPasswordResetCompleteInput, UserPasswordResetCompletedEventPayload, UserPasswordResetRequestCallbackTemplate, UserPasswordResetRequestInput, UserPasswordResetRequestResult, UserPasswordResetStartedEventPayload, UserPasswordResetTokenPayload, UserProfile, UserRegisterCallbackTemplate, UserRegistrationCompletedEventPayload, UserRegistrationError, UserRegistrationInput, UserRegistrationResult, UserRegistrationStartedEventPayload, UserTokenVerifyInput, UserTokenVerifyResult, UserVerifyCompleteInput, UserVerifyRequestCallbackTemplate, UserVerifyRequestInput, UserVerifyRequestResult as UserVerifyResetRequestResult, WpAppInitializer, WpAwsSesEmailTemplate, WpEmailTemplate, WpEntity, WpEntityActions, WpEntityAdapter, WpEntityAuthMiddleware, WpEntityConnector, WpEntityConverter, WpEntityManager, WpEntityQueryBuilder, WpEntityRepository, WpEntitySeeder, WpEventsTracker, WpPipeline, WpRolesService, WpSendgridEmailTemplate, WpUserRolesService, WpUserService, getLocalizedText, newUuid, renderHandlebarsTemplate };
|
|
1824
|
+
export { AUTHENTICATION_EVENTS_NAMESPACE, AppExceptionsFilterBase, AppHashingService, AppInMemorySettings, AppSessionMiddleware, AppSessionService, AuthGuard, Authenticated, AuthenticationEmailTemplates, AuthenticationError, AuthenticationEvents, AuthenticationExtensionSymbols, AuthenticationModule, AuthenticationModuleSettings, AuthenticationService, AwsEmailModule, AwsSesEmailTemplate, AwsSesEmailTemplateData, AwsSesSettings, BooleanFacet, BooleanFacetItem, DeepPartial, EmailService, EmailTemplateProps, EmailVerifyEmailPayload, EmailVerifyTokenPayload, EntityActionsProps, EntityAdapterProps, EntityAuthMiddlewareProps, EntityConnectorProps, EntityConverterProps, EntityManagerConfigurationError, EntityManagerException, EntityManagerInitializer, EntityManagerModule, EntityManagerProps, EntityManagerRegistry, EntityManagerService, EntityManagerSymbols, EntityManagerUnauthorizedException, EntityNotFoundException, EntityOperationType, EntityOperationUnauthorizedException, EntityProps, EntityQueryBuilderProps, EntityRepositoryProps, EntitySeeder, EntitySeederProps, EventsService, EventsTrackerProps, FilterExpression, HtmlEmailInput, IAppCompany, IAppDivision, IAppOrganization, IAppRole, IAppTenant, IAppUser, IAppUserGroup, IAppUserProfile, IAuthRole, IAuthRoleService, IAuthService, IAuthUser, IAuthUserContext, IAuthUserOrganization, IAuthUserProfile, IAuthUserRolesService, IAuthUserService, IAuthUserTokenData, IAuthenticationContext, IAuthenticationContextProvider, IAuthorizationResult, IEmailProvider, IEmailTemplate, IEmailTemplatesCollection, IEntitiesCountQuery, IEntitiesQueryBuilder, IEntitiesSearchAction, IEntitiesSearchQuery, IEntitiesSearchResults, IEntitiesSearchResultsPaging, IEntityActions, IEntityAdapter, IEntityAuthorizationMiddleware, IEntityConverter, IEntityCreateAction, IEntityCreateCommand, IEntityDeleteAction, IEntityDeleteCommand, IEntityEventsManager, IEntityExistsQuery, IEntityFacet, IEntityFacetItem, IEntityFacets, IEntityGetAction, IEntityGetQuery, IEntityManager, IEntityManagerServiceCollection, IEntityManagerServiceRoot, IEntityMapper, IEntityReplicaDeleteManager, IEntityReplicaSyncManager, IEntityRepository, IEntitySearchParameters, IEntitySearchResults, IEntityUpdateAction, IEntityUpdateCommand, IEntityUpsertAction, IEntityUpsertCommand, IEventLog, IEventsTracker, IReplicasConfiguration, ISearchFilters, ISearchOptions, ISearchRequestPaging, ISearchResultsPaging, ISearchSorting, ISearchSortingField, InvalidCredentialsError, LocalizedMap, LocalizedTexts, MemberOf, MessagingEmailSentPayload, ModulesContainerProvider, MultiTenancyModule, MultipleEntitiesFoundException, NestEntityActions, NestEntityAuthorizationMiddleware, NestEntityManager, NestTypeOrmEntitySeeder, NestTypeOrmQueryBuilder, NestTypeOrmRepository, NonNullable$1 as NonNullable, NumericFacet, NumericFacetItem, OperationDefinition, OperationTokenMismatchError, PLATFORM_EVENT_NAMESPACE, PasswordResetEmailPayload, PipelineCompletedStepState, PipelineController, PipelineCurrentStepState, PipelineDefinition, PipelineErrorType, PipelineOperationError, PipelineOperationResult, PipelineOperationResultType, PipelineOperationRollbackResult, PipelineOperationRollbackResultType, PipelineResult, PipelineResultType, PipelineStatus, PipelineStep, PipelineStepErrorType, PipelineStepOperation, PipelineStepResult, PipelineStepResultType, PipelineStepRollbackResult, PipelineStepRollbackResultType, PipelineStepState, PipelineTemplateProps, PipelinesBuilder, PipelinesRunner, PlatformEvents, Public, QueryBuilderBase, RegistrationEmailPayload, ReplicaConfiguration, ReplicaOptions, ReplicationMode, Roles, RollbackOperationDefinition, RuntimeErrorInformation, SendgridEmailModule, SendgridEmailTemplate, SendgridEmailTemplateData, SendgridSettings, SendgridTemplateBaseData, SendgridTemplateType, SortDirection, SortingType, StringFacet, StringFacetItem, TemplatedEmailInput, TrackingService, UserCreationError, UserCreationInput, UserCreationResult, UserDeleteInput, UserDisableInput, UserEnableInput, UserLoginEventPayload, UserLoginInput, UserLoginResult, UserPasswordChangeInput, UserPasswordResetCompleteInput, UserPasswordResetCompletedEventPayload, UserPasswordResetRequestCallbackTemplate, UserPasswordResetRequestInput, UserPasswordResetRequestResult, UserPasswordResetStartedEventPayload, UserPasswordResetTokenPayload, UserProfile, UserRegisterCallbackTemplate, UserRegistrationCompletedEventPayload, UserRegistrationError, UserRegistrationInput, UserRegistrationResult, UserRegistrationStartedEventPayload, UserTokenVerifyInput, UserTokenVerifyResult, UserVerifyCompleteInput, UserVerifyRequestCallbackTemplate, UserVerifyRequestInput, UserVerifyRequestResult as UserVerifyResetRequestResult, WpAppInitializer, WpAwsSesEmailTemplate, WpEmailTemplate, WpEntity, WpEntityActions, WpEntityAdapter, WpEntityAuthMiddleware, WpEntityConnector, WpEntityConverter, WpEntityManager, WpEntityQueryBuilder, WpEntityRepository, WpEntitySeeder, WpEventsTracker, WpPipeline, WpRolesService, WpSendgridEmailTemplate, WpUserRolesService, WpUserService, getLocalizedText, newUuid, renderHandlebarsTemplate };
|
package/package.json
CHANGED
package/dist/cjs/types/platforms/nest/__test__/server/app/auth/services/auth.roles.service.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IAuthRoleService } from "../../../../../extensions";
|
|
2
|
-
import { RoleEntityManager } from "../../../entities/roles/role.manager";
|
|
3
|
-
import { RoleEntity } from "../../../database/core/entities/role.entity";
|
|
4
|
-
export declare class AuthRolesService implements IAuthRoleService<RoleEntity> {
|
|
5
|
-
private readonly rolesManager;
|
|
6
|
-
constructor(rolesManager: RoleEntityManager);
|
|
7
|
-
create(data: Partial<RoleEntity>): Promise<RoleEntity>;
|
|
8
|
-
update(id: string, data: Partial<RoleEntity>): Promise<void>;
|
|
9
|
-
delete(id: string): Promise<void>;
|
|
10
|
-
getById(id: string): Promise<RoleEntity | undefined>;
|
|
11
|
-
getByUid(uid: string): Promise<RoleEntity | undefined>;
|
|
12
|
-
}
|
package/dist/cjs/types/platforms/nest/__test__/server/app/auth/services/auth.user.service.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IAuthUserService } from "../../../../../extensions";
|
|
2
|
-
import { UserEntity } from "../../../database/core/entities/user.entity";
|
|
3
|
-
import { UserEntityManager } from "../../../entities/users/user.manager";
|
|
4
|
-
import { AppUserContext } from "../../../infrastructure/authentication";
|
|
5
|
-
import { UserRegistrationData } from "./../auth.dto";
|
|
6
|
-
import { OrganizationEntityManager } from "../../../entities/organizations/organization.manager";
|
|
7
|
-
import { UserProfileEntityManager } from "../../../entities/userProfiles/userProfile.manager";
|
|
8
|
-
export declare class AuthUserService implements IAuthUserService<UserEntity, AppUserContext, UserRegistrationData> {
|
|
9
|
-
private readonly userManager;
|
|
10
|
-
private readonly userProfileManager;
|
|
11
|
-
private readonly organizationsManager;
|
|
12
|
-
constructor(userManager: UserEntityManager, userProfileManager: UserProfileEntityManager, organizationsManager: OrganizationEntityManager);
|
|
13
|
-
getById(id: string): Promise<UserEntity>;
|
|
14
|
-
getByEmail(email: string, context?: AppUserContext | undefined): Promise<UserEntity>;
|
|
15
|
-
getByUserName(userName: string, context?: AppUserContext | undefined): Promise<UserEntity>;
|
|
16
|
-
update(id: string, data: Partial<UserEntity>): Promise<void>;
|
|
17
|
-
delete(id: string): Promise<void>;
|
|
18
|
-
create(email: string, data: UserRegistrationData, context?: AppUserContext | undefined): Promise<UserEntity>;
|
|
19
|
-
private resolveOrganization;
|
|
20
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AuthRolesService } from "./auth.roles.service";
|
|
2
|
-
import { AuthUserService } from "./auth.user.service";
|
|
3
|
-
import { AuthUserRolesService } from "./auth.userRoles.service";
|
|
4
|
-
export declare const AuthServices: (typeof AuthRolesService | typeof AuthUserService | typeof AuthUserRolesService)[];
|
package/dist/esm/types/platforms/nest/__test__/server/app/auth/services/auth.roles.service.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IAuthRoleService } from "../../../../../extensions";
|
|
2
|
-
import { RoleEntityManager } from "../../../entities/roles/role.manager";
|
|
3
|
-
import { RoleEntity } from "../../../database/core/entities/role.entity";
|
|
4
|
-
export declare class AuthRolesService implements IAuthRoleService<RoleEntity> {
|
|
5
|
-
private readonly rolesManager;
|
|
6
|
-
constructor(rolesManager: RoleEntityManager);
|
|
7
|
-
create(data: Partial<RoleEntity>): Promise<RoleEntity>;
|
|
8
|
-
update(id: string, data: Partial<RoleEntity>): Promise<void>;
|
|
9
|
-
delete(id: string): Promise<void>;
|
|
10
|
-
getById(id: string): Promise<RoleEntity | undefined>;
|
|
11
|
-
getByUid(uid: string): Promise<RoleEntity | undefined>;
|
|
12
|
-
}
|
package/dist/esm/types/platforms/nest/__test__/server/app/auth/services/auth.user.service.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IAuthUserService } from "../../../../../extensions";
|
|
2
|
-
import { UserEntity } from "../../../database/core/entities/user.entity";
|
|
3
|
-
import { UserEntityManager } from "../../../entities/users/user.manager";
|
|
4
|
-
import { AppUserContext } from "../../../infrastructure/authentication";
|
|
5
|
-
import { UserRegistrationData } from "./../auth.dto";
|
|
6
|
-
import { OrganizationEntityManager } from "../../../entities/organizations/organization.manager";
|
|
7
|
-
import { UserProfileEntityManager } from "../../../entities/userProfiles/userProfile.manager";
|
|
8
|
-
export declare class AuthUserService implements IAuthUserService<UserEntity, AppUserContext, UserRegistrationData> {
|
|
9
|
-
private readonly userManager;
|
|
10
|
-
private readonly userProfileManager;
|
|
11
|
-
private readonly organizationsManager;
|
|
12
|
-
constructor(userManager: UserEntityManager, userProfileManager: UserProfileEntityManager, organizationsManager: OrganizationEntityManager);
|
|
13
|
-
getById(id: string): Promise<UserEntity>;
|
|
14
|
-
getByEmail(email: string, context?: AppUserContext | undefined): Promise<UserEntity>;
|
|
15
|
-
getByUserName(userName: string, context?: AppUserContext | undefined): Promise<UserEntity>;
|
|
16
|
-
update(id: string, data: Partial<UserEntity>): Promise<void>;
|
|
17
|
-
delete(id: string): Promise<void>;
|
|
18
|
-
create(email: string, data: UserRegistrationData, context?: AppUserContext | undefined): Promise<UserEntity>;
|
|
19
|
-
private resolveOrganization;
|
|
20
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AuthRolesService } from "./auth.roles.service";
|
|
2
|
-
import { AuthUserService } from "./auth.user.service";
|
|
3
|
-
import { AuthUserRolesService } from "./auth.userRoles.service";
|
|
4
|
-
export declare const AuthServices: (typeof AuthRolesService | typeof AuthUserService | typeof AuthUserRolesService)[];
|
/package/dist/cjs/types/__test__/base/{test-actions-plain.test.d.ts → actions-plain.test.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|