@pgpmjs/types 2.14.0 → 2.14.1

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
@@ -80,6 +80,11 @@ export const pgpmDefaults = {
80
80
  pollInterval: 1000,
81
81
  gracefulShutdown: true
82
82
  }
83
+ },
84
+ errorOutput: {
85
+ queryHistoryLimit: 30,
86
+ maxLength: 10000,
87
+ verbose: false
83
88
  }
84
89
  };
85
90
  export function getGitConfigInfo() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/types",
3
- "version": "2.14.0",
3
+ "version": "2.14.1",
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.1.10"
44
44
  },
45
- "gitHead": "f2f9c9851beff3214790dfca371e4ca7f6c1373f"
45
+ "gitHead": "cb4af2cf6c23dad24cd951c232d3e2006b81aa3d"
46
46
  }
package/pgpm.d.ts CHANGED
@@ -131,6 +131,17 @@ export interface MigrationOptions {
131
131
  /** Code generation settings */
132
132
  codegen?: CodegenOptions;
133
133
  }
134
+ /**
135
+ * Error output formatting options for controlling verbosity of error messages
136
+ */
137
+ export interface ErrorOutputOptions {
138
+ /** Maximum number of queries to show in error output (default: 30) */
139
+ queryHistoryLimit?: number;
140
+ /** Maximum total characters for error output before truncation (default: 10000) */
141
+ maxLength?: number;
142
+ /** When true, disables all limiting and shows full error output (default: false) */
143
+ verbose?: boolean;
144
+ }
134
145
  /**
135
146
  * Configuration for PGPM workspace
136
147
  */
@@ -189,6 +200,8 @@ export interface PgpmOptions {
189
200
  migrations?: MigrationOptions;
190
201
  /** Job system configuration */
191
202
  jobs?: JobsConfig;
203
+ /** Error output formatting options */
204
+ errorOutput?: ErrorOutputOptions;
192
205
  }
193
206
  /**
194
207
  * Default configuration values for PGPM framework
package/pgpm.js CHANGED
@@ -84,6 +84,11 @@ exports.pgpmDefaults = {
84
84
  pollInterval: 1000,
85
85
  gracefulShutdown: true
86
86
  }
87
+ },
88
+ errorOutput: {
89
+ queryHistoryLimit: 30,
90
+ maxLength: 10000,
91
+ verbose: false
87
92
  }
88
93
  };
89
94
  function getGitConfigInfo() {