mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
config: storybook,json,config (1 files)
This commit is contained in:
@@ -46,13 +46,7 @@
|
||||
|
||||
"scripts": {
|
||||
"renderFunctions": ["render", "main", "layout", "login_form", "register_form", "forgot_password", "form", "page", "view"],
|
||||
"ignoredScripts": ["test", "types", "utils", "init", "validate", "actions", "formatting", "format_time", "format", "send_message", "handle_command", "user_join", "user_leave", "helper", "db"],
|
||||
"jsonScripts": {
|
||||
"enabled": true,
|
||||
"executor": "javascript",
|
||||
"includeFunctions": ["all_expressions", "all_statements", "all_operators", "control_flow", "data_structures"],
|
||||
"renderMode": "json_output"
|
||||
}
|
||||
"ignoredScripts": ["test", "types", "utils", "init", "validate", "actions", "formatting", "format_time", "format", "send_message", "handle_command", "user_join", "user_leave", "helper", "db"]
|
||||
},
|
||||
|
||||
"manualOverrides": {
|
||||
@@ -75,52 +69,6 @@
|
||||
"renders": {
|
||||
"render_users": { "description": "User management table" }
|
||||
}
|
||||
},
|
||||
"json_script_example": {
|
||||
"featured": true,
|
||||
"category": "examples",
|
||||
"description": "JSON Script Runtime Examples",
|
||||
"stories": [
|
||||
{
|
||||
"name": "All Expressions",
|
||||
"function": "all_expressions",
|
||||
"args": [10, 5],
|
||||
"argControls": {
|
||||
"a": { "type": "number", "default": 10, "label": "First Number" },
|
||||
"b": { "type": "number", "default": 5, "label": "Second Number" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "All Statements",
|
||||
"function": "all_statements",
|
||||
"args": [[1, 2, 3, 4, 5]],
|
||||
"argControls": {
|
||||
"items": { "type": "array", "default": [1, 2, 3, 4, 5], "label": "Numbers Array" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "All Operators",
|
||||
"function": "all_operators",
|
||||
"args": [10, 5],
|
||||
"argControls": {
|
||||
"x": { "type": "number", "default": 10, "label": "X" },
|
||||
"y": { "type": "number", "default": 5, "label": "Y" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Control Flow",
|
||||
"function": "control_flow",
|
||||
"args": [42],
|
||||
"argControls": {
|
||||
"value": { "type": "number", "default": 42, "label": "Value to Classify" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Data Structures",
|
||||
"function": "data_structures",
|
||||
"args": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user