@produce8/analytics-openapi-types 1.0.0-dev.20251124235928 → 1.0.0-dev.20251125003449
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/README.md +44 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# @produce8/analytics-openapi-types
|
|
2
|
+
|
|
3
|
+
TypeScript types generated from the Analytics Service OpenAPI specification.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @produce8/analytics-openapi-types
|
|
9
|
+
# or
|
|
10
|
+
yarn add @produce8/analytics-openapi-types
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type {
|
|
17
|
+
paths,
|
|
18
|
+
operations,
|
|
19
|
+
components,
|
|
20
|
+
} from '@produce8/analytics-openapi-types';
|
|
21
|
+
|
|
22
|
+
// Use the types in your code
|
|
23
|
+
const healthCheck: operations['HealthController_healthCheck'] = {
|
|
24
|
+
// ...
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Environment Tags
|
|
29
|
+
|
|
30
|
+
This package is published with different dist-tags based on the environment:
|
|
31
|
+
|
|
32
|
+
- `dev` - Development environment (from `dev` branch)
|
|
33
|
+
- `latest` - Production environment (from `main` branch)
|
|
34
|
+
|
|
35
|
+
To install a specific environment version:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm install @produce8/analytics-openapi-types@dev
|
|
39
|
+
npm install @produce8/analytics-openapi-types@latest
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Auto-Generated
|
|
43
|
+
|
|
44
|
+
This package is automatically generated and published from the Analytics Service OpenAPI specification. Do not manually edit the types file.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@produce8/analytics-openapi-types",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.20251125003449",
|
|
4
4
|
"description": "TypeScript types generated from Analytics Service OpenAPI specification",
|
|
5
5
|
"main": "openapi-types.ts",
|
|
6
6
|
"types": "openapi-types.ts",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
|
-
"openapi-types.ts"
|
|
13
|
+
"openapi-types.ts",
|
|
14
|
+
"README.md"
|
|
14
15
|
]
|
|
15
16
|
}
|