@blue-labs/language 1.20.0 → 1.21.1

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.
Files changed (147) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +8 -15
  4. package/dist/index.mjs +2065 -3581
  5. package/dist/lib/Blue.d.ts +29 -4
  6. package/dist/lib/Blue.d.ts.map +1 -1
  7. package/dist/lib/mapping/__tests__/schema/contract.d.ts +12 -12
  8. package/dist/lib/mapping/__tests__/schema/index.d.ts +12 -12
  9. package/dist/lib/preprocess/Preprocessor.d.ts +10 -19
  10. package/dist/lib/preprocess/Preprocessor.d.ts.map +1 -1
  11. package/dist/lib/preprocess/utils/BlueIdsMappingGenerator.d.ts +9 -9
  12. package/dist/lib/preprocess/utils/BlueIdsMappingGenerator.d.ts.map +1 -1
  13. package/dist/lib/utils/index.d.ts +3 -1
  14. package/dist/lib/utils/index.d.ts.map +1 -1
  15. package/dist/utils/index.d.ts +1 -0
  16. package/dist/utils/index.d.ts.map +1 -1
  17. package/package.json +11 -18
  18. package/dist/lib/processor/BlueDocumentProcessor.d.ts +0 -54
  19. package/dist/lib/processor/BlueDocumentProcessor.d.ts.map +0 -1
  20. package/dist/lib/processor/context.d.ts +0 -21
  21. package/dist/lib/processor/context.d.ts.map +0 -1
  22. package/dist/lib/processor/processors/BaseChannelProcessor.d.ts +0 -27
  23. package/dist/lib/processor/processors/BaseChannelProcessor.d.ts.map +0 -1
  24. package/dist/lib/processor/processors/ChannelEventCheckpointProcessor.d.ts +0 -13
  25. package/dist/lib/processor/processors/ChannelEventCheckpointProcessor.d.ts.map +0 -1
  26. package/dist/lib/processor/processors/CompositeTimelineChannelProcessor.d.ts +0 -9
  27. package/dist/lib/processor/processors/CompositeTimelineChannelProcessor.d.ts.map +0 -1
  28. package/dist/lib/processor/processors/DocumentUpdateChannelProcessor.d.ts +0 -9
  29. package/dist/lib/processor/processors/DocumentUpdateChannelProcessor.d.ts.map +0 -1
  30. package/dist/lib/processor/processors/EmbeddedNodeChannelProcessor.d.ts +0 -9
  31. package/dist/lib/processor/processors/EmbeddedNodeChannelProcessor.d.ts.map +0 -1
  32. package/dist/lib/processor/processors/MyOSAgentChannelProcessor.d.ts +0 -60
  33. package/dist/lib/processor/processors/MyOSAgentChannelProcessor.d.ts.map +0 -1
  34. package/dist/lib/processor/processors/MyOSTimelineChannelProcessor.d.ts +0 -9
  35. package/dist/lib/processor/processors/MyOSTimelineChannelProcessor.d.ts.map +0 -1
  36. package/dist/lib/processor/processors/OperationProcessor.d.ts +0 -11
  37. package/dist/lib/processor/processors/OperationProcessor.d.ts.map +0 -1
  38. package/dist/lib/processor/processors/ProcessEmbeddedProcessor.d.ts +0 -10
  39. package/dist/lib/processor/processors/ProcessEmbeddedProcessor.d.ts.map +0 -1
  40. package/dist/lib/processor/processors/SequentialWorkflowOperationProcessor.d.ts +0 -12
  41. package/dist/lib/processor/processors/SequentialWorkflowOperationProcessor.d.ts.map +0 -1
  42. package/dist/lib/processor/processors/SequentialWorkflowProcessor/SequentialWorkflowProcessor.d.ts +0 -15
  43. package/dist/lib/processor/processors/SequentialWorkflowProcessor/SequentialWorkflowProcessor.d.ts.map +0 -1
  44. package/dist/lib/processor/processors/SequentialWorkflowProcessor/index.d.ts +0 -2
  45. package/dist/lib/processor/processors/SequentialWorkflowProcessor/index.d.ts.map +0 -1
  46. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/JavaScriptCodeExecutor.d.ts +0 -8
  47. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/JavaScriptCodeExecutor.d.ts.map +0 -1
  48. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/TriggerEventExecutor.d.ts +0 -8
  49. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/TriggerEventExecutor.d.ts.map +0 -1
  50. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/UpdateDocumentExecutor.d.ts +0 -12
  51. package/dist/lib/processor/processors/SequentialWorkflowProcessor/steps/UpdateDocumentExecutor.d.ts.map +0 -1
  52. package/dist/lib/processor/processors/SequentialWorkflowProcessor/types.d.ts +0 -7
  53. package/dist/lib/processor/processors/SequentialWorkflowProcessor/types.d.ts.map +0 -1
  54. package/dist/lib/processor/processors/SequentialWorkflowProcessor/utils/BindingsFactory.d.ts +0 -12
  55. package/dist/lib/processor/processors/SequentialWorkflowProcessor/utils/BindingsFactory.d.ts.map +0 -1
  56. package/dist/lib/processor/processors/SequentialWorkflowProcessor/utils/ExpressionEvaluator.d.ts +0 -59
  57. package/dist/lib/processor/processors/SequentialWorkflowProcessor/utils/ExpressionEvaluator.d.ts.map +0 -1
  58. package/dist/lib/processor/processors/TimelineChannelProcessor.d.ts +0 -9
  59. package/dist/lib/processor/processors/TimelineChannelProcessor.d.ts.map +0 -1
  60. package/dist/lib/processor/processors/index.d.ts +0 -12
  61. package/dist/lib/processor/processors/index.d.ts.map +0 -1
  62. package/dist/lib/processor/queue/TaskKey.d.ts +0 -22
  63. package/dist/lib/processor/queue/TaskKey.d.ts.map +0 -1
  64. package/dist/lib/processor/queue/TaskQueue.d.ts +0 -31
  65. package/dist/lib/processor/queue/TaskQueue.d.ts.map +0 -1
  66. package/dist/lib/processor/registry/ContractRegistry.d.ts +0 -47
  67. package/dist/lib/processor/registry/ContractRegistry.d.ts.map +0 -1
  68. package/dist/lib/processor/routing/EventRouter.d.ts +0 -51
  69. package/dist/lib/processor/routing/EventRouter.d.ts.map +0 -1
  70. package/dist/lib/processor/types.d.ts +0 -112
  71. package/dist/lib/processor/types.d.ts.map +0 -1
  72. package/dist/lib/processor/utils/CheckpointCache.d.ts +0 -9
  73. package/dist/lib/processor/utils/CheckpointCache.d.ts.map +0 -1
  74. package/dist/lib/processor/utils/EventTraceManager.d.ts +0 -46
  75. package/dist/lib/processor/utils/EventTraceManager.d.ts.map +0 -1
  76. package/dist/lib/processor/utils/checkpoint.d.ts +0 -3
  77. package/dist/lib/processor/utils/checkpoint.d.ts.map +0 -1
  78. package/dist/lib/processor/utils/document.d.ts +0 -19
  79. package/dist/lib/processor/utils/document.d.ts.map +0 -1
  80. package/dist/lib/processor/utils/exceptions.d.ts +0 -28
  81. package/dist/lib/processor/utils/exceptions.d.ts.map +0 -1
  82. package/dist/lib/processor/utils/fetchText.d.ts +0 -2
  83. package/dist/lib/processor/utils/fetchText.d.ts.map +0 -1
  84. package/dist/lib/processor/utils/logPatchError.d.ts +0 -3
  85. package/dist/lib/processor/utils/logPatchError.d.ts.map +0 -1
  86. package/dist/lib/processor/utils/path.d.ts +0 -2
  87. package/dist/lib/processor/utils/path.d.ts.map +0 -1
  88. package/dist/lib/processor/utils/typeGuard.d.ts +0 -5
  89. package/dist/lib/processor/utils/typeGuard.d.ts.map +0 -1
  90. package/dist/lib/utils/TinyQueue.d.ts +0 -12
  91. package/dist/lib/utils/TinyQueue.d.ts.map +0 -1
  92. package/dist/repo/core/blue-ids/index.d.ts +0 -21
  93. package/dist/repo/core/blue-ids/index.d.ts.map +0 -1
  94. package/dist/repo/core/index.d.ts +0 -191
  95. package/dist/repo/core/index.d.ts.map +0 -1
  96. package/dist/repo/core/schema/Channel.d.ts +0 -13
  97. package/dist/repo/core/schema/Channel.d.ts.map +0 -1
  98. package/dist/repo/core/schema/CompositeTimelineChannel.d.ts +0 -17
  99. package/dist/repo/core/schema/CompositeTimelineChannel.d.ts.map +0 -1
  100. package/dist/repo/core/schema/DocumentUpdateChannel.d.ts +0 -17
  101. package/dist/repo/core/schema/DocumentUpdateChannel.d.ts.map +0 -1
  102. package/dist/repo/core/schema/EmbeddedNodeChannel.d.ts +0 -17
  103. package/dist/repo/core/schema/EmbeddedNodeChannel.d.ts.map +0 -1
  104. package/dist/repo/core/schema/JavaScriptCode.d.ts +0 -10
  105. package/dist/repo/core/schema/JavaScriptCode.d.ts.map +0 -1
  106. package/dist/repo/core/schema/JsonPatchEntry.d.ts +0 -22
  107. package/dist/repo/core/schema/JsonPatchEntry.d.ts.map +0 -1
  108. package/dist/repo/core/schema/Operation.d.ts +0 -16
  109. package/dist/repo/core/schema/Operation.d.ts.map +0 -1
  110. package/dist/repo/core/schema/OperationRequest.d.ts +0 -29
  111. package/dist/repo/core/schema/OperationRequest.d.ts.map +0 -1
  112. package/dist/repo/core/schema/ProcessEmbedded.d.ts +0 -10
  113. package/dist/repo/core/schema/ProcessEmbedded.d.ts.map +0 -1
  114. package/dist/repo/core/schema/SequentialWorkflow.d.ts +0 -13
  115. package/dist/repo/core/schema/SequentialWorkflow.d.ts.map +0 -1
  116. package/dist/repo/core/schema/SequentialWorkflowOperation.d.ts +0 -15
  117. package/dist/repo/core/schema/SequentialWorkflowOperation.d.ts.map +0 -1
  118. package/dist/repo/core/schema/SequentialWorkflowStep.d.ts +0 -13
  119. package/dist/repo/core/schema/SequentialWorkflowStep.d.ts.map +0 -1
  120. package/dist/repo/core/schema/TimelineChannel.d.ts +0 -17
  121. package/dist/repo/core/schema/TimelineChannel.d.ts.map +0 -1
  122. package/dist/repo/core/schema/TimelineEntry.d.ts +0 -25
  123. package/dist/repo/core/schema/TimelineEntry.d.ts.map +0 -1
  124. package/dist/repo/core/schema/TriggerEvent.d.ts +0 -10
  125. package/dist/repo/core/schema/TriggerEvent.d.ts.map +0 -1
  126. package/dist/repo/core/schema/UpdateDocument.d.ts +0 -40
  127. package/dist/repo/core/schema/UpdateDocument.d.ts.map +0 -1
  128. package/dist/repo/core/schema/index.d.ts +0 -14
  129. package/dist/repo/core/schema/index.d.ts.map +0 -1
  130. package/dist/repo/myos/blue-ids/index.d.ts +0 -8
  131. package/dist/repo/myos/blue-ids/index.d.ts.map +0 -1
  132. package/dist/repo/myos/index.d.ts +0 -99
  133. package/dist/repo/myos/index.d.ts.map +0 -1
  134. package/dist/repo/myos/schema/MyOSAgent.d.ts +0 -10
  135. package/dist/repo/myos/schema/MyOSAgent.d.ts.map +0 -1
  136. package/dist/repo/myos/schema/MyOSAgentChannel.d.ts +0 -30
  137. package/dist/repo/myos/schema/MyOSAgentChannel.d.ts.map +0 -1
  138. package/dist/repo/myos/schema/MyOSAgentEvent.d.ts +0 -19
  139. package/dist/repo/myos/schema/MyOSAgentEvent.d.ts.map +0 -1
  140. package/dist/repo/myos/schema/MyOSTimelineChannel.d.ts +0 -24
  141. package/dist/repo/myos/schema/MyOSTimelineChannel.d.ts.map +0 -1
  142. package/dist/repo/myos/schema/MyOSTimelineEntry.d.ts +0 -32
  143. package/dist/repo/myos/schema/MyOSTimelineEntry.d.ts.map +0 -1
  144. package/dist/repo/myos/schema/index.d.ts +0 -6
  145. package/dist/repo/myos/schema/index.d.ts.map +0 -1
  146. package/dist/utils/deepFreeze.d.ts +0 -8
  147. package/dist/utils/deepFreeze.d.ts.map +0 -1
