-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathindex.ts
More file actions
87 lines (81 loc) · 2.15 KB
/
Copy pathindex.ts
File metadata and controls
87 lines (81 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// Main exports for the svedit library
export { default as Svedit } from './Svedit.svelte';
export { default as TextProperty } from './TextProperty.svelte';
export { default as CustomProperty } from './CustomProperty.svelte';
export { default as Node } from './Node.svelte';
export { default as NodeArrayProperty } from './NodeArrayProperty.svelte';
export { default as NodeGap } from './NodeGap.svelte';
export { default as NodeGapMarkers } from './NodeGapMarkers.svelte';
export { default as NodeCaret } from './NodeCaret.svelte';
export { default as NodeSelectionMarkers } from './NodeSelectionMarkers.svelte';
// Core classes and utilities
export { default as Session } from './Session.svelte.js';
export { default as Transaction } from './Transaction.svelte.js';
// Public types
export type {
// Schema definition
DocumentSchema,
NodeSchema,
NodeKind,
PropertyDefinition,
PropertyType,
// Schema-derived node types
PropertyValue,
NodeOfType,
AnyNode,
NodeMap,
DynamicRecord,
SessionConfig,
CommandRegistry,
DocumentOperation,
Inspection,
// Documents and nodes
Document,
DocumentNode,
DocumentPath,
NodeId,
// Values
Text,
NodeArray,
Attachment,
Mark,
Annotation,
// Selections
Selection,
TextSelection,
NodeSelection,
PropertySelection,
SelectionRange,
// Component props and render contexts
SveditProps,
SveditContext,
TextPropertyProps,
CustomPropertyProps,
NodeArrayPropertyProps,
NodeGapToolsProps,
NodeProps,
NodeArrayAttachmentContext
} from './types.js';
export type { SelectedAttachment } from './doc_utils.js';
export type { Keymap } from './KeyMapper.svelte.js';
// Document utilities
export {
define_document_schema,
is_primitive_type,
get_default_node_type,
get_property_default,
fill_node_defaults,
fill_document_defaults,
validate_document_schema,
validate_document,
validate_node,
get_referencing_node_ids
} from './doc_utils.js';
// Command system
export { default as Command } from './Command.svelte.js';
export * from './Command.svelte.js';
// Keyboard handling
export { KeyMapper, define_keymap } from './KeyMapper.svelte.js';
// Transforms and utilities
export * from './transforms.svelte.js';
export * from './utils.js';