@camstack/server 1.2.358 → 1.2.359

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.
@@ -10769,6 +10769,22 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
10769
10769
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
10770
10770
  return p.getClipPlayback(methodInput);
10771
10771
  }),
10772
+ readClipBytes: trpc_middleware_js_1.protectedProcedure
10773
+ .input(types_126.videoclipsCapability.methods.readClipBytes.input.loose())
10774
+ .output(types_126.videoclipsCapability.methods.readClipBytes.output)
10775
+ .query(async ({ input, ctx }) => {
10776
+ const { nodeId, ...methodInput } = input;
10777
+ const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
10778
+ const fn = p.readClipBytes;
10779
+ if (typeof fn !== 'function') {
10780
+ throw new server_1.TRPCError({
10781
+ code: 'NOT_IMPLEMENTED',
10782
+ message: 'Capability "videoclips" provider does not implement "readClipBytes"',
10783
+ });
10784
+ }
10785
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
10786
+ return fn.call(p, methodInput);
10787
+ }),
10772
10788
  });
10773
10789
  }
10774
10790
  function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.358",
3
+ "version": "1.2.359",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -35,18 +35,18 @@
35
35
  ]
36
36
  },
37
37
  "dependencies": {
38
- "@camstack/addon-admin-ui": "1.2.247",
39
- "@camstack/addon-agent-ui": "1.2.135",
38
+ "@camstack/addon-admin-ui": "1.2.248",
39
+ "@camstack/addon-agent-ui": "1.2.136",
40
40
  "@camstack/addon-auth": "1.2.123",
41
41
  "@camstack/addon-decoder-nodeav": "1.2.115",
42
42
  "@camstack/addon-notifiers": "1.2.119",
43
- "@camstack/addon-pipeline": "1.2.274",
44
- "@camstack/addon-pipeline-orchestrator": "1.2.233",
43
+ "@camstack/addon-pipeline": "1.2.275",
44
+ "@camstack/addon-pipeline-orchestrator": "1.2.234",
45
45
  "@camstack/addon-post-analysis": "1.2.273",
46
46
  "@camstack/sdk": "1.2.118",
47
- "@camstack/system": "1.2.279",
48
- "@camstack/types": "1.2.237",
49
- "@camstack/ui-library": "1.2.193",
47
+ "@camstack/system": "1.2.280",
48
+ "@camstack/types": "1.2.238",
49
+ "@camstack/ui-library": "1.2.194",
50
50
  "@fastify/compress": "^9.0.0",
51
51
  "@fastify/cookie": "^11.0.2",
52
52
  "@fastify/cors": "^11.2.0",