@synap-core/api-types 1.0.11 → 1.0.12

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +15 -1
  2. package/package.json +5 -10
package/dist/index.d.ts CHANGED
@@ -1 +1,15 @@
1
- export { AppRouter } from '@synap/api';
1
+ /**
2
+ * @synap/api-types
3
+ *
4
+ * Type-only exports for Synap API Router.
5
+ * Frontend-safe package with no server dependencies.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * import type { AppRouter } from '@synap/api-types';
10
+ *
11
+ * const trpc = createTRPCReact<AppRouter>();
12
+ * ```
13
+ */
14
+ export type { AppRouter } from "@synap/api";
15
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synap-core/api-types",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Type definitions for Synap API Router - tRPC types for frontend",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,21 +17,16 @@
17
17
  "src"
18
18
  ],
19
19
  "scripts": {
20
- "build": "tsup",
20
+ "build": "tsc",
21
21
  "typecheck": "tsc --noEmit"
22
22
  },
23
23
  "dependencies": {
24
- "@synap-core/types": "workspace:*"
24
+ "@synap-core/types": "workspace:*",
25
+ "@synap/api": "workspace:*"
25
26
  },
26
27
  "devDependencies": {
27
- "@synap/api": "workspace:*",
28
28
  "@trpc/server": "^11.8.1",
29
- "drizzle-orm": "^0.45.1",
30
- "dts-bundle-generator": "^9.5.1",
31
- "postgres": "^3.4.8",
32
- "tsup": "^8.0.0",
33
- "typescript": "^5.3.3",
34
- "zod": "3.23.8"
29
+ "typescript": "^5.3.3"
35
30
  },
36
31
  "publishConfig": {
37
32
  "access": "public"