@@ -1,112 +0,0 @@
1
- import { Blue } from '../Blue';
2
- import { BigDecimalNumber } from '../model/BigDecimalNumber';
3
- import { BigIntegerNumber } from '../model/BigIntegerNumber';
4
- import { BlueNode } from '../model/Node';
5
- export type BlueId = string;
6
- export type DocumentNode = BlueNode;
7
- export interface EventNodePayload {
8
- type?: string;
9
- [key: string]: unknown;
10
- }
11
- export interface EventNode<Payload = EventNodePayload> {
12
- payload: Payload;
13
- source?: 'channel' | 'external';
14
- /** Absolute path of the document node that emitted this event */
15
- originNodePath?: string;
16
- /** Channel of the node that emitted this event */
17
- channelName?: string;
18
- /** Absolute path that hints the router where to start */
19
- dispatchPath?: string;
20
- /** Sequence number for event ordering */
21
- seq?: number;
22
- /** The very first event in the chain that led to this one */
23
- rootEvent?: EventNode;
24
- /** Linear path trace: each hop = "<absNodePath>#<contractName>" */
25
- trace?: string[];
26
- }
27
- export interface ProcessingResult {
28
- /** Final document state */
29
- state: DocumentNode;
30
- /** All emitted events */
31
- emitted: EventNodePayload[];
32
- }
33
- /**
34
- * JSON-Patch operation as defined in RFC-6902
35
- * This matches the Operation types from fast-json-patch
36
- */
37
- export type Patch = {
38
- op: 'add';
39
- path: string;
40
- val: unknown;
41
- } | {
42
- op: 'remove';
43
- path: string;
44
- } | {
45
- op: 'replace';
46
- path: string;
47
- val: unknown;
48
- } | {
49
- op: 'move';
50
- path: string;
51
- from: string;
52
- } | {
53
- op: 'copy';
54
- path: string;
55
- from: string;
56
- };
57
- export type ContractRole = 'adapter' | 'validator' | 'handler';
58
- export interface ContractProcessor {
59
- readonly contractType: string;
60
- readonly contractBlueId: BlueId;
61
- readonly role: ContractRole;
62
- init?(node: DocumentNode): Promise<EventNode[]> | EventNode[];
63
- supports(evt: EventNode, contractNode: DocumentNode, ctx: ProcessingContext, contractName: string): boolean;
64
- handle(evt: EventNode, contractNode: DocumentNode, ctx: ProcessingContext, contractName: string): void;
65
- }
66
- export type ProcessingAction = {
67
- kind: 'patch';
68
- patch: Patch;
69
- } | {
70
- kind: 'event';
71
- event: EventNode;
72
- };
73
- export type ProcessingContext = {
74
- get(path: string): BlueNode | string | boolean | BigIntegerNumber | BigDecimalNumber | null | undefined;
75
- addPatch(patch: Patch): void;
76
- getNodePath(): string;
77
- resolvePath(path: string): string;
78
- /**
79
- * Emit an event for immediate processing
80
- * @param event Event to be processed immediately
81
- */
82
- emitEvent(event: EventNode): void;
83
- /**
84
- * Flush all pending patches and events
85
- */
86
- flush(): Promise<ProcessingAction[]>;
87
- /**
88
- * Get the Blue instance
89
- * @returns The Blue instance
90
- */
91
- getBlue(): Blue;
92
- /**
93
- * Load external module
94
- * @param url URL of the module to load
95
- */
96
- loadExternalModule(url: string): Promise<string>;
97
- /**
98
- * Load blue content
99
- * @param blueId ID of the blue to load
100
- */
101
- loadBlueContent(blueId: string): Promise<string>;
102
- };
103
- export interface HandlerTask {
104
- nodePath: string;
105
- contractName: string;
106
- contractNode: DocumentNode;
107
- event: EventNode;
108
- }
109
- export interface Task extends HandlerTask {
110
- key: [number, number, number, number, string, number];
111
- }
112
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/processor/types.ts"],"names":[],"mappings":"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"}
@@ -1,9 +0,0 @@
1
- import { Patch, DocumentNode, EventNode } from '../types';
2
- export declare class CheckpointCache {
3
- private firstSeen;
4
- record(docBase: string, event: EventNode, eventBlueId: string): void;
5
- /** Turn cached data into JSON-Patch ops */
6
- flush(document: DocumentNode): Patch[];
7
- clear(): void;
8
- }
9
- //# sourceMappingURL=CheckpointCache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckpointCache.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/CheckpointCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAU1D,qBAAa,eAAe;IAC1B,OAAO,CAAC,SAAS,CAA4B;IAE7C,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM;IAO7D,2CAA2C;IAC3C,KAAK,CAAC,QAAQ,EAAE,YAAY,GAAG,KAAK,EAAE;IA+BtC,KAAK;CAGN"}
@@ -1,46 +0,0 @@
1
- import { EventNode } from '../types';
2
- /**
3
- * Manages event tracing functionality for the Blue Document Processor
4
- */
5
- export declare class EventTraceManager {
6
- private readonly isEnabled;
7
- constructor();
8
- /**
9
- * Creates a hop entry for the trace
10
- * @param nodePath - The path to the node
11
- * @param contractName - The name of the contract
12
- * @returns A formatted hop string
13
- */
14
- private makeHop;
15
- /**
16
- * Checks if tracing is enabled
17
- * @returns Whether tracing is enabled
18
- */
19
- private shouldTrace;
20
- /**
21
- * Adds a hop to the event's trace if tracing is enabled
22
- * @param event - The event to add the trace to
23
- * @param nodePath - The path to the node
24
- * @param contractName - The name of the contract
25
- * @returns A new event with the updated trace
26
- */
27
- addHop(event: EventNode, nodePath: string, contractName: string): EventNode;
28
- /**
29
- * Gets the current trace for an event
30
- * @param event - The event to get the trace for
31
- * @returns The current trace array or an empty array if none exists
32
- */
33
- getTrace(event: EventNode): string[];
34
- /**
35
- * Clears the trace for an event
36
- * @param event - The event to clear the trace for
37
- * @returns A new event with an empty trace
38
- */
39
- clearTrace(event: EventNode): EventNode;
40
- /**
41
- * Checks if tracing is enabled globally
42
- * @returns Whether tracing is enabled
43
- */
44
- isTracingEnabled(): boolean;
45
- }
46
- //# sourceMappingURL=EventTraceManager.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EventTraceManager.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/EventTraceManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAU;;IAMpC;;;;;OAKG;IACH,OAAO,CAAC,OAAO;IAIf;;;OAGG;IACH,OAAO,CAAC,WAAW;IAInB;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,SAAS;IAe3E;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,EAAE;IAIpC;;;;OAIG;IACH,UAAU,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS;IAOvC;;;OAGG;IACH,gBAAgB,IAAI,OAAO;CAG5B"}
@@ -1,3 +0,0 @@
1
- import { DocumentNode } from '../types';
2
- export declare function ensureCheckpointContracts(doc: DocumentNode): import('../../model').BlueNode;
3
- //# sourceMappingURL=checkpoint.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkpoint.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/checkpoint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAMxC,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,YAAY,kCA2C1D"}
@@ -1,19 +0,0 @@
1
- import { DocumentNode } from '../types';
2
- import { BlueNodePatch } from '../../utils/NodePatch';
3
- export declare const ENABLE_IMMUTABILITY = true;
4
- type EmbeddedSpec = {
5
- absPath: string;
6
- contractPath: string;
7
- };
8
- export declare function collectEmbeddedPaths(doc: DocumentNode, base?: string, out?: EmbeddedSpec[]): EmbeddedSpec[];
9
- export declare function isInside(target: string, root: string): boolean;
10
- /**
11
- * Apply a collection of patches to a document
12
- */
13
- export declare function applyPatches(document: DocumentNode, patches: BlueNodePatch[]): DocumentNode;
14
- /**
15
- * Create an immutable copy of a document if immutability is enabled
16
- */
17
- export declare function createImmutableDocument(document: DocumentNode): DocumentNode;
18
- export {};
19
- //# sourceMappingURL=document.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/document.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAMxC,OAAO,EAAsB,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI1E,eAAO,MAAM,mBAAmB,OAAO,CAAC;AAKxC,KAAK,YAAY,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAK9D,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,YAAY,EACjB,IAAI,SAAM,EACV,GAAG,GAAE,YAAY,EAAO,GACvB,YAAY,EAAE,CAyBhB;AAKD,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAI9D;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,aAAa,EAAE,GACvB,YAAY,CAcd;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,YAAY,GAAG,YAAY,CAE5E"}
@@ -1,28 +0,0 @@
1
- import { BlueNodePatch } from '../../utils/NodePatch';
2
- /** Custom error gives you the offending patch for logging / alerting */
3
- export declare class PatchApplicationError extends Error {
4
- readonly patch: BlueNodePatch;
5
- readonly cause?: unknown | undefined;
6
- constructor(patch: BlueNodePatch, cause?: unknown | undefined);
7
- }
8
- /** Thrown when a patch targets a path protected by a Process Embedded contract */
9
- export declare class EmbeddedDocumentModificationError extends Error {
10
- readonly patch: BlueNodePatch;
11
- readonly offendingPath: string;
12
- readonly contractNodePath: string;
13
- constructor(patch: BlueNodePatch, offendingPath: string, // the embedded path that was hit
14
- contractNodePath: string);
15
- }
16
- /** Thrown when a document update expression fails to evaluate */
17
- export declare class ExpressionEvaluationError extends Error {
18
- readonly code: string;
19
- readonly cause?: unknown | undefined;
20
- constructor(code: string, cause?: unknown | undefined);
21
- }
22
- /** Thrown when a step code block fails to evaluate */
23
- export declare class CodeBlockEvaluationError extends Error {
24
- readonly code: string;
25
- readonly cause?: unknown | undefined;
26
- constructor(code: string, cause?: unknown | undefined);
27
- }
28
- //# sourceMappingURL=exceptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exceptions.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/exceptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,wEAAwE;AACxE,qBAAa,qBAAsB,SAAQ,KAAK;IAE5C,QAAQ,CAAC,KAAK,EAAE,aAAa;aACX,KAAK,CAAC,EAAE,OAAO;gBADxB,KAAK,EAAE,aAAa,EACX,KAAK,CAAC,EAAE,OAAO,YAAA;CAKpC;AAED,kFAAkF;AAClF,qBAAa,iCAAkC,SAAQ,KAAK;IAExD,QAAQ,CAAC,KAAK,EAAE,aAAa;IAC7B,QAAQ,CAAC,aAAa,EAAE,MAAM;IAC9B,QAAQ,CAAC,gBAAgB,EAAE,MAAM;gBAFxB,KAAK,EAAE,aAAa,EACpB,aAAa,EAAE,MAAM,EAAE,iCAAiC;IACxD,gBAAgB,EAAE,MAAM;CAWpC;AAED,iEAAiE;AACjE,qBAAa,yBAA0B,SAAQ,KAAK;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM;aAAoB,KAAK,CAAC,EAAE,OAAO;gBAA/C,IAAI,EAAE,MAAM,EAAoB,KAAK,CAAC,EAAE,OAAO,YAAA;CAIrE;AAED,sDAAsD;AACtD,qBAAa,wBAAyB,SAAQ,KAAK;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM;aAAoB,KAAK,CAAC,EAAE,OAAO;gBAA/C,IAAI,EAAE,MAAM,EAAoB,KAAK,CAAC,EAAE,OAAO,YAAA;CAIrE"}
@@ -1,2 +0,0 @@
1
- export declare function fetchText(url: string): Promise<string>;
2
- //# sourceMappingURL=fetchText.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetchText.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/fetchText.ts"],"names":[],"mappings":"AAUA,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAe5D"}
@@ -1,3 +0,0 @@
1
- import { EventNode } from '../types';
2
- export declare const logPatchError: (contractName: string, event: EventNode, err: unknown) => void;
3
- //# sourceMappingURL=logPatchError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logPatchError.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/logPatchError.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,aAAa,iBACV,MAAM,SACb,SAAS,OACX,OAAO,SAYb,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const makePath: (...parts: string[]) => string;
2
- //# sourceMappingURL=path.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/path.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,aAAc,MAAM,EAAE,WAkBf,CAAC"}
@@ -1,5 +0,0 @@
1
- import { DocumentNode } from '../types';
2
- export declare function isNonNullable<T>(value: T): value is NonNullable<T>;
3
- export declare function isString(value: unknown): value is string;
4
- export declare function isDocumentNode(value: unknown): value is DocumentNode;
5
- //# sourceMappingURL=typeGuard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typeGuard.d.ts","sourceRoot":"","sources":["../../../../src/lib/processor/utils/typeGuard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,wBAAgB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,CAElE;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAExD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,YAAY,CAEpE"}
@@ -1,12 +0,0 @@
1
- export declare class TinyQueue<T> {
2
- data: T[];
3
- length: number;
4
- compare: (a: T, b: T) => number;
5
- constructor(data?: T[], compare?: (a: T, b: T) => number);
6
- push(item: T): void;
7
- pop(): T | undefined;
8
- peek(): T;
9
- _up(pos: number): void;
10
- _down(pos: number): void;
11
- }
12
- //# sourceMappingURL=TinyQueue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TinyQueue.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/TinyQueue.ts"],"names":[],"mappings":"AAAA,qBAAa,SAAS,CAAC,CAAC;IACtB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,MAAM,CAAC;gBAG9B,IAAI,GAAE,CAAC,EAAO,EACd,OAAO,GAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,MAA+C;IAW1E,IAAI,CAAC,IAAI,EAAE,CAAC;IAKZ,GAAG;IAcH,IAAI;IAIJ,GAAG,CAAC,GAAG,EAAE,MAAM;IAef,KAAK,CAAC,GAAG,EAAE,MAAM;CAoBlB"}
@@ -1,21 +0,0 @@
1
- export declare const blueIds: {
2
- readonly Channel: "2RMkKoutP5qxkh3uDxZ7dr6Eo27B7fuxQCS1VAptiCPc";
3
- readonly 'Timeline Channel': "RMkKoutP5qxkh3uDxZ7dr6Eo27B7fuxQCS1VAptiCPc2";
4
- readonly 'Composite Timeline Channel': "qxkh3uMkKoutP5DxZ7dr6Eo27B7fuxQCS1VAptiCPc2R";
5
- readonly 'MyOS Timeline Channel': "MkKoutP5qxkh3uDxZ7dr6Eo27B7fuxQCS1VAptiCPc2R";
6
- readonly 'Sequential Workflow': "h3uDxZ7dr6Eo27B7fuxMkKoutP5qxkQCS1VAptiCPc2R";
7
- readonly 'Sequential Workflow Step': "6EoMkKoutP5DxZ7drqxkh3u27B7fuxQCS1VAptiCPc2R";
8
- readonly 'Process Embedded': "DxZ7dr6EoMkKoutP5qxkh3u27B7fuxQCS1VAptiCPc2R";
9
- readonly 'Embedded Node Channel': "MkKoutP5qxkh3uDxZ7dr6Eo27B7fuxQCS1VAptiCPc2";
10
- readonly 'Document Update Channel': "MkKoutP5qxkh3uDQCS1VAptiCPc2xZ7dr6Eo27B7fux";
11
- readonly 'Channel Event Checkpoint': "o27B7fuxMkKoutPh3uDxZ7dr6E5qxkQCS1VAptiCPc2R";
12
- readonly 'Update Document': "7fuxMkKoutPh3uDxZ7dr6E5qxkQCS1VAptiCPc2R";
13
- readonly 'Trigger Event': "kQCS1VAp7fuxMkKoutPh3uDxZ7dr6E5qxtiCPc2R";
14
- readonly 'Json Patch Entry': "EnUQeMiMa2wHFW3JbeSPvdgfpL6qZYCR29m3SfeHsKSY";
15
- readonly 'JavaScript Code': "MkKoutPDxZ7dr6Eo5qxkh3u27B7fuxQCS1VAptiCPc2R";
16
- readonly 'Timeline Entry': "uDxZ7dr6Eo27B7fMkKoutP5qxkh3uxQCS1VAptiCPc2R";
17
- readonly Operation: "OpKoutP5qxkh3uDxZ7dr6Eo27B7fuxQCS1VAptiCPc2R";
18
- readonly 'Sequential Workflow Operation': "SeqOpKoutP5qxkh3uDxZ7dr6Eo27B7fuxQCS1VAptiC";
19
- readonly 'Operation Request': "OpReqKoutP5qxkh3uDxZ7dr6Eo27B7fuxQCS1VAptiC";
20
- };
21
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/repo/core/blue-ids/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;CAoBV,CAAC"}
@@ -1,191 +0,0 @@
1
- export * from './schema';
2
- export { blueIds } from './blue-ids';
3
- export declare const allSchemas: (import('zod').ZodObject<{
4
- name: import('zod').ZodOptional<import('zod').ZodString>;
5
- description: import('zod').ZodOptional<import('zod').ZodString>;
6
- }, "strip", import('zod').ZodTypeAny, {
7
- name?: string | undefined;
8
- description?: string | undefined;
9
- }, {
10
- name?: string | undefined;
11
- description?: string | undefined;
12
- }> | import('zod').ZodObject<import("zod").objectUtil.extendShape<{
13
- name: import('zod').ZodOptional<import('zod').ZodString>;
14
- description: import('zod').ZodOptional<import('zod').ZodString>;
15
- }, {
16
- channels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
17
- }>, "strip", import('zod').ZodTypeAny, {
18
- name?: string | undefined;
19
- description?: string | undefined;
20
- channels?: string[] | undefined;
21
- }, {
22
- name?: string | undefined;
23
- description?: string | undefined;
24
- channels?: string[] | undefined;
25
- }> | import('zod').ZodObject<import("zod").objectUtil.extendShape<{
26
- name: import('zod').ZodOptional<import('zod').ZodString>;
27
- description: import('zod').ZodOptional<import('zod').ZodString>;
28
- }, {
29
- path: import('zod').ZodOptional<import('zod').ZodString>;
30
- }>, "strip", import('zod').ZodTypeAny, {
31
- name?: string | undefined;
32
- description?: string | undefined;
33
- path?: string | undefined;
34
- }, {
35
- name?: string | undefined;
36
- description?: string | undefined;
37
- path?: string | undefined;
38
- }> | import('zod').ZodObject<import("zod").objectUtil.extendShape<{
39
- name: import('zod').ZodOptional<import('zod').ZodString>;
40
- description: import('zod').ZodOptional<import('zod').ZodString>;
41
- }, {
42
- path: import('zod').ZodOptional<import('zod').ZodString>;
43
- }>, "strip", import('zod').ZodTypeAny, {
44
- name?: string | undefined;
45
- description?: string | undefined;
46
- path?: string | undefined;
47
- }, {
48
- name?: string | undefined;
49
- description?: string | undefined;
50
- path?: string | undefined;
51
- }> | import('zod').ZodObject<{
52
- request: import('zod').ZodOptional<import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>>;
53
- description: import('zod').ZodOptional<import('zod').ZodString>;
54
- channel: import('zod').ZodOptional<import('zod').ZodString>;
55
- }, "strip", import('zod').ZodTypeAny, {
56
- description?: string | undefined;
57
- request?: import('../..').BlueNode | undefined;
58
- channel?: string | undefined;
59
- }, {
60
- description?: string | undefined;
61
- request?: import('../..').BlueNode | undefined;
62
- channel?: string | undefined;
63
- }> | import('zod').ZodObject<{
64
- operation: import('zod').ZodOptional<import('zod').ZodString>;
65
- request: import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>;
66
- document: import('zod').ZodOptional<import('zod').ZodObject<{
67
- blueId: import('zod').ZodOptional<import('zod').ZodString>;
68
- }, "strip", import('zod').ZodTypeAny, {
69
- blueId?: string | undefined;
70
- }, {
71
- blueId?: string | undefined;
72
- }>>;
73
- allowNewerVersion: import('zod').ZodOptional<import('zod').ZodBoolean>;
74
- }, "strip", import('zod').ZodTypeAny, {
75
- request: import('../..').BlueNode;
76
- operation?: string | undefined;
77
- document?: {
78
- blueId?: string | undefined;
79
- } | undefined;
80
- allowNewerVersion?: boolean | undefined;
81
- }, {
82
- request: import('../..').BlueNode;
83
- operation?: string | undefined;
84
- document?: {
85
- blueId?: string | undefined;
86
- } | undefined;
87
- allowNewerVersion?: boolean | undefined;
88
- }> | import('zod').ZodObject<{
89
- paths: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
90
- }, "strip", import('zod').ZodTypeAny, {
91
- paths?: string[] | undefined;
92
- }, {
93
- paths?: string[] | undefined;
94
- }> | import('zod').ZodObject<{
95
- steps: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>, "many">>;
96
- channel: import('zod').ZodOptional<import('zod').ZodString>;
97
- }, "strip", import('zod').ZodTypeAny, {
98
- channel?: string | undefined;
99
- steps?: import('../..').BlueNode[] | undefined;
100
- }, {
101
- channel?: string | undefined;
102
- steps?: import('../..').BlueNode[] | undefined;
103
- }> | import('zod').ZodObject<import("zod").objectUtil.extendShape<Omit<{
104
- steps: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>, "many">>;
105
- channel: import('zod').ZodOptional<import('zod').ZodString>;
106
- }, "channel">, {
107
- operation: import('zod').ZodOptional<import('zod').ZodString>;
108
- }>, "strip", import('zod').ZodTypeAny, {
109
- operation?: string | undefined;
110
- steps?: import('../..').BlueNode[] | undefined;
111
- }, {
112
- operation?: string | undefined;
113
- steps?: import('../..').BlueNode[] | undefined;
114
- }> | import('zod').ZodObject<import("zod").objectUtil.extendShape<{
115
- name: import('zod').ZodOptional<import('zod').ZodString>;
116
- description: import('zod').ZodOptional<import('zod').ZodString>;
117
- }, {
118
- timelineId: import('zod').ZodOptional<import('zod').ZodString>;
119
- }>, "strip", import('zod').ZodTypeAny, {
120
- name?: string | undefined;
121
- description?: string | undefined;
122
- timelineId?: string | undefined;
123
- }, {
124
- name?: string | undefined;
125
- description?: string | undefined;
126
- timelineId?: string | undefined;
127
- }> | import('zod').ZodObject<{
128
- timelineId: import('zod').ZodOptional<import('zod').ZodString>;
129
- timelinePrev: import('zod').ZodOptional<import('zod').ZodString>;
130
- thread: import('zod').ZodOptional<import('zod').ZodString>;
131
- threadPrev: import('zod').ZodOptional<import('zod').ZodString>;
132
- message: import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>;
133
- signature: import('zod').ZodOptional<import('zod').ZodString>;
134
- }, "strip", import('zod').ZodTypeAny, {
135
- message: import('../..').BlueNode;
136
- timelineId?: string | undefined;
137
- timelinePrev?: string | undefined;
138
- thread?: string | undefined;
139
- threadPrev?: string | undefined;
140
- signature?: string | undefined;
141
- }, {
142
- message: import('../..').BlueNode;
143
- timelineId?: string | undefined;
144
- timelinePrev?: string | undefined;
145
- thread?: string | undefined;
146
- threadPrev?: string | undefined;
147
- signature?: string | undefined;
148
- }> | import('zod').ZodObject<{
149
- event: import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>;
150
- }, "strip", import('zod').ZodTypeAny, {
151
- event: import('../..').BlueNode;
152
- }, {
153
- event: import('../..').BlueNode;
154
- }> | import('zod').ZodObject<{
155
- changeset: import('zod').ZodArray<import('zod').ZodObject<{
156
- name: import('zod').ZodOptional<import('zod').ZodString>;
157
- description: import('zod').ZodOptional<import('zod').ZodString>;
158
- val: import('zod').ZodOptional<import('zod').ZodType<import('../..').BlueNode, import('zod').ZodTypeDef, import('../..').BlueNode>>;
159
- op: import('zod').ZodOptional<import('zod').ZodString>;
160
- path: import('zod').ZodOptional<import('zod').ZodString>;
161
- }, "strip", import('zod').ZodTypeAny, {
162
- name?: string | undefined;
163
- description?: string | undefined;
164
- path?: string | undefined;
165
- val?: import('../..').BlueNode | undefined;
166
- op?: string | undefined;
167
- }, {
168
- name?: string | undefined;
169
- description?: string | undefined;
170
- path?: string | undefined;
171
- val?: import('../..').BlueNode | undefined;
172
- op?: string | undefined;
173
- }>, "many">;
174
- }, "strip", import('zod').ZodTypeAny, {
175
- changeset: {
176
- name?: string | undefined;
177
- description?: string | undefined;
178
- path?: string | undefined;
179
- val?: import('../..').BlueNode | undefined;
180
- op?: string | undefined;
181
- }[];
182
- }, {
183
- changeset: {
184
- name?: string | undefined;
185
- description?: string | undefined;
186
- path?: string | undefined;
187
- val?: import('../..').BlueNode | undefined;
188
- op?: string | undefined;
189
- }[];
190
- }>)[];
191
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/repo/core/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAyB,CAAC"}
@@ -1,13 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const ChannelSchema: z.ZodObject<{
3
- name: z.ZodOptional<z.ZodString>;
4
- description: z.ZodOptional<z.ZodString>;
5
- }, "strip", z.ZodTypeAny, {
6
- name?: string | undefined;
7
- description?: string | undefined;
8
- }, {
9
- name?: string | undefined;
10
- description?: string | undefined;
11
- }>;
12
- export type Channel = z.infer<typeof ChannelSchema>;
13
- //# sourceMappingURL=Channel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../../src/repo/core/schema/Channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa;;;;;;;;;EAKzB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -1,17 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const CompositeTimelineChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- name: z.ZodOptional<z.ZodString>;
4
- description: z.ZodOptional<z.ZodString>;
5
- }, {
6
- channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
- }>, "strip", z.ZodTypeAny, {
8
- name?: string | undefined;
9
- description?: string | undefined;
10
- channels?: string[] | undefined;
11
- }, {
12
- name?: string | undefined;
13
- description?: string | undefined;
14
- channels?: string[] | undefined;
15
- }>;
16
- export type CompositeTimelineChannel = z.infer<typeof CompositeTimelineChannelSchema>;
17
- //# sourceMappingURL=CompositeTimelineChannel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompositeTimelineChannel.d.ts","sourceRoot":"","sources":["../../../../src/repo/core/schema/CompositeTimelineChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;EAM1C,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC"}
@@ -1,17 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const DocumentUpdateChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- name: z.ZodOptional<z.ZodString>;
4
- description: z.ZodOptional<z.ZodString>;
5
- }, {
6
- path: z.ZodOptional<z.ZodString>;
7
- }>, "strip", z.ZodTypeAny, {
8
- name?: string | undefined;
9
- description?: string | undefined;
10
- path?: string | undefined;
11
- }, {
12
- name?: string | undefined;
13
- description?: string | undefined;
14
- path?: string | undefined;
15
- }>;
16
- export type DocumentUpdateChannel = z.infer<typeof DocumentUpdateChannelSchema>;
17
- //# sourceMappingURL=DocumentUpdateChannel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DocumentUpdateChannel.d.ts","sourceRoot":"","sources":["../../../../src/repo/core/schema/DocumentUpdateChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;EAMvC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -1,17 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const EmbeddedNodeChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- name: z.ZodOptional<z.ZodString>;
4
- description: z.ZodOptional<z.ZodString>;
5
- }, {
6
- path: z.ZodOptional<z.ZodString>;
7
- }>, "strip", z.ZodTypeAny, {
8
- name?: string | undefined;
9
- description?: string | undefined;
10
- path?: string | undefined;
11
- }, {
12
- name?: string | undefined;
13
- description?: string | undefined;
14
- path?: string | undefined;
15
- }>;
16
- export type EmbeddedNodeChannel = z.infer<typeof EmbeddedNodeChannelSchema>;
17
- //# sourceMappingURL=EmbeddedNodeChannel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EmbeddedNodeChannel.d.ts","sourceRoot":"","sources":["../../../../src/repo/core/schema/EmbeddedNodeChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;EAMrC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const JavaScriptCodeSchema: z.ZodObject<{
3
- code: z.ZodOptional<z.ZodString>;
4
- }, "strip", z.ZodTypeAny, {
5
- code?: string | undefined;
6
- }, {
7
- code?: string | undefined;
8
- }>;
9
- export type UpdateDocument = z.infer<typeof JavaScriptCodeSchema>;
10
- //# sourceMappingURL=JavaScriptCode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JavaScriptCode.d.ts","sourceRoot":"","sources":["../../../../src/repo/core/schema/JavaScriptCode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;EAIhC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}