oasis-editor 0.0.355 → 0.0.357

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.
@@ -36,6 +36,33 @@ export interface EditorDocxDiagnostic {
36
36
  partPath?: string;
37
37
  relationshipId?: string;
38
38
  }
39
+ /** Preservation-only description. No executable or editable object semantics. */
40
+ export interface EditorDocxOpaqueObject {
41
+ kind: "chart" | "diagram" | "embedded" | "ink" | "drawing" | "vml";
42
+ ownerPath: string;
43
+ ordinal: number;
44
+ fragmentXml: string;
45
+ /** Expanded-name structure; not a digest or a proof of visual equivalence. */
46
+ signature: string;
47
+ geometry?: {
48
+ placement: "inline" | "anchor";
49
+ widthEmu?: number;
50
+ heightEmu?: number;
51
+ wrap?: string;
52
+ relativeHeight?: string;
53
+ };
54
+ relationshipIds: string[];
55
+ edges: Array<{
56
+ ownerPath: string;
57
+ relationshipId: string;
58
+ type: string;
59
+ target: string;
60
+ targetMode: "Internal" | "External";
61
+ resolvedTarget?: string;
62
+ }>;
63
+ partPaths: string[];
64
+ issues: EditorDocxDiagnostic[];
65
+ }
39
66
  export interface EditorDocxSourcePackage {
40
67
  format: "docx";
41
68
  mainDocumentPart: string;
@@ -43,6 +70,8 @@ export interface EditorDocxSourcePackage {
43
70
  rootRelationships: EditorOpcRelationship[];
44
71
  parts: Record<string, EditorOpcPart>;
45
72
  diagnostics?: EditorDocxDiagnostic[];
73
+ /** Inventory of unsupported story objects; not part of the editable run model yet. */
74
+ opaqueObjects?: EditorDocxOpaqueObject[];
46
75
  /**
47
76
  * Hashes of the canonical Oasis rebuild immediately after import, keyed by
48
77
  * conventional rebuilt part path. During source-backed export an equal hash