@kaiord/zwo 4.0.0 → 4.3.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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@kaiord/zwo.svg)](https://www.npmjs.com/package/@kaiord/zwo)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- ZWO format adapter for Kaiord workout data conversion. Provides reading, writing, and validation of Zwift workout XML files.
6
+ ZWO format adapter for the Kaiord health & fitness data framework. Provides reading, writing, and validation of Zwift workout XML files.
7
7
 
8
8
  ## Installation
9
9
 
@@ -0,0 +1,24 @@
1
+ import { Logger, TextReader, TextWriter } from '@kaiord/core';
2
+ import { Z as ZwiftValidator } from './fast-xml-parser-YgKah3Fp.js';
3
+ export { d as ZwiftValidationError, b as ZwiftValidationResult, c as createFastXmlZwiftReader, a as createFastXmlZwiftWriter } from './fast-xml-parser-YgKah3Fp.js';
4
+
5
+ /**
6
+ * Creates a Zwift validator for browser environments.
7
+ * Only performs XML well-formedness validation (XSD validation not available in browsers).
8
+ *
9
+ * @param logger - Logger instance for diagnostic messages
10
+ * @returns ZwiftValidator function
11
+ */
12
+ declare const createZwiftValidator: (logger: Logger) => ZwiftValidator;
13
+
14
+ /**
15
+ * Browser-specific entry point for @kaiord/zwo
16
+ * Uses well-formedness validation only (no Node.js XSD validation)
17
+ */
18
+
19
+ declare const createZwiftReader: (logger?: Logger) => TextReader;
20
+ declare const createZwiftWriter: (logger?: Logger) => TextWriter;
21
+ declare const zwiftReader: TextReader;
22
+ declare const zwiftWriter: TextWriter;
23
+
24
+ export { ZwiftValidator, createZwiftReader, createZwiftValidator, createZwiftWriter, zwiftReader, zwiftWriter };