Skip to content

Commit

Permalink
remove 'datetime' value from ReturnValueType for ast-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ChibiBlasphem committed Jan 7, 2025
1 parent ae4f548 commit 091bf04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/app-builder/src/models/node-evaluation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type ReturnValue =
isOmitted: true;
};

export type ReturnValueType = 'string' | 'int' | 'float' | 'bool' | 'datetime';
export type ReturnValueType = 'string' | 'int' | 'float' | 'bool';

export type NonOmittedReturnValue = { value: ConstantType; isOmitted: false };

Expand Down
2 changes: 1 addition & 1 deletion packages/marble-api/openapis/marblecore-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4840,7 +4840,7 @@ components:
- $ref: '#/components/schemas/NodeDto'
expected_return_type:
type: string
enum: ['string', 'int', 'float', 'bool', 'datetime']
enum: ['string', 'int', 'float', 'bool']
ScenarioUpdateInputDto:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion packages/marble-api/src/generated/marblecore-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ export type ScenarioUpdateInputDto = {
};
export type ScenarioAstValidateInputDto = {
node?: NodeDto;
expected_return_type?: "string" | "int" | "float" | "bool" | "datetime";
expected_return_type?: "string" | "int" | "float" | "bool";
};
export type ScenarioIterationDto = {
id: string;
Expand Down

0 comments on commit 091bf04

Please sign in to comment.