@camstack/server 1.2.33 → 1.2.34
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.
|
@@ -1899,6 +1899,24 @@ function createCapRouter_dataStoreProvider(getProvider, createRemoteProxy) {
|
|
|
1899
1899
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1900
1900
|
return p.delete(methodInput);
|
|
1901
1901
|
}),
|
|
1902
|
+
deleteWhere: trpc_middleware_js_1.protectedProcedure
|
|
1903
|
+
.input(types_33.dataStoreProviderCapability.methods.deleteWhere.input.loose())
|
|
1904
|
+
.output(types_33.dataStoreProviderCapability.methods.deleteWhere.output)
|
|
1905
|
+
.mutation(async ({ input, ctx }) => {
|
|
1906
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
1907
|
+
const p = resolveProvider('data-store-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
1908
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1909
|
+
return p.deleteWhere(methodInput);
|
|
1910
|
+
}),
|
|
1911
|
+
updateWhere: trpc_middleware_js_1.protectedProcedure
|
|
1912
|
+
.input(types_33.dataStoreProviderCapability.methods.updateWhere.input.loose())
|
|
1913
|
+
.output(types_33.dataStoreProviderCapability.methods.updateWhere.output)
|
|
1914
|
+
.mutation(async ({ input, ctx }) => {
|
|
1915
|
+
const { nodeId, addonId, ...methodInput } = input;
|
|
1916
|
+
const p = resolveProvider('data-store-provider', nodeId, () => getProvider(ctx, addonId), createRemoteProxy);
|
|
1917
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
1918
|
+
return p.updateWhere(methodInput);
|
|
1919
|
+
}),
|
|
1902
1920
|
count: trpc_middleware_js_1.protectedProcedure
|
|
1903
1921
|
.input(types_33.dataStoreProviderCapability.methods.count.input.loose())
|
|
1904
1922
|
.output(types_33.dataStoreProviderCapability.methods.count.output)
|
|
@@ -7189,6 +7207,24 @@ function createCapRouter_settingsStore(getProvider, createRemoteProxy) {
|
|
|
7189
7207
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7190
7208
|
return p.delete(methodInput);
|
|
7191
7209
|
}),
|
|
7210
|
+
deleteWhere: trpc_middleware_js_1.protectedProcedure
|
|
7211
|
+
.input(types_94.settingsStoreCapability.methods.deleteWhere.input.loose())
|
|
7212
|
+
.output(types_94.settingsStoreCapability.methods.deleteWhere.output)
|
|
7213
|
+
.mutation(async ({ input, ctx }) => {
|
|
7214
|
+
const { nodeId, ...methodInput } = input;
|
|
7215
|
+
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7216
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7217
|
+
return p.deleteWhere(methodInput);
|
|
7218
|
+
}),
|
|
7219
|
+
updateWhere: trpc_middleware_js_1.protectedProcedure
|
|
7220
|
+
.input(types_94.settingsStoreCapability.methods.updateWhere.input.loose())
|
|
7221
|
+
.output(types_94.settingsStoreCapability.methods.updateWhere.output)
|
|
7222
|
+
.mutation(async ({ input, ctx }) => {
|
|
7223
|
+
const { nodeId, ...methodInput } = input;
|
|
7224
|
+
const p = resolveProvider('settings-store', nodeId, () => getProvider(ctx), createRemoteProxy);
|
|
7225
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
|
|
7226
|
+
return p.updateWhere(methodInput);
|
|
7227
|
+
}),
|
|
7192
7228
|
count: trpc_middleware_js_1.protectedProcedure
|
|
7193
7229
|
.input(types_94.settingsStoreCapability.methods.count.input.loose())
|
|
7194
7230
|
.output(types_94.settingsStoreCapability.methods.count.output)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.34",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@camstack/addon-post-analysis": "1.2.23",
|
|
44
44
|
"@camstack/sdk": "1.2.9",
|
|
45
45
|
"@camstack/shm-ring": "1.1.9",
|
|
46
|
-
"@camstack/system": "1.2.
|
|
47
|
-
"@camstack/types": "1.2.
|
|
48
|
-
"@camstack/ui-library": "1.2.
|
|
46
|
+
"@camstack/system": "1.2.30",
|
|
47
|
+
"@camstack/types": "1.2.22",
|
|
48
|
+
"@camstack/ui-library": "1.2.18",
|
|
49
49
|
"@fastify/compress": "^9.0.0",
|
|
50
50
|
"@fastify/cookie": "^11.0.2",
|
|
51
51
|
"@fastify/cors": "^11.2.0",
|