@case-framework/survey-assistant 0.8.0 → 0.9.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/{authoring-references-DbuOKerg.mjs → authoring-references-CmwLc_C8.mjs} +40 -32
- package/dist/authoring-references-CmwLc_C8.mjs.map +1 -0
- package/dist/capabilities-D55dq-fO.mjs +582 -0
- package/dist/capabilities-D55dq-fO.mjs.map +1 -0
- package/dist/capabilities-default.d.mts +4 -12
- package/dist/capabilities-default.d.mts.map +1 -1
- package/dist/capabilities-default.mjs +2 -2
- package/dist/capabilities-z95e1mti.d.mts +117 -0
- package/dist/capabilities-z95e1mti.d.mts.map +1 -0
- package/dist/{constants-B6HzpEsx.d.mts → constants-HL_klgJl.d.mts} +4 -4
- package/dist/{constants-B6HzpEsx.d.mts.map → constants-HL_klgJl.d.mts.map} +1 -1
- package/dist/{controller-proxy-DEeFl9IA.mjs → controller-proxy-BQ1YsVxJ.mjs} +4 -3
- package/dist/controller-proxy-BQ1YsVxJ.mjs.map +1 -0
- package/dist/{controller-proxy-D7uQfm5f.d.mts → controller-proxy-Cmzdr9tV.d.mts} +4 -4
- package/dist/{controller-proxy-D7uQfm5f.d.mts.map → controller-proxy-Cmzdr9tV.d.mts.map} +1 -1
- package/dist/default-D22AKTqE.mjs +233 -0
- package/dist/default-D22AKTqE.mjs.map +1 -0
- package/dist/{digest-C39WyAWG.d.mts → digest-FnTTDBq2.d.mts} +2 -2
- package/dist/digest-FnTTDBq2.d.mts.map +1 -0
- package/dist/digest.d.mts +1 -1
- package/dist/engine-D950TfvC.mjs +3098 -0
- package/dist/engine-D950TfvC.mjs.map +1 -0
- package/dist/engine.d.mts +4 -3
- package/dist/engine.mjs +3 -3
- package/dist/{index-WB5kfnz0.d.mts → index-B8TLBd1G.d.mts} +8 -6
- package/dist/index-B8TLBd1G.d.mts.map +1 -0
- package/dist/index-CaX3hZmr.d.mts +23813 -0
- package/dist/index-CaX3hZmr.d.mts.map +1 -0
- package/dist/{index-r5riv4md.d.mts → index-CeUlGkoU.d.mts} +27 -6
- package/dist/index-CeUlGkoU.d.mts.map +1 -0
- package/dist/{index-D7wT6P3t.d.mts → index-DYHdvSE8.d.mts} +83 -41
- package/dist/index-DYHdvSE8.d.mts.map +1 -0
- package/dist/lifecycle-DFzxVxpq.d.mts +54346 -0
- package/dist/lifecycle-DFzxVxpq.d.mts.map +1 -0
- package/dist/{memory-thread-repository-DAnOGIB3.mjs → memory-thread-repository-DmLadygY.mjs} +15 -9
- package/dist/{memory-thread-repository-DAnOGIB3.mjs.map → memory-thread-repository-DmLadygY.mjs.map} +1 -1
- package/dist/protocol-BQ7uIDYT.mjs +569 -0
- package/dist/protocol-BQ7uIDYT.mjs.map +1 -0
- package/dist/protocol.d.mts +4 -4
- package/dist/protocol.mjs +3 -2
- package/dist/{react-C_GY-Fsc.mjs → react-DybJ5pWw.mjs} +17 -11
- package/dist/react-DybJ5pWw.mjs.map +1 -0
- package/dist/react-integration.d.mts +1 -1
- package/dist/react-integration.mjs +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.mjs +2 -2
- package/dist/references/assistant-operations.md +190 -215
- package/dist/references/core-rules.md +2 -2
- package/dist/references/element-types.md +189 -0
- package/dist/references/expressions.md +215 -238
- package/dist/references/follow-ups.md +151 -0
- package/dist/references/localization.md +26 -12
- package/dist/references/response-variables.md +3 -3
- package/dist/references/rich-text-content.md +22 -43
- package/dist/references/source-material-surveys.md +20 -25
- package/dist/references/survey-data-model.md +36 -117
- package/dist/{request-context-Dg4jSwN1.mjs → request-context-KVh8VjgH.mjs} +4 -4
- package/dist/request-context-KVh8VjgH.mjs.map +1 -0
- package/dist/server-agent.d.mts +28 -7
- package/dist/server-agent.d.mts.map +1 -1
- package/dist/server-agent.mjs +33 -25
- package/dist/server-agent.mjs.map +1 -1
- package/dist/server-runtime.d.mts +6 -5
- package/dist/server-runtime.d.mts.map +1 -1
- package/dist/server-runtime.mjs +3 -3
- package/dist/server-tasks.d.mts +1 -1
- package/dist/server-tasks.mjs +1 -1
- package/dist/server-tools.d.mts +1 -1
- package/dist/server-tools.mjs +1 -1
- package/dist/server.d.mts +7 -6
- package/dist/server.d.mts.map +1 -1
- package/dist/server.mjs +3 -3
- package/dist/{tasks-BZEiwgxA.mjs → tasks-Coh5N027.mjs} +16 -15
- package/dist/tasks-Coh5N027.mjs.map +1 -0
- package/dist/{tasks-B9h3LPam.d.mts → tasks-wb9M-bak.d.mts} +11 -11
- package/dist/{tasks-B9h3LPam.d.mts.map → tasks-wb9M-bak.d.mts.map} +1 -1
- package/dist/{thread-handlers-Bef0td9N.d.mts → thread-handlers-C3Iya92v.d.mts} +6 -5
- package/dist/thread-handlers-C3Iya92v.d.mts.map +1 -0
- package/dist/{tools-CEsv-WoO.mjs → tools-D0KBDolR.mjs} +435 -408
- package/dist/tools-D0KBDolR.mjs.map +1 -0
- package/dist/turn-survey-draft-B34lggSG.d.mts +185 -0
- package/dist/turn-survey-draft-B34lggSG.d.mts.map +1 -0
- package/dist/ui.d.mts +3 -3
- package/dist/ui.d.mts.map +1 -1
- package/dist/ui.mjs +35 -23
- package/dist/ui.mjs.map +1 -1
- package/package.json +7 -7
- package/dist/authoring-references-DbuOKerg.mjs.map +0 -1
- package/dist/capabilities-CmeeAjEc.d.mts +0 -192
- package/dist/capabilities-CmeeAjEc.d.mts.map +0 -1
- package/dist/capabilities-DCMA71PP.mjs +0 -58
- package/dist/capabilities-DCMA71PP.mjs.map +0 -1
- package/dist/controller-proxy-DEeFl9IA.mjs.map +0 -1
- package/dist/default-fhSon2RM.mjs +0 -760
- package/dist/default-fhSon2RM.mjs.map +0 -1
- package/dist/digest-C39WyAWG.d.mts.map +0 -1
- package/dist/engine-nXoCWYpQ.mjs +0 -6888
- package/dist/engine-nXoCWYpQ.mjs.map +0 -1
- package/dist/index-Ciq7vHIs.d.mts +0 -716
- package/dist/index-Ciq7vHIs.d.mts.map +0 -1
- package/dist/index-D7wT6P3t.d.mts.map +0 -1
- package/dist/index-WB5kfnz0.d.mts.map +0 -1
- package/dist/index-r5riv4md.d.mts.map +0 -1
- package/dist/lifecycle-Dm8u7QFh.d.mts +0 -545
- package/dist/lifecycle-Dm8u7QFh.d.mts.map +0 -1
- package/dist/protocol-CF4Bh_Ch.mjs +0 -1255
- package/dist/protocol-CF4Bh_Ch.mjs.map +0 -1
- package/dist/react-C_GY-Fsc.mjs.map +0 -1
- package/dist/references/embedded-forms.md +0 -146
- package/dist/references/item-types.md +0 -641
- package/dist/request-context-Dg4jSwN1.mjs.map +0 -1
- package/dist/tasks-BZEiwgxA.mjs.map +0 -1
- package/dist/thread-handlers-Bef0td9N.d.mts.map +0 -1
- package/dist/tools-CEsv-WoO.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-Ciq7vHIs.d.mts","names":[],"sources":["../src/engine/capabilities.ts","../src/engine/context.ts","../src/engine/expression-validation.ts","../src/engine/expression-reference-integrity.ts","../src/engine/expression-mutations.ts","../src/engine/inspection.ts","../src/engine/normalization.ts","../src/engine/operation-execution.ts","../src/engine/operations.ts","../src/engine/mutation-recovery.ts","../src/engine/turn-survey-draft.ts","../src/engine/task-context.ts","../src/engine/task-result-cache.ts","../src/engine/audit.ts"],"mappings":";;;;;;;;UAiBiB;EACf;EACA;EACA;;UAGe;EACf;EACA,UAAU;;UAGK;EACf,UAAU;;EAEV,WAAW;EACX,aAAa;EACb,sBAAsB,EAAE;EACxB,qBACE,kBACA;IAEA,QAAQ;IACR,cAAc,YAAY,QAAQ;MAAmB;;;EAEvD,oBAAoB,MAAM;EAC1B,mBAAmB,MAAM,kBAAkB;EAC3C,6BAA6B,MAAM;EACnC,gBAAgB,MAAM,kBAAkB;EACxC,qBAAqB,WAAW;EAChC,iCAAiC,MAAM,kBAAkB;;EAEzD,uBAAuB,MAAM,kBAAkB,eAAe;EAC9D,eAAe,MAAM,kBAAkB;;UAGxB;EACf,UAAU;EACV,YAAY,oBAAoB;;cA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;;;;cCjOtD;WAAA;;KAIM,uCACF,+CAA+C;;;;;;;;;;cA2P5C;;WACF;EASG,YAAA;EAIZ,WAAW,SAAS;EAOpB,QACE,kBACA,4BACA,uBACA,kBACA,YACA,UACA;IAEA;IACA;IACA,wBAAwB;IACxB;IACA,YAAY;IACZ,UAAU,+BAA+B;IACzC;MACE;EA2MJ,OACE,WAAW,iBACX,mBAAkB,kBAClB,cAAa,6BACZ;EA8CH,SACE,QAAQ,oCACR,oBACA,UAAS,KAAK,8EACb;EAsBH,aAAa,sBAAsB;MAI/B,4BAA4B;MAI5B,WAAW;MAIX,SAAS;;;;KClqBH;UAMK;EACf,SAAS;EACT,eAAe;EACf;EACA;EACA;EACA;EACA;EACA;;cA2BW,kCACX,UAAU,wBACV,SAAS,2CACR;;;UCtDc;EACf;EACA;EACA;;;cAYW;mBACM;mBACA;mBACA;mBACA;EAEL,YAAA,UAAS;EAMrB,IAAI,SAAS,cAAc;EAa3B,IAAI,SAAS,aAAa,OAAO;EAUjC;;;;KCtCU;KACA;UASK;EACf;EACA,UAAU;EACV,UAAU;EACV;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf,SAAS,OAAO;IAAiC;;EACjD;EACA;EACA;IACE;IACA;IACA;IACA;IACA,WAAW;;EAEb,UAAU;EACV,yBAAyB;EACzB;IACE;IACA;IACA;IACA;IACA;IACA,SAAS;IACT;;EAEF;;cA6LW,cACX,SAAS,8BACT;EACE;EACA;EACA;EACA;EACA;MAED"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-D7wT6P3t.d.mts","names":[],"sources":["../src/protocol/errors.ts","../src/protocol/sanitization.ts","../src/protocol/attachments.ts","../src/protocol/threads.ts","../src/protocol/response-settings.ts","../src/protocol/tasks.ts","../src/protocol/models.ts"],"mappings":";;;;;cAMa,gCAA8B,EAAA;;;;;;;KAQ/B,2B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqB3C,EAAA,KAAA;KAEU,6BAA6B,EAAE,aAAa;;;cC1O3C,kCAAgC,EAAA;;;GAG3C,EAAA,KAAA;cAEW,mCAAiC,EAAA;;;;;;GAQ3C,EAAA,KAAA;KAES,6BAA6B,EAAE,aAAa;KAC5C,8BAA8B,EAAE,aAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-WB5kfnz0.d.mts","names":[],"sources":["../src/react/session-state.ts","../src/react/turn-authorization.ts","../src/react/transport.ts","../src/react/thread-client.ts","../src/react/client-error.ts","../src/react/support-bundle-limits.ts","../src/react/diagnostic-store.ts","../src/react/support-bundle.ts","../src/react/model-catalog.ts","../src/react/use-survey-assistant-session.ts"],"mappings":";;;;;KAAY;KAUA;EACN;;EACA;;EACA;;EACA;;EACA;;EACA;;EACA;;EACA;EAAe;;cAER,gCAA+B,aAAA;EAI1C;EACA,OAAO;;cAKI,oCACX,QAAQ,6BACR,OAAO,gCACN;;;cCPU,kCAAmC;cAOnC,uBAAwB,oBAAkB;cAK1C,0BAA2B,UAAU,gBAAc;KAuBpD;EACN;;EACA;EAAmB;EAAgB;;EAEnC;EACA,WAAW;EACX;;EAGA;EACA,WAAW;EACX,YAAY;;KAGN;EAEN;EACA,oBAAoB;;EAGpB;EACA,oBAAoB;;EAGpB;EACA;;EA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;;UAkBe;EACf;EACA,OAAO;;EAEP;;EAEA,YAAY;;UAGG;EACf,wBAAwB,eAAe;EACvC;EACA;EACA,OAAO;EACP;EACA,mBAAmB;EACnB,UAAU;EACV,gBAAgB,UAAU;EAC1B,OAAO;EACP,QAAQ;EACR;EACA,OAAO,SAAS;EAChB;;cAGW,8BAA6B,KAAA,aAAA,YAAA,iBAAA,iBAAA,SAAA,iBAAA,eAAA,oBAAA,oBAAA,YAAA,sBAAA,UAAA,UAAA,sBAcvC,kCAAgC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-r5riv4md.d.mts","names":[],"sources":["../src/server/tools/survey-audit-tool.ts","../src/server/tools/survey-asset-tool.ts","../src/server/tools/index.ts"],"mappings":";;cAqIa,8CAAe;;;;;;;;;;;kDAwB1B;;;cCaW,8CAAe;;;;;;;;;GAAf,qEAmIX;;;cClSW;cAaA,sBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAApB"}
|
|
@@ -1,545 +0,0 @@
|
|
|
1
|
-
import { i as AssistantItemTypeManifest, o as SurveyAssistantCapabilityManifest } from "./capabilities-CmeeAjEc.mjs";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import { SURVEY_EDITOR_ITEM_COLORS } from "@case-framework/survey-core/editor/colors";
|
|
4
|
-
import { Content, JsonPatchOperation, JsonValue, RawSurvey, RawSurveyAsset, RawSurveyItem, RichTextImageDimension, SurveyContentImageSource } from "@case-framework/survey-core";
|
|
5
|
-
//#region src/protocol/content.d.ts
|
|
6
|
-
declare const jsonValueSchema: z.ZodType<JsonValue>;
|
|
7
|
-
declare const surveyContentSchema: z.ZodType<Content>;
|
|
8
|
-
type SurveyContent = z.infer<typeof surveyContentSchema>;
|
|
9
|
-
type JsonValue$1 = z.infer<typeof jsonValueSchema>;
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/protocol/document.d.ts
|
|
12
|
-
interface SurveyDocumentVersionShape {
|
|
13
|
-
sessionId: string | null;
|
|
14
|
-
revision: number;
|
|
15
|
-
historyIndex: number;
|
|
16
|
-
contentHash: string;
|
|
17
|
-
capabilityDigest: string;
|
|
18
|
-
}
|
|
19
|
-
interface SurveyEditorUIContextShape {
|
|
20
|
-
view: "item-editor" | "preview-mode" | "translation-mode" | "asset-manager" | "response-data";
|
|
21
|
-
selectedItemId?: string;
|
|
22
|
-
responseSlotId?: string;
|
|
23
|
-
selectedLocale: string;
|
|
24
|
-
focusItemId?: string;
|
|
25
|
-
recentItemIds?: string[];
|
|
26
|
-
activeSurface?: string;
|
|
27
|
-
openPanels?: string[];
|
|
28
|
-
highlights?: Array<{
|
|
29
|
-
kind: string;
|
|
30
|
-
itemId?: string;
|
|
31
|
-
componentId?: string;
|
|
32
|
-
label?: string;
|
|
33
|
-
details?: string;
|
|
34
|
-
}>;
|
|
35
|
-
history?: {
|
|
36
|
-
currentIndex: number;
|
|
37
|
-
totalEntries: number;
|
|
38
|
-
canUndo: boolean;
|
|
39
|
-
canRedo: boolean;
|
|
40
|
-
recent: Array<{
|
|
41
|
-
index: number;
|
|
42
|
-
kind: "survey-snapshot" | "asset-change";
|
|
43
|
-
label: string;
|
|
44
|
-
source?: "user" | "system" | "assistant";
|
|
45
|
-
timestamp: number;
|
|
46
|
-
isCurrent: boolean;
|
|
47
|
-
}>;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
interface SurveyDocumentSnapshotShape {
|
|
51
|
-
protocolVersion: 1;
|
|
52
|
-
version: SurveyDocumentVersionShape;
|
|
53
|
-
survey: RawSurvey;
|
|
54
|
-
ui: SurveyEditorUIContextShape;
|
|
55
|
-
capabilities: SurveyAssistantCapabilityManifest;
|
|
56
|
-
createdAt: string;
|
|
57
|
-
}
|
|
58
|
-
declare const SURVEY_ASSISTANT_PROTOCOL_VERSION: 1;
|
|
59
|
-
declare const surveyAssistantProtocolVersionSchema: z.ZodLiteral<1>;
|
|
60
|
-
declare const surveyDocumentVersionSchema: z.ZodType<SurveyDocumentVersionShape>;
|
|
61
|
-
declare const surveyEditorUIContextSchema: z.ZodType<SurveyEditorUIContextShape>;
|
|
62
|
-
declare const rawSurveyDocumentSchema: z.ZodType<RawSurvey>;
|
|
63
|
-
declare const surveyDocumentSnapshotSchema: z.ZodType<SurveyDocumentSnapshotShape>;
|
|
64
|
-
declare const surveyAssistantSnapshotSchema: z.ZodType<SurveyDocumentSnapshotShape, unknown, z.core.$ZodTypeInternals<SurveyDocumentSnapshotShape, unknown>>;
|
|
65
|
-
declare const surveyAssistantSnapshotPayloadSchema: z.ZodType<SurveyDocumentSnapshotShape, unknown, z.core.$ZodTypeInternals<SurveyDocumentSnapshotShape, unknown>>;
|
|
66
|
-
type SurveyAssistantProtocolVersion = z.infer<typeof surveyAssistantProtocolVersionSchema>;
|
|
67
|
-
type SurveyDocumentVersion = z.infer<typeof surveyDocumentVersionSchema>;
|
|
68
|
-
type SurveyEditorUIContext = z.infer<typeof surveyEditorUIContextSchema>;
|
|
69
|
-
type RawSurveyDocument = z.infer<typeof rawSurveyDocumentSchema>;
|
|
70
|
-
type SurveyDocumentSnapshot = z.infer<typeof surveyDocumentSnapshotSchema>;
|
|
71
|
-
type SurveyAssistantSnapshot = SurveyDocumentSnapshot;
|
|
72
|
-
type SurveyAssistantSnapshotPayload = SurveyDocumentSnapshot;
|
|
73
|
-
type SurveyAssistantItemCreateStrategy = SurveyAssistantCapabilityManifest["itemTypes"][number]["create"];
|
|
74
|
-
type SurveyAssistantItemTypeManifestEntry = AssistantItemTypeManifest;
|
|
75
|
-
type SurveyAssistantItemRegistryManifest = SurveyAssistantCapabilityManifest;
|
|
76
|
-
type SurveyAssistantDraftChangePrecondition = SurveyDocumentVersion;
|
|
77
|
-
declare const surveyAssistantDraftChangePreconditionSchema: z.ZodType<SurveyDocumentVersionShape, unknown, z.core.$ZodTypeInternals<SurveyDocumentVersionShape, unknown>>;
|
|
78
|
-
//#endregion
|
|
79
|
-
//#region src/protocol/operations.d.ts
|
|
80
|
-
interface OperationBase {
|
|
81
|
-
id?: string;
|
|
82
|
-
}
|
|
83
|
-
interface ItemTranslation {
|
|
84
|
-
locale: string;
|
|
85
|
-
contentKey: string;
|
|
86
|
-
plainText?: string;
|
|
87
|
-
content?: SurveyContent;
|
|
88
|
-
}
|
|
89
|
-
interface CreateItemOperation extends OperationBase {
|
|
90
|
-
kind: "create-item";
|
|
91
|
-
target: {
|
|
92
|
-
parentItemId: string;
|
|
93
|
-
index?: number;
|
|
94
|
-
};
|
|
95
|
-
presetId?: string;
|
|
96
|
-
item: Omit<RawSurveyItem, "id"> & {
|
|
97
|
-
id?: string;
|
|
98
|
-
};
|
|
99
|
-
translations?: ItemTranslation[];
|
|
100
|
-
}
|
|
101
|
-
interface UpdateItemLabelOperation extends OperationBase {
|
|
102
|
-
kind: "update-item-label";
|
|
103
|
-
itemId: string;
|
|
104
|
-
itemLabel: string;
|
|
105
|
-
}
|
|
106
|
-
type ItemColor = (typeof SURVEY_EDITOR_ITEM_COLORS)[number];
|
|
107
|
-
interface UpdateItemColorOperation extends OperationBase {
|
|
108
|
-
kind: "update-item-color";
|
|
109
|
-
itemId: string;
|
|
110
|
-
color: ItemColor;
|
|
111
|
-
}
|
|
112
|
-
interface UpdateItemTranslationOperation extends OperationBase, ItemTranslation {
|
|
113
|
-
kind: "update-item-translation";
|
|
114
|
-
itemId: string;
|
|
115
|
-
}
|
|
116
|
-
interface UpdatePlacedImageOperation extends OperationBase {
|
|
117
|
-
kind: "update-placed-image";
|
|
118
|
-
itemId: string;
|
|
119
|
-
locale: string;
|
|
120
|
-
contentKey: string;
|
|
121
|
-
/** Zero-based index among image blocks in this rich-text content value. */
|
|
122
|
-
imageIndex: number;
|
|
123
|
-
/** Optional guard that prevents editing a different image after content changed. */
|
|
124
|
-
expectedAssetId?: string;
|
|
125
|
-
changes: {
|
|
126
|
-
source?: SurveyContentImageSource;
|
|
127
|
-
alt?: string | null;
|
|
128
|
-
caption?: string | null;
|
|
129
|
-
width?: RichTextImageDimension | null;
|
|
130
|
-
height?: RichTextImageDimension | null;
|
|
131
|
-
maxWidth?: RichTextImageDimension | null;
|
|
132
|
-
maxHeight?: RichTextImageDimension | null;
|
|
133
|
-
alignment?: "left" | "center" | "right" | null;
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
interface PatchItemConfigOperation extends OperationBase {
|
|
137
|
-
kind: "patch-item-config";
|
|
138
|
-
itemId: string;
|
|
139
|
-
/** JSON Patch paths are relative to the item's config root. */
|
|
140
|
-
patches: JsonPatchOperation[];
|
|
141
|
-
translations?: ItemTranslation[];
|
|
142
|
-
}
|
|
143
|
-
interface FormTarget {
|
|
144
|
-
itemId: string;
|
|
145
|
-
/** When present, target the inline embedded form on this choice option. */
|
|
146
|
-
optionId?: string;
|
|
147
|
-
}
|
|
148
|
-
interface UpsertFormFieldGroupOperation extends OperationBase {
|
|
149
|
-
kind: "upsert-form-field-group";
|
|
150
|
-
target: FormTarget;
|
|
151
|
-
index?: number;
|
|
152
|
-
group: Record<string, unknown> & {
|
|
153
|
-
id: string;
|
|
154
|
-
};
|
|
155
|
-
translations?: ItemTranslation[];
|
|
156
|
-
}
|
|
157
|
-
interface RemoveFormFieldGroupOperation extends OperationBase {
|
|
158
|
-
kind: "remove-form-field-group";
|
|
159
|
-
target: FormTarget;
|
|
160
|
-
groupId: string;
|
|
161
|
-
}
|
|
162
|
-
interface ReorderFormFieldGroupsOperation extends OperationBase {
|
|
163
|
-
kind: "reorder-form-field-groups";
|
|
164
|
-
target: FormTarget;
|
|
165
|
-
groupIds: string[];
|
|
166
|
-
}
|
|
167
|
-
interface UpsertFormFieldOperation extends OperationBase {
|
|
168
|
-
kind: "upsert-form-field";
|
|
169
|
-
target: FormTarget;
|
|
170
|
-
groupId: string;
|
|
171
|
-
index?: number;
|
|
172
|
-
field: Record<string, unknown> & {
|
|
173
|
-
id: string;
|
|
174
|
-
variableName: string;
|
|
175
|
-
type: string;
|
|
176
|
-
};
|
|
177
|
-
translations?: ItemTranslation[];
|
|
178
|
-
}
|
|
179
|
-
interface RemoveFormFieldOperation extends OperationBase {
|
|
180
|
-
kind: "remove-form-field";
|
|
181
|
-
target: FormTarget;
|
|
182
|
-
fieldId: string;
|
|
183
|
-
}
|
|
184
|
-
interface MoveFormFieldOperation extends OperationBase {
|
|
185
|
-
kind: "move-form-field";
|
|
186
|
-
target: FormTarget;
|
|
187
|
-
fieldId: string;
|
|
188
|
-
targetGroupId: string;
|
|
189
|
-
index?: number;
|
|
190
|
-
}
|
|
191
|
-
interface SetEmbeddedFormOperation extends OperationBase {
|
|
192
|
-
kind: "set-embedded-form";
|
|
193
|
-
itemId: string;
|
|
194
|
-
optionId: string;
|
|
195
|
-
form: Record<string, unknown> & {
|
|
196
|
-
id: string;
|
|
197
|
-
fieldGroups: unknown[];
|
|
198
|
-
};
|
|
199
|
-
translations?: ItemTranslation[];
|
|
200
|
-
}
|
|
201
|
-
interface RemoveEmbeddedFormOperation extends OperationBase {
|
|
202
|
-
kind: "remove-embedded-form";
|
|
203
|
-
itemId: string;
|
|
204
|
-
optionId: string;
|
|
205
|
-
}
|
|
206
|
-
interface ChoiceOptionInput {
|
|
207
|
-
id?: string;
|
|
208
|
-
code?: string;
|
|
209
|
-
label: string;
|
|
210
|
-
}
|
|
211
|
-
interface AddChoiceOptionOperation extends OperationBase {
|
|
212
|
-
kind: "add-choice-option";
|
|
213
|
-
itemId: string;
|
|
214
|
-
locale?: string;
|
|
215
|
-
index?: number;
|
|
216
|
-
option: ChoiceOptionInput;
|
|
217
|
-
}
|
|
218
|
-
interface UpdateChoiceOptionLabelOperation extends OperationBase {
|
|
219
|
-
kind: "update-choice-option-label";
|
|
220
|
-
itemId: string;
|
|
221
|
-
optionId: string;
|
|
222
|
-
locale?: string;
|
|
223
|
-
label: string;
|
|
224
|
-
}
|
|
225
|
-
interface RemoveChoiceOptionOperation extends OperationBase {
|
|
226
|
-
kind: "remove-choice-option";
|
|
227
|
-
itemId: string;
|
|
228
|
-
optionId: string;
|
|
229
|
-
}
|
|
230
|
-
interface ReorderChoiceOptionsOperation extends OperationBase {
|
|
231
|
-
kind: "reorder-choice-options";
|
|
232
|
-
itemId: string;
|
|
233
|
-
optionIds: string[];
|
|
234
|
-
}
|
|
235
|
-
interface RemoveItemOperation extends OperationBase {
|
|
236
|
-
kind: "remove-item";
|
|
237
|
-
itemId: string;
|
|
238
|
-
includeChildren?: boolean;
|
|
239
|
-
}
|
|
240
|
-
interface MoveItemOperation extends OperationBase {
|
|
241
|
-
kind: "move-item";
|
|
242
|
-
itemId: string;
|
|
243
|
-
target: {
|
|
244
|
-
parentItemId: string;
|
|
245
|
-
index?: number;
|
|
246
|
-
};
|
|
247
|
-
presetId?: string;
|
|
248
|
-
}
|
|
249
|
-
interface ReorderItemsOperation extends OperationBase {
|
|
250
|
-
kind: "reorder-items";
|
|
251
|
-
parentItemId: string;
|
|
252
|
-
itemIds: string[];
|
|
253
|
-
}
|
|
254
|
-
interface UpdateSurveyMetadataOperation extends OperationBase {
|
|
255
|
-
kind: "update-survey-metadata";
|
|
256
|
-
values: Record<string, string | null>;
|
|
257
|
-
}
|
|
258
|
-
interface UpdateSurveyPaginationOperation extends OperationBase {
|
|
259
|
-
kind: "update-survey-pagination";
|
|
260
|
-
value: {
|
|
261
|
-
large: number;
|
|
262
|
-
small: number;
|
|
263
|
-
} | null;
|
|
264
|
-
}
|
|
265
|
-
interface UpdateSurveyTranslationOperation extends OperationBase, Omit<ItemTranslation, "contentKey"> {
|
|
266
|
-
kind: "update-survey-translation";
|
|
267
|
-
surface: "surveyCardContent" | "navigationContent" | "validationMessages";
|
|
268
|
-
contentKey: string;
|
|
269
|
-
}
|
|
270
|
-
interface AddSurveyLocaleOperation extends OperationBase {
|
|
271
|
-
kind: "add-survey-locale";
|
|
272
|
-
locale: string;
|
|
273
|
-
}
|
|
274
|
-
interface RemoveSurveyLocaleOperation extends OperationBase {
|
|
275
|
-
kind: "remove-survey-locale";
|
|
276
|
-
locale: string;
|
|
277
|
-
}
|
|
278
|
-
interface SetImageAssetOperation extends OperationBase {
|
|
279
|
-
kind: "set-image-asset";
|
|
280
|
-
assetId: string;
|
|
281
|
-
asset: RawSurveyAsset;
|
|
282
|
-
}
|
|
283
|
-
interface UpdateImageAssetMetadataOperation extends OperationBase {
|
|
284
|
-
kind: "update-image-asset-metadata";
|
|
285
|
-
assetId: string;
|
|
286
|
-
metadata: {
|
|
287
|
-
name?: string | null;
|
|
288
|
-
filename?: string | null;
|
|
289
|
-
alt?: string | null;
|
|
290
|
-
width?: number | null;
|
|
291
|
-
height?: number | null;
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
interface RemoveImageAssetOperation extends OperationBase {
|
|
295
|
-
kind: "remove-image-asset";
|
|
296
|
-
assetId: string;
|
|
297
|
-
}
|
|
298
|
-
interface SurveyPatchOperation extends OperationBase {
|
|
299
|
-
kind: "survey-json-patch";
|
|
300
|
-
patches: JsonPatchOperation[];
|
|
301
|
-
}
|
|
302
|
-
interface UpdateResponseSettingsOperation extends OperationBase {
|
|
303
|
-
kind: "update-response-settings";
|
|
304
|
-
naming: import("@case-framework/survey-core/editor").ResponseNamingEdit[];
|
|
305
|
-
settings: import("@case-framework/survey-core/editor").ResponseSettingsEdit[];
|
|
306
|
-
}
|
|
307
|
-
type SurveyOperationShape = UpdateResponseSettingsOperation | CreateItemOperation | UpdateItemLabelOperation | UpdateItemColorOperation | UpdateItemTranslationOperation | UpdatePlacedImageOperation | PatchItemConfigOperation | UpsertFormFieldGroupOperation | RemoveFormFieldGroupOperation | ReorderFormFieldGroupsOperation | UpsertFormFieldOperation | RemoveFormFieldOperation | MoveFormFieldOperation | SetEmbeddedFormOperation | RemoveEmbeddedFormOperation | AddChoiceOptionOperation | UpdateChoiceOptionLabelOperation | RemoveChoiceOptionOperation | ReorderChoiceOptionsOperation | RemoveItemOperation | MoveItemOperation | ReorderItemsOperation | UpdateSurveyMetadataOperation | UpdateSurveyPaginationOperation | UpdateSurveyTranslationOperation | AddSurveyLocaleOperation | RemoveSurveyLocaleOperation | SetImageAssetOperation | UpdateImageAssetMetadataOperation | RemoveImageAssetOperation | SurveyPatchOperation;
|
|
308
|
-
type SurveyOperationKind = SurveyOperationShape["kind"];
|
|
309
|
-
interface SurveyValidationIssueShape {
|
|
310
|
-
severity: "error" | "warning";
|
|
311
|
-
code: string;
|
|
312
|
-
message: string;
|
|
313
|
-
operationIndex?: number;
|
|
314
|
-
operationId?: string;
|
|
315
|
-
itemId?: string;
|
|
316
|
-
}
|
|
317
|
-
interface SurveyValidationResultShape {
|
|
318
|
-
valid: boolean;
|
|
319
|
-
issues: SurveyValidationIssueShape[];
|
|
320
|
-
warnings: SurveyValidationIssueShape[];
|
|
321
|
-
normalizedOperations: SurveyOperationShape[];
|
|
322
|
-
}
|
|
323
|
-
declare const jsonPatchOperationSchema: z.ZodType<JsonPatchOperation>;
|
|
324
|
-
declare const createItemOperationSchema: z.ZodType<CreateItemOperation>;
|
|
325
|
-
declare const updateItemLabelOperationSchema: z.ZodType<UpdateItemLabelOperation>;
|
|
326
|
-
declare const updateItemColorOperationSchema: z.ZodType<UpdateItemColorOperation>;
|
|
327
|
-
declare const updateItemTranslationOperationSchema: z.ZodType<UpdateItemTranslationOperation>;
|
|
328
|
-
declare const patchItemConfigOperationSchema: z.ZodType<PatchItemConfigOperation>;
|
|
329
|
-
declare const addChoiceOptionOperationSchema: z.ZodType<AddChoiceOptionOperation>;
|
|
330
|
-
declare const updateChoiceOptionLabelOperationSchema: z.ZodType<UpdateChoiceOptionLabelOperation>;
|
|
331
|
-
declare const removeChoiceOptionOperationSchema: z.ZodType<RemoveChoiceOptionOperation>;
|
|
332
|
-
declare const reorderChoiceOptionsOperationSchema: z.ZodType<ReorderChoiceOptionsOperation>;
|
|
333
|
-
declare const removeItemOperationSchema: z.ZodType<RemoveItemOperation>;
|
|
334
|
-
declare const surveyPatchOperationSchema: z.ZodType<SurveyPatchOperation>;
|
|
335
|
-
declare const surveyOperationSchema: z.ZodType<SurveyOperationShape>;
|
|
336
|
-
declare const surveyValidationIssueSchema: z.ZodType<SurveyValidationIssueShape>;
|
|
337
|
-
declare const surveyValidationResultSchema: z.ZodType<SurveyValidationResultShape>;
|
|
338
|
-
type JsonPatchOperation$1 = z.infer<typeof jsonPatchOperationSchema>;
|
|
339
|
-
type SurveyOperation = z.infer<typeof surveyOperationSchema>;
|
|
340
|
-
declare const SURVEY_OPERATION_KINDS: readonly [SurveyOperationKind, ...SurveyOperationKind[]];
|
|
341
|
-
type SurveyValidationIssue = z.infer<typeof surveyValidationIssueSchema>;
|
|
342
|
-
type SurveyValidationResult = z.infer<typeof surveyValidationResultSchema>;
|
|
343
|
-
declare const surveyJsonPatchOperationSchema: z.ZodType<JsonPatchOperation, unknown, z.core.$ZodTypeInternals<JsonPatchOperation, unknown>>;
|
|
344
|
-
declare const surveyAssistantCreateItemOperationSchema: z.ZodType<CreateItemOperation, unknown, z.core.$ZodTypeInternals<CreateItemOperation, unknown>>;
|
|
345
|
-
declare const surveyAssistantUpdateItemLabelOperationSchema: z.ZodType<UpdateItemLabelOperation, unknown, z.core.$ZodTypeInternals<UpdateItemLabelOperation, unknown>>;
|
|
346
|
-
declare const surveyAssistantUpdateItemColorOperationSchema: z.ZodType<UpdateItemColorOperation, unknown, z.core.$ZodTypeInternals<UpdateItemColorOperation, unknown>>;
|
|
347
|
-
declare const surveyAssistantUpdateItemTranslationOperationSchema: z.ZodType<UpdateItemTranslationOperation, unknown, z.core.$ZodTypeInternals<UpdateItemTranslationOperation, unknown>>;
|
|
348
|
-
declare const surveyAssistantAddChoiceOptionOperationSchema: z.ZodType<AddChoiceOptionOperation, unknown, z.core.$ZodTypeInternals<AddChoiceOptionOperation, unknown>>;
|
|
349
|
-
declare const surveyAssistantUpdateChoiceOptionLabelOperationSchema: z.ZodType<UpdateChoiceOptionLabelOperation, unknown, z.core.$ZodTypeInternals<UpdateChoiceOptionLabelOperation, unknown>>;
|
|
350
|
-
declare const surveyAssistantRemoveChoiceOptionOperationSchema: z.ZodType<RemoveChoiceOptionOperation, unknown, z.core.$ZodTypeInternals<RemoveChoiceOptionOperation, unknown>>;
|
|
351
|
-
declare const surveyAssistantReorderChoiceOptionsOperationSchema: z.ZodType<ReorderChoiceOptionsOperation, unknown, z.core.$ZodTypeInternals<ReorderChoiceOptionsOperation, unknown>>;
|
|
352
|
-
declare const surveyAssistantRemoveItemOperationSchema: z.ZodType<RemoveItemOperation, unknown, z.core.$ZodTypeInternals<RemoveItemOperation, unknown>>;
|
|
353
|
-
declare const surveyAssistantSurveyJsonPatchOperationSchema: z.ZodType<SurveyPatchOperation, unknown, z.core.$ZodTypeInternals<SurveyPatchOperation, unknown>>;
|
|
354
|
-
declare const surveyAssistantOperationSchema: z.ZodType<SurveyOperationShape, unknown, z.core.$ZodTypeInternals<SurveyOperationShape, unknown>>;
|
|
355
|
-
declare const surveyAssistantValidationIssueSchema: z.ZodType<SurveyValidationIssueShape, unknown, z.core.$ZodTypeInternals<SurveyValidationIssueShape, unknown>>;
|
|
356
|
-
declare const surveyAssistantValidationResultSchema: z.ZodType<SurveyValidationResultShape, unknown, z.core.$ZodTypeInternals<SurveyValidationResultShape, unknown>>;
|
|
357
|
-
type SurveyAssistantOperation = SurveyOperation;
|
|
358
|
-
type SurveyAssistantValidationIssue = SurveyValidationIssue;
|
|
359
|
-
type SurveyAssistantValidationResult = SurveyValidationResult;
|
|
360
|
-
type SurveyAssistantSurveyJsonPatchOperation = z.infer<typeof surveyPatchOperationSchema>;
|
|
361
|
-
//#endregion
|
|
362
|
-
//#region src/protocol/lifecycle.d.ts
|
|
363
|
-
interface SurveyChangeSetShape {
|
|
364
|
-
protocolVersion: 1;
|
|
365
|
-
id: string;
|
|
366
|
-
turnId: string;
|
|
367
|
-
status: "validated" | "rejected";
|
|
368
|
-
summary: string;
|
|
369
|
-
operations: SurveyOperation[];
|
|
370
|
-
supersedesChangeIds?: string[];
|
|
371
|
-
pendingRepairs?: Array<{
|
|
372
|
-
changeId: string;
|
|
373
|
-
targets: string[];
|
|
374
|
-
requiresExplicitRetry: boolean;
|
|
375
|
-
allowsAcknowledgment?: boolean;
|
|
376
|
-
}>;
|
|
377
|
-
precondition?: SurveyDocumentVersion;
|
|
378
|
-
postChange?: SurveyAssistantPostChangeProjectionShape;
|
|
379
|
-
verification?: SurveyAssistantChangeVerificationShape;
|
|
380
|
-
validation: SurveyValidationResult;
|
|
381
|
-
createdAt: string;
|
|
382
|
-
}
|
|
383
|
-
declare const surveyAssistantChangeVerificationReasonValues: readonly ["substantial-change", "complex-change", "bounded-preview", "new-audit-findings"];
|
|
384
|
-
interface SurveyAssistantChangeVerificationShape {
|
|
385
|
-
required: boolean;
|
|
386
|
-
reasons: Array<(typeof surveyAssistantChangeVerificationReasonValues)[number]>;
|
|
387
|
-
newAuditFindingCount: number;
|
|
388
|
-
auditFindings: Array<{
|
|
389
|
-
code: string;
|
|
390
|
-
severity: "error" | "warning" | "info";
|
|
391
|
-
category: "structure" | "content" | "localization" | "logic" | "responses" | "assets" | "quality";
|
|
392
|
-
itemId?: string;
|
|
393
|
-
locale?: string;
|
|
394
|
-
contentKey?: string;
|
|
395
|
-
messagePreview: string;
|
|
396
|
-
messageLength: number;
|
|
397
|
-
truncated: boolean;
|
|
398
|
-
}>;
|
|
399
|
-
truncated: boolean;
|
|
400
|
-
}
|
|
401
|
-
interface SurveyAssistantPostChangeProjectionShape {
|
|
402
|
-
version: SurveyDocumentVersion;
|
|
403
|
-
itemCount: number;
|
|
404
|
-
localeCount: number;
|
|
405
|
-
locales: string[];
|
|
406
|
-
targetCount: number;
|
|
407
|
-
touchedTargets: string[];
|
|
408
|
-
touchedItemCount: number;
|
|
409
|
-
availableTouchedItemCount: number;
|
|
410
|
-
touchedItems: Array<{
|
|
411
|
-
itemId: string;
|
|
412
|
-
itemType: string;
|
|
413
|
-
editorName: string;
|
|
414
|
-
breadcrumb: string;
|
|
415
|
-
itemLabel?: string;
|
|
416
|
-
placement?: {
|
|
417
|
-
parentItemId: string;
|
|
418
|
-
index: number;
|
|
419
|
-
siblingCount: number;
|
|
420
|
-
previousItemId?: string;
|
|
421
|
-
nextItemId?: string;
|
|
422
|
-
shuffled: boolean;
|
|
423
|
-
};
|
|
424
|
-
childOrder?: {
|
|
425
|
-
itemIds: string[];
|
|
426
|
-
total: number;
|
|
427
|
-
truncated: boolean;
|
|
428
|
-
shuffled: boolean;
|
|
429
|
-
};
|
|
430
|
-
translationCount: number;
|
|
431
|
-
translations: Array<{
|
|
432
|
-
locale: string;
|
|
433
|
-
contentKey: string;
|
|
434
|
-
textPreview: string;
|
|
435
|
-
textLength: number;
|
|
436
|
-
truncated: boolean;
|
|
437
|
-
}>;
|
|
438
|
-
responseSlotCount: number;
|
|
439
|
-
responseSlots: string[];
|
|
440
|
-
responseVariables?: unknown[];
|
|
441
|
-
}>;
|
|
442
|
-
truncated: boolean;
|
|
443
|
-
}
|
|
444
|
-
declare const surveyAssistantTurnTerminationReasonValues: readonly ["client-abort", "first-response-timeout", "idle-timeout", "max-duration", "max-steps", "length-limit", "content-filter", "provider-error", "stream-error", "incomplete-response"];
|
|
445
|
-
interface SurveyAssistantTurnFinalShape {
|
|
446
|
-
protocolVersion: 1;
|
|
447
|
-
turnId: string;
|
|
448
|
-
status: "completed" | "failed" | "aborted";
|
|
449
|
-
executableChangeSetIds: string[];
|
|
450
|
-
blockedChangeSetIds?: string[];
|
|
451
|
-
startedAt?: string;
|
|
452
|
-
durationMs?: number;
|
|
453
|
-
terminationReason?: (typeof surveyAssistantTurnTerminationReasonValues)[number];
|
|
454
|
-
createdAt: string;
|
|
455
|
-
}
|
|
456
|
-
type SurveyAssistantApplyPolicyShape = "auto" | "review" | "deny";
|
|
457
|
-
declare const SURVEY_ASSISTANT_TURN_FINAL_DATA_NAME: "survey-assistant-turn-final";
|
|
458
|
-
declare const SURVEY_ASSISTANT_TURN_FINAL_PART_TYPE: "data-survey-assistant-turn-final";
|
|
459
|
-
type SurveyApplyStatusShape = "applied" | "rejected" | "stale" | "failed";
|
|
460
|
-
interface SurveyApplyResultShape {
|
|
461
|
-
status: SurveyApplyStatusShape;
|
|
462
|
-
changeId: string;
|
|
463
|
-
summary: string;
|
|
464
|
-
message: string;
|
|
465
|
-
appliedOperations: number;
|
|
466
|
-
issues?: SurveyValidationIssue[];
|
|
467
|
-
}
|
|
468
|
-
interface SurveyBatchApplyResultShape {
|
|
469
|
-
results: SurveyApplyResultShape[];
|
|
470
|
-
}
|
|
471
|
-
interface SurveyAssistantApplyOutcomeResultShape {
|
|
472
|
-
status: SurveyApplyStatusShape;
|
|
473
|
-
changeId: string;
|
|
474
|
-
summary: string;
|
|
475
|
-
message: string;
|
|
476
|
-
appliedOperations: number;
|
|
477
|
-
}
|
|
478
|
-
interface SurveyAssistantPreparedChangeShape {
|
|
479
|
-
changeId: string;
|
|
480
|
-
status: "validated" | "rejected";
|
|
481
|
-
summary: string;
|
|
482
|
-
operationCount: number;
|
|
483
|
-
}
|
|
484
|
-
declare const surveyAssistantApplyOutcomeStatusValues: readonly ["not-applied", "apply-failed", "settle-failed"];
|
|
485
|
-
interface SurveyAssistantApplyOutcomeShape {
|
|
486
|
-
protocolVersion: 1;
|
|
487
|
-
turnId: string;
|
|
488
|
-
status: (typeof surveyAssistantApplyOutcomeStatusValues)[number];
|
|
489
|
-
message: string;
|
|
490
|
-
results?: SurveyAssistantApplyOutcomeResultShape[];
|
|
491
|
-
preparedChanges?: SurveyAssistantPreparedChangeShape[];
|
|
492
|
-
createdAt: string;
|
|
493
|
-
}
|
|
494
|
-
interface ApplyReceiptShape {
|
|
495
|
-
protocolVersion: 1;
|
|
496
|
-
turnId: string;
|
|
497
|
-
changeSetId: string;
|
|
498
|
-
beforeVersion: SurveyDocumentVersion;
|
|
499
|
-
afterVersion?: SurveyDocumentVersion;
|
|
500
|
-
status: SurveyApplyStatusShape;
|
|
501
|
-
operationCount: number;
|
|
502
|
-
commit?: {
|
|
503
|
-
id?: string;
|
|
504
|
-
index?: number;
|
|
505
|
-
};
|
|
506
|
-
issues?: SurveyValidationIssue[];
|
|
507
|
-
createdAt: string;
|
|
508
|
-
}
|
|
509
|
-
declare const surveyChangeSetSchema: z.ZodType<SurveyChangeSetShape>;
|
|
510
|
-
declare const surveyAssistantTurnTerminationReasonSchema: z.ZodEnum<{
|
|
511
|
-
"content-filter": "content-filter";
|
|
512
|
-
"client-abort": "client-abort";
|
|
513
|
-
"first-response-timeout": "first-response-timeout";
|
|
514
|
-
"idle-timeout": "idle-timeout";
|
|
515
|
-
"max-duration": "max-duration";
|
|
516
|
-
"max-steps": "max-steps";
|
|
517
|
-
"length-limit": "length-limit";
|
|
518
|
-
"provider-error": "provider-error";
|
|
519
|
-
"stream-error": "stream-error";
|
|
520
|
-
"incomplete-response": "incomplete-response";
|
|
521
|
-
}>;
|
|
522
|
-
declare const surveyAssistantTurnFinalSchema: z.ZodType<SurveyAssistantTurnFinalShape>;
|
|
523
|
-
declare const surveyAssistantApplyPolicySchema: z.ZodType<SurveyAssistantApplyPolicyShape>;
|
|
524
|
-
declare const surveyApplyStatusSchema: z.ZodType<SurveyApplyStatusShape>;
|
|
525
|
-
declare const surveyApplyResultSchema: z.ZodType<SurveyApplyResultShape>;
|
|
526
|
-
declare const surveyBatchApplyResultSchema: z.ZodType<SurveyBatchApplyResultShape>;
|
|
527
|
-
declare const surveyAssistantApplyOutcomeSchema: z.ZodType<SurveyAssistantApplyOutcomeShape>;
|
|
528
|
-
declare const applyReceiptSchema: z.ZodType<ApplyReceiptShape>;
|
|
529
|
-
type SurveyChangeSet = z.infer<typeof surveyChangeSetSchema>;
|
|
530
|
-
type SurveyAssistantTurnFinal = z.infer<typeof surveyAssistantTurnFinalSchema>;
|
|
531
|
-
type SurveyAssistantTurnTerminationReason = z.infer<typeof surveyAssistantTurnTerminationReasonSchema>;
|
|
532
|
-
type SurveyAssistantApplyPolicy = z.infer<typeof surveyAssistantApplyPolicySchema>;
|
|
533
|
-
type SurveyApplyStatus = z.infer<typeof surveyApplyStatusSchema>;
|
|
534
|
-
type SurveyApplyResult = z.infer<typeof surveyApplyResultSchema>;
|
|
535
|
-
type SurveyBatchApplyResult = z.infer<typeof surveyBatchApplyResultSchema>;
|
|
536
|
-
type SurveyAssistantApplyOutcome = z.infer<typeof surveyAssistantApplyOutcomeSchema>;
|
|
537
|
-
type ApplyReceipt = z.infer<typeof applyReceiptSchema>;
|
|
538
|
-
declare const surveyAssistantDraftChangeEventSchema: z.ZodType<SurveyChangeSetShape, unknown, z.core.$ZodTypeInternals<SurveyChangeSetShape, unknown>>;
|
|
539
|
-
type SurveyAssistantDraftChangeEvent = SurveyChangeSet;
|
|
540
|
-
type SurveyAssistantApplyStatus = SurveyApplyStatus;
|
|
541
|
-
type SurveyAssistantApplyResult = SurveyApplyResult;
|
|
542
|
-
type SurveyAssistantBatchApplyResult = SurveyBatchApplyResult;
|
|
543
|
-
//#endregion
|
|
544
|
-
export { surveyAssistantUpdateItemLabelOperationSchema as $, SurveyAssistantSurveyJsonPatchOperation as A, surveyDocumentVersionSchema as At, patchItemConfigOperationSchema as B, surveyAssistantTurnFinalSchema as C, SurveyEditorUIContext as Ct, JsonPatchOperation$1 as D, surveyAssistantSnapshotPayloadSchema as Dt, surveyChangeSetSchema as E, surveyAssistantProtocolVersionSchema as Et, SurveyValidationIssue as F, surveyContentSchema as Ft, surveyAssistantCreateItemOperationSchema as G, removeItemOperationSchema as H, SurveyValidationResult as I, surveyAssistantRemoveItemOperationSchema as J, surveyAssistantOperationSchema as K, addChoiceOptionOperationSchema as L, SurveyAssistantValidationResult as M, JsonValue$1 as Mt, SurveyOperation as N, SurveyContent as Nt, SURVEY_OPERATION_KINDS as O, surveyAssistantSnapshotSchema as Ot, SurveyOperationKind as P, jsonValueSchema as Pt, surveyAssistantUpdateItemColorOperationSchema as Q, createItemOperationSchema as R, surveyAssistantDraftChangeEventSchema as S, SurveyDocumentVersion as St, surveyBatchApplyResultSchema as T, surveyAssistantDraftChangePreconditionSchema as Tt, reorderChoiceOptionsOperationSchema as U, removeChoiceOptionOperationSchema as V, surveyAssistantAddChoiceOptionOperationSchema as W, surveyAssistantSurveyJsonPatchOperationSchema as X, surveyAssistantReorderChoiceOptionsOperationSchema as Y, surveyAssistantUpdateChoiceOptionLabelOperationSchema as Z, applyReceiptSchema as _, SurveyAssistantItemTypeManifestEntry as _t, SurveyApplyStatus as a, surveyPatchOperationSchema as at, surveyAssistantApplyOutcomeSchema as b, SurveyAssistantSnapshotPayload as bt, SurveyAssistantApplyResult as c, updateChoiceOptionLabelOperationSchema as ct, SurveyAssistantDraftChangeEvent as d, updateItemTranslationOperationSchema as dt, surveyAssistantUpdateItemTranslationOperationSchema as et, SurveyAssistantTurnFinal as f, RawSurveyDocument as ft, SurveyChangeSetShape as g, SurveyAssistantItemRegistryManifest as gt, SurveyChangeSet as h, SurveyAssistantItemCreateStrategy as ht, SurveyApplyResult as i, surveyOperationSchema as it, SurveyAssistantValidationIssue as j, surveyEditorUIContextSchema as jt, SurveyAssistantOperation as k, surveyDocumentSnapshotSchema as kt, SurveyAssistantApplyStatus as l, updateItemColorOperationSchema as lt, SurveyBatchApplyResult as m, SurveyAssistantDraftChangePrecondition as mt, SURVEY_ASSISTANT_TURN_FINAL_DATA_NAME as n, surveyAssistantValidationResultSchema as nt, SurveyAssistantApplyOutcome as o, surveyValidationIssueSchema as ot, SurveyAssistantTurnTerminationReason as p, SURVEY_ASSISTANT_PROTOCOL_VERSION as pt, surveyAssistantRemoveChoiceOptionOperationSchema as q, SURVEY_ASSISTANT_TURN_FINAL_PART_TYPE as r, surveyJsonPatchOperationSchema as rt, SurveyAssistantApplyPolicy as s, surveyValidationResultSchema as st, ApplyReceipt as t, surveyAssistantValidationIssueSchema as tt, SurveyAssistantBatchApplyResult as u, updateItemLabelOperationSchema as ut, surveyApplyResultSchema as v, SurveyAssistantProtocolVersion as vt, surveyAssistantTurnTerminationReasonSchema as w, rawSurveyDocumentSchema as wt, surveyAssistantApplyPolicySchema as x, SurveyDocumentSnapshot as xt, surveyApplyStatusSchema as y, SurveyAssistantSnapshot as yt, jsonPatchOperationSchema as z };
|
|
545
|
-
//# sourceMappingURL=lifecycle-Dm8u7QFh.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-Dm8u7QFh.d.mts","names":[],"sources":["../src/protocol/content.ts","../src/protocol/document.ts","../src/protocol/operations.ts","../src/protocol/lifecycle.ts"],"mappings":";;;;;cAGa,iBAAiB,EAAE,QAAQ;cA4J3B,qBAAqB,EAAE,QAAQ;KAahC,gBAAgB,EAAE,aAAa;KAC/B,cAAY,EAAE,aAAa;;;UCpK7B;EACR;EACA;EACA;EACA;EACA;;UAGQ;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;IACX;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA,QAAQ;MACN;MACA;MACA;MACA;MACA;MACA;;;;UAKI;EACR;EACA,SAAS;EACT,QAAQ;EACR,IAAI;EACJ,cAAc;EACd;;cAGW;cACA,sCAAoC,EAAA;cAEpC,6BAA6B,EAAE,QAAQ;cAQvC,6BAA6B,EAAE,QAAQ;cAiEvC,yBAAyB,EAAE,QAAQ;cASnC,8BAA8B,EAAE,QAAQ;cASxC,+BAA6B,EAAA,QAAA,sCAAA,EAAA,KAAA,kBAAA;cAC7B,sCAAoC,EAAA,QAAA,sCAAA,EAAA,KAAA,kBAAA;KAErC,iCAAiC,EAAE,aAAa;KAChD,wBAAwB,EAAE,aAAa;KACvC,wBAAwB,EAAE,aAAa;KACvC,oBAAoB,EAAE,aAAa;KACnC,yBAAyB,EAAE,aAAa;KAIxC,0BAA0B;KAC1B,iCAAiC;KACjC,oCACV;KACU,uCAAuC;KACvC,sCAAsC;KACtC,yCAAyC;cACxC,8CAA4C,EAAA,QAAA,qCAAA,EAAA,KAAA,kBAAA;;;UC9J/C;EACR;;UAGQ;EACR;EACA;EACA;EACA,UAAU;;UAGF,4BAA4B;EACpC;EACA;IAAU;IAAsB;;EAChC;EACA,MAAM,KAAK;IAAyB;;E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