@platformatic/tanstack 3.75.0 → 3.75.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/config.d.ts +37 -0
- package/package.json +8 -8
- package/schema.json +85 -1
package/config.d.ts
CHANGED
|
@@ -870,6 +870,32 @@ export interface PlatformaticTanStackConfig {
|
|
|
870
870
|
* Enable the OpenTelemetry diagnostic logger. Diagnostic messages are forwarded to the Platformatic global logger using the current logger level.
|
|
871
871
|
*/
|
|
872
872
|
diagLogger?: boolean | string;
|
|
873
|
+
/**
|
|
874
|
+
* How much to trace. Omitted, everything is recorded. Either a type out of the set OpenTelemetry defines for OTEL_TRACES_SAMPLER, or a package exporting a sampler.
|
|
875
|
+
*/
|
|
876
|
+
sampler?:
|
|
877
|
+
| {
|
|
878
|
+
type:
|
|
879
|
+
| "always_on"
|
|
880
|
+
| "always_off"
|
|
881
|
+
| "traceidratio"
|
|
882
|
+
| "parentbased_always_on"
|
|
883
|
+
| "parentbased_always_off"
|
|
884
|
+
| "parentbased_traceidratio";
|
|
885
|
+
/**
|
|
886
|
+
* Options for the sampler, for instance { "ratio": 0.1 } for the ratio based ones.
|
|
887
|
+
*/
|
|
888
|
+
options?: {
|
|
889
|
+
[k: string]: unknown;
|
|
890
|
+
};
|
|
891
|
+
}
|
|
892
|
+
| {
|
|
893
|
+
package: string;
|
|
894
|
+
exportName?: string;
|
|
895
|
+
options?: {
|
|
896
|
+
[k: string]: unknown;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
873
899
|
};
|
|
874
900
|
verticalScaler?: {
|
|
875
901
|
enabled?: boolean;
|
|
@@ -1054,5 +1080,16 @@ export interface PlatformaticTanStackConfig {
|
|
|
1054
1080
|
contentType?: string;
|
|
1055
1081
|
statusCode?: number;
|
|
1056
1082
|
};
|
|
1083
|
+
preCompressed?:
|
|
1084
|
+
| boolean
|
|
1085
|
+
| string
|
|
1086
|
+
| {
|
|
1087
|
+
enabled?:
|
|
1088
|
+
| boolean
|
|
1089
|
+
| string
|
|
1090
|
+
| {
|
|
1091
|
+
[k: string]: boolean;
|
|
1092
|
+
};
|
|
1093
|
+
};
|
|
1057
1094
|
};
|
|
1058
1095
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/tanstack",
|
|
3
|
-
"version": "3.75.
|
|
3
|
+
"version": "3.75.1",
|
|
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.75.
|
|
19
|
-
"@platformatic/foundation": "3.75.
|
|
20
|
-
"@platformatic/globals": "3.75.
|
|
21
|
-
"@platformatic/vite": "3.75.
|
|
18
|
+
"@platformatic/basic": "3.75.1",
|
|
19
|
+
"@platformatic/foundation": "3.75.1",
|
|
20
|
+
"@platformatic/globals": "3.75.1",
|
|
21
|
+
"@platformatic/vite": "3.75.1",
|
|
22
22
|
"semver": "^7.6.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@platformatic/gateway": "3.75.
|
|
26
|
-
"@platformatic/service": "3.75.
|
|
25
|
+
"@platformatic/gateway": "3.75.1",
|
|
26
|
+
"@platformatic/service": "3.75.1",
|
|
27
27
|
"@tanstack/react-router": "^1.139.7",
|
|
28
28
|
"@tanstack/react-start": "^1.139.8",
|
|
29
29
|
"@vitejs/plugin-react": "^6.0.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"typescript": "~6.0.3",
|
|
40
40
|
"vite": "^8.2.2",
|
|
41
41
|
"vite-plugin-solid": "^2.11.10",
|
|
42
|
-
"vite-tsconfig-paths": "^
|
|
42
|
+
"vite-tsconfig-paths": "^6.0.0",
|
|
43
43
|
"ws": "^8.18.0"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/tanstack/3.75.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/tanstack/3.75.1.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic TanStack Config",
|
|
5
5
|
"type": "object",
|
|
@@ -2600,6 +2600,56 @@
|
|
|
2600
2600
|
}
|
|
2601
2601
|
],
|
|
2602
2602
|
"description": "Enable the OpenTelemetry diagnostic logger. Diagnostic messages are forwarded to the Platformatic global logger using the current logger level."
|
|
2603
|
+
},
|
|
2604
|
+
"sampler": {
|
|
2605
|
+
"description": "How much to trace. Omitted, everything is recorded. Either a type out of the set OpenTelemetry defines for OTEL_TRACES_SAMPLER, or a package exporting a sampler.",
|
|
2606
|
+
"anyOf": [
|
|
2607
|
+
{
|
|
2608
|
+
"type": "object",
|
|
2609
|
+
"properties": {
|
|
2610
|
+
"type": {
|
|
2611
|
+
"type": "string",
|
|
2612
|
+
"enum": [
|
|
2613
|
+
"always_on",
|
|
2614
|
+
"always_off",
|
|
2615
|
+
"traceidratio",
|
|
2616
|
+
"parentbased_always_on",
|
|
2617
|
+
"parentbased_always_off",
|
|
2618
|
+
"parentbased_traceidratio"
|
|
2619
|
+
]
|
|
2620
|
+
},
|
|
2621
|
+
"options": {
|
|
2622
|
+
"type": "object",
|
|
2623
|
+
"description": "Options for the sampler, for instance { \"ratio\": 0.1 } for the ratio based ones.",
|
|
2624
|
+
"additionalProperties": true
|
|
2625
|
+
}
|
|
2626
|
+
},
|
|
2627
|
+
"required": [
|
|
2628
|
+
"type"
|
|
2629
|
+
],
|
|
2630
|
+
"additionalProperties": false
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"type": "object",
|
|
2634
|
+
"description": "A module exporting a sampler, or a factory which receives the options and returns one. A relative path is resolved against the application directory.",
|
|
2635
|
+
"properties": {
|
|
2636
|
+
"package": {
|
|
2637
|
+
"type": "string"
|
|
2638
|
+
},
|
|
2639
|
+
"exportName": {
|
|
2640
|
+
"type": "string"
|
|
2641
|
+
},
|
|
2642
|
+
"options": {
|
|
2643
|
+
"type": "object",
|
|
2644
|
+
"additionalProperties": true
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
"required": [
|
|
2648
|
+
"package"
|
|
2649
|
+
],
|
|
2650
|
+
"additionalProperties": false
|
|
2651
|
+
}
|
|
2652
|
+
]
|
|
2603
2653
|
}
|
|
2604
2654
|
},
|
|
2605
2655
|
"required": [
|
|
@@ -3301,6 +3351,40 @@
|
|
|
3301
3351
|
}
|
|
3302
3352
|
],
|
|
3303
3353
|
"default": false
|
|
3354
|
+
},
|
|
3355
|
+
"preCompressed": {
|
|
3356
|
+
"anyOf": [
|
|
3357
|
+
{
|
|
3358
|
+
"type": "boolean"
|
|
3359
|
+
},
|
|
3360
|
+
{
|
|
3361
|
+
"type": "string"
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"type": "object",
|
|
3365
|
+
"properties": {
|
|
3366
|
+
"enabled": {
|
|
3367
|
+
"anyOf": [
|
|
3368
|
+
{
|
|
3369
|
+
"type": "boolean"
|
|
3370
|
+
},
|
|
3371
|
+
{
|
|
3372
|
+
"type": "string"
|
|
3373
|
+
},
|
|
3374
|
+
{
|
|
3375
|
+
"type": "object",
|
|
3376
|
+
"additionalProperties": {
|
|
3377
|
+
"type": "boolean"
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
],
|
|
3381
|
+
"default": true
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
"additionalProperties": false
|
|
3385
|
+
}
|
|
3386
|
+
],
|
|
3387
|
+
"default": false
|
|
3304
3388
|
}
|
|
3305
3389
|
},
|
|
3306
3390
|
"default": {},
|