@powerhousedao/vetra-builder-package 5.2.0-dev.11 → 5.2.0-dev.13

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.
@@ -1 +1 @@
1
- {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../processors/factory.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACrB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,eAAO,MAAM,gBAAgB,GAAI,QAAQ,oBAAoB,MAS7C,aAAa,gBAAgB,KAAG,OAAO,CAAC,eAAe,EAAE,CAWxE,CAAC"}
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../processors/factory.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACrB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,eAAO,MAAM,gBAAgB,GAAI,QAAQ,oBAAoB,MAe7C,aAAa,gBAAgB,KAAG,OAAO,CAAC,eAAe,EAAE,CAkBxE,CAAC"}
@@ -6,11 +6,17 @@ import {} from "@powerhousedao/reactor";
6
6
  // Import other processor factories here as they are generated
7
7
  import {} from "document-model";
8
8
  import { vetraBuilderTeamRelationalDbProcessorFactory } from "./vetra-builder-relational-db-processor/factory.js";
9
+ import { processorFactory as cloudProcessorFactory } from "@powerhousedao/vetra-cloud-package/processors";
9
10
  export const processorFactory = (module) => {
10
11
  // Initialize all processor factories once with the module
11
12
  const factories = [];
12
13
  // Add other processors here as they are generated
13
14
  factories.push(vetraBuilderTeamRelationalDbProcessorFactory(module));
15
+ // Cloud environment processor (gitops sync)
16
+ let cloudFactory = null;
17
+ const cloudFactoryReady = cloudProcessorFactory(module).then((f) => {
18
+ cloudFactory = f;
19
+ });
14
20
  // Return the inner function that will be called for each drive
15
21
  return async (driveHeader) => {
16
22
  const processors = [];
@@ -19,6 +25,12 @@ export const processorFactory = (module) => {
19
25
  const factoryProcessors = await factory(driveHeader);
20
26
  processors.push(...factoryProcessors);
21
27
  }
28
+ // Add cloud processors
29
+ await cloudFactoryReady;
30
+ if (cloudFactory) {
31
+ const cloudProcessors = await cloudFactory(driveHeader);
32
+ processors.push(...cloudProcessors);
33
+ }
22
34
  return processors;
23
35
  };
24
36
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/vetra-builder-package",
3
3
  "description": "Vetra document models, editors, and processors for Powerhouse",
4
- "version": "5.2.0-dev.11",
4
+ "version": "5.2.0-dev.13",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
7
7
  "type": "git",