Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add zod schemas for app metadata living in config.json
Fixes calcom#14808 Add zod schemas for app metadata in `config.json`. * Import `appDataSchemas` and `appKeysSchemas` from `apps.schemas.generated` in `packages/app-store/appStoreMetaData.ts`. * Use `appDataSchemas` and `appKeysSchemas` to parse the metadata in `packages/app-store/appStoreMetaData.ts`. * Update the `appStoreMetadata` object to use the parsed metadata in `packages/app-store/appStoreMetaData.ts`. * Import `appDataSchemas` and `appKeysSchemas` from `apps.schemas.generated` in `packages/app-store/getNormalizedAppMetadata.ts`. * Use `appDataSchemas` and `appKeysSchemas` to parse the metadata in `packages/app-store/getNormalizedAppMetadata.ts`. * Update the `getNormalizedAppMetadata` function to use the parsed metadata in `packages/app-store/getNormalizedAppMetadata.ts`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/calcom/cal.com/issues/14808?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information