@clairejs/server 3.19.5 → 3.19.7
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/README.md
CHANGED
|
@@ -3,7 +3,7 @@ import { EndpointMetadata } from "../../common/request/endpoint-metadata";
|
|
|
3
3
|
import { IPrincipal } from "../../common/auth/IPrincipal";
|
|
4
4
|
import { IServerSocket } from "../../socket/IServerSocket";
|
|
5
5
|
export declare class HttpRequest {
|
|
6
|
-
|
|
6
|
+
readonly endpointMetadata?: EndpointMetadata | undefined;
|
|
7
7
|
readonly valueHolder: Record<string, any>;
|
|
8
8
|
readonly clientIP?: string;
|
|
9
9
|
readonly headers: Record<string, string>;
|
|
@@ -11,8 +11,8 @@ export declare class ModelRepository<T extends AbstractModel> extends AbstractRe
|
|
|
11
11
|
private getNestedQueries;
|
|
12
12
|
private getUploadHandler;
|
|
13
13
|
private getRequestQueryConditionFromQuery;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
uriHandling(records: Partial<T>[]): Promise<() => Promise<void>>;
|
|
15
|
+
beforeReturning(records: Partial<T>[]): Promise<void>;
|
|
16
16
|
createMany({ principal, body, tx, logger, }: {
|
|
17
17
|
principal?: IPrincipal;
|
|
18
18
|
body: CreateManyRequestBody<T>;
|