@algolia/monitoring 1.0.0-alpha.3
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/builds/browser.d.ts +6 -0
- package/dist/builds/browser.d.ts.map +1 -0
- package/dist/builds/node.d.ts +6 -0
- package/dist/builds/node.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +121 -0
- package/dist/model/clientMethodProps.d.ts.map +1 -0
- package/dist/model/errorBase.d.ts +7 -0
- package/dist/model/errorBase.d.ts.map +1 -0
- package/dist/model/getInventory403Response.d.ts +4 -0
- package/dist/model/getInventory403Response.d.ts.map +1 -0
- package/dist/model/incident.d.ts +12 -0
- package/dist/model/incident.d.ts.map +1 -0
- package/dist/model/incidentsInner.d.ts +9 -0
- package/dist/model/incidentsInner.d.ts.map +1 -0
- package/dist/model/incidentsResponse.d.ts +5 -0
- package/dist/model/incidentsResponse.d.ts.map +1 -0
- package/dist/model/index.d.ts +24 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model/indexingTimeResponse.d.ts +5 -0
- package/dist/model/indexingTimeResponse.d.ts.map +1 -0
- package/dist/model/indexingTimeResponseMetrics.d.ts +5 -0
- package/dist/model/indexingTimeResponseMetrics.d.ts.map +1 -0
- package/dist/model/infrastructureResponse.d.ts +5 -0
- package/dist/model/infrastructureResponse.d.ts.map +1 -0
- package/dist/model/infrastructureResponseMetrics.d.ts +24 -0
- package/dist/model/infrastructureResponseMetrics.d.ts.map +1 -0
- package/dist/model/inventoryResponse.d.ts +5 -0
- package/dist/model/inventoryResponse.d.ts.map +1 -0
- package/dist/model/latencyResponse.d.ts +5 -0
- package/dist/model/latencyResponse.d.ts.map +1 -0
- package/dist/model/latencyResponseMetrics.d.ts +5 -0
- package/dist/model/latencyResponseMetrics.d.ts.map +1 -0
- package/dist/model/metric.d.ts +2 -0
- package/dist/model/metric.d.ts.map +1 -0
- package/dist/model/period.d.ts +2 -0
- package/dist/model/period.d.ts.map +1 -0
- package/dist/model/probesMetric.d.ts +11 -0
- package/dist/model/probesMetric.d.ts.map +1 -0
- package/dist/model/region.d.ts +5 -0
- package/dist/model/region.d.ts.map +1 -0
- package/dist/model/server.d.ts +25 -0
- package/dist/model/server.d.ts.map +1 -0
- package/dist/model/serverStatus.d.ts +2 -0
- package/dist/model/serverStatus.d.ts.map +1 -0
- package/dist/model/status.d.ts +5 -0
- package/dist/model/status.d.ts.map +1 -0
- package/dist/model/statusResponse.d.ts +5 -0
- package/dist/model/statusResponse.d.ts.map +1 -0
- package/dist/model/timeInner.d.ts +11 -0
- package/dist/model/timeInner.d.ts.map +1 -0
- package/dist/model/type.d.ts +2 -0
- package/dist/model/type.d.ts.map +1 -0
- package/dist/monitoring.cjs.js +416 -0
- package/dist/monitoring.esm.browser.js +1090 -0
- package/dist/monitoring.esm.node.js +413 -0
- package/dist/monitoring.umd.js +2 -0
- package/dist/src/monitoringClient.d.ts +154 -0
- package/dist/src/monitoringClient.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/model/clientMethodProps.ts +132 -0
- package/model/errorBase.ts +8 -0
- package/model/getInventory403Response.ts +5 -0
- package/model/incident.ts +15 -0
- package/model/incidentsInner.ts +12 -0
- package/model/incidentsResponse.ts +7 -0
- package/model/index.ts +25 -0
- package/model/indexingTimeResponse.ts +7 -0
- package/model/indexingTimeResponseMetrics.ts +7 -0
- package/model/infrastructureResponse.ts +7 -0
- package/model/infrastructureResponseMetrics.ts +30 -0
- package/model/inventoryResponse.ts +7 -0
- package/model/latencyResponse.ts +7 -0
- package/model/latencyResponseMetrics.ts +7 -0
- package/model/metric.ts +9 -0
- package/model/period.ts +3 -0
- package/model/probesMetric.ts +13 -0
- package/model/region.ts +21 -0
- package/model/server.ts +33 -0
- package/model/serverStatus.ts +3 -0
- package/model/status.ts +10 -0
- package/model/statusResponse.ts +7 -0
- package/model/timeInner.ts +13 -0
- package/model/type.ts +3 -0
- package/package.json +54 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { Metric } from './metric';
|
|
4
|
+
import type { Period } from './period';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Properties for the `del` method.
|
|
8
|
+
*/
|
|
9
|
+
export type DelProps = {
|
|
10
|
+
/**
|
|
11
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
12
|
+
*/
|
|
13
|
+
path: string;
|
|
14
|
+
/**
|
|
15
|
+
* Query parameters to apply to the current query.
|
|
16
|
+
*/
|
|
17
|
+
parameters?: Record<string, any>;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Properties for the `get` method.
|
|
22
|
+
*/
|
|
23
|
+
export type GetProps = {
|
|
24
|
+
/**
|
|
25
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
26
|
+
*/
|
|
27
|
+
path: string;
|
|
28
|
+
/**
|
|
29
|
+
* Query parameters to apply to the current query.
|
|
30
|
+
*/
|
|
31
|
+
parameters?: Record<string, any>;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Properties for the `getClusterIncidents` method.
|
|
36
|
+
*/
|
|
37
|
+
export type GetClusterIncidentsProps = {
|
|
38
|
+
/**
|
|
39
|
+
* Subset of clusters, separated by comma.
|
|
40
|
+
*/
|
|
41
|
+
clusters: string;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Properties for the `getClusterStatus` method.
|
|
46
|
+
*/
|
|
47
|
+
export type GetClusterStatusProps = {
|
|
48
|
+
/**
|
|
49
|
+
* Subset of clusters, separated by comma.
|
|
50
|
+
*/
|
|
51
|
+
clusters: string;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Properties for the `getIndexingTime` method.
|
|
56
|
+
*/
|
|
57
|
+
export type GetIndexingTimeProps = {
|
|
58
|
+
/**
|
|
59
|
+
* Subset of clusters, separated by comma.
|
|
60
|
+
*/
|
|
61
|
+
clusters: string;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Properties for the `getLatency` method.
|
|
66
|
+
*/
|
|
67
|
+
export type GetLatencyProps = {
|
|
68
|
+
/**
|
|
69
|
+
* Subset of clusters, separated by comma.
|
|
70
|
+
*/
|
|
71
|
+
clusters: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Properties for the `getMetrics` method.
|
|
76
|
+
*/
|
|
77
|
+
export type GetMetricsProps = {
|
|
78
|
+
/**
|
|
79
|
+
* Metric to report. For more information about the individual metrics, see the response. To include all metrics, use `*` as the parameter.
|
|
80
|
+
*/
|
|
81
|
+
metric: Metric;
|
|
82
|
+
/**
|
|
83
|
+
* Period over which to aggregate the metrics: - `minute`. Aggregate the last minute. 1 data point per 10 seconds. - `hour`. Aggregate the last hour. 1 data point per minute. - `day`. Aggregate the last day. 1 data point per 10 minutes. - `week`. Aggregate the last week. 1 data point per hour. - `month`. Aggregate the last month. 1 data point per day.
|
|
84
|
+
*/
|
|
85
|
+
period: Period;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Properties for the `getReachability` method.
|
|
90
|
+
*/
|
|
91
|
+
export type GetReachabilityProps = {
|
|
92
|
+
/**
|
|
93
|
+
* Subset of clusters, separated by comma.
|
|
94
|
+
*/
|
|
95
|
+
clusters: string;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Properties for the `post` method.
|
|
100
|
+
*/
|
|
101
|
+
export type PostProps = {
|
|
102
|
+
/**
|
|
103
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
104
|
+
*/
|
|
105
|
+
path: string;
|
|
106
|
+
/**
|
|
107
|
+
* Query parameters to apply to the current query.
|
|
108
|
+
*/
|
|
109
|
+
parameters?: Record<string, any>;
|
|
110
|
+
/**
|
|
111
|
+
* Parameters to send with the custom request.
|
|
112
|
+
*/
|
|
113
|
+
body?: Record<string, any>;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Properties for the `put` method.
|
|
118
|
+
*/
|
|
119
|
+
export type PutProps = {
|
|
120
|
+
/**
|
|
121
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
122
|
+
*/
|
|
123
|
+
path: string;
|
|
124
|
+
/**
|
|
125
|
+
* Query parameters to apply to the current query.
|
|
126
|
+
*/
|
|
127
|
+
parameters?: Record<string, any>;
|
|
128
|
+
/**
|
|
129
|
+
* Parameters to send with the custom request.
|
|
130
|
+
*/
|
|
131
|
+
body?: Record<string, any>;
|
|
132
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Error.
|
|
5
|
+
*/
|
|
6
|
+
export type ErrorBase = Record<string, any> & {
|
|
7
|
+
message?: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { Status } from './status';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Incident details.
|
|
7
|
+
*/
|
|
8
|
+
export type Incident = {
|
|
9
|
+
/**
|
|
10
|
+
* Description of the incident.
|
|
11
|
+
*/
|
|
12
|
+
title?: string;
|
|
13
|
+
|
|
14
|
+
status?: Status;
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { Incident } from './incident';
|
|
4
|
+
|
|
5
|
+
export type IncidentsInner = {
|
|
6
|
+
/**
|
|
7
|
+
* Timestamp in [Unix epoch time](https://wikipedia.org/wiki/Unix_time) in milliseconds.
|
|
8
|
+
*/
|
|
9
|
+
t?: number;
|
|
10
|
+
|
|
11
|
+
v?: Incident;
|
|
12
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { IncidentsInner } from './incidentsInner';
|
|
4
|
+
|
|
5
|
+
export type IncidentsResponse = {
|
|
6
|
+
incidents?: Record<string, IncidentsInner[]>;
|
|
7
|
+
};
|
package/model/index.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
export * from './errorBase';
|
|
4
|
+
export * from './getInventory403Response';
|
|
5
|
+
export * from './incident';
|
|
6
|
+
export * from './incidentsInner';
|
|
7
|
+
export * from './incidentsResponse';
|
|
8
|
+
export * from './indexingTimeResponse';
|
|
9
|
+
export * from './indexingTimeResponseMetrics';
|
|
10
|
+
export * from './infrastructureResponse';
|
|
11
|
+
export * from './infrastructureResponseMetrics';
|
|
12
|
+
export * from './inventoryResponse';
|
|
13
|
+
export * from './latencyResponse';
|
|
14
|
+
export * from './latencyResponseMetrics';
|
|
15
|
+
export * from './metric';
|
|
16
|
+
export * from './period';
|
|
17
|
+
export * from './probesMetric';
|
|
18
|
+
export * from './region';
|
|
19
|
+
export * from './server';
|
|
20
|
+
export * from './serverStatus';
|
|
21
|
+
export * from './status';
|
|
22
|
+
export * from './statusResponse';
|
|
23
|
+
export * from './timeInner';
|
|
24
|
+
export * from './type';
|
|
25
|
+
export * from './clientMethodProps';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { IndexingTimeResponseMetrics } from './indexingTimeResponseMetrics';
|
|
4
|
+
|
|
5
|
+
export type IndexingTimeResponse = {
|
|
6
|
+
metrics?: IndexingTimeResponseMetrics;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { TimeInner } from './timeInner';
|
|
4
|
+
|
|
5
|
+
export type IndexingTimeResponseMetrics = {
|
|
6
|
+
indexing?: Record<string, TimeInner[]>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { InfrastructureResponseMetrics } from './infrastructureResponseMetrics';
|
|
4
|
+
|
|
5
|
+
export type InfrastructureResponse = {
|
|
6
|
+
metrics?: InfrastructureResponseMetrics;
|
|
7
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { ProbesMetric } from './probesMetric';
|
|
4
|
+
|
|
5
|
+
export type InfrastructureResponseMetrics = {
|
|
6
|
+
/**
|
|
7
|
+
* CPU idleness in %.
|
|
8
|
+
*/
|
|
9
|
+
cpu_usage?: Record<string, ProbesMetric[]>;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* RAM used for indexing in MB.
|
|
13
|
+
*/
|
|
14
|
+
ram_indexing_usage?: Record<string, ProbesMetric[]>;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* RAM used for search in MB.
|
|
18
|
+
*/
|
|
19
|
+
ram_search_usage?: Record<string, ProbesMetric[]>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Solid-state disk (SSD) usage expressed as % of RAM. 0% means no SSD usage. A value of 50% indicates 32 GB SSD usage for a machine with 64 RAM.
|
|
23
|
+
*/
|
|
24
|
+
ssd_usage?: Record<string, ProbesMetric[]>;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Average build time of the indices in seconds.
|
|
28
|
+
*/
|
|
29
|
+
avg_build_time?: Record<string, ProbesMetric[]>;
|
|
30
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { Server } from './server';
|
|
4
|
+
|
|
5
|
+
export type InventoryResponse = {
|
|
6
|
+
inventory?: Server[];
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { LatencyResponseMetrics } from './latencyResponseMetrics';
|
|
4
|
+
|
|
5
|
+
export type LatencyResponse = {
|
|
6
|
+
metrics?: LatencyResponseMetrics;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { TimeInner } from './timeInner';
|
|
4
|
+
|
|
5
|
+
export type LatencyResponseMetrics = {
|
|
6
|
+
latency?: Record<string, TimeInner[]>;
|
|
7
|
+
};
|
package/model/metric.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
export type Metric =
|
|
4
|
+
| '*'
|
|
5
|
+
| 'avg_build_time'
|
|
6
|
+
| 'cpu_usage'
|
|
7
|
+
| 'ram_indexing_usage'
|
|
8
|
+
| 'ram_search_usage'
|
|
9
|
+
| 'ssd_usage';
|
package/model/period.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
export type ProbesMetric = {
|
|
4
|
+
/**
|
|
5
|
+
* Timestamp in [Unix epoch time](https://wikipedia.org/wiki/Unix_time) in milliseconds.
|
|
6
|
+
*/
|
|
7
|
+
t?: number;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Value of the metric.
|
|
11
|
+
*/
|
|
12
|
+
v?: number;
|
|
13
|
+
};
|
package/model/region.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The region where the cluster is located.
|
|
5
|
+
*/
|
|
6
|
+
export type Region =
|
|
7
|
+
| 'au'
|
|
8
|
+
| 'br'
|
|
9
|
+
| 'ca'
|
|
10
|
+
| 'de'
|
|
11
|
+
| 'eu'
|
|
12
|
+
| 'hk'
|
|
13
|
+
| 'in'
|
|
14
|
+
| 'jp'
|
|
15
|
+
| 'sg'
|
|
16
|
+
| 'uae'
|
|
17
|
+
| 'uk'
|
|
18
|
+
| 'usc'
|
|
19
|
+
| 'use'
|
|
20
|
+
| 'usw'
|
|
21
|
+
| 'za';
|
package/model/server.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { Region } from './region';
|
|
4
|
+
import type { ServerStatus } from './serverStatus';
|
|
5
|
+
import type { Type } from './type';
|
|
6
|
+
|
|
7
|
+
export type Server = {
|
|
8
|
+
/**
|
|
9
|
+
* Server name.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
|
|
13
|
+
region?: Region;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Included to support legacy applications. Do not rely on this attribute being present in the response. Use `is_replica` instead.
|
|
17
|
+
*/
|
|
18
|
+
is_slave?: boolean;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Indicates whether this server is a replica of another server.
|
|
22
|
+
*/
|
|
23
|
+
is_replica?: boolean;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Name of the cluster to which this server belongs.
|
|
27
|
+
*/
|
|
28
|
+
cluster?: string;
|
|
29
|
+
|
|
30
|
+
status?: ServerStatus;
|
|
31
|
+
|
|
32
|
+
type?: Type;
|
|
33
|
+
};
|
package/model/status.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Status of the cluster.
|
|
5
|
+
*/
|
|
6
|
+
export type Status =
|
|
7
|
+
| 'degraded_performance'
|
|
8
|
+
| 'major_outage'
|
|
9
|
+
| 'operational'
|
|
10
|
+
| 'partial_outage';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { Status } from './status';
|
|
4
|
+
|
|
5
|
+
export type StatusResponse = {
|
|
6
|
+
status?: Record<string, Status>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
export type TimeInner = {
|
|
4
|
+
/**
|
|
5
|
+
* Timestamp in [Unix epoch time](https://wikipedia.org/wiki/Unix_time) in milliseconds.
|
|
6
|
+
*/
|
|
7
|
+
t?: number;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Time in ms.
|
|
11
|
+
*/
|
|
12
|
+
v?: number;
|
|
13
|
+
};
|
package/model/type.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@algolia/monitoring",
|
|
3
|
+
"version": "1.0.0-alpha.3",
|
|
4
|
+
"description": "JavaScript client for monitoring",
|
|
5
|
+
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Algolia",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"node": {
|
|
12
|
+
"import": "./dist/monitoring.esm.node.js",
|
|
13
|
+
"module": "./dist/monitoring.esm.node.js",
|
|
14
|
+
"require": "./dist/monitoring.cjs.js",
|
|
15
|
+
"default": "./dist/monitoring.cjs.js"
|
|
16
|
+
},
|
|
17
|
+
"default": {
|
|
18
|
+
"umd": "./dist/monitoring.umd.js",
|
|
19
|
+
"module": "./dist/monitoring.esm.browser.js",
|
|
20
|
+
"import": "./dist/monitoring.esm.browser.js",
|
|
21
|
+
"default": "./dist/monitoring.umd.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"./src/*": "./src/*.ts",
|
|
25
|
+
"./model": "./model/index.ts"
|
|
26
|
+
},
|
|
27
|
+
"jsdelivr": "./dist/monitoring.umd.js",
|
|
28
|
+
"unpkg": "./dist/monitoring.umd.js",
|
|
29
|
+
"browser": "./dist/monitoring.umd.js",
|
|
30
|
+
"types": "./index.d.ts",
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"model",
|
|
34
|
+
"index.js",
|
|
35
|
+
"index.d.ts"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "yarn clean && rollup --config",
|
|
39
|
+
"clean": "rm -rf ./dist || true"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@algolia/client-common": "5.0.0-alpha.75",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.75",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.75"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/node": "18.17.0",
|
|
48
|
+
"rollup": "3.26.3",
|
|
49
|
+
"typescript": "5.1.6"
|
|
50
|
+
},
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">= 14.0.0"
|
|
53
|
+
}
|
|
54
|
+
}
|