-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
[CAL-3584] Add zod schemas for app metadata living in config.json
#14808
Comments
Hey @joeauyeung, I would like to work on this issue |
@hemantwasthere |
@joeauyeung @sotayamashita
So can you give a brief description of what exactly is required here? |
Sorry about that. I just updated the description. |
Can you please assign this issue to me |
Hey @joeauyeung, I would like to work on this issue |
Hey, is anyone working on this issue, if not, please assign me this issue ? |
I’m interested in this one. |
Hii @joeauyeung , Can i work on this issue |
attempt |
Hi @joeauyeung i would like to work on this issue |
I can fix it.. |
I can fix it. |
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).
I have created the pr which fixes the issue.Please review my PR and inform if any changes required. |
still open? /assign please TEAM 5 (5 individuals) |
When an app's metadata lives in a
config.json
file we lose typing. Instead we should have a zod schema similar to ourAppMeta
type that can parse the json file and give us proper typing.From SyncLinear.com | CAL-3584
The text was updated successfully, but these errors were encountered: