@hollis-labs/surface-genui 0.0.0-stage → 0.2.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 +26 -2
- package/contract/LICENSE +21 -0
- package/contract/provenance.json +203 -0
- package/contract/schema/catalog.json +917 -0
- package/contract/schema/contract.schema.json +1078 -0
- package/dist/contract/schema/contract.schema.json +1078 -0
- package/dist/src/contract.d.ts +40 -0
- package/dist/src/contract.js +194 -0
- package/dist/src/controller.d.ts +59 -0
- package/dist/src/controller.js +261 -0
- package/dist/src/decode.d.ts +8 -0
- package/dist/src/decode.js +156 -0
- package/dist/src/generated.d.ts +206 -0
- package/dist/src/generated.js +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +3 -0
- package/dist/src/validators.d.ts +33 -0
- package/dist/src/validators.js +6717 -0
- package/package.json +42 -4
package/package.json
CHANGED
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hollis-labs/surface-genui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Generated UI without any styling: the reviewed GenUI contract (strict decoding and validation of surfaces, calls and outcomes) and the controller that takes one surface through an action, a confirmation and recovery. Visuals are the Surface registry's genui-surface component.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/hollis-labs/surface.git",
|
|
9
|
+
"directory": "packages/genui"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/hollis-labs/surface/tree/main/packages/genui#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/hollis-labs/surface/issues"
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public",
|
|
17
|
+
"registry": "https://registry.npmjs.org/"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"sideEffects": false,
|
|
21
|
+
"main": "./dist/src/index.js",
|
|
22
|
+
"types": "./dist/src/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/src/index.d.ts",
|
|
26
|
+
"default": "./dist/src/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./package.json": "./package.json"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"contract/schema",
|
|
33
|
+
"contract/LICENSE",
|
|
34
|
+
"contract/provenance.json",
|
|
35
|
+
"README.md"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json && cp src/validators.js src/validators.d.ts dist/src/",
|
|
39
|
+
"prepack": "npm run build"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"ajv": "8.17.1"
|
|
43
|
+
}
|
|
44
|
+
}
|