@ue-shed/protocol 0.1.0-rc.4 → 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 +1 -1
- package/contracts/cameras/provisioning/v1/README.md +12 -0
- package/contracts/cameras/provisioning/v1/fixtures/provision-request-valid.json +14 -0
- package/contracts/cameras/provisioning/v1/provision-request.schema.json +90 -0
- package/contracts/cameras/review/v1/README.md +39 -10
- package/contracts/cameras/review/v1/assessment-capabilities.schema.json +86 -0
- package/contracts/cameras/review/v1/capture-request.schema.json +173 -19
- package/contracts/cameras/review/v1/capture-response.schema.json +576 -1
- package/contracts/cameras/review/v1/fixtures/assessment-capabilities.json +36 -0
- package/contracts/cameras/review/v1/fixtures/capture-area.json +42 -0
- package/contracts/cameras/review/v1/fixtures/capture-assessed-v2.json +56 -0
- package/contracts/cameras/review/v1/fixtures/capture-assessed.json +55 -0
- package/contracts/cameras/review/v1/fixtures/capture-clear-failed.json +62 -0
- package/contracts/cameras/review/v1/fixtures/capture-clear.json +72 -0
- package/contracts/cameras/review/v1/fixtures/capture-request-area-valid.json +29 -0
- package/contracts/cameras/review/v1/fixtures/capture-request-clear-valid.json +30 -0
- package/contracts/cameras/review/v1/fixtures/capture-request-relative-valid.json +29 -0
- package/contracts/cameras/review/v1/fixtures/invalid-assessment-capabilities-supported-without-effective-method.json +14 -0
- package/contracts/scenarios/live/v1/README.md +9 -0
- package/contracts/scenarios/live/v1/fixtures/cancel-accepted.json +8 -0
- package/contracts/scenarios/live/v1/fixtures/execution-request.json +44 -0
- package/contracts/scenarios/live/v1/fixtures/prepare-prepared.json +9 -0
- package/contracts/scenarios/live/v1/fixtures/start-accepted.json +10 -0
- package/contracts/scenarios/live/v1/fixtures/status-active.json +11 -0
- package/contracts/scenarios/live/v1/fixtures/status-rejected-stale.json +10 -0
- package/contracts/scenarios/live/v1/fixtures/status-terminal-cancelled.json +33 -0
- package/contracts/scenarios/live/v1/fixtures/status-terminal-missing-divergence.json +54 -0
- package/contracts/uasset-io/v1/README.md +34 -0
- package/contracts/uasset-io/v1/event.schema.json +6779 -0
- package/contracts/uasset-io/v1/fixtures/invalid/event-result-unknown-kind.json +7 -0
- package/contracts/uasset-io/v1/fixtures/invalid/event-unknown-kind.json +6 -0
- package/contracts/uasset-io/v1/fixtures/invalid/project-index-page-unbounded.json +7196 -0
- package/contracts/uasset-io/v1/fixtures/invalid/project-index-query-oversize-limit.json +15 -0
- package/contracts/uasset-io/v1/fixtures/invalid/request-wrong-major.json +6 -0
- package/contracts/uasset-io/v1/fixtures/valid/accepted-event.json +7 -0
- package/contracts/uasset-io/v1/fixtures/valid/authoring-result-event.json +26 -0
- package/contracts/uasset-io/v1/fixtures/valid/extract-text-occurrence-result-event.json +26 -0
- package/contracts/uasset-io/v1/fixtures/valid/extract-text-result-event.json +23 -0
- package/contracts/uasset-io/v1/fixtures/valid/extract-text-summary-result-event.json +23 -0
- package/contracts/uasset-io/v1/fixtures/valid/extract-texture-record-result-event.json +29 -0
- package/contracts/uasset-io/v1/fixtures/valid/inspect-result-event.json +29 -0
- package/contracts/uasset-io/v1/fixtures/valid/partial-completed-event.json +7 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-accepted-event.json +7 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-page-result-event.json +28 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-progress-event.json +9 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-query-request.json +19 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-rebuild-request.json +13 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-refresh-request.json +13 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-stale-generation-failed-event.json +11 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-status-request.json +13 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-status-result-event.json +22 -0
- package/contracts/uasset-io/v1/fixtures/valid/project-index-summary-result-event.json +25 -0
- package/contracts/uasset-io/v1/fixtures/valid/saved-world-result-event.json +27 -0
- package/contracts/uasset-io/v1/fixtures/valid/scan-asset-result-event.json +47 -0
- package/contracts/uasset-io/v1/fixtures/valid/scan-inventory-result-event.json +15 -0
- package/contracts/uasset-io/v1/fixtures/valid/scan-request.json +17 -0
- package/contracts/uasset-io/v1/fixtures/valid/scan-summary-result-event.json +24 -0
- package/contracts/uasset-io/v1/request.schema.json +512 -0
- package/dist/companion.d.ts +16 -0
- package/dist/companion.d.ts.map +1 -1
- package/dist/companion.js +8 -0
- package/dist/companion.js.map +1 -1
- package/dist/editor-asset-navigation.d.ts +63 -0
- package/dist/editor-asset-navigation.d.ts.map +1 -0
- package/dist/editor-asset-navigation.js +32 -0
- package/dist/editor-asset-navigation.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/saved-world.d.ts +223 -0
- package/dist/saved-world.d.ts.map +1 -0
- package/dist/saved-world.js +82 -0
- package/dist/saved-world.js.map +1 -0
- package/dist/uasset-inspection.d.ts +1037 -0
- package/dist/uasset-inspection.d.ts.map +1 -0
- package/dist/uasset-inspection.js +446 -0
- package/dist/uasset-inspection.js.map +1 -0
- package/dist/uasset-io.d.ts +2602 -0
- package/dist/uasset-io.d.ts.map +1 -0
- package/dist/uasset-io.js +306 -0
- package/dist/uasset-io.js.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$defs": {
|
|
4
|
+
"UAssetIoNonNegativeInt": {
|
|
5
|
+
"type": "integer",
|
|
6
|
+
"description": "an integer",
|
|
7
|
+
"title": "int",
|
|
8
|
+
"minimum": 0
|
|
9
|
+
},
|
|
10
|
+
"UAssetIoContract": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"name": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["uasset-io"]
|
|
16
|
+
},
|
|
17
|
+
"version": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"major": {
|
|
21
|
+
"type": "number",
|
|
22
|
+
"enum": [1]
|
|
23
|
+
},
|
|
24
|
+
"minor": {
|
|
25
|
+
"$ref": "#/$defs/UAssetIoNonNegativeInt"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": ["major", "minor"],
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["name", "version"],
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
},
|
|
35
|
+
"UAssetIoPositiveInt": {
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"description": "an integer",
|
|
38
|
+
"title": "int",
|
|
39
|
+
"exclusiveMinimum": 0
|
|
40
|
+
},
|
|
41
|
+
"UAssetIoResourceLimits": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"concurrency": {
|
|
45
|
+
"$ref": "#/$defs/UAssetIoPositiveInt"
|
|
46
|
+
},
|
|
47
|
+
"maximumAssets": {
|
|
48
|
+
"$ref": "#/$defs/UAssetIoNonNegativeInt"
|
|
49
|
+
},
|
|
50
|
+
"maximumOutputBytes": {
|
|
51
|
+
"$ref": "#/$defs/UAssetIoPositiveInt"
|
|
52
|
+
},
|
|
53
|
+
"timeoutMs": {
|
|
54
|
+
"$ref": "#/$defs/UAssetIoPositiveInt"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"additionalProperties": false
|
|
58
|
+
},
|
|
59
|
+
"UAssetIoNonEmptyString": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "a string at least 1 character(s) long",
|
|
62
|
+
"title": "string",
|
|
63
|
+
"minLength": 1
|
|
64
|
+
},
|
|
65
|
+
"UAssetIoProjectIndexQuery": {
|
|
66
|
+
"anyOf": [
|
|
67
|
+
{
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"kind": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"enum": ["maps"]
|
|
73
|
+
},
|
|
74
|
+
"cursor": {
|
|
75
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
76
|
+
},
|
|
77
|
+
"expectedGeneration": {
|
|
78
|
+
"$ref": "#/$defs/UAssetIoPositiveInt"
|
|
79
|
+
},
|
|
80
|
+
"limit": {
|
|
81
|
+
"type": "integer",
|
|
82
|
+
"allOf": [
|
|
83
|
+
{
|
|
84
|
+
"exclusiveMinimum": 0
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"maximum": 1024
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"projectId": {
|
|
92
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": ["kind", "expectedGeneration", "limit", "projectId"],
|
|
96
|
+
"additionalProperties": false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"kind": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"enum": ["exact_classes"]
|
|
104
|
+
},
|
|
105
|
+
"cursor": {
|
|
106
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
107
|
+
},
|
|
108
|
+
"expectedGeneration": {
|
|
109
|
+
"$ref": "#/$defs/UAssetIoPositiveInt"
|
|
110
|
+
},
|
|
111
|
+
"limit": {
|
|
112
|
+
"type": "integer",
|
|
113
|
+
"allOf": [
|
|
114
|
+
{
|
|
115
|
+
"exclusiveMinimum": 0
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"maximum": 1024
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"projectId": {
|
|
123
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
124
|
+
},
|
|
125
|
+
"values": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"items": {
|
|
128
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
129
|
+
},
|
|
130
|
+
"allOf": [
|
|
131
|
+
{
|
|
132
|
+
"minItems": 1
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"maxItems": 64
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"required": ["kind", "expectedGeneration", "limit", "projectId", "values"],
|
|
141
|
+
"additionalProperties": false
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {
|
|
146
|
+
"kind": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"enum": ["class_prefixes"]
|
|
149
|
+
},
|
|
150
|
+
"cursor": {
|
|
151
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
152
|
+
},
|
|
153
|
+
"expectedGeneration": {
|
|
154
|
+
"$ref": "#/$defs/UAssetIoPositiveInt"
|
|
155
|
+
},
|
|
156
|
+
"limit": {
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"allOf": [
|
|
159
|
+
{
|
|
160
|
+
"exclusiveMinimum": 0
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"maximum": 1024
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"projectId": {
|
|
168
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
169
|
+
},
|
|
170
|
+
"values": {
|
|
171
|
+
"type": "array",
|
|
172
|
+
"items": {
|
|
173
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
174
|
+
},
|
|
175
|
+
"allOf": [
|
|
176
|
+
{
|
|
177
|
+
"minItems": 1
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"maxItems": 64
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"required": ["kind", "expectedGeneration", "limit", "projectId", "values"],
|
|
186
|
+
"additionalProperties": false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "object",
|
|
190
|
+
"properties": {
|
|
191
|
+
"kind": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"enum": ["class_name_suffixes"]
|
|
194
|
+
},
|
|
195
|
+
"cursor": {
|
|
196
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
197
|
+
},
|
|
198
|
+
"expectedGeneration": {
|
|
199
|
+
"$ref": "#/$defs/UAssetIoPositiveInt"
|
|
200
|
+
},
|
|
201
|
+
"limit": {
|
|
202
|
+
"type": "integer",
|
|
203
|
+
"allOf": [
|
|
204
|
+
{
|
|
205
|
+
"exclusiveMinimum": 0
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"maximum": 1024
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"projectId": {
|
|
213
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
214
|
+
},
|
|
215
|
+
"values": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"items": {
|
|
218
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
219
|
+
},
|
|
220
|
+
"allOf": [
|
|
221
|
+
{
|
|
222
|
+
"minItems": 1
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"maxItems": 64
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"required": ["kind", "expectedGeneration", "limit", "projectId", "values"],
|
|
231
|
+
"additionalProperties": false
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"type": "object",
|
|
235
|
+
"properties": {
|
|
236
|
+
"kind": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"enum": ["serialized_names"]
|
|
239
|
+
},
|
|
240
|
+
"cursor": {
|
|
241
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
242
|
+
},
|
|
243
|
+
"expectedGeneration": {
|
|
244
|
+
"$ref": "#/$defs/UAssetIoPositiveInt"
|
|
245
|
+
},
|
|
246
|
+
"limit": {
|
|
247
|
+
"type": "integer",
|
|
248
|
+
"allOf": [
|
|
249
|
+
{
|
|
250
|
+
"exclusiveMinimum": 0
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"maximum": 1024
|
|
254
|
+
}
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
"projectId": {
|
|
258
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
259
|
+
},
|
|
260
|
+
"values": {
|
|
261
|
+
"type": "array",
|
|
262
|
+
"items": {
|
|
263
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
264
|
+
},
|
|
265
|
+
"allOf": [
|
|
266
|
+
{
|
|
267
|
+
"minItems": 1
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"maxItems": 64
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"required": ["kind", "expectedGeneration", "limit", "projectId", "values"],
|
|
276
|
+
"additionalProperties": false
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"UAssetIoOperation": {
|
|
281
|
+
"anyOf": [
|
|
282
|
+
{
|
|
283
|
+
"type": "object",
|
|
284
|
+
"properties": {
|
|
285
|
+
"assetPath": {
|
|
286
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
287
|
+
},
|
|
288
|
+
"kind": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"enum": ["inspect"]
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"required": ["assetPath", "kind"],
|
|
294
|
+
"additionalProperties": false
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {
|
|
299
|
+
"assetPath": {
|
|
300
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
301
|
+
},
|
|
302
|
+
"kind": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"enum": ["authoring"]
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"required": ["assetPath", "kind"],
|
|
308
|
+
"additionalProperties": false
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"type": "object",
|
|
312
|
+
"properties": {
|
|
313
|
+
"cachePath": {
|
|
314
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
315
|
+
},
|
|
316
|
+
"depth": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"enum": ["header", "full"]
|
|
319
|
+
},
|
|
320
|
+
"paths": {
|
|
321
|
+
"type": "array",
|
|
322
|
+
"items": {
|
|
323
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"projectRoot": {
|
|
327
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
328
|
+
},
|
|
329
|
+
"classNameSuffixes": {
|
|
330
|
+
"type": "array",
|
|
331
|
+
"items": {
|
|
332
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"classPrefixes": {
|
|
336
|
+
"type": "array",
|
|
337
|
+
"items": {
|
|
338
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"classes": {
|
|
342
|
+
"type": "array",
|
|
343
|
+
"items": {
|
|
344
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"names": {
|
|
348
|
+
"type": "array",
|
|
349
|
+
"items": {
|
|
350
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"inventory": {
|
|
354
|
+
"type": "boolean"
|
|
355
|
+
},
|
|
356
|
+
"kind": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"enum": ["scan"]
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"required": ["depth", "projectRoot", "kind"],
|
|
362
|
+
"additionalProperties": false
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "object",
|
|
366
|
+
"properties": {
|
|
367
|
+
"paths": {
|
|
368
|
+
"type": "array",
|
|
369
|
+
"items": {
|
|
370
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"projectRoot": {
|
|
374
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
375
|
+
},
|
|
376
|
+
"kind": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"enum": ["extract_text"]
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"required": ["projectRoot", "kind"],
|
|
382
|
+
"additionalProperties": false
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"type": "object",
|
|
386
|
+
"properties": {
|
|
387
|
+
"paths": {
|
|
388
|
+
"type": "array",
|
|
389
|
+
"items": {
|
|
390
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"projectRoot": {
|
|
394
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
395
|
+
},
|
|
396
|
+
"kind": {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"enum": ["extract_texture"]
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"required": ["projectRoot", "kind"],
|
|
402
|
+
"additionalProperties": false
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"type": "object",
|
|
406
|
+
"properties": {
|
|
407
|
+
"kind": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"enum": ["saved_world"]
|
|
410
|
+
},
|
|
411
|
+
"mapPath": {
|
|
412
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
413
|
+
},
|
|
414
|
+
"projectRoot": {
|
|
415
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"required": ["kind", "mapPath", "projectRoot"],
|
|
419
|
+
"additionalProperties": false
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"type": "object",
|
|
423
|
+
"properties": {
|
|
424
|
+
"kind": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"enum": ["project_index_status"]
|
|
427
|
+
},
|
|
428
|
+
"cacheRoot": {
|
|
429
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
430
|
+
},
|
|
431
|
+
"projectRoot": {
|
|
432
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"required": ["kind", "cacheRoot", "projectRoot"],
|
|
436
|
+
"additionalProperties": false
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"type": "object",
|
|
440
|
+
"properties": {
|
|
441
|
+
"kind": {
|
|
442
|
+
"type": "string",
|
|
443
|
+
"enum": ["project_index_refresh"]
|
|
444
|
+
},
|
|
445
|
+
"cacheRoot": {
|
|
446
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
447
|
+
},
|
|
448
|
+
"projectRoot": {
|
|
449
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"required": ["kind", "cacheRoot", "projectRoot"],
|
|
453
|
+
"additionalProperties": false
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"type": "object",
|
|
457
|
+
"properties": {
|
|
458
|
+
"kind": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"enum": ["project_index_rebuild"]
|
|
461
|
+
},
|
|
462
|
+
"cacheRoot": {
|
|
463
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
464
|
+
},
|
|
465
|
+
"projectRoot": {
|
|
466
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"required": ["kind", "cacheRoot", "projectRoot"],
|
|
470
|
+
"additionalProperties": false
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"cacheRoot": {
|
|
476
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
477
|
+
},
|
|
478
|
+
"kind": {
|
|
479
|
+
"type": "string",
|
|
480
|
+
"enum": ["project_index_query"]
|
|
481
|
+
},
|
|
482
|
+
"query": {
|
|
483
|
+
"$ref": "#/$defs/UAssetIoProjectIndexQuery"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"required": ["cacheRoot", "kind", "query"],
|
|
487
|
+
"additionalProperties": false
|
|
488
|
+
}
|
|
489
|
+
]
|
|
490
|
+
},
|
|
491
|
+
"UAssetIoRequest": {
|
|
492
|
+
"type": "object",
|
|
493
|
+
"properties": {
|
|
494
|
+
"contract": {
|
|
495
|
+
"$ref": "#/$defs/UAssetIoContract"
|
|
496
|
+
},
|
|
497
|
+
"limits": {
|
|
498
|
+
"$ref": "#/$defs/UAssetIoResourceLimits"
|
|
499
|
+
},
|
|
500
|
+
"operation": {
|
|
501
|
+
"$ref": "#/$defs/UAssetIoOperation"
|
|
502
|
+
},
|
|
503
|
+
"requestId": {
|
|
504
|
+
"$ref": "#/$defs/UAssetIoNonEmptyString"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"required": ["contract", "limits", "operation", "requestId"],
|
|
508
|
+
"additionalProperties": false
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"$ref": "#/$defs/UAssetIoRequest"
|
|
512
|
+
}
|
package/dist/companion.d.ts
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
export declare const CompanionCapabilityManifest: Schema.Struct<{
|
|
3
3
|
readonly assetAuditsObjectPath: Schema.optional<Schema.String>;
|
|
4
|
+
readonly assetNavigationObjectPath: Schema.optional<Schema.String>;
|
|
4
5
|
readonly authoringObjectPath: Schema.optional<Schema.String>;
|
|
5
6
|
readonly camerasObjectPath: Schema.optional<Schema.String>;
|
|
6
7
|
readonly playSessionObjectPath: Schema.optional<Schema.String>;
|
|
8
|
+
readonly scenariosObjectPath: Schema.optional<Schema.String>;
|
|
7
9
|
readonly capabilities: Schema.$Array<Schema.String>;
|
|
8
10
|
readonly authoringLimits: Schema.optional<Schema.Struct<{
|
|
9
11
|
readonly maxCommands: Schema.Int;
|
|
10
12
|
readonly maxPayloadBytes: Schema.Int;
|
|
11
13
|
readonly maxTables: Schema.Int;
|
|
12
14
|
}>>;
|
|
15
|
+
readonly scenarioLimits: Schema.optional<Schema.Struct<{
|
|
16
|
+
readonly maxActions: Schema.Int;
|
|
17
|
+
readonly maxDurationMs: Schema.Int;
|
|
18
|
+
readonly maxEvidence: Schema.Int;
|
|
19
|
+
readonly maxKeyframes: Schema.Int;
|
|
20
|
+
}>>;
|
|
13
21
|
readonly producerKind: Schema.Literal<"unreal_editor">;
|
|
14
22
|
readonly projectName: Schema.optional<Schema.String>;
|
|
15
23
|
readonly schemaVersion: Schema.Literal<1>;
|
|
@@ -20,14 +28,22 @@ export declare const decodeCompanionCapabilityManifest: (input: unknown, options
|
|
|
20
28
|
readonly capabilities: readonly string[];
|
|
21
29
|
readonly producerKind: "unreal_editor";
|
|
22
30
|
readonly assetAuditsObjectPath?: string | undefined;
|
|
31
|
+
readonly assetNavigationObjectPath?: string | undefined;
|
|
23
32
|
readonly authoringObjectPath?: string | undefined;
|
|
24
33
|
readonly camerasObjectPath?: string | undefined;
|
|
25
34
|
readonly playSessionObjectPath?: string | undefined;
|
|
35
|
+
readonly scenariosObjectPath?: string | undefined;
|
|
26
36
|
readonly authoringLimits?: Schema.Struct.ReadonlySide<{
|
|
27
37
|
readonly maxCommands: Schema.Int;
|
|
28
38
|
readonly maxPayloadBytes: Schema.Int;
|
|
29
39
|
readonly maxTables: Schema.Int;
|
|
30
40
|
}, "Type"> | undefined;
|
|
41
|
+
readonly scenarioLimits?: Schema.Struct.ReadonlySide<{
|
|
42
|
+
readonly maxActions: Schema.Int;
|
|
43
|
+
readonly maxDurationMs: Schema.Int;
|
|
44
|
+
readonly maxEvidence: Schema.Int;
|
|
45
|
+
readonly maxKeyframes: Schema.Int;
|
|
46
|
+
}, "Type"> | undefined;
|
|
31
47
|
readonly projectName?: string | undefined;
|
|
32
48
|
}, Schema.SchemaError, never>;
|
|
33
49
|
//# sourceMappingURL=companion.d.ts.map
|
package/dist/companion.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion.d.ts","sourceRoot":"","sources":["../src/companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"companion.d.ts","sourceRoot":"","sources":["../src/companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EA0BkB,CAAC;AAC3D,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEjG,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;6BAE7C,CAAC"}
|
package/dist/companion.js
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
export const CompanionCapabilityManifest = Schema.Struct({
|
|
3
3
|
assetAuditsObjectPath: Schema.optional(Schema.String),
|
|
4
|
+
assetNavigationObjectPath: Schema.optional(Schema.String),
|
|
4
5
|
authoringObjectPath: Schema.optional(Schema.String),
|
|
5
6
|
camerasObjectPath: Schema.optional(Schema.String),
|
|
6
7
|
playSessionObjectPath: Schema.optional(Schema.String),
|
|
8
|
+
scenariosObjectPath: Schema.optional(Schema.String),
|
|
7
9
|
capabilities: Schema.Array(Schema.String),
|
|
8
10
|
authoringLimits: Schema.optional(Schema.Struct({
|
|
9
11
|
maxCommands: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
10
12
|
maxPayloadBytes: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
11
13
|
maxTables: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0))
|
|
12
14
|
})),
|
|
15
|
+
scenarioLimits: Schema.optional(Schema.Struct({
|
|
16
|
+
maxActions: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
17
|
+
maxDurationMs: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
18
|
+
maxEvidence: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
19
|
+
maxKeyframes: Schema.Int.check(Schema.isGreaterThanOrEqualTo(0))
|
|
20
|
+
})),
|
|
13
21
|
producerKind: Schema.Literal("unreal_editor"),
|
|
14
22
|
projectName: Schema.optional(Schema.String),
|
|
15
23
|
schemaVersion: Schema.Literal(1)
|
package/dist/companion.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companion.js","sourceRoot":"","sources":["../src/companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CAAC;IACxD,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrD,mBAAmB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACnD,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACjD,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrD,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC,QAAQ,CAC/B,MAAM,CAAC,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;QAC/D,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;QACnE,SAAS,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;KAC7D,CAAC,CACF;IACD,YAAY,EAAE,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,6BAA6B,EAAE,CAAC,CAAC;AAG3D,MAAM,CAAC,MAAM,iCAAiC,GAAG,MAAM,CAAC,mBAAmB,CAC1E,2BAA2B,CAC3B,CAAC"}
|
|
1
|
+
{"version":3,"file":"companion.js","sourceRoot":"","sources":["../src/companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CAAC;IACxD,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrD,yBAAyB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzD,mBAAmB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACnD,iBAAiB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACjD,qBAAqB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrD,mBAAmB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACnD,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC,QAAQ,CAC/B,MAAM,CAAC,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;QAC/D,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;QACnE,SAAS,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;KAC7D,CAAC,CACF;IACD,cAAc,EAAE,MAAM,CAAC,QAAQ,CAC9B,MAAM,CAAC,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;QAC9D,aAAa,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;QACjE,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;QAC/D,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;KAChE,CAAC,CACF;IACD,YAAY,EAAE,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;CAChC,CAAC,CAAC,QAAQ,CAAC,EAAE,UAAU,EAAE,6BAA6B,EAAE,CAAC,CAAC;AAG3D,MAAM,CAAC,MAAM,iCAAiC,GAAG,MAAM,CAAC,mBAAmB,CAC1E,2BAA2B,CAC3B,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const EditorAssetNavigationContract: Schema.Struct<{
|
|
3
|
+
readonly name: Schema.Literal<"unreal-editor-asset-navigation">;
|
|
4
|
+
readonly version: Schema.Struct<{
|
|
5
|
+
readonly major: Schema.Literal<1>;
|
|
6
|
+
readonly minor: Schema.Literal<0>;
|
|
7
|
+
}>;
|
|
8
|
+
}>;
|
|
9
|
+
export type EditorAssetNavigationContract = Schema.Schema.Type<typeof EditorAssetNavigationContract>;
|
|
10
|
+
export declare const EditorAssetLocateUnavailableReason: Schema.Literals<readonly ["asset_not_found", "capability_missing", "editor_unavailable", "invalid_object_path", "not_connected"]>;
|
|
11
|
+
export type EditorAssetLocateUnavailableReason = Schema.Schema.Type<typeof EditorAssetLocateUnavailableReason>;
|
|
12
|
+
export declare const EditorAssetLocateResult: Schema.Union<readonly [Schema.Struct<{
|
|
13
|
+
readonly status: Schema.Literal<"located">;
|
|
14
|
+
readonly contract: Schema.Struct<{
|
|
15
|
+
readonly name: Schema.Literal<"unreal-editor-asset-navigation">;
|
|
16
|
+
readonly version: Schema.Struct<{
|
|
17
|
+
readonly major: Schema.Literal<1>;
|
|
18
|
+
readonly minor: Schema.Literal<0>;
|
|
19
|
+
}>;
|
|
20
|
+
}>;
|
|
21
|
+
readonly objectPath: Schema.String;
|
|
22
|
+
}>, Schema.Struct<{
|
|
23
|
+
readonly message: Schema.String;
|
|
24
|
+
readonly reason: Schema.Literals<readonly ["asset_not_found", "capability_missing", "editor_unavailable", "invalid_object_path", "not_connected"]>;
|
|
25
|
+
readonly recovery: Schema.String;
|
|
26
|
+
readonly retrySafe: Schema.Boolean;
|
|
27
|
+
readonly status: Schema.Literal<"unavailable">;
|
|
28
|
+
readonly contract: Schema.Struct<{
|
|
29
|
+
readonly name: Schema.Literal<"unreal-editor-asset-navigation">;
|
|
30
|
+
readonly version: Schema.Struct<{
|
|
31
|
+
readonly major: Schema.Literal<1>;
|
|
32
|
+
readonly minor: Schema.Literal<0>;
|
|
33
|
+
}>;
|
|
34
|
+
}>;
|
|
35
|
+
readonly objectPath: Schema.String;
|
|
36
|
+
}>]>;
|
|
37
|
+
export type EditorAssetLocateResult = Schema.Schema.Type<typeof EditorAssetLocateResult>;
|
|
38
|
+
export declare const decodeEditorAssetLocateResult: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Schema.Struct.ReadonlySide<{
|
|
39
|
+
readonly status: Schema.Literal<"located">;
|
|
40
|
+
readonly contract: Schema.Struct<{
|
|
41
|
+
readonly name: Schema.Literal<"unreal-editor-asset-navigation">;
|
|
42
|
+
readonly version: Schema.Struct<{
|
|
43
|
+
readonly major: Schema.Literal<1>;
|
|
44
|
+
readonly minor: Schema.Literal<0>;
|
|
45
|
+
}>;
|
|
46
|
+
}>;
|
|
47
|
+
readonly objectPath: Schema.String;
|
|
48
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
49
|
+
readonly message: Schema.String;
|
|
50
|
+
readonly reason: Schema.Literals<readonly ["asset_not_found", "capability_missing", "editor_unavailable", "invalid_object_path", "not_connected"]>;
|
|
51
|
+
readonly recovery: Schema.String;
|
|
52
|
+
readonly retrySafe: Schema.Boolean;
|
|
53
|
+
readonly status: Schema.Literal<"unavailable">;
|
|
54
|
+
readonly contract: Schema.Struct<{
|
|
55
|
+
readonly name: Schema.Literal<"unreal-editor-asset-navigation">;
|
|
56
|
+
readonly version: Schema.Struct<{
|
|
57
|
+
readonly major: Schema.Literal<1>;
|
|
58
|
+
readonly minor: Schema.Literal<0>;
|
|
59
|
+
}>;
|
|
60
|
+
}>;
|
|
61
|
+
readonly objectPath: Schema.String;
|
|
62
|
+
}, "Type">, Schema.SchemaError, never>;
|
|
63
|
+
//# sourceMappingURL=editor-asset-navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-asset-navigation.d.ts","sourceRoot":"","sources":["../src/editor-asset-navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,eAAO,MAAM,6BAA6B;;;;;;EAGxC,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAC7D,OAAO,6BAA6B,CACpC,CAAC;AAEF,eAAO,MAAM,kCAAkC,mIAM7C,CAAC;AACH,MAAM,MAAM,kCAAkC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAClE,OAAO,kCAAkC,CACzC,CAAC;AAOF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;IAalC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEzF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;sCAAsD,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export const EditorAssetNavigationContract = Schema.Struct({
|
|
3
|
+
name: Schema.Literal("unreal-editor-asset-navigation"),
|
|
4
|
+
version: Schema.Struct({ major: Schema.Literal(1), minor: Schema.Literal(0) })
|
|
5
|
+
});
|
|
6
|
+
export const EditorAssetLocateUnavailableReason = Schema.Literals([
|
|
7
|
+
"asset_not_found",
|
|
8
|
+
"capability_missing",
|
|
9
|
+
"editor_unavailable",
|
|
10
|
+
"invalid_object_path",
|
|
11
|
+
"not_connected"
|
|
12
|
+
]);
|
|
13
|
+
const EditorAssetLocateBase = Schema.Struct({
|
|
14
|
+
contract: EditorAssetNavigationContract,
|
|
15
|
+
objectPath: Schema.String
|
|
16
|
+
});
|
|
17
|
+
export const EditorAssetLocateResult = Schema.Union([
|
|
18
|
+
Schema.Struct({
|
|
19
|
+
...EditorAssetLocateBase.fields,
|
|
20
|
+
status: Schema.Literal("located")
|
|
21
|
+
}),
|
|
22
|
+
Schema.Struct({
|
|
23
|
+
...EditorAssetLocateBase.fields,
|
|
24
|
+
message: Schema.String,
|
|
25
|
+
reason: EditorAssetLocateUnavailableReason,
|
|
26
|
+
recovery: Schema.String,
|
|
27
|
+
retrySafe: Schema.Boolean,
|
|
28
|
+
status: Schema.Literal("unavailable")
|
|
29
|
+
})
|
|
30
|
+
]);
|
|
31
|
+
export const decodeEditorAssetLocateResult = Schema.decodeUnknownEffect(EditorAssetLocateResult);
|
|
32
|
+
//# sourceMappingURL=editor-asset-navigation.js.map
|