@sdlcworks/components 0.0.15 → 0.0.16
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.
- package/dist/index.d.ts +2 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -106,10 +106,7 @@ export type InfraComponentOpts<CShape extends z.ZodRawShape, DShape extends z.Zo
|
|
|
106
106
|
outputSchema: z.ZodObject<OShape>;
|
|
107
107
|
connectionTypes: ConnTypes;
|
|
108
108
|
};
|
|
109
|
-
export type InfraComponentInputs<C
|
|
110
|
-
config: C;
|
|
111
|
-
deploymentInput: D;
|
|
112
|
-
};
|
|
109
|
+
export type InfraComponentInputs<C> = C;
|
|
113
110
|
export type DeploymentInfo = {
|
|
114
111
|
config: Record<string, any>;
|
|
115
112
|
artifact: {
|
|
@@ -193,7 +190,7 @@ export declare class InfraComponent<CShape extends z.ZodRawShape, DShape extends
|
|
|
193
190
|
validationDeploymentInputSchema: z.ZodTypeAny;
|
|
194
191
|
private declaredConnectionInterfaces;
|
|
195
192
|
constructor(opts: InfraComponentOpts<CShape, DShape, OShape, ConnTypes>);
|
|
196
|
-
implement<SShape extends z.ZodRawShape = EmptyStateShape>(provider: CloudProvider, fns: ProviderFnsDef<InfraComponentInputs<InferZodType<CShape
|
|
193
|
+
implement<SShape extends z.ZodRawShape = EmptyStateShape>(provider: CloudProvider, fns: ProviderFnsDef<InfraComponentInputs<InferZodType<CShape>>, InferZodType<DShape>, InferOutputType<OShape>, SShape, keyof ConnTypes & string>): this;
|
|
197
194
|
/**
|
|
198
195
|
* Get the schema for a specific connection interface.
|
|
199
196
|
* Used by the orchestrator at runtime.
|