@blue-labs/document-processor 3.10.0 → 3.11.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/dist/engine/contract-loader.d.ts +1 -0
- package/dist/engine/contract-loader.d.ts.map +1 -1
- package/dist/index.js +1317 -1125
- package/dist/model/markers/actor-policy.d.ts +89 -0
- package/dist/model/markers/actor-policy.d.ts.map +1 -0
- package/dist/model/markers/index.d.ts +1 -0
- package/dist/model/markers/index.d.ts.map +1 -1
- package/dist/model/types.d.ts +2 -2
- package/dist/model/types.d.ts.map +1 -1
- package/dist/registry/contract-processor-registry-builder.d.ts.map +1 -1
- package/dist/registry/processors/actor-policy-marker-processor.d.ts +74 -0
- package/dist/registry/processors/actor-policy-marker-processor.d.ts.map +1 -0
- package/dist/registry/processors/sequential-workflow-operation-processor.d.ts.map +1 -1
- package/dist/registry/processors/workflow/actor-policy.d.ts +4 -0
- package/dist/registry/processors/workflow/actor-policy.d.ts.map +1 -0
- package/dist/test-support/blue.d.ts +7 -0
- package/dist/test-support/blue.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { BlueNode } from '@blue-labs/language';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const actorPolicyRuleSchema: z.ZodObject<{
|
|
4
|
+
excludeSource: z.ZodOptional<z.ZodEnum<["browserSession", "apiCall", "documentRequest"]>>;
|
|
5
|
+
requiresActor: z.ZodOptional<z.ZodEnum<["principal", "agent", "any"]>>;
|
|
6
|
+
requiresSource: z.ZodOptional<z.ZodEnum<["browserSession", "apiCall", "documentRequest"]>>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
9
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
10
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
13
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
14
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const actorPolicyMarkerSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
17
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18
|
+
name: z.ZodOptional<z.ZodString>;
|
|
19
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
}, {
|
|
21
|
+
description: z.ZodOptional<z.ZodString>;
|
|
22
|
+
name: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}>, {
|
|
24
|
+
description: z.ZodOptional<z.ZodString>;
|
|
25
|
+
name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
27
|
+
excludeSource: z.ZodOptional<z.ZodString>;
|
|
28
|
+
requiresActor: z.ZodOptional<z.ZodString>;
|
|
29
|
+
requiresSource: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
excludeSource?: string | undefined;
|
|
32
|
+
requiresActor?: string | undefined;
|
|
33
|
+
requiresSource?: string | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
excludeSource?: string | undefined;
|
|
36
|
+
requiresActor?: string | undefined;
|
|
37
|
+
requiresSource?: string | undefined;
|
|
38
|
+
}>>>;
|
|
39
|
+
}>, z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
40
|
+
description: z.ZodOptional<z.ZodString>;
|
|
41
|
+
name: z.ZodOptional<z.ZodString>;
|
|
42
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
}, {
|
|
44
|
+
description: z.ZodOptional<z.ZodString>;
|
|
45
|
+
name: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}>, {
|
|
47
|
+
description: z.ZodOptional<z.ZodString>;
|
|
48
|
+
name: z.ZodOptional<z.ZodString>;
|
|
49
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
}>>, {
|
|
51
|
+
operations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
52
|
+
excludeSource: z.ZodOptional<z.ZodEnum<["browserSession", "apiCall", "documentRequest"]>>;
|
|
53
|
+
requiresActor: z.ZodOptional<z.ZodEnum<["principal", "agent", "any"]>>;
|
|
54
|
+
requiresSource: z.ZodOptional<z.ZodEnum<["browserSession", "apiCall", "documentRequest"]>>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
57
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
58
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
61
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
62
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
63
|
+
}>>>;
|
|
64
|
+
}>, "strip", z.ZodTypeAny, {
|
|
65
|
+
name?: string | undefined;
|
|
66
|
+
description?: string | undefined;
|
|
67
|
+
order?: number | undefined;
|
|
68
|
+
operations?: Record<string, {
|
|
69
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
70
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
71
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
72
|
+
}> | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
description?: string | undefined;
|
|
76
|
+
order?: number | undefined;
|
|
77
|
+
operations?: Record<string, {
|
|
78
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
79
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
80
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
81
|
+
}> | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
export type ActorPolicyRule = z.infer<typeof actorPolicyRuleSchema>;
|
|
84
|
+
export type ActorPolicyMarker = z.infer<typeof actorPolicyMarkerSchema>;
|
|
85
|
+
export declare class ActorPolicyLiteralValidationError extends Error {
|
|
86
|
+
constructor(message: string);
|
|
87
|
+
}
|
|
88
|
+
export declare function validateActorPolicyNode(node: BlueNode): void;
|
|
89
|
+
//# sourceMappingURL=actor-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actor-policy.d.ts","sourceRoot":"","sources":["../../../src/model/markers/actor-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;qBAJjC,CAAC;qBAA2C,CAAC;sBACb,CAAC;;qBAGZ,CAAC;qBAA2C,CAAC;sBAGnE,CAAD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EACC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAKxE,qBAAa,iCAAkC,SAAQ,KAAK;gBAC9C,OAAO,EAAE,MAAM;CAI5B;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,CAuC5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/markers/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/markers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC"}
|
package/dist/model/types.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ChannelContractBase } from './shared/channel-contract-base.js';
|
|
2
2
|
import { HandlerContractBase } from './shared/handler-contract-base.js';
|
|
3
3
|
import { MarkerContractBase } from './shared/marker-contract-base.js';
|
|
4
|
-
import { ChannelEventCheckpoint, InitializationMarker, ProcessEmbeddedMarker, ProcessingTerminatedMarker, DocumentAnchorsMarker, DocumentLinksMarker, MyOSParticipantsOrchestrationMarker, MyOSSessionInteractionMarker, MyOSWorkerAgencyMarker } from './markers/index.js';
|
|
4
|
+
import { ActorPolicyMarker, ChannelEventCheckpoint, InitializationMarker, ProcessEmbeddedMarker, ProcessingTerminatedMarker, DocumentAnchorsMarker, DocumentLinksMarker, MyOSParticipantsOrchestrationMarker, MyOSSessionInteractionMarker, MyOSWorkerAgencyMarker } from './markers/index.js';
|
|
5
5
|
import { DocumentUpdateChannel, EmbeddedNodeChannel, LifecycleChannel, TriggeredEventChannel, TimelineChannel, MyOSTimelineChannel, CompositeTimelineChannel } from './channels/index.js';
|
|
6
6
|
import { SequentialWorkflow } from './handlers/index.js';
|
|
7
7
|
export type GenericHandlerContract = HandlerContractBase & Record<string, unknown>;
|
|
8
8
|
export type GenericMarkerContract = MarkerContractBase & Record<string, unknown>;
|
|
9
9
|
export type GenericChannelContract = ChannelContractBase & Record<string, unknown>;
|
|
10
|
-
export type MarkerContract = ProcessEmbeddedMarker | InitializationMarker | ProcessingTerminatedMarker | ChannelEventCheckpoint | DocumentAnchorsMarker | DocumentLinksMarker | MyOSParticipantsOrchestrationMarker | MyOSSessionInteractionMarker | MyOSWorkerAgencyMarker | GenericMarkerContract;
|
|
10
|
+
export type MarkerContract = ActorPolicyMarker | ProcessEmbeddedMarker | InitializationMarker | ProcessingTerminatedMarker | ChannelEventCheckpoint | DocumentAnchorsMarker | DocumentLinksMarker | MyOSParticipantsOrchestrationMarker | MyOSSessionInteractionMarker | MyOSWorkerAgencyMarker | GenericMarkerContract;
|
|
11
11
|
export type ChannelContract = DocumentUpdateChannel | EmbeddedNodeChannel | LifecycleChannel | TriggeredEventChannel | TimelineChannel | MyOSTimelineChannel | CompositeTimelineChannel | GenericChannelContract;
|
|
12
12
|
export type HandlerContract = SequentialWorkflow | GenericHandlerContract;
|
|
13
13
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/model/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,mBAAmB,EACnB,mCAAmC,EACnC,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GACtD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,GACpD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1B,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GACtD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1B,MAAM,MAAM,cAAc,GACtB,qBAAqB,GACrB,oBAAoB,GACpB,0BAA0B,GAC1B,sBAAsB,GACtB,qBAAqB,GACrB,mBAAmB,GACnB,mCAAmC,GACnC,4BAA4B,GAC5B,sBAAsB,GACtB,qBAAqB,CAAC;AAE1B,MAAM,MAAM,eAAe,GACvB,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,mBAAmB,GACnB,wBAAwB,GACxB,sBAAsB,CAAC;AAE3B,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/model/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,mBAAmB,EACnB,mCAAmC,EACnC,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GACtD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1B,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,GACpD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1B,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GACtD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1B,MAAM,MAAM,cAAc,GACtB,iBAAiB,GACjB,qBAAqB,GACrB,oBAAoB,GACpB,0BAA0B,GAC1B,sBAAsB,GACtB,qBAAqB,GACrB,mBAAmB,GACnB,mCAAmC,GACnC,4BAA4B,GAC5B,sBAAsB,GACtB,qBAAqB,CAAC;AAE1B,MAAM,MAAM,eAAe,GACvB,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,qBAAqB,GACrB,eAAe,GACf,mBAAmB,GACnB,wBAAwB,GACxB,sBAAsB,CAAC;AAE3B,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-processor-registry-builder.d.ts","sourceRoot":"","sources":["../../src/registry/contract-processor-registry-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"contract-processor-registry-builder.d.ts","sourceRoot":"","sources":["../../src/registry/contract-processor-registry-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAS7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAElD,qBAAa,gCAAgC;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAA7C,OAAO;IAEP,MAAM,CAAC,MAAM,IAAI,gCAAgC;IAMjD,gBAAgB,IAAI,gCAAgC;IAYpD,QAAQ,CAAC,SAAS,EAAE,oBAAoB,GAAG,gCAAgC;IAK3E,KAAK,IAAI,yBAAyB;CAGnC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ActorPolicyMarker } from '../../model/index.js';
|
|
2
|
+
import { MarkerProcessor } from '../types.js';
|
|
3
|
+
export declare class ActorPolicyMarkerProcessor implements MarkerProcessor<ActorPolicyMarker> {
|
|
4
|
+
readonly kind: "marker";
|
|
5
|
+
readonly blueIds: readonly ["EeWqP1Tw9WXo5nq8kx93FuTw9HRqpv34mbWFjH72nR7o"];
|
|
6
|
+
readonly schema: import('zod').ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
7
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
8
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
9
|
+
order: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
10
|
+
}, {
|
|
11
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
12
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
13
|
+
}>, {
|
|
14
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
15
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
16
|
+
operations: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodObject<{
|
|
17
|
+
excludeSource: import('zod').ZodOptional<import('zod').ZodString>;
|
|
18
|
+
requiresActor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
19
|
+
requiresSource: import('zod').ZodOptional<import('zod').ZodString>;
|
|
20
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
21
|
+
excludeSource?: string | undefined;
|
|
22
|
+
requiresActor?: string | undefined;
|
|
23
|
+
requiresSource?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
excludeSource?: string | undefined;
|
|
26
|
+
requiresActor?: string | undefined;
|
|
27
|
+
requiresSource?: string | undefined;
|
|
28
|
+
}>>>;
|
|
29
|
+
}>, import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
30
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
31
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
32
|
+
order: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
33
|
+
}, {
|
|
34
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
35
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
36
|
+
}>, {
|
|
37
|
+
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
38
|
+
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
39
|
+
order: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
40
|
+
}>>, {
|
|
41
|
+
operations: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodObject<{
|
|
42
|
+
excludeSource: import('zod').ZodOptional<import('zod').ZodEnum<["browserSession", "apiCall", "documentRequest"]>>;
|
|
43
|
+
requiresActor: import('zod').ZodOptional<import('zod').ZodEnum<["principal", "agent", "any"]>>;
|
|
44
|
+
requiresSource: import('zod').ZodOptional<import('zod').ZodEnum<["browserSession", "apiCall", "documentRequest"]>>;
|
|
45
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
46
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
47
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
48
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
51
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
52
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
53
|
+
}>>>;
|
|
54
|
+
}>, "strip", import('zod').ZodTypeAny, {
|
|
55
|
+
name?: string | undefined;
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
order?: number | undefined;
|
|
58
|
+
operations?: Record<string, {
|
|
59
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
60
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
61
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
62
|
+
}> | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
name?: string | undefined;
|
|
65
|
+
description?: string | undefined;
|
|
66
|
+
order?: number | undefined;
|
|
67
|
+
operations?: Record<string, {
|
|
68
|
+
excludeSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
69
|
+
requiresActor?: "principal" | "agent" | "any" | undefined;
|
|
70
|
+
requiresSource?: "browserSession" | "apiCall" | "documentRequest" | undefined;
|
|
71
|
+
}> | undefined;
|
|
72
|
+
}>;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=actor-policy-marker-processor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actor-policy-marker-processor.d.ts","sourceRoot":"","sources":["../../../src/registry/processors/actor-policy-marker-processor.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,qBAAa,0BAA2B,YAAW,eAAe,CAAC,iBAAiB,CAAC;IACnF,QAAQ,CAAC,IAAI,EAAG,QAAQ,CAAU;IAClC,QAAQ,CAAC,OAAO,4DAEL;IACX,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;yBAE6K,CAAC;yBAA2C,CAAC;0BAA4C,CAAC;;yBAAoD,CAAC;yBAA2C,CAAC;0BAA4C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAF1X;CAC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sequential-workflow-operation-processor.d.ts","sourceRoot":"","sources":["../../../src/registry/processors/sequential-workflow-operation-processor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAKhD,OAAO,EAGL,KAAK,2BAA2B,EACjC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAGL,KAAK,8BAA8B,EACpC,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"sequential-workflow-operation-processor.d.ts","sourceRoot":"","sources":["../../../src/registry/processors/sequential-workflow-operation-processor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAKhD,OAAO,EAGL,KAAK,2BAA2B,EACjC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAGL,KAAK,8BAA8B,EACpC,MAAM,2BAA2B,CAAC;AAWnC,qBAAa,oCAAqC,YAAW,gBAAgB,CAAC,2BAA2B,CAAC;IACxG,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IACnC,QAAQ,CAAC,OAAO,4DAEL;IACX,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;uBAfP,CAAC;gBAAkC,CAAC;;uBAEhC,CAAC;gBACY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAY0B;IAEpD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;gBAG1C,SAAS,GAAE,SAAS,8BAA8B,EAA2B;IAK/E,aAAa,CACX,QAAQ,EAAE,2BAA2B,EACrC,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI,CAAC;QACX,cAAc,EAAE,mBAAmB,CAAC;KACrC,GACA,MAAM,GAAG,IAAI,GAAG,SAAS;IAuBtB,OAAO,CACX,QAAQ,EAAE,2BAA2B,EACrC,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,OAAO,CAAC;IAqEb,OAAO,CACX,QAAQ,EAAE,2BAA2B,EACrC,OAAO,EAAE,wBAAwB,EACjC,QAAQ,CAAC,EAAE,wBAAwB,GAClC,OAAO,CAAC,IAAI,CAAC;CAajB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BlueNode } from '@blue-labs/language';
|
|
2
|
+
import { ContractProcessorContext } from '../../types.js';
|
|
3
|
+
export declare function matchesActorPolicyForOperation(operationKey: string, eventNode: BlueNode, context: ContractProcessorContext): boolean;
|
|
4
|
+
//# sourceMappingURL=actor-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actor-policy.d.ts","sourceRoot":"","sources":["../../../../src/registry/processors/workflow/actor-policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAS/C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAe/D,wBAAgB,8BAA8B,CAC5C,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,QAAQ,EACnB,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAWT"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { Blue } from '@blue-labs/language';
|
|
2
2
|
export declare function createBlue(): Blue;
|
|
3
|
+
export declare function createBlueWithDerivedTypes(definitions: Array<{
|
|
4
|
+
name: string;
|
|
5
|
+
yaml: string;
|
|
6
|
+
}>): {
|
|
7
|
+
blue: Blue;
|
|
8
|
+
derivedBlueIds: Record<string, string>;
|
|
9
|
+
};
|
|
3
10
|
export declare const blueIds: {
|
|
4
11
|
readonly 'Core/Channel': "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
|
|
5
12
|
readonly 'Core/Channel Event Checkpoint': "B7YQeYdQzUNuzaDQ4tNTd2iJqgd4YnVQkgz4QgymDWWU";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blue.d.ts","sourceRoot":"","sources":["../../src/test-support/blue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"blue.d.ts","sourceRoot":"","sources":["../../src/test-support/blue.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAgC,MAAM,qBAAqB,CAAC;AAqEzE,wBAAgB,UAAU,IAAI,IAAI,CAKjC;AAED,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GACjD;IAAE,IAAI,EAAE,IAAI,CAAC;IAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAwBxD;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAAc,CAAC"}
|