@rainbow-o23/n1 1.0.51 → 1.0.52
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.
|
@@ -10,6 +10,7 @@ export interface PipelineRequestAuthorization<A = any> {
|
|
|
10
10
|
readonly authorized: boolean;
|
|
11
11
|
readonly authentication?: A;
|
|
12
12
|
readonly roles: Array<PipelineRequestAuthorizationRole>;
|
|
13
|
+
readonly headers?: Record<string, string>;
|
|
13
14
|
}
|
|
14
15
|
export interface PipelineRequest<C = PipelineRequestPayload> {
|
|
15
16
|
payload: C;
|
package/package.json
CHANGED
|
@@ -26,6 +26,8 @@ export interface PipelineRequestAuthorization<A = any> {
|
|
|
26
26
|
readonly authentication?: A;
|
|
27
27
|
/** empty array when authorized is false */
|
|
28
28
|
readonly roles: Array<PipelineRequestAuthorizationRole>;
|
|
29
|
+
/** headers should be added to response */
|
|
30
|
+
readonly headers?: Record<string, string>;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
export interface PipelineRequest<C = PipelineRequestPayload> {
|