@platformatic/tanstack 3.73.0-alpha.0 → 3.74.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 +16 -0
  2. package/package.json +7 -7
  3. package/schema.json +21 -1
package/config.d.ts CHANGED
@@ -54,6 +54,14 @@ export interface PlatformaticTanStackConfig {
54
54
  [k: string]: unknown;
55
55
  } | null;
56
56
  messageKey?: string;
57
+ /**
58
+ * The key used for the timestamp in emitted logs. Defaults to time.
59
+ */
60
+ timestampKey?: string;
61
+ /**
62
+ * The key used for the level in emitted logs. Defaults to level.
63
+ */
64
+ levelKey?: string;
57
65
  customLevels?: {
58
66
  [k: string]: unknown;
59
67
  };
@@ -257,6 +265,14 @@ export interface PlatformaticTanStackConfig {
257
265
  [k: string]: unknown;
258
266
  } | null;
259
267
  messageKey?: string;
268
+ /**
269
+ * The key used for the timestamp in emitted logs. Defaults to time.
270
+ */
271
+ timestampKey?: string;
272
+ /**
273
+ * The key used for the level in emitted logs. Defaults to level.
274
+ */
275
+ levelKey?: string;
260
276
  customLevels?: {
261
277
  [k: string]: unknown;
262
278
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/tanstack",
3
- "version": "3.73.0-alpha.0",
3
+ "version": "3.74.0",
4
4
  "description": "Platformatic TanStack Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,15 +15,15 @@
15
15
  },
16
16
  "homepage": "https://github.com/platformatic/platformatic#readme",
17
17
  "dependencies": {
18
- "@platformatic/basic": "3.73.0-alpha.0",
19
- "@platformatic/foundation": "3.73.0-alpha.0",
20
- "@platformatic/globals": "3.73.0-alpha.0",
21
- "@platformatic/vite": "3.73.0-alpha.0",
18
+ "@platformatic/basic": "3.74.0",
19
+ "@platformatic/foundation": "3.74.0",
20
+ "@platformatic/globals": "3.74.0",
21
+ "@platformatic/vite": "3.74.0",
22
22
  "semver": "^7.6.3"
23
23
  },
24
24
  "devDependencies": {
25
- "@platformatic/gateway": "3.73.0-alpha.0",
26
- "@platformatic/service": "3.73.0-alpha.0",
25
+ "@platformatic/gateway": "3.74.0",
26
+ "@platformatic/service": "3.74.0",
27
27
  "@tanstack/react-router": "^1.139.7",
28
28
  "@tanstack/react-start": "^1.139.8",
29
29
  "@vitejs/plugin-react": "^5.1.1",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/tanstack/3.73.0-alpha.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/tanstack/3.74.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic TanStack Config",
5
5
  "type": "object",
@@ -141,6 +141,16 @@
141
141
  "messageKey": {
142
142
  "type": "string"
143
143
  },
144
+ "timestampKey": {
145
+ "type": "string",
146
+ "minLength": 1,
147
+ "description": "The key used for the timestamp in emitted logs. Defaults to time."
148
+ },
149
+ "levelKey": {
150
+ "type": "string",
151
+ "minLength": 1,
152
+ "description": "The key used for the level in emitted logs. Defaults to level."
153
+ },
144
154
  "customLevels": {
145
155
  "type": "object",
146
156
  "additionalProperties": true
@@ -1187,6 +1197,16 @@
1187
1197
  "messageKey": {
1188
1198
  "type": "string"
1189
1199
  },
1200
+ "timestampKey": {
1201
+ "type": "string",
1202
+ "minLength": 1,
1203
+ "description": "The key used for the timestamp in emitted logs. Defaults to time."
1204
+ },
1205
+ "levelKey": {
1206
+ "type": "string",
1207
+ "minLength": 1,
1208
+ "description": "The key used for the level in emitted logs. Defaults to level."
1209
+ },
1190
1210
  "customLevels": {
1191
1211
  "type": "object",
1192
1212
  "additionalProperties": true