config: storybook,json,config (1 files)

This commit is contained in:
Richard Ward
2025-12-31 13:51:15 +00:00
parent ec8c920cb2
commit 71da8aceb6

View File

@@ -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": []
}
]
}
}
}