feat: AI description - Backend for adding translation objects to EventType model (#17657)
* feat: AI description - DB model + frontend + backend (fetch only) * fix types and add validation to backend * improve log * improve * import type * add EventTypeTranslationRepository * fix replexica error * fix replexica error * fix * fix test * wip * wip * add createManyDescriptionTranslations method * improve logic * refactor * update replexica type * improve typing * Renamed descriptionTranslations to fieldTranslations * log errors in replexica service * handle translations in background * don't create, upsert instead * make sure that description is updated * simplify * fix * Update packages/trpc/server/routers/viewer/eventTypes/update.handler.ts * improve filter logic in frontend * implement background job using Tasker * update schema * update schema again * rename * rename id to uid * add migration * fix type * update * update schema and migration sql * fix migration * fix type check * fix type check 2 * improve find logic in EventMeta * add more validation * add logger * rename * upgrade replexica/sdk to 0.7.0 * upgrade replexica to 0.7.0 * use batchLocalizeText * add comments * override browser locale if user is a signed in calcom user * fix type in replexica * fix migration sql * fix type * use dynamic import * do not use batchLocalizeText * fix * add more validations * fix type error * address comment * update locales * update locales --------- Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
1 parent
93489709a8
commit
62976a4c77
14 files changed
+290
-22
No files matched your search
@@ -5035,7 +5035,7 @@ __metadata:
|
||||
"@radix-ui/react-switch": ^1.0.0
|
||||
"@radix-ui/react-toggle-group": ^1.0.0
|
||||
"@radix-ui/react-tooltip": ^1.0.0
|
||||
"@replexica/sdk": ^0.6.0
|
||||
"@replexica/sdk": ^0.7.0
|
||||
"@sentry/nextjs": ^8.8.0
|
||||
"@stripe/react-stripe-js": ^1.10.0
|
||||
"@stripe/stripe-js": ^1.35.0
|
||||
@@ -12316,28 +12316,28 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@replexica/sdk@npm:^0.6.0":
|
||||
version: 0.6.0
|
||||
resolution: "@replexica/sdk@npm:0.6.0"
|
||||
"@replexica/sdk@npm:^0.7.0":
|
||||
version: 0.7.2
|
||||
resolution: "@replexica/sdk@npm:0.7.2"
|
||||
dependencies:
|
||||
"@paralleldrive/cuid2": ^2.2.2
|
||||
"@replexica/spec": 0.18.0
|
||||
"@replexica/spec": 0.19.0
|
||||
jsdom: ^25.0.1
|
||||
typescript: ^5.6.3
|
||||
vitest: ^2.1.4
|
||||
zod: ^3.23.8
|
||||
checksum: 95a239cf24025a8ea1a03b0720c8a1bd351f73777015fd3a8b74995740fb191c87d157ac04e7b1824f9b5b8f27cef3ce1b7126deb7bf7683b74b8435d3de1238
|
||||
checksum: 5199f4c7721eaefa66f9da062b11d62d79249afaa30098325d3e52550e2ac5fb2c3bdf550e61691e020023f11718a5240d38c8ac54726159e075991150620535
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@replexica/spec@npm:0.18.0":
|
||||
version: 0.18.0
|
||||
resolution: "@replexica/spec@npm:0.18.0"
|
||||
"@replexica/spec@npm:0.19.0":
|
||||
version: 0.19.0
|
||||
resolution: "@replexica/spec@npm:0.19.0"
|
||||
dependencies:
|
||||
typescript: ^5.6.3
|
||||
vitest: ^2.1.4
|
||||
zod: ^3.23.8
|
||||
checksum: d9afcfd965b804d395436cc6daf9a051142e13658297e45f742a6397699360e8f28d43399c4c31077b250ca965e1733200bf8c63eae328b4960320d2dd6ae5b5
|
||||
checksum: 11114313e42c43ffe5c68e709eb465f4bbd0e24c70fcbdec5e56b4c2a9c4c10b5cd5899c253ffb652b1d66db13015f9ccbcf1d11479e079361c9d6bf8170ebf5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in new issue
Block a user