@anna-ai/app-schema 0.15.0 → 0.17.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
CHANGED
package/dispatcher_version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.17.0
|
package/events/AnnaAppEvent.json
CHANGED
package/host_api/methods.json
CHANGED
|
@@ -238,6 +238,53 @@
|
|
|
238
238
|
"no_auth": false,
|
|
239
239
|
"stub": true
|
|
240
240
|
},
|
|
241
|
+
{
|
|
242
|
+
"handler": "_h_not_implemented",
|
|
243
|
+
"method": "download",
|
|
244
|
+
"namespace": "files",
|
|
245
|
+
"no_auth": false,
|
|
246
|
+
"params_schema": {
|
|
247
|
+
"additionalProperties": false,
|
|
248
|
+
"properties": {
|
|
249
|
+
"filename": {
|
|
250
|
+
"description": "Save-as filename shown in the browser download dialog. Defaults to the last path segment. Baked into the presigned Content-Disposition: attachment header.",
|
|
251
|
+
"type": [
|
|
252
|
+
"string",
|
|
253
|
+
"null"
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
"owner": {
|
|
257
|
+
"type": [
|
|
258
|
+
"string",
|
|
259
|
+
"null"
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
"path": {
|
|
263
|
+
"minLength": 1,
|
|
264
|
+
"type": "string"
|
|
265
|
+
},
|
|
266
|
+
"scope": {
|
|
267
|
+
"description": "Same semantics as files.download_url — cross-app reads need the aps.scope.app.read capability.",
|
|
268
|
+
"type": [
|
|
269
|
+
"string",
|
|
270
|
+
"null"
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"ttl_seconds": {
|
|
274
|
+
"default": 300,
|
|
275
|
+
"description": "Presigned URL lifetime (host consumes it immediately).",
|
|
276
|
+
"maximum": 3600,
|
|
277
|
+
"minimum": 1,
|
|
278
|
+
"type": "integer"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"required": [
|
|
282
|
+
"path"
|
|
283
|
+
],
|
|
284
|
+
"type": "object"
|
|
285
|
+
},
|
|
286
|
+
"stub": true
|
|
287
|
+
},
|
|
241
288
|
{
|
|
242
289
|
"handler": "_h_not_implemented",
|
|
243
290
|
"method": "download_url",
|
|
@@ -453,6 +500,34 @@
|
|
|
453
500
|
"no_auth": false,
|
|
454
501
|
"stub": false
|
|
455
502
|
},
|
|
503
|
+
{
|
|
504
|
+
"handler": "_h_web_fetch",
|
|
505
|
+
"method": "fetch",
|
|
506
|
+
"namespace": "web",
|
|
507
|
+
"no_auth": false,
|
|
508
|
+
"stub": false
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"handler": "_h_web_image_fetch",
|
|
512
|
+
"method": "image_fetch",
|
|
513
|
+
"namespace": "web",
|
|
514
|
+
"no_auth": false,
|
|
515
|
+
"stub": false
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"handler": "_h_web_image_search",
|
|
519
|
+
"method": "image_search",
|
|
520
|
+
"namespace": "web",
|
|
521
|
+
"no_auth": false,
|
|
522
|
+
"stub": false
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"handler": "_h_web_search",
|
|
526
|
+
"method": "search",
|
|
527
|
+
"namespace": "web",
|
|
528
|
+
"no_auth": false,
|
|
529
|
+
"stub": false
|
|
530
|
+
},
|
|
456
531
|
{
|
|
457
532
|
"handler": "_h_window_close",
|
|
458
533
|
"method": "close",
|
|
@@ -511,5 +586,5 @@
|
|
|
511
586
|
}
|
|
512
587
|
],
|
|
513
588
|
"title": "HostApiMethodTable",
|
|
514
|
-
"version": "0.
|
|
589
|
+
"version": "0.17.0"
|
|
515
590
|
}
|
package/package.json
CHANGED