@camera.ui/cli 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,10 +31,10 @@ export default class SamplePlugin {
|
|
|
31
31
|
async onFormSubmit(actionId, payload) {}
|
|
32
32
|
|
|
33
33
|
async start() {
|
|
34
|
-
this.logger.log('
|
|
34
|
+
this.logger.log('Finished launching plugin');
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
stop() {
|
|
38
|
-
this.logger.log('
|
|
38
|
+
this.logger.log('Shutting down plugin');
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -39,10 +39,10 @@ class SamplePlugin(BasePlugin):
|
|
|
39
39
|
del self.cameras[id]
|
|
40
40
|
|
|
41
41
|
def start(self) -> None:
|
|
42
|
-
self.logger.log("
|
|
42
|
+
self.logger.log("Finished launching plugin")
|
|
43
43
|
|
|
44
44
|
def stop(self) -> None:
|
|
45
|
-
self.logger.log("
|
|
45
|
+
self.logger.log("Shutting down plugin")
|
|
46
46
|
|
|
47
47
|
async def onFormSubmit(self, action_id: str, payload: Any) -> Union[FormSubmitResponse, None]:
|
|
48
48
|
print("Form submitted", action_id, payload)
|