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 6449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6460 "parameters": [ | 6460 "parameters": [ |
6461 { | 6461 { |
6462 "name" : "mountPoints", | 6462 "name" : "mountPoints", |
6463 "type": "array", | 6463 "type": "array", |
6464 "items": {"$ref": "MountPointInfo"}, | 6464 "items": {"$ref": "MountPointInfo"}, |
6465 "description": "The list of MountPointInfo representing mounted
devices." | 6465 "description": "The list of MountPointInfo representing mounted
devices." |
6466 } | 6466 } |
6467 ] | 6467 ] |
6468 } | 6468 } |
6469 ] | 6469 ] |
| 6470 }, |
| 6471 { |
| 6472 "name": "formatDevice", |
| 6473 "description": "Formats a mounted device", |
| 6474 "parameters": [ |
| 6475 { |
| 6476 "name": "mountPath", |
| 6477 "type": "string", |
| 6478 "description": "Device's mount path." |
| 6479 } |
| 6480 ] |
6470 } | 6481 } |
6471 ], | 6482 ], |
6472 "events": [ | 6483 "events": [ |
6473 { | 6484 { |
6474 "name": "onDiskChanged", | 6485 "name": "onDiskChanged", |
6475 "type": "function", | 6486 "type": "function", |
6476 "description": "Fired when disk mount/unmount event is detected.", | 6487 "description": "Fired when disk mount/unmount event is detected.", |
6477 "parameters": [ | 6488 "parameters": [ |
6478 { | 6489 { |
6479 "$ref": "MountEvent", | 6490 "$ref": "MountEvent", |
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7516 "description": "A string result code. The value is non-empty on
success only in tests.", | 7527 "description": "A string result code. The value is non-empty on
success only in tests.", |
7517 "optional": "true" | 7528 "optional": "true" |
7518 } | 7529 } |
7519 ] | 7530 ] |
7520 } | 7531 } |
7521 ] | 7532 ] |
7522 } | 7533 } |
7523 ] | 7534 ] |
7524 } | 7535 } |
7525 ] | 7536 ] |
OLD | NEW |