| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "bookmarks", | 3 "namespace": "bookmarks", |
| 4 "types": [ | 4 "types": [ |
| 5 { | 5 { |
| 6 "id": "BookmarkTreeNode", | 6 "id": "BookmarkTreeNode", |
| 7 "type": "object", | 7 "type": "object", |
| 8 "description": "A node (either a bookmark or a folder) in the bookmark t
ree. Child nodes are ordered within their parent folder.", | 8 "description": "A node (either a bookmark or a folder) in the bookmark t
ree. Child nodes are ordered within their parent folder.", |
| 9 "properties": { | 9 "properties": { |
| 10 "id": {"type": "string", "minimum": 0, "description": "The unique iden
tifier for the node. IDs are unique within the current profile, and they remain
valid even after the browser is restarted."}, | 10 "id": {"type": "string", "minimum": 0, "description": "The unique iden
tifier for the node. IDs are unique within the current profile, and they remain
valid even after the browser is restarted."}, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 }, | 126 }, |
| 127 { | 127 { |
| 128 "name": "create", | 128 "name": "create", |
| 129 "type": "function", | 129 "type": "function", |
| 130 "description": "Creates a bookmark or folder under the specified parentI
d. If url is NULL or missing, it will be a folder.", | 130 "description": "Creates a bookmark or folder under the specified parentI
d. If url is NULL or missing, it will be a folder.", |
| 131 "parameters": [ | 131 "parameters": [ |
| 132 { | 132 { |
| 133 "type": "object", | 133 "type": "object", |
| 134 "name": "bookmark", | 134 "name": "bookmark", |
| 135 "properties": { | 135 "properties": { |
| 136 "parentId": {"type": "string"}, | 136 "parentId": { |
| 137 "type": "string", |
| 138 "optional": true, |
| 139 "description": "Defaults to the Other Bookmarks folder."}, |
| 137 "index": {"type": "integer", "minimum": 0, "optional": true}, | 140 "index": {"type": "integer", "minimum": 0, "optional": true}, |
| 138 "title": {"type": "string", "optional": true}, | 141 "title": {"type": "string", "optional": true}, |
| 139 "url": {"type": "string", "optional": true} | 142 "url": {"type": "string", "optional": true} |
| 140 } | 143 } |
| 141 }, | 144 }, |
| 142 { | 145 { |
| 143 "type": "function", | 146 "type": "function", |
| 144 "name": "callback", | 147 "name": "callback", |
| 145 "optional": true, | 148 "optional": true, |
| 146 "parameters": [ | 149 "parameters": [ |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 }, | 323 }, |
| 321 { | 324 { |
| 322 "name": "onImportEnded", | 325 "name": "onImportEnded", |
| 323 "type": "function", | 326 "type": "function", |
| 324 "description": "Fired when a bookmark import session is ended.", | 327 "description": "Fired when a bookmark import session is ended.", |
| 325 "parameters": [] | 328 "parameters": [] |
| 326 } | 329 } |
| 327 ] | 330 ] |
| 328 } | 331 } |
| 329 ] | 332 ] |
| OLD | NEW |