File size: 2,122 Bytes
19c8b95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
    "plugin-name": "Test plugin",
    "author": "DanRuta",
    "nexus-link": null,
    "plugin-version": "1.0",
    "plugin-short-description": "A test plugin to develop the functionality",
    "min-app-version": "1.0.0",
    "max-app-version": "1.4.0",
    "install-requires-restart": false,
    "uninstall-requires-restart": true,

    "front-end-style-files": ["style1.css"],

    "front-end-hooks": {
        "start": {
            "pre": {
                "file": "frontendPlugin.js",
                "function": "preStartFn"
            },
            "post": {
                "file": "frontendPlugin.js",
                "function": "postStartFn"
            }
        },
        "keep-sample": {
            "pre": {
                "file": "frontendPlugin.js",
                "function": "preKeepSample"
            },
            "post": {
                "file": "frontendPlugin.js",
                "function": "postKeepSample"
            }
        }
    },
    "back-end-hooks": {
        "start": {
            "pre": {
                "file": "start.py",
                "function": "start_pre"
            },
            "post": {
                "file": null,
                "function": "start_post"
            }
        },
        "load-model": {
            "pre": {
                "file": null,
                "function": null
            },
            "post": {
                "file": null,
                "function": null
            }
        },
        "synth-line": {
            "pre": {
                "file": null,
                "function": null
            },
            "post": {
                "file": null,
                "function": null
            }
        },
        "output-audio": {
            "replace": false,
            "pre": {
                "file": "main.py",
                "function": "output_audio_pre"
            },
            "post": {
                "file": null,
                "function": null
            }
        },
        "custom-event": {
            "file": "custom_event.py",
            "function": "custom_event_fn"
        }
    }
}