Skip to content

Commit

Permalink
Make key optional to support previously published manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
bkegley committed Aug 2, 2024
1 parent d753c35 commit 8a98767
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/spectral/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prismatic-io/spectral",
"version": "9.0.6",
"version": "9.0.7",
"description": "Utility library for building Prismatic components",
"keywords": ["prismatic"],
"main": "dist/index.js",
Expand Down
8 changes: 4 additions & 4 deletions packages/spectral/src/types/ComponentManifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,26 @@ interface BaseInput {
}

export interface ComponentManifestAction {
key: string;
key?: string;
perform: (values: any) => Promise<unknown>;
inputs: Record<string, BaseInput>;
}

export interface ComponentManifestTrigger {
key: string;
key?: string;
perform: (values: any) => Promise<unknown>;
inputs: Record<string, BaseInput>;
}

export interface ComponentManifestDataSource {
key: string;
key?: string;
perform: (values: any) => Promise<unknown>;
dataSourceType: DataSourceType;
inputs: Record<string, BaseInput>;
}

export interface ComponentManifestConnection {
key: string;
key?: string;
perform: (values: any) => Promise<unknown>;
onPremAvailable?: boolean;
inputs: Record<string, BaseInput & { onPremControlled?: boolean }>;
Expand Down

0 comments on commit 8a98767

Please sign in to comment.