Skip to content

Commit a1ada3b

Browse files
remove description from decision.scenario
1 parent 386b882 commit a1ada3b

5 files changed

Lines changed: 0 additions & 12 deletions

File tree

packages/app-builder/src/models/cases.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ export interface CaseDetail extends Case {
433433
scenario: {
434434
id: string;
435435
name: string;
436-
description: string;
437436
scenarioIterationId: string;
438437
version: number;
439438
};
@@ -464,7 +463,6 @@ export async function adaptCaseDetail(
464463
scenario: {
465464
id: decisionDto.scenario.id,
466465
name: decisionDto.scenario.name,
467-
description: decisionDto.scenario.description,
468466
scenarioIterationId: decisionDto.scenario.scenario_iteration_id,
469467
version: decisionDto.scenario.version,
470468
},

packages/app-builder/src/models/decision.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export interface Decision {
3131
scenario: {
3232
id: string;
3333
name: string;
34-
description: string;
3534
scenarioIterationId: string;
3635
version: number;
3736
};
@@ -166,7 +165,6 @@ export function adaptDecision(dto: DecisionDto): Decision {
166165
scenario: {
167166
id: dto.scenario.id,
168167
name: dto.scenario.name,
169-
description: dto.scenario.description,
170168
scenarioIterationId: dto.scenario.scenario_iteration_id,
171169
version: dto.scenario.version,
172170
},

packages/marble-api/openapis/marblecore-api/cases.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,6 @@ components:
972972
required:
973973
- id
974974
- name
975-
- description
976975
- scenario_iteration_id
977976
- version
978977
properties:
@@ -981,8 +980,6 @@ components:
981980
format: uuid
982981
name:
983982
type: string
984-
description:
985-
type: string
986983
scenario_iteration_id:
987984
type: string
988985
format: uuid

packages/marble-api/openapis/marblecore-api/decisions.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,6 @@ components:
285285
id:
286286
type: string
287287
format: uuid
288-
description:
289-
type: string
290288
name:
291289
type: string
292290
scenario_iteration_id:
@@ -296,7 +294,6 @@ components:
296294
type: integer
297295
required:
298296
- id
299-
- description
300297
- name
301298
- scenario_iteration_id
302299
- version

packages/marble-api/src/generated/marblecore-api.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export type DecisionDto = {
8383
review_status?: ReviewStatusDto;
8484
scenario: {
8585
id: string;
86-
description: string;
8786
name: string;
8887
scenario_iteration_id: string;
8988
version: number;
@@ -151,7 +150,6 @@ export type CaseDecisionDto = {
151150
scenario: {
152151
id: string;
153152
name: string;
154-
description: string;
155153
scenario_iteration_id: string;
156154
version: number;
157155
};

0 commit comments

Comments
 (0)