@zuplo/runtime 5.2452.0 → 5.2454.0
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 +19 -19
- package/out/types/index.d.ts +23 -0
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -1044,6 +1044,29 @@ export declare interface CompositeInboundPolicyOptions {
|
|
|
1044
1044
|
policies?: string[];
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
|
+
/**
|
|
1048
|
+
* Creates a composite, or group policy - composed of other policies. For reuse across routes.
|
|
1049
|
+
*
|
|
1050
|
+
* @title Composite Inbound (Group Policies)
|
|
1051
|
+
* @public
|
|
1052
|
+
* @param request - The ZuploRequest
|
|
1053
|
+
* @param context - The ZuploContext
|
|
1054
|
+
* @param options - The policy options set in policies.json
|
|
1055
|
+
* @param policyName - The name of the policy as set in policies.json
|
|
1056
|
+
* @returns A Request or a Response
|
|
1057
|
+
*/
|
|
1058
|
+
export declare const CompositeOutboundPolicy: OutboundPolicyHandler<CompositeOutboundPolicyOptions>;
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* The options for this policy.
|
|
1062
|
+
*/
|
|
1063
|
+
export declare interface CompositeOutboundPolicyOptions {
|
|
1064
|
+
/**
|
|
1065
|
+
* The list of policy references (beware circular references).
|
|
1066
|
+
*/
|
|
1067
|
+
policies?: string[];
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1047
1070
|
/**
|
|
1048
1071
|
* Errors caused by invalid user configuration -i.e. invalid parameters on policies,
|
|
1049
1072
|
* handlers that are not functions, etc. This is not for zuplo system configuration errors,
|