OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "experimental.bookmarkManager", | 3 "namespace": "experimental.bookmarkManager", |
4 "nodoc": true, | 4 "nodoc": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "BookmarkNodeDataElement", | 7 "id": "BookmarkNodeDataElement", |
8 "nodoc": true, | 8 "nodoc": true, |
9 "type": "object", | 9 "type": "object", |
10 "properties": { | 10 "properties": { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 ] | 95 ] |
96 }, | 96 }, |
97 { | 97 { |
98 "name": "canPaste", | 98 "name": "canPaste", |
99 "type": "function", | 99 "type": "function", |
100 "description": "Whether there are any bookmarks that can be pasted", | 100 "description": "Whether there are any bookmarks that can be pasted", |
101 "nodoc": "true", | 101 "nodoc": "true", |
102 "parameters": [ | 102 "parameters": [ |
103 {"type": "string", "name": "parentId", "description": "The ID of the f
older to paste into"}, | 103 {"type": "string", "name": "parentId", "description": "The ID of the f
older to paste into"}, |
104 {"type": "function", "name": "callback", "parameters": [ | 104 {"type": "function", "name": "callback", "parameters": [ |
105 {"type": "boolean"} | 105 {"name": "result", "type": "boolean"} |
106 ]} | 106 ]} |
107 ] | 107 ] |
108 }, | 108 }, |
109 { | 109 { |
110 "name": "sortChildren", | 110 "name": "sortChildren", |
111 "type": "function", | 111 "type": "function", |
112 "description": "Sorts the children of a given folder", | 112 "description": "Sorts the children of a given folder", |
113 "nodoc": "true", | 113 "nodoc": "true", |
114 "parameters": [ | 114 "parameters": [ |
115 {"type": "string", "name": "parentId", "description": "The ID of the f
older to sort the children of"} | 115 {"type": "string", "name": "parentId", "description": "The ID of the f
older to sort the children of"} |
116 ] | 116 ] |
117 }, | 117 }, |
118 { | 118 { |
119 "name": "getStrings", | 119 "name": "getStrings", |
120 "type": "function", | 120 "type": "function", |
121 "description": "Gets the i18n strings for the bookmark manager", | 121 "description": "Gets the i18n strings for the bookmark manager", |
122 "nodoc": "true", | 122 "nodoc": "true", |
123 "parameters": [ | 123 "parameters": [ |
124 { | 124 { |
125 "type": "function", | 125 "type": "function", |
126 "name": "callback", | 126 "name": "callback", |
127 "parameters": [ | 127 "parameters": [ |
128 { | 128 { |
| 129 "name": "result", |
129 "type": "object", | 130 "type": "object", |
130 "properties": {}, | 131 "properties": {}, |
131 "additionalProperties": {"type": "string"} | 132 "additionalProperties": {"type": "string"} |
132 } | 133 } |
133 ] | 134 ] |
134 } | 135 } |
135 ] | 136 ] |
136 }, | 137 }, |
137 { | 138 { |
138 "name": "startDrag", | 139 "name": "startDrag", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 } | 195 } |
195 ] | 196 ] |
196 }, | 197 }, |
197 { | 198 { |
198 "name": "canEdit", | 199 "name": "canEdit", |
199 "type": "function", | 200 "type": "function", |
200 "description": "Whether bookmarks can be modified", | 201 "description": "Whether bookmarks can be modified", |
201 "nodoc": "true", | 202 "nodoc": "true", |
202 "parameters": [ | 203 "parameters": [ |
203 {"type": "function", "name": "callback", "parameters": [ | 204 {"type": "function", "name": "callback", "parameters": [ |
204 {"type": "boolean"} | 205 {"name": "result", "type": "boolean"} |
205 ]} | 206 ]} |
206 ] | 207 ] |
207 } | 208 } |
208 ], | 209 ], |
209 "events": [ | 210 "events": [ |
210 { | 211 { |
211 "name": "onDragEnter", | 212 "name": "onDragEnter", |
212 "type": "function", | 213 "type": "function", |
213 "description": "Fired when dragging bookmarks over the document", | 214 "description": "Fired when dragging bookmarks over the document", |
214 "parameters": [ | 215 "parameters": [ |
215 {"$ref": "BookmarkNodeData"} | 216 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} |
216 ] | 217 ] |
217 }, | 218 }, |
218 { | 219 { |
219 "name": "onDragLeave", | 220 "name": "onDragLeave", |
220 "type": "function", | 221 "type": "function", |
221 "description": "Fired when the drag and drop leaves the document", | 222 "description": "Fired when the drag and drop leaves the document", |
222 "parameters": [ | 223 "parameters": [ |
223 {"$ref": "BookmarkNodeData"} | 224 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} |
224 ] | 225 ] |
225 }, | 226 }, |
226 { | 227 { |
227 "name": "onDrop", | 228 "name": "onDrop", |
228 "type": "function", | 229 "type": "function", |
229 "description": "Fired when the user drops bookmarks on the document", | 230 "description": "Fired when the user drops bookmarks on the document", |
230 "parameters": [ | 231 "parameters": [ |
231 {"$ref": "BookmarkNodeData"} | 232 {"name": "bookmarkNodeData", "$ref": "BookmarkNodeData"} |
232 ] | 233 ] |
233 } | 234 } |
234 ] | 235 ] |
235 } | 236 } |
236 ] | 237 ] |
OLD | NEW |