Commit Graph

21 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
258dfa07d7 Improve documentation clarity based on code review feedback
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-07 19:27:15 +00:00
copilot-swe-agent[bot]
5172de6693 Update documentation to reflect removal of functions.json files
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-07 19:24:52 +00:00
copilot-swe-agent[bot]
00a49e4243 Remove functions.json files and stop generating them
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-07 19:20:19 +00:00
42446ef255 feat: Update package schemas and scripts to support JSON-based lifecycle hooks
- Added `jsonScript` property to metadata schema for JSON script entry points.
- Refactored `generate-package.ts` to replace Lua scripts with JSON scripts for lifecycle hooks.
- Updated test generation to use JSON format for metadata validation.
- Modified documentation and comments to reflect the transition from Lua to JSON scripting.
- Adjusted Storybook configuration and mock data to align with new JSON script structure.
- Renamed relevant files and references from Lua to JSON for consistency across the project.
2026-01-07 15:25:45 +00:00
copilot-swe-agent[bot]
0ab852d227 Initial plan: Fix README styles documentation
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:17:49 +00:00
2d5cba276a Add edge case test parameters and schemas for comprehensive testing
- Introduced `edge-cases.params.json` to define parameter sets for various edge case scenarios including null handling, boundary values, empty collections, special characters, numeric overflow, concurrent access, and malformed data.
- Created `edge-cases.test.json` to implement parameterized tests for the defined edge cases, ensuring robust validation of edge case handling in the application.
- Added `test-parameters_schema.json` to establish a schema for defining parameterized test input parameters, enhancing validation and structure.
- Developed `tests_schema.json` to define the structure for parameterized unit tests, including setup, teardown, and test case definitions.
2026-01-02 13:20:14 +00:00
9eea4c29f4 Bump schema version to 2.0.0 and refactor common definitions
- Updated default schema version from 1.0.0 to 2.0.0 in config_schema.json, events_schema.json, forms_schema.json, jobs_schema.json, migrations_schema.json, and permissions_schema.json.
- Introduced storybook-common-definitions.json to centralize common definitions for storybook context and controls.
- Refactored storybook_schema.json to reference common definitions instead of duplicating schema properties.
- Enhanced test scripts for schema validation to ensure comprehensive coverage and improved error reporting.
2026-01-02 12:42:24 +00:00
36af0354e8 feat: Add Storybook configuration schema and examples for package previews 2026-01-02 01:55:32 +00:00
5e7fa66ec6 Add schemas for advanced features and complete package examples
- Introduced advanced validation functions in complex.json for order totals, shipping addresses, inventory checks, and credit card validation.
- Created settings.json for complete package configuration, including environment variables and feature flags.
- Added event handlers in handlers.json for user-related events such as creation, update, and deletion.
- Developed user registration and profile editing forms in user-form.json with validation rules.
- Implemented background jobs in tasks.json for user cleanup, daily digest emails, analytics processing, and database backups.
- Established initial database migrations in 001_initial.json for users and content tables.
- Defined role-based access control in rbac.json with roles, permissions, and policies.
- Created minimal package schemas with empty structures for API, components, config, entities, events, forms, jobs, migrations, permissions, scripts, styles, types, and validation.
2026-01-02 00:29:17 +00:00
04761fa324 feat: Add automated schema validation test suite and TypeScript type definitions
- Created a new script `validate-all.sh` for automated validation of JSON schemas and example packages.
- Added a comprehensive README for TypeScript type definitions, detailing installation, usage examples, and advanced patterns.
- Introduced `generate-types.sh` to generate TypeScript definitions from JSON schemas using `json-schema-to-typescript` or `quicktype`.
- Implemented `metabuilder-schemas.d.ts` with hand-crafted TypeScript definitions for MetaBuilder schemas.
- Enhanced the structure and documentation of the TypeScript types to improve usability and clarity.
2026-01-02 00:00:38 +00:00
55a56ac604 feat: Implement comprehensive schema improvements and versioning documentation 2026-01-01 23:23:55 +00:00
51495bfe22 feat: Add Quick Start Guide for MetaBuilder Schemas
- Introduced QUICKSTART.md with security improvements, visual programming support, and cross-schema validation features.
- Updated entities_schema.json to remove deprecated 'primary' field.
- Enhanced index_schema.json with cross-validation rules and improved schema definitions.
- Created stdlib_schema.json for standard library functions and utilities.
- Updated validation_schema.json to include default regex patterns and sanitization options.
2026-01-01 23:14:19 +00:00
2f8da8872e feat: add schema validator script using jsonschema-cli 2026-01-01 22:05:17 +00:00
feb148c908 feat: add new styles schema and validation functions
- Introduced a new JSON schema for package styles (styles_schema.json) defining design tokens and style properties.
- Removed the outdated types schema (types.schema.json) and replaced it with an updated version (types_schema.json) that includes enhanced type definitions and properties.
- Added a new validation schema (validation_schema.json) for JSON script validation functions, including reusable patterns and function definitions.
2025-12-31 23:07:31 +00:00
357dd5e106 config: add comment for yaml-schema dependency in yaml-schema.sh 2025-12-31 22:24:05 +00:00
501af9370d config: add yaml-schema.sh script for YAML processing 2025-12-31 22:22:33 +00:00
Richard Ward
1c0afad253 config: schemas,schema,package (2 files) 2025-12-31 15:07:12 +00:00
Richard Ward
a178f13b66 config: schemas,schema,package (2 files) 2025-12-31 15:06:42 +00:00
Richard Ward
bb0d1bf6f8 config: schemas,schema,package (3 files) 2025-12-31 15:01:48 +00:00
Richard Ward
8af055193a docs: schemas,yaml,schema (2 files) 2025-12-31 14:33:22 +00:00
Richard Ward
c520e13f9d docs: yaml,packages,script (4 files) 2025-12-31 14:32:52 +00:00