Skip to content

Commit

Permalink
1479 Adds StringifyObject utility type
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardovdheijden committed Jan 3, 2025
1 parent 502887d commit 87f7927
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/orchestrator-ui-components/src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ export type Nullable<T> = T | null;

type GenericResponse = { [key: string]: unknown };

export type StringifyObject<T extends object> = {
[key in keyof T]: string;
};

export type FieldValue = {
field: string;
value: string | number | boolean | null;
Expand Down

0 comments on commit 87f7927

Please sign in to comment.