| 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 6737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6748 "enum": ["device", "file", "network"], | 6748 "enum": ["device", "file", "network"], |
| 6749 "description": "Type of the mount." | 6749 "description": "Type of the mount." |
| 6750 }, | 6750 }, |
| 6751 "mountCondition": { | 6751 "mountCondition": { |
| 6752 "type": "string", | 6752 "type": "string", |
| 6753 "description": "Additional data about mount, for example, that the f
ilesystem is not supported." | 6753 "description": "Additional data about mount, for example, that the f
ilesystem is not supported." |
| 6754 } | 6754 } |
| 6755 } | 6755 } |
| 6756 }, | 6756 }, |
| 6757 { | 6757 { |
| 6758 "id": "MountPointSizeStats", |
| 6759 "type": "object", |
| 6760 "description": "Information about total and remaining size on the mount
point.", |
| 6761 "properties": { |
| 6762 "totalSizeKB": { |
| 6763 "type": "integer", |
| 6764 "description": "Total available size on the mount point." |
| 6765 }, |
| 6766 "remainingSizeKB": { |
| 6767 "type": "integer", |
| 6768 "description": "Remaining available size on the mount point." |
| 6769 } |
| 6770 } |
| 6771 }, |
| 6772 { |
| 6758 "id": "VolumeMetadata", | 6773 "id": "VolumeMetadata", |
| 6759 "type": "object", | 6774 "type": "object", |
| 6760 "description": "Mounted disk volume metadata.", | 6775 "description": "Mounted disk volume metadata.", |
| 6761 "properties": { | 6776 "properties": { |
| 6762 "mountPath": { | 6777 "mountPath": { |
| 6763 "type": "string", | 6778 "type": "string", |
| 6764 "description": "Disk volume mount point path." | 6779 "description": "Disk volume mount point path." |
| 6765 }, | 6780 }, |
| 6766 "devicePath": { | 6781 "devicePath": { |
| 6767 "type": "string", | 6782 "type": "string", |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7139 "name" : "mountPoints", | 7154 "name" : "mountPoints", |
| 7140 "type": "array", | 7155 "type": "array", |
| 7141 "items": {"$ref": "MountPointInfo"}, | 7156 "items": {"$ref": "MountPointInfo"}, |
| 7142 "description": "The list of MountPointInfo representing mounted
devices." | 7157 "description": "The list of MountPointInfo representing mounted
devices." |
| 7143 } | 7158 } |
| 7144 ] | 7159 ] |
| 7145 } | 7160 } |
| 7146 ] | 7161 ] |
| 7147 }, | 7162 }, |
| 7148 { | 7163 { |
| 7164 "name": "getSizeStats", |
| 7165 "description": "Retrieves total and remaining size of a mount point.", |
| 7166 "parameters": [ |
| 7167 { |
| 7168 "name": "mountPath", |
| 7169 "type": "string", |
| 7170 "description": "Mount point path." |
| 7171 }, |
| 7172 { |
| 7173 "name": "callback", |
| 7174 "type": "function", |
| 7175 "optional": false, |
| 7176 "parameters": [ |
| 7177 { |
| 7178 "name" : "sizeStats", |
| 7179 "$ref": "MountPointSizeStats", |
| 7180 "description": "Name/value pairs of size stats." |
| 7181 } |
| 7182 ] |
| 7183 } |
| 7184 ] |
| 7185 }, |
| 7186 { |
| 7149 "name": "formatDevice", | 7187 "name": "formatDevice", |
| 7150 "description": "Formats a mounted device", | 7188 "description": "Formats a mounted device", |
| 7151 "parameters": [ | 7189 "parameters": [ |
| 7152 { | 7190 { |
| 7153 "name": "mountPath", | 7191 "name": "mountPath", |
| 7154 "type": "string", | 7192 "type": "string", |
| 7155 "description": "Device's mount path." | 7193 "description": "Device's mount path." |
| 7156 } | 7194 } |
| 7157 ] | 7195 ] |
| 7158 } | 7196 } |
| (...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8445 "type": "function", | 8483 "type": "function", |
| 8446 "description": "Called when the browser's passwords have been cleare
d.", | 8484 "description": "Called when the browser's passwords have been cleare
d.", |
| 8447 "optional": true, | 8485 "optional": true, |
| 8448 "parameters": [] | 8486 "parameters": [] |
| 8449 } | 8487 } |
| 8450 ] | 8488 ] |
| 8451 } | 8489 } |
| 8452 ] | 8490 ] |
| 8453 } | 8491 } |
| 8454 ] | 8492 ] |
| OLD | NEW |