0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
logto/packages/connector-aliyun-dm/src
Darcy Ye 3925424316
refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078)
* feat(alipay): use zod parse instead of got response generic

* feat(alipay): fix expires_in and re_expires_in type

* feat(alipay): extract errorHandler function to map HTTP error to connector error

* feat(alipay-native): refactor as alipay

* feat(aliyun-dm): use zod parser for type guard and extract error handler

* feat(aliyun-sms): extract error handler

* feat(facebook): use zod parser

* feat(github): use zod parser

* feat(google): use zod parser

* feat(wechat-web): use zod parser and wrap error handler

* feat(wechat-native): use zod parser and wrap error handler
2022-06-10 10:41:45 +08:00
..
constant.ts chore(connectors): config template md files to json files (#987) 2022-05-31 12:58:24 +08:00
index.test.ts refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078) 2022-06-10 10:41:45 +08:00
index.ts refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078) 2022-06-10 10:41:45 +08:00
mock.ts feat(core): wrap aliyun direct mail connector (#660) 2022-04-26 19:32:41 +08:00
single-send-mail.test.ts feat(core): wrap aliyun direct mail connector (#660) 2022-04-26 19:32:41 +08:00
single-send-mail.ts refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078) 2022-06-10 10:41:45 +08:00
types.ts refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078) 2022-06-10 10:41:45 +08:00
utils.test.ts feat(core): wrap aliyun direct mail connector (#660) 2022-04-26 19:32:41 +08:00
utils.ts refactor(connectors): use zod guard instead of got generic and elaborate error info (#1078) 2022-06-10 10:41:45 +08:00