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 6347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6358 "parameters": [ | 6358 "parameters": [ |
6359 { | 6359 { |
6360 "name" : "mountPoints", | 6360 "name" : "mountPoints", |
6361 "type": "array", | 6361 "type": "array", |
6362 "items": {"$ref": "MountPointInfo"}, | 6362 "items": {"$ref": "MountPointInfo"}, |
6363 "description": "The list of MountPointInfo representing mounted
devices." | 6363 "description": "The list of MountPointInfo representing mounted
devices." |
6364 } | 6364 } |
6365 ] | 6365 ] |
6366 } | 6366 } |
6367 ] | 6367 ] |
6368 }, | |
6369 { | |
6370 "name": "formatDevice", | |
6371 "description": "Formats a mounted device", | |
6372 "parameters": [ | |
6373 { | |
6374 "name": "mountPath", | |
6375 "type": "string", | |
6376 "description": "Device's mount path." | |
6377 } | |
6378 ] | |
6379 } | 6368 } |
6380 ], | 6369 ], |
6381 "events": [ | 6370 "events": [ |
6382 { | 6371 { |
6383 "name": "onDiskChanged", | 6372 "name": "onDiskChanged", |
6384 "type": "function", | 6373 "type": "function", |
6385 "description": "Fired when disk mount/unmount event is detected.", | 6374 "description": "Fired when disk mount/unmount event is detected.", |
6386 "parameters": [ | 6375 "parameters": [ |
6387 { | 6376 { |
6388 "$ref": "MountEvent", | 6377 "$ref": "MountEvent", |
(...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7425 "description": "A string result code. The value is non-empty on
success only in tests.", | 7414 "description": "A string result code. The value is non-empty on
success only in tests.", |
7426 "optional": "true" | 7415 "optional": "true" |
7427 } | 7416 } |
7428 ] | 7417 ] |
7429 } | 7418 } |
7430 ] | 7419 ] |
7431 } | 7420 } |
7432 ] | 7421 ] |
7433 } | 7422 } |
7434 ] | 7423 ] |
OLD | NEW |