Skip to content

Commit 5c677c5

Browse files
committed
Should be optional
1 parent 9c5d2c1 commit 5c677c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/sdk/src/shared/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ export type ConfiguredProps<T extends ConfigurableProps> = {
9090
// as returned by API (configurable_props_json from `afterSave`)
9191
export type V1Component<T extends ConfigurableProps = any> = { // eslint-disable-line @typescript-eslint/no-explicit-any
9292
name: string;
93-
description: string;
94-
component_type: string;
9593
key: string;
9694
version: string;
9795
configurable_props: T;
96+
description?: string;
97+
component_type?: string;
9898
};
9999

100100
export type V1DeployedComponent<T extends ConfigurableProps = any> = { // eslint-disable-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)