@camstack/server 1.1.4 → 1.1.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.
|
@@ -4593,6 +4593,15 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
|
|
|
4593
4593
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4594
4594
|
return p.getTrackMedia(methodInput);
|
|
4595
4595
|
}),
|
|
4596
|
+
searchObjectEvents: trpc_middleware_js_1.protectedProcedure
|
|
4597
|
+
.input(types_72.pipelineAnalyticsCapability.methods.searchObjectEvents.input.loose())
|
|
4598
|
+
.output(types_72.pipelineAnalyticsCapability.methods.searchObjectEvents.output)
|
|
4599
|
+
.query(async ({ input, ctx }) => {
|
|
4600
|
+
const { nodeId, ...methodInput } = input;
|
|
4601
|
+
const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
4602
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4603
|
+
return p.searchObjectEvents(methodInput);
|
|
4604
|
+
}),
|
|
4596
4605
|
});
|
|
4597
4606
|
}
|
|
4598
4607
|
function createCapRouter_pipelineExecutor(getProvider, createRemoteProxy) {
|
|
@@ -358,6 +358,9 @@ class MoleculerService {
|
|
|
358
358
|
null,
|
|
359
359
|
}),
|
|
360
360
|
inProcessProviders: (0, cap_route_authority_js_1.createInProcessProviderLookup)(this.capabilityService),
|
|
361
|
+
// Per-cap-method RPC timeout override (e.g. model-convert.convert, which
|
|
362
|
+
// runs for minutes) — read from the cap definition's declared timeoutMs.
|
|
363
|
+
capTimeoutMs: (capName, method) => this.capabilityService.getRegistry()?.getDefinition(capName)?.methods?.[method]?.timeoutMs,
|
|
361
364
|
});
|
|
362
365
|
// Wire the hub's EventBusService into the broker so hub-addon
|
|
363
366
|
// emissions fan out to every remote process via
|