-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Improve Page data table schemas #367
Conversation
🦋 Changeset detectedLatest commit: 8183337 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Thank you for submitting your Pull Request, the following links will become available for preview shortly:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🔥
…Data and importPage functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🫡
This pull request includes significant enhancements to the StudioCMS database schema and WordPress API importer functionality. The key changes introduce new tables for categories and tags, extend the site configuration, and improve the import process to handle these new entities.
Database Schema Updates:
packages/studiocms_core/src/db/config.ts
:StudioCMSPageDataCategories
andStudioCMSPageDataTags
to the database configuration. [1] [2]packages/studiocms_core/src/db/tables.ts
:StudioCMSPageDataCategories
andStudioCMSPageDataTags
with appropriate columns. [1] [2]packages/studiocms_core/src/db/tsTables.ts
:StudioCMSPageDataCategories
andStudioCMSPageDataTags
. [1] [2]WordPress API Importer Enhancements:
packages/studiocms_devapps/src/apps/wp-importer.ts
:packages/studiocms_devapps/src/routes/wp-api-importer.ts
:packages/studiocms_devapps/src/schema/wp-api/index.ts
:Tag
,Category
, andSiteSettings
to handle new data structures.packages/studiocms_devapps/src/utils/wp-api/converters.ts
:packages/studiocms_devapps/src/utils/wp-api/index.ts
:packages/studiocms_devapps/src/utils/wp-api/utils.ts
:apiEndpoint
function to support new endpoint types for categories, tags, and settings. [1] [2]