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