@hozu/cli 0.11.0 → 0.13.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/bin/hozu.js +8 -2
- package/dist/commands/app.d.ts.map +1 -1
- package/dist/commands/app.js +11 -3
- package/dist/commands/app.js.map +1 -1
- package/dist/commands/browse.d.ts.map +1 -1
- package/dist/commands/browse.js +4 -2
- package/dist/commands/browse.js.map +1 -1
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +3 -1
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/call.d.ts +16 -0
- package/dist/commands/call.d.ts.map +1 -0
- package/dist/commands/call.js +100 -0
- package/dist/commands/call.js.map +1 -0
- package/dist/commands/check.d.ts +10 -1
- package/dist/commands/check.d.ts.map +1 -1
- package/dist/commands/check.js +49 -29
- package/dist/commands/check.js.map +1 -1
- package/dist/commands/dev.d.ts.map +1 -1
- package/dist/commands/dev.js +10 -1
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/docs.d.ts.map +1 -1
- package/dist/commands/docs.js +8 -6
- package/dist/commands/docs.js.map +1 -1
- package/dist/commands/env-ignore.d.ts +8 -0
- package/dist/commands/env-ignore.d.ts.map +1 -0
- package/dist/commands/env-ignore.js +30 -0
- package/dist/commands/env-ignore.js.map +1 -0
- package/dist/commands/env.d.ts +6 -0
- package/dist/commands/env.d.ts.map +1 -0
- package/dist/commands/env.js +77 -0
- package/dist/commands/env.js.map +1 -0
- package/dist/commands/explain.d.ts.map +1 -1
- package/dist/commands/explain.js +2 -1
- package/dist/commands/explain.js.map +1 -1
- package/dist/commands/impact.js +1 -1
- package/dist/commands/impact.js.map +1 -1
- package/dist/commands/inspect.d.ts.map +1 -1
- package/dist/commands/inspect.js +9 -0
- package/dist/commands/inspect.js.map +1 -1
- package/dist/commands/migrate.d.ts.map +1 -1
- package/dist/commands/migrate.js +5 -2
- package/dist/commands/migrate.js.map +1 -1
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +13 -1
- package/dist/commands/serve.js.map +1 -1
- package/dist/contract.d.ts +62 -1
- package/dist/contract.d.ts.map +1 -1
- package/dist/load.d.ts +9 -1
- package/dist/load.d.ts.map +1 -1
- package/dist/load.js +27 -5
- package/dist/load.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +35 -4
- package/dist/main.js.map +1 -1
- package/dist/migrate/step-0.12.d.ts +6 -0
- package/dist/migrate/step-0.12.d.ts.map +1 -0
- package/dist/migrate/step-0.12.js +14 -0
- package/dist/migrate/step-0.12.js.map +1 -0
- package/dist/migrate/steps.d.ts +5 -0
- package/dist/migrate/steps.d.ts.map +1 -1
- package/dist/migrate/steps.js +26 -0
- package/dist/migrate/steps.js.map +1 -1
- package/dist/output.d.ts.map +1 -1
- package/dist/output.js +4 -0
- package/dist/output.js.map +1 -1
- package/package.json +8 -8
- package/schema/call.schema.json +136 -0
- package/schema/check.schema.json +28 -2
- package/schema/env.schema.json +122 -0
- package/schema/explain.schema.json +14 -1
- package/schema/impact.schema.json +22 -1
- package/schema/inspect.schema.json +81 -11
- package/schema/migrate.schema.json +28 -2
- package/schema/render.schema.json +5 -1
- package/schema/validate.schema.json +5 -1
- package/dist/commands/add-widget.d.ts +0 -5
- package/dist/commands/add-widget.d.ts.map +0 -1
- package/dist/commands/add-widget.js +0 -90
- package/dist/commands/add-widget.js.map +0 -1
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/CallOutput",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"CallOutput": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"effect": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"query",
|
|
15
|
+
"mutation"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"runs": {
|
|
19
|
+
"$ref": "#/definitions/Runs"
|
|
20
|
+
},
|
|
21
|
+
"input": {
|
|
22
|
+
"$ref": "#/definitions/Json"
|
|
23
|
+
},
|
|
24
|
+
"result": {
|
|
25
|
+
"anyOf": [
|
|
26
|
+
{
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"ok": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"const": true
|
|
32
|
+
},
|
|
33
|
+
"value": {
|
|
34
|
+
"$ref": "#/definitions/Json"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": [
|
|
38
|
+
"ok",
|
|
39
|
+
"value"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"ok": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"const": false
|
|
49
|
+
},
|
|
50
|
+
"error": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"data": {
|
|
54
|
+
"$ref": "#/definitions/Json"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"ok",
|
|
59
|
+
"error",
|
|
60
|
+
"data"
|
|
61
|
+
],
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"ms": {
|
|
67
|
+
"type": "number",
|
|
68
|
+
"description": "Milliseconds for the request."
|
|
69
|
+
},
|
|
70
|
+
"invalidated": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"description": "Tags a mutation invalidated."
|
|
76
|
+
},
|
|
77
|
+
"refreshes": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"items": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"description": "The queries those tags refresh."
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"required": [
|
|
86
|
+
"effect",
|
|
87
|
+
"kind",
|
|
88
|
+
"runs",
|
|
89
|
+
"input",
|
|
90
|
+
"result",
|
|
91
|
+
"ms",
|
|
92
|
+
"invalidated",
|
|
93
|
+
"refreshes"
|
|
94
|
+
],
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"description": "`hozu call` (ADR 0050 F): one query or mutation through the app's handler."
|
|
97
|
+
},
|
|
98
|
+
"Runs": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"enum": [
|
|
101
|
+
"server",
|
|
102
|
+
"browser",
|
|
103
|
+
"either"
|
|
104
|
+
],
|
|
105
|
+
"description": "What an effect's implementation needs (ADR 0049): server secrets, browser credentials, or neither."
|
|
106
|
+
},
|
|
107
|
+
"Json": {
|
|
108
|
+
"anyOf": [
|
|
109
|
+
{
|
|
110
|
+
"type": "null"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "number"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "array",
|
|
123
|
+
"items": {
|
|
124
|
+
"$ref": "#/definitions/Json"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "object",
|
|
129
|
+
"additionalProperties": {
|
|
130
|
+
"$ref": "#/definitions/Json"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
package/schema/check.schema.json
CHANGED
|
@@ -39,13 +39,35 @@
|
|
|
39
39
|
"items": {
|
|
40
40
|
"$ref": "#/definitions/CheckOverrides"
|
|
41
41
|
}
|
|
42
|
+
},
|
|
43
|
+
"timings": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"types": {
|
|
47
|
+
"type": "number"
|
|
48
|
+
},
|
|
49
|
+
"load": {
|
|
50
|
+
"type": "number"
|
|
51
|
+
},
|
|
52
|
+
"validate": {
|
|
53
|
+
"type": "number"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"types",
|
|
58
|
+
"load",
|
|
59
|
+
"validate"
|
|
60
|
+
],
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"description": "Milliseconds; the type check runs in parallel with loading and validating (ADR 0050 D)."
|
|
42
63
|
}
|
|
43
64
|
},
|
|
44
65
|
"required": [
|
|
45
66
|
"ok",
|
|
46
67
|
"types",
|
|
47
68
|
"validate",
|
|
48
|
-
"overrides"
|
|
69
|
+
"overrides",
|
|
70
|
+
"timings"
|
|
49
71
|
],
|
|
50
72
|
"additionalProperties": false
|
|
51
73
|
},
|
|
@@ -284,7 +306,11 @@
|
|
|
284
306
|
"HZ079",
|
|
285
307
|
"HZ080",
|
|
286
308
|
"HZ081",
|
|
287
|
-
"HZ082"
|
|
309
|
+
"HZ082",
|
|
310
|
+
"HZ083",
|
|
311
|
+
"HZ084",
|
|
312
|
+
"HZ085",
|
|
313
|
+
"HZ086"
|
|
288
314
|
]
|
|
289
315
|
},
|
|
290
316
|
"Severity": {
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/EnvOutput",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"EnvOutput": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"files": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"description": "project({ env: { files } })."
|
|
14
|
+
},
|
|
15
|
+
"read": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": "The files that existed and were read."
|
|
21
|
+
},
|
|
22
|
+
"variables": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"$ref": "#/definitions/EnvVariable"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"reserved": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"name": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"purpose": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"set": {
|
|
40
|
+
"type": "boolean"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"name",
|
|
45
|
+
"purpose",
|
|
46
|
+
"set"
|
|
47
|
+
],
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"example": {
|
|
52
|
+
"type": [
|
|
53
|
+
"string",
|
|
54
|
+
"null"
|
|
55
|
+
],
|
|
56
|
+
"description": "`.env.example` when --example wrote it."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": [
|
|
60
|
+
"files",
|
|
61
|
+
"read",
|
|
62
|
+
"variables",
|
|
63
|
+
"reserved",
|
|
64
|
+
"example"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"description": "`hozu env` (ADR 0052)."
|
|
68
|
+
},
|
|
69
|
+
"EnvVariable": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"name": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"side": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"enum": [
|
|
78
|
+
"server",
|
|
79
|
+
"public"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"required": {
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"description": "No default, so startup refuses without it."
|
|
85
|
+
},
|
|
86
|
+
"default": {
|
|
87
|
+
"type": [
|
|
88
|
+
"string",
|
|
89
|
+
"null"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"set": {
|
|
93
|
+
"type": "boolean",
|
|
94
|
+
"description": "Set now: in the shell or one of the env files."
|
|
95
|
+
},
|
|
96
|
+
"description": {
|
|
97
|
+
"type": [
|
|
98
|
+
"string",
|
|
99
|
+
"null"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"internal": {
|
|
103
|
+
"type": [
|
|
104
|
+
"string",
|
|
105
|
+
"null"
|
|
106
|
+
],
|
|
107
|
+
"description": "A public variable: the server variable with its internal URL; a server one: the public variable it serves."
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"required": [
|
|
111
|
+
"name",
|
|
112
|
+
"side",
|
|
113
|
+
"required",
|
|
114
|
+
"default",
|
|
115
|
+
"set",
|
|
116
|
+
"description",
|
|
117
|
+
"internal"
|
|
118
|
+
],
|
|
119
|
+
"additionalProperties": false
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -33,12 +33,16 @@
|
|
|
33
33
|
"items": {
|
|
34
34
|
"type": "string"
|
|
35
35
|
}
|
|
36
|
+
},
|
|
37
|
+
"runs": {
|
|
38
|
+
"$ref": "#/definitions/Runs"
|
|
36
39
|
}
|
|
37
40
|
},
|
|
38
41
|
"required": [
|
|
39
42
|
"effect",
|
|
40
43
|
"input",
|
|
41
|
-
"errors"
|
|
44
|
+
"errors",
|
|
45
|
+
"runs"
|
|
42
46
|
],
|
|
43
47
|
"additionalProperties": false
|
|
44
48
|
},
|
|
@@ -78,6 +82,15 @@
|
|
|
78
82
|
],
|
|
79
83
|
"additionalProperties": false
|
|
80
84
|
},
|
|
85
|
+
"Runs": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"enum": [
|
|
88
|
+
"server",
|
|
89
|
+
"browser",
|
|
90
|
+
"either"
|
|
91
|
+
],
|
|
92
|
+
"description": "What an effect's implementation needs (ADR 0049): server secrets, browser credentials, or neither."
|
|
93
|
+
},
|
|
81
94
|
"ExplainTransition": {
|
|
82
95
|
"type": "object",
|
|
83
96
|
"properties": {
|
|
@@ -50,6 +50,17 @@
|
|
|
50
50
|
"items": {
|
|
51
51
|
"type": "string"
|
|
52
52
|
}
|
|
53
|
+
},
|
|
54
|
+
"runs": {
|
|
55
|
+
"anyOf": [
|
|
56
|
+
{
|
|
57
|
+
"$ref": "#/definitions/Runs"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "null"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"description": "Where a query or mutation runs (ADR 0049); null for other symbols."
|
|
53
64
|
}
|
|
54
65
|
},
|
|
55
66
|
"required": [
|
|
@@ -59,7 +70,8 @@
|
|
|
59
70
|
"queries",
|
|
60
71
|
"invalidatedBy",
|
|
61
72
|
"uses",
|
|
62
|
-
"features"
|
|
73
|
+
"features",
|
|
74
|
+
"runs"
|
|
63
75
|
],
|
|
64
76
|
"additionalProperties": false
|
|
65
77
|
},
|
|
@@ -118,6 +130,15 @@
|
|
|
118
130
|
],
|
|
119
131
|
"additionalProperties": false
|
|
120
132
|
},
|
|
133
|
+
"Runs": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"enum": [
|
|
136
|
+
"server",
|
|
137
|
+
"browser",
|
|
138
|
+
"either"
|
|
139
|
+
],
|
|
140
|
+
"description": "What an effect's implementation needs (ADR 0049): server secrets, browser credentials, or neither."
|
|
141
|
+
},
|
|
121
142
|
"ComponentImpact": {
|
|
122
143
|
"type": "object",
|
|
123
144
|
"properties": {
|
|
@@ -71,6 +71,38 @@
|
|
|
71
71
|
},
|
|
72
72
|
"exports": {
|
|
73
73
|
"$ref": "#/definitions/ExportsIR"
|
|
74
|
+
},
|
|
75
|
+
"effects": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"additionalProperties": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"properties": {
|
|
80
|
+
"kind": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"enum": [
|
|
83
|
+
"query",
|
|
84
|
+
"mutation"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"runs": {
|
|
88
|
+
"$ref": "#/definitions/Runs"
|
|
89
|
+
},
|
|
90
|
+
"implemented": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"enum": [
|
|
93
|
+
"resolver",
|
|
94
|
+
"fetch.ts"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"kind",
|
|
100
|
+
"runs",
|
|
101
|
+
"implemented"
|
|
102
|
+
],
|
|
103
|
+
"additionalProperties": false
|
|
104
|
+
},
|
|
105
|
+
"description": "Each query and mutation: where it runs and where it is implemented (ADR 0049)."
|
|
74
106
|
}
|
|
75
107
|
},
|
|
76
108
|
"required": [
|
|
@@ -83,7 +115,8 @@
|
|
|
83
115
|
"contracts",
|
|
84
116
|
"hydrates",
|
|
85
117
|
"imports",
|
|
86
|
-
"exports"
|
|
118
|
+
"exports",
|
|
119
|
+
"effects"
|
|
87
120
|
],
|
|
88
121
|
"additionalProperties": false
|
|
89
122
|
},
|
|
@@ -144,6 +177,15 @@
|
|
|
144
177
|
],
|
|
145
178
|
"additionalProperties": false
|
|
146
179
|
},
|
|
180
|
+
"Runs": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"enum": [
|
|
183
|
+
"server",
|
|
184
|
+
"browser",
|
|
185
|
+
"either"
|
|
186
|
+
],
|
|
187
|
+
"description": "What an effect's implementation needs (ADR 0049): server secrets, browser credentials, or neither."
|
|
188
|
+
},
|
|
147
189
|
"FeatureIR": {
|
|
148
190
|
"type": "object",
|
|
149
191
|
"properties": {
|
|
@@ -261,6 +303,13 @@
|
|
|
261
303
|
}
|
|
262
304
|
],
|
|
263
305
|
"description": "The feature's `fetch.ts` (ADR 0049): implementations of its `'either'` / `'browser'` effects."
|
|
306
|
+
},
|
|
307
|
+
"connect": {
|
|
308
|
+
"type": "array",
|
|
309
|
+
"items": {
|
|
310
|
+
"$ref": "#/definitions/ConnectIR"
|
|
311
|
+
},
|
|
312
|
+
"description": "The origins its browser-run effects call, added to CSP `connect-src` (ADR 0051)."
|
|
264
313
|
}
|
|
265
314
|
},
|
|
266
315
|
"required": [
|
|
@@ -280,7 +329,8 @@
|
|
|
280
329
|
"endpoints",
|
|
281
330
|
"contracts",
|
|
282
331
|
"messages",
|
|
283
|
-
"fetch"
|
|
332
|
+
"fetch",
|
|
333
|
+
"connect"
|
|
284
334
|
],
|
|
285
335
|
"additionalProperties": false
|
|
286
336
|
},
|
|
@@ -785,15 +835,6 @@
|
|
|
785
835
|
],
|
|
786
836
|
"additionalProperties": false
|
|
787
837
|
},
|
|
788
|
-
"Runs": {
|
|
789
|
-
"type": "string",
|
|
790
|
-
"enum": [
|
|
791
|
-
"server",
|
|
792
|
-
"browser",
|
|
793
|
-
"either"
|
|
794
|
-
],
|
|
795
|
-
"description": "What an effect's implementation needs (ADR 0049): server secrets, browser credentials, or neither."
|
|
796
|
-
},
|
|
797
838
|
"MutationIR": {
|
|
798
839
|
"type": "object",
|
|
799
840
|
"properties": {
|
|
@@ -1966,6 +2007,35 @@
|
|
|
1966
2007
|
],
|
|
1967
2008
|
"additionalProperties": false
|
|
1968
2009
|
},
|
|
2010
|
+
"ConnectIR": {
|
|
2011
|
+
"anyOf": [
|
|
2012
|
+
{
|
|
2013
|
+
"type": "object",
|
|
2014
|
+
"properties": {
|
|
2015
|
+
"origin": {
|
|
2016
|
+
"type": "string"
|
|
2017
|
+
}
|
|
2018
|
+
},
|
|
2019
|
+
"required": [
|
|
2020
|
+
"origin"
|
|
2021
|
+
],
|
|
2022
|
+
"additionalProperties": false
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"type": "object",
|
|
2026
|
+
"properties": {
|
|
2027
|
+
"env": {
|
|
2028
|
+
"type": "string"
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
"required": [
|
|
2032
|
+
"env"
|
|
2033
|
+
],
|
|
2034
|
+
"additionalProperties": false
|
|
2035
|
+
}
|
|
2036
|
+
],
|
|
2037
|
+
"description": "An origin (`https://api.github.com`) or a public env variable holding a URL."
|
|
2038
|
+
},
|
|
1969
2039
|
"InspectComponentOutput": {
|
|
1970
2040
|
"type": "object",
|
|
1971
2041
|
"properties": {
|
|
@@ -236,13 +236,35 @@
|
|
|
236
236
|
"items": {
|
|
237
237
|
"$ref": "#/definitions/CheckOverrides"
|
|
238
238
|
}
|
|
239
|
+
},
|
|
240
|
+
"timings": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"types": {
|
|
244
|
+
"type": "number"
|
|
245
|
+
},
|
|
246
|
+
"load": {
|
|
247
|
+
"type": "number"
|
|
248
|
+
},
|
|
249
|
+
"validate": {
|
|
250
|
+
"type": "number"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"required": [
|
|
254
|
+
"types",
|
|
255
|
+
"load",
|
|
256
|
+
"validate"
|
|
257
|
+
],
|
|
258
|
+
"additionalProperties": false,
|
|
259
|
+
"description": "Milliseconds; the type check runs in parallel with loading and validating (ADR 0050 D)."
|
|
239
260
|
}
|
|
240
261
|
},
|
|
241
262
|
"required": [
|
|
242
263
|
"ok",
|
|
243
264
|
"types",
|
|
244
265
|
"validate",
|
|
245
|
-
"overrides"
|
|
266
|
+
"overrides",
|
|
267
|
+
"timings"
|
|
246
268
|
],
|
|
247
269
|
"additionalProperties": false
|
|
248
270
|
},
|
|
@@ -481,7 +503,11 @@
|
|
|
481
503
|
"HZ079",
|
|
482
504
|
"HZ080",
|
|
483
505
|
"HZ081",
|
|
484
|
-
"HZ082"
|
|
506
|
+
"HZ082",
|
|
507
|
+
"HZ083",
|
|
508
|
+
"HZ084",
|
|
509
|
+
"HZ085",
|
|
510
|
+
"HZ086"
|
|
485
511
|
]
|
|
486
512
|
},
|
|
487
513
|
"Severity": {
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { AddOutput } from '../contract.ts';
|
|
2
|
-
export declare const bundleSpec: (core: string | undefined) => string;
|
|
3
|
-
export declare function runAddWidget(cwd: string, config: string | undefined, feature: string | undefined, name: string | undefined): Promise<AddOutput>;
|
|
4
|
-
export declare function describeAddWidget(out: AddOutput, name: string): string;
|
|
5
|
-
//# sourceMappingURL=add-widget.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-widget.d.ts","sourceRoot":"","sources":["../../src/commands/add-widget.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAuB/C,eAAO,MAAM,UAAU,SAAU,MAAM,GAAG,SAAS,WAC2D,CAAA;AAE9G,wBAAsB,YAAY,CAChC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,IAAI,EAAE,MAAM,GAAG,SAAS,GACvB,OAAO,CAAC,SAAS,CAAC,CAiFpB;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAOtE"}
|