doc: updated obsolete info
Massimo Melina committed
Mar 22, 2025 at 19:41 UTC
e0d5f0d49b98da4d2ea11ee0bc376d5a286a5602
1 file changed
+2
-2
dev-plugins.md
+2
-2
@@ -149,7 +149,7 @@ used must be strictly JSON (thus, no single quotes, only double quotes for strin
149
- `configDialog: DialogOptions` object to override dialog options. Please refer to sources for details.
150
- `onFrontendConfig: (config: object) => void | object` manipulate config values exposed to frontend.
151
- `customHtml: object | () => object` return custom-html sections programmatically.
152
-- `customRest: { [name]: (parameters: object) => any }` declare backend functions to be called by frontend with `HFS.customRestCall`
152
+- `customRest: { [name]: (parameters: object, ctx) => any }` declare backend functions to be called by frontend with `HFS.customRestCall`
153
E.g.
154
```js
155
exports.customRest = {
@@ -415,7 +415,7 @@ This is a list of available frontend-events, with respective object parameter an
415
- `ext: string` just the extension part of the name, dot excluded and lowercase.
416
- `isFolder: boolean` true if it's a folder.
417
- `n: string` name of the entry, including relative path when searched in sub-folders.
418
- - `uri: string` relative url of the entry.
418
+ - `uri: string` absolute uri of the entry.
419
- `s?: number` size of the entry, in bytes. It may be missing, for example for folders.
420
- `c?: Date` creation-time.
421
- `m?: Date` modified-time.