@adhd/apigen-conformance 0.1.0 → 0.1.1
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 +16 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# @adhd/apigen-conformance
|
|
2
|
+
|
|
3
|
+
The apigen **conformance vectors** — a host-neutral suite that pins the canonical wire behavior
|
|
4
|
+
every host implementation (TypeScript, Python, …) must reproduce. A new host is conformant iff
|
|
5
|
+
it passes them. Pure TypeScript (**platform: shared**).
|
|
6
|
+
|
|
7
|
+
Part of [apigen](../README.md).
|
|
8
|
+
|
|
9
|
+
## Public API
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import type { ValidationCase, VectorResult } from '@adhd/apigen-conformance'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Each vector names a schema + value and the exact expected result, forming the cross-host
|
|
16
|
+
contract used by the TypeScript and Python hosts (and any future host).
|