@camstack/server 1.2.168 → 1.2.170
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.
|
@@ -378,7 +378,7 @@ function createCapRouter_addonPages(getProvider, createRemoteProxy) {
|
|
|
378
378
|
}
|
|
379
379
|
function createCapRouter_addonPagesSource(getProvider, createRemoteProxy) {
|
|
380
380
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
381
|
-
listPages: trpc_middleware_js_1.
|
|
381
|
+
listPages: trpc_middleware_js_1.adminProcedure
|
|
382
382
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
383
383
|
.output(types_5.addonPagesSourceCapability.methods.listPages.output)
|
|
384
384
|
.query(async ({ input, ctx }) => {
|
|
@@ -456,7 +456,7 @@ function createCapRouter_addonWidgets(getProvider, createRemoteProxy) {
|
|
|
456
456
|
}
|
|
457
457
|
function createCapRouter_addonWidgetsSource(getProvider, createRemoteProxy) {
|
|
458
458
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
459
|
-
listWidgets: trpc_middleware_js_1.
|
|
459
|
+
listWidgets: trpc_middleware_js_1.adminProcedure
|
|
460
460
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
461
461
|
.output(types_9.addonWidgetsSourceCapability.methods.listWidgets.output)
|
|
462
462
|
.query(async ({ input, ctx }) => {
|
|
@@ -735,14 +735,14 @@ function createCapRouter_addons(getProvider, _createRemoteProxy) {
|
|
|
735
735
|
}
|
|
736
736
|
function createCapRouter_adminUi(getProvider, createRemoteProxy) {
|
|
737
737
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
738
|
-
getStaticDir: trpc_middleware_js_1.
|
|
738
|
+
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
739
739
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
740
740
|
.output(types_11.adminUiCapability.methods.getStaticDir.output)
|
|
741
741
|
.query(async ({ input, ctx }) => {
|
|
742
742
|
const p = resolveProvider('admin-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
743
743
|
return p.getStaticDir();
|
|
744
744
|
}),
|
|
745
|
-
getVersion: trpc_middleware_js_1.
|
|
745
|
+
getVersion: trpc_middleware_js_1.adminProcedure
|
|
746
746
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
747
747
|
.output(types_11.adminUiCapability.methods.getVersion.output)
|
|
748
748
|
.query(async ({ input, ctx }) => {
|
|
@@ -1942,7 +1942,7 @@ function createCapRouter_cover(getProvider, createRemoteProxy) {
|
|
|
1942
1942
|
}
|
|
1943
1943
|
function createCapRouter_customModelRegistry(getProvider, createRemoteProxy) {
|
|
1944
1944
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
1945
|
-
listModels: trpc_middleware_js_1.
|
|
1945
|
+
listModels: trpc_middleware_js_1.adminProcedure
|
|
1946
1946
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
1947
1947
|
.output(types_34.customModelRegistryCapability.methods.listModels.output)
|
|
1948
1948
|
.query(async ({ input, ctx }) => {
|
|
@@ -1953,14 +1953,14 @@ function createCapRouter_customModelRegistry(getProvider, createRemoteProxy) {
|
|
|
1953
1953
|
}
|
|
1954
1954
|
function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
1955
1955
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
1956
|
-
getEngineInfo: trpc_middleware_js_1.
|
|
1956
|
+
getEngineInfo: trpc_middleware_js_1.adminProcedure
|
|
1957
1957
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
1958
1958
|
.output(types_35.dataStoreProviderCapability.methods.getEngineInfo.output)
|
|
1959
1959
|
.query(async ({ input, ctx }) => {
|
|
1960
1960
|
const p = resolveProvider('data-store-provider', input?.nodeId, () => getProvider(ctx, input?.addonId), createRemoteProxy);
|
|
1961
1961
|
return p.getEngineInfo();
|
|
1962
1962
|
}),
|
|
1963
|
-
get: trpc_middleware_js_1.
|
|
1963
|
+
get: trpc_middleware_js_1.adminProcedure
|
|
1964
1964
|
.input(types_35.dataStoreProviderCapability.methods.get.input.loose())
|
|
1965
1965
|
.output(types_35.dataStoreProviderCapability.methods.get.output)
|
|
1966
1966
|
.query(async ({ input, ctx }) => {
|
|
@@ -1969,7 +1969,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
1969
1969
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1970
1970
|
return p.get(methodInput);
|
|
1971
1971
|
}),
|
|
1972
|
-
set: trpc_middleware_js_1.
|
|
1972
|
+
set: trpc_middleware_js_1.adminProcedure
|
|
1973
1973
|
.input(types_35.dataStoreProviderCapability.methods.set.input.loose())
|
|
1974
1974
|
.output(types_35.dataStoreProviderCapability.methods.set.output)
|
|
1975
1975
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -1978,7 +1978,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
1978
1978
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1979
1979
|
return p.set(methodInput);
|
|
1980
1980
|
}),
|
|
1981
|
-
query: trpc_middleware_js_1.
|
|
1981
|
+
query: trpc_middleware_js_1.adminProcedure
|
|
1982
1982
|
.input(types_35.dataStoreProviderCapability.methods.query.input.loose())
|
|
1983
1983
|
.output(types_35.dataStoreProviderCapability.methods.query.output)
|
|
1984
1984
|
.query(async ({ input, ctx }) => {
|
|
@@ -1987,7 +1987,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
1987
1987
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1988
1988
|
return p.query(methodInput);
|
|
1989
1989
|
}),
|
|
1990
|
-
insert: trpc_middleware_js_1.
|
|
1990
|
+
insert: trpc_middleware_js_1.adminProcedure
|
|
1991
1991
|
.input(types_35.dataStoreProviderCapability.methods.insert.input.loose())
|
|
1992
1992
|
.output(types_35.dataStoreProviderCapability.methods.insert.output)
|
|
1993
1993
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -1996,7 +1996,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
1996
1996
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1997
1997
|
return p.insert(methodInput);
|
|
1998
1998
|
}),
|
|
1999
|
-
update: trpc_middleware_js_1.
|
|
1999
|
+
update: trpc_middleware_js_1.adminProcedure
|
|
2000
2000
|
.input(types_35.dataStoreProviderCapability.methods.update.input.loose())
|
|
2001
2001
|
.output(types_35.dataStoreProviderCapability.methods.update.output)
|
|
2002
2002
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -2005,7 +2005,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
2005
2005
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2006
2006
|
return p.update(methodInput);
|
|
2007
2007
|
}),
|
|
2008
|
-
delete: trpc_middleware_js_1.
|
|
2008
|
+
delete: trpc_middleware_js_1.adminProcedure
|
|
2009
2009
|
.input(types_35.dataStoreProviderCapability.methods.delete.input.loose())
|
|
2010
2010
|
.output(types_35.dataStoreProviderCapability.methods.delete.output)
|
|
2011
2011
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -2014,7 +2014,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
2014
2014
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2015
2015
|
return p.delete(methodInput);
|
|
2016
2016
|
}),
|
|
2017
|
-
deleteWhere: trpc_middleware_js_1.
|
|
2017
|
+
deleteWhere: trpc_middleware_js_1.adminProcedure
|
|
2018
2018
|
.input(types_35.dataStoreProviderCapability.methods.deleteWhere.input.loose())
|
|
2019
2019
|
.output(types_35.dataStoreProviderCapability.methods.deleteWhere.output)
|
|
2020
2020
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -2023,7 +2023,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
2023
2023
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2024
2024
|
return p.deleteWhere(methodInput);
|
|
2025
2025
|
}),
|
|
2026
|
-
updateWhere: trpc_middleware_js_1.
|
|
2026
|
+
updateWhere: trpc_middleware_js_1.adminProcedure
|
|
2027
2027
|
.input(types_35.dataStoreProviderCapability.methods.updateWhere.input.loose())
|
|
2028
2028
|
.output(types_35.dataStoreProviderCapability.methods.updateWhere.output)
|
|
2029
2029
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -2032,7 +2032,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
2032
2032
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2033
2033
|
return p.updateWhere(methodInput);
|
|
2034
2034
|
}),
|
|
2035
|
-
count: trpc_middleware_js_1.
|
|
2035
|
+
count: trpc_middleware_js_1.adminProcedure
|
|
2036
2036
|
.input(types_35.dataStoreProviderCapability.methods.count.input.loose())
|
|
2037
2037
|
.output(types_35.dataStoreProviderCapability.methods.count.output)
|
|
2038
2038
|
.query(async ({ input, ctx }) => {
|
|
@@ -2041,7 +2041,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
2041
2041
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2042
2042
|
return p.count(methodInput);
|
|
2043
2043
|
}),
|
|
2044
|
-
histogram: trpc_middleware_js_1.
|
|
2044
|
+
histogram: trpc_middleware_js_1.adminProcedure
|
|
2045
2045
|
.input(types_35.dataStoreProviderCapability.methods.histogram.input.loose())
|
|
2046
2046
|
.output(types_35.dataStoreProviderCapability.methods.histogram.output)
|
|
2047
2047
|
.query(async ({ input, ctx }) => {
|
|
@@ -2050,7 +2050,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
2050
2050
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2051
2051
|
return p.histogram(methodInput);
|
|
2052
2052
|
}),
|
|
2053
|
-
isEmpty: trpc_middleware_js_1.
|
|
2053
|
+
isEmpty: trpc_middleware_js_1.adminProcedure
|
|
2054
2054
|
.input(types_35.dataStoreProviderCapability.methods.isEmpty.input.loose())
|
|
2055
2055
|
.output(types_35.dataStoreProviderCapability.methods.isEmpty.output)
|
|
2056
2056
|
.query(async ({ input, ctx }) => {
|
|
@@ -2059,7 +2059,7 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
2059
2059
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
2060
2060
|
return p.isEmpty(methodInput);
|
|
2061
2061
|
}),
|
|
2062
|
-
declareCollection: trpc_middleware_js_1.
|
|
2062
|
+
declareCollection: trpc_middleware_js_1.adminProcedure
|
|
2063
2063
|
.input(types_35.dataStoreProviderCapability.methods.declareCollection.input.loose())
|
|
2064
2064
|
.output(types_35.dataStoreProviderCapability.methods.declareCollection.output)
|
|
2065
2065
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -3439,7 +3439,7 @@ function createCapRouter_doorbell(getProvider, createRemoteProxy) {
|
|
|
3439
3439
|
}
|
|
3440
3440
|
function createCapRouter_embeddingEncoder(getProvider, createRemoteProxy) {
|
|
3441
3441
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
3442
|
-
encode: trpc_middleware_js_1.
|
|
3442
|
+
encode: trpc_middleware_js_1.adminProcedure
|
|
3443
3443
|
.input(types_45.embeddingEncoderCapability.methods.encode.input.loose())
|
|
3444
3444
|
.output(types_45.embeddingEncoderCapability.methods.encode.output)
|
|
3445
3445
|
.query(async ({ input, ctx }) => {
|
|
@@ -3448,7 +3448,7 @@ function createCapRouter_embeddingEncoder(getProvider, createRemoteProxy) {
|
|
|
3448
3448
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3449
3449
|
return p.encode(methodInput);
|
|
3450
3450
|
}),
|
|
3451
|
-
encodeText: trpc_middleware_js_1.
|
|
3451
|
+
encodeText: trpc_middleware_js_1.adminProcedure
|
|
3452
3452
|
.input(types_45.embeddingEncoderCapability.methods.encodeText.input.loose())
|
|
3453
3453
|
.output(types_45.embeddingEncoderCapability.methods.encodeText.output)
|
|
3454
3454
|
.query(async ({ input, ctx }) => {
|
|
@@ -3457,7 +3457,7 @@ function createCapRouter_embeddingEncoder(getProvider, createRemoteProxy) {
|
|
|
3457
3457
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
3458
3458
|
return p.encodeText(methodInput);
|
|
3459
3459
|
}),
|
|
3460
|
-
getInfo: trpc_middleware_js_1.
|
|
3460
|
+
getInfo: trpc_middleware_js_1.adminProcedure
|
|
3461
3461
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
3462
3462
|
.output(types_45.embeddingEncoderCapability.methods.getInfo.output)
|
|
3463
3463
|
.query(async ({ input, ctx }) => {
|
|
@@ -4241,7 +4241,7 @@ function createCapRouter_llm(getProvider, _createRemoteProxy) {
|
|
|
4241
4241
|
}
|
|
4242
4242
|
function createCapRouter_llmRuntime(getProvider, createRemoteProxy) {
|
|
4243
4243
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
4244
|
-
complete: trpc_middleware_js_1.
|
|
4244
|
+
complete: trpc_middleware_js_1.adminProcedure
|
|
4245
4245
|
.input(types_56.llmRuntimeCapability.methods.complete.input.loose())
|
|
4246
4246
|
.output(types_56.llmRuntimeCapability.methods.complete.output)
|
|
4247
4247
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -4268,7 +4268,7 @@ function createCapRouter_llmRuntime(getProvider, createRemoteProxy) {
|
|
|
4268
4268
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4269
4269
|
return p.stop(methodInput);
|
|
4270
4270
|
}),
|
|
4271
|
-
status: trpc_middleware_js_1.
|
|
4271
|
+
status: trpc_middleware_js_1.adminProcedure
|
|
4272
4272
|
.input(types_56.llmRuntimeCapability.methods.status.input.loose())
|
|
4273
4273
|
.output(types_56.llmRuntimeCapability.methods.status.output)
|
|
4274
4274
|
.query(async ({ input, ctx }) => {
|
|
@@ -4295,7 +4295,7 @@ function createCapRouter_llmRuntime(getProvider, createRemoteProxy) {
|
|
|
4295
4295
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4296
4296
|
return p.deleteModel(methodInput);
|
|
4297
4297
|
}),
|
|
4298
|
-
listLocalModels: trpc_middleware_js_1.
|
|
4298
|
+
listLocalModels: trpc_middleware_js_1.adminProcedure
|
|
4299
4299
|
.input(types_56.llmRuntimeCapability.methods.listLocalModels.input.loose())
|
|
4300
4300
|
.output(types_56.llmRuntimeCapability.methods.listLocalModels.output)
|
|
4301
4301
|
.query(async ({ input, ctx }) => {
|
|
@@ -4304,7 +4304,7 @@ function createCapRouter_llmRuntime(getProvider, createRemoteProxy) {
|
|
|
4304
4304
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
4305
4305
|
return p.listLocalModels(methodInput);
|
|
4306
4306
|
}),
|
|
4307
|
-
getDiskUsage: trpc_middleware_js_1.
|
|
4307
|
+
getDiskUsage: trpc_middleware_js_1.adminProcedure
|
|
4308
4308
|
.input(types_56.llmRuntimeCapability.methods.getDiskUsage.input.loose())
|
|
4309
4309
|
.output(types_56.llmRuntimeCapability.methods.getDiskUsage.output)
|
|
4310
4310
|
.query(async ({ input, ctx }) => {
|
|
@@ -5484,7 +5484,7 @@ function createCapRouter_numericSensor(getProvider, createRemoteProxy) {
|
|
|
5484
5484
|
}
|
|
5485
5485
|
function createCapRouter_oauthIntegration(getProvider, createRemoteProxy) {
|
|
5486
5486
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
5487
|
-
getDescriptor: trpc_middleware_js_1.
|
|
5487
|
+
getDescriptor: trpc_middleware_js_1.adminProcedure
|
|
5488
5488
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
5489
5489
|
.output(types_78.oauthIntegrationCapability.methods.getDescriptor.output)
|
|
5490
5490
|
.query(async ({ input, ctx }) => {
|
|
@@ -8141,7 +8141,7 @@ function createCapRouter_snapshot(getProvider, createRemoteProxy) {
|
|
|
8141
8141
|
}
|
|
8142
8142
|
function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
8143
8143
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8144
|
-
signBridgeToken: trpc_middleware_js_1.
|
|
8144
|
+
signBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
8145
8145
|
.input(types_100.ssoBridgeCapability.methods.signBridgeToken.input.loose())
|
|
8146
8146
|
.output(types_100.ssoBridgeCapability.methods.signBridgeToken.output)
|
|
8147
8147
|
.query(async ({ input, ctx }) => {
|
|
@@ -8150,7 +8150,7 @@ function createCapRouter_ssoBridge(getProvider, createRemoteProxy) {
|
|
|
8150
8150
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8151
8151
|
return p.signBridgeToken(methodInput);
|
|
8152
8152
|
}),
|
|
8153
|
-
verifyBridgeToken: trpc_middleware_js_1.
|
|
8153
|
+
verifyBridgeToken: trpc_middleware_js_1.adminProcedure
|
|
8154
8154
|
.input(types_100.ssoBridgeCapability.methods.verifyBridgeToken.input.loose())
|
|
8155
8155
|
.output(types_100.ssoBridgeCapability.methods.verifyBridgeToken.output)
|
|
8156
8156
|
.query(async ({ input, ctx }) => {
|
|
@@ -8361,7 +8361,7 @@ function createCapRouter_storage(getProvider, createRemoteProxy) {
|
|
|
8361
8361
|
}
|
|
8362
8362
|
function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
8363
8363
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8364
|
-
getEvictableUsage: trpc_middleware_js_1.
|
|
8364
|
+
getEvictableUsage: trpc_middleware_js_1.adminProcedure
|
|
8365
8365
|
.input(types_102.storageEvictableCapability.methods.getEvictableUsage.input.loose())
|
|
8366
8366
|
.output(types_102.storageEvictableCapability.methods.getEvictableUsage.output)
|
|
8367
8367
|
.query(async ({ input, ctx }) => {
|
|
@@ -8370,7 +8370,7 @@ function createCapRouter_storageEvictable(getProvider, createRemoteProxy) {
|
|
|
8370
8370
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8371
8371
|
return p.getEvictableUsage(methodInput);
|
|
8372
8372
|
}),
|
|
8373
|
-
evict: trpc_middleware_js_1.
|
|
8373
|
+
evict: trpc_middleware_js_1.adminProcedure
|
|
8374
8374
|
.input(types_102.storageEvictableCapability.methods.evict.input.loose())
|
|
8375
8375
|
.output(types_102.storageEvictableCapability.methods.evict.output)
|
|
8376
8376
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8423,7 +8423,7 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
|
|
|
8423
8423
|
}
|
|
8424
8424
|
function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
8425
8425
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
8426
|
-
getProviderInfo: trpc_middleware_js_1.
|
|
8426
|
+
getProviderInfo: trpc_middleware_js_1.adminProcedure
|
|
8427
8427
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional(), addonId: zod_1.z.string().optional() }).optional())
|
|
8428
8428
|
.output(types_104.storageProviderCapability.methods.getProviderInfo.output)
|
|
8429
8429
|
.query(async ({ input, ctx }) => {
|
|
@@ -8439,7 +8439,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8439
8439
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8440
8440
|
return p.testLocation(methodInput);
|
|
8441
8441
|
}),
|
|
8442
|
-
resolve: trpc_middleware_js_1.
|
|
8442
|
+
resolve: trpc_middleware_js_1.adminProcedure
|
|
8443
8443
|
.input(types_104.storageProviderCapability.methods.resolve.input.loose())
|
|
8444
8444
|
.output(types_104.storageProviderCapability.methods.resolve.output)
|
|
8445
8445
|
.query(async ({ input, ctx }) => {
|
|
@@ -8448,7 +8448,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8448
8448
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8449
8449
|
return p.resolve(methodInput);
|
|
8450
8450
|
}),
|
|
8451
|
-
write: trpc_middleware_js_1.
|
|
8451
|
+
write: trpc_middleware_js_1.adminProcedure
|
|
8452
8452
|
.input(types_104.storageProviderCapability.methods.write.input.loose())
|
|
8453
8453
|
.output(types_104.storageProviderCapability.methods.write.output)
|
|
8454
8454
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8457,7 +8457,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8457
8457
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8458
8458
|
return p.write(methodInput);
|
|
8459
8459
|
}),
|
|
8460
|
-
read: trpc_middleware_js_1.
|
|
8460
|
+
read: trpc_middleware_js_1.adminProcedure
|
|
8461
8461
|
.input(types_104.storageProviderCapability.methods.read.input.loose())
|
|
8462
8462
|
.output(types_104.storageProviderCapability.methods.read.output)
|
|
8463
8463
|
.query(async ({ input, ctx }) => {
|
|
@@ -8466,7 +8466,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8466
8466
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8467
8467
|
return p.read(methodInput);
|
|
8468
8468
|
}),
|
|
8469
|
-
exists: trpc_middleware_js_1.
|
|
8469
|
+
exists: trpc_middleware_js_1.adminProcedure
|
|
8470
8470
|
.input(types_104.storageProviderCapability.methods.exists.input.loose())
|
|
8471
8471
|
.output(types_104.storageProviderCapability.methods.exists.output)
|
|
8472
8472
|
.query(async ({ input, ctx }) => {
|
|
@@ -8475,7 +8475,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8475
8475
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8476
8476
|
return p.exists(methodInput);
|
|
8477
8477
|
}),
|
|
8478
|
-
list: trpc_middleware_js_1.
|
|
8478
|
+
list: trpc_middleware_js_1.adminProcedure
|
|
8479
8479
|
.input(types_104.storageProviderCapability.methods.list.input.loose())
|
|
8480
8480
|
.output(types_104.storageProviderCapability.methods.list.output)
|
|
8481
8481
|
.query(async ({ input, ctx }) => {
|
|
@@ -8484,7 +8484,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8484
8484
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8485
8485
|
return p.list(methodInput);
|
|
8486
8486
|
}),
|
|
8487
|
-
delete: trpc_middleware_js_1.
|
|
8487
|
+
delete: trpc_middleware_js_1.adminProcedure
|
|
8488
8488
|
.input(types_104.storageProviderCapability.methods.delete.input.loose())
|
|
8489
8489
|
.output(types_104.storageProviderCapability.methods.delete.output)
|
|
8490
8490
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8493,7 +8493,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8493
8493
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8494
8494
|
return p.delete(methodInput);
|
|
8495
8495
|
}),
|
|
8496
|
-
getAvailableSpace: trpc_middleware_js_1.
|
|
8496
|
+
getAvailableSpace: trpc_middleware_js_1.adminProcedure
|
|
8497
8497
|
.input(types_104.storageProviderCapability.methods.getAvailableSpace.input.loose())
|
|
8498
8498
|
.output(types_104.storageProviderCapability.methods.getAvailableSpace.output)
|
|
8499
8499
|
.query(async ({ input, ctx }) => {
|
|
@@ -8502,7 +8502,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8502
8502
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8503
8503
|
return p.getAvailableSpace(methodInput);
|
|
8504
8504
|
}),
|
|
8505
|
-
beginUpload: trpc_middleware_js_1.
|
|
8505
|
+
beginUpload: trpc_middleware_js_1.adminProcedure
|
|
8506
8506
|
.input(types_104.storageProviderCapability.methods.beginUpload.input.loose())
|
|
8507
8507
|
.output(types_104.storageProviderCapability.methods.beginUpload.output)
|
|
8508
8508
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8511,7 +8511,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8511
8511
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8512
8512
|
return p.beginUpload(methodInput);
|
|
8513
8513
|
}),
|
|
8514
|
-
writeChunk: trpc_middleware_js_1.
|
|
8514
|
+
writeChunk: trpc_middleware_js_1.adminProcedure
|
|
8515
8515
|
.input(types_104.storageProviderCapability.methods.writeChunk.input.loose())
|
|
8516
8516
|
.output(types_104.storageProviderCapability.methods.writeChunk.output)
|
|
8517
8517
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8520,7 +8520,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8520
8520
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8521
8521
|
return p.writeChunk(methodInput);
|
|
8522
8522
|
}),
|
|
8523
|
-
finalizeUpload: trpc_middleware_js_1.
|
|
8523
|
+
finalizeUpload: trpc_middleware_js_1.adminProcedure
|
|
8524
8524
|
.input(types_104.storageProviderCapability.methods.finalizeUpload.input.loose())
|
|
8525
8525
|
.output(types_104.storageProviderCapability.methods.finalizeUpload.output)
|
|
8526
8526
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8529,7 +8529,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8529
8529
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8530
8530
|
return p.finalizeUpload(methodInput);
|
|
8531
8531
|
}),
|
|
8532
|
-
abortUpload: trpc_middleware_js_1.
|
|
8532
|
+
abortUpload: trpc_middleware_js_1.adminProcedure
|
|
8533
8533
|
.input(types_104.storageProviderCapability.methods.abortUpload.input.loose())
|
|
8534
8534
|
.output(types_104.storageProviderCapability.methods.abortUpload.output)
|
|
8535
8535
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8538,7 +8538,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8538
8538
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8539
8539
|
return p.abortUpload(methodInput);
|
|
8540
8540
|
}),
|
|
8541
|
-
beginDownload: trpc_middleware_js_1.
|
|
8541
|
+
beginDownload: trpc_middleware_js_1.adminProcedure
|
|
8542
8542
|
.input(types_104.storageProviderCapability.methods.beginDownload.input.loose())
|
|
8543
8543
|
.output(types_104.storageProviderCapability.methods.beginDownload.output)
|
|
8544
8544
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -8547,7 +8547,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8547
8547
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8548
8548
|
return p.beginDownload(methodInput);
|
|
8549
8549
|
}),
|
|
8550
|
-
readChunk: trpc_middleware_js_1.
|
|
8550
|
+
readChunk: trpc_middleware_js_1.adminProcedure
|
|
8551
8551
|
.input(types_104.storageProviderCapability.methods.readChunk.input.loose())
|
|
8552
8552
|
.output(types_104.storageProviderCapability.methods.readChunk.output)
|
|
8553
8553
|
.query(async ({ input, ctx }) => {
|
|
@@ -8556,7 +8556,7 @@ function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
|
|
|
8556
8556
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
8557
8557
|
return p.readChunk(methodInput);
|
|
8558
8558
|
}),
|
|
8559
|
-
endDownload: trpc_middleware_js_1.
|
|
8559
|
+
endDownload: trpc_middleware_js_1.adminProcedure
|
|
8560
8560
|
.input(types_104.storageProviderCapability.methods.endDownload.input.loose())
|
|
8561
8561
|
.output(types_104.storageProviderCapability.methods.endDownload.output)
|
|
8562
8562
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9499,7 +9499,7 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9499
9499
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9500
9500
|
return p.finishRegistration(methodInput);
|
|
9501
9501
|
}),
|
|
9502
|
-
beginAuthentication: trpc_middleware_js_1.
|
|
9502
|
+
beginAuthentication: trpc_middleware_js_1.adminProcedure
|
|
9503
9503
|
.input(types_115.userPasskeysCapability.methods.beginAuthentication.input.loose())
|
|
9504
9504
|
.output(types_115.userPasskeysCapability.methods.beginAuthentication.output)
|
|
9505
9505
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9508,7 +9508,7 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9508
9508
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9509
9509
|
return p.beginAuthentication(methodInput);
|
|
9510
9510
|
}),
|
|
9511
|
-
finishAuthentication: trpc_middleware_js_1.
|
|
9511
|
+
finishAuthentication: trpc_middleware_js_1.adminProcedure
|
|
9512
9512
|
.input(types_115.userPasskeysCapability.methods.finishAuthentication.input.loose())
|
|
9513
9513
|
.output(types_115.userPasskeysCapability.methods.finishAuthentication.output)
|
|
9514
9514
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9517,7 +9517,7 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9517
9517
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9518
9518
|
return p.finishAuthentication(methodInput);
|
|
9519
9519
|
}),
|
|
9520
|
-
beginDiscoverableAuthentication: trpc_middleware_js_1.
|
|
9520
|
+
beginDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
9521
9521
|
.input(types_115.userPasskeysCapability.methods.beginDiscoverableAuthentication.input.loose())
|
|
9522
9522
|
.output(types_115.userPasskeysCapability.methods.beginDiscoverableAuthentication.output)
|
|
9523
9523
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9526,7 +9526,7 @@ function createCapRouter_userPasskeys(getProvider, createRemoteProxy) {
|
|
|
9526
9526
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9527
9527
|
return p.beginDiscoverableAuthentication(methodInput);
|
|
9528
9528
|
}),
|
|
9529
|
-
finishDiscoverableAuthentication: trpc_middleware_js_1.
|
|
9529
|
+
finishDiscoverableAuthentication: trpc_middleware_js_1.adminProcedure
|
|
9530
9530
|
.input(types_115.userPasskeysCapability.methods.finishDiscoverableAuthentication.input.loose())
|
|
9531
9531
|
.output(types_115.userPasskeysCapability.methods.finishDiscoverableAuthentication.output)
|
|
9532
9532
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9691,7 +9691,7 @@ function createCapRouter_valve(getProvider, createRemoteProxy) {
|
|
|
9691
9691
|
}
|
|
9692
9692
|
function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
9693
9693
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9694
|
-
declareIndex: trpc_middleware_js_1.
|
|
9694
|
+
declareIndex: trpc_middleware_js_1.adminProcedure
|
|
9695
9695
|
.input(types_118.vectorStoreCapability.methods.declareIndex.input.loose())
|
|
9696
9696
|
.output(types_118.vectorStoreCapability.methods.declareIndex.output)
|
|
9697
9697
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9700,7 +9700,7 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9700
9700
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9701
9701
|
return p.declareIndex(methodInput);
|
|
9702
9702
|
}),
|
|
9703
|
-
upsert: trpc_middleware_js_1.
|
|
9703
|
+
upsert: trpc_middleware_js_1.adminProcedure
|
|
9704
9704
|
.input(types_118.vectorStoreCapability.methods.upsert.input.loose())
|
|
9705
9705
|
.output(types_118.vectorStoreCapability.methods.upsert.output)
|
|
9706
9706
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9709,7 +9709,7 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9709
9709
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9710
9710
|
return p.upsert(methodInput);
|
|
9711
9711
|
}),
|
|
9712
|
-
query: trpc_middleware_js_1.
|
|
9712
|
+
query: trpc_middleware_js_1.adminProcedure
|
|
9713
9713
|
.input(types_118.vectorStoreCapability.methods.query.input.loose())
|
|
9714
9714
|
.output(types_118.vectorStoreCapability.methods.query.output)
|
|
9715
9715
|
.query(async ({ input, ctx }) => {
|
|
@@ -9718,7 +9718,7 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9718
9718
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9719
9719
|
return p.query(methodInput);
|
|
9720
9720
|
}),
|
|
9721
|
-
getByIds: trpc_middleware_js_1.
|
|
9721
|
+
getByIds: trpc_middleware_js_1.adminProcedure
|
|
9722
9722
|
.input(types_118.vectorStoreCapability.methods.getByIds.input.loose())
|
|
9723
9723
|
.output(types_118.vectorStoreCapability.methods.getByIds.output)
|
|
9724
9724
|
.query(async ({ input, ctx }) => {
|
|
@@ -9727,7 +9727,7 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9727
9727
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9728
9728
|
return p.getByIds(methodInput);
|
|
9729
9729
|
}),
|
|
9730
|
-
deleteByIds: trpc_middleware_js_1.
|
|
9730
|
+
deleteByIds: trpc_middleware_js_1.adminProcedure
|
|
9731
9731
|
.input(types_118.vectorStoreCapability.methods.deleteByIds.input.loose())
|
|
9732
9732
|
.output(types_118.vectorStoreCapability.methods.deleteByIds.output)
|
|
9733
9733
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9736,7 +9736,7 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9736
9736
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9737
9737
|
return p.deleteByIds(methodInput);
|
|
9738
9738
|
}),
|
|
9739
|
-
deleteByFilter: trpc_middleware_js_1.
|
|
9739
|
+
deleteByFilter: trpc_middleware_js_1.adminProcedure
|
|
9740
9740
|
.input(types_118.vectorStoreCapability.methods.deleteByFilter.input.loose())
|
|
9741
9741
|
.output(types_118.vectorStoreCapability.methods.deleteByFilter.output)
|
|
9742
9742
|
.mutation(async ({ input, ctx }) => {
|
|
@@ -9745,7 +9745,7 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
|
|
|
9745
9745
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
9746
9746
|
return p.deleteByFilter(methodInput);
|
|
9747
9747
|
}),
|
|
9748
|
-
stats: trpc_middleware_js_1.
|
|
9748
|
+
stats: trpc_middleware_js_1.adminProcedure
|
|
9749
9749
|
.input(types_118.vectorStoreCapability.methods.stats.input.loose())
|
|
9750
9750
|
.output(types_118.vectorStoreCapability.methods.stats.output)
|
|
9751
9751
|
.query(async ({ input, ctx }) => {
|
|
@@ -9793,14 +9793,14 @@ function createCapRouter_videoclips(getProvider, createRemoteProxy) {
|
|
|
9793
9793
|
}
|
|
9794
9794
|
function createCapRouter_viewerUi(getProvider, createRemoteProxy) {
|
|
9795
9795
|
return (0, trpc_middleware_js_1.trpcRouter)({
|
|
9796
|
-
getStaticDir: trpc_middleware_js_1.
|
|
9796
|
+
getStaticDir: trpc_middleware_js_1.adminProcedure
|
|
9797
9797
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
9798
9798
|
.output(types_120.viewerUiCapability.methods.getStaticDir.output)
|
|
9799
9799
|
.query(async ({ input, ctx }) => {
|
|
9800
9800
|
const p = resolveProvider('viewer-ui', input?.nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
9801
9801
|
return p.getStaticDir();
|
|
9802
9802
|
}),
|
|
9803
|
-
getVersion: trpc_middleware_js_1.
|
|
9803
|
+
getVersion: trpc_middleware_js_1.adminProcedure
|
|
9804
9804
|
.input(zod_1.z.object({ nodeId: zod_1.z.string().optional() }).optional())
|
|
9805
9805
|
.output(types_120.viewerUiCapability.methods.getVersion.output)
|
|
9806
9806
|
.query(async ({ input, ctx }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.170",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@camstack/addon-decoder-nodeav": "1.2.27",
|
|
40
40
|
"@camstack/addon-notifiers": "1.2.32",
|
|
41
41
|
"@camstack/addon-pipeline": "1.2.129",
|
|
42
|
-
"@camstack/addon-pipeline-orchestrator": "1.2.
|
|
42
|
+
"@camstack/addon-pipeline-orchestrator": "1.2.107",
|
|
43
43
|
"@camstack/addon-post-analysis": "1.2.127",
|
|
44
44
|
"@camstack/sdk": "1.2.31",
|
|
45
|
-
"@camstack/system": "1.2.
|
|
46
|
-
"@camstack/types": "1.2.
|
|
45
|
+
"@camstack/system": "1.2.137",
|
|
46
|
+
"@camstack/types": "1.2.108",
|
|
47
47
|
"@camstack/ui-library": "1.2.72",
|
|
48
48
|
"@fastify/compress": "^9.0.0",
|
|
49
49
|
"@fastify/cookie": "^11.0.2",
|