@geekmidas/client 10.0.0-alpha.47 → 10.0.0-alpha.49

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 CHANGED
@@ -400,7 +400,8 @@ const api = Object.assign(fetcher, hooks);
400
400
  ## OpenAPI Code Generation
401
401
 
402
402
  Each surface's typed client is written by `gkm build` (and kept current by
403
- `gkm dev`) to `.gkm/openapi/<surface>.ts`: its `createApi()` returns a typed
403
+ `gkm dev`) to the workspace root's `.gkm/client/<surface>.ts`, imported as
404
+ `@<name>/client/<surface>`: its `createApi()` returns a typed
404
405
  fetcher with React Query hooks, built from the endpoints themselves rather
405
406
  than from a spec file.
406
407
 
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * A hand-written `paths` fixture in openapi-typescript's shape, for the
4
4
  * client's own tests. Applications get theirs from `gkm build`, which writes
5
- * a typed client per surface to `.gkm/openapi/<surface>.ts`.
5
+ * a typed client per surface to the workspace root's `.gkm/client/<surface>.ts`.
6
6
  *
7
7
  * This is a placeholder file showing the expected structure.
8
8
  */
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * A hand-written `paths` fixture in openapi-typescript's shape, for the
4
4
  * client's own tests. Applications get theirs from `gkm build`, which writes
5
- * a typed client per surface to `.gkm/openapi/<surface>.ts`.
5
+ * a typed client per surface to the workspace root's `.gkm/client/<surface>.ts`.
6
6
  *
7
7
  * This is a placeholder file showing the expected structure.
8
8
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/client",
3
- "version": "10.0.0-alpha.47",
3
+ "version": "10.0.0-alpha.49",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -111,16 +111,16 @@
111
111
  "@types/react-dom": "~19.3.0",
112
112
  "jsdom": "~26.1.0",
113
113
  "msw": "~2.15.0",
114
- "@geekmidas/constructs": "^10.0.0-alpha.47",
115
- "@geekmidas/schema": "^10.0.0-alpha.47"
114
+ "@geekmidas/constructs": "^10.0.0-alpha.49",
115
+ "@geekmidas/schema": "^10.0.0-alpha.49"
116
116
  },
117
117
  "peerDependencies": {
118
118
  "@tanstack/react-query": ">=5.0.0",
119
119
  "react": ">=18.0.0",
120
120
  "react-dom": ">=18.0.0",
121
121
  "zod": ">=4.6.5",
122
- "@geekmidas/constructs": "^10.0.0-alpha.47",
123
- "@geekmidas/schema": "^10.0.0-alpha.47"
122
+ "@geekmidas/constructs": "^10.0.0-alpha.49",
123
+ "@geekmidas/schema": "^10.0.0-alpha.49"
124
124
  },
125
125
  "peerDependenciesMeta": {
126
126
  "@geekmidas/constructs": {