@distilled.cloud/prisma-postgres 0.19.1 → 0.20.0

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.
Files changed (46) hide show
  1. package/lib/credentials.d.ts +1 -1
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/operations/getV1ComputeServices.d.ts +6 -6
  6. package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts +5 -5
  7. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts +3 -3
  8. package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts +7 -7
  9. package/lib/operations/getV1ComputeServicesVersionsByVersionIdLogs.d.ts +3 -3
  10. package/lib/operations/getV1Connections.d.ts +20 -20
  11. package/lib/operations/getV1ConnectionsById.d.ts +18 -18
  12. package/lib/operations/getV1Databases.d.ts +28 -28
  13. package/lib/operations/getV1DatabasesByDatabaseId.d.ts +27 -27
  14. package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts +1 -1
  15. package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts +20 -20
  16. package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts +8 -8
  17. package/lib/operations/getV1Integrations.d.ts +8 -8
  18. package/lib/operations/getV1IntegrationsById.d.ts +7 -7
  19. package/lib/operations/getV1Projects.d.ts +5 -5
  20. package/lib/operations/getV1ProjectsById.d.ts +4 -4
  21. package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts +7 -7
  22. package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts +29 -29
  23. package/lib/operations/getV1Regions.d.ts +1 -1
  24. package/lib/operations/getV1RegionsAccelerate.d.ts +1 -1
  25. package/lib/operations/getV1RegionsPostgres.d.ts +1 -1
  26. package/lib/operations/getV1Versions.d.ts +4 -4
  27. package/lib/operations/getV1VersionsByVersionId.d.ts +7 -7
  28. package/lib/operations/getV1Workspaces.d.ts +3 -3
  29. package/lib/operations/getV1WorkspacesById.d.ts +2 -2
  30. package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts +9 -9
  31. package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts +5 -5
  32. package/lib/operations/patchV1DatabasesByDatabaseId.d.ts +27 -27
  33. package/lib/operations/patchV1ProjectsById.d.ts +4 -4
  34. package/lib/operations/postV1ComputeServices.d.ts +6 -6
  35. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts +2 -2
  36. package/lib/operations/postV1Connections.d.ts +22 -22
  37. package/lib/operations/postV1ConnectionsByIdRotate.d.ts +22 -22
  38. package/lib/operations/postV1Databases.d.ts +32 -32
  39. package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +22 -22
  40. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts +32 -32
  41. package/lib/operations/postV1Projects.d.ts +58 -58
  42. package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts +6 -6
  43. package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +58 -58
  44. package/lib/operations/postV1Versions.d.ts +3 -3
  45. package/package.json +3 -3
  46. package/src/credentials.ts +2 -2
@@ -1,9 +1,9 @@
1
+ import { ConfigError } from "@distilled.cloud/core/errors";
1
2
  import * as EffectConfig from "effect/Config";
2
3
  import * as Context from "effect/Context";
3
4
  import * as Effect from "effect/Effect";
4
5
  import * as Layer from "effect/Layer";
5
6
  import * as Redacted from "effect/Redacted";
6
- import { ConfigError } from "@distilled.cloud/core/errors";
7
7
 
8
8
  export const DEFAULT_API_BASE_URL = "https://api.prisma.io";
9
9
 
@@ -22,7 +22,7 @@ const envConfig = EffectConfig.all({
22
22
 
23
23
  export const CredentialsFromEnv = Layer.effect(
24
24
  Credentials,
25
- envConfig.asEffect().pipe(
25
+ envConfig.pipe(
26
26
  Effect.mapError(
27
27
  () =>
28
28
  new ConfigError({