Skip to content

Commit

Permalink
fix: removed function variable type (COR-000) (#515)
Browse files Browse the repository at this point in the history
<!-- You can erase any parts of this template not applicable to your Pull Request. -->

**Fixes or implements COR-000**

### Brief description. What is this change?

<!-- Build up some context for your teammates on the changes made here and potential tradeoffs made and/or highlight any topics for discussion -->

Remove `FunctionVariableType` from `libs`
  • Loading branch information
zhihil committed Apr 3, 2024
1 parent 65b3833 commit c494fc8
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions packages/base-types/src/models/functionDefinition.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
export const FunctionVariableType = {
ANY: 'any',
ARRAY: 'array',
STRING: 'string',
OBJECT: 'object',
NUMBER: 'number',
BOOLEAN: 'boolean',
} as const;

export type FunctionVariableType = typeof FunctionVariableType[keyof typeof FunctionVariableType];
import { VariableDatatype } from '@base-types/cms/variables';

export interface FunctionCompiledVariableDeclaration {
type: FunctionVariableType;
type: VariableDatatype;
}

export interface FunctionCompiledDefinition {
Expand Down

0 comments on commit c494fc8

Please sign in to comment.