@platformatic/db 3.2.0 → 3.3.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 (3) hide show
  1. package/config.d.ts +4 -0
  2. package/package.json +12 -12
  3. package/schema.json +6 -1
package/config.d.ts CHANGED
@@ -658,6 +658,10 @@ export interface PlatformaticDatabaseConfig {
658
658
  labels?: {
659
659
  [k: string]: string;
660
660
  };
661
+ /**
662
+ * The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)
663
+ */
664
+ applicationLabel?: string;
661
665
  readiness?:
662
666
  | boolean
663
667
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -66,17 +66,17 @@
66
66
  "rfdc": "^1.3.1",
67
67
  "rimraf": "^4.4.1",
68
68
  "semgrator": "^0.3.0",
69
- "@platformatic/basic": "3.2.0",
70
- "@platformatic/db-authorization": "3.2.0",
71
- "@platformatic/db-core": "3.2.0",
72
- "@platformatic/foundation": "3.2.0",
73
- "@platformatic/sql-events": "3.2.0",
74
- "@platformatic/service": "3.2.0",
75
- "@platformatic/sql-json-schema-mapper": "3.2.0",
76
- "@platformatic/sql-mapper": "3.2.0",
77
- "@platformatic/sql-openapi": "3.2.0",
78
- "@platformatic/sql-graphql": "3.2.0",
79
- "@platformatic/telemetry": "3.2.0"
69
+ "@platformatic/basic": "3.3.0",
70
+ "@platformatic/db-authorization": "3.3.0",
71
+ "@platformatic/db-core": "3.3.0",
72
+ "@platformatic/foundation": "3.3.0",
73
+ "@platformatic/service": "3.3.0",
74
+ "@platformatic/sql-events": "3.3.0",
75
+ "@platformatic/sql-graphql": "3.3.0",
76
+ "@platformatic/sql-mapper": "3.3.0",
77
+ "@platformatic/sql-json-schema-mapper": "3.3.0",
78
+ "@platformatic/sql-openapi": "3.3.0",
79
+ "@platformatic/telemetry": "3.3.0"
80
80
  },
81
81
  "engines": {
82
82
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/db/3.2.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/db/3.3.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Database Config",
5
5
  "type": "object",
@@ -2228,6 +2228,11 @@
2228
2228
  "type": "string"
2229
2229
  }
2230
2230
  },
2231
+ "applicationLabel": {
2232
+ "type": "string",
2233
+ "default": "applicationId",
2234
+ "description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
2235
+ },
2231
2236
  "readiness": {
2232
2237
  "anyOf": [
2233
2238
  {