More restructuring
parent: tbd commit: 10b7b7c
1 | use Error; |
2 | use |
3 | , | OperationError
4 | , | Instance
5 | , |
6 | , |
7 | ; |
8 | use |
9 | , |
10 | , | PluginStackBuilder
11 | plugin, |
12 | ; |
13 | |
14 | plugin! |
15 | name: "Example Plugin", |
16 | version: "0.0.1", |
17 | author: "Amber Kowalski", |
18 | // Experimental syntax for requesting specific plugin features |
19 | features: , |
20 | description: "An example plugin to demonstrate the development process of Giterated plugins." |
21 | ; |
22 | |
23 | /// Some kind of global state for the plugin |
24 | ; |
25 | |
26 | |
27 | |
28 | 214829528589663836760123667646253464473 |
29 | |
30 | |
31 | |
32 | /// The plugin's initialization function. Ran when the plugin is loaded, used to |
33 | /// build the plugin's stack. |
34 | |
35 | |
36 | builder.insert_state; |
37 | builder.; | .
38 | builder.setting_getter; |
39 | |
40 | Ok |
41 | |
42 | |
43 | async |
44 | object: User, |
45 | operation: ObjectRequest, |
46 | // state_extractor: StateExtractor<PluginState>, |
47 | |
48 | todo! |
49 | |
50 | |
51 | async |
52 | object: User, |
53 | // state_extractor: StateExtractor<PluginState>, |
54 | |
55 | todo! |
56 | |
57 |