doc: typo
Massimo Melina committed
May 29, 2024 at 12:11 UTC
425867099a2c311ffd4330c616cd28bae3aeb0f9
1 file changed
+1
-1
dev-plugins.md
+1
-1
@@ -98,7 +98,7 @@ used must be strictly JSON (thus, no single quotes, only double quotes for strin
98
- `unload: function` called when unloading a plugin. This is a good place for example to clearInterval().
99
- `onDirEntry: ({ entry: DirEntry, listUri: string }) => Promisable<void | false>` by providing this callback you can manipulate
100
the record that is sent to the frontend (`entry`), or you can return false to exclude this entry from the results.
101
- Refer to source `frontend/src/stats.ts`.
101
+ Refer to source `frontend/src/state.ts`.
102
- `config: { [key]: FieldDescriptor }` declare a set of admin-configurable values owned by the plugin
103
that will be displayed inside Admin-panel for change. Each property is identified by its key,
104
and the descriptor is another object with options about the field.