Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: readd support for the custom Data toolbox category #87

Merged
merged 5 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 20 additions & 12 deletions src/constants.js
Original file line number Diff line number Diff line change
@@ -1,42 +1,50 @@
/**
* String representing the variable type of scalar variables.
* This string, for use in differentiating between types of variables,
* indicates that the current variable is a scalar variable.
* @const {string}
*/
const SCALAR_VARIABLE_TYPE = "";
export { SCALAR_VARIABLE_TYPE };

/**
* String representing the variable type of broadcast message blocks.
* This string, for use in differentiating between types of variables,
* indicates that the current variable is a broadcast message.
* @const {string}
*/
const BROADCAST_MESSAGE_VARIABLE_TYPE = 'broadcast_msg';
export {BROADCAST_MESSAGE_VARIABLE_TYPE};

const BROADCAST_MESSAGE_VARIABLE_TYPE = "broadcast_msg";
export { BROADCAST_MESSAGE_VARIABLE_TYPE };

/**
* String representing the variable type of list blocks.
* This string, for use in differentiating between types of variables,
* indicates that the current variable is a list.
* @const {string}
*/
const LIST_VARIABLE_TYPE = 'list';
export {LIST_VARIABLE_TYPE};
const LIST_VARIABLE_TYPE = "list";
export { LIST_VARIABLE_TYPE };

/*
* The type of all procedure definition blocks.
* @const {string}
*/
const PROCEDURES_DEFINITION_BLOCK_TYPE = 'procedures_definition';
export {PROCEDURES_DEFINITION_BLOCK_TYPE};
const PROCEDURES_DEFINITION_BLOCK_TYPE = "procedures_definition";
export { PROCEDURES_DEFINITION_BLOCK_TYPE };

/**
* The type of all procedure prototype blocks.
* @const {string}
*/
const PROCEDURES_PROTOTYPE_BLOCK_TYPE = 'procedures_prototype';
export {PROCEDURES_PROTOTYPE_BLOCK_TYPE};
const PROCEDURES_PROTOTYPE_BLOCK_TYPE = "procedures_prototype";
export { PROCEDURES_PROTOTYPE_BLOCK_TYPE };

/**
* The type of all procedure call blocks.
* @const {string}
*/
const PROCEDURES_CALL_BLOCK_TYPE = 'procedures_call';
export {PROCEDURES_CALL_BLOCK_TYPE};
const PROCEDURES_CALL_BLOCK_TYPE = "procedures_call";
export { PROCEDURES_CALL_BLOCK_TYPE };

const OUTPUT_SHAPE_ROUND = 2;
export {OUTPUT_SHAPE_ROUND};
export { OUTPUT_SHAPE_ROUND };
Loading