@theholocron/axiom-client 1.58.0-alpha.23 → 1.58.0-alpha.24
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/dist/index.d.mts +7 -0
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -21,6 +21,13 @@ interface AxiomDataset {
|
|
|
21
21
|
name: string;
|
|
22
22
|
/** The dataset description, if it has one. */
|
|
23
23
|
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* How many days Axiom keeps data in the dataset (`retentionDays` of `GET /v2/datasets/{id}`). One value for the whole
|
|
26
|
+
* dataset, so every environment in it shares it. Absent when the API does not return it.
|
|
27
|
+
*/
|
|
28
|
+
retentionDays?: number;
|
|
29
|
+
/** Whether the retention period applies (`useRetentionPeriod`); `false` means data is not aged out by `retentionDays`. */
|
|
30
|
+
useRetentionPeriod?: boolean;
|
|
24
31
|
}
|
|
25
32
|
/** What to create a dataset with. */
|
|
26
33
|
interface CreateAxiomDatasetInput {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/axiom-client",
|
|
3
|
-
"version": "1.58.0-alpha.
|
|
3
|
+
"version": "1.58.0-alpha.24",
|
|
4
4
|
"description": "A TypeScript client for the Axiom API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"axiom",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@theholocron/http-client": "^1.58.0-alpha.
|
|
36
|
-
"@theholocron/observability": "^0.7.0-alpha.
|
|
35
|
+
"@theholocron/http-client": "^1.58.0-alpha.24",
|
|
36
|
+
"@theholocron/observability": "^0.7.0-alpha.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^26",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
47
|
"vitest": "^5.1.0",
|
|
48
48
|
"@theholocron/tsconfig": "^8.9.0-alpha.13",
|
|
49
|
-
"@theholocron/eslint-config": "^8.9.0-alpha.13",
|
|
50
49
|
"@theholocron/vitest-config": "^8.9.0-alpha.13",
|
|
50
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.13",
|
|
51
51
|
"@theholocron/tsdown-config": "^8.9.0-alpha.13"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|