@cat-factory/integrations 0.48.2 → 0.49.0
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,9 +1,19 @@
|
|
|
1
|
+
import { CustomManifestTypeRegistry } from './environments/custom-manifest-types.js';
|
|
1
2
|
import { type EnvironmentBackendRegistry } from './environments/environment-backends.js';
|
|
2
3
|
import { type RunnerBackendRegistry } from './runners/runner-backends.js';
|
|
3
4
|
/** The set of app-owned backend registries the composition root builds and injects. */
|
|
4
5
|
export interface BackendRegistries {
|
|
5
6
|
environmentBackendRegistry: EnvironmentBackendRegistry;
|
|
6
7
|
runnerBackendRegistry: RunnerBackendRegistry;
|
|
8
|
+
/**
|
|
9
|
+
* The code-defined `custom` provision-type catalog. A deployment/provider package registers a
|
|
10
|
+
* custom manifest type by reference (`registries.customManifestTypeRegistry.register(...)`) the
|
|
11
|
+
* same way it registers a custom backend; the connection service merges these with the
|
|
12
|
+
* workspace-defined rows (`listCustomTypes`) so a programmatically-registered type surfaces in
|
|
13
|
+
* the infrastructure custom-type editor AND the per-service provisioning picker. Starts empty
|
|
14
|
+
* (the built-ins are the `manifest`/`kubernetes` BACKENDS, not custom manifest types).
|
|
15
|
+
*/
|
|
16
|
+
customManifestTypeRegistry: CustomManifestTypeRegistry;
|
|
7
17
|
}
|
|
8
18
|
/** Build the backend registries pre-loaded with the built-in (`manifest` + `kubernetes`) kinds. */
|
|
9
19
|
export declare function createBackendRegistries(): BackendRegistries;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend-registries.d.ts","sourceRoot":"","sources":["../../src/modules/backend-registries.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,8BAA8B,CAAA;AASrC,uFAAuF;AACvF,MAAM,WAAW,iBAAiB;IAChC,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,qBAAqB,EAAE,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"backend-registries.d.ts","sourceRoot":"","sources":["../../src/modules/backend-registries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAA;AACpF,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,8BAA8B,CAAA;AASrC,uFAAuF;AACvF,MAAM,WAAW,iBAAiB;IAChC,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,qBAAqB,EAAE,qBAAqB,CAAA;IAC5C;;;;;;;OAOG;IACH,0BAA0B,EAAE,0BAA0B,CAAA;CACvD;AAED,mGAAmG;AACnG,wBAAgB,uBAAuB,IAAI,iBAAiB,CAM3D"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CustomManifestTypeRegistry } from './environments/custom-manifest-types.js';
|
|
1
2
|
import { defaultEnvironmentBackendRegistry, } from './environments/environment-backends.js';
|
|
2
3
|
import { defaultRunnerBackendRegistry, } from './runners/runner-backends.js';
|
|
3
4
|
/** Build the backend registries pre-loaded with the built-in (`manifest` + `kubernetes`) kinds. */
|
|
@@ -5,6 +6,7 @@ export function createBackendRegistries() {
|
|
|
5
6
|
return {
|
|
6
7
|
environmentBackendRegistry: defaultEnvironmentBackendRegistry(),
|
|
7
8
|
runnerBackendRegistry: defaultRunnerBackendRegistry(),
|
|
9
|
+
customManifestTypeRegistry: new CustomManifestTypeRegistry(),
|
|
8
10
|
};
|
|
9
11
|
}
|
|
10
12
|
//# sourceMappingURL=backend-registries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend-registries.js","sourceRoot":"","sources":["../../src/modules/backend-registries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,GAElC,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,4BAA4B,GAE7B,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"backend-registries.js","sourceRoot":"","sources":["../../src/modules/backend-registries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAA;AACpF,OAAO,EACL,iCAAiC,GAElC,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,4BAA4B,GAE7B,MAAM,8BAA8B,CAAA;AAwBrC,mGAAmG;AACnG,MAAM,UAAU,uBAAuB;IACrC,OAAO;QACL,0BAA0B,EAAE,iCAAiC,EAAE;QAC/D,qBAAqB,EAAE,4BAA4B,EAAE;QACrD,0BAA0B,EAAE,IAAI,0BAA0B,EAAE;KAC7D,CAAA;AACH,CAAC"}
|
package/package.json
CHANGED