@camstack/server 1.2.23 → 1.2.25

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.
@@ -1232,6 +1232,31 @@ function createCapRouter_backup(getProvider, createRemoteProxy) {
1232
1232
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
1233
1233
  return p.previewSchedule(methodInput);
1234
1234
  }),
1235
+ listSchedules: trpc_middleware_js_1.adminProcedure
1236
+ .input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
1237
+ .output(types_20.backupCapability.methods.listSchedules.output)
1238
+ .query(async ({ input, ctx }) => {
1239
+ const p = resolveProvider('backup', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
1240
+ return p.listSchedules();
1241
+ }),
1242
+ upsertSchedule: trpc_middleware_js_1.adminProcedure
1243
+ .input(types_20.backupCapability.methods.upsertSchedule.input.loose())
1244
+ .output(types_20.backupCapability.methods.upsertSchedule.output)
1245
+ .mutation(async ({ input, ctx }) => {
1246
+ const { nodeId, ...methodInput } = input;
1247
+ const p = resolveProvider('backup', nodeId, () => getProvider(ctx), createRemoteProxy);
1248
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
1249
+ return p.upsertSchedule(methodInput);
1250
+ }),
1251
+ deleteSchedule: trpc_middleware_js_1.adminProcedure
1252
+ .input(types_20.backupCapability.methods.deleteSchedule.input.loose())
1253
+ .output(types_20.backupCapability.methods.deleteSchedule.output)
1254
+ .mutation(async ({ input, ctx }) => {
1255
+ const { nodeId, ...methodInput } = input;
1256
+ const p = resolveProvider('backup', nodeId, () => getProvider(ctx), createRemoteProxy);
1257
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
1258
+ return p.deleteSchedule(methodInput);
1259
+ }),
1235
1260
  });
1236
1261
  }
1237
1262
  function createCapRouter_battery(getProvider, createRemoteProxy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.23",
3
+ "version": "1.2.25",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -33,19 +33,19 @@
33
33
  ]
34
34
  },
35
35
  "dependencies": {
36
- "@camstack/addon-admin-ui": "1.2.14",
37
- "@camstack/addon-agent-ui": "1.2.5",
38
- "@camstack/addon-auth": "1.2.5",
39
- "@camstack/addon-decoder-nodeav": "1.2.5",
40
- "@camstack/addon-notifiers": "1.2.6",
41
- "@camstack/addon-pipeline": "1.2.18",
42
- "@camstack/addon-pipeline-orchestrator": "1.2.10",
43
- "@camstack/addon-post-analysis": "1.2.15",
44
- "@camstack/sdk": "1.2.5",
45
- "@camstack/shm-ring": "1.1.5",
46
- "@camstack/system": "1.2.21",
47
- "@camstack/types": "1.2.15",
48
- "@camstack/ui-library": "1.2.11",
36
+ "@camstack/addon-admin-ui": "1.2.16",
37
+ "@camstack/addon-agent-ui": "1.2.6",
38
+ "@camstack/addon-auth": "1.2.6",
39
+ "@camstack/addon-decoder-nodeav": "1.2.6",
40
+ "@camstack/addon-notifiers": "1.2.7",
41
+ "@camstack/addon-pipeline": "1.2.19",
42
+ "@camstack/addon-pipeline-orchestrator": "1.2.11",
43
+ "@camstack/addon-post-analysis": "1.2.17",
44
+ "@camstack/sdk": "1.2.6",
45
+ "@camstack/shm-ring": "1.1.6",
46
+ "@camstack/system": "1.2.22",
47
+ "@camstack/types": "1.2.16",
48
+ "@camstack/ui-library": "1.2.12",
49
49
  "@fastify/compress": "^9.0.0",
50
50
  "@fastify/cookie": "^11.0.2",
51
51
  "@fastify/cors": "^11.2.0",