Skip to content

Conversation

@yehuda23
Copy link
Contributor

@yehuda23 yehuda23 commented Sep 17, 2025

needs modeling

boberitay and others added 20 commits August 4, 2025 13:52
- Added main entry point for the headless CMS package.
- Implemented `CmsCrud` React component exposing CRUD operations via render props.
- Configured TypeScript with both ESM and CJS builds.
- Introduced package dependencies and scripts for building and testing.
- Updated `yarn.lock` with required dependencies.
- Updated `@wix/data` dependency version in `yarn.lock` to use a broader range (`^1.0.0`).
- Simplified function signatures in `cms-crud-service` for cleaner code.
… usability

- Replaced explicit namespace object exports with `export * as` for cleaner imports.
- Added `Root` component to provide context and service configuration for `CmsCrud`.
- Refactored CRUD operations to include reusable error-handling utility.
- Updated TypeScript types and interfaces for improved clarity and flexibility.
- Simplified service bindings and auto-fetch logic for better developer experience.
* create initial root collection

* refactor(CmsCollection): streamline component structure and enhance service integration

- Removed unnecessary context and refactored the Root component to directly manage service context.
- Updated Items component to utilize render props for better data handling.
- Consolidated service definitions and improved error handling in the CmsCollection service.
- Cleaned up imports and removed legacy code for a more maintainable structure.

* add items to the service config and root prop

* fix build by updating imports to explicit file extensions

* use wixDataItems from the wix-data package and remove useService from the items component that outside the core

---------

Co-authored-by: jordanlaor <[email protected]>
Base automatically changed from add-cms-headless to main September 28, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants