@opentray/spec 0.0.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/package.json +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @opentray/spec
|
|
2
|
+
|
|
3
|
+
Shared TypeScript protocol and contract package for OpenTray.
|
|
4
|
+
|
|
5
|
+
## Role
|
|
6
|
+
|
|
7
|
+
- Define JSON-RPC payload shapes.
|
|
8
|
+
- Define public `Surface`, `Tray`, `Lease`, and extension contract types.
|
|
9
|
+
- Keep protocol types reusable by the `opentray` package and official extensions.
|
|
10
|
+
|
|
11
|
+
This package must stay platform-neutral and must not import native implementation packages.
|
package/package.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@opentray/spec",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Shared TypeScript protocol and contract types for OpenTray.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"sideEffects": false
|
|
19
|
+
}
|