diff --git a/server/api/assumptions/index.get.ts b/server/api/assumptions/index.get.ts index 603e4d34..e5722825 100644 --- a/server/api/assumptions/index.get.ts +++ b/server/api/assumptions/index.get.ts @@ -6,7 +6,7 @@ const querySchema = z.object({ solutionId: z.string().uuid(), name: z.string().optional(), statement: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/constraints/index.get.ts b/server/api/constraints/index.get.ts index 1df59362..44280d00 100644 --- a/server/api/constraints/index.get.ts +++ b/server/api/constraints/index.get.ts @@ -7,7 +7,7 @@ const querySchema = z.object({ name: z.string().optional(), statement: z.string().optional(), category: z.nativeEnum(ConstraintCategory).optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/effects/index.get.ts b/server/api/effects/index.get.ts index 10155ee9..80b66977 100644 --- a/server/api/effects/index.get.ts +++ b/server/api/effects/index.get.ts @@ -6,7 +6,7 @@ const querySchema = z.object({ solutionId: z.string().uuid(), name: z.string().optional(), statement: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/environment-components/index.get.ts b/server/api/environment-components/index.get.ts index 850509f5..480d046b 100644 --- a/server/api/environment-components/index.get.ts +++ b/server/api/environment-components/index.get.ts @@ -7,7 +7,7 @@ const querySchema = z.object({ name: z.string().optional(), statement: z.string().optional(), parentComponentId: z.string().uuid().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/functional-behaviors/index.get.ts b/server/api/functional-behaviors/index.get.ts index 9c5d35e3..94917bb7 100644 --- a/server/api/functional-behaviors/index.get.ts +++ b/server/api/functional-behaviors/index.get.ts @@ -7,7 +7,7 @@ const querySchema = z.object({ name: z.string().optional(), statement: z.string().optional(), priority: z.nativeEnum(MoscowPriority).optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/glossary-terms/index.get.ts b/server/api/glossary-terms/index.get.ts index 5b13f70d..21d99cc3 100644 --- a/server/api/glossary-terms/index.get.ts +++ b/server/api/glossary-terms/index.get.ts @@ -6,7 +6,7 @@ const querySchema = z.object({ solutionId: z.string().uuid(), name: z.string().optional(), statement: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/invariants/index.get.ts b/server/api/invariants/index.get.ts index 4495d7aa..459bc040 100644 --- a/server/api/invariants/index.get.ts +++ b/server/api/invariants/index.get.ts @@ -6,7 +6,7 @@ const querySchema = z.object({ solutionId: z.string().uuid(), name: z.string().optional(), statement: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/justifications/index.get.ts b/server/api/justifications/index.get.ts index 2f937867..0a654ef1 100644 --- a/server/api/justifications/index.get.ts +++ b/server/api/justifications/index.get.ts @@ -6,7 +6,7 @@ const querySchema = z.object({ solutionId: z.string().uuid(), name: z.string().optional(), statement: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/limits/index.get.ts b/server/api/limits/index.get.ts index 36a56ff5..b7db6f5d 100644 --- a/server/api/limits/index.get.ts +++ b/server/api/limits/index.get.ts @@ -6,7 +6,7 @@ const querySchema = z.object({ solutionId: z.string().uuid(), name: z.string().optional(), statement: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/non-functional-behaviors/index.get.ts b/server/api/non-functional-behaviors/index.get.ts index 23523ccd..4a18c4ae 100644 --- a/server/api/non-functional-behaviors/index.get.ts +++ b/server/api/non-functional-behaviors/index.get.ts @@ -7,7 +7,7 @@ const querySchema = z.object({ name: z.string().optional(), statement: z.string().optional(), priority: z.nativeEnum(MoscowPriority).optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/obstacles/index.get.ts b/server/api/obstacles/index.get.ts index a083653d..101216c2 100644 --- a/server/api/obstacles/index.get.ts +++ b/server/api/obstacles/index.get.ts @@ -6,7 +6,7 @@ const querySchema = z.object({ solutionId: z.string().uuid(), name: z.string().optional(), statement: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/outcomes/index.get.ts b/server/api/outcomes/index.get.ts index 1363446c..14e508b6 100644 --- a/server/api/outcomes/index.get.ts +++ b/server/api/outcomes/index.get.ts @@ -6,7 +6,7 @@ const querySchema = z.object({ solutionId: z.string().uuid(), name: z.string().optional(), statement: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/persons/index.get.ts b/server/api/persons/index.get.ts index 35a798f9..8e157fe9 100644 --- a/server/api/persons/index.get.ts +++ b/server/api/persons/index.get.ts @@ -7,7 +7,7 @@ const querySchema = z.object({ name: z.string().optional(), statement: z.string().optional(), email: z.string().email().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/stakeholders/index.get.ts b/server/api/stakeholders/index.get.ts index a55fd701..1ccea252 100644 --- a/server/api/stakeholders/index.get.ts +++ b/server/api/stakeholders/index.get.ts @@ -11,7 +11,7 @@ const querySchema = z.object({ influence: z.number().min(0).max(100).optional(), segmentation: z.nativeEnum(StakeholderSegmentation).optional(), category: z.nativeEnum(StakeholderCategory).optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/system-components/index.get.ts b/server/api/system-components/index.get.ts index 8c29d230..fe72dbc2 100644 --- a/server/api/system-components/index.get.ts +++ b/server/api/system-components/index.get.ts @@ -7,7 +7,7 @@ const querySchema = z.object({ name: z.string().optional(), statement: z.string().optional(), parentComponentId: z.string().uuid().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/use-cases/index.get.ts b/server/api/use-cases/index.get.ts index 7af52d9e..0927a99a 100644 --- a/server/api/use-cases/index.get.ts +++ b/server/api/use-cases/index.get.ts @@ -17,7 +17,7 @@ const querySchema = z.object({ mainSuccessScenario: z.string().optional(), successGuaranteeId: z.string().uuid().optional(), extensions: z.string().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /** diff --git a/server/api/user-stories/index.get.ts b/server/api/user-stories/index.get.ts index e58e794e..b3fbfc2b 100644 --- a/server/api/user-stories/index.get.ts +++ b/server/api/user-stories/index.get.ts @@ -10,7 +10,7 @@ const querySchema = z.object({ priority: z.nativeEnum(MoscowPriority).optional(), outcomeId: z.string().uuid().optional(), functionalBehaviorId: z.string().uuid().optional(), - isSilence: z.boolean().optional() + isSilence: z.boolean().optional().default(false) }) /**