@anchrd/intel-contract 0.1.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 +11 -0
- package/dist/contract/contract.d.ts +1493 -0
- package/dist/contract/contract.js +462 -0
- package/package.json +39 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @anchrd/intel-contract
|
|
2
|
+
|
|
3
|
+
Runtime-validated wire schemas for Intel's HTTP, MCP, and browser surfaces.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { CreateKnowledgeNodeInput } from "@anchrd/intel-contract";
|
|
7
|
+
|
|
8
|
+
const input = CreateKnowledgeNodeInput.parse(payload);
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Mutation inputs are strict: unknown fields are rejected instead of silently ignored.
|