Skip to content

Commit

Permalink
refactor: make hours_spent optional in project types
Browse files Browse the repository at this point in the history
  • Loading branch information
slashtechno committed Jan 26, 2025
1 parent b3bd119 commit 3c14c59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/lib/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export type PrivateProject = {
/**
* A lower-bound estimate of the number of hours spent on the project. Only used for general statistics.
*/
hours_spent: number;
hours_spent?: number;
id: string;
points?: number;
collaborators?: Array<(string)>;
Expand All @@ -69,7 +69,7 @@ export type Project = {
/**
* A lower-bound estimate of the number of hours spent on the project. Only used for general statistics.
*/
hours_spent: number;
hours_spent?: number;
id: string;
points?: number;
collaborators?: Array<(string)>;
Expand All @@ -91,7 +91,7 @@ export type ProjectUpdate = {
/**
* A lower-bound estimate of the number of hours spent on the project. Only used for general statistics.
*/
hours_spent: number;
hours_spent?: number;
};

export type PublicProjectCreationPayload = {
Expand All @@ -107,7 +107,7 @@ export type PublicProjectCreationPayload = {
/**
* A lower-bound estimate of the number of hours spent on the project. Only used for general statistics.
*/
hours_spent: number;
hours_spent?: number;
};

/**
Expand Down

0 comments on commit 3c14c59

Please sign in to comment.