mdmodels-core 0.2.8 → 0.2.9

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.
@@ -180,6 +180,11 @@ export interface Position {
180
180
  offset: PositionRange;
181
181
  }
182
182
 
183
+ /**
184
+ * Enum representing the type of validation error.
185
+ */
186
+ export type ErrorType = "NameError" | "TypeError" | "DuplicateError" | "GlobalError" | "XMLError" | "ObjectError";
187
+
183
188
  /**
184
189
  * Validator for checking the integrity of a data model.
185
190
  */
@@ -202,9 +207,11 @@ export interface ValidationError {
202
207
  }
203
208
 
204
209
  /**
205
- * Enum representing the type of validation error.
210
+ * Represents different types of model imports.
211
+ *
212
+ * Can be either a remote URL or a local file path.
206
213
  */
207
- export type ErrorType = "NameError" | "TypeError" | "DuplicateError" | "GlobalError" | "XMLError" | "ObjectError";
214
+ export type ImportType = { Remote: string } | { Local: string };
208
215
 
209
216
  /**
210
217
  * Represents the front matter data of a markdown file.
@@ -244,13 +251,6 @@ export interface FrontMatter {
244
251
  "allow-empty"?: boolean;
245
252
  }
246
253
 
247
- /**
248
- * Represents different types of model imports.
249
- *
250
- * Can be either a remote URL or a local file path.
251
- */
252
- export type ImportType = { Remote: string } | { Local: string };
253
-
254
254
  /**
255
255
  * Represents an attribute with various properties and options.
256
256
  */
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Jan Range <jan.range@simtech.uni-stuttgart.de>"
6
6
  ],
7
7
  "description": "A tool to generate models, code and schemas from markdown files",
8
- "version": "0.2.8",
8
+ "version": "0.2.9",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",