| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "extension", | 3 "namespace": "extension", |
| 4 "unprivileged": true, | 4 "unprivileged": true, |
| 5 "types": [ | 5 "types": [ |
| 6 { | 6 { |
| 7 "id": "MessageSender", | 7 "id": "MessageSender", |
| 8 "type": "object", | 8 "type": "object", |
| 9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
| 10 "properties": { | 10 "properties": { |
| (...skipping 6594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6605 "description": "Disk volume mount point path. The value corresponds
to its Entry.fullPath in File API." | 6605 "description": "Disk volume mount point path. The value corresponds
to its Entry.fullPath in File API." |
| 6606 }, | 6606 }, |
| 6607 "sourceUrl": { | 6607 "sourceUrl": { |
| 6608 "type": "string", | 6608 "type": "string", |
| 6609 "description": "The path to the mounted devicem, url of the mounted
archive file or network resource." | 6609 "description": "The path to the mounted devicem, url of the mounted
archive file or network resource." |
| 6610 }, | 6610 }, |
| 6611 "mountType": { | 6611 "mountType": { |
| 6612 "type": "string", | 6612 "type": "string", |
| 6613 "enum": ["device", "file", "network"], | 6613 "enum": ["device", "file", "network"], |
| 6614 "description": "Type of the mount." | 6614 "description": "Type of the mount." |
| 6615 }, |
| 6616 "specialData": { |
| 6617 "type": "string", |
| 6618 "description": "Additional data about mount, for example, that the f
ilesystem is not supported." |
| 6615 } | 6619 } |
| 6616 } | 6620 } |
| 6617 }, | 6621 }, |
| 6618 { | 6622 { |
| 6619 "id": "VolumeMetadata", | 6623 "id": "VolumeMetadata", |
| 6620 "type": "object", | 6624 "type": "object", |
| 6621 "description": "Mounted disk volume metadata.", | 6625 "description": "Mounted disk volume metadata.", |
| 6622 "properties": { | 6626 "properties": { |
| 6623 "mountPath": { | 6627 "mountPath": { |
| 6624 "type": "string", | 6628 "type": "string", |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7009 { | 7013 { |
| 7010 "name": "formatDevice", | 7014 "name": "formatDevice", |
| 7011 "description": "Formats a mounted device", | 7015 "description": "Formats a mounted device", |
| 7012 "parameters": [ | 7016 "parameters": [ |
| 7013 { | 7017 { |
| 7014 "name": "mountPath", | 7018 "name": "mountPath", |
| 7015 "type": "string", | 7019 "type": "string", |
| 7016 "description": "Device's mount path." | 7020 "description": "Device's mount path." |
| 7017 } | 7021 } |
| 7018 ] | 7022 ] |
| 7023 }, |
| 7024 { |
| 7025 "name": "formatUnmountedDevice", |
| 7026 "description": "Formats a unmounted device", |
| 7027 "parameters": [ |
| 7028 { |
| 7029 "name": "filePath", |
| 7030 "type": "string", |
| 7031 "description": "Device's file path." |
| 7032 } |
| 7033 ] |
| 7019 } | 7034 } |
| 7020 ], | 7035 ], |
| 7021 "events": [ | 7036 "events": [ |
| 7022 { | 7037 { |
| 7023 "name": "onDiskChanged", | 7038 "name": "onDiskChanged", |
| 7024 "type": "function", | 7039 "type": "function", |
| 7025 "description": "Fired when disk mount/unmount event is detected.", | 7040 "description": "Fired when disk mount/unmount event is detected.", |
| 7026 "parameters": [ | 7041 "parameters": [ |
| 7027 { | 7042 { |
| 7028 "$ref": "MountEvent", | 7043 "$ref": "MountEvent", |
| (...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8065 "description": "A string result code. The value is non-empty on
success only in tests.", | 8080 "description": "A string result code. The value is non-empty on
success only in tests.", |
| 8066 "optional": "true" | 8081 "optional": "true" |
| 8067 } | 8082 } |
| 8068 ] | 8083 ] |
| 8069 } | 8084 } |
| 8070 ] | 8085 ] |
| 8071 } | 8086 } |
| 8072 ] | 8087 ] |
| 8073 } | 8088 } |
| 8074 ] | 8089 ] |
| OLD | NEW |