@zuplo/runtime 6.54.4 → 6.54.5
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/out/esm/index.js +45 -45
- package/out/types/index.d.ts +3 -33
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyLike } from "jose";
|
|
2
2
|
import { RequestGeneric as RequestGeneric_2 } from "../../request.js";
|
|
3
|
-
import type { ValidateFunction
|
|
3
|
+
import type { ValidateFunction } from "ajv";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Entry format for Akamai API Security logger
|
|
@@ -2174,8 +2174,6 @@ export declare interface ErrorHandler {
|
|
|
2174
2174
|
): Response | Promise<Response>;
|
|
2175
2175
|
}
|
|
2176
2176
|
|
|
2177
|
-
/* Excluded from this release type: ErrorObject */
|
|
2178
|
-
|
|
2179
2177
|
declare interface FetchOptions<T> {
|
|
2180
2178
|
method?: HttpMethod_2;
|
|
2181
2179
|
data?: T;
|
|
@@ -2238,8 +2236,6 @@ export declare interface FormDataToJsonInboundPolicyOptions {
|
|
|
2238
2236
|
optionalHoneypotName?: string;
|
|
2239
2237
|
}
|
|
2240
2238
|
|
|
2241
|
-
/* Excluded from this release type: Gateway */
|
|
2242
|
-
|
|
2243
2239
|
/**
|
|
2244
2240
|
* Function to generate request logger entries
|
|
2245
2241
|
* @public
|
|
@@ -2407,10 +2403,6 @@ export declare interface HandlerDefinition {
|
|
|
2407
2403
|
options?: unknown;
|
|
2408
2404
|
}
|
|
2409
2405
|
|
|
2410
|
-
declare interface HandleRequestOptions {
|
|
2411
|
-
parentContext?: ZuploContext;
|
|
2412
|
-
}
|
|
2413
|
-
|
|
2414
2406
|
/**
|
|
2415
2407
|
* Request header authentication.
|
|
2416
2408
|
* @public
|
|
@@ -5993,28 +5985,6 @@ export declare interface ParameterDefinition extends ParameterBaseObject {
|
|
|
5993
5985
|
in: string;
|
|
5994
5986
|
}
|
|
5995
5987
|
|
|
5996
|
-
/**
|
|
5997
|
-
* This is the parsed values of the Cors configuration. All
|
|
5998
|
-
* values in the parsed configuration are in the format that the headers
|
|
5999
|
-
* use them (i.e. everything is converted to a string)
|
|
6000
|
-
*/
|
|
6001
|
-
declare interface ParsedCorsPolicyConfiguration {
|
|
6002
|
-
name: string;
|
|
6003
|
-
allowCredentials: string | undefined;
|
|
6004
|
-
maxAge: string | undefined;
|
|
6005
|
-
allowedOrigins: string[];
|
|
6006
|
-
allowedMethods?: string;
|
|
6007
|
-
allowedHeaders?: string;
|
|
6008
|
-
exposeHeaders?: string;
|
|
6009
|
-
}
|
|
6010
|
-
|
|
6011
|
-
/**
|
|
6012
|
-
* @public
|
|
6013
|
-
*/
|
|
6014
|
-
declare interface ParsedRouteData extends Omit<RouteData, "corsPolicies"> {
|
|
6015
|
-
corsPolicies: ParsedCorsPolicyConfiguration[];
|
|
6016
|
-
}
|
|
6017
|
-
|
|
6018
5988
|
/**
|
|
6019
5989
|
* The base class for inbound and outbound policies.
|
|
6020
5990
|
* Provides common functionality for all policy types.
|
|
@@ -6809,6 +6779,8 @@ export declare class RequestLoggerPlugin<
|
|
|
6809
6779
|
|
|
6810
6780
|
declare type RequestParamsDefault = Record<string, string>;
|
|
6811
6781
|
|
|
6782
|
+
/* Excluded from this release type: RequestProcessor */
|
|
6783
|
+
|
|
6812
6784
|
declare type RequestQueryDefault = Record<string, string>;
|
|
6813
6785
|
|
|
6814
6786
|
declare interface RequestReference {
|
|
@@ -8276,8 +8248,6 @@ export declare function urlRewriteHandler(
|
|
|
8276
8248
|
|
|
8277
8249
|
declare type UserDataDefault = any;
|
|
8278
8250
|
|
|
8279
|
-
/* Excluded from this release type: ValidateFunction */
|
|
8280
|
-
|
|
8281
8251
|
/**
|
|
8282
8252
|
* Validates the body of an incoming request based on a JSON schema.
|
|
8283
8253
|
*
|