@camstack/server 1.2.191 → 1.2.194

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.
@@ -6103,6 +6103,15 @@ function createCapRouter_pipelineAnalytics(getProvider, createRemoteProxy) {
6103
6103
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
6104
6104
  return p.countUnstampedEventMedia(methodInput);
6105
6105
  }),
6106
+ countRelocatableMedia: trpc_middleware_js_1.adminProcedure
6107
+ .input(types_85.pipelineAnalyticsCapability.methods.countRelocatableMedia.input.loose())
6108
+ .output(types_85.pipelineAnalyticsCapability.methods.countRelocatableMedia.output)
6109
+ .query(async ({ input, ctx }) => {
6110
+ const { nodeId, ...methodInput } = input;
6111
+ const p = resolveProvider('pipeline-analytics', nodeId, () => getProvider(ctx), createRemoteProxy);
6112
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
6113
+ return p.countRelocatableMedia(methodInput);
6114
+ }),
6106
6115
  listRelocateMediaJobs: trpc_middleware_js_1.adminProcedure
6107
6116
  .input(types_85.pipelineAnalyticsCapability.methods.listRelocateMediaJobs.input.loose())
6108
6117
  .output(types_85.pipelineAnalyticsCapability.methods.listRelocateMediaJobs.output)
@@ -7813,6 +7822,15 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
7813
7822
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
7814
7823
  return p.listRelocateJobs(methodInput);
7815
7824
  }),
7825
+ getRelocateResidue: trpc_middleware_js_1.adminProcedure
7826
+ .input(types_95.recordingCapability.methods.getRelocateResidue.input.loose())
7827
+ .output(types_95.recordingCapability.methods.getRelocateResidue.output)
7828
+ .query(async ({ input, ctx }) => {
7829
+ const { nodeId, ...methodInput } = input;
7830
+ const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
7831
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
7832
+ return p.getRelocateResidue(methodInput);
7833
+ }),
7816
7834
  cancelRelocateJob: trpc_middleware_js_1.adminProcedure
7817
7835
  .input(types_95.recordingCapability.methods.cancelRelocateJob.input.loose())
7818
7836
  .output(types_95.recordingCapability.methods.cancelRelocateJob.output)
@@ -8601,6 +8619,33 @@ function createCapRouter_storageMigration(getProvider, createRemoteProxy) {
8601
8619
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
8602
8620
  return p.cancel(methodInput);
8603
8621
  }),
8622
+ movers: trpc_middleware_js_1.adminProcedure
8623
+ .input(types_106.storageMigrationCapability.methods.movers.input.loose())
8624
+ .output(types_106.storageMigrationCapability.methods.movers.output)
8625
+ .query(async ({ input, ctx }) => {
8626
+ const { nodeId, ...methodInput } = input;
8627
+ const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
8628
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
8629
+ return p.movers(methodInput);
8630
+ }),
8631
+ residue: trpc_middleware_js_1.adminProcedure
8632
+ .input(types_106.storageMigrationCapability.methods.residue.input.loose())
8633
+ .output(types_106.storageMigrationCapability.methods.residue.output)
8634
+ .query(async ({ input, ctx }) => {
8635
+ const { nodeId, ...methodInput } = input;
8636
+ const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
8637
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
8638
+ return p.residue(methodInput);
8639
+ }),
8640
+ drain: trpc_middleware_js_1.adminProcedure
8641
+ .input(types_106.storageMigrationCapability.methods.drain.input.loose())
8642
+ .output(types_106.storageMigrationCapability.methods.drain.output)
8643
+ .mutation(async ({ input, ctx }) => {
8644
+ const { nodeId, ...methodInput } = input;
8645
+ const p = resolveProvider('storage-migration', nodeId, () => getProvider(ctx), createRemoteProxy);
8646
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
8647
+ return p.drain(methodInput);
8648
+ }),
8604
8649
  });
8605
8650
  }
8606
8651
  function createCapRouter_storageProvider(getProvider, createRemoteProxy) {
@@ -9948,6 +9993,24 @@ function createCapRouter_vectorStore(getProvider, createRemoteProxy) {
9948
9993
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
9949
9994
  return p.getByIds(methodInput);
9950
9995
  }),
9996
+ fetchByIds: trpc_middleware_js_1.adminProcedure
9997
+ .input(types_121.vectorStoreCapability.methods.fetchByIds.input.loose())
9998
+ .output(types_121.vectorStoreCapability.methods.fetchByIds.output)
9999
+ .query(async ({ input, ctx }) => {
10000
+ const { nodeId, ...methodInput } = input;
10001
+ const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
10002
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
10003
+ return p.fetchByIds(methodInput);
10004
+ }),
10005
+ scan: trpc_middleware_js_1.adminProcedure
10006
+ .input(types_121.vectorStoreCapability.methods.scan.input.loose())
10007
+ .output(types_121.vectorStoreCapability.methods.scan.output)
10008
+ .query(async ({ input, ctx }) => {
10009
+ const { nodeId, ...methodInput } = input;
10010
+ const p = resolveProvider('vector-store', nodeId, () => getProvider(ctx), createRemoteProxy);
10011
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
10012
+ return p.scan(methodInput);
10013
+ }),
9951
10014
  deleteByIds: trpc_middleware_js_1.adminProcedure
9952
10015
  .input(types_121.vectorStoreCapability.methods.deleteByIds.input.loose())
9953
10016
  .output(types_121.vectorStoreCapability.methods.deleteByIds.output)
@@ -3244,7 +3244,7 @@ class AddonRegistryService {
3244
3244
  //
3245
3245
  // The purge mutates the PROCESS-GLOBAL require cache, so purge-then-import
3246
3246
  // must stay atomic per BUNDLE now that the boot plan overlaps (D171):
3247
- // `@camstack/addon-remote-storage` ships three addon ids whose entries all
3247
+ // `@camstack/addon-remote-storage` ships four addon ids whose entries all
3248
3248
  // resolve into one `dist/`, and a sibling's purge landing mid-import would
3249
3249
  // evict a module graph while it is being evaluated. Different bundles
3250
3250
  // still load concurrently.
@@ -68,10 +68,10 @@ async function spawnPlanConcurrently(plan, spawnOne, concurrency = exports.RUNNE
68
68
  * same directory is still resolving, evicting half of a module graph that is
69
69
  * being evaluated — duplicate module instances, or a partially-purged one.
70
70
  *
71
- * It is not hypothetical: `@camstack/addon-remote-storage` ships three addon
72
- * ids (`sftp-storage`, `s3-storage`, `webdav-storage`) whose entries all
73
- * resolve into the same `dist/` directory, each on its own runner, all in the
74
- * same plan.
71
+ * It is not hypothetical: `@camstack/addon-remote-storage` ships four addon
72
+ * ids (`sftp-storage`, `s3-storage`, `webdav-storage`, `smb-storage`) whose
73
+ * entries all resolve into the same `dist/` directory, each on its own runner,
74
+ * all in the same plan.
75
75
  *
76
76
  * Keyed by the purge scope, so the bound above still applies across packages
77
77
  * and only true siblings queue behind each other.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.191",
3
+ "version": "1.2.194",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",