@kanonak-protocol/cli 3.11.0 → 3.13.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/capabilities/CapabilityLoader.d.ts +1 -1
- package/dist/commands/transform.d.ts +1 -1
- package/dist/index.js +48 -122
- package/package.json +3 -3
- package/dist/capabilities/SingleDocumentRepository.d.ts +0 -28
- package/dist/capabilities/UriHelpers.d.ts +0 -85
- package/dist/transformations/DocAst.d.ts +0 -84
- package/dist/transformations/DocAstUriConstants.d.ts +0 -57
- package/dist/transformations/FormatOverride.d.ts +0 -34
- package/dist/transformations/ReferenceResolver.d.ts +0 -20
- package/dist/transformations/backends/HtmlBackend.d.ts +0 -7
- package/dist/transformations/backends/IDocumentAstBackend.d.ts +0 -16
- package/dist/transformations/backends/JsonBackend.d.ts +0 -12
- package/dist/transformations/backends/MarkdownFrontmatterBackend.d.ts +0 -7
- package/dist/transformations/backends/SimpleMarkdownRenderer.d.ts +0 -17
- package/dist/transformations/backends/SvgBackend.d.ts +0 -7
- package/dist/transformations/backends/TomlBackend.d.ts +0 -7
- package/dist/transformations/v3/CompiledTransformationV3.d.ts +0 -354
- package/dist/transformations/v3/ExpressionEngineV3.d.ts +0 -75
- package/dist/transformations/v3/TransformationLoaderV3.d.ts +0 -22
- package/dist/transformations/v3/TransformationRunnerV3.d.ts +0 -90
- package/dist/transformations/v3/TransformationUriConstantsV3.d.ts +0 -193
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hardcoded canonical URIs for the transformations@3.0.0 ontology.
|
|
3
|
-
*
|
|
4
|
-
* Versioned in the file path (`v3/`) and the symbol (`TX_V3`) so a
|
|
5
|
-
* future v4 ontology can ship a sibling `v4/TransformationUriConstantsV4.ts`
|
|
6
|
-
* and the runtime can dispatch by the resolved type's package version
|
|
7
|
-
* without forcing existing v3 transformations to upgrade.
|
|
8
|
-
*
|
|
9
|
-
* Per the typescript repo's CLAUDE.md rule 6, hardcoded URI constants
|
|
10
|
-
* are fine and expected — they are the ontology contract. String
|
|
11
|
-
* heuristics on aliases or suffixes are NOT.
|
|
12
|
-
*/
|
|
13
|
-
import type { EntityUri } from '../../capabilities/UriHelpers.js';
|
|
14
|
-
export declare const TX_V3_PUB = "kanonak.org";
|
|
15
|
-
export declare const TX_V3_PKG = "transformations";
|
|
16
|
-
export declare const TX_V3_VERSION_MAJOR = 3;
|
|
17
|
-
export declare const TX_V3: {
|
|
18
|
-
readonly Transformation: EntityUri;
|
|
19
|
-
readonly InstanceTransformation: EntityUri;
|
|
20
|
-
readonly SetTransformation: EntityUri;
|
|
21
|
-
readonly inputPattern: EntityUri;
|
|
22
|
-
readonly rule: EntityUri;
|
|
23
|
-
readonly artifactName: EntityUri;
|
|
24
|
-
readonly outputs: EntityUri;
|
|
25
|
-
readonly formatOverrides: EntityUri;
|
|
26
|
-
readonly partitionBy: EntityUri;
|
|
27
|
-
readonly InputPattern: EntityUri;
|
|
28
|
-
readonly matchesClass: EntityUri;
|
|
29
|
-
readonly requires: EntityUri;
|
|
30
|
-
readonly sortBy: EntityUri;
|
|
31
|
-
readonly SortKey: EntityUri;
|
|
32
|
-
readonly byProperty: EntityUri;
|
|
33
|
-
readonly order: EntityUri;
|
|
34
|
-
readonly SortOrder: EntityUri;
|
|
35
|
-
readonly ascending: EntityUri;
|
|
36
|
-
readonly descending: EntityUri;
|
|
37
|
-
readonly OutputFormat: EntityUri;
|
|
38
|
-
readonly backendUri: EntityUri;
|
|
39
|
-
readonly FormatOverride: EntityUri;
|
|
40
|
-
readonly formatTarget: EntityUri;
|
|
41
|
-
readonly metadataKeys: EntityUri;
|
|
42
|
-
readonly metadataRenames: EntityUri;
|
|
43
|
-
readonly trailingNewline: EntityUri;
|
|
44
|
-
readonly omitWrapper: EntityUri;
|
|
45
|
-
readonly RenameEntry: EntityUri;
|
|
46
|
-
readonly fromKey: EntityUri;
|
|
47
|
-
readonly toKey: EntityUri;
|
|
48
|
-
readonly FMT_MARKDOWN_FRONTMATTER: EntityUri;
|
|
49
|
-
readonly FMT_PLAIN_MARKDOWN: EntityUri;
|
|
50
|
-
readonly FMT_TOML: EntityUri;
|
|
51
|
-
readonly FMT_JSON: EntityUri;
|
|
52
|
-
readonly FMT_HTML: EntityUri;
|
|
53
|
-
readonly FMT_SVG: EntityUri;
|
|
54
|
-
readonly Expression: EntityUri;
|
|
55
|
-
readonly ListSourcedExpression: EntityUri;
|
|
56
|
-
readonly ListAggregate: EntityUri;
|
|
57
|
-
readonly IteratingExpression: EntityUri;
|
|
58
|
-
readonly BuildAstNode: EntityUri;
|
|
59
|
-
readonly astClass: EntityUri;
|
|
60
|
-
readonly set: EntityUri;
|
|
61
|
-
readonly AstFieldBinding: EntityUri;
|
|
62
|
-
readonly field: EntityUri;
|
|
63
|
-
readonly bindValue: EntityUri;
|
|
64
|
-
readonly When: EntityUri;
|
|
65
|
-
readonly condition: EntityUri;
|
|
66
|
-
readonly thenBuild: EntityUri;
|
|
67
|
-
readonly elseBuild: EntityUri;
|
|
68
|
-
readonly Concat: EntityUri;
|
|
69
|
-
readonly parts: EntityUri;
|
|
70
|
-
readonly Fallback: EntityUri;
|
|
71
|
-
readonly primary: EntityUri;
|
|
72
|
-
readonly alternate: EntityUri;
|
|
73
|
-
readonly StringLiteral: EntityUri;
|
|
74
|
-
readonly stringLiteral: EntityUri;
|
|
75
|
-
readonly IntegerLiteral: EntityUri;
|
|
76
|
-
readonly integerLiteral: EntityUri;
|
|
77
|
-
readonly DecimalLiteral: EntityUri;
|
|
78
|
-
readonly decimalLiteral: EntityUri;
|
|
79
|
-
readonly BooleanLiteral: EntityUri;
|
|
80
|
-
readonly booleanLiteral: EntityUri;
|
|
81
|
-
readonly VarRef: EntityUri;
|
|
82
|
-
readonly varName: EntityUri;
|
|
83
|
-
readonly PropertyRead: EntityUri;
|
|
84
|
-
readonly readSource: EntityUri;
|
|
85
|
-
readonly readProp: EntityUri;
|
|
86
|
-
readonly Traverse: EntityUri;
|
|
87
|
-
readonly traverseSource: EntityUri;
|
|
88
|
-
readonly through: EntityUri;
|
|
89
|
-
readonly step: EntityUri;
|
|
90
|
-
readonly UriName: EntityUri;
|
|
91
|
-
readonly uriNameOf: EntityUri;
|
|
92
|
-
readonly UriPublisher: EntityUri;
|
|
93
|
-
readonly uriPublisherOf: EntityUri;
|
|
94
|
-
readonly UriPackage: EntityUri;
|
|
95
|
-
readonly uriPackageOf: EntityUri;
|
|
96
|
-
readonly UriVersion: EntityUri;
|
|
97
|
-
readonly uriVersionOf: EntityUri;
|
|
98
|
-
readonly SubjectUri: EntityUri;
|
|
99
|
-
readonly subjectOf: EntityUri;
|
|
100
|
-
readonly UriLiteral: EntityUri;
|
|
101
|
-
readonly refTo: EntityUri;
|
|
102
|
-
readonly DisplayLabel: EntityUri;
|
|
103
|
-
readonly labelTarget: EntityUri;
|
|
104
|
-
readonly labelSource: EntityUri;
|
|
105
|
-
readonly ResolveRef: EntityUri;
|
|
106
|
-
readonly resolveSource: EntityUri;
|
|
107
|
-
readonly Normalize: EntityUri;
|
|
108
|
-
readonly normSource: EntityUri;
|
|
109
|
-
readonly normKind: EntityUri;
|
|
110
|
-
readonly NormalizeKind: EntityUri;
|
|
111
|
-
readonly NORM_TRIM_END: EntityUri;
|
|
112
|
-
readonly IsSet: EntityUri;
|
|
113
|
-
readonly checkExpr: EntityUri;
|
|
114
|
-
readonly ExpressionFragment: EntityUri;
|
|
115
|
-
readonly body: EntityUri;
|
|
116
|
-
readonly CallFragment: EntityUri;
|
|
117
|
-
readonly fragmentRef: EntityUri;
|
|
118
|
-
readonly source: EntityUri;
|
|
119
|
-
readonly Join: EntityUri;
|
|
120
|
-
readonly separator: EntityUri;
|
|
121
|
-
readonly Count: EntityUri;
|
|
122
|
-
readonly Sum: EntityUri;
|
|
123
|
-
readonly Min: EntityUri;
|
|
124
|
-
readonly Max: EntityUri;
|
|
125
|
-
readonly Average: EntityUri;
|
|
126
|
-
readonly loopVar: EntityUri;
|
|
127
|
-
readonly ForEach: EntityUri;
|
|
128
|
-
readonly emit: EntityUri;
|
|
129
|
-
readonly ListMap: EntityUri;
|
|
130
|
-
readonly mapBody: EntityUri;
|
|
131
|
-
readonly Filter: EntityUri;
|
|
132
|
-
readonly predicate: EntityUri;
|
|
133
|
-
readonly PartitionBy: EntityUri;
|
|
134
|
-
readonly partitionKey: EntityUri;
|
|
135
|
-
readonly DistinctBy: EntityUri;
|
|
136
|
-
readonly distinctKey: EntityUri;
|
|
137
|
-
readonly Partition: EntityUri;
|
|
138
|
-
readonly key: EntityUri;
|
|
139
|
-
readonly members: EntityUri;
|
|
140
|
-
readonly AllStatements: EntityUri;
|
|
141
|
-
readonly statementsOf: EntityUri;
|
|
142
|
-
readonly StatementPredicate: EntityUri;
|
|
143
|
-
readonly predicateOf: EntityUri;
|
|
144
|
-
readonly StatementValue: EntityUri;
|
|
145
|
-
readonly valueOf: EntityUri;
|
|
146
|
-
readonly DateFormat: EntityUri;
|
|
147
|
-
readonly dateSource: EntityUri;
|
|
148
|
-
readonly dateFormat: EntityUri;
|
|
149
|
-
readonly BinaryArithmetic: EntityUri;
|
|
150
|
-
readonly arithLeft: EntityUri;
|
|
151
|
-
readonly arithRight: EntityUri;
|
|
152
|
-
readonly Add: EntityUri;
|
|
153
|
-
readonly Subtract: EntityUri;
|
|
154
|
-
readonly Multiply: EntityUri;
|
|
155
|
-
readonly Divide: EntityUri;
|
|
156
|
-
readonly Reverse: EntityUri;
|
|
157
|
-
readonly WindowedMap: EntityUri;
|
|
158
|
-
readonly windowSize: EntityUri;
|
|
159
|
-
readonly windowVar: EntityUri;
|
|
160
|
-
readonly windowBody: EntityUri;
|
|
161
|
-
readonly PairwiseMap: EntityUri;
|
|
162
|
-
readonly firstVar: EntityUri;
|
|
163
|
-
readonly secondVar: EntityUri;
|
|
164
|
-
readonly pairBody: EntityUri;
|
|
165
|
-
readonly Scan: EntityUri;
|
|
166
|
-
readonly initialState: EntityUri;
|
|
167
|
-
readonly stateVar: EntityUri;
|
|
168
|
-
readonly elementVar: EntityUri;
|
|
169
|
-
readonly accumulate: EntityUri;
|
|
170
|
-
readonly ListItemAt: EntityUri;
|
|
171
|
-
readonly itemIndex: EntityUri;
|
|
172
|
-
readonly BinaryComparison: EntityUri;
|
|
173
|
-
readonly compareLeft: EntityUri;
|
|
174
|
-
readonly compareRight: EntityUri;
|
|
175
|
-
readonly Equals: EntityUri;
|
|
176
|
-
readonly GreaterThan: EntityUri;
|
|
177
|
-
readonly LessThan: EntityUri;
|
|
178
|
-
readonly GreaterThanOrEqual: EntityUri;
|
|
179
|
-
readonly LessThanOrEqual: EntityUri;
|
|
180
|
-
readonly Not: EntityUri;
|
|
181
|
-
readonly operand: EntityUri;
|
|
182
|
-
readonly BooleanLogic: EntityUri;
|
|
183
|
-
readonly operands: EntityUri;
|
|
184
|
-
readonly And: EntityUri;
|
|
185
|
-
readonly Or: EntityUri;
|
|
186
|
-
readonly Contains: EntityUri;
|
|
187
|
-
readonly haystack: EntityUri;
|
|
188
|
-
readonly needle: EntityUri;
|
|
189
|
-
readonly UnaryNumericOp: EntityUri;
|
|
190
|
-
readonly value: EntityUri;
|
|
191
|
-
readonly Abs: EntityUri;
|
|
192
|
-
readonly Negate: EntityUri;
|
|
193
|
-
};
|