@pgpmjs/types 2.20.2 → 2.21.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.
package/esm/pgpm.js CHANGED
@@ -45,7 +45,8 @@ export const pgpmDefaults = {
45
45
  awsRegion: 'us-east-1',
46
46
  awsAccessKey: 'minioadmin',
47
47
  awsSecretKey: 'minioadmin',
48
- minioEndpoint: 'http://localhost:9000'
48
+ endpoint: 'http://localhost:9000',
49
+ publicUrlPrefix: 'http://localhost:9000/test-bucket'
49
50
  },
50
51
  deployment: {
51
52
  useTx: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/types",
3
- "version": "2.20.2",
3
+ "version": "2.21.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PGPM types",
6
6
  "main": "index.js",
@@ -42,5 +42,5 @@
42
42
  "devDependencies": {
43
43
  "makage": "^0.3.0"
44
44
  },
45
- "gitHead": "baae875effd00af36577612c861d0f6f9a1a792a"
45
+ "gitHead": "fe60f7b81252eea53dce227bb581d5ae2ef0ec36"
46
46
  }
package/pgpm.d.ts CHANGED
@@ -44,10 +44,6 @@ export interface PgTestClientContext {
44
44
  /** Additional session context variables (e.g., 'jwt.claims.user_id', 'search_path') */
45
45
  [key: string]: string | null | undefined;
46
46
  }
47
- /**
48
- * @deprecated Use PgTestClientContext instead (typo fix)
49
- */
50
- export type PgTextClientContext = PgTestClientContext;
51
47
  /**
52
48
  * Role mapping configuration for database security
53
49
  */
@@ -114,8 +110,10 @@ export interface CDNOptions {
114
110
  awsAccessKey?: string;
115
111
  /** AWS secret key for S3 */
116
112
  awsSecretKey?: string;
117
- /** MinIO endpoint URL for local development (only used when provider is 'minio') */
118
- minioEndpoint?: string;
113
+ /** S3-compatible API endpoint URL (MinIO, R2, DO Spaces, GCS, etc.) */
114
+ endpoint?: string;
115
+ /** Public URL prefix for generating download URLs (e.g., CDN domain, S3 public URL) */
116
+ publicUrlPrefix?: string;
119
117
  }
120
118
  /**
121
119
  * SMTP email configuration options
package/pgpm.js CHANGED
@@ -49,7 +49,8 @@ exports.pgpmDefaults = {
49
49
  awsRegion: 'us-east-1',
50
50
  awsAccessKey: 'minioadmin',
51
51
  awsSecretKey: 'minioadmin',
52
- minioEndpoint: 'http://localhost:9000'
52
+ endpoint: 'http://localhost:9000',
53
+ publicUrlPrefix: 'http://localhost:9000/test-bucket'
53
54
  },
54
55
  deployment: {
55
56
  useTx: true,