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 5467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5478 { | 5478 { |
5479 "name": "unmountVolume", | 5479 "name": "unmountVolume", |
5480 "description": "Unmounts specified volume", | 5480 "description": "Unmounts specified volume", |
5481 "parameters": [ | 5481 "parameters": [ |
5482 { | 5482 { |
5483 "name": "devicePath", | 5483 "name": "devicePath", |
5484 "type": "string", | 5484 "type": "string", |
5485 "description": "Device path of the volume." | 5485 "description": "Device path of the volume." |
5486 } | 5486 } |
5487 ] | 5487 ] |
| 5488 }, |
| 5489 { |
| 5490 "name": "formatDevice", |
| 5491 "description": "Formats a mounted device", |
| 5492 "parameters": [ |
| 5493 { |
| 5494 "name": "mountPath", |
| 5495 "type": "string", |
| 5496 "description": "Device mount path." |
| 5497 } |
| 5498 ] |
5488 } | 5499 } |
5489 ], | 5500 ], |
5490 "events": [ | 5501 "events": [ |
5491 { | 5502 { |
5492 "name": "onDiskChanged", | 5503 "name": "onDiskChanged", |
5493 "type": "function", | 5504 "type": "function", |
5494 "description": "Fired when disk mount/unmount event is detected.", | 5505 "description": "Fired when disk mount/unmount event is detected.", |
5495 "parameters": [ | 5506 "parameters": [ |
5496 { | 5507 { |
5497 "$ref": "MountEvent", | 5508 "$ref": "MountEvent", |
(...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6540 "description": "A string result code. The value is non-empty on
success only in tests.", | 6551 "description": "A string result code. The value is non-empty on
success only in tests.", |
6541 "optional": "true" | 6552 "optional": "true" |
6542 } | 6553 } |
6543 ] | 6554 ] |
6544 } | 6555 } |
6545 ] | 6556 ] |
6546 } | 6557 } |
6547 ] | 6558 ] |
6548 } | 6559 } |
6549 ] | 6560 ] |
OLD | NEW |