PromucFlow_constructor/app/client/src/constants/serverAssets.ts
Sangeeth Sivan 5b512b44a2
fix: airgapped instance bug fixes (#22440)
## Description

- This PR fixes few of the bugs on airgapped instances.

Fixes #22361 
Fixes #22375 
Fixes #22392 
Fixes #22394 
Fixes #22395 
Fixes #22441 
Fixes #22437 

Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video


## Type of change


- Bug fixes (non-breaking change which fixes an issue)


## How Has This Been Tested?

- Manual


### Test Plan
> Add Testsmith test cases links that relate to this PR

### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)


## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-04-20 13:54:55 +05:30

41 lines
2.3 KiB
TypeScript

import { ASSETS_CDN_URL } from "./ThirdPartyConstants";
/* Since the script download-assets.js actually needs the url to download the assets, we need the urls we get from server response at build time. */
export const postgresqlIcon = `${ASSETS_CDN_URL}/logo/postgresql.svg`;
export const mongodbIcon = `${ASSETS_CDN_URL}/logo/mongodb.svg`;
export const restApiIcon = `${ASSETS_CDN_URL}/RestAPI.png`;
export const mysqlIcon = `${ASSETS_CDN_URL}/logo/mysql.svg`;
export const elasticIcon = `${ASSETS_CDN_URL}/logo/elastic.svg`;
export const dynamoDBIcon = `${ASSETS_CDN_URL}/logo/aws-dynamodb.svg`;
export const redisIcon = `${ASSETS_CDN_URL}/logo/redis.svg`;
export const mssqlIcon = `${ASSETS_CDN_URL}/logo/mssql.svg`;
export const s3Icon = `${ASSETS_CDN_URL}/logo/aws-s3.svg`;
export const googleSheetsIcon = `${ASSETS_CDN_URL}/GoogleSheets.svg`;
export const snowflakeIcon = `${ASSETS_CDN_URL}/logo/snowflake.svg`;
export const arangodbIcon = `${ASSETS_CDN_URL}/logo/arangodb.svg`;
export const jsFileIcon = `${ASSETS_CDN_URL}/JSFile.svg`;
export const smtpIcon = `${ASSETS_CDN_URL}/smtp-icon.svg`;
export const graphqlIcon = `${ASSETS_CDN_URL}/logo/graphql.svg`;
export const oracleIcon = `${ASSETS_CDN_URL}/oracle-db.jpg`;
// Unsupported plugin assets
export const openaiLogo = `${ASSETS_CDN_URL}/integrations/openai-logo-png.jpg`;
export const firestoreIcon = `${ASSETS_CDN_URL}/logo/firestore.svg`;
export const redshiftIcon = `${ASSETS_CDN_URL}/logo/aws-redshift.svg`;
export const hubspotIcon = `${ASSETS_CDN_URL}/integrations/HubSpot.png`;
export const airtableIcon = `${ASSETS_CDN_URL}/integrations/airtable.svg`;
export const twilioIcon = `${ASSETS_CDN_URL}/integrations/twilio_24.png`;
export const twilioIcon1 = `${ASSETS_CDN_URL}/integrations/twilio_1.png`;
export const sendgridTwilioIcon = `${ASSETS_CDN_URL}/integrations/sendgrid_twilio.jpg`;
export const huggingFaceLogo = `${ASSETS_CDN_URL}/integrations/Hugging-Face-Logo.png`;
export const dropboxIcon = `${ASSETS_CDN_URL}/integrations/dropbox.png`;
export const figmaIcon = `${ASSETS_CDN_URL}/integrations/Figma-1-logo.png`;
// Assets for CRUD page generator
export const sqlWorkflowIcon = `${ASSETS_CDN_URL}/crud/workflow_sql.svg`;
export const s3WorkflowIcon = `${ASSETS_CDN_URL}/crud/workflow_s3.svg`;
// Assets from tenant configuration
export const appsmithFavicon = `${ASSETS_CDN_URL}/appsmith-favicon-orange.ico`;