@deepnote/database-integrations 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +246 -246
- package/dist/index.d.ts +246 -246
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -396,7 +396,7 @@ const databaseIntegrationConfigSchema = z$1.discriminatedUnion("type", [
|
|
|
396
396
|
commonIntegrationConfig.extend({
|
|
397
397
|
type: z$1.literal("trino"),
|
|
398
398
|
metadata: databaseMetadataSchemasByType["trino"],
|
|
399
|
-
federated_auth_method: z$1.
|
|
399
|
+
federated_auth_method: z$1.enum(["trino-oauth", "password"]).optional().nullable()
|
|
400
400
|
})
|
|
401
401
|
]);
|
|
402
402
|
|
|
@@ -701,6 +701,7 @@ const getTrinoEnvVars = (integrationId, metadata, projectRootDirectory) => {
|
|
|
701
701
|
return {
|
|
702
702
|
url: `trino://${encodeURIComponent(metadata.user)}:${encodeURIComponent(metadata.password)}@${metadata.host}:${metadata.port}/${encodeURIComponent(metadata.database)}`,
|
|
703
703
|
params: { connect_args: {
|
|
704
|
+
client_tags: ["deepnote/toolkit"],
|
|
704
705
|
...metadata.sslEnabled ? { http_scheme: "https" } : {},
|
|
705
706
|
...metadata.caCertificateName ? { verify: getCACertificatePath({
|
|
706
707
|
projectRoot: projectRootDirectory,
|