interstice_abi/schema/
event.rs1use crate::NodeSelection;
2use serde::{Deserialize, Serialize};
3
4#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)]
5pub enum SubscriptionEventSchema {
6 Insert {
7 node_selection: NodeSelection,
8 module_name: String,
9 table_name: String,
10 },
11 Update {
12 node_selection: NodeSelection,
13 module_name: String,
14 table_name: String,
15 },
16 Delete {
17 node_selection: NodeSelection,
18 module_name: String,
19 table_name: String,
20 },
21 ReplicaSync {
22 node_name: String,
23 module_name: String,
24 table_name: String,
25 },
26 Init,
27 Load,
28 Input,
29 AudioOutput,
30 AudioInput,
31 Render,
32 File {
33 path: String,
34 recursive: bool,
35 },
36 ModulePublish,
37 ModuleRemove,
38 Connect,
39 Disconnect,
40}