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: update SourceType enum - CTCORE-10551 #899

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

toofff
Copy link
Member

@toofff toofff commented Dec 18, 2024

The SourceType enum has been evolving a lot lately, so I'm just updating it so that everyone can benefit from its evolution.

You can see the different SourceModel currently set up the GET item call of sources.

image

Acceptance Criteria

  • My changes are publicly available, documented, and deployed in production. (i.e. on Swagger)
  • JSDoc annotates each property added in the exported interfaces
  • The proposed changes are covered by unit tests
  • Commits containing breaking changes a properly identified as such
  • README.md is adjusted to reflect the proposed changes (if relevant)
  • My merge commit message will be conventional (See Conventional Commit)

@toofff toofff force-pushed the feature/CTCORE-10551-move-source-type-enum branch 3 times, most recently from 4b9da0a to a34cc11 Compare December 18, 2024 17:25
@toofff toofff marked this pull request as ready for review December 18, 2024 17:27
@toofff toofff requested review from a team as code owners December 18, 2024 17:27
Copy link
Member

@GermainBergeron GermainBergeron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to make sur I understand, we're removing values that the backend doesn't return anymore and adding a few new SourceType?

src/resources/Enums.ts Show resolved Hide resolved
@toofff toofff force-pushed the feature/CTCORE-10551-move-source-type-enum branch from a34cc11 to 2cf7469 Compare December 18, 2024 18:58
src/resources/Enums.ts Outdated Show resolved Hide resolved
@toofff toofff force-pushed the feature/CTCORE-10551-move-source-type-enum branch from 2cf7469 to a033da2 Compare December 18, 2024 19:29
- rename the GENERIC key to GENERIC_REST to match its value
- rename the MICROSOFT key to MICROSOFT_DYNAMICS to match its value
- added SourceType: SALESFORCE_SITES & SAP
- delete SourceType:
  - BOX
  - BOX_ENTERPRISE
  - DROPBOX
  - EXCHANGE
  - EXCHANGE_ENTERPRISE
  - GMAIL
  - GMAIL_DOMAIN_WIDE
  - GMAIL_SINGLE_USER
  - GOOGLE_DRIVE_SINGLE_USER
  - ONEDRIVE
  - SHAREPOINT_ONLINE
  - TWITTER2
@toofff toofff force-pushed the feature/CTCORE-10551-move-source-type-enum branch from a033da2 to 2f1f20d Compare December 18, 2024 19:41
@toofff toofff added this pull request to the merge queue Dec 18, 2024
Merged via the queue into master with commit 2444091 Dec 18, 2024
5 checks passed
@toofff toofff deleted the feature/CTCORE-10551-move-source-type-enum branch December 18, 2024 20:21
Copy link

🎉 This PR is included in version 57.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

paulgerold pushed a commit that referenced this pull request Dec 19, 2024
- rename the GENERIC key to GENERIC_REST to match its value
- rename the MICROSOFT key to MICROSOFT_DYNAMICS to match its value
- added SourceType: SALESFORCE_SITES & SAP
- delete SourceType:
  - BOX
  - BOX_ENTERPRISE
  - DROPBOX
  - EXCHANGE
  - EXCHANGE_ENTERPRISE
  - GMAIL
  - GMAIL_DOMAIN_WIDE
  - GMAIL_SINGLE_USER
  - GOOGLE_DRIVE_SINGLE_USER
  - ONEDRIVE
  - SHAREPOINT_ONLINE
  - TWITTER2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants