Skip to content
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

feat: return and store social connector raw data #5526

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

gao-sun
Copy link
Member

@gao-sun gao-sun commented Mar 19, 2024

Summary

  • update connectors to return the original response json in rawData
  • update schema guard thus the data will be stored in the database

see changesets for more details.

Testing

added / updated unit tests and integration tests. will also test in dev env.

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

Copy link

github-actions bot commented Mar 19, 2024

COMPARE TO master

Total Size Diff ⚠️ 📈 +28.98 KB

Diff by File
Name Diff
.changeset/gentle-shoes-push.md 📈 +257 Bytes
.changeset/new-tables-breathe.md 📈 +144 Bytes
.changeset/olive-cycles-sip.md 📈 +641 Bytes
.changeset/wild-hotels-drop.md 📈 +81 Bytes
.gitpod.yml 0 Bytes
package.json 📈 +12 Bytes
packages/connectors/connector-alipay-native/src/index.test.ts 📈 +310 Bytes
packages/connectors/connector-alipay-native/src/index.ts 📈 +37 Bytes
packages/connectors/connector-alipay-web/src/index.test.ts 📈 +310 Bytes
packages/connectors/connector-alipay-web/src/index.ts 📈 +2 Bytes
packages/connectors/connector-apple/src/index.test.ts 📈 +300 Bytes
packages/connectors/connector-apple/src/index.ts 📈 +53 Bytes
packages/connectors/connector-azuread/package.json 📈 +64 Bytes
packages/connectors/connector-azuread/src/index.test.ts 📈 +1.86 KB
packages/connectors/connector-azuread/src/index.ts 📈 +141 Bytes
packages/connectors/connector-discord/src/index.test.ts 📈 +186 Bytes
packages/connectors/connector-discord/src/index.ts 📈 +46 Bytes
packages/connectors/connector-facebook/src/index.test.ts 📈 +181 Bytes
packages/connectors/connector-facebook/src/index.ts 📈 +47 Bytes
packages/connectors/connector-feishu-web/src/index.test.ts 📈 +106 Bytes
packages/connectors/connector-feishu-web/src/index.ts 📈 +62 Bytes
packages/connectors/connector-github/src/index.test.ts 📈 +331 Bytes
packages/connectors/connector-github/src/index.ts 📈 +47 Bytes
packages/connectors/connector-google/src/index.test.ts 📈 +87 Bytes
packages/connectors/connector-google/src/index.ts 📈 +47 Bytes
packages/connectors/connector-kakao/src/index.test.ts 📈 +47 Bytes
packages/connectors/connector-kakao/src/index.ts 📈 +47 Bytes
packages/connectors/connector-mock-social/src/index.ts 📈 +56 Bytes
packages/connectors/connector-naver/src/index.test.ts 📈 +43 Bytes
packages/connectors/connector-naver/src/index.ts 📈 +47 Bytes
packages/connectors/connector-oauth2/src/index.test.ts 📈 +62 Bytes
packages/connectors/connector-oauth2/src/index.ts 📈 +47 Bytes
packages/connectors/connector-oidc/src/index.test.ts 📈 +48 Bytes
packages/connectors/connector-oidc/src/index.ts 📈 +56 Bytes
packages/connectors/connector-wechat-native/src/index.test.ts 📈 +104 Bytes
packages/connectors/connector-wechat-native/src/index.ts 📈 +39 Bytes
packages/connectors/connector-wechat-web/src/index.test.ts 📈 +104 Bytes
packages/connectors/connector-wechat-web/src/index.ts 📈 +39 Bytes
packages/connectors/connector-wecom/src/index.test.ts 📈 +122 Bytes
packages/connectors/connector-wecom/src/index.ts 📈 +27 Bytes
packages/connectors/templates/sync-preset.js 📈 +647 Bytes
packages/integration-tests/src/constants.ts 📈 +19 Bytes
packages/integration-tests/src/tests/api/admin-user.test.ts 📈 +757 Bytes
packages/integration-tests/src/tests/api/interaction/social-interaction/happy-path.test.ts 📈 +624 Bytes
packages/schemas/src/foundations/jsonb-types/index.ts 📈 +390 Bytes
packages/toolkit/connector-kit/src/index.ts 📈 +140 Bytes
packages/toolkit/connector-kit/src/types/social.ts 📈 +608 Bytes
pnpm-lock.yaml ⚠️ 📈 +21.12 KB

@gao-sun gao-sun changed the title feat: return and store connector raw data feat: return and store social connector raw data Mar 19, 2024
@gao-sun gao-sun requested a review from a team March 19, 2024 06:07
@gao-sun gao-sun force-pushed the gao-store-raw-data-social branch 2 times, most recently from 58f8e1a to 22291b5 Compare March 19, 2024 07:11
@gao-sun gao-sun marked this pull request as ready for review March 19, 2024 07:25
@gao-sun gao-sun merged commit f60e641 into master Mar 21, 2024
19 checks passed
@gao-sun gao-sun deleted the gao-store-raw-data-social branch March 21, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants