|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
## # type:
One "core" field of [PMD](wiki/Plugin+Meta+Data) is the `type:` specifier in
each script:
# type: io
It's meant to be used by common "hook" plugin systems. Albeit it can be
entirely decorational again.
* Some apps might declare a few special values like `init` or `core`,
and ignore all the rest.
* Other plugin systems might utilize `sidebar` or `post-form` to tie
scripts to specific invocation points already.
* Or could just be a superset of [category:](wiki/category), and not
be used any further.
Some application API and plugin needs will instead use manual per-script
code to register themselves. In which case this field would only be used
for plugin installation e.g.
Others might even combine `type:` and `category:` or additionally a custom
`class:` and `function:` field for feature lookup/invocation.
## common script types
...
|