-
Notifications
You must be signed in to change notification settings - Fork 3
Decouple dependencies for all connectors except EXCEL and PPT #973
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
Conversation
.github/workflows/build.yml
Outdated
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 # 코드 재체크아웃하여 package.json 확보 | ||
|
||
|
||
- name: Download build artifact | ||
uses: actions/download-artifact@v4 | ||
with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this unnecessary space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you revert the commit about DallE3? i worked already this.
* Request to reissue Google access token | ||
*/ | ||
private async refreshAccessToken(): Promise<string> { | ||
const client = new google.auth.OAuth2( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the googleapis dependency to package.json about all the google monorepo packages that use the googleapis
package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No touch the provider. revert please!
This pull request includes several changes to the codebase, primarily focusing on removing dependencies on the
@wrtnlabs/connector-aws-s3
and@wrtnlabs/connector-google
packages, and replacing them with shared utilities and direct usage of thegoogleapis
package. Additionally, there are updates to the connectors list and various refactorings to improve code maintainability.Dependency and Service Refactoring:
packages/dall_e_3/package.json
: Replaced the@wrtnlabs/connector-aws-s3
dependency with@wrtnlabs/connector-shared
.packages/dall_e_3/src/dall_e_3/DallE3Service.ts
: Removed AWS S3 service usage and replaced it with a utility functionbufferToBase64
from@wrtnlabs/connector-shared
. [1] [2]packages/dall_e_3/src/structures/IDallE3Service.ts
: Removed AWS S3 related properties from the service interface. [1] [2] [3] [4]Google Service Removal and Refactoring:
packages/google/src/google/GoogleService.ts
: Removed theGoogleService
class which handled Google Auth Service.packages/google/src/index.ts
: Removed exports related toGoogleService
.packages/google/src/structures/IGoogleService.ts
: Removed theIGoogleService
namespace and its properties.packages/google_ads/src/google_ads/GoogleAdsService.ts
: Integrated Google Auth Service directly within theGoogleAdsService
class, replacing the removedGoogleService
. [1] [2] [3] [4]secret
property torefreshToken
in Google Ads service tests. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]Connectors List Update:
connectors-list.json
: Removed@wrtnlabs/connector-google
and@wrtnlabs/connector-image
, added@wrtnlabs/connector-youtube-official-search
and@wrtnlabs/connector-youtube-transcript
, and updated the version. [1] [2] [3]Workflow Update:
.github/workflows/build.yml
: Added blank lines for better readability.