@onereach/types-contacts-api 5.50.0 → 7.0.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/AGENTS.md +29 -0
- package/package.json +2 -2
package/AGENTS.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated Types Package Guide
|
|
2
|
+
|
|
3
|
+
## Responsibility
|
|
4
|
+
|
|
5
|
+
Generate and build TypeScript types for Contacts API contracts.
|
|
6
|
+
|
|
7
|
+
## Local Rules
|
|
8
|
+
|
|
9
|
+
- Keep generated public types aligned with API contracts.
|
|
10
|
+
- Preserve strong typing; avoid `any`.
|
|
11
|
+
- Do not hand-edit generated output in `dist`.
|
|
12
|
+
- Keep generation scripts deterministic.
|
|
13
|
+
- Treat contract shape changes as cross-package changes that may require API, UI, and SDK test updates.
|
|
14
|
+
|
|
15
|
+
## Validation
|
|
16
|
+
|
|
17
|
+
- Regenerate and build types from the repo root with:
|
|
18
|
+
```bash
|
|
19
|
+
pnpm build:types
|
|
20
|
+
```
|
|
21
|
+
- If database version metadata changes, run:
|
|
22
|
+
```bash
|
|
23
|
+
pnpm types:db-versions
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Local Documentation
|
|
27
|
+
|
|
28
|
+
- Document contract-impacting changes in a focused feature doc under `AGENTS/features/`.
|
|
29
|
+
- If contract strategy changes, add an ADR.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/types-contacts-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Generated types for Contacts Api",
|
|
5
5
|
"author": "OneReach.ai",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "f1fb83a36a08b09b9fd81384b6a3b069fb06f64e"
|
|
29
29
|
}
|