@camstack/server 1.2.695 → 1.2.696
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/CHANGELOG.md +6 -0
- package/dist/agent/agent-update-service.js +32 -0
- package/dist/agent/main.js +2 -0
- package/dist/api/trpc/generated-cap-mounts.js +17 -1
- package/dist/api/trpc/generated-cap-routers.js +565 -550
- package/dist/boot/post-boot.service.js +25 -0
- package/dist/core/server-update/server-update.service.js +19 -0
- package/dist/core/updates/node-update-announcement.js +129 -0
- package/dist/server-root/index.js +15 -0
- package/package.json +8 -8
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// AUTO-GENERATED by scripts/generate-cap-routers.ts — DO NOT EDIT
|
|
3
3
|
// Re-run: npx tsx scripts/generate-cap-routers.ts
|
|
4
4
|
//
|
|
5
|
-
// Capabilities:
|
|
5
|
+
// Capabilities: 193
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.requireCapProvider = requireCapProvider;
|
|
@@ -154,6 +154,7 @@ exports.createCapRouter_recordingOnboard = createCapRouter_recordingOnboard;
|
|
|
154
154
|
exports.createCapRouter_recordingSignal = createCapRouter_recordingSignal;
|
|
155
155
|
exports.createCapRouter_records = createCapRouter_records;
|
|
156
156
|
exports.createCapRouter_remote = createCapRouter_remote;
|
|
157
|
+
exports.createCapRouter_remoteLayoutComponents = createCapRouter_remoteLayoutComponents;
|
|
157
158
|
exports.createCapRouter_runningState = createCapRouter_runningState;
|
|
158
159
|
exports.createCapRouter_sceneMonitor = createCapRouter_sceneMonitor;
|
|
159
160
|
exports.createCapRouter_scriptRunner = createCapRouter_scriptRunner;
|
|
@@ -363,6 +364,7 @@ const types_158 = require("@camstack/types");
|
|
|
363
364
|
const types_159 = require("@camstack/types");
|
|
364
365
|
const types_160 = require("@camstack/types");
|
|
365
366
|
const types_161 = require("@camstack/types");
|
|
367
|
+
const types_162 = require("@camstack/types");
|
|
366
368
|
// ── Provider Accessor ───────────────────────────────────────────────
|
|
367
369
|
function requireCapProvider(name, getProvider) {
|
|
368
370
|
const p = getProvider();
|
|
@@ -10870,6 +10872,19 @@ function createCapRouter_remote(getProvider, createRemoteProxy) {
|
|
|
10870
10872
|
}),
|
|
10871
10873
|
});
|
|
10872
10874
|
}
|
|
10875
|
+
function createCapRouter_remoteLayoutComponents(getProvider, createRemoteProxy) {
|
|
10876
|
+
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10877
|
+
listComponents: trpc_middleware_js_1.protectedProcedure
|
|
10878
|
+
.input(types_124.remoteLayoutComponentsCapability.methods.listComponents.input.loose())
|
|
10879
|
+
.output(types_124.remoteLayoutComponentsCapability.methods.listComponents.output)
|
|
10880
|
+
.query(async ({ input, ctx }) => {
|
|
10881
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
10882
|
+
const p = resolveProvider('remote-layout-components', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
10883
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
10884
|
+
return p.listComponents(methodInput);
|
|
10885
|
+
}),
|
|
10886
|
+
});
|
|
10887
|
+
}
|
|
10873
10888
|
function createCapRouter_runningState(getProvider, createRemoteProxy) {
|
|
10874
10889
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
10875
10890
|
getStatus: trpc_middleware_js_1.protectedProcedure
|
|
@@ -10895,8 +10910,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10895
10910
|
return p.getStatus(methodInput);
|
|
10896
10911
|
}),
|
|
10897
10912
|
listScenes: trpc_middleware_js_1.protectedProcedure
|
|
10898
|
-
.input(
|
|
10899
|
-
.output(
|
|
10913
|
+
.input(types_125.sceneMonitorCapability.methods.listScenes.input.loose())
|
|
10914
|
+
.output(types_125.sceneMonitorCapability.methods.listScenes.output)
|
|
10900
10915
|
.query(async ({ input, ctx }) => {
|
|
10901
10916
|
const { nodeId, ...methodInput } = input;
|
|
10902
10917
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10904,8 +10919,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10904
10919
|
return p.listScenes(methodInput);
|
|
10905
10920
|
}),
|
|
10906
10921
|
listScenesBatch: trpc_middleware_js_1.protectedProcedure
|
|
10907
|
-
.input(
|
|
10908
|
-
.output(
|
|
10922
|
+
.input(types_125.sceneMonitorCapability.methods.listScenesBatch.input.loose())
|
|
10923
|
+
.output(types_125.sceneMonitorCapability.methods.listScenesBatch.output)
|
|
10909
10924
|
.query(async ({ input, ctx }) => {
|
|
10910
10925
|
const { nodeId, ...methodInput } = input;
|
|
10911
10926
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10913,8 +10928,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10913
10928
|
return p.listScenesBatch(methodInput);
|
|
10914
10929
|
}),
|
|
10915
10930
|
createScene: trpc_middleware_js_1.adminProcedure
|
|
10916
|
-
.input(
|
|
10917
|
-
.output(
|
|
10931
|
+
.input(types_125.sceneMonitorCapability.methods.createScene.input.loose())
|
|
10932
|
+
.output(types_125.sceneMonitorCapability.methods.createScene.output)
|
|
10918
10933
|
.mutation(async ({ input, ctx }) => {
|
|
10919
10934
|
const { nodeId, ...methodInput } = input;
|
|
10920
10935
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10922,8 +10937,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10922
10937
|
return p.createScene(methodInput);
|
|
10923
10938
|
}),
|
|
10924
10939
|
updateScene: trpc_middleware_js_1.adminProcedure
|
|
10925
|
-
.input(
|
|
10926
|
-
.output(
|
|
10940
|
+
.input(types_125.sceneMonitorCapability.methods.updateScene.input.loose())
|
|
10941
|
+
.output(types_125.sceneMonitorCapability.methods.updateScene.output)
|
|
10927
10942
|
.mutation(async ({ input, ctx }) => {
|
|
10928
10943
|
const { nodeId, ...methodInput } = input;
|
|
10929
10944
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10931,8 +10946,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10931
10946
|
return p.updateScene(methodInput);
|
|
10932
10947
|
}),
|
|
10933
10948
|
deleteScene: trpc_middleware_js_1.adminProcedure
|
|
10934
|
-
.input(
|
|
10935
|
-
.output(
|
|
10949
|
+
.input(types_125.sceneMonitorCapability.methods.deleteScene.input.loose())
|
|
10950
|
+
.output(types_125.sceneMonitorCapability.methods.deleteScene.output)
|
|
10936
10951
|
.mutation(async ({ input, ctx }) => {
|
|
10937
10952
|
const { nodeId, ...methodInput } = input;
|
|
10938
10953
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10940,8 +10955,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10940
10955
|
return p.deleteScene(methodInput);
|
|
10941
10956
|
}),
|
|
10942
10957
|
captureReference: trpc_middleware_js_1.adminProcedure
|
|
10943
|
-
.input(
|
|
10944
|
-
.output(
|
|
10958
|
+
.input(types_125.sceneMonitorCapability.methods.captureReference.input.loose())
|
|
10959
|
+
.output(types_125.sceneMonitorCapability.methods.captureReference.output)
|
|
10945
10960
|
.mutation(async ({ input, ctx }) => {
|
|
10946
10961
|
const { nodeId, ...methodInput } = input;
|
|
10947
10962
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10949,8 +10964,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10949
10964
|
return p.captureReference(methodInput);
|
|
10950
10965
|
}),
|
|
10951
10966
|
deleteReference: trpc_middleware_js_1.adminProcedure
|
|
10952
|
-
.input(
|
|
10953
|
-
.output(
|
|
10967
|
+
.input(types_125.sceneMonitorCapability.methods.deleteReference.input.loose())
|
|
10968
|
+
.output(types_125.sceneMonitorCapability.methods.deleteReference.output)
|
|
10954
10969
|
.mutation(async ({ input, ctx }) => {
|
|
10955
10970
|
const { nodeId, ...methodInput } = input;
|
|
10956
10971
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10958,8 +10973,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10958
10973
|
return p.deleteReference(methodInput);
|
|
10959
10974
|
}),
|
|
10960
10975
|
recheckNow: trpc_middleware_js_1.adminProcedure
|
|
10961
|
-
.input(
|
|
10962
|
-
.output(
|
|
10976
|
+
.input(types_125.sceneMonitorCapability.methods.recheckNow.input.loose())
|
|
10977
|
+
.output(types_125.sceneMonitorCapability.methods.recheckNow.output)
|
|
10963
10978
|
.mutation(async ({ input, ctx }) => {
|
|
10964
10979
|
const { nodeId, ...methodInput } = input;
|
|
10965
10980
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10967,8 +10982,8 @@ function createCapRouter_sceneMonitor(getProvider, createRemoteProxy) {
|
|
|
10967
10982
|
return p.recheckNow(methodInput);
|
|
10968
10983
|
}),
|
|
10969
10984
|
resetScene: trpc_middleware_js_1.adminProcedure
|
|
10970
|
-
.input(
|
|
10971
|
-
.output(
|
|
10985
|
+
.input(types_125.sceneMonitorCapability.methods.resetScene.input.loose())
|
|
10986
|
+
.output(types_125.sceneMonitorCapability.methods.resetScene.output)
|
|
10972
10987
|
.mutation(async ({ input, ctx }) => {
|
|
10973
10988
|
const { nodeId, ...methodInput } = input;
|
|
10974
10989
|
const p = resolveProvider('scene-monitor', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10989,8 +11004,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
10989
11004
|
return p.getStatus(methodInput);
|
|
10990
11005
|
}),
|
|
10991
11006
|
run: trpc_middleware_js_1.adminProcedure
|
|
10992
|
-
.input(
|
|
10993
|
-
.output(
|
|
11007
|
+
.input(types_126.scriptRunnerCapability.methods.run.input.loose())
|
|
11008
|
+
.output(types_126.scriptRunnerCapability.methods.run.output)
|
|
10994
11009
|
.mutation(async ({ input, ctx }) => {
|
|
10995
11010
|
const { nodeId, ...methodInput } = input;
|
|
10996
11011
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -10998,8 +11013,8 @@ function createCapRouter_scriptRunner(getProvider, createRemoteProxy) {
|
|
|
10998
11013
|
return p.run(methodInput);
|
|
10999
11014
|
}),
|
|
11000
11015
|
stop: trpc_middleware_js_1.adminProcedure
|
|
11001
|
-
.input(
|
|
11002
|
-
.output(
|
|
11016
|
+
.input(types_126.scriptRunnerCapability.methods.stop.input.loose())
|
|
11017
|
+
.output(types_126.scriptRunnerCapability.methods.stop.output)
|
|
11003
11018
|
.mutation(async ({ input, ctx }) => {
|
|
11004
11019
|
const { nodeId, ...methodInput } = input;
|
|
11005
11020
|
const p = resolveProvider('script-runner', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11012,21 +11027,21 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11012
11027
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11013
11028
|
getServerPackageStatus: trpc_middleware_js_1.adminProcedure
|
|
11014
11029
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11015
|
-
.output(
|
|
11030
|
+
.output(types_127.serverManagementCapability.methods.getServerPackageStatus.output)
|
|
11016
11031
|
.query(async ({ input, ctx }) => {
|
|
11017
11032
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11018
11033
|
return p.getServerPackageStatus();
|
|
11019
11034
|
}),
|
|
11020
11035
|
checkServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11021
11036
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11022
|
-
.output(
|
|
11037
|
+
.output(types_127.serverManagementCapability.methods.checkServerUpdate.output)
|
|
11023
11038
|
.mutation(async ({ input, ctx }) => {
|
|
11024
11039
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11025
11040
|
return p.checkServerUpdate();
|
|
11026
11041
|
}),
|
|
11027
11042
|
applyServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11028
|
-
.input(
|
|
11029
|
-
.output(
|
|
11043
|
+
.input(types_127.serverManagementCapability.methods.applyServerUpdate.input.loose())
|
|
11044
|
+
.output(types_127.serverManagementCapability.methods.applyServerUpdate.output)
|
|
11030
11045
|
.mutation(async ({ input, ctx }) => {
|
|
11031
11046
|
const { nodeId, ...methodInput } = input;
|
|
11032
11047
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11035,35 +11050,35 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11035
11050
|
}),
|
|
11036
11051
|
installDesktopUpdate: trpc_middleware_js_1.adminProcedure
|
|
11037
11052
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11038
|
-
.output(
|
|
11053
|
+
.output(types_127.serverManagementCapability.methods.installDesktopUpdate.output)
|
|
11039
11054
|
.mutation(async ({ input, ctx }) => {
|
|
11040
11055
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11041
11056
|
return p.installDesktopUpdate();
|
|
11042
11057
|
}),
|
|
11043
11058
|
rollbackServerUpdate: trpc_middleware_js_1.adminProcedure
|
|
11044
11059
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11045
|
-
.output(
|
|
11060
|
+
.output(types_127.serverManagementCapability.methods.rollbackServerUpdate.output)
|
|
11046
11061
|
.mutation(async ({ input, ctx }) => {
|
|
11047
11062
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11048
11063
|
return p.rollbackServerUpdate();
|
|
11049
11064
|
}),
|
|
11050
11065
|
restartServer: trpc_middleware_js_1.adminProcedure
|
|
11051
11066
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11052
|
-
.output(
|
|
11067
|
+
.output(types_127.serverManagementCapability.methods.restartServer.output)
|
|
11053
11068
|
.mutation(async ({ input, ctx }) => {
|
|
11054
11069
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11055
11070
|
return p.restartServer();
|
|
11056
11071
|
}),
|
|
11057
11072
|
getLaunchOverrides: trpc_middleware_js_1.adminProcedure
|
|
11058
11073
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11059
|
-
.output(
|
|
11074
|
+
.output(types_127.serverManagementCapability.methods.getLaunchOverrides.output)
|
|
11060
11075
|
.query(async ({ input, ctx }) => {
|
|
11061
11076
|
const p = resolveProvider('server-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11062
11077
|
return p.getLaunchOverrides();
|
|
11063
11078
|
}),
|
|
11064
11079
|
setLaunchOverrides: trpc_middleware_js_1.adminProcedure
|
|
11065
|
-
.input(
|
|
11066
|
-
.output(
|
|
11080
|
+
.input(types_127.serverManagementCapability.methods.setLaunchOverrides.input.loose())
|
|
11081
|
+
.output(types_127.serverManagementCapability.methods.setLaunchOverrides.output)
|
|
11067
11082
|
.mutation(async ({ input, ctx }) => {
|
|
11068
11083
|
const { nodeId, ...methodInput } = input;
|
|
11069
11084
|
const p = resolveProvider('server-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11075,8 +11090,8 @@ function createCapRouter_serverManagement(getProvider, createRemoteProxy) {
|
|
|
11075
11090
|
function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
11076
11091
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11077
11092
|
get: trpc_middleware_js_1.adminProcedure
|
|
11078
|
-
.input(
|
|
11079
|
-
.output(
|
|
11093
|
+
.input(types_128.settingsStoreCapability.methods.get.input.loose())
|
|
11094
|
+
.output(types_128.settingsStoreCapability.methods.get.output)
|
|
11080
11095
|
.query(async ({ input, ctx }) => {
|
|
11081
11096
|
const { nodeId, ...methodInput } = input;
|
|
11082
11097
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11084,8 +11099,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11084
11099
|
return p.get(methodInput);
|
|
11085
11100
|
}),
|
|
11086
11101
|
set: trpc_middleware_js_1.adminProcedure
|
|
11087
|
-
.input(
|
|
11088
|
-
.output(
|
|
11102
|
+
.input(types_128.settingsStoreCapability.methods.set.input.loose())
|
|
11103
|
+
.output(types_128.settingsStoreCapability.methods.set.output)
|
|
11089
11104
|
.mutation(async ({ input, ctx }) => {
|
|
11090
11105
|
const { nodeId, ...methodInput } = input;
|
|
11091
11106
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11093,8 +11108,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11093
11108
|
return p.set(methodInput);
|
|
11094
11109
|
}),
|
|
11095
11110
|
query: trpc_middleware_js_1.adminProcedure
|
|
11096
|
-
.input(
|
|
11097
|
-
.output(
|
|
11111
|
+
.input(types_128.settingsStoreCapability.methods.query.input.loose())
|
|
11112
|
+
.output(types_128.settingsStoreCapability.methods.query.output)
|
|
11098
11113
|
.query(async ({ input, ctx }) => {
|
|
11099
11114
|
const { nodeId, ...methodInput } = input;
|
|
11100
11115
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11102,8 +11117,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11102
11117
|
return p.query(methodInput);
|
|
11103
11118
|
}),
|
|
11104
11119
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
11105
|
-
.input(
|
|
11106
|
-
.output(
|
|
11120
|
+
.input(types_128.settingsStoreCapability.methods.upsert.input.loose())
|
|
11121
|
+
.output(types_128.settingsStoreCapability.methods.upsert.output)
|
|
11107
11122
|
.mutation(async ({ input, ctx }) => {
|
|
11108
11123
|
const { nodeId, ...methodInput } = input;
|
|
11109
11124
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11111,8 +11126,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11111
11126
|
return p.upsert(methodInput);
|
|
11112
11127
|
}),
|
|
11113
11128
|
upsertMany: trpc_middleware_js_1.adminProcedure
|
|
11114
|
-
.input(
|
|
11115
|
-
.output(
|
|
11129
|
+
.input(types_128.settingsStoreCapability.methods.upsertMany.input.loose())
|
|
11130
|
+
.output(types_128.settingsStoreCapability.methods.upsertMany.output)
|
|
11116
11131
|
.mutation(async ({ input, ctx }) => {
|
|
11117
11132
|
const { nodeId, ...methodInput } = input;
|
|
11118
11133
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11120,8 +11135,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11120
11135
|
return p.upsertMany(methodInput);
|
|
11121
11136
|
}),
|
|
11122
11137
|
insert: trpc_middleware_js_1.adminProcedure
|
|
11123
|
-
.input(
|
|
11124
|
-
.output(
|
|
11138
|
+
.input(types_128.settingsStoreCapability.methods.insert.input.loose())
|
|
11139
|
+
.output(types_128.settingsStoreCapability.methods.insert.output)
|
|
11125
11140
|
.mutation(async ({ input, ctx }) => {
|
|
11126
11141
|
const { nodeId, ...methodInput } = input;
|
|
11127
11142
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11129,8 +11144,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11129
11144
|
return p.insert(methodInput);
|
|
11130
11145
|
}),
|
|
11131
11146
|
insertMany: trpc_middleware_js_1.adminProcedure
|
|
11132
|
-
.input(
|
|
11133
|
-
.output(
|
|
11147
|
+
.input(types_128.settingsStoreCapability.methods.insertMany.input.loose())
|
|
11148
|
+
.output(types_128.settingsStoreCapability.methods.insertMany.output)
|
|
11134
11149
|
.mutation(async ({ input, ctx }) => {
|
|
11135
11150
|
const { nodeId, ...methodInput } = input;
|
|
11136
11151
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11138,8 +11153,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11138
11153
|
return p.insertMany(methodInput);
|
|
11139
11154
|
}),
|
|
11140
11155
|
transact: trpc_middleware_js_1.adminProcedure
|
|
11141
|
-
.input(
|
|
11142
|
-
.output(
|
|
11156
|
+
.input(types_128.settingsStoreCapability.methods.transact.input.loose())
|
|
11157
|
+
.output(types_128.settingsStoreCapability.methods.transact.output)
|
|
11143
11158
|
.mutation(async ({ input, ctx }) => {
|
|
11144
11159
|
const { nodeId, ...methodInput } = input;
|
|
11145
11160
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11147,8 +11162,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11147
11162
|
return p.transact(methodInput);
|
|
11148
11163
|
}),
|
|
11149
11164
|
update: trpc_middleware_js_1.adminProcedure
|
|
11150
|
-
.input(
|
|
11151
|
-
.output(
|
|
11165
|
+
.input(types_128.settingsStoreCapability.methods.update.input.loose())
|
|
11166
|
+
.output(types_128.settingsStoreCapability.methods.update.output)
|
|
11152
11167
|
.mutation(async ({ input, ctx }) => {
|
|
11153
11168
|
const { nodeId, ...methodInput } = input;
|
|
11154
11169
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11156,8 +11171,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11156
11171
|
return p.update(methodInput);
|
|
11157
11172
|
}),
|
|
11158
11173
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11159
|
-
.input(
|
|
11160
|
-
.output(
|
|
11174
|
+
.input(types_128.settingsStoreCapability.methods.delete.input.loose())
|
|
11175
|
+
.output(types_128.settingsStoreCapability.methods.delete.output)
|
|
11161
11176
|
.mutation(async ({ input, ctx }) => {
|
|
11162
11177
|
const { nodeId, ...methodInput } = input;
|
|
11163
11178
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11165,8 +11180,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11165
11180
|
return p.delete(methodInput);
|
|
11166
11181
|
}),
|
|
11167
11182
|
deleteWhere: trpc_middleware_js_1.adminProcedure
|
|
11168
|
-
.input(
|
|
11169
|
-
.output(
|
|
11183
|
+
.input(types_128.settingsStoreCapability.methods.deleteWhere.input.loose())
|
|
11184
|
+
.output(types_128.settingsStoreCapability.methods.deleteWhere.output)
|
|
11170
11185
|
.mutation(async ({ input, ctx }) => {
|
|
11171
11186
|
const { nodeId, ...methodInput } = input;
|
|
11172
11187
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11174,8 +11189,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11174
11189
|
return p.deleteWhere(methodInput);
|
|
11175
11190
|
}),
|
|
11176
11191
|
updateWhere: trpc_middleware_js_1.adminProcedure
|
|
11177
|
-
.input(
|
|
11178
|
-
.output(
|
|
11192
|
+
.input(types_128.settingsStoreCapability.methods.updateWhere.input.loose())
|
|
11193
|
+
.output(types_128.settingsStoreCapability.methods.updateWhere.output)
|
|
11179
11194
|
.mutation(async ({ input, ctx }) => {
|
|
11180
11195
|
const { nodeId, ...methodInput } = input;
|
|
11181
11196
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11183,8 +11198,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11183
11198
|
return p.updateWhere(methodInput);
|
|
11184
11199
|
}),
|
|
11185
11200
|
count: trpc_middleware_js_1.adminProcedure
|
|
11186
|
-
.input(
|
|
11187
|
-
.output(
|
|
11201
|
+
.input(types_128.settingsStoreCapability.methods.count.input.loose())
|
|
11202
|
+
.output(types_128.settingsStoreCapability.methods.count.output)
|
|
11188
11203
|
.query(async ({ input, ctx }) => {
|
|
11189
11204
|
const { nodeId, ...methodInput } = input;
|
|
11190
11205
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11192,8 +11207,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11192
11207
|
return p.count(methodInput);
|
|
11193
11208
|
}),
|
|
11194
11209
|
aggregate: trpc_middleware_js_1.adminProcedure
|
|
11195
|
-
.input(
|
|
11196
|
-
.output(
|
|
11210
|
+
.input(types_128.settingsStoreCapability.methods.aggregate.input.loose())
|
|
11211
|
+
.output(types_128.settingsStoreCapability.methods.aggregate.output)
|
|
11197
11212
|
.query(async ({ input, ctx }) => {
|
|
11198
11213
|
const { nodeId, ...methodInput } = input;
|
|
11199
11214
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11201,8 +11216,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11201
11216
|
return p.aggregate(methodInput);
|
|
11202
11217
|
}),
|
|
11203
11218
|
histogram: trpc_middleware_js_1.adminProcedure
|
|
11204
|
-
.input(
|
|
11205
|
-
.output(
|
|
11219
|
+
.input(types_128.settingsStoreCapability.methods.histogram.input.loose())
|
|
11220
|
+
.output(types_128.settingsStoreCapability.methods.histogram.output)
|
|
11206
11221
|
.query(async ({ input, ctx }) => {
|
|
11207
11222
|
const { nodeId, ...methodInput } = input;
|
|
11208
11223
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11210,8 +11225,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11210
11225
|
return p.histogram(methodInput);
|
|
11211
11226
|
}),
|
|
11212
11227
|
isEmpty: trpc_middleware_js_1.adminProcedure
|
|
11213
|
-
.input(
|
|
11214
|
-
.output(
|
|
11228
|
+
.input(types_128.settingsStoreCapability.methods.isEmpty.input.loose())
|
|
11229
|
+
.output(types_128.settingsStoreCapability.methods.isEmpty.output)
|
|
11215
11230
|
.query(async ({ input, ctx }) => {
|
|
11216
11231
|
const { nodeId, ...methodInput } = input;
|
|
11217
11232
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11219,8 +11234,8 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
11219
11234
|
return p.isEmpty(methodInput);
|
|
11220
11235
|
}),
|
|
11221
11236
|
declareCollection: trpc_middleware_js_1.adminProcedure
|
|
11222
|
-
.input(
|
|
11223
|
-
.output(
|
|
11237
|
+
.input(types_128.settingsStoreCapability.methods.declareCollection.input.loose())
|
|
11238
|
+
.output(types_128.settingsStoreCapability.methods.declareCollection.output)
|
|
11224
11239
|
.mutation(async ({ input, ctx }) => {
|
|
11225
11240
|
const { nodeId, ...methodInput } = input;
|
|
11226
11241
|
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11245,8 +11260,8 @@ function createCapRouter_smoke(getProvider, createRemoteProxy) {
|
|
|
11245
11260
|
function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
11246
11261
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11247
11262
|
sendEmail: trpc_middleware_js_1.adminProcedure
|
|
11248
|
-
.input(
|
|
11249
|
-
.output(
|
|
11263
|
+
.input(types_129.smtpProviderCapability.methods.sendEmail.input.loose())
|
|
11264
|
+
.output(types_129.smtpProviderCapability.methods.sendEmail.output)
|
|
11250
11265
|
.mutation(async ({ input, ctx }) => {
|
|
11251
11266
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11252
11267
|
const p = resolveProvider('smtp-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11255,7 +11270,7 @@ function createCapRouter_smtpProvider(getProvider, createRemoteProxy) {
|
|
|
11255
11270
|
}),
|
|
11256
11271
|
verify: trpc_middleware_js_1.adminProcedure
|
|
11257
11272
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11258
|
-
.output(
|
|
11273
|
+
.output(types_129.smtpProviderCapability.methods.verify.output)
|
|
11259
11274
|
.mutation(async ({ input, ctx }) => {
|
|
11260
11275
|
const p = resolveProvider('smtp-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11261
11276
|
return p.verify();
|
|
@@ -11308,8 +11323,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11308
11323
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
11309
11324
|
}),
|
|
11310
11325
|
getSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
11311
|
-
.input(
|
|
11312
|
-
.output(
|
|
11326
|
+
.input(types_130.snapshotCapability.methods.getSnapshot.input.loose())
|
|
11327
|
+
.output(types_130.snapshotCapability.methods.getSnapshot.output)
|
|
11313
11328
|
.query(async ({ input, ctx }) => {
|
|
11314
11329
|
const { nodeId, ...methodInput } = input;
|
|
11315
11330
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11317,8 +11332,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11317
11332
|
return p.getSnapshot(methodInput);
|
|
11318
11333
|
}),
|
|
11319
11334
|
invalidateCache: trpc_middleware_js_1.adminProcedure
|
|
11320
|
-
.input(
|
|
11321
|
-
.output(
|
|
11335
|
+
.input(types_130.snapshotCapability.methods.invalidateCache.input.loose())
|
|
11336
|
+
.output(types_130.snapshotCapability.methods.invalidateCache.output)
|
|
11322
11337
|
.mutation(async ({ input, ctx }) => {
|
|
11323
11338
|
const { nodeId, ...methodInput } = input;
|
|
11324
11339
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11326,8 +11341,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11326
11341
|
return p.invalidateCache(methodInput);
|
|
11327
11342
|
}),
|
|
11328
11343
|
getSnapshotOverview: trpc_middleware_js_1.protectedProcedure
|
|
11329
|
-
.input(
|
|
11330
|
-
.output(
|
|
11344
|
+
.input(types_130.snapshotCapability.methods.getSnapshotOverview.input.loose())
|
|
11345
|
+
.output(types_130.snapshotCapability.methods.getSnapshotOverview.output)
|
|
11331
11346
|
.query(async ({ input, ctx }) => {
|
|
11332
11347
|
const { nodeId, ...methodInput } = input;
|
|
11333
11348
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11335,8 +11350,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11335
11350
|
return p.getSnapshotOverview(methodInput);
|
|
11336
11351
|
}),
|
|
11337
11352
|
getDebugState: trpc_middleware_js_1.protectedProcedure
|
|
11338
|
-
.input(
|
|
11339
|
-
.output(
|
|
11353
|
+
.input(types_130.snapshotCapability.methods.getDebugState.input.loose())
|
|
11354
|
+
.output(types_130.snapshotCapability.methods.getDebugState.output)
|
|
11340
11355
|
.query(async ({ input, ctx }) => {
|
|
11341
11356
|
const { nodeId, ...methodInput } = input;
|
|
11342
11357
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11344,8 +11359,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11344
11359
|
return p.getDebugState(methodInput);
|
|
11345
11360
|
}),
|
|
11346
11361
|
getSnapshotLinks: trpc_middleware_js_1.protectedProcedure
|
|
11347
|
-
.input(
|
|
11348
|
-
.output(
|
|
11362
|
+
.input(types_130.snapshotCapability.methods.getSnapshotLinks.input.loose())
|
|
11363
|
+
.output(types_130.snapshotCapability.methods.getSnapshotLinks.output)
|
|
11349
11364
|
.query(async ({ input, ctx }) => {
|
|
11350
11365
|
const { nodeId, ...methodInput } = input;
|
|
11351
11366
|
const p = resolveProvider('snapshot', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11357,8 +11372,8 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
11357
11372
|
function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
11358
11373
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11359
11374
|
signBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
11360
|
-
.input(
|
|
11361
|
-
.output(
|
|
11375
|
+
.input(types_131.ssoBridgeCapability.methods.signBridgeToken.input.loose())
|
|
11376
|
+
.output(types_131.ssoBridgeCapability.methods.signBridgeToken.output)
|
|
11362
11377
|
.query(async ({ input, ctx }) => {
|
|
11363
11378
|
const { nodeId, ...methodInput } = input;
|
|
11364
11379
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11366,8 +11381,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
11366
11381
|
return p.signBridgeToken(methodInput);
|
|
11367
11382
|
}),
|
|
11368
11383
|
verifyBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
11369
|
-
.input(
|
|
11370
|
-
.output(
|
|
11384
|
+
.input(types_131.ssoBridgeCapability.methods.verifyBridgeToken.input.loose())
|
|
11385
|
+
.output(types_131.ssoBridgeCapability.methods.verifyBridgeToken.output)
|
|
11371
11386
|
.query(async ({ input, ctx }) => {
|
|
11372
11387
|
const { nodeId, ...methodInput } = input;
|
|
11373
11388
|
const p = resolveProvider('sso-bridge', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11379,8 +11394,8 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
11379
11394
|
function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
11380
11395
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11381
11396
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
11382
|
-
.input(
|
|
11383
|
-
.output(
|
|
11397
|
+
.input(types_132.storageCapability.methods.resolve.input.loose())
|
|
11398
|
+
.output(types_132.storageCapability.methods.resolve.output)
|
|
11384
11399
|
.query(async ({ input, ctx }) => {
|
|
11385
11400
|
const { nodeId, ...methodInput } = input;
|
|
11386
11401
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11388,8 +11403,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11388
11403
|
return p.resolve(methodInput);
|
|
11389
11404
|
}),
|
|
11390
11405
|
write: trpc_middleware_js_1.adminProcedure
|
|
11391
|
-
.input(
|
|
11392
|
-
.output(
|
|
11406
|
+
.input(types_132.storageCapability.methods.write.input.loose())
|
|
11407
|
+
.output(types_132.storageCapability.methods.write.output)
|
|
11393
11408
|
.mutation(async ({ input, ctx }) => {
|
|
11394
11409
|
const { nodeId, ...methodInput } = input;
|
|
11395
11410
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11397,8 +11412,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11397
11412
|
return p.write(methodInput);
|
|
11398
11413
|
}),
|
|
11399
11414
|
read: trpc_middleware_js_1.adminProcedure
|
|
11400
|
-
.input(
|
|
11401
|
-
.output(
|
|
11415
|
+
.input(types_132.storageCapability.methods.read.input.loose())
|
|
11416
|
+
.output(types_132.storageCapability.methods.read.output)
|
|
11402
11417
|
.query(async ({ input, ctx }) => {
|
|
11403
11418
|
const { nodeId, ...methodInput } = input;
|
|
11404
11419
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11406,8 +11421,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11406
11421
|
return p.read(methodInput);
|
|
11407
11422
|
}),
|
|
11408
11423
|
exists: trpc_middleware_js_1.adminProcedure
|
|
11409
|
-
.input(
|
|
11410
|
-
.output(
|
|
11424
|
+
.input(types_132.storageCapability.methods.exists.input.loose())
|
|
11425
|
+
.output(types_132.storageCapability.methods.exists.output)
|
|
11411
11426
|
.query(async ({ input, ctx }) => {
|
|
11412
11427
|
const { nodeId, ...methodInput } = input;
|
|
11413
11428
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11415,8 +11430,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11415
11430
|
return p.exists(methodInput);
|
|
11416
11431
|
}),
|
|
11417
11432
|
list: trpc_middleware_js_1.adminProcedure
|
|
11418
|
-
.input(
|
|
11419
|
-
.output(
|
|
11433
|
+
.input(types_132.storageCapability.methods.list.input.loose())
|
|
11434
|
+
.output(types_132.storageCapability.methods.list.output)
|
|
11420
11435
|
.query(async ({ input, ctx }) => {
|
|
11421
11436
|
const { nodeId, ...methodInput } = input;
|
|
11422
11437
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11424,8 +11439,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11424
11439
|
return p.list(methodInput);
|
|
11425
11440
|
}),
|
|
11426
11441
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11427
|
-
.input(
|
|
11428
|
-
.output(
|
|
11442
|
+
.input(types_132.storageCapability.methods.delete.input.loose())
|
|
11443
|
+
.output(types_132.storageCapability.methods.delete.output)
|
|
11429
11444
|
.mutation(async ({ input, ctx }) => {
|
|
11430
11445
|
const { nodeId, ...methodInput } = input;
|
|
11431
11446
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11433,8 +11448,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11433
11448
|
return p.delete(methodInput);
|
|
11434
11449
|
}),
|
|
11435
11450
|
getAvailableSpace: trpc_middleware_js_1.protectedProcedure
|
|
11436
|
-
.input(
|
|
11437
|
-
.output(
|
|
11451
|
+
.input(types_132.storageCapability.methods.getAvailableSpace.input.loose())
|
|
11452
|
+
.output(types_132.storageCapability.methods.getAvailableSpace.output)
|
|
11438
11453
|
.query(async ({ input, ctx }) => {
|
|
11439
11454
|
const { nodeId, ...methodInput } = input;
|
|
11440
11455
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11442,8 +11457,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11442
11457
|
return p.getAvailableSpace(methodInput);
|
|
11443
11458
|
}),
|
|
11444
11459
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
11445
|
-
.input(
|
|
11446
|
-
.output(
|
|
11460
|
+
.input(types_132.storageCapability.methods.beginUpload.input.loose())
|
|
11461
|
+
.output(types_132.storageCapability.methods.beginUpload.output)
|
|
11447
11462
|
.mutation(async ({ input, ctx }) => {
|
|
11448
11463
|
const { nodeId, ...methodInput } = input;
|
|
11449
11464
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11451,8 +11466,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11451
11466
|
return p.beginUpload(methodInput);
|
|
11452
11467
|
}),
|
|
11453
11468
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
11454
|
-
.input(
|
|
11455
|
-
.output(
|
|
11469
|
+
.input(types_132.storageCapability.methods.writeChunk.input.loose())
|
|
11470
|
+
.output(types_132.storageCapability.methods.writeChunk.output)
|
|
11456
11471
|
.mutation(async ({ input, ctx }) => {
|
|
11457
11472
|
const { nodeId, ...methodInput } = input;
|
|
11458
11473
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11460,8 +11475,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11460
11475
|
return p.writeChunk(methodInput);
|
|
11461
11476
|
}),
|
|
11462
11477
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
11463
|
-
.input(
|
|
11464
|
-
.output(
|
|
11478
|
+
.input(types_132.storageCapability.methods.finalizeUpload.input.loose())
|
|
11479
|
+
.output(types_132.storageCapability.methods.finalizeUpload.output)
|
|
11465
11480
|
.mutation(async ({ input, ctx }) => {
|
|
11466
11481
|
const { nodeId, ...methodInput } = input;
|
|
11467
11482
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11469,8 +11484,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11469
11484
|
return p.finalizeUpload(methodInput);
|
|
11470
11485
|
}),
|
|
11471
11486
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
11472
|
-
.input(
|
|
11473
|
-
.output(
|
|
11487
|
+
.input(types_132.storageCapability.methods.abortUpload.input.loose())
|
|
11488
|
+
.output(types_132.storageCapability.methods.abortUpload.output)
|
|
11474
11489
|
.mutation(async ({ input, ctx }) => {
|
|
11475
11490
|
const { nodeId, ...methodInput } = input;
|
|
11476
11491
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11478,8 +11493,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11478
11493
|
return p.abortUpload(methodInput);
|
|
11479
11494
|
}),
|
|
11480
11495
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
11481
|
-
.input(
|
|
11482
|
-
.output(
|
|
11496
|
+
.input(types_132.storageCapability.methods.beginDownload.input.loose())
|
|
11497
|
+
.output(types_132.storageCapability.methods.beginDownload.output)
|
|
11483
11498
|
.mutation(async ({ input, ctx }) => {
|
|
11484
11499
|
const { nodeId, ...methodInput } = input;
|
|
11485
11500
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11487,8 +11502,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11487
11502
|
return p.beginDownload(methodInput);
|
|
11488
11503
|
}),
|
|
11489
11504
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
11490
|
-
.input(
|
|
11491
|
-
.output(
|
|
11505
|
+
.input(types_132.storageCapability.methods.readChunk.input.loose())
|
|
11506
|
+
.output(types_132.storageCapability.methods.readChunk.output)
|
|
11492
11507
|
.query(async ({ input, ctx }) => {
|
|
11493
11508
|
const { nodeId, ...methodInput } = input;
|
|
11494
11509
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11496,8 +11511,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11496
11511
|
return p.readChunk(methodInput);
|
|
11497
11512
|
}),
|
|
11498
11513
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
11499
|
-
.input(
|
|
11500
|
-
.output(
|
|
11514
|
+
.input(types_132.storageCapability.methods.endDownload.input.loose())
|
|
11515
|
+
.output(types_132.storageCapability.methods.endDownload.output)
|
|
11501
11516
|
.mutation(async ({ input, ctx }) => {
|
|
11502
11517
|
const { nodeId, ...methodInput } = input;
|
|
11503
11518
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11505,8 +11520,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11505
11520
|
return p.endDownload(methodInput);
|
|
11506
11521
|
}),
|
|
11507
11522
|
listLocations: trpc_middleware_js_1.protectedProcedure
|
|
11508
|
-
.input(
|
|
11509
|
-
.output(
|
|
11523
|
+
.input(types_132.storageCapability.methods.listLocations.input.loose())
|
|
11524
|
+
.output(types_132.storageCapability.methods.listLocations.output)
|
|
11510
11525
|
.query(async ({ input, ctx }) => {
|
|
11511
11526
|
const { nodeId, ...methodInput } = input;
|
|
11512
11527
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11515,14 +11530,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11515
11530
|
}),
|
|
11516
11531
|
listLocationDeclarations: trpc_middleware_js_1.protectedProcedure
|
|
11517
11532
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11518
|
-
.output(
|
|
11533
|
+
.output(types_132.storageCapability.methods.listLocationDeclarations.output)
|
|
11519
11534
|
.query(async ({ input, ctx }) => {
|
|
11520
11535
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11521
11536
|
return p.listLocationDeclarations();
|
|
11522
11537
|
}),
|
|
11523
11538
|
upsertLocation: trpc_middleware_js_1.adminProcedure
|
|
11524
|
-
.input(
|
|
11525
|
-
.output(
|
|
11539
|
+
.input(types_132.storageCapability.methods.upsertLocation.input.loose())
|
|
11540
|
+
.output(types_132.storageCapability.methods.upsertLocation.output)
|
|
11526
11541
|
.mutation(async ({ input, ctx }) => {
|
|
11527
11542
|
const { nodeId, ...methodInput } = input;
|
|
11528
11543
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11530,8 +11545,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11530
11545
|
return p.upsertLocation(methodInput);
|
|
11531
11546
|
}),
|
|
11532
11547
|
deleteLocation: trpc_middleware_js_1.adminProcedure
|
|
11533
|
-
.input(
|
|
11534
|
-
.output(
|
|
11548
|
+
.input(types_132.storageCapability.methods.deleteLocation.input.loose())
|
|
11549
|
+
.output(types_132.storageCapability.methods.deleteLocation.output)
|
|
11535
11550
|
.mutation(async ({ input, ctx }) => {
|
|
11536
11551
|
const { nodeId, ...methodInput } = input;
|
|
11537
11552
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11540,14 +11555,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11540
11555
|
}),
|
|
11541
11556
|
listDrainProgress: trpc_middleware_js_1.protectedProcedure
|
|
11542
11557
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11543
|
-
.output(
|
|
11558
|
+
.output(types_132.storageCapability.methods.listDrainProgress.output)
|
|
11544
11559
|
.query(async ({ input, ctx }) => {
|
|
11545
11560
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11546
11561
|
return p.listDrainProgress();
|
|
11547
11562
|
}),
|
|
11548
11563
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
11549
|
-
.input(
|
|
11550
|
-
.output(
|
|
11564
|
+
.input(types_132.storageCapability.methods.testLocation.input.loose())
|
|
11565
|
+
.output(types_132.storageCapability.methods.testLocation.output)
|
|
11551
11566
|
.query(async ({ input, ctx }) => {
|
|
11552
11567
|
const { nodeId, ...methodInput } = input;
|
|
11553
11568
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11556,14 +11571,14 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11556
11571
|
}),
|
|
11557
11572
|
listProviders: trpc_middleware_js_1.protectedProcedure
|
|
11558
11573
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
11559
|
-
.output(
|
|
11574
|
+
.output(types_132.storageCapability.methods.listProviders.output)
|
|
11560
11575
|
.query(async ({ input, ctx }) => {
|
|
11561
11576
|
const p = resolveProvider('storage', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
11562
11577
|
return p.listProviders();
|
|
11563
11578
|
}),
|
|
11564
11579
|
testConfig: trpc_middleware_js_1.adminProcedure
|
|
11565
|
-
.input(
|
|
11566
|
-
.output(
|
|
11580
|
+
.input(types_132.storageCapability.methods.testConfig.input.loose())
|
|
11581
|
+
.output(types_132.storageCapability.methods.testConfig.output)
|
|
11567
11582
|
.query(async ({ input, ctx }) => {
|
|
11568
11583
|
const { nodeId, ...methodInput } = input;
|
|
11569
11584
|
const p = resolveProvider('storage', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11575,8 +11590,8 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
11575
11590
|
function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
11576
11591
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11577
11592
|
listTables: trpc_middleware_js_1.adminProcedure
|
|
11578
|
-
.input(
|
|
11579
|
-
.output(
|
|
11593
|
+
.input(types_133.storageAdminCapability.methods.listTables.input.loose())
|
|
11594
|
+
.output(types_133.storageAdminCapability.methods.listTables.output)
|
|
11580
11595
|
.query(async ({ input, ctx }) => {
|
|
11581
11596
|
const { nodeId, ...methodInput } = input;
|
|
11582
11597
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11584,8 +11599,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11584
11599
|
return p.listTables(methodInput);
|
|
11585
11600
|
}),
|
|
11586
11601
|
listKinds: trpc_middleware_js_1.adminProcedure
|
|
11587
|
-
.input(
|
|
11588
|
-
.output(
|
|
11602
|
+
.input(types_133.storageAdminCapability.methods.listKinds.input.loose())
|
|
11603
|
+
.output(types_133.storageAdminCapability.methods.listKinds.output)
|
|
11589
11604
|
.query(async ({ input, ctx }) => {
|
|
11590
11605
|
const { nodeId, ...methodInput } = input;
|
|
11591
11606
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11593,8 +11608,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11593
11608
|
return p.listKinds(methodInput);
|
|
11594
11609
|
}),
|
|
11595
11610
|
readRecords: trpc_middleware_js_1.adminProcedure
|
|
11596
|
-
.input(
|
|
11597
|
-
.output(
|
|
11611
|
+
.input(types_133.storageAdminCapability.methods.readRecords.input.loose())
|
|
11612
|
+
.output(types_133.storageAdminCapability.methods.readRecords.output)
|
|
11598
11613
|
.query(async ({ input, ctx }) => {
|
|
11599
11614
|
const { nodeId, ...methodInput } = input;
|
|
11600
11615
|
const p = resolveProvider('storage-admin', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11606,8 +11621,8 @@ function createCapRouter_storageAdmin(getProvider, createRemoteProxy) {
|
|
|
11606
11621
|
function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
11607
11622
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11608
11623
|
getEvictableUsage: trpc_middleware_js_1.adminProcedure
|
|
11609
|
-
.input(
|
|
11610
|
-
.output(
|
|
11624
|
+
.input(types_134.storageEvictableCapability.methods.getEvictableUsage.input.loose())
|
|
11625
|
+
.output(types_134.storageEvictableCapability.methods.getEvictableUsage.output)
|
|
11611
11626
|
.query(async ({ input, ctx }) => {
|
|
11612
11627
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11613
11628
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11615,8 +11630,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
11615
11630
|
return p.getEvictableUsage(methodInput);
|
|
11616
11631
|
}),
|
|
11617
11632
|
evict: trpc_middleware_js_1.adminProcedure
|
|
11618
|
-
.input(
|
|
11619
|
-
.output(
|
|
11633
|
+
.input(types_134.storageEvictableCapability.methods.evict.input.loose())
|
|
11634
|
+
.output(types_134.storageEvictableCapability.methods.evict.output)
|
|
11620
11635
|
.mutation(async ({ input, ctx }) => {
|
|
11621
11636
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11622
11637
|
const p = resolveProvider('storage-evictable', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11628,8 +11643,8 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
11628
11643
|
function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
11629
11644
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11630
11645
|
plan: trpc_middleware_js_1.adminProcedure
|
|
11631
|
-
.input(
|
|
11632
|
-
.output(
|
|
11646
|
+
.input(types_135.storageMigrationCapability.methods.plan.input.loose())
|
|
11647
|
+
.output(types_135.storageMigrationCapability.methods.plan.output)
|
|
11633
11648
|
.query(async ({ input, ctx }) => {
|
|
11634
11649
|
const { nodeId, ...methodInput } = input;
|
|
11635
11650
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11637,8 +11652,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11637
11652
|
return p.plan(methodInput);
|
|
11638
11653
|
}),
|
|
11639
11654
|
start: trpc_middleware_js_1.adminProcedure
|
|
11640
|
-
.input(
|
|
11641
|
-
.output(
|
|
11655
|
+
.input(types_135.storageMigrationCapability.methods.start.input.loose())
|
|
11656
|
+
.output(types_135.storageMigrationCapability.methods.start.output)
|
|
11642
11657
|
.mutation(async ({ input, ctx }) => {
|
|
11643
11658
|
const { nodeId, ...methodInput } = input;
|
|
11644
11659
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11646,8 +11661,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11646
11661
|
return p.start(methodInput);
|
|
11647
11662
|
}),
|
|
11648
11663
|
status: trpc_middleware_js_1.adminProcedure
|
|
11649
|
-
.input(
|
|
11650
|
-
.output(
|
|
11664
|
+
.input(types_135.storageMigrationCapability.methods.status.input.loose())
|
|
11665
|
+
.output(types_135.storageMigrationCapability.methods.status.output)
|
|
11651
11666
|
.query(async ({ input, ctx }) => {
|
|
11652
11667
|
const { nodeId, ...methodInput } = input;
|
|
11653
11668
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11655,8 +11670,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11655
11670
|
return p.status(methodInput);
|
|
11656
11671
|
}),
|
|
11657
11672
|
cancel: trpc_middleware_js_1.adminProcedure
|
|
11658
|
-
.input(
|
|
11659
|
-
.output(
|
|
11673
|
+
.input(types_135.storageMigrationCapability.methods.cancel.input.loose())
|
|
11674
|
+
.output(types_135.storageMigrationCapability.methods.cancel.output)
|
|
11660
11675
|
.mutation(async ({ input, ctx }) => {
|
|
11661
11676
|
const { nodeId, ...methodInput } = input;
|
|
11662
11677
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11664,8 +11679,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11664
11679
|
return p.cancel(methodInput);
|
|
11665
11680
|
}),
|
|
11666
11681
|
movers: trpc_middleware_js_1.adminProcedure
|
|
11667
|
-
.input(
|
|
11668
|
-
.output(
|
|
11682
|
+
.input(types_135.storageMigrationCapability.methods.movers.input.loose())
|
|
11683
|
+
.output(types_135.storageMigrationCapability.methods.movers.output)
|
|
11669
11684
|
.query(async ({ input, ctx }) => {
|
|
11670
11685
|
const { nodeId, ...methodInput } = input;
|
|
11671
11686
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11673,8 +11688,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11673
11688
|
return p.movers(methodInput);
|
|
11674
11689
|
}),
|
|
11675
11690
|
moverClearance: trpc_middleware_js_1.adminProcedure
|
|
11676
|
-
.input(
|
|
11677
|
-
.output(
|
|
11691
|
+
.input(types_135.storageMigrationCapability.methods.moverClearance.input.loose())
|
|
11692
|
+
.output(types_135.storageMigrationCapability.methods.moverClearance.output)
|
|
11678
11693
|
.query(async ({ input, ctx }) => {
|
|
11679
11694
|
const { nodeId, ...methodInput } = input;
|
|
11680
11695
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11682,8 +11697,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11682
11697
|
return p.moverClearance(methodInput);
|
|
11683
11698
|
}),
|
|
11684
11699
|
residue: trpc_middleware_js_1.adminProcedure
|
|
11685
|
-
.input(
|
|
11686
|
-
.output(
|
|
11700
|
+
.input(types_135.storageMigrationCapability.methods.residue.input.loose())
|
|
11701
|
+
.output(types_135.storageMigrationCapability.methods.residue.output)
|
|
11687
11702
|
.query(async ({ input, ctx }) => {
|
|
11688
11703
|
const { nodeId, ...methodInput } = input;
|
|
11689
11704
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11691,8 +11706,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11691
11706
|
return p.residue(methodInput);
|
|
11692
11707
|
}),
|
|
11693
11708
|
drain: trpc_middleware_js_1.adminProcedure
|
|
11694
|
-
.input(
|
|
11695
|
-
.output(
|
|
11709
|
+
.input(types_135.storageMigrationCapability.methods.drain.input.loose())
|
|
11710
|
+
.output(types_135.storageMigrationCapability.methods.drain.output)
|
|
11696
11711
|
.mutation(async ({ input, ctx }) => {
|
|
11697
11712
|
const { nodeId, ...methodInput } = input;
|
|
11698
11713
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11700,8 +11715,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11700
11715
|
return p.drain(methodInput);
|
|
11701
11716
|
}),
|
|
11702
11717
|
cleanupStart: trpc_middleware_js_1.adminProcedure
|
|
11703
|
-
.input(
|
|
11704
|
-
.output(
|
|
11718
|
+
.input(types_135.storageMigrationCapability.methods.cleanupStart.input.loose())
|
|
11719
|
+
.output(types_135.storageMigrationCapability.methods.cleanupStart.output)
|
|
11705
11720
|
.mutation(async ({ input, ctx }) => {
|
|
11706
11721
|
const { nodeId, ...methodInput } = input;
|
|
11707
11722
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11709,8 +11724,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11709
11724
|
return p.cleanupStart(methodInput);
|
|
11710
11725
|
}),
|
|
11711
11726
|
cleanupStatus: trpc_middleware_js_1.adminProcedure
|
|
11712
|
-
.input(
|
|
11713
|
-
.output(
|
|
11727
|
+
.input(types_135.storageMigrationCapability.methods.cleanupStatus.input.loose())
|
|
11728
|
+
.output(types_135.storageMigrationCapability.methods.cleanupStatus.output)
|
|
11714
11729
|
.query(async ({ input, ctx }) => {
|
|
11715
11730
|
const { nodeId, ...methodInput } = input;
|
|
11716
11731
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11718,8 +11733,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11718
11733
|
return p.cleanupStatus(methodInput);
|
|
11719
11734
|
}),
|
|
11720
11735
|
cleanupCancel: trpc_middleware_js_1.adminProcedure
|
|
11721
|
-
.input(
|
|
11722
|
-
.output(
|
|
11736
|
+
.input(types_135.storageMigrationCapability.methods.cleanupCancel.input.loose())
|
|
11737
|
+
.output(types_135.storageMigrationCapability.methods.cleanupCancel.output)
|
|
11723
11738
|
.mutation(async ({ input, ctx }) => {
|
|
11724
11739
|
const { nodeId, ...methodInput } = input;
|
|
11725
11740
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11727,8 +11742,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11727
11742
|
return p.cleanupCancel(methodInput);
|
|
11728
11743
|
}),
|
|
11729
11744
|
history: trpc_middleware_js_1.adminProcedure
|
|
11730
|
-
.input(
|
|
11731
|
-
.output(
|
|
11745
|
+
.input(types_135.storageMigrationCapability.methods.history.input.loose())
|
|
11746
|
+
.output(types_135.storageMigrationCapability.methods.history.output)
|
|
11732
11747
|
.query(async ({ input, ctx }) => {
|
|
11733
11748
|
const { nodeId, ...methodInput } = input;
|
|
11734
11749
|
const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11740,8 +11755,8 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
11740
11755
|
function createCapRouter_storageOccupancy(getProvider, createRemoteProxy) {
|
|
11741
11756
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11742
11757
|
getOccupancy: trpc_middleware_js_1.adminProcedure
|
|
11743
|
-
.input(
|
|
11744
|
-
.output(
|
|
11758
|
+
.input(types_136.storageOccupancyCapability.methods.getOccupancy.input.loose())
|
|
11759
|
+
.output(types_136.storageOccupancyCapability.methods.getOccupancy.output)
|
|
11745
11760
|
.query(async ({ input, ctx }) => {
|
|
11746
11761
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11747
11762
|
const p = resolveProvider('storage-occupancy', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11754,14 +11769,14 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11754
11769
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
11755
11770
|
getProviderInfo: trpc_middleware_js_1.adminProcedure
|
|
11756
11771
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
11757
|
-
.output(
|
|
11772
|
+
.output(types_137.storageProviderCapability.methods.getProviderInfo.output)
|
|
11758
11773
|
.query(async ({ input, ctx }) => {
|
|
11759
11774
|
const p = resolveProvider('storage-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
11760
11775
|
return p.getProviderInfo();
|
|
11761
11776
|
}),
|
|
11762
11777
|
testLocation: trpc_middleware_js_1.adminProcedure
|
|
11763
|
-
.input(
|
|
11764
|
-
.output(
|
|
11778
|
+
.input(types_137.storageProviderCapability.methods.testLocation.input.loose())
|
|
11779
|
+
.output(types_137.storageProviderCapability.methods.testLocation.output)
|
|
11765
11780
|
.query(async ({ input, ctx }) => {
|
|
11766
11781
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11767
11782
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11769,8 +11784,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11769
11784
|
return p.testLocation(methodInput);
|
|
11770
11785
|
}),
|
|
11771
11786
|
resolve: trpc_middleware_js_1.adminProcedure
|
|
11772
|
-
.input(
|
|
11773
|
-
.output(
|
|
11787
|
+
.input(types_137.storageProviderCapability.methods.resolve.input.loose())
|
|
11788
|
+
.output(types_137.storageProviderCapability.methods.resolve.output)
|
|
11774
11789
|
.query(async ({ input, ctx }) => {
|
|
11775
11790
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11776
11791
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11778,8 +11793,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11778
11793
|
return p.resolve(methodInput);
|
|
11779
11794
|
}),
|
|
11780
11795
|
write: trpc_middleware_js_1.adminProcedure
|
|
11781
|
-
.input(
|
|
11782
|
-
.output(
|
|
11796
|
+
.input(types_137.storageProviderCapability.methods.write.input.loose())
|
|
11797
|
+
.output(types_137.storageProviderCapability.methods.write.output)
|
|
11783
11798
|
.mutation(async ({ input, ctx }) => {
|
|
11784
11799
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11785
11800
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11787,8 +11802,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11787
11802
|
return p.write(methodInput);
|
|
11788
11803
|
}),
|
|
11789
11804
|
read: trpc_middleware_js_1.adminProcedure
|
|
11790
|
-
.input(
|
|
11791
|
-
.output(
|
|
11805
|
+
.input(types_137.storageProviderCapability.methods.read.input.loose())
|
|
11806
|
+
.output(types_137.storageProviderCapability.methods.read.output)
|
|
11792
11807
|
.query(async ({ input, ctx }) => {
|
|
11793
11808
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11794
11809
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11796,8 +11811,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11796
11811
|
return p.read(methodInput);
|
|
11797
11812
|
}),
|
|
11798
11813
|
exists: trpc_middleware_js_1.adminProcedure
|
|
11799
|
-
.input(
|
|
11800
|
-
.output(
|
|
11814
|
+
.input(types_137.storageProviderCapability.methods.exists.input.loose())
|
|
11815
|
+
.output(types_137.storageProviderCapability.methods.exists.output)
|
|
11801
11816
|
.query(async ({ input, ctx }) => {
|
|
11802
11817
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11803
11818
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11805,8 +11820,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11805
11820
|
return p.exists(methodInput);
|
|
11806
11821
|
}),
|
|
11807
11822
|
list: trpc_middleware_js_1.adminProcedure
|
|
11808
|
-
.input(
|
|
11809
|
-
.output(
|
|
11823
|
+
.input(types_137.storageProviderCapability.methods.list.input.loose())
|
|
11824
|
+
.output(types_137.storageProviderCapability.methods.list.output)
|
|
11810
11825
|
.query(async ({ input, ctx }) => {
|
|
11811
11826
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11812
11827
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11814,8 +11829,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11814
11829
|
return p.list(methodInput);
|
|
11815
11830
|
}),
|
|
11816
11831
|
delete: trpc_middleware_js_1.adminProcedure
|
|
11817
|
-
.input(
|
|
11818
|
-
.output(
|
|
11832
|
+
.input(types_137.storageProviderCapability.methods.delete.input.loose())
|
|
11833
|
+
.output(types_137.storageProviderCapability.methods.delete.output)
|
|
11819
11834
|
.mutation(async ({ input, ctx }) => {
|
|
11820
11835
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11821
11836
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11823,8 +11838,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11823
11838
|
return p.delete(methodInput);
|
|
11824
11839
|
}),
|
|
11825
11840
|
getAvailableSpace: trpc_middleware_js_1.adminProcedure
|
|
11826
|
-
.input(
|
|
11827
|
-
.output(
|
|
11841
|
+
.input(types_137.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
11842
|
+
.output(types_137.storageProviderCapability.methods.getAvailableSpace.output)
|
|
11828
11843
|
.query(async ({ input, ctx }) => {
|
|
11829
11844
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11830
11845
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11832,8 +11847,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11832
11847
|
return p.getAvailableSpace(methodInput);
|
|
11833
11848
|
}),
|
|
11834
11849
|
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
11835
|
-
.input(
|
|
11836
|
-
.output(
|
|
11850
|
+
.input(types_137.storageProviderCapability.methods.beginUpload.input.loose())
|
|
11851
|
+
.output(types_137.storageProviderCapability.methods.beginUpload.output)
|
|
11837
11852
|
.mutation(async ({ input, ctx }) => {
|
|
11838
11853
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11839
11854
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11841,8 +11856,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11841
11856
|
return p.beginUpload(methodInput);
|
|
11842
11857
|
}),
|
|
11843
11858
|
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
11844
|
-
.input(
|
|
11845
|
-
.output(
|
|
11859
|
+
.input(types_137.storageProviderCapability.methods.writeChunk.input.loose())
|
|
11860
|
+
.output(types_137.storageProviderCapability.methods.writeChunk.output)
|
|
11846
11861
|
.mutation(async ({ input, ctx }) => {
|
|
11847
11862
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11848
11863
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11850,8 +11865,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11850
11865
|
return p.writeChunk(methodInput);
|
|
11851
11866
|
}),
|
|
11852
11867
|
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
11853
|
-
.input(
|
|
11854
|
-
.output(
|
|
11868
|
+
.input(types_137.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
11869
|
+
.output(types_137.storageProviderCapability.methods.finalizeUpload.output)
|
|
11855
11870
|
.mutation(async ({ input, ctx }) => {
|
|
11856
11871
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11857
11872
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11859,8 +11874,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11859
11874
|
return p.finalizeUpload(methodInput);
|
|
11860
11875
|
}),
|
|
11861
11876
|
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
11862
|
-
.input(
|
|
11863
|
-
.output(
|
|
11877
|
+
.input(types_137.storageProviderCapability.methods.abortUpload.input.loose())
|
|
11878
|
+
.output(types_137.storageProviderCapability.methods.abortUpload.output)
|
|
11864
11879
|
.mutation(async ({ input, ctx }) => {
|
|
11865
11880
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11866
11881
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11868,8 +11883,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11868
11883
|
return p.abortUpload(methodInput);
|
|
11869
11884
|
}),
|
|
11870
11885
|
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
11871
|
-
.input(
|
|
11872
|
-
.output(
|
|
11886
|
+
.input(types_137.storageProviderCapability.methods.beginDownload.input.loose())
|
|
11887
|
+
.output(types_137.storageProviderCapability.methods.beginDownload.output)
|
|
11873
11888
|
.mutation(async ({ input, ctx }) => {
|
|
11874
11889
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11875
11890
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11877,8 +11892,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11877
11892
|
return p.beginDownload(methodInput);
|
|
11878
11893
|
}),
|
|
11879
11894
|
readChunk: trpc_middleware_js_1.adminProcedure
|
|
11880
|
-
.input(
|
|
11881
|
-
.output(
|
|
11895
|
+
.input(types_137.storageProviderCapability.methods.readChunk.input.loose())
|
|
11896
|
+
.output(types_137.storageProviderCapability.methods.readChunk.output)
|
|
11882
11897
|
.query(async ({ input, ctx }) => {
|
|
11883
11898
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11884
11899
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11886,8 +11901,8 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
11886
11901
|
return p.readChunk(methodInput);
|
|
11887
11902
|
}),
|
|
11888
11903
|
endDownload: trpc_middleware_js_1.adminProcedure
|
|
11889
|
-
.input(
|
|
11890
|
-
.output(
|
|
11904
|
+
.input(types_137.storageProviderCapability.methods.endDownload.input.loose())
|
|
11905
|
+
.output(types_137.storageProviderCapability.methods.endDownload.output)
|
|
11891
11906
|
.mutation(async ({ input, ctx }) => {
|
|
11892
11907
|
const { nodeId, addonId, ...methodInput } = input;
|
|
11893
11908
|
const p = resolveProvider('storage-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -11926,8 +11941,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11926
11941
|
return p.applyDeviceSettingsPatch(methodInput);
|
|
11927
11942
|
}),
|
|
11928
11943
|
reportStreamSignal: trpc_middleware_js_1.protectedProcedure
|
|
11929
|
-
.input(
|
|
11930
|
-
.output(
|
|
11944
|
+
.input(types_138.streamBrokerCapability.methods.reportStreamSignal.input.loose())
|
|
11945
|
+
.output(types_138.streamBrokerCapability.methods.reportStreamSignal.output)
|
|
11931
11946
|
.mutation(async ({ input, ctx }) => {
|
|
11932
11947
|
const { nodeId, ...methodInput } = input;
|
|
11933
11948
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11935,8 +11950,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11935
11950
|
return p.reportStreamSignal(methodInput);
|
|
11936
11951
|
}),
|
|
11937
11952
|
publishCameraStream: trpc_middleware_js_1.adminProcedure
|
|
11938
|
-
.input(
|
|
11939
|
-
.output(
|
|
11953
|
+
.input(types_138.streamBrokerCapability.methods.publishCameraStream.input.loose())
|
|
11954
|
+
.output(types_138.streamBrokerCapability.methods.publishCameraStream.output)
|
|
11940
11955
|
.mutation(async ({ input, ctx }) => {
|
|
11941
11956
|
const { nodeId, ...methodInput } = input;
|
|
11942
11957
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11944,8 +11959,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11944
11959
|
return p.publishCameraStream(methodInput);
|
|
11945
11960
|
}),
|
|
11946
11961
|
retractCameraStream: trpc_middleware_js_1.adminProcedure
|
|
11947
|
-
.input(
|
|
11948
|
-
.output(
|
|
11962
|
+
.input(types_138.streamBrokerCapability.methods.retractCameraStream.input.loose())
|
|
11963
|
+
.output(types_138.streamBrokerCapability.methods.retractCameraStream.output)
|
|
11949
11964
|
.mutation(async ({ input, ctx }) => {
|
|
11950
11965
|
const { nodeId, ...methodInput } = input;
|
|
11951
11966
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11953,8 +11968,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11953
11968
|
return p.retractCameraStream(methodInput);
|
|
11954
11969
|
}),
|
|
11955
11970
|
assignProfile: trpc_middleware_js_1.adminProcedure
|
|
11956
|
-
.input(
|
|
11957
|
-
.output(
|
|
11971
|
+
.input(types_138.streamBrokerCapability.methods.assignProfile.input.loose())
|
|
11972
|
+
.output(types_138.streamBrokerCapability.methods.assignProfile.output)
|
|
11958
11973
|
.mutation(async ({ input, ctx }) => {
|
|
11959
11974
|
const { nodeId, ...methodInput } = input;
|
|
11960
11975
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11962,8 +11977,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11962
11977
|
return p.assignProfile(methodInput);
|
|
11963
11978
|
}),
|
|
11964
11979
|
unassignProfile: trpc_middleware_js_1.adminProcedure
|
|
11965
|
-
.input(
|
|
11966
|
-
.output(
|
|
11980
|
+
.input(types_138.streamBrokerCapability.methods.unassignProfile.input.loose())
|
|
11981
|
+
.output(types_138.streamBrokerCapability.methods.unassignProfile.output)
|
|
11967
11982
|
.mutation(async ({ input, ctx }) => {
|
|
11968
11983
|
const { nodeId, ...methodInput } = input;
|
|
11969
11984
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11971,8 +11986,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11971
11986
|
return p.unassignProfile(methodInput);
|
|
11972
11987
|
}),
|
|
11973
11988
|
forgetDeviceHardware: trpc_middleware_js_1.adminProcedure
|
|
11974
|
-
.input(
|
|
11975
|
-
.output(
|
|
11989
|
+
.input(types_138.streamBrokerCapability.methods.forgetDeviceHardware.input.loose())
|
|
11990
|
+
.output(types_138.streamBrokerCapability.methods.forgetDeviceHardware.output)
|
|
11976
11991
|
.mutation(async ({ input, ctx }) => {
|
|
11977
11992
|
const { nodeId, ...methodInput } = input;
|
|
11978
11993
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11980,8 +11995,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11980
11995
|
return p.forgetDeviceHardware(methodInput);
|
|
11981
11996
|
}),
|
|
11982
11997
|
renderPreBufferClip: trpc_middleware_js_1.adminProcedure
|
|
11983
|
-
.input(
|
|
11984
|
-
.output(
|
|
11998
|
+
.input(types_138.streamBrokerCapability.methods.renderPreBufferClip.input.loose())
|
|
11999
|
+
.output(types_138.streamBrokerCapability.methods.renderPreBufferClip.output)
|
|
11985
12000
|
.mutation(async ({ input, ctx }) => {
|
|
11986
12001
|
const { nodeId, ...methodInput } = input;
|
|
11987
12002
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11989,8 +12004,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11989
12004
|
return p.renderPreBufferClip(methodInput);
|
|
11990
12005
|
}),
|
|
11991
12006
|
produceEventMedia: trpc_middleware_js_1.adminProcedure
|
|
11992
|
-
.input(
|
|
11993
|
-
.output(
|
|
12007
|
+
.input(types_138.streamBrokerCapability.methods.produceEventMedia.input.loose())
|
|
12008
|
+
.output(types_138.streamBrokerCapability.methods.produceEventMedia.output)
|
|
11994
12009
|
.mutation(async ({ input, ctx }) => {
|
|
11995
12010
|
const { nodeId, ...methodInput } = input;
|
|
11996
12011
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -11998,8 +12013,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
11998
12013
|
return p.produceEventMedia(methodInput);
|
|
11999
12014
|
}),
|
|
12000
12015
|
fetchEventMedia: trpc_middleware_js_1.adminProcedure
|
|
12001
|
-
.input(
|
|
12002
|
-
.output(
|
|
12016
|
+
.input(types_138.streamBrokerCapability.methods.fetchEventMedia.input.loose())
|
|
12017
|
+
.output(types_138.streamBrokerCapability.methods.fetchEventMedia.output)
|
|
12003
12018
|
.mutation(async ({ input, ctx }) => {
|
|
12004
12019
|
const { nodeId, ...methodInput } = input;
|
|
12005
12020
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12008,21 +12023,21 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12008
12023
|
}),
|
|
12009
12024
|
listAllCameraStreams: trpc_middleware_js_1.protectedProcedure
|
|
12010
12025
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12011
|
-
.output(
|
|
12026
|
+
.output(types_138.streamBrokerCapability.methods.listAllCameraStreams.output)
|
|
12012
12027
|
.query(async ({ input, ctx }) => {
|
|
12013
12028
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12014
12029
|
return p.listAllCameraStreams();
|
|
12015
12030
|
}),
|
|
12016
12031
|
listAllProfileSlots: trpc_middleware_js_1.protectedProcedure
|
|
12017
12032
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12018
|
-
.output(
|
|
12033
|
+
.output(types_138.streamBrokerCapability.methods.listAllProfileSlots.output)
|
|
12019
12034
|
.query(async ({ input, ctx }) => {
|
|
12020
12035
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12021
12036
|
return p.listAllProfileSlots();
|
|
12022
12037
|
}),
|
|
12023
12038
|
getBrokerStats: trpc_middleware_js_1.protectedProcedure
|
|
12024
|
-
.input(
|
|
12025
|
-
.output(
|
|
12039
|
+
.input(types_138.streamBrokerCapability.methods.getBrokerStats.input.loose())
|
|
12040
|
+
.output(types_138.streamBrokerCapability.methods.getBrokerStats.output)
|
|
12026
12041
|
.query(async ({ input, ctx }) => {
|
|
12027
12042
|
const { nodeId, ...methodInput } = input;
|
|
12028
12043
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12030,8 +12045,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12030
12045
|
return p.getBrokerStats(methodInput);
|
|
12031
12046
|
}),
|
|
12032
12047
|
probeStream: trpc_middleware_js_1.adminProcedure
|
|
12033
|
-
.input(
|
|
12034
|
-
.output(
|
|
12048
|
+
.input(types_138.streamBrokerCapability.methods.probeStream.input.loose())
|
|
12049
|
+
.output(types_138.streamBrokerCapability.methods.probeStream.output)
|
|
12035
12050
|
.mutation(async ({ input, ctx }) => {
|
|
12036
12051
|
const { nodeId, ...methodInput } = input;
|
|
12037
12052
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12039,8 +12054,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12039
12054
|
return p.probeStream(methodInput);
|
|
12040
12055
|
}),
|
|
12041
12056
|
listClients: trpc_middleware_js_1.protectedProcedure
|
|
12042
|
-
.input(
|
|
12043
|
-
.output(
|
|
12057
|
+
.input(types_138.streamBrokerCapability.methods.listClients.input.loose())
|
|
12058
|
+
.output(types_138.streamBrokerCapability.methods.listClients.output)
|
|
12044
12059
|
.query(async ({ input, ctx }) => {
|
|
12045
12060
|
const { nodeId, ...methodInput } = input;
|
|
12046
12061
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12049,14 +12064,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12049
12064
|
}),
|
|
12050
12065
|
getLiveViewerCounts: trpc_middleware_js_1.protectedProcedure
|
|
12051
12066
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12052
|
-
.output(
|
|
12067
|
+
.output(types_138.streamBrokerCapability.methods.getLiveViewerCounts.output)
|
|
12053
12068
|
.query(async ({ input, ctx }) => {
|
|
12054
12069
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12055
12070
|
return p.getLiveViewerCounts();
|
|
12056
12071
|
}),
|
|
12057
12072
|
killClient: trpc_middleware_js_1.adminProcedure
|
|
12058
|
-
.input(
|
|
12059
|
-
.output(
|
|
12073
|
+
.input(types_138.streamBrokerCapability.methods.killClient.input.loose())
|
|
12074
|
+
.output(types_138.streamBrokerCapability.methods.killClient.output)
|
|
12060
12075
|
.mutation(async ({ input, ctx }) => {
|
|
12061
12076
|
const { nodeId, ...methodInput } = input;
|
|
12062
12077
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12064,8 +12079,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12064
12079
|
return p.killClient(methodInput);
|
|
12065
12080
|
}),
|
|
12066
12081
|
restartProfile: trpc_middleware_js_1.adminProcedure
|
|
12067
|
-
.input(
|
|
12068
|
-
.output(
|
|
12082
|
+
.input(types_138.streamBrokerCapability.methods.restartProfile.input.loose())
|
|
12083
|
+
.output(types_138.streamBrokerCapability.methods.restartProfile.output)
|
|
12069
12084
|
.mutation(async ({ input, ctx }) => {
|
|
12070
12085
|
const { nodeId, ...methodInput } = input;
|
|
12071
12086
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12073,8 +12088,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12073
12088
|
return p.restartProfile(methodInput);
|
|
12074
12089
|
}),
|
|
12075
12090
|
getStreamUrl: trpc_middleware_js_1.protectedProcedure
|
|
12076
|
-
.input(
|
|
12077
|
-
.output(
|
|
12091
|
+
.input(types_138.streamBrokerCapability.methods.getStreamUrl.input.loose())
|
|
12092
|
+
.output(types_138.streamBrokerCapability.methods.getStreamUrl.output)
|
|
12078
12093
|
.query(async ({ input, ctx }) => {
|
|
12079
12094
|
const { nodeId, ...methodInput } = input;
|
|
12080
12095
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12082,8 +12097,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12082
12097
|
return p.getStreamUrl(methodInput);
|
|
12083
12098
|
}),
|
|
12084
12099
|
getStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
12085
|
-
.input(
|
|
12086
|
-
.output(
|
|
12100
|
+
.input(types_138.streamBrokerCapability.methods.getStreamWithCodec.input.loose())
|
|
12101
|
+
.output(types_138.streamBrokerCapability.methods.getStreamWithCodec.output)
|
|
12087
12102
|
.mutation(async ({ input, ctx }) => {
|
|
12088
12103
|
const { nodeId, ...methodInput } = input;
|
|
12089
12104
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12091,8 +12106,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12091
12106
|
return p.getStreamWithCodec(methodInput);
|
|
12092
12107
|
}),
|
|
12093
12108
|
releaseStreamWithCodec: trpc_middleware_js_1.adminProcedure
|
|
12094
|
-
.input(
|
|
12095
|
-
.output(
|
|
12109
|
+
.input(types_138.streamBrokerCapability.methods.releaseStreamWithCodec.input.loose())
|
|
12110
|
+
.output(types_138.streamBrokerCapability.methods.releaseStreamWithCodec.output)
|
|
12096
12111
|
.mutation(async ({ input, ctx }) => {
|
|
12097
12112
|
const { nodeId, ...methodInput } = input;
|
|
12098
12113
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12100,8 +12115,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12100
12115
|
return p.releaseStreamWithCodec(methodInput);
|
|
12101
12116
|
}),
|
|
12102
12117
|
acquireEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
12103
|
-
.input(
|
|
12104
|
-
.output(
|
|
12118
|
+
.input(types_138.streamBrokerCapability.methods.acquireEgressTranscode.input.loose())
|
|
12119
|
+
.output(types_138.streamBrokerCapability.methods.acquireEgressTranscode.output)
|
|
12105
12120
|
.mutation(async ({ input, ctx }) => {
|
|
12106
12121
|
const { nodeId, ...methodInput } = input;
|
|
12107
12122
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12109,8 +12124,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12109
12124
|
return p.acquireEgressTranscode(methodInput);
|
|
12110
12125
|
}),
|
|
12111
12126
|
releaseEgressTranscode: trpc_middleware_js_1.adminProcedure
|
|
12112
|
-
.input(
|
|
12113
|
-
.output(
|
|
12127
|
+
.input(types_138.streamBrokerCapability.methods.releaseEgressTranscode.input.loose())
|
|
12128
|
+
.output(types_138.streamBrokerCapability.methods.releaseEgressTranscode.output)
|
|
12114
12129
|
.mutation(async ({ input, ctx }) => {
|
|
12115
12130
|
const { nodeId, ...methodInput } = input;
|
|
12116
12131
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12118,8 +12133,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12118
12133
|
return p.releaseEgressTranscode(methodInput);
|
|
12119
12134
|
}),
|
|
12120
12135
|
subscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12121
|
-
.input(
|
|
12122
|
-
.output(
|
|
12136
|
+
.input(types_138.streamBrokerCapability.methods.subscribeAudioChunks.input.loose())
|
|
12137
|
+
.output(types_138.streamBrokerCapability.methods.subscribeAudioChunks.output)
|
|
12123
12138
|
.mutation(async ({ input, ctx }) => {
|
|
12124
12139
|
const { nodeId, ...methodInput } = input;
|
|
12125
12140
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12127,8 +12142,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12127
12142
|
return p.subscribeAudioChunks(methodInput);
|
|
12128
12143
|
}),
|
|
12129
12144
|
pullAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12130
|
-
.input(
|
|
12131
|
-
.output(
|
|
12145
|
+
.input(types_138.streamBrokerCapability.methods.pullAudioChunks.input.loose())
|
|
12146
|
+
.output(types_138.streamBrokerCapability.methods.pullAudioChunks.output)
|
|
12132
12147
|
.query(async ({ input, ctx }) => {
|
|
12133
12148
|
const { nodeId, ...methodInput } = input;
|
|
12134
12149
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12136,8 +12151,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12136
12151
|
return p.pullAudioChunks(methodInput);
|
|
12137
12152
|
}),
|
|
12138
12153
|
unsubscribeAudioChunks: trpc_middleware_js_1.protectedProcedure
|
|
12139
|
-
.input(
|
|
12140
|
-
.output(
|
|
12154
|
+
.input(types_138.streamBrokerCapability.methods.unsubscribeAudioChunks.input.loose())
|
|
12155
|
+
.output(types_138.streamBrokerCapability.methods.unsubscribeAudioChunks.output)
|
|
12141
12156
|
.mutation(async ({ input, ctx }) => {
|
|
12142
12157
|
const { nodeId, ...methodInput } = input;
|
|
12143
12158
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12145,8 +12160,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12145
12160
|
return p.unsubscribeAudioChunks(methodInput);
|
|
12146
12161
|
}),
|
|
12147
12162
|
setPreBufferDuration: trpc_middleware_js_1.adminProcedure
|
|
12148
|
-
.input(
|
|
12149
|
-
.output(
|
|
12163
|
+
.input(types_138.streamBrokerCapability.methods.setPreBufferDuration.input.loose())
|
|
12164
|
+
.output(types_138.streamBrokerCapability.methods.setPreBufferDuration.output)
|
|
12150
12165
|
.mutation(async ({ input, ctx }) => {
|
|
12151
12166
|
const { nodeId, ...methodInput } = input;
|
|
12152
12167
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12154,8 +12169,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12154
12169
|
return p.setPreBufferDuration(methodInput);
|
|
12155
12170
|
}),
|
|
12156
12171
|
getPreBufferInfo: trpc_middleware_js_1.protectedProcedure
|
|
12157
|
-
.input(
|
|
12158
|
-
.output(
|
|
12172
|
+
.input(types_138.streamBrokerCapability.methods.getPreBufferInfo.input.loose())
|
|
12173
|
+
.output(types_138.streamBrokerCapability.methods.getPreBufferInfo.output)
|
|
12159
12174
|
.query(async ({ input, ctx }) => {
|
|
12160
12175
|
const { nodeId, ...methodInput } = input;
|
|
12161
12176
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12164,14 +12179,14 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12164
12179
|
}),
|
|
12165
12180
|
getRtspPort: trpc_middleware_js_1.protectedProcedure
|
|
12166
12181
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12167
|
-
.output(
|
|
12182
|
+
.output(types_138.streamBrokerCapability.methods.getRtspPort.output)
|
|
12168
12183
|
.query(async ({ input, ctx }) => {
|
|
12169
12184
|
const p = resolveProvider('stream-broker', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12170
12185
|
return p.getRtspPort();
|
|
12171
12186
|
}),
|
|
12172
12187
|
getAllRtspEntries: trpc_middleware_js_1.protectedProcedure
|
|
12173
|
-
.input(
|
|
12174
|
-
.output(
|
|
12188
|
+
.input(types_138.streamBrokerCapability.methods.getAllRtspEntries.input.loose())
|
|
12189
|
+
.output(types_138.streamBrokerCapability.methods.getAllRtspEntries.output)
|
|
12175
12190
|
.query(async ({ input, ctx }) => {
|
|
12176
12191
|
const { nodeId, ...methodInput } = input;
|
|
12177
12192
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12179,8 +12194,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12179
12194
|
return p.getAllRtspEntries(methodInput);
|
|
12180
12195
|
}),
|
|
12181
12196
|
getRtspEntry: trpc_middleware_js_1.protectedProcedure
|
|
12182
|
-
.input(
|
|
12183
|
-
.output(
|
|
12197
|
+
.input(types_138.streamBrokerCapability.methods.getRtspEntry.input.loose())
|
|
12198
|
+
.output(types_138.streamBrokerCapability.methods.getRtspEntry.output)
|
|
12184
12199
|
.query(async ({ input, ctx }) => {
|
|
12185
12200
|
const { nodeId, ...methodInput } = input;
|
|
12186
12201
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12188,8 +12203,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12188
12203
|
return p.getRtspEntry(methodInput);
|
|
12189
12204
|
}),
|
|
12190
12205
|
regenerateRtspToken: trpc_middleware_js_1.adminProcedure
|
|
12191
|
-
.input(
|
|
12192
|
-
.output(
|
|
12206
|
+
.input(types_138.streamBrokerCapability.methods.regenerateRtspToken.input.loose())
|
|
12207
|
+
.output(types_138.streamBrokerCapability.methods.regenerateRtspToken.output)
|
|
12193
12208
|
.mutation(async ({ input, ctx }) => {
|
|
12194
12209
|
const { nodeId, ...methodInput } = input;
|
|
12195
12210
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12197,8 +12212,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12197
12212
|
return p.regenerateRtspToken(methodInput);
|
|
12198
12213
|
}),
|
|
12199
12214
|
setRtspEnabled: trpc_middleware_js_1.adminProcedure
|
|
12200
|
-
.input(
|
|
12201
|
-
.output(
|
|
12215
|
+
.input(types_138.streamBrokerCapability.methods.setRtspEnabled.input.loose())
|
|
12216
|
+
.output(types_138.streamBrokerCapability.methods.setRtspEnabled.output)
|
|
12202
12217
|
.mutation(async ({ input, ctx }) => {
|
|
12203
12218
|
const { nodeId, ...methodInput } = input;
|
|
12204
12219
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12206,8 +12221,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12206
12221
|
return p.setRtspEnabled(methodInput);
|
|
12207
12222
|
}),
|
|
12208
12223
|
isRtspEnabled: trpc_middleware_js_1.protectedProcedure
|
|
12209
|
-
.input(
|
|
12210
|
-
.output(
|
|
12224
|
+
.input(types_138.streamBrokerCapability.methods.isRtspEnabled.input.loose())
|
|
12225
|
+
.output(types_138.streamBrokerCapability.methods.isRtspEnabled.output)
|
|
12211
12226
|
.query(async ({ input, ctx }) => {
|
|
12212
12227
|
const { nodeId, ...methodInput } = input;
|
|
12213
12228
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12215,8 +12230,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12215
12230
|
return p.isRtspEnabled(methodInput);
|
|
12216
12231
|
}),
|
|
12217
12232
|
getDeviceAudioMute: trpc_middleware_js_1.protectedProcedure
|
|
12218
|
-
.input(
|
|
12219
|
-
.output(
|
|
12233
|
+
.input(types_138.streamBrokerCapability.methods.getDeviceAudioMute.input.loose())
|
|
12234
|
+
.output(types_138.streamBrokerCapability.methods.getDeviceAudioMute.output)
|
|
12220
12235
|
.query(async ({ input, ctx }) => {
|
|
12221
12236
|
const { nodeId, ...methodInput } = input;
|
|
12222
12237
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12224,8 +12239,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12224
12239
|
return p.getDeviceAudioMute(methodInput);
|
|
12225
12240
|
}),
|
|
12226
12241
|
setDeviceAudioMute: trpc_middleware_js_1.adminProcedure
|
|
12227
|
-
.input(
|
|
12228
|
-
.output(
|
|
12242
|
+
.input(types_138.streamBrokerCapability.methods.setDeviceAudioMute.input.loose())
|
|
12243
|
+
.output(types_138.streamBrokerCapability.methods.setDeviceAudioMute.output)
|
|
12229
12244
|
.mutation(async ({ input, ctx }) => {
|
|
12230
12245
|
const { nodeId, ...methodInput } = input;
|
|
12231
12246
|
const p = resolveProvider('stream-broker', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12237,8 +12252,8 @@ function createCapRouter_streamBroker(getProvider, createRemoteProxy) {
|
|
|
12237
12252
|
function createCapRouter_streamCatalog(getProvider, createRemoteProxy) {
|
|
12238
12253
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12239
12254
|
getCatalog: trpc_middleware_js_1.protectedProcedure
|
|
12240
|
-
.input(
|
|
12241
|
-
.output(
|
|
12255
|
+
.input(types_139.streamCatalogCapability.methods.getCatalog.input.loose())
|
|
12256
|
+
.output(types_139.streamCatalogCapability.methods.getCatalog.output)
|
|
12242
12257
|
.query(async ({ input, ctx }) => {
|
|
12243
12258
|
const { nodeId, ...methodInput } = input;
|
|
12244
12259
|
const p = resolveProvider('stream-catalog', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12259,8 +12274,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12259
12274
|
return p.getStatus(methodInput);
|
|
12260
12275
|
}),
|
|
12261
12276
|
getOptions: trpc_middleware_js_1.protectedProcedure
|
|
12262
|
-
.input(
|
|
12263
|
-
.output(
|
|
12277
|
+
.input(types_140.streamParamsCapability.methods.getOptions.input.loose())
|
|
12278
|
+
.output(types_140.streamParamsCapability.methods.getOptions.output)
|
|
12264
12279
|
.query(async ({ input, ctx }) => {
|
|
12265
12280
|
const { nodeId, ...methodInput } = input;
|
|
12266
12281
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12268,8 +12283,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12268
12283
|
return p.getOptions(methodInput);
|
|
12269
12284
|
}),
|
|
12270
12285
|
setProfile: trpc_middleware_js_1.adminProcedure
|
|
12271
|
-
.input(
|
|
12272
|
-
.output(
|
|
12286
|
+
.input(types_140.streamParamsCapability.methods.setProfile.input.loose())
|
|
12287
|
+
.output(types_140.streamParamsCapability.methods.setProfile.output)
|
|
12273
12288
|
.mutation(async ({ input, ctx }) => {
|
|
12274
12289
|
const { nodeId, ...methodInput } = input;
|
|
12275
12290
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12277,8 +12292,8 @@ function createCapRouter_streamParams(getProvider, createRemoteProxy) {
|
|
|
12277
12292
|
return p.setProfile(methodInput);
|
|
12278
12293
|
}),
|
|
12279
12294
|
getConfigSchema: trpc_middleware_js_1.protectedProcedure
|
|
12280
|
-
.input(
|
|
12281
|
-
.output(
|
|
12295
|
+
.input(types_140.streamParamsCapability.methods.getConfigSchema.input.loose())
|
|
12296
|
+
.output(types_140.streamParamsCapability.methods.getConfigSchema.output)
|
|
12282
12297
|
.query(async ({ input, ctx }) => {
|
|
12283
12298
|
const { nodeId, ...methodInput } = input;
|
|
12284
12299
|
const p = resolveProvider('stream-params', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12291,7 +12306,7 @@ function createCapRouter_streamSignals(getProvider, createRemoteProxy) {
|
|
|
12291
12306
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12292
12307
|
listSignals: trpc_middleware_js_1.protectedProcedure
|
|
12293
12308
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12294
|
-
.output(
|
|
12309
|
+
.output(types_141.streamSignalsCapability.methods.listSignals.output)
|
|
12295
12310
|
.query(async ({ input, ctx }) => {
|
|
12296
12311
|
const p = resolveProvider('stream-signals', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12297
12312
|
return p.listSignals();
|
|
@@ -12310,8 +12325,8 @@ function createCapRouter_switch(getProvider, createRemoteProxy) {
|
|
|
12310
12325
|
return p.getStatus(methodInput);
|
|
12311
12326
|
}),
|
|
12312
12327
|
setState: trpc_middleware_js_1.protectedProcedure
|
|
12313
|
-
.input(
|
|
12314
|
-
.output(
|
|
12328
|
+
.input(types_142.switchCapability.methods.setState.input.loose())
|
|
12329
|
+
.output(types_142.switchCapability.methods.setState.output)
|
|
12315
12330
|
.mutation(async ({ input, ctx }) => {
|
|
12316
12331
|
const { nodeId, ...methodInput } = input;
|
|
12317
12332
|
const p = resolveProvider('switch', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12324,98 +12339,98 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
12324
12339
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12325
12340
|
info: trpc_middleware_js_1.protectedProcedure
|
|
12326
12341
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12327
|
-
.output(
|
|
12342
|
+
.output(types_143.systemCapability.methods.info.output)
|
|
12328
12343
|
.query(async ({ input, ctx }) => {
|
|
12329
12344
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12330
12345
|
return p.info();
|
|
12331
12346
|
}),
|
|
12332
12347
|
health: trpc_middleware_js_1.protectedProcedure
|
|
12333
12348
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12334
|
-
.output(
|
|
12349
|
+
.output(types_143.systemCapability.methods.health.output)
|
|
12335
12350
|
.query(async ({ input, ctx }) => {
|
|
12336
12351
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12337
12352
|
return p.health();
|
|
12338
12353
|
}),
|
|
12339
12354
|
featureFlags: trpc_middleware_js_1.protectedProcedure
|
|
12340
12355
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12341
|
-
.output(
|
|
12356
|
+
.output(types_143.systemCapability.methods.featureFlags.output)
|
|
12342
12357
|
.query(async ({ input, ctx }) => {
|
|
12343
12358
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12344
12359
|
return p.featureFlags();
|
|
12345
12360
|
}),
|
|
12346
12361
|
networkAddresses: trpc_middleware_js_1.protectedProcedure
|
|
12347
12362
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12348
|
-
.output(
|
|
12363
|
+
.output(types_143.systemCapability.methods.networkAddresses.output)
|
|
12349
12364
|
.query(async ({ input, ctx }) => {
|
|
12350
12365
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12351
12366
|
return p.networkAddresses();
|
|
12352
12367
|
}),
|
|
12353
12368
|
getRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
12354
12369
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12355
|
-
.output(
|
|
12370
|
+
.output(types_143.systemCapability.methods.getRetentionConfig.output)
|
|
12356
12371
|
.query(async ({ input, ctx }) => {
|
|
12357
12372
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12358
12373
|
return p.getRetentionConfig();
|
|
12359
12374
|
}),
|
|
12360
12375
|
setRetentionConfig: trpc_middleware_js_1.adminProcedure
|
|
12361
|
-
.input(
|
|
12362
|
-
.output(
|
|
12376
|
+
.input(types_143.systemCapability.methods.setRetentionConfig.input)
|
|
12377
|
+
.output(types_143.systemCapability.methods.setRetentionConfig.output)
|
|
12363
12378
|
.mutation(async ({ input, ctx }) => {
|
|
12364
12379
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
12365
12380
|
return p.setRetentionConfig(input);
|
|
12366
12381
|
}),
|
|
12367
12382
|
forceRetentionCleanup: trpc_middleware_js_1.adminProcedure
|
|
12368
12383
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12369
|
-
.output(
|
|
12384
|
+
.output(types_143.systemCapability.methods.forceRetentionCleanup.output)
|
|
12370
12385
|
.mutation(async ({ input, ctx }) => {
|
|
12371
12386
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12372
12387
|
return p.forceRetentionCleanup();
|
|
12373
12388
|
}),
|
|
12374
12389
|
getSiteLocation: trpc_middleware_js_1.protectedProcedure
|
|
12375
12390
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12376
|
-
.output(
|
|
12391
|
+
.output(types_143.systemCapability.methods.getSiteLocation.output)
|
|
12377
12392
|
.query(async ({ input, ctx }) => {
|
|
12378
12393
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12379
12394
|
return p.getSiteLocation();
|
|
12380
12395
|
}),
|
|
12381
12396
|
setSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
12382
|
-
.input(
|
|
12383
|
-
.output(
|
|
12397
|
+
.input(types_143.systemCapability.methods.setSiteLocation.input)
|
|
12398
|
+
.output(types_143.systemCapability.methods.setSiteLocation.output)
|
|
12384
12399
|
.mutation(async ({ input, ctx }) => {
|
|
12385
12400
|
const p = requireCapProvider('system', () => getProvider(ctx));
|
|
12386
12401
|
return p.setSiteLocation(input);
|
|
12387
12402
|
}),
|
|
12388
12403
|
detectSiteLocation: trpc_middleware_js_1.adminProcedure
|
|
12389
12404
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12390
|
-
.output(
|
|
12405
|
+
.output(types_143.systemCapability.methods.detectSiteLocation.output)
|
|
12391
12406
|
.mutation(async ({ input, ctx }) => {
|
|
12392
12407
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12393
12408
|
return p.detectSiteLocation();
|
|
12394
12409
|
}),
|
|
12395
12410
|
getRequestCensus: trpc_middleware_js_1.adminProcedure
|
|
12396
12411
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12397
|
-
.output(
|
|
12412
|
+
.output(types_143.systemCapability.methods.getRequestCensus.output)
|
|
12398
12413
|
.query(async ({ input, ctx }) => {
|
|
12399
12414
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12400
12415
|
return p.getRequestCensus();
|
|
12401
12416
|
}),
|
|
12402
12417
|
getLoadContributions: trpc_middleware_js_1.adminProcedure
|
|
12403
12418
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12404
|
-
.output(
|
|
12419
|
+
.output(types_143.systemCapability.methods.getLoadContributions.output)
|
|
12405
12420
|
.query(async ({ input, ctx }) => {
|
|
12406
12421
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12407
12422
|
return p.getLoadContributions();
|
|
12408
12423
|
}),
|
|
12409
12424
|
getFailureContributions: trpc_middleware_js_1.adminProcedure
|
|
12410
12425
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12411
|
-
.output(
|
|
12426
|
+
.output(types_143.systemCapability.methods.getFailureContributions.output)
|
|
12412
12427
|
.query(async ({ input, ctx }) => {
|
|
12413
12428
|
const p = resolveProvider('system', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12414
12429
|
return p.getFailureContributions();
|
|
12415
12430
|
}),
|
|
12416
12431
|
getLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
12417
|
-
.input(
|
|
12418
|
-
.output(
|
|
12432
|
+
.input(types_143.systemCapability.methods.getLoggingSettings.input.loose())
|
|
12433
|
+
.output(types_143.systemCapability.methods.getLoggingSettings.output)
|
|
12419
12434
|
.query(async ({ input, ctx }) => {
|
|
12420
12435
|
const { nodeId, ...methodInput } = input;
|
|
12421
12436
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12423,8 +12438,8 @@ function createCapRouter_system(getProvider, createRemoteProxy) {
|
|
|
12423
12438
|
return p.getLoggingSettings(methodInput);
|
|
12424
12439
|
}),
|
|
12425
12440
|
setLoggingSettings: trpc_middleware_js_1.adminProcedure
|
|
12426
|
-
.input(
|
|
12427
|
-
.output(
|
|
12441
|
+
.input(types_143.systemCapability.methods.setLoggingSettings.input.loose())
|
|
12442
|
+
.output(types_143.systemCapability.methods.setLoggingSettings.output)
|
|
12428
12443
|
.mutation(async ({ input, ctx }) => {
|
|
12429
12444
|
const { nodeId, ...methodInput } = input;
|
|
12430
12445
|
const p = resolveProvider('system', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12462,8 +12477,8 @@ function createCapRouter_temperatureSensor(getProvider, createRemoteProxy) {
|
|
|
12462
12477
|
function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
12463
12478
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12464
12479
|
list: trpc_middleware_js_1.protectedProcedure
|
|
12465
|
-
.input(
|
|
12466
|
-
.output(
|
|
12480
|
+
.input(types_144.templateCapability.methods.list.input.loose())
|
|
12481
|
+
.output(types_144.templateCapability.methods.list.output)
|
|
12467
12482
|
.query(async ({ input, ctx }) => {
|
|
12468
12483
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12469
12484
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12471,8 +12486,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12471
12486
|
return p.list(methodInput);
|
|
12472
12487
|
}),
|
|
12473
12488
|
get: trpc_middleware_js_1.protectedProcedure
|
|
12474
|
-
.input(
|
|
12475
|
-
.output(
|
|
12489
|
+
.input(types_144.templateCapability.methods.get.input.loose())
|
|
12490
|
+
.output(types_144.templateCapability.methods.get.output)
|
|
12476
12491
|
.query(async ({ input, ctx }) => {
|
|
12477
12492
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12478
12493
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12480,8 +12495,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12480
12495
|
return p.get(methodInput);
|
|
12481
12496
|
}),
|
|
12482
12497
|
create: trpc_middleware_js_1.adminProcedure
|
|
12483
|
-
.input(
|
|
12484
|
-
.output(
|
|
12498
|
+
.input(types_144.templateCapability.methods.create.input.loose())
|
|
12499
|
+
.output(types_144.templateCapability.methods.create.output)
|
|
12485
12500
|
.mutation(async ({ input, ctx }) => {
|
|
12486
12501
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12487
12502
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12489,8 +12504,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12489
12504
|
return p.create(methodInput);
|
|
12490
12505
|
}),
|
|
12491
12506
|
update: trpc_middleware_js_1.adminProcedure
|
|
12492
|
-
.input(
|
|
12493
|
-
.output(
|
|
12507
|
+
.input(types_144.templateCapability.methods.update.input.loose())
|
|
12508
|
+
.output(types_144.templateCapability.methods.update.output)
|
|
12494
12509
|
.mutation(async ({ input, ctx }) => {
|
|
12495
12510
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12496
12511
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12498,8 +12513,8 @@ function createCapRouter_template(getProvider, createRemoteProxy) {
|
|
|
12498
12513
|
return p.update(methodInput);
|
|
12499
12514
|
}),
|
|
12500
12515
|
delete: trpc_middleware_js_1.adminProcedure
|
|
12501
|
-
.input(
|
|
12502
|
-
.output(
|
|
12516
|
+
.input(types_144.templateCapability.methods.delete.input.loose())
|
|
12517
|
+
.output(types_144.templateCapability.methods.delete.output)
|
|
12503
12518
|
.mutation(async ({ input, ctx }) => {
|
|
12504
12519
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12505
12520
|
const p = resolveProvider('template', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12512,21 +12527,21 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12512
12527
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12513
12528
|
listProfiles: trpc_middleware_js_1.adminProcedure
|
|
12514
12529
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12515
|
-
.output(
|
|
12530
|
+
.output(types_145.terminalSessionCapability.methods.listProfiles.output)
|
|
12516
12531
|
.query(async ({ input, ctx }) => {
|
|
12517
12532
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12518
12533
|
return p.listProfiles();
|
|
12519
12534
|
}),
|
|
12520
12535
|
listInstances: trpc_middleware_js_1.adminProcedure
|
|
12521
12536
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12522
|
-
.output(
|
|
12537
|
+
.output(types_145.terminalSessionCapability.methods.listInstances.output)
|
|
12523
12538
|
.query(async ({ input, ctx }) => {
|
|
12524
12539
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12525
12540
|
return p.listInstances();
|
|
12526
12541
|
}),
|
|
12527
12542
|
createInstance: trpc_middleware_js_1.adminProcedure
|
|
12528
|
-
.input(
|
|
12529
|
-
.output(
|
|
12543
|
+
.input(types_145.terminalSessionCapability.methods.createInstance.input.loose())
|
|
12544
|
+
.output(types_145.terminalSessionCapability.methods.createInstance.output)
|
|
12530
12545
|
.mutation(async ({ input, ctx }) => {
|
|
12531
12546
|
const { nodeId, ...methodInput } = input;
|
|
12532
12547
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12534,8 +12549,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12534
12549
|
return p.createInstance(methodInput);
|
|
12535
12550
|
}),
|
|
12536
12551
|
updateInstance: trpc_middleware_js_1.adminProcedure
|
|
12537
|
-
.input(
|
|
12538
|
-
.output(
|
|
12552
|
+
.input(types_145.terminalSessionCapability.methods.updateInstance.input.loose())
|
|
12553
|
+
.output(types_145.terminalSessionCapability.methods.updateInstance.output)
|
|
12539
12554
|
.mutation(async ({ input, ctx }) => {
|
|
12540
12555
|
const { nodeId, ...methodInput } = input;
|
|
12541
12556
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12543,8 +12558,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12543
12558
|
return p.updateInstance(methodInput);
|
|
12544
12559
|
}),
|
|
12545
12560
|
deleteInstance: trpc_middleware_js_1.adminProcedure
|
|
12546
|
-
.input(
|
|
12547
|
-
.output(
|
|
12561
|
+
.input(types_145.terminalSessionCapability.methods.deleteInstance.input.loose())
|
|
12562
|
+
.output(types_145.terminalSessionCapability.methods.deleteInstance.output)
|
|
12548
12563
|
.mutation(async ({ input, ctx }) => {
|
|
12549
12564
|
const { nodeId, ...methodInput } = input;
|
|
12550
12565
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12552,8 +12567,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12552
12567
|
return p.deleteInstance(methodInput);
|
|
12553
12568
|
}),
|
|
12554
12569
|
setInstanceEnabled: trpc_middleware_js_1.adminProcedure
|
|
12555
|
-
.input(
|
|
12556
|
-
.output(
|
|
12570
|
+
.input(types_145.terminalSessionCapability.methods.setInstanceEnabled.input.loose())
|
|
12571
|
+
.output(types_145.terminalSessionCapability.methods.setInstanceEnabled.output)
|
|
12557
12572
|
.mutation(async ({ input, ctx }) => {
|
|
12558
12573
|
const { nodeId, ...methodInput } = input;
|
|
12559
12574
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12562,14 +12577,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12562
12577
|
}),
|
|
12563
12578
|
listLegacyCameras: trpc_middleware_js_1.adminProcedure
|
|
12564
12579
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12565
|
-
.output(
|
|
12580
|
+
.output(types_145.terminalSessionCapability.methods.listLegacyCameras.output)
|
|
12566
12581
|
.query(async ({ input, ctx }) => {
|
|
12567
12582
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12568
12583
|
return p.listLegacyCameras();
|
|
12569
12584
|
}),
|
|
12570
12585
|
adoptLegacyMonitor: trpc_middleware_js_1.adminProcedure
|
|
12571
|
-
.input(
|
|
12572
|
-
.output(
|
|
12586
|
+
.input(types_145.terminalSessionCapability.methods.adoptLegacyMonitor.input.loose())
|
|
12587
|
+
.output(types_145.terminalSessionCapability.methods.adoptLegacyMonitor.output)
|
|
12573
12588
|
.mutation(async ({ input, ctx }) => {
|
|
12574
12589
|
const { nodeId, ...methodInput } = input;
|
|
12575
12590
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12578,14 +12593,14 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12578
12593
|
}),
|
|
12579
12594
|
listSessions: trpc_middleware_js_1.adminProcedure
|
|
12580
12595
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12581
|
-
.output(
|
|
12596
|
+
.output(types_145.terminalSessionCapability.methods.listSessions.output)
|
|
12582
12597
|
.query(async ({ input, ctx }) => {
|
|
12583
12598
|
const p = resolveProvider('terminal-session', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12584
12599
|
return p.listSessions();
|
|
12585
12600
|
}),
|
|
12586
12601
|
openSession: trpc_middleware_js_1.adminProcedure
|
|
12587
|
-
.input(
|
|
12588
|
-
.output(
|
|
12602
|
+
.input(types_145.terminalSessionCapability.methods.openSession.input.loose())
|
|
12603
|
+
.output(types_145.terminalSessionCapability.methods.openSession.output)
|
|
12589
12604
|
.mutation(async ({ input, ctx }) => {
|
|
12590
12605
|
const { nodeId, ...methodInput } = input;
|
|
12591
12606
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12593,8 +12608,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12593
12608
|
return p.openSession(methodInput);
|
|
12594
12609
|
}),
|
|
12595
12610
|
resize: trpc_middleware_js_1.adminProcedure
|
|
12596
|
-
.input(
|
|
12597
|
-
.output(
|
|
12611
|
+
.input(types_145.terminalSessionCapability.methods.resize.input.loose())
|
|
12612
|
+
.output(types_145.terminalSessionCapability.methods.resize.output)
|
|
12598
12613
|
.mutation(async ({ input, ctx }) => {
|
|
12599
12614
|
const { nodeId, ...methodInput } = input;
|
|
12600
12615
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12602,8 +12617,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12602
12617
|
return p.resize(methodInput);
|
|
12603
12618
|
}),
|
|
12604
12619
|
pullOutput: trpc_middleware_js_1.adminProcedure
|
|
12605
|
-
.input(
|
|
12606
|
-
.output(
|
|
12620
|
+
.input(types_145.terminalSessionCapability.methods.pullOutput.input.loose())
|
|
12621
|
+
.output(types_145.terminalSessionCapability.methods.pullOutput.output)
|
|
12607
12622
|
.mutation(async ({ input, ctx }) => {
|
|
12608
12623
|
const { nodeId, ...methodInput } = input;
|
|
12609
12624
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12611,8 +12626,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12611
12626
|
return p.pullOutput(methodInput);
|
|
12612
12627
|
}),
|
|
12613
12628
|
writeInput: trpc_middleware_js_1.adminProcedure
|
|
12614
|
-
.input(
|
|
12615
|
-
.output(
|
|
12629
|
+
.input(types_145.terminalSessionCapability.methods.writeInput.input.loose())
|
|
12630
|
+
.output(types_145.terminalSessionCapability.methods.writeInput.output)
|
|
12616
12631
|
.mutation(async ({ input, ctx }) => {
|
|
12617
12632
|
const { nodeId, ...methodInput } = input;
|
|
12618
12633
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12620,8 +12635,8 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12620
12635
|
return p.writeInput(methodInput);
|
|
12621
12636
|
}),
|
|
12622
12637
|
close: trpc_middleware_js_1.adminProcedure
|
|
12623
|
-
.input(
|
|
12624
|
-
.output(
|
|
12638
|
+
.input(types_145.terminalSessionCapability.methods.close.input.loose())
|
|
12639
|
+
.output(types_145.terminalSessionCapability.methods.close.output)
|
|
12625
12640
|
.mutation(async ({ input, ctx }) => {
|
|
12626
12641
|
const { nodeId, ...methodInput } = input;
|
|
12627
12642
|
const p = resolveProvider('terminal-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12633,7 +12648,7 @@ function createCapRouter_terminalSession(getProvider, createRemoteProxy) {
|
|
|
12633
12648
|
function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
12634
12649
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12635
12650
|
onToast: trpc_middleware_js_1.protectedProcedure
|
|
12636
|
-
.input(
|
|
12651
|
+
.input(types_146.toastCapability.methods.onToast.input)
|
|
12637
12652
|
.subscription(({ input, ctx }) => {
|
|
12638
12653
|
const p = requireCapProvider('toast', () => getProvider(ctx));
|
|
12639
12654
|
return (0, trpc_middleware_js_1.iterableSubscription)((push) => {
|
|
@@ -12645,8 +12660,8 @@ function createCapRouter_toast(getProvider, _createRemoteProxy) {
|
|
|
12645
12660
|
function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
12646
12661
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12647
12662
|
listBaseModels: trpc_middleware_js_1.adminProcedure
|
|
12648
|
-
.input(
|
|
12649
|
-
.output(
|
|
12663
|
+
.input(types_147.trainingCapability.methods.listBaseModels.input.loose())
|
|
12664
|
+
.output(types_147.trainingCapability.methods.listBaseModels.output)
|
|
12650
12665
|
.query(async ({ input, ctx }) => {
|
|
12651
12666
|
const { nodeId, ...methodInput } = input;
|
|
12652
12667
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12654,8 +12669,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12654
12669
|
return p.listBaseModels(methodInput);
|
|
12655
12670
|
}),
|
|
12656
12671
|
planJob: trpc_middleware_js_1.adminProcedure
|
|
12657
|
-
.input(
|
|
12658
|
-
.output(
|
|
12672
|
+
.input(types_147.trainingCapability.methods.planJob.input.loose())
|
|
12673
|
+
.output(types_147.trainingCapability.methods.planJob.output)
|
|
12659
12674
|
.query(async ({ input, ctx }) => {
|
|
12660
12675
|
const { nodeId, ...methodInput } = input;
|
|
12661
12676
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12663,8 +12678,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12663
12678
|
return p.planJob(methodInput);
|
|
12664
12679
|
}),
|
|
12665
12680
|
startJob: trpc_middleware_js_1.adminProcedure
|
|
12666
|
-
.input(
|
|
12667
|
-
.output(
|
|
12681
|
+
.input(types_147.trainingCapability.methods.startJob.input.loose())
|
|
12682
|
+
.output(types_147.trainingCapability.methods.startJob.output)
|
|
12668
12683
|
.mutation(async ({ input, ctx }) => {
|
|
12669
12684
|
const { nodeId, ...methodInput } = input;
|
|
12670
12685
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12672,8 +12687,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12672
12687
|
return p.startJob(methodInput);
|
|
12673
12688
|
}),
|
|
12674
12689
|
startJobBatch: trpc_middleware_js_1.adminProcedure
|
|
12675
|
-
.input(
|
|
12676
|
-
.output(
|
|
12690
|
+
.input(types_147.trainingCapability.methods.startJobBatch.input.loose())
|
|
12691
|
+
.output(types_147.trainingCapability.methods.startJobBatch.output)
|
|
12677
12692
|
.mutation(async ({ input, ctx }) => {
|
|
12678
12693
|
const { nodeId, ...methodInput } = input;
|
|
12679
12694
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12681,8 +12696,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12681
12696
|
return p.startJobBatch(methodInput);
|
|
12682
12697
|
}),
|
|
12683
12698
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
12684
|
-
.input(
|
|
12685
|
-
.output(
|
|
12699
|
+
.input(types_147.trainingCapability.methods.listJobs.input.loose())
|
|
12700
|
+
.output(types_147.trainingCapability.methods.listJobs.output)
|
|
12686
12701
|
.query(async ({ input, ctx }) => {
|
|
12687
12702
|
const { nodeId, ...methodInput } = input;
|
|
12688
12703
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12690,8 +12705,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12690
12705
|
return p.listJobs(methodInput);
|
|
12691
12706
|
}),
|
|
12692
12707
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
12693
|
-
.input(
|
|
12694
|
-
.output(
|
|
12708
|
+
.input(types_147.trainingCapability.methods.getJob.input.loose())
|
|
12709
|
+
.output(types_147.trainingCapability.methods.getJob.output)
|
|
12695
12710
|
.query(async ({ input, ctx }) => {
|
|
12696
12711
|
const { nodeId, ...methodInput } = input;
|
|
12697
12712
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12699,8 +12714,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12699
12714
|
return p.getJob(methodInput);
|
|
12700
12715
|
}),
|
|
12701
12716
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
12702
|
-
.input(
|
|
12703
|
-
.output(
|
|
12717
|
+
.input(types_147.trainingCapability.methods.cancelJob.input.loose())
|
|
12718
|
+
.output(types_147.trainingCapability.methods.cancelJob.output)
|
|
12704
12719
|
.mutation(async ({ input, ctx }) => {
|
|
12705
12720
|
const { nodeId, ...methodInput } = input;
|
|
12706
12721
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12708,8 +12723,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12708
12723
|
return p.cancelJob(methodInput);
|
|
12709
12724
|
}),
|
|
12710
12725
|
getJobResult: trpc_middleware_js_1.adminProcedure
|
|
12711
|
-
.input(
|
|
12712
|
-
.output(
|
|
12726
|
+
.input(types_147.trainingCapability.methods.getJobResult.input.loose())
|
|
12727
|
+
.output(types_147.trainingCapability.methods.getJobResult.output)
|
|
12713
12728
|
.query(async ({ input, ctx }) => {
|
|
12714
12729
|
const { nodeId, ...methodInput } = input;
|
|
12715
12730
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12718,14 +12733,14 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12718
12733
|
}),
|
|
12719
12734
|
listCanaryTargets: trpc_middleware_js_1.adminProcedure
|
|
12720
12735
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12721
|
-
.output(
|
|
12736
|
+
.output(types_147.trainingCapability.methods.listCanaryTargets.output)
|
|
12722
12737
|
.query(async ({ input, ctx }) => {
|
|
12723
12738
|
const p = resolveProvider('training', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12724
12739
|
return p.listCanaryTargets();
|
|
12725
12740
|
}),
|
|
12726
12741
|
registerResult: trpc_middleware_js_1.adminProcedure
|
|
12727
|
-
.input(
|
|
12728
|
-
.output(
|
|
12742
|
+
.input(types_147.trainingCapability.methods.registerResult.input.loose())
|
|
12743
|
+
.output(types_147.trainingCapability.methods.registerResult.output)
|
|
12729
12744
|
.mutation(async ({ input, ctx }) => {
|
|
12730
12745
|
const { nodeId, ...methodInput } = input;
|
|
12731
12746
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12733,8 +12748,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12733
12748
|
return p.registerResult(methodInput);
|
|
12734
12749
|
}),
|
|
12735
12750
|
canaryResult: trpc_middleware_js_1.adminProcedure
|
|
12736
|
-
.input(
|
|
12737
|
-
.output(
|
|
12751
|
+
.input(types_147.trainingCapability.methods.canaryResult.input.loose())
|
|
12752
|
+
.output(types_147.trainingCapability.methods.canaryResult.output)
|
|
12738
12753
|
.mutation(async ({ input, ctx }) => {
|
|
12739
12754
|
const { nodeId, ...methodInput } = input;
|
|
12740
12755
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12742,8 +12757,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12742
12757
|
return p.canaryResult(methodInput);
|
|
12743
12758
|
}),
|
|
12744
12759
|
rollbackCanary: trpc_middleware_js_1.adminProcedure
|
|
12745
|
-
.input(
|
|
12746
|
-
.output(
|
|
12760
|
+
.input(types_147.trainingCapability.methods.rollbackCanary.input.loose())
|
|
12761
|
+
.output(types_147.trainingCapability.methods.rollbackCanary.output)
|
|
12747
12762
|
.mutation(async ({ input, ctx }) => {
|
|
12748
12763
|
const { nodeId, ...methodInput } = input;
|
|
12749
12764
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12751,8 +12766,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12751
12766
|
return p.rollbackCanary(methodInput);
|
|
12752
12767
|
}),
|
|
12753
12768
|
discardResult: trpc_middleware_js_1.adminProcedure
|
|
12754
|
-
.input(
|
|
12755
|
-
.output(
|
|
12769
|
+
.input(types_147.trainingCapability.methods.discardResult.input.loose())
|
|
12770
|
+
.output(types_147.trainingCapability.methods.discardResult.output)
|
|
12756
12771
|
.mutation(async ({ input, ctx }) => {
|
|
12757
12772
|
const { nodeId, ...methodInput } = input;
|
|
12758
12773
|
const p = resolveProvider('training', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12764,8 +12779,8 @@ function createCapRouter_training(getProvider, createRemoteProxy) {
|
|
|
12764
12779
|
function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
12765
12780
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12766
12781
|
describe: trpc_middleware_js_1.adminProcedure
|
|
12767
|
-
.input(
|
|
12768
|
-
.output(
|
|
12782
|
+
.input(types_148.trainingProviderCapability.methods.describe.input.loose())
|
|
12783
|
+
.output(types_148.trainingProviderCapability.methods.describe.output)
|
|
12769
12784
|
.query(async ({ input, ctx }) => {
|
|
12770
12785
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12771
12786
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12773,8 +12788,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12773
12788
|
return p.describe(methodInput);
|
|
12774
12789
|
}),
|
|
12775
12790
|
describeTypes: trpc_middleware_js_1.adminProcedure
|
|
12776
|
-
.input(
|
|
12777
|
-
.output(
|
|
12791
|
+
.input(types_148.trainingProviderCapability.methods.describeTypes.input.loose())
|
|
12792
|
+
.output(types_148.trainingProviderCapability.methods.describeTypes.output)
|
|
12778
12793
|
.query(async ({ input, ctx }) => {
|
|
12779
12794
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12780
12795
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12782,8 +12797,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12782
12797
|
return p.describeTypes(methodInput);
|
|
12783
12798
|
}),
|
|
12784
12799
|
listEntries: trpc_middleware_js_1.adminProcedure
|
|
12785
|
-
.input(
|
|
12786
|
-
.output(
|
|
12800
|
+
.input(types_148.trainingProviderCapability.methods.listEntries.input.loose())
|
|
12801
|
+
.output(types_148.trainingProviderCapability.methods.listEntries.output)
|
|
12787
12802
|
.query(async ({ input, ctx }) => {
|
|
12788
12803
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12789
12804
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12791,8 +12806,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12791
12806
|
return p.listEntries(methodInput);
|
|
12792
12807
|
}),
|
|
12793
12808
|
createEntry: trpc_middleware_js_1.adminProcedure
|
|
12794
|
-
.input(
|
|
12795
|
-
.output(
|
|
12809
|
+
.input(types_148.trainingProviderCapability.methods.createEntry.input.loose())
|
|
12810
|
+
.output(types_148.trainingProviderCapability.methods.createEntry.output)
|
|
12796
12811
|
.mutation(async ({ input, ctx }) => {
|
|
12797
12812
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12798
12813
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12800,8 +12815,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12800
12815
|
return p.createEntry(methodInput);
|
|
12801
12816
|
}),
|
|
12802
12817
|
deleteEntry: trpc_middleware_js_1.adminProcedure
|
|
12803
|
-
.input(
|
|
12804
|
-
.output(
|
|
12818
|
+
.input(types_148.trainingProviderCapability.methods.deleteEntry.input.loose())
|
|
12819
|
+
.output(types_148.trainingProviderCapability.methods.deleteEntry.output)
|
|
12805
12820
|
.mutation(async ({ input, ctx }) => {
|
|
12806
12821
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12807
12822
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12809,8 +12824,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12809
12824
|
return p.deleteEntry(methodInput);
|
|
12810
12825
|
}),
|
|
12811
12826
|
updateEntry: trpc_middleware_js_1.adminProcedure
|
|
12812
|
-
.input(
|
|
12813
|
-
.output(
|
|
12827
|
+
.input(types_148.trainingProviderCapability.methods.updateEntry.input.loose())
|
|
12828
|
+
.output(types_148.trainingProviderCapability.methods.updateEntry.output)
|
|
12814
12829
|
.mutation(async ({ input, ctx }) => {
|
|
12815
12830
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12816
12831
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12818,8 +12833,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12818
12833
|
return p.updateEntry(methodInput);
|
|
12819
12834
|
}),
|
|
12820
12835
|
validateCredentials: trpc_middleware_js_1.adminProcedure
|
|
12821
|
-
.input(
|
|
12822
|
-
.output(
|
|
12836
|
+
.input(types_148.trainingProviderCapability.methods.validateCredentials.input.loose())
|
|
12837
|
+
.output(types_148.trainingProviderCapability.methods.validateCredentials.output)
|
|
12823
12838
|
.mutation(async ({ input, ctx }) => {
|
|
12824
12839
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12825
12840
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12827,8 +12842,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12827
12842
|
return p.validateCredentials(methodInput);
|
|
12828
12843
|
}),
|
|
12829
12844
|
estimateJob: trpc_middleware_js_1.adminProcedure
|
|
12830
|
-
.input(
|
|
12831
|
-
.output(
|
|
12845
|
+
.input(types_148.trainingProviderCapability.methods.estimateJob.input.loose())
|
|
12846
|
+
.output(types_148.trainingProviderCapability.methods.estimateJob.output)
|
|
12832
12847
|
.query(async ({ input, ctx }) => {
|
|
12833
12848
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12834
12849
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12836,8 +12851,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12836
12851
|
return p.estimateJob(methodInput);
|
|
12837
12852
|
}),
|
|
12838
12853
|
uploadDataset: trpc_middleware_js_1.adminProcedure
|
|
12839
|
-
.input(
|
|
12840
|
-
.output(
|
|
12854
|
+
.input(types_148.trainingProviderCapability.methods.uploadDataset.input.loose())
|
|
12855
|
+
.output(types_148.trainingProviderCapability.methods.uploadDataset.output)
|
|
12841
12856
|
.mutation(async ({ input, ctx }) => {
|
|
12842
12857
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12843
12858
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12845,8 +12860,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12845
12860
|
return p.uploadDataset(methodInput);
|
|
12846
12861
|
}),
|
|
12847
12862
|
submitJob: trpc_middleware_js_1.adminProcedure
|
|
12848
|
-
.input(
|
|
12849
|
-
.output(
|
|
12863
|
+
.input(types_148.trainingProviderCapability.methods.submitJob.input.loose())
|
|
12864
|
+
.output(types_148.trainingProviderCapability.methods.submitJob.output)
|
|
12850
12865
|
.mutation(async ({ input, ctx }) => {
|
|
12851
12866
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12852
12867
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12854,8 +12869,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12854
12869
|
return p.submitJob(methodInput);
|
|
12855
12870
|
}),
|
|
12856
12871
|
getJob: trpc_middleware_js_1.adminProcedure
|
|
12857
|
-
.input(
|
|
12858
|
-
.output(
|
|
12872
|
+
.input(types_148.trainingProviderCapability.methods.getJob.input.loose())
|
|
12873
|
+
.output(types_148.trainingProviderCapability.methods.getJob.output)
|
|
12859
12874
|
.query(async ({ input, ctx }) => {
|
|
12860
12875
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12861
12876
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12863,8 +12878,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12863
12878
|
return p.getJob(methodInput);
|
|
12864
12879
|
}),
|
|
12865
12880
|
listJobEvents: trpc_middleware_js_1.adminProcedure
|
|
12866
|
-
.input(
|
|
12867
|
-
.output(
|
|
12881
|
+
.input(types_148.trainingProviderCapability.methods.listJobEvents.input.loose())
|
|
12882
|
+
.output(types_148.trainingProviderCapability.methods.listJobEvents.output)
|
|
12868
12883
|
.query(async ({ input, ctx }) => {
|
|
12869
12884
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12870
12885
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12872,8 +12887,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12872
12887
|
return p.listJobEvents(methodInput);
|
|
12873
12888
|
}),
|
|
12874
12889
|
cancelJob: trpc_middleware_js_1.adminProcedure
|
|
12875
|
-
.input(
|
|
12876
|
-
.output(
|
|
12890
|
+
.input(types_148.trainingProviderCapability.methods.cancelJob.input.loose())
|
|
12891
|
+
.output(types_148.trainingProviderCapability.methods.cancelJob.output)
|
|
12877
12892
|
.mutation(async ({ input, ctx }) => {
|
|
12878
12893
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12879
12894
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12881,8 +12896,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12881
12896
|
return p.cancelJob(methodInput);
|
|
12882
12897
|
}),
|
|
12883
12898
|
readResult: trpc_middleware_js_1.adminProcedure
|
|
12884
|
-
.input(
|
|
12885
|
-
.output(
|
|
12899
|
+
.input(types_148.trainingProviderCapability.methods.readResult.input.loose())
|
|
12900
|
+
.output(types_148.trainingProviderCapability.methods.readResult.output)
|
|
12886
12901
|
.mutation(async ({ input, ctx }) => {
|
|
12887
12902
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12888
12903
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12890,8 +12905,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12890
12905
|
return p.readResult(methodInput);
|
|
12891
12906
|
}),
|
|
12892
12907
|
offerArtifact: trpc_middleware_js_1.adminProcedure
|
|
12893
|
-
.input(
|
|
12894
|
-
.output(
|
|
12908
|
+
.input(types_148.trainingProviderCapability.methods.offerArtifact.input.loose())
|
|
12909
|
+
.output(types_148.trainingProviderCapability.methods.offerArtifact.output)
|
|
12895
12910
|
.mutation(async ({ input, ctx }) => {
|
|
12896
12911
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12897
12912
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12899,8 +12914,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12899
12914
|
return p.offerArtifact(methodInput);
|
|
12900
12915
|
}),
|
|
12901
12916
|
cleanupJob: trpc_middleware_js_1.adminProcedure
|
|
12902
|
-
.input(
|
|
12903
|
-
.output(
|
|
12917
|
+
.input(types_148.trainingProviderCapability.methods.cleanupJob.input.loose())
|
|
12918
|
+
.output(types_148.trainingProviderCapability.methods.cleanupJob.output)
|
|
12904
12919
|
.mutation(async ({ input, ctx }) => {
|
|
12905
12920
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12906
12921
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12908,8 +12923,8 @@ function createCapRouter_trainingProvider(getProvider, createRemoteProxy) {
|
|
|
12908
12923
|
return p.cleanupJob(methodInput);
|
|
12909
12924
|
}),
|
|
12910
12925
|
listJobs: trpc_middleware_js_1.adminProcedure
|
|
12911
|
-
.input(
|
|
12912
|
-
.output(
|
|
12926
|
+
.input(types_148.trainingProviderCapability.methods.listJobs.input.loose())
|
|
12927
|
+
.output(types_148.trainingProviderCapability.methods.listJobs.output)
|
|
12913
12928
|
.query(async ({ input, ctx }) => {
|
|
12914
12929
|
const { nodeId, addonId, ...methodInput } = input;
|
|
12915
12930
|
const p = resolveProvider('training-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -12922,7 +12937,7 @@ function createCapRouter_turnProvider(getProvider, createRemoteProxy) {
|
|
|
12922
12937
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12923
12938
|
getTurnServers: trpc_middleware_js_1.protectedProcedure
|
|
12924
12939
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
12925
|
-
.output(
|
|
12940
|
+
.output(types_149.turnProviderCapability.methods.getTurnServers.output)
|
|
12926
12941
|
.query(async ({ input, ctx }) => {
|
|
12927
12942
|
const p = resolveProvider('turn-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
12928
12943
|
return p.getTurnServers();
|
|
@@ -12942,7 +12957,7 @@ function createCapRouter_update(getProvider, createRemoteProxy) {
|
|
|
12942
12957
|
}),
|
|
12943
12958
|
installUpdate: trpc_middleware_js_1.adminProcedure
|
|
12944
12959
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12945
|
-
.output(
|
|
12960
|
+
.output(types_150.updateCapability.methods.installUpdate.output)
|
|
12946
12961
|
.mutation(async ({ input, ctx }) => {
|
|
12947
12962
|
const p = resolveProvider('update', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12948
12963
|
return p.installUpdate();
|
|
@@ -12953,14 +12968,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12953
12968
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
12954
12969
|
listUsers: trpc_middleware_js_1.adminProcedure
|
|
12955
12970
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
12956
|
-
.output(
|
|
12971
|
+
.output(types_151.userManagementCapability.methods.listUsers.output)
|
|
12957
12972
|
.query(async ({ input, ctx }) => {
|
|
12958
12973
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
12959
12974
|
return p.listUsers();
|
|
12960
12975
|
}),
|
|
12961
12976
|
createUser: trpc_middleware_js_1.adminProcedure
|
|
12962
|
-
.input(
|
|
12963
|
-
.output(
|
|
12977
|
+
.input(types_151.userManagementCapability.methods.createUser.input.loose())
|
|
12978
|
+
.output(types_151.userManagementCapability.methods.createUser.output)
|
|
12964
12979
|
.mutation(async ({ input, ctx }) => {
|
|
12965
12980
|
const { nodeId, ...methodInput } = input;
|
|
12966
12981
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12968,8 +12983,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12968
12983
|
return p.createUser(methodInput);
|
|
12969
12984
|
}),
|
|
12970
12985
|
updateUser: trpc_middleware_js_1.adminProcedure
|
|
12971
|
-
.input(
|
|
12972
|
-
.output(
|
|
12986
|
+
.input(types_151.userManagementCapability.methods.updateUser.input.loose())
|
|
12987
|
+
.output(types_151.userManagementCapability.methods.updateUser.output)
|
|
12973
12988
|
.mutation(async ({ input, ctx }) => {
|
|
12974
12989
|
const { nodeId, ...methodInput } = input;
|
|
12975
12990
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12977,8 +12992,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12977
12992
|
return p.updateUser(methodInput);
|
|
12978
12993
|
}),
|
|
12979
12994
|
deleteUser: trpc_middleware_js_1.adminProcedure
|
|
12980
|
-
.input(
|
|
12981
|
-
.output(
|
|
12995
|
+
.input(types_151.userManagementCapability.methods.deleteUser.input.loose())
|
|
12996
|
+
.output(types_151.userManagementCapability.methods.deleteUser.output)
|
|
12982
12997
|
.mutation(async ({ input, ctx }) => {
|
|
12983
12998
|
const { nodeId, ...methodInput } = input;
|
|
12984
12999
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12986,8 +13001,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12986
13001
|
return p.deleteUser(methodInput);
|
|
12987
13002
|
}),
|
|
12988
13003
|
resetPassword: trpc_middleware_js_1.adminProcedure
|
|
12989
|
-
.input(
|
|
12990
|
-
.output(
|
|
13004
|
+
.input(types_151.userManagementCapability.methods.resetPassword.input.loose())
|
|
13005
|
+
.output(types_151.userManagementCapability.methods.resetPassword.output)
|
|
12991
13006
|
.mutation(async ({ input, ctx }) => {
|
|
12992
13007
|
const { nodeId, ...methodInput } = input;
|
|
12993
13008
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -12995,8 +13010,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
12995
13010
|
return p.resetPassword(methodInput);
|
|
12996
13011
|
}),
|
|
12997
13012
|
setUserScopes: trpc_middleware_js_1.adminProcedure
|
|
12998
|
-
.input(
|
|
12999
|
-
.output(
|
|
13013
|
+
.input(types_151.userManagementCapability.methods.setUserScopes.input.loose())
|
|
13014
|
+
.output(types_151.userManagementCapability.methods.setUserScopes.output)
|
|
13000
13015
|
.mutation(async ({ input, ctx }) => {
|
|
13001
13016
|
const { nodeId, ...methodInput } = input;
|
|
13002
13017
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13004,8 +13019,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13004
13019
|
return p.setUserScopes(methodInput);
|
|
13005
13020
|
}),
|
|
13006
13021
|
validateCredentials: trpc_middleware_js_1.protectedProcedure
|
|
13007
|
-
.input(
|
|
13008
|
-
.output(
|
|
13022
|
+
.input(types_151.userManagementCapability.methods.validateCredentials.input.loose())
|
|
13023
|
+
.output(types_151.userManagementCapability.methods.validateCredentials.output)
|
|
13009
13024
|
.mutation(async ({ input, ctx }) => {
|
|
13010
13025
|
const { nodeId, ...methodInput } = input;
|
|
13011
13026
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13013,8 +13028,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13013
13028
|
return p.validateCredentials(methodInput);
|
|
13014
13029
|
}),
|
|
13015
13030
|
setupTotp: trpc_middleware_js_1.adminProcedure
|
|
13016
|
-
.input(
|
|
13017
|
-
.output(
|
|
13031
|
+
.input(types_151.userManagementCapability.methods.setupTotp.input.loose())
|
|
13032
|
+
.output(types_151.userManagementCapability.methods.setupTotp.output)
|
|
13018
13033
|
.mutation(async ({ input, ctx }) => {
|
|
13019
13034
|
const { nodeId, ...methodInput } = input;
|
|
13020
13035
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13022,8 +13037,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13022
13037
|
return p.setupTotp(methodInput);
|
|
13023
13038
|
}),
|
|
13024
13039
|
confirmTotp: trpc_middleware_js_1.adminProcedure
|
|
13025
|
-
.input(
|
|
13026
|
-
.output(
|
|
13040
|
+
.input(types_151.userManagementCapability.methods.confirmTotp.input.loose())
|
|
13041
|
+
.output(types_151.userManagementCapability.methods.confirmTotp.output)
|
|
13027
13042
|
.mutation(async ({ input, ctx }) => {
|
|
13028
13043
|
const { nodeId, ...methodInput } = input;
|
|
13029
13044
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13031,8 +13046,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13031
13046
|
return p.confirmTotp(methodInput);
|
|
13032
13047
|
}),
|
|
13033
13048
|
disableTotp: trpc_middleware_js_1.adminProcedure
|
|
13034
|
-
.input(
|
|
13035
|
-
.output(
|
|
13049
|
+
.input(types_151.userManagementCapability.methods.disableTotp.input.loose())
|
|
13050
|
+
.output(types_151.userManagementCapability.methods.disableTotp.output)
|
|
13036
13051
|
.mutation(async ({ input, ctx }) => {
|
|
13037
13052
|
const { nodeId, ...methodInput } = input;
|
|
13038
13053
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13040,8 +13055,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13040
13055
|
return p.disableTotp(methodInput);
|
|
13041
13056
|
}),
|
|
13042
13057
|
getTotpStatus: trpc_middleware_js_1.adminProcedure
|
|
13043
|
-
.input(
|
|
13044
|
-
.output(
|
|
13058
|
+
.input(types_151.userManagementCapability.methods.getTotpStatus.input.loose())
|
|
13059
|
+
.output(types_151.userManagementCapability.methods.getTotpStatus.output)
|
|
13045
13060
|
.query(async ({ input, ctx }) => {
|
|
13046
13061
|
const { nodeId, ...methodInput } = input;
|
|
13047
13062
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13049,8 +13064,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13049
13064
|
return p.getTotpStatus(methodInput);
|
|
13050
13065
|
}),
|
|
13051
13066
|
migrateRawSecrets: trpc_middleware_js_1.adminProcedure
|
|
13052
|
-
.input(
|
|
13053
|
-
.output(
|
|
13067
|
+
.input(types_151.userManagementCapability.methods.migrateRawSecrets.input.loose())
|
|
13068
|
+
.output(types_151.userManagementCapability.methods.migrateRawSecrets.output)
|
|
13054
13069
|
.mutation(async ({ input, ctx }) => {
|
|
13055
13070
|
const { nodeId, ...methodInput } = input;
|
|
13056
13071
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13058,8 +13073,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13058
13073
|
return p.migrateRawSecrets(methodInput);
|
|
13059
13074
|
}),
|
|
13060
13075
|
verifyTotp: trpc_middleware_js_1.protectedProcedure
|
|
13061
|
-
.input(
|
|
13062
|
-
.output(
|
|
13076
|
+
.input(types_151.userManagementCapability.methods.verifyTotp.input.loose())
|
|
13077
|
+
.output(types_151.userManagementCapability.methods.verifyTotp.output)
|
|
13063
13078
|
.mutation(async ({ input, ctx }) => {
|
|
13064
13079
|
const { nodeId, ...methodInput } = input;
|
|
13065
13080
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13067,8 +13082,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13067
13082
|
return p.verifyTotp(methodInput);
|
|
13068
13083
|
}),
|
|
13069
13084
|
oauthIssueCode: trpc_middleware_js_1.protectedProcedure
|
|
13070
|
-
.input(
|
|
13071
|
-
.output(
|
|
13085
|
+
.input(types_151.userManagementCapability.methods.oauthIssueCode.input.loose())
|
|
13086
|
+
.output(types_151.userManagementCapability.methods.oauthIssueCode.output)
|
|
13072
13087
|
.mutation(async ({ input, ctx }) => {
|
|
13073
13088
|
const { nodeId, ...methodInput } = input;
|
|
13074
13089
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13076,8 +13091,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13076
13091
|
return p.oauthIssueCode(methodInput);
|
|
13077
13092
|
}),
|
|
13078
13093
|
oauthExchangeCode: trpc_middleware_js_1.protectedProcedure
|
|
13079
|
-
.input(
|
|
13080
|
-
.output(
|
|
13094
|
+
.input(types_151.userManagementCapability.methods.oauthExchangeCode.input.loose())
|
|
13095
|
+
.output(types_151.userManagementCapability.methods.oauthExchangeCode.output)
|
|
13081
13096
|
.mutation(async ({ input, ctx }) => {
|
|
13082
13097
|
const { nodeId, ...methodInput } = input;
|
|
13083
13098
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13085,8 +13100,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13085
13100
|
return p.oauthExchangeCode(methodInput);
|
|
13086
13101
|
}),
|
|
13087
13102
|
oauthRefresh: trpc_middleware_js_1.protectedProcedure
|
|
13088
|
-
.input(
|
|
13089
|
-
.output(
|
|
13103
|
+
.input(types_151.userManagementCapability.methods.oauthRefresh.input.loose())
|
|
13104
|
+
.output(types_151.userManagementCapability.methods.oauthRefresh.output)
|
|
13090
13105
|
.mutation(async ({ input, ctx }) => {
|
|
13091
13106
|
const { nodeId, ...methodInput } = input;
|
|
13092
13107
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13094,8 +13109,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13094
13109
|
return p.oauthRefresh(methodInput);
|
|
13095
13110
|
}),
|
|
13096
13111
|
oauthVerifyAccessToken: trpc_middleware_js_1.protectedProcedure
|
|
13097
|
-
.input(
|
|
13098
|
-
.output(
|
|
13112
|
+
.input(types_151.userManagementCapability.methods.oauthVerifyAccessToken.input.loose())
|
|
13113
|
+
.output(types_151.userManagementCapability.methods.oauthVerifyAccessToken.output)
|
|
13099
13114
|
.query(async ({ input, ctx }) => {
|
|
13100
13115
|
const { nodeId, ...methodInput } = input;
|
|
13101
13116
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13103,8 +13118,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13103
13118
|
return p.oauthVerifyAccessToken(methodInput);
|
|
13104
13119
|
}),
|
|
13105
13120
|
listExternalIdentities: trpc_middleware_js_1.adminProcedure
|
|
13106
|
-
.input(
|
|
13107
|
-
.output(
|
|
13121
|
+
.input(types_151.userManagementCapability.methods.listExternalIdentities.input.loose())
|
|
13122
|
+
.output(types_151.userManagementCapability.methods.listExternalIdentities.output)
|
|
13108
13123
|
.query(async ({ input, ctx }) => {
|
|
13109
13124
|
const { nodeId, ...methodInput } = input;
|
|
13110
13125
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13112,8 +13127,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13112
13127
|
return p.listExternalIdentities(methodInput);
|
|
13113
13128
|
}),
|
|
13114
13129
|
findUserByExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
13115
|
-
.input(
|
|
13116
|
-
.output(
|
|
13130
|
+
.input(types_151.userManagementCapability.methods.findUserByExternalIdentity.input.loose())
|
|
13131
|
+
.output(types_151.userManagementCapability.methods.findUserByExternalIdentity.output)
|
|
13117
13132
|
.query(async ({ input, ctx }) => {
|
|
13118
13133
|
const { nodeId, ...methodInput } = input;
|
|
13119
13134
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13121,8 +13136,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13121
13136
|
return p.findUserByExternalIdentity(methodInput);
|
|
13122
13137
|
}),
|
|
13123
13138
|
unlinkExternalIdentity: trpc_middleware_js_1.adminProcedure
|
|
13124
|
-
.input(
|
|
13125
|
-
.output(
|
|
13139
|
+
.input(types_151.userManagementCapability.methods.unlinkExternalIdentity.input.loose())
|
|
13140
|
+
.output(types_151.userManagementCapability.methods.unlinkExternalIdentity.output)
|
|
13126
13141
|
.mutation(async ({ input, ctx }) => {
|
|
13127
13142
|
const { nodeId, ...methodInput } = input;
|
|
13128
13143
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13131,14 +13146,14 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13131
13146
|
}),
|
|
13132
13147
|
listOauthSessions: trpc_middleware_js_1.adminProcedure
|
|
13133
13148
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13134
|
-
.output(
|
|
13149
|
+
.output(types_151.userManagementCapability.methods.listOauthSessions.output)
|
|
13135
13150
|
.query(async ({ input, ctx }) => {
|
|
13136
13151
|
const p = resolveProvider('user-management', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13137
13152
|
return p.listOauthSessions();
|
|
13138
13153
|
}),
|
|
13139
13154
|
revokeOauthSession: trpc_middleware_js_1.adminProcedure
|
|
13140
|
-
.input(
|
|
13141
|
-
.output(
|
|
13155
|
+
.input(types_151.userManagementCapability.methods.revokeOauthSession.input.loose())
|
|
13156
|
+
.output(types_151.userManagementCapability.methods.revokeOauthSession.output)
|
|
13142
13157
|
.mutation(async ({ input, ctx }) => {
|
|
13143
13158
|
const { nodeId, ...methodInput } = input;
|
|
13144
13159
|
const p = resolveProvider('user-management', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13150,8 +13165,8 @@ function createCapRouter_userManagement(getProvider, createRemoteProxy) {
|
|
|
13150
13165
|
function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
13151
13166
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13152
13167
|
beginRegistration: trpc_middleware_js_1.adminProcedure
|
|
13153
|
-
.input(
|
|
13154
|
-
.output(
|
|
13168
|
+
.input(types_152.userPasskeysCapability.methods.beginRegistration.input.loose())
|
|
13169
|
+
.output(types_152.userPasskeysCapability.methods.beginRegistration.output)
|
|
13155
13170
|
.mutation(async ({ input, ctx }) => {
|
|
13156
13171
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13157
13172
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13159,8 +13174,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13159
13174
|
return p.beginRegistration(methodInput);
|
|
13160
13175
|
}),
|
|
13161
13176
|
finishRegistration: trpc_middleware_js_1.adminProcedure
|
|
13162
|
-
.input(
|
|
13163
|
-
.output(
|
|
13177
|
+
.input(types_152.userPasskeysCapability.methods.finishRegistration.input.loose())
|
|
13178
|
+
.output(types_152.userPasskeysCapability.methods.finishRegistration.output)
|
|
13164
13179
|
.mutation(async ({ input, ctx }) => {
|
|
13165
13180
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13166
13181
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13168,8 +13183,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13168
13183
|
return p.finishRegistration(methodInput);
|
|
13169
13184
|
}),
|
|
13170
13185
|
beginAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13171
|
-
.input(
|
|
13172
|
-
.output(
|
|
13186
|
+
.input(types_152.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
13187
|
+
.output(types_152.userPasskeysCapability.methods.beginAuthentication.output)
|
|
13173
13188
|
.mutation(async ({ input, ctx }) => {
|
|
13174
13189
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13175
13190
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13177,8 +13192,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13177
13192
|
return p.beginAuthentication(methodInput);
|
|
13178
13193
|
}),
|
|
13179
13194
|
finishAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13180
|
-
.input(
|
|
13181
|
-
.output(
|
|
13195
|
+
.input(types_152.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
13196
|
+
.output(types_152.userPasskeysCapability.methods.finishAuthentication.output)
|
|
13182
13197
|
.mutation(async ({ input, ctx }) => {
|
|
13183
13198
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13184
13199
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13186,8 +13201,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13186
13201
|
return p.finishAuthentication(methodInput);
|
|
13187
13202
|
}),
|
|
13188
13203
|
beginDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13189
|
-
.input(
|
|
13190
|
-
.output(
|
|
13204
|
+
.input(types_152.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
13205
|
+
.output(types_152.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
13191
13206
|
.mutation(async ({ input, ctx }) => {
|
|
13192
13207
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13193
13208
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13195,8 +13210,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13195
13210
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
13196
13211
|
}),
|
|
13197
13212
|
finishDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
13198
|
-
.input(
|
|
13199
|
-
.output(
|
|
13213
|
+
.input(types_152.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
13214
|
+
.output(types_152.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
13200
13215
|
.mutation(async ({ input, ctx }) => {
|
|
13201
13216
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13202
13217
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13204,8 +13219,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13204
13219
|
return p.finishDiscoverableAuthentication(methodInput);
|
|
13205
13220
|
}),
|
|
13206
13221
|
listPasskeys: trpc_middleware_js_1.adminProcedure
|
|
13207
|
-
.input(
|
|
13208
|
-
.output(
|
|
13222
|
+
.input(types_152.userPasskeysCapability.methods.listPasskeys.input.loose())
|
|
13223
|
+
.output(types_152.userPasskeysCapability.methods.listPasskeys.output)
|
|
13209
13224
|
.query(async ({ input, ctx }) => {
|
|
13210
13225
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13211
13226
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13213,8 +13228,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13213
13228
|
return p.listPasskeys(methodInput);
|
|
13214
13229
|
}),
|
|
13215
13230
|
removePasskey: trpc_middleware_js_1.adminProcedure
|
|
13216
|
-
.input(
|
|
13217
|
-
.output(
|
|
13231
|
+
.input(types_152.userPasskeysCapability.methods.removePasskey.input.loose())
|
|
13232
|
+
.output(types_152.userPasskeysCapability.methods.removePasskey.output)
|
|
13218
13233
|
.mutation(async ({ input, ctx }) => {
|
|
13219
13234
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13220
13235
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13222,8 +13237,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13222
13237
|
return p.removePasskey(methodInput);
|
|
13223
13238
|
}),
|
|
13224
13239
|
getSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
13225
|
-
.input(
|
|
13226
|
-
.output(
|
|
13240
|
+
.input(types_152.userPasskeysCapability.methods.getSecondFactorPreference.input.loose())
|
|
13241
|
+
.output(types_152.userPasskeysCapability.methods.getSecondFactorPreference.output)
|
|
13227
13242
|
.query(async ({ input, ctx }) => {
|
|
13228
13243
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13229
13244
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13231,8 +13246,8 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
13231
13246
|
return p.getSecondFactorPreference(methodInput);
|
|
13232
13247
|
}),
|
|
13233
13248
|
setSecondFactorPreference: trpc_middleware_js_1.adminProcedure
|
|
13234
|
-
.input(
|
|
13235
|
-
.output(
|
|
13249
|
+
.input(types_152.userPasskeysCapability.methods.setSecondFactorPreference.input.loose())
|
|
13250
|
+
.output(types_152.userPasskeysCapability.methods.setSecondFactorPreference.output)
|
|
13236
13251
|
.mutation(async ({ input, ctx }) => {
|
|
13237
13252
|
const { nodeId, addonId, ...methodInput } = input;
|
|
13238
13253
|
const p = resolveProvider('user-passkeys', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
@@ -13253,8 +13268,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13253
13268
|
return p.getStatus(methodInput);
|
|
13254
13269
|
}),
|
|
13255
13270
|
start: trpc_middleware_js_1.protectedProcedure
|
|
13256
|
-
.input(
|
|
13257
|
-
.output(
|
|
13271
|
+
.input(types_153.vacuumControlCapability.methods.start.input.loose())
|
|
13272
|
+
.output(types_153.vacuumControlCapability.methods.start.output)
|
|
13258
13273
|
.mutation(async ({ input, ctx }) => {
|
|
13259
13274
|
const { nodeId, ...methodInput } = input;
|
|
13260
13275
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13262,8 +13277,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13262
13277
|
return p.start(methodInput);
|
|
13263
13278
|
}),
|
|
13264
13279
|
pause: trpc_middleware_js_1.protectedProcedure
|
|
13265
|
-
.input(
|
|
13266
|
-
.output(
|
|
13280
|
+
.input(types_153.vacuumControlCapability.methods.pause.input.loose())
|
|
13281
|
+
.output(types_153.vacuumControlCapability.methods.pause.output)
|
|
13267
13282
|
.mutation(async ({ input, ctx }) => {
|
|
13268
13283
|
const { nodeId, ...methodInput } = input;
|
|
13269
13284
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13271,8 +13286,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13271
13286
|
return p.pause(methodInput);
|
|
13272
13287
|
}),
|
|
13273
13288
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
13274
|
-
.input(
|
|
13275
|
-
.output(
|
|
13289
|
+
.input(types_153.vacuumControlCapability.methods.stop.input.loose())
|
|
13290
|
+
.output(types_153.vacuumControlCapability.methods.stop.output)
|
|
13276
13291
|
.mutation(async ({ input, ctx }) => {
|
|
13277
13292
|
const { nodeId, ...methodInput } = input;
|
|
13278
13293
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13280,8 +13295,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13280
13295
|
return p.stop(methodInput);
|
|
13281
13296
|
}),
|
|
13282
13297
|
returnToBase: trpc_middleware_js_1.protectedProcedure
|
|
13283
|
-
.input(
|
|
13284
|
-
.output(
|
|
13298
|
+
.input(types_153.vacuumControlCapability.methods.returnToBase.input.loose())
|
|
13299
|
+
.output(types_153.vacuumControlCapability.methods.returnToBase.output)
|
|
13285
13300
|
.mutation(async ({ input, ctx }) => {
|
|
13286
13301
|
const { nodeId, ...methodInput } = input;
|
|
13287
13302
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13289,8 +13304,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13289
13304
|
return p.returnToBase(methodInput);
|
|
13290
13305
|
}),
|
|
13291
13306
|
locate: trpc_middleware_js_1.protectedProcedure
|
|
13292
|
-
.input(
|
|
13293
|
-
.output(
|
|
13307
|
+
.input(types_153.vacuumControlCapability.methods.locate.input.loose())
|
|
13308
|
+
.output(types_153.vacuumControlCapability.methods.locate.output)
|
|
13294
13309
|
.mutation(async ({ input, ctx }) => {
|
|
13295
13310
|
const { nodeId, ...methodInput } = input;
|
|
13296
13311
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13298,8 +13313,8 @@ function createCapRouter_vacuumControl(getProvider, createRemoteProxy) {
|
|
|
13298
13313
|
return p.locate(methodInput);
|
|
13299
13314
|
}),
|
|
13300
13315
|
setFanSpeed: trpc_middleware_js_1.protectedProcedure
|
|
13301
|
-
.input(
|
|
13302
|
-
.output(
|
|
13316
|
+
.input(types_153.vacuumControlCapability.methods.setFanSpeed.input.loose())
|
|
13317
|
+
.output(types_153.vacuumControlCapability.methods.setFanSpeed.output)
|
|
13303
13318
|
.mutation(async ({ input, ctx }) => {
|
|
13304
13319
|
const { nodeId, ...methodInput } = input;
|
|
13305
13320
|
const p = resolveProvider('vacuum-control', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13320,8 +13335,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13320
13335
|
return p.getStatus(methodInput);
|
|
13321
13336
|
}),
|
|
13322
13337
|
open: trpc_middleware_js_1.protectedProcedure
|
|
13323
|
-
.input(
|
|
13324
|
-
.output(
|
|
13338
|
+
.input(types_154.valveCapability.methods.open.input.loose())
|
|
13339
|
+
.output(types_154.valveCapability.methods.open.output)
|
|
13325
13340
|
.mutation(async ({ input, ctx }) => {
|
|
13326
13341
|
const { nodeId, ...methodInput } = input;
|
|
13327
13342
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13329,8 +13344,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13329
13344
|
return p.open(methodInput);
|
|
13330
13345
|
}),
|
|
13331
13346
|
close: trpc_middleware_js_1.protectedProcedure
|
|
13332
|
-
.input(
|
|
13333
|
-
.output(
|
|
13347
|
+
.input(types_154.valveCapability.methods.close.input.loose())
|
|
13348
|
+
.output(types_154.valveCapability.methods.close.output)
|
|
13334
13349
|
.mutation(async ({ input, ctx }) => {
|
|
13335
13350
|
const { nodeId, ...methodInput } = input;
|
|
13336
13351
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13338,8 +13353,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13338
13353
|
return p.close(methodInput);
|
|
13339
13354
|
}),
|
|
13340
13355
|
stop: trpc_middleware_js_1.protectedProcedure
|
|
13341
|
-
.input(
|
|
13342
|
-
.output(
|
|
13356
|
+
.input(types_154.valveCapability.methods.stop.input.loose())
|
|
13357
|
+
.output(types_154.valveCapability.methods.stop.output)
|
|
13343
13358
|
.mutation(async ({ input, ctx }) => {
|
|
13344
13359
|
const { nodeId, ...methodInput } = input;
|
|
13345
13360
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13347,8 +13362,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13347
13362
|
return p.stop(methodInput);
|
|
13348
13363
|
}),
|
|
13349
13364
|
setPosition: trpc_middleware_js_1.protectedProcedure
|
|
13350
|
-
.input(
|
|
13351
|
-
.output(
|
|
13365
|
+
.input(types_154.valveCapability.methods.setPosition.input.loose())
|
|
13366
|
+
.output(types_154.valveCapability.methods.setPosition.output)
|
|
13352
13367
|
.mutation(async ({ input, ctx }) => {
|
|
13353
13368
|
const { nodeId, ...methodInput } = input;
|
|
13354
13369
|
const p = resolveProvider('valve', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13360,8 +13375,8 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
13360
13375
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
13361
13376
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13362
13377
|
declareIndex: trpc_middleware_js_1.adminProcedure
|
|
13363
|
-
.input(
|
|
13364
|
-
.output(
|
|
13378
|
+
.input(types_155.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
13379
|
+
.output(types_155.vectorStoreCapability.methods.declareIndex.output)
|
|
13365
13380
|
.mutation(async ({ input, ctx }) => {
|
|
13366
13381
|
const { nodeId, ...methodInput } = input;
|
|
13367
13382
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13369,8 +13384,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13369
13384
|
return p.declareIndex(methodInput);
|
|
13370
13385
|
}),
|
|
13371
13386
|
upsert: trpc_middleware_js_1.adminProcedure
|
|
13372
|
-
.input(
|
|
13373
|
-
.output(
|
|
13387
|
+
.input(types_155.vectorStoreCapability.methods.upsert.input.loose())
|
|
13388
|
+
.output(types_155.vectorStoreCapability.methods.upsert.output)
|
|
13374
13389
|
.mutation(async ({ input, ctx }) => {
|
|
13375
13390
|
const { nodeId, ...methodInput } = input;
|
|
13376
13391
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13378,8 +13393,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13378
13393
|
return p.upsert(methodInput);
|
|
13379
13394
|
}),
|
|
13380
13395
|
query: trpc_middleware_js_1.adminProcedure
|
|
13381
|
-
.input(
|
|
13382
|
-
.output(
|
|
13396
|
+
.input(types_155.vectorStoreCapability.methods.query.input.loose())
|
|
13397
|
+
.output(types_155.vectorStoreCapability.methods.query.output)
|
|
13383
13398
|
.query(async ({ input, ctx }) => {
|
|
13384
13399
|
const { nodeId, ...methodInput } = input;
|
|
13385
13400
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13387,8 +13402,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13387
13402
|
return p.query(methodInput);
|
|
13388
13403
|
}),
|
|
13389
13404
|
getByIds: trpc_middleware_js_1.adminProcedure
|
|
13390
|
-
.input(
|
|
13391
|
-
.output(
|
|
13405
|
+
.input(types_155.vectorStoreCapability.methods.getByIds.input.loose())
|
|
13406
|
+
.output(types_155.vectorStoreCapability.methods.getByIds.output)
|
|
13392
13407
|
.query(async ({ input, ctx }) => {
|
|
13393
13408
|
const { nodeId, ...methodInput } = input;
|
|
13394
13409
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13396,8 +13411,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13396
13411
|
return p.getByIds(methodInput);
|
|
13397
13412
|
}),
|
|
13398
13413
|
fetchByIds: trpc_middleware_js_1.adminProcedure
|
|
13399
|
-
.input(
|
|
13400
|
-
.output(
|
|
13414
|
+
.input(types_155.vectorStoreCapability.methods.fetchByIds.input.loose())
|
|
13415
|
+
.output(types_155.vectorStoreCapability.methods.fetchByIds.output)
|
|
13401
13416
|
.query(async ({ input, ctx }) => {
|
|
13402
13417
|
const { nodeId, ...methodInput } = input;
|
|
13403
13418
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13405,8 +13420,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13405
13420
|
return p.fetchByIds(methodInput);
|
|
13406
13421
|
}),
|
|
13407
13422
|
scan: trpc_middleware_js_1.adminProcedure
|
|
13408
|
-
.input(
|
|
13409
|
-
.output(
|
|
13423
|
+
.input(types_155.vectorStoreCapability.methods.scan.input.loose())
|
|
13424
|
+
.output(types_155.vectorStoreCapability.methods.scan.output)
|
|
13410
13425
|
.query(async ({ input, ctx }) => {
|
|
13411
13426
|
const { nodeId, ...methodInput } = input;
|
|
13412
13427
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13414,8 +13429,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13414
13429
|
return p.scan(methodInput);
|
|
13415
13430
|
}),
|
|
13416
13431
|
deleteByIds: trpc_middleware_js_1.adminProcedure
|
|
13417
|
-
.input(
|
|
13418
|
-
.output(
|
|
13432
|
+
.input(types_155.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
13433
|
+
.output(types_155.vectorStoreCapability.methods.deleteByIds.output)
|
|
13419
13434
|
.mutation(async ({ input, ctx }) => {
|
|
13420
13435
|
const { nodeId, ...methodInput } = input;
|
|
13421
13436
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13423,8 +13438,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13423
13438
|
return p.deleteByIds(methodInput);
|
|
13424
13439
|
}),
|
|
13425
13440
|
deleteByFilter: trpc_middleware_js_1.adminProcedure
|
|
13426
|
-
.input(
|
|
13427
|
-
.output(
|
|
13441
|
+
.input(types_155.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
13442
|
+
.output(types_155.vectorStoreCapability.methods.deleteByFilter.output)
|
|
13428
13443
|
.mutation(async ({ input, ctx }) => {
|
|
13429
13444
|
const { nodeId, ...methodInput } = input;
|
|
13430
13445
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13432,8 +13447,8 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
13432
13447
|
return p.deleteByFilter(methodInput);
|
|
13433
13448
|
}),
|
|
13434
13449
|
stats: trpc_middleware_js_1.adminProcedure
|
|
13435
|
-
.input(
|
|
13436
|
-
.output(
|
|
13450
|
+
.input(types_155.vectorStoreCapability.methods.stats.input.loose())
|
|
13451
|
+
.output(types_155.vectorStoreCapability.methods.stats.output)
|
|
13437
13452
|
.query(async ({ input, ctx }) => {
|
|
13438
13453
|
const { nodeId, ...methodInput } = input;
|
|
13439
13454
|
const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13458,8 +13473,8 @@ function createCapRouter_vibration(getProvider, createRemoteProxy) {
|
|
|
13458
13473
|
function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
13459
13474
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13460
13475
|
listClips: trpc_middleware_js_1.protectedProcedure
|
|
13461
|
-
.input(
|
|
13462
|
-
.output(
|
|
13476
|
+
.input(types_156.videoclipsCapability.methods.listClips.input.loose())
|
|
13477
|
+
.output(types_156.videoclipsCapability.methods.listClips.output)
|
|
13463
13478
|
.query(async ({ input, ctx }) => {
|
|
13464
13479
|
const { nodeId, ...methodInput } = input;
|
|
13465
13480
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13467,8 +13482,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13467
13482
|
return p.listClips(methodInput);
|
|
13468
13483
|
}),
|
|
13469
13484
|
listSources: trpc_middleware_js_1.protectedProcedure
|
|
13470
|
-
.input(
|
|
13471
|
-
.output(
|
|
13485
|
+
.input(types_156.videoclipsCapability.methods.listSources.input.loose())
|
|
13486
|
+
.output(types_156.videoclipsCapability.methods.listSources.output)
|
|
13472
13487
|
.query(async ({ input, ctx }) => {
|
|
13473
13488
|
const { nodeId, ...methodInput } = input;
|
|
13474
13489
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13476,8 +13491,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13476
13491
|
return p.listSources(methodInput);
|
|
13477
13492
|
}),
|
|
13478
13493
|
getClipPlayback: trpc_middleware_js_1.protectedProcedure
|
|
13479
|
-
.input(
|
|
13480
|
-
.output(
|
|
13494
|
+
.input(types_156.videoclipsCapability.methods.getClipPlayback.input.loose())
|
|
13495
|
+
.output(types_156.videoclipsCapability.methods.getClipPlayback.output)
|
|
13481
13496
|
.query(async ({ input, ctx }) => {
|
|
13482
13497
|
const { nodeId, ...methodInput } = input;
|
|
13483
13498
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13485,8 +13500,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13485
13500
|
return p.getClipPlayback(methodInput);
|
|
13486
13501
|
}),
|
|
13487
13502
|
readClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
13488
|
-
.input(
|
|
13489
|
-
.output(
|
|
13503
|
+
.input(types_156.videoclipsCapability.methods.readClipBytes.input.loose())
|
|
13504
|
+
.output(types_156.videoclipsCapability.methods.readClipBytes.output)
|
|
13490
13505
|
.query(async ({ input, ctx }) => {
|
|
13491
13506
|
const { nodeId, ...methodInput } = input;
|
|
13492
13507
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13501,8 +13516,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13501
13516
|
return fn.call(p, methodInput);
|
|
13502
13517
|
}),
|
|
13503
13518
|
offerClipBytes: trpc_middleware_js_1.protectedProcedure
|
|
13504
|
-
.input(
|
|
13505
|
-
.output(
|
|
13519
|
+
.input(types_156.videoclipsCapability.methods.offerClipBytes.input.loose())
|
|
13520
|
+
.output(types_156.videoclipsCapability.methods.offerClipBytes.output)
|
|
13506
13521
|
.query(async ({ input, ctx }) => {
|
|
13507
13522
|
const { nodeId, ...methodInput } = input;
|
|
13508
13523
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13517,8 +13532,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13517
13532
|
return fn.call(p, methodInput);
|
|
13518
13533
|
}),
|
|
13519
13534
|
dialClipStream: trpc_middleware_js_1.protectedProcedure
|
|
13520
|
-
.input(
|
|
13521
|
-
.output(
|
|
13535
|
+
.input(types_156.videoclipsCapability.methods.dialClipStream.input.loose())
|
|
13536
|
+
.output(types_156.videoclipsCapability.methods.dialClipStream.output)
|
|
13522
13537
|
.query(async ({ input, ctx }) => {
|
|
13523
13538
|
const { nodeId, ...methodInput } = input;
|
|
13524
13539
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13533,8 +13548,8 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
13533
13548
|
return fn.call(p, methodInput);
|
|
13534
13549
|
}),
|
|
13535
13550
|
getPlaybackOptions: trpc_middleware_js_1.protectedProcedure
|
|
13536
|
-
.input(
|
|
13537
|
-
.output(
|
|
13551
|
+
.input(types_156.videoclipsCapability.methods.getPlaybackOptions.input.loose())
|
|
13552
|
+
.output(types_156.videoclipsCapability.methods.getPlaybackOptions.output)
|
|
13538
13553
|
.query(async ({ input, ctx }) => {
|
|
13539
13554
|
const { nodeId, ...methodInput } = input;
|
|
13540
13555
|
const p = resolveProvider('videoclips', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13554,14 +13569,14 @@ function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
|
13554
13569
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13555
13570
|
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
13556
13571
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13557
|
-
.output(
|
|
13572
|
+
.output(types_157.viewerUiCapability.methods.getStaticDir.output)
|
|
13558
13573
|
.query(async ({ input, ctx }) => {
|
|
13559
13574
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13560
13575
|
return p.getStaticDir();
|
|
13561
13576
|
}),
|
|
13562
13577
|
getVersion: trpc_middleware_js_1.adminProcedure
|
|
13563
13578
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
13564
|
-
.output(
|
|
13579
|
+
.output(types_157.viewerUiCapability.methods.getVersion.output)
|
|
13565
13580
|
.query(async ({ input, ctx }) => {
|
|
13566
13581
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
13567
13582
|
return p.getVersion();
|
|
@@ -13580,8 +13595,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13580
13595
|
return p.getStatus(methodInput);
|
|
13581
13596
|
}),
|
|
13582
13597
|
setTargetTemp: trpc_middleware_js_1.protectedProcedure
|
|
13583
|
-
.input(
|
|
13584
|
-
.output(
|
|
13598
|
+
.input(types_158.waterHeaterCapability.methods.setTargetTemp.input.loose())
|
|
13599
|
+
.output(types_158.waterHeaterCapability.methods.setTargetTemp.output)
|
|
13585
13600
|
.mutation(async ({ input, ctx }) => {
|
|
13586
13601
|
const { nodeId, ...methodInput } = input;
|
|
13587
13602
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13589,8 +13604,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13589
13604
|
return p.setTargetTemp(methodInput);
|
|
13590
13605
|
}),
|
|
13591
13606
|
setOperationMode: trpc_middleware_js_1.protectedProcedure
|
|
13592
|
-
.input(
|
|
13593
|
-
.output(
|
|
13607
|
+
.input(types_158.waterHeaterCapability.methods.setOperationMode.input.loose())
|
|
13608
|
+
.output(types_158.waterHeaterCapability.methods.setOperationMode.output)
|
|
13594
13609
|
.mutation(async ({ input, ctx }) => {
|
|
13595
13610
|
const { nodeId, ...methodInput } = input;
|
|
13596
13611
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13598,8 +13613,8 @@ function createCapRouter_waterHeater(getProvider, createRemoteProxy) {
|
|
|
13598
13613
|
return p.setOperationMode(methodInput);
|
|
13599
13614
|
}),
|
|
13600
13615
|
setAway: trpc_middleware_js_1.protectedProcedure
|
|
13601
|
-
.input(
|
|
13602
|
-
.output(
|
|
13616
|
+
.input(types_158.waterHeaterCapability.methods.setAway.input.loose())
|
|
13617
|
+
.output(types_158.waterHeaterCapability.methods.setAway.output)
|
|
13603
13618
|
.mutation(async ({ input, ctx }) => {
|
|
13604
13619
|
const { nodeId, ...methodInput } = input;
|
|
13605
13620
|
const p = resolveProvider('water-heater', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13624,8 +13639,8 @@ function createCapRouter_weather(getProvider, createRemoteProxy) {
|
|
|
13624
13639
|
function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
13625
13640
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13626
13641
|
listStreams: trpc_middleware_js_1.protectedProcedure
|
|
13627
|
-
.input(
|
|
13628
|
-
.output(
|
|
13642
|
+
.input(types_159.webrtcSessionCapability.methods.listStreams.input.loose())
|
|
13643
|
+
.output(types_159.webrtcSessionCapability.methods.listStreams.output)
|
|
13629
13644
|
.query(async ({ input, ctx }) => {
|
|
13630
13645
|
const { nodeId, ...methodInput } = input;
|
|
13631
13646
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13633,8 +13648,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13633
13648
|
return p.listStreams(methodInput);
|
|
13634
13649
|
}),
|
|
13635
13650
|
createSession: trpc_middleware_js_1.protectedProcedure
|
|
13636
|
-
.input(
|
|
13637
|
-
.output(
|
|
13651
|
+
.input(types_159.webrtcSessionCapability.methods.createSession.input.loose())
|
|
13652
|
+
.output(types_159.webrtcSessionCapability.methods.createSession.output)
|
|
13638
13653
|
.mutation(async ({ input, ctx }) => {
|
|
13639
13654
|
const { nodeId, ...methodInput } = input;
|
|
13640
13655
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13642,8 +13657,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13642
13657
|
return p.createSession(methodInput);
|
|
13643
13658
|
}),
|
|
13644
13659
|
handleOffer: trpc_middleware_js_1.protectedProcedure
|
|
13645
|
-
.input(
|
|
13646
|
-
.output(
|
|
13660
|
+
.input(types_159.webrtcSessionCapability.methods.handleOffer.input.loose())
|
|
13661
|
+
.output(types_159.webrtcSessionCapability.methods.handleOffer.output)
|
|
13647
13662
|
.mutation(async ({ input, ctx }) => {
|
|
13648
13663
|
const { nodeId, ...methodInput } = input;
|
|
13649
13664
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13651,8 +13666,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13651
13666
|
return p.handleOffer(methodInput);
|
|
13652
13667
|
}),
|
|
13653
13668
|
handleAnswer: trpc_middleware_js_1.protectedProcedure
|
|
13654
|
-
.input(
|
|
13655
|
-
.output(
|
|
13669
|
+
.input(types_159.webrtcSessionCapability.methods.handleAnswer.input.loose())
|
|
13670
|
+
.output(types_159.webrtcSessionCapability.methods.handleAnswer.output)
|
|
13656
13671
|
.mutation(async ({ input, ctx }) => {
|
|
13657
13672
|
const { nodeId, ...methodInput } = input;
|
|
13658
13673
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13660,8 +13675,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13660
13675
|
return p.handleAnswer(methodInput);
|
|
13661
13676
|
}),
|
|
13662
13677
|
addIceCandidate: trpc_middleware_js_1.protectedProcedure
|
|
13663
|
-
.input(
|
|
13664
|
-
.output(
|
|
13678
|
+
.input(types_159.webrtcSessionCapability.methods.addIceCandidate.input.loose())
|
|
13679
|
+
.output(types_159.webrtcSessionCapability.methods.addIceCandidate.output)
|
|
13665
13680
|
.mutation(async ({ input, ctx }) => {
|
|
13666
13681
|
const { nodeId, ...methodInput } = input;
|
|
13667
13682
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13669,8 +13684,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13669
13684
|
return p.addIceCandidate(methodInput);
|
|
13670
13685
|
}),
|
|
13671
13686
|
getIceCandidates: trpc_middleware_js_1.protectedProcedure
|
|
13672
|
-
.input(
|
|
13673
|
-
.output(
|
|
13687
|
+
.input(types_159.webrtcSessionCapability.methods.getIceCandidates.input.loose())
|
|
13688
|
+
.output(types_159.webrtcSessionCapability.methods.getIceCandidates.output)
|
|
13674
13689
|
.query(async ({ input, ctx }) => {
|
|
13675
13690
|
const { nodeId, ...methodInput } = input;
|
|
13676
13691
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13678,8 +13693,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13678
13693
|
return p.getIceCandidates(methodInput);
|
|
13679
13694
|
}),
|
|
13680
13695
|
closeSession: trpc_middleware_js_1.protectedProcedure
|
|
13681
|
-
.input(
|
|
13682
|
-
.output(
|
|
13696
|
+
.input(types_159.webrtcSessionCapability.methods.closeSession.input.loose())
|
|
13697
|
+
.output(types_159.webrtcSessionCapability.methods.closeSession.output)
|
|
13683
13698
|
.mutation(async ({ input, ctx }) => {
|
|
13684
13699
|
const { nodeId, ...methodInput } = input;
|
|
13685
13700
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13687,8 +13702,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13687
13702
|
return p.closeSession(methodInput);
|
|
13688
13703
|
}),
|
|
13689
13704
|
hasAdaptiveBitrate: trpc_middleware_js_1.protectedProcedure
|
|
13690
|
-
.input(
|
|
13691
|
-
.output(
|
|
13705
|
+
.input(types_159.webrtcSessionCapability.methods.hasAdaptiveBitrate.input.loose())
|
|
13706
|
+
.output(types_159.webrtcSessionCapability.methods.hasAdaptiveBitrate.output)
|
|
13692
13707
|
.query(async ({ input, ctx }) => {
|
|
13693
13708
|
const { nodeId, ...methodInput } = input;
|
|
13694
13709
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13696,8 +13711,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13696
13711
|
return p.hasAdaptiveBitrate(methodInput);
|
|
13697
13712
|
}),
|
|
13698
13713
|
getSessionState: trpc_middleware_js_1.protectedProcedure
|
|
13699
|
-
.input(
|
|
13700
|
-
.output(
|
|
13714
|
+
.input(types_159.webrtcSessionCapability.methods.getSessionState.input.loose())
|
|
13715
|
+
.output(types_159.webrtcSessionCapability.methods.getSessionState.output)
|
|
13701
13716
|
.query(async ({ input, ctx }) => {
|
|
13702
13717
|
const { nodeId, ...methodInput } = input;
|
|
13703
13718
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13705,8 +13720,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13705
13720
|
return p.getSessionState(methodInput);
|
|
13706
13721
|
}),
|
|
13707
13722
|
applyDownlinkProbe: trpc_middleware_js_1.protectedProcedure
|
|
13708
|
-
.input(
|
|
13709
|
-
.output(
|
|
13723
|
+
.input(types_159.webrtcSessionCapability.methods.applyDownlinkProbe.input.loose())
|
|
13724
|
+
.output(types_159.webrtcSessionCapability.methods.applyDownlinkProbe.output)
|
|
13710
13725
|
.mutation(async ({ input, ctx }) => {
|
|
13711
13726
|
const { nodeId, ...methodInput } = input;
|
|
13712
13727
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13714,8 +13729,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13714
13729
|
return p.applyDownlinkProbe(methodInput);
|
|
13715
13730
|
}),
|
|
13716
13731
|
getSessionDebug: trpc_middleware_js_1.protectedProcedure
|
|
13717
|
-
.input(
|
|
13718
|
-
.output(
|
|
13732
|
+
.input(types_159.webrtcSessionCapability.methods.getSessionDebug.input.loose())
|
|
13733
|
+
.output(types_159.webrtcSessionCapability.methods.getSessionDebug.output)
|
|
13719
13734
|
.query(async ({ input, ctx }) => {
|
|
13720
13735
|
const { nodeId, ...methodInput } = input;
|
|
13721
13736
|
const p = resolveProvider('webrtc-session', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13727,8 +13742,8 @@ function createCapRouter_webrtcSession(getProvider, createRemoteProxy) {
|
|
|
13727
13742
|
function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
13728
13743
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13729
13744
|
getCurrentSnapshot: trpc_middleware_js_1.protectedProcedure
|
|
13730
|
-
.input(
|
|
13731
|
-
.output(
|
|
13745
|
+
.input(types_160.zoneAnalyticsCapability.methods.getCurrentSnapshot.input.loose())
|
|
13746
|
+
.output(types_160.zoneAnalyticsCapability.methods.getCurrentSnapshot.output)
|
|
13732
13747
|
.query(async ({ input, ctx }) => {
|
|
13733
13748
|
const { nodeId, ...methodInput } = input;
|
|
13734
13749
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13736,8 +13751,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13736
13751
|
return p.getCurrentSnapshot(methodInput);
|
|
13737
13752
|
}),
|
|
13738
13753
|
getCurrentSnapshotBatch: trpc_middleware_js_1.protectedProcedure
|
|
13739
|
-
.input(
|
|
13740
|
-
.output(
|
|
13754
|
+
.input(types_160.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.input.loose())
|
|
13755
|
+
.output(types_160.zoneAnalyticsCapability.methods.getCurrentSnapshotBatch.output)
|
|
13741
13756
|
.query(async ({ input, ctx }) => {
|
|
13742
13757
|
const { nodeId, ...methodInput } = input;
|
|
13743
13758
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13745,8 +13760,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13745
13760
|
return p.getCurrentSnapshotBatch(methodInput);
|
|
13746
13761
|
}),
|
|
13747
13762
|
getZoneHistory: trpc_middleware_js_1.protectedProcedure
|
|
13748
|
-
.input(
|
|
13749
|
-
.output(
|
|
13763
|
+
.input(types_160.zoneAnalyticsCapability.methods.getZoneHistory.input.loose())
|
|
13764
|
+
.output(types_160.zoneAnalyticsCapability.methods.getZoneHistory.output)
|
|
13750
13765
|
.query(async ({ input, ctx }) => {
|
|
13751
13766
|
const { nodeId, ...methodInput } = input;
|
|
13752
13767
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13754,8 +13769,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13754
13769
|
return p.getZoneHistory(methodInput);
|
|
13755
13770
|
}),
|
|
13756
13771
|
getCameraHistory: trpc_middleware_js_1.protectedProcedure
|
|
13757
|
-
.input(
|
|
13758
|
-
.output(
|
|
13772
|
+
.input(types_160.zoneAnalyticsCapability.methods.getCameraHistory.input.loose())
|
|
13773
|
+
.output(types_160.zoneAnalyticsCapability.methods.getCameraHistory.output)
|
|
13759
13774
|
.query(async ({ input, ctx }) => {
|
|
13760
13775
|
const { nodeId, ...methodInput } = input;
|
|
13761
13776
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13763,8 +13778,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13763
13778
|
return p.getCameraHistory(methodInput);
|
|
13764
13779
|
}),
|
|
13765
13780
|
getUnzonedHistory: trpc_middleware_js_1.protectedProcedure
|
|
13766
|
-
.input(
|
|
13767
|
-
.output(
|
|
13781
|
+
.input(types_160.zoneAnalyticsCapability.methods.getUnzonedHistory.input.loose())
|
|
13782
|
+
.output(types_160.zoneAnalyticsCapability.methods.getUnzonedHistory.output)
|
|
13768
13783
|
.query(async ({ input, ctx }) => {
|
|
13769
13784
|
const { nodeId, ...methodInput } = input;
|
|
13770
13785
|
const p = resolveProvider('zone-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13776,8 +13791,8 @@ function createCapRouter_zoneAnalytics(getProvider, createRemoteProxy) {
|
|
|
13776
13791
|
function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
13777
13792
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13778
13793
|
listRules: trpc_middleware_js_1.protectedProcedure
|
|
13779
|
-
.input(
|
|
13780
|
-
.output(
|
|
13794
|
+
.input(types_161.zoneRulesCapability.methods.listRules.input.loose())
|
|
13795
|
+
.output(types_161.zoneRulesCapability.methods.listRules.output)
|
|
13781
13796
|
.query(async ({ input, ctx }) => {
|
|
13782
13797
|
const { nodeId, ...methodInput } = input;
|
|
13783
13798
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13785,8 +13800,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
13785
13800
|
return p.listRules(methodInput);
|
|
13786
13801
|
}),
|
|
13787
13802
|
setRules: trpc_middleware_js_1.adminProcedure
|
|
13788
|
-
.input(
|
|
13789
|
-
.output(
|
|
13803
|
+
.input(types_161.zoneRulesCapability.methods.setRules.input.loose())
|
|
13804
|
+
.output(types_161.zoneRulesCapability.methods.setRules.output)
|
|
13790
13805
|
.mutation(async ({ input, ctx }) => {
|
|
13791
13806
|
const { nodeId, ...methodInput } = input;
|
|
13792
13807
|
const p = resolveProvider('zone-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13798,8 +13813,8 @@ function createCapRouter_zoneRules(getProvider, createRemoteProxy) {
|
|
|
13798
13813
|
function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
13799
13814
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
13800
13815
|
listZones: trpc_middleware_js_1.protectedProcedure
|
|
13801
|
-
.input(
|
|
13802
|
-
.output(
|
|
13816
|
+
.input(types_162.zonesCapability.methods.listZones.input.loose())
|
|
13817
|
+
.output(types_162.zonesCapability.methods.listZones.output)
|
|
13803
13818
|
.query(async ({ input, ctx }) => {
|
|
13804
13819
|
const { nodeId, ...methodInput } = input;
|
|
13805
13820
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13807,8 +13822,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13807
13822
|
return p.listZones(methodInput);
|
|
13808
13823
|
}),
|
|
13809
13824
|
addZone: trpc_middleware_js_1.adminProcedure
|
|
13810
|
-
.input(
|
|
13811
|
-
.output(
|
|
13825
|
+
.input(types_162.zonesCapability.methods.addZone.input.loose())
|
|
13826
|
+
.output(types_162.zonesCapability.methods.addZone.output)
|
|
13812
13827
|
.mutation(async ({ input, ctx }) => {
|
|
13813
13828
|
const { nodeId, ...methodInput } = input;
|
|
13814
13829
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13816,8 +13831,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13816
13831
|
return p.addZone(methodInput);
|
|
13817
13832
|
}),
|
|
13818
13833
|
removeZone: trpc_middleware_js_1.adminProcedure
|
|
13819
|
-
.input(
|
|
13820
|
-
.output(
|
|
13834
|
+
.input(types_162.zonesCapability.methods.removeZone.input.loose())
|
|
13835
|
+
.output(types_162.zonesCapability.methods.removeZone.output)
|
|
13821
13836
|
.mutation(async ({ input, ctx }) => {
|
|
13822
13837
|
const { nodeId, ...methodInput } = input;
|
|
13823
13838
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
@@ -13825,8 +13840,8 @@ function createCapRouter_zones(getProvider, createRemoteProxy) {
|
|
|
13825
13840
|
return p.removeZone(methodInput);
|
|
13826
13841
|
}),
|
|
13827
13842
|
updateZone: trpc_middleware_js_1.adminProcedure
|
|
13828
|
-
.input(
|
|
13829
|
-
.output(
|
|
13843
|
+
.input(types_162.zonesCapability.methods.updateZone.input.loose())
|
|
13844
|
+
.output(types_162.zonesCapability.methods.updateZone.output)
|
|
13830
13845
|
.mutation(async ({ input, ctx }) => {
|
|
13831
13846
|
const { nodeId, ...methodInput } = input;
|
|
13832
13847
|
const p = resolveProvider('zones', nodeId, () => getProvider(ctx), createRemoteProxy);
|