Skip to content

Commit

Permalink
Make DetailData properties optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jmetrikat committed Feb 16, 2025
1 parent 87e2dcf commit 735e9ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/helpers/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ export interface Detail {
export interface DetailData {
name: string; // Name of the detail
type: string; // "text", "number", "date", "select", "multi_select", "object"
text: string; // Text value
number: number; // Number value
date: string; // Date in ISO 8601 format
select: Tag; // Selected option
multi_select: Tag[]; // List of selected options
object: Member | SpaceObject; // Details of a participant
text?: string; // Text value
number?: number; // Number value
date?: string; // Date in ISO 8601 format
select?: Tag; // Selected option
multi_select?: Tag[]; // List of selected options
object?: Member | SpaceObject; // Details of a participant
}

export interface Tag {
Expand Down

0 comments on commit 735e9ce

Please sign in to comment.