@@ -830,10 +830,12 @@ export namespace Integrations {
830830 export const save = l10n . t ( 'Save' ) ;
831831 export const requiredField = l10n . t ( '*' ) ;
832832 export const optionalField = l10n . t ( '(optional)' ) ;
833+ export const unnamedIntegration = ( id : string ) => l10n . t ( 'Unnamed Integration ({0})' , id ) ;
833834
834835 // Integration type labels
835836 export const postgresTypeLabel = l10n . t ( 'PostgreSQL' ) ;
836837 export const bigQueryTypeLabel = l10n . t ( 'BigQuery' ) ;
838+ export const snowflakeTypeLabel = l10n . t ( 'Snowflake' ) ;
837839
838840 // PostgreSQL form strings
839841 export const postgresNameLabel = l10n . t ( 'Name (optional)' ) ;
@@ -849,7 +851,6 @@ export namespace Integrations {
849851 export const postgresPasswordLabel = l10n . t ( 'Password' ) ;
850852 export const postgresPasswordPlaceholder = l10n . t ( '••••••••' ) ;
851853 export const postgresSslLabel = l10n . t ( 'Use SSL' ) ;
852- export const postgresUnnamedIntegration = ( id : string ) => l10n . t ( 'Unnamed PostgreSQL Integration ({0})' , id ) ;
853854
854855 // BigQuery form strings
855856 export const bigQueryNameLabel = l10n . t ( 'Name (optional)' ) ;
@@ -860,7 +861,43 @@ export namespace Integrations {
860861 export const bigQueryCredentialsPlaceholder = l10n . t ( '{"type": "service_account", ...}' ) ;
861862 export const bigQueryCredentialsRequired = l10n . t ( 'Credentials are required' ) ;
862863 export const bigQueryInvalidJson = ( message : string ) => l10n . t ( 'Invalid JSON: {0}' , message ) ;
863- export const bigQueryUnnamedIntegration = ( id : string ) => l10n . t ( 'Unnamed BigQuery Integration ({0})' , id ) ;
864+
865+ // Snowflake form strings
866+ export const snowflakeNameLabel = l10n . t ( 'Name (optional)' ) ;
867+ export const snowflakeNamePlaceholder = l10n . t ( 'My Snowflake Database' ) ;
868+ export const snowflakeAccountLabel = l10n . t ( 'Account name' ) ;
869+ export const snowflakeAccountPlaceholder = l10n . t ( 'ptb34938.us-east-1' ) ;
870+ export const snowflakeAuthMethodLabel = l10n . t ( 'Authentication' ) ;
871+ export const snowflakeAuthMethodSubLabel = l10n . t ( 'Method' ) ;
872+ export const snowflakeAuthMethodUsernamePassword = l10n . t ( 'Username & password' ) ;
873+ export const snowflakeAuthMethodKeyPair = l10n . t ( 'Key-pair (service account)' ) ;
874+ export const snowflakeUnsupportedAuthMethod = l10n . t (
875+ 'This Snowflake integration uses an authentication method that is not supported in VS Code. You can view the integration details but cannot edit or use it.'
876+ ) ;
877+ export const snowflakeUsernameLabel = l10n . t ( 'Username' ) ;
878+ export const snowflakeUsernamePlaceholder = l10n . t ( 'user' ) ;
879+ export const snowflakePasswordLabel = l10n . t ( 'Password' ) ;
880+ export const snowflakePasswordPlaceholder = l10n . t ( '••••••••' ) ;
881+ export const snowflakeServiceAccountUsernameLabel = l10n . t ( 'Service Account Username' ) ;
882+ export const snowflakeServiceAccountUsernameHelp = l10n . t (
883+ 'The username of the service account that will be used to connect to Snowflake'
884+ ) ;
885+ export const snowflakePrivateKeyLabel = l10n . t ( 'Private Key' ) ;
886+ export const snowflakePrivateKeyHelp = l10n . t (
887+ 'The private key in PEM format. Make sure to include the entire key, including BEGIN and END markers.'
888+ ) ;
889+ export const snowflakePrivateKeyPlaceholder = l10n . t ( "Begins with '-----BEGIN PRIVATE KEY-----'" ) ;
890+ export const snowflakePrivateKeyPassphraseLabel = l10n . t ( 'Private Key Passphrase (optional)' ) ;
891+ export const snowflakePrivateKeyPassphraseHelp = l10n . t (
892+ 'If the private key is encrypted, provide the passphrase to decrypt it.'
893+ ) ;
894+ export const snowflakePrivateKeyPassphrasePlaceholder = l10n . t ( '' ) ;
895+ export const snowflakeDatabaseLabel = l10n . t ( 'Database (optional)' ) ;
896+ export const snowflakeDatabasePlaceholder = l10n . t ( '' ) ;
897+ export const snowflakeRoleLabel = l10n . t ( 'Role (optional)' ) ;
898+ export const snowflakeRolePlaceholder = l10n . t ( '' ) ;
899+ export const snowflakeWarehouseLabel = l10n . t ( 'Warehouse (optional)' ) ;
900+ export const snowflakeWarehousePlaceholder = l10n . t ( '' ) ;
864901}
865902
866903export namespace Deprecated {
0 commit comments