@platformatic/react-router 3.73.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.
- package/config.d.ts +16 -0
- package/package.json +7 -7
- package/schema.json +21 -1
package/config.d.ts
CHANGED
|
@@ -54,6 +54,14 @@ export interface PlatformaticReactRouterConfig {
|
|
|
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 PlatformaticReactRouterConfig {
|
|
|
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/react-router",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.74.0",
|
|
4
4
|
"description": "Platformatic React Router Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"homepage": "https://github.com/platformatic/platformatic#readme",
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@fastify/static": "^10.0.0",
|
|
19
|
-
"@platformatic/basic": "3.
|
|
20
|
-
"@platformatic/foundation": "3.
|
|
21
|
-
"@platformatic/globals": "3.
|
|
22
|
-
"@platformatic/vite": "3.
|
|
19
|
+
"@platformatic/basic": "3.74.0",
|
|
20
|
+
"@platformatic/foundation": "3.74.0",
|
|
21
|
+
"@platformatic/globals": "3.74.0",
|
|
22
|
+
"@platformatic/vite": "3.74.0",
|
|
23
23
|
"fastify": "^5.0.0",
|
|
24
24
|
"semver": "^7.6.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@platformatic/gateway": "3.
|
|
28
|
-
"@platformatic/service": "3.
|
|
27
|
+
"@platformatic/gateway": "3.74.0",
|
|
28
|
+
"@platformatic/service": "3.74.0",
|
|
29
29
|
"@react-router/dev": "^7.10.0",
|
|
30
30
|
"@react-router/node": "^7.10.0",
|
|
31
31
|
"@types/react": "^19.1.11",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.74.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic React Router 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
|