@anna-ai/app-schema 0.33.0 → 0.34.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/acl/capabilities.json
CHANGED
package/dispatcher_version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.34.0
|
package/events/AnnaAppEvent.json
CHANGED
package/host_api/methods.json
CHANGED
|
@@ -907,6 +907,168 @@
|
|
|
907
907
|
"no_auth": false,
|
|
908
908
|
"stub": false
|
|
909
909
|
},
|
|
910
|
+
{
|
|
911
|
+
"handler": "_h_not_implemented",
|
|
912
|
+
"method": "list",
|
|
913
|
+
"namespace": "share",
|
|
914
|
+
"no_auth": false,
|
|
915
|
+
"params_schema": {
|
|
916
|
+
"additionalProperties": false,
|
|
917
|
+
"description": "List this (user, app)'s non-revoked publications.",
|
|
918
|
+
"properties": {
|
|
919
|
+
"cursor": {
|
|
920
|
+
"type": [
|
|
921
|
+
"string",
|
|
922
|
+
"null"
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
"limit": {
|
|
926
|
+
"maximum": 100,
|
|
927
|
+
"minimum": 1,
|
|
928
|
+
"type": "integer"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"type": "object"
|
|
932
|
+
},
|
|
933
|
+
"stub": true
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"handler": "_h_not_implemented",
|
|
937
|
+
"method": "publish",
|
|
938
|
+
"namespace": "share",
|
|
939
|
+
"no_auth": false,
|
|
940
|
+
"params_schema": {
|
|
941
|
+
"additionalProperties": false,
|
|
942
|
+
"description": "Publish rendered static files as a platform-hosted long-lived public URL. Requires manifest ui.host_api.share = true.",
|
|
943
|
+
"properties": {
|
|
944
|
+
"description": {
|
|
945
|
+
"maxLength": 500,
|
|
946
|
+
"type": [
|
|
947
|
+
"string",
|
|
948
|
+
"null"
|
|
949
|
+
]
|
|
950
|
+
},
|
|
951
|
+
"entry": {
|
|
952
|
+
"description": "Entry document — must be in `paths`, text/html.",
|
|
953
|
+
"minLength": 1,
|
|
954
|
+
"type": "string"
|
|
955
|
+
},
|
|
956
|
+
"expires_at": {
|
|
957
|
+
"description": "ISO 8601 expiry; omit/null = never expires.",
|
|
958
|
+
"type": [
|
|
959
|
+
"string",
|
|
960
|
+
"null"
|
|
961
|
+
]
|
|
962
|
+
},
|
|
963
|
+
"path_map": {
|
|
964
|
+
"description": "Optional explicit {aps_path: relative_path} mapping. Default: longest common directory prefix is stripped.",
|
|
965
|
+
"type": [
|
|
966
|
+
"object",
|
|
967
|
+
"null"
|
|
968
|
+
]
|
|
969
|
+
},
|
|
970
|
+
"paths": {
|
|
971
|
+
"description": "APS object paths (scope=app self) to snapshot into the public share. Must be finalized objects.",
|
|
972
|
+
"items": {
|
|
973
|
+
"minLength": 1,
|
|
974
|
+
"type": "string"
|
|
975
|
+
},
|
|
976
|
+
"maxItems": 200,
|
|
977
|
+
"minItems": 1,
|
|
978
|
+
"type": "array"
|
|
979
|
+
},
|
|
980
|
+
"pub_id": {
|
|
981
|
+
"description": "Existing publication id → republish (URL unchanged, version += 1). Omit for a new publication.",
|
|
982
|
+
"type": [
|
|
983
|
+
"string",
|
|
984
|
+
"null"
|
|
985
|
+
]
|
|
986
|
+
},
|
|
987
|
+
"thumbnail_path": {
|
|
988
|
+
"description": "OG image — must be in `paths` (png/jpeg/webp).",
|
|
989
|
+
"type": [
|
|
990
|
+
"string",
|
|
991
|
+
"null"
|
|
992
|
+
]
|
|
993
|
+
},
|
|
994
|
+
"title": {
|
|
995
|
+
"maxLength": 200,
|
|
996
|
+
"minLength": 1,
|
|
997
|
+
"type": "string"
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
"required": [
|
|
1001
|
+
"paths",
|
|
1002
|
+
"entry",
|
|
1003
|
+
"title"
|
|
1004
|
+
],
|
|
1005
|
+
"type": "object"
|
|
1006
|
+
},
|
|
1007
|
+
"stub": true
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"handler": "_h_not_implemented",
|
|
1011
|
+
"method": "revoke",
|
|
1012
|
+
"namespace": "share",
|
|
1013
|
+
"no_auth": false,
|
|
1014
|
+
"params_schema": {
|
|
1015
|
+
"additionalProperties": false,
|
|
1016
|
+
"description": "Revoke a publication — the public URL turns into a tombstone immediately (CDN residue <= 5 min); quota bytes are released.",
|
|
1017
|
+
"properties": {
|
|
1018
|
+
"pub_id": {
|
|
1019
|
+
"minLength": 1,
|
|
1020
|
+
"type": "string"
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
"required": [
|
|
1024
|
+
"pub_id"
|
|
1025
|
+
],
|
|
1026
|
+
"type": "object"
|
|
1027
|
+
},
|
|
1028
|
+
"stub": true
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"handler": "_h_not_implemented",
|
|
1032
|
+
"method": "update",
|
|
1033
|
+
"namespace": "share",
|
|
1034
|
+
"no_auth": false,
|
|
1035
|
+
"params_schema": {
|
|
1036
|
+
"additionalProperties": false,
|
|
1037
|
+
"description": "Update publication metadata without touching the snapshot.",
|
|
1038
|
+
"properties": {
|
|
1039
|
+
"description": {
|
|
1040
|
+
"maxLength": 500,
|
|
1041
|
+
"type": [
|
|
1042
|
+
"string",
|
|
1043
|
+
"null"
|
|
1044
|
+
]
|
|
1045
|
+
},
|
|
1046
|
+
"expires_at": {
|
|
1047
|
+
"description": "ISO 8601; null clears the expiry.",
|
|
1048
|
+
"type": [
|
|
1049
|
+
"string",
|
|
1050
|
+
"null"
|
|
1051
|
+
]
|
|
1052
|
+
},
|
|
1053
|
+
"pub_id": {
|
|
1054
|
+
"minLength": 1,
|
|
1055
|
+
"type": "string"
|
|
1056
|
+
},
|
|
1057
|
+
"title": {
|
|
1058
|
+
"maxLength": 200,
|
|
1059
|
+
"type": [
|
|
1060
|
+
"string",
|
|
1061
|
+
"null"
|
|
1062
|
+
]
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
"required": [
|
|
1066
|
+
"pub_id"
|
|
1067
|
+
],
|
|
1068
|
+
"type": "object"
|
|
1069
|
+
},
|
|
1070
|
+
"stub": true
|
|
1071
|
+
},
|
|
910
1072
|
{
|
|
911
1073
|
"handler": "_h_storage_delete",
|
|
912
1074
|
"method": "delete",
|
|
@@ -1271,5 +1433,5 @@
|
|
|
1271
1433
|
}
|
|
1272
1434
|
],
|
|
1273
1435
|
"title": "HostApiMethodTable",
|
|
1274
|
-
"version": "0.
|
|
1436
|
+
"version": "0.34.0"
|
|
1275
1437
|
}
|
package/package.json
CHANGED