@zuplo/runtime 6.18.33 → 6.18.34
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 +24 -22
- package/out/types/index.d.ts +20 -2
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -596,6 +596,24 @@ export declare interface AxiomaticsAuthZInboundPolicyOptions {
|
|
|
596
596
|
actionAttributes?: Attribute2;
|
|
597
597
|
}
|
|
598
598
|
|
|
599
|
+
export declare interface AzureBlobEntryGenerator<T> {
|
|
600
|
+
(response: Response, request: ZuploRequest, context: ZuploContext): Promise<T>;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
export declare class AzureBlobPlugin<T extends {
|
|
604
|
+
[P in keyof T]: string | number | boolean | null;
|
|
605
|
+
}> extends SystemRuntimePlugin {
|
|
606
|
+
#private;
|
|
607
|
+
constructor(options: AzureBlobPluginOptions<T>);
|
|
608
|
+
initialize(runtime: RuntimeExtensions): Promise<void>;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export declare interface AzureBlobPluginOptions<T> {
|
|
612
|
+
sasUrl: string;
|
|
613
|
+
batchPeriodSeconds: number;
|
|
614
|
+
generateLogEntry: AzureBlobEntryGenerator<T>;
|
|
615
|
+
}
|
|
616
|
+
|
|
599
617
|
export declare class BackgroundDispatcher<TPayload> {
|
|
600
618
|
#private;
|
|
601
619
|
constructor(dispatcher: DispatchFunction<TPayload>, options: BatchDispatcherOptions);
|
|
@@ -612,7 +630,7 @@ export declare class BackgroundLoader<T = unknown> {
|
|
|
612
630
|
get(key: string): Promise<T>;
|
|
613
631
|
}
|
|
614
632
|
|
|
615
|
-
declare interface BackgroundLoaderFunction<T> {
|
|
633
|
+
export declare interface BackgroundLoaderFunction<T> {
|
|
616
634
|
(key: string): Promise<T>;
|
|
617
635
|
}
|
|
618
636
|
|
|
@@ -1384,7 +1402,7 @@ export declare class DataDogMetricsPlugin extends MetricsPlugin {
|
|
|
1384
1402
|
/**
|
|
1385
1403
|
* @public
|
|
1386
1404
|
*/
|
|
1387
|
-
declare type DispatchFunction<TPayload> = (batch: TPayload[]) => Promise<void>;
|
|
1405
|
+
export declare type DispatchFunction<TPayload> = (batch: TPayload[]) => Promise<void>;
|
|
1388
1406
|
|
|
1389
1407
|
declare interface DynaTraceLoggingOptions {
|
|
1390
1408
|
url: string;
|