@camera.ui/cli 0.0.30 → 0.0.31

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camera.ui/cli",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "camera.ui cli",
5
5
  "type": "module",
6
6
  "bin": {
@@ -46,11 +46,12 @@ class SamplePlugin(BasePlugin):
46
46
 
47
47
  async def onFormSubmit(self, action_id: str, payload: Any) -> Union[FormSubmitResponse, None]:
48
48
  print("Form submitted", action_id, payload)
49
+ return None
49
50
 
50
51
  def configureCameras(self, cameras: list[CameraDevice]) -> None:
51
52
  for camera in cameras:
52
53
  self.cameras[camera.id] = camera
53
54
 
54
55
 
55
- def __main__():
56
+ def __main__() -> type[SamplePlugin]:
56
57
  return SamplePlugin