@lace-cloud/canvas 0.18.0 → 0.19.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.
@@ -0,0 +1,26 @@
1
+ import { A as ActionContribution, S as SourcePort } from '../mapping-BzX6r87C.mjs';
2
+ export { aN as Action, l as ActionRunner, m as ActionRunnerOptions, f as ActionTarget, n as ApplyResult, o as ApplyUnobservedError, p as ArgsOf, q as BindingRuntime, d as BoundPath, r as BridgeEngineCaller, s as COMMANDS, b as CanvasPorts, h as CanvasSource, u as CommandBinding, v as CommandDetachedError, w as CommandExitError, x as CommandFailure, y as CommandPath, g as CommandResult, z as CommandRun, F as CommandsPort, G as ConfirmSpec, H as ConnectCallerOptions, I as ConnectError, M as ContextPort, N as CreatedRef, Q as DirectEngineCaller, T as EMPTY_REPORT_FOLD, X as EditorPort, Y as EngineCaller, Z as EngineMethodResponse, _ as EngineSession, $ as EngineSessionOptions, a0 as EngineTarget, a1 as ErasedCommand, a2 as FollowSlot, a3 as GenerateEvent, a4 as GraphError, a5 as HostBinding, aO as InputMode, a6 as Invocation, J as JsonOf, aP as LaceReason, aQ as LiveSlots, aR as OnScreen, c as PendingForm, a9 as PortName, aa as PresenterPort, ab as PreviewSlot, ac as Reason, ad as ReportEntry, ae as ReportFold, af as ReportPath, ag as ReportSlot, ah as ResultKind, ai as ResultSlots, R as ResultStore, j as RunCtx, aj as RunOutcome, aS as RunPhase, aT as RunPhaseStatus, ak as RunSlot, al as RunnerPorts, am as SCHEMAS, an as Sink, ao as SinkInput, ap as SlotContext, aq as SlotKind, ar as SourceConflict, i as SourceEnd, as as StackRef, at as ViewStatePort, au as WiringCandidate, av as WiringQuery, aw as bridgeCaller, ax as carriesFailure, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aU as diagnosticsOfDocument, aE as foldReport, aF as isBoundPath, aV as liveSlots, aG as openEngineCommands, aH as openEngineSession, aI as parseBound, aJ as parseCommandFailure, aW as reasonWire, aX as reduceFollow, aY as reducePreview, aZ as reduceReport, a_ as reduceRun, aK as reportDiagnostics, a$ as settleRun, aL as toArgv, aM as uniqueDiagnostics } from '../mapping-BzX6r87C.mjs';
3
+ import '@lace-cloud/proto';
4
+ import 'zod';
5
+ import '@bufbuild/protobuf/wire';
6
+
7
+ declare const CORE_COMMAND_ACTIONS: readonly ActionContribution[];
8
+
9
+ declare function deepEqual(a: unknown, b: unknown): boolean;
10
+
11
+ type AutosavePolicy = {
12
+ kind: 'afterDelay';
13
+ delayMs: number;
14
+ } | {
15
+ kind: 'onFlush';
16
+ };
17
+ type Autosave = {
18
+ flush: () => Promise<void>;
19
+ dispose: () => void;
20
+ };
21
+ declare class AutosaveEndedError extends Error {
22
+ constructor(reason: string);
23
+ }
24
+ declare function autosave(source: SourcePort, save: () => Promise<void>, policy: AutosavePolicy, report: (error: unknown) => void): Autosave;
25
+
26
+ export { ActionContribution, type Autosave, AutosaveEndedError, type AutosavePolicy, CORE_COMMAND_ACTIONS, SourcePort, autosave, deepEqual };
@@ -0,0 +1,26 @@
1
+ import { A as ActionContribution, S as SourcePort } from '../mapping-BzX6r87C.js';
2
+ export { aN as Action, l as ActionRunner, m as ActionRunnerOptions, f as ActionTarget, n as ApplyResult, o as ApplyUnobservedError, p as ArgsOf, q as BindingRuntime, d as BoundPath, r as BridgeEngineCaller, s as COMMANDS, b as CanvasPorts, h as CanvasSource, u as CommandBinding, v as CommandDetachedError, w as CommandExitError, x as CommandFailure, y as CommandPath, g as CommandResult, z as CommandRun, F as CommandsPort, G as ConfirmSpec, H as ConnectCallerOptions, I as ConnectError, M as ContextPort, N as CreatedRef, Q as DirectEngineCaller, T as EMPTY_REPORT_FOLD, X as EditorPort, Y as EngineCaller, Z as EngineMethodResponse, _ as EngineSession, $ as EngineSessionOptions, a0 as EngineTarget, a1 as ErasedCommand, a2 as FollowSlot, a3 as GenerateEvent, a4 as GraphError, a5 as HostBinding, aO as InputMode, a6 as Invocation, J as JsonOf, aP as LaceReason, aQ as LiveSlots, aR as OnScreen, c as PendingForm, a9 as PortName, aa as PresenterPort, ab as PreviewSlot, ac as Reason, ad as ReportEntry, ae as ReportFold, af as ReportPath, ag as ReportSlot, ah as ResultKind, ai as ResultSlots, R as ResultStore, j as RunCtx, aj as RunOutcome, aS as RunPhase, aT as RunPhaseStatus, ak as RunSlot, al as RunnerPorts, am as SCHEMAS, an as Sink, ao as SinkInput, ap as SlotContext, aq as SlotKind, ar as SourceConflict, i as SourceEnd, as as StackRef, at as ViewStatePort, au as WiringCandidate, av as WiringQuery, aw as bridgeCaller, ax as carriesFailure, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aU as diagnosticsOfDocument, aE as foldReport, aF as isBoundPath, aV as liveSlots, aG as openEngineCommands, aH as openEngineSession, aI as parseBound, aJ as parseCommandFailure, aW as reasonWire, aX as reduceFollow, aY as reducePreview, aZ as reduceReport, a_ as reduceRun, aK as reportDiagnostics, a$ as settleRun, aL as toArgv, aM as uniqueDiagnostics } from '../mapping-BzX6r87C.js';
3
+ import '@lace-cloud/proto';
4
+ import 'zod';
5
+ import '@bufbuild/protobuf/wire';
6
+
7
+ declare const CORE_COMMAND_ACTIONS: readonly ActionContribution[];
8
+
9
+ declare function deepEqual(a: unknown, b: unknown): boolean;
10
+
11
+ type AutosavePolicy = {
12
+ kind: 'afterDelay';
13
+ delayMs: number;
14
+ } | {
15
+ kind: 'onFlush';
16
+ };
17
+ type Autosave = {
18
+ flush: () => Promise<void>;
19
+ dispose: () => void;
20
+ };
21
+ declare class AutosaveEndedError extends Error {
22
+ constructor(reason: string);
23
+ }
24
+ declare function autosave(source: SourcePort, save: () => Promise<void>, policy: AutosavePolicy, report: (error: unknown) => void): Autosave;
25
+
26
+ export { ActionContribution, type Autosave, AutosaveEndedError, type AutosavePolicy, CORE_COMMAND_ACTIONS, SourcePort, autosave, deepEqual };
@@ -0,0 +1,81 @@
1
+ import {
2
+ ApplyUnobservedError,
3
+ AutosaveEndedError,
4
+ COMMANDS,
5
+ CORE_COMMAND_ACTIONS,
6
+ CommandDetachedError,
7
+ CommandExitError,
8
+ ConnectError,
9
+ EMPTY_REPORT_FOLD,
10
+ InputMode,
11
+ Reason,
12
+ SCHEMAS,
13
+ autosave,
14
+ bridgeCaller,
15
+ carriesFailure,
16
+ connectCaller,
17
+ createActionRunner,
18
+ createResultStore,
19
+ currentReport,
20
+ deepEqual,
21
+ defineCommand,
22
+ diagnosticsOf,
23
+ diagnosticsOfDocument,
24
+ foldReport,
25
+ isBoundPath,
26
+ liveSlots,
27
+ openEngineCommands,
28
+ openEngineSession,
29
+ parseBound,
30
+ parseCommandFailure,
31
+ reasonWire,
32
+ reduceFollow,
33
+ reducePreview,
34
+ reduceReport,
35
+ reduceRun,
36
+ reportDiagnostics,
37
+ settleRun,
38
+ toArgv,
39
+ uniqueDiagnostics
40
+ } from "../chunk-S2FFLFOT.mjs";
41
+ export {
42
+ ApplyUnobservedError,
43
+ AutosaveEndedError,
44
+ COMMANDS,
45
+ CORE_COMMAND_ACTIONS,
46
+ CommandDetachedError,
47
+ CommandExitError,
48
+ ConnectError,
49
+ EMPTY_REPORT_FOLD,
50
+ InputMode,
51
+ Reason,
52
+ SCHEMAS,
53
+ autosave,
54
+ bridgeCaller,
55
+ carriesFailure,
56
+ connectCaller,
57
+ createActionRunner,
58
+ createResultStore,
59
+ currentReport,
60
+ deepEqual,
61
+ defineCommand,
62
+ diagnosticsOf,
63
+ diagnosticsOfDocument,
64
+ foldReport,
65
+ isBoundPath,
66
+ liveSlots,
67
+ openEngineCommands,
68
+ openEngineSession,
69
+ parseBound,
70
+ parseCommandFailure,
71
+ reasonWire,
72
+ reduceFollow,
73
+ reducePreview,
74
+ reduceReport,
75
+ reduceRun,
76
+ reportDiagnostics,
77
+ settleRun,
78
+ toArgv,
79
+ uniqueDiagnostics
80
+ };
81
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}