document-content-model 7.8.0 → 7.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/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-GVdTKrE7.d.cts → construct-C4XiF8OW.d.cts} +3 -3
- package/dist/{construct-GVdTKrE7.d.ts → construct-C4XiF8OW.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-DAc4O272.d.ts → content-C1hJ6olW.d.ts} +154 -149
- package/dist/{content-SgKmas45.d.cts → content-DN5CqH6Y.d.cts} +154 -149
- package/dist/content-json-schema-defs.cjs +2 -0
- package/dist/content-json-schema-defs.js +2 -0
- package/dist/content.cjs +1 -0
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/content.js +1 -0
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/{package-node-BnFUnaa0.d.ts → package-node-B9aFWtrZ.d.ts} +37 -37
- package/dist/{package-node-DnUyGT61.d.cts → package-node-DktLHAKG.d.cts} +37 -37
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +7 -7
- package/dist/package.d.ts +7 -7
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/{style-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
- package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.d.ts} +1 -1
- package/dist/style.d.cts +1 -1
- package/dist/style.d.ts +1 -1
- package/dist/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +22 -13
- package/schemas/document-tree.schema.json +9 -3
package/dist/codec.d.cts
CHANGED
package/dist/codec.d.ts
CHANGED
|
@@ -94,19 +94,19 @@ declare const FieldDescriptorSchema: z.ZodObject<{
|
|
|
94
94
|
}, z.core.$strict>;
|
|
95
95
|
type FieldDescriptor = z.infer<typeof FieldDescriptorSchema>;
|
|
96
96
|
declare const AnchorTypeSchema: z.ZodEnum<{
|
|
97
|
+
comment: "comment";
|
|
97
98
|
bookmark: "bookmark";
|
|
98
99
|
footnote: "footnote";
|
|
99
100
|
endnote: "endnote";
|
|
100
|
-
comment: "comment";
|
|
101
101
|
}>;
|
|
102
102
|
type AnchorType = z.infer<typeof AnchorTypeSchema>;
|
|
103
103
|
declare const AnchorDescriptorSchema: z.ZodObject<{
|
|
104
104
|
kind: z.ZodLiteral<"anchor">;
|
|
105
105
|
anchorType: z.ZodEnum<{
|
|
106
|
+
comment: "comment";
|
|
106
107
|
bookmark: "bookmark";
|
|
107
108
|
footnote: "footnote";
|
|
108
109
|
endnote: "endnote";
|
|
109
|
-
comment: "comment";
|
|
110
110
|
}>;
|
|
111
111
|
name: z.ZodString;
|
|
112
112
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -321,10 +321,10 @@ declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
321
321
|
}, z.core.$strict>, z.ZodObject<{
|
|
322
322
|
kind: z.ZodLiteral<"anchor">;
|
|
323
323
|
anchorType: z.ZodEnum<{
|
|
324
|
+
comment: "comment";
|
|
324
325
|
bookmark: "bookmark";
|
|
325
326
|
footnote: "footnote";
|
|
326
327
|
endnote: "endnote";
|
|
327
|
-
comment: "comment";
|
|
328
328
|
}>;
|
|
329
329
|
name: z.ZodString;
|
|
330
330
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -94,19 +94,19 @@ declare const FieldDescriptorSchema: z.ZodObject<{
|
|
|
94
94
|
}, z.core.$strict>;
|
|
95
95
|
type FieldDescriptor = z.infer<typeof FieldDescriptorSchema>;
|
|
96
96
|
declare const AnchorTypeSchema: z.ZodEnum<{
|
|
97
|
+
comment: "comment";
|
|
97
98
|
bookmark: "bookmark";
|
|
98
99
|
footnote: "footnote";
|
|
99
100
|
endnote: "endnote";
|
|
100
|
-
comment: "comment";
|
|
101
101
|
}>;
|
|
102
102
|
type AnchorType = z.infer<typeof AnchorTypeSchema>;
|
|
103
103
|
declare const AnchorDescriptorSchema: z.ZodObject<{
|
|
104
104
|
kind: z.ZodLiteral<"anchor">;
|
|
105
105
|
anchorType: z.ZodEnum<{
|
|
106
|
+
comment: "comment";
|
|
106
107
|
bookmark: "bookmark";
|
|
107
108
|
footnote: "footnote";
|
|
108
109
|
endnote: "endnote";
|
|
109
|
-
comment: "comment";
|
|
110
110
|
}>;
|
|
111
111
|
name: z.ZodString;
|
|
112
112
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -321,10 +321,10 @@ declare const ConstructDescriptorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
321
321
|
}, z.core.$strict>, z.ZodObject<{
|
|
322
322
|
kind: z.ZodLiteral<"anchor">;
|
|
323
323
|
anchorType: z.ZodEnum<{
|
|
324
|
+
comment: "comment";
|
|
324
325
|
bookmark: "bookmark";
|
|
325
326
|
footnote: "footnote";
|
|
326
327
|
endnote: "endnote";
|
|
327
|
-
comment: "comment";
|
|
328
328
|
}>;
|
|
329
329
|
name: z.ZodString;
|
|
330
330
|
definition: z.ZodOptional<z.ZodString>;
|
package/dist/construct.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-
|
|
1
|
+
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C4XiF8OW.cjs";
|
|
2
2
|
export { AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, FieldDescriptor, FieldDescriptorSchema, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema };
|
package/dist/construct.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-
|
|
1
|
+
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-C4XiF8OW.js";
|
|
2
2
|
export { AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, FieldDescriptor, FieldDescriptorSchema, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema };
|