@powerhousedao/service-offering 1.0.0-dev.8 → 1.0.0-dev.9
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":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/resources-services/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAyD/D,eAAO,MAAM,YAAY,GACvB,UAAU,YAAY,KACrB,MAAM,CAAC,MAAM,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/resources-services/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAyD/D,eAAO,MAAM,YAAY,GACvB,UAAU,YAAY,KACrB,MAAM,CAAC,MAAM,EAAE,OAAO,CAqfxB,CAAC"}
|
|
@@ -308,11 +308,12 @@ export const getResolvers = (subgraph) => {
|
|
|
308
308
|
throw new Error(`Operator profile not found for drive ${operatorDrive.header.id}`);
|
|
309
309
|
}
|
|
310
310
|
const operatorParentFolder = operatorDrive.state.global.nodes.find((node) => node.kind === "folder")?.parentFolder;
|
|
311
|
-
//
|
|
311
|
+
// register docs as children of operator drive so Connect can sync them
|
|
312
312
|
await reactorClient.addChildren(operatorDrive.header.id, [
|
|
313
313
|
resourceInstanceDoc.header.id,
|
|
314
314
|
subscriptionInstanceDoc.header.id,
|
|
315
315
|
]);
|
|
316
|
+
// add file references to operator drive
|
|
316
317
|
await reactorClient.execute(operatorDrive.header.id, "main", [
|
|
317
318
|
addFile({
|
|
318
319
|
documentType: "powerhouse/resource-instance",
|