@synap-core/types 1.2.18 → 1.2.21

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.
@@ -1,49 +1,16 @@
1
-
2
- > @synap-core/types@1.2.6 build /Users/antoine/Documents/Code/synap/synap-backend/packages/types
3
- > tsup
4
-
5
- CLI Building entry: src/index.ts, src/documents/index.ts, src/entities/index.ts, src/events/index.ts, src/inbox/index.ts, src/preferences/index.ts, src/proposals/index.ts, src/realtime/index.ts, src/relations/index.ts, src/users/index.ts, src/views/index.ts, src/workspaces/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.1
8
- CLI Using tsup config: /Users/antoine/Documents/Code/synap/synap-backend/packages/types/tsup.config.ts
9
- CLI Target: es2022
10
- CLI Cleaning output folder
11
- ESM Build start
12
- ESM dist/chunk-2N5ZC5EB.js 0 B
13
- ESM dist/chunk-QAWJ6GM3.js 0 B
14
- ESM dist/chunk-IZA3UKBT.js 0 B
15
- ESM dist/chunk-GX24H4PF.js 0 B
16
- ESM dist/users/index.js 31.00 B
17
- ESM dist/relations/index.js 31.00 B
18
- ESM dist/chunk-X5L3VJJZ.js 0 B
19
- ESM dist/views/index.js 642.00 B
20
- ESM dist/workspaces/index.js 31.00 B
21
- ESM dist/index.js 19.07 KB
22
- ESM dist/chunk-E4TRCFI3.js 3.94 KB
23
- ESM dist/documents/index.js 298.00 B
24
- ESM dist/chunk-ES7GZ7IQ.js 327.00 B
25
- ESM dist/chunk-HFVZISQ7.js 4.14 KB
26
- ESM dist/events/index.js 405.00 B
27
- ESM dist/entities/index.js 372.00 B
28
- ESM dist/inbox/index.js 31.00 B
29
- ESM dist/chunk-MUAPS3OD.js 2.45 KB
30
- ESM dist/proposals/index.js 146.00 B
31
- ESM dist/realtime/index.js 31.00 B
32
- ESM dist/preferences/index.js 374.00 B
33
- ESM dist/chunk-II4ANI46.js 175.00 B
34
- ESM ⚡️ Build success in 74ms
35
- DTS Build start
36
- DTS ⚡️ Build success in 15351ms
37
- DTS dist/documents/index.d.ts 224.00 B
38
- DTS dist/events/index.d.ts 4.12 KB
39
- DTS dist/proposals/index.d.ts 1.23 KB
40
- DTS dist/realtime/index.d.ts 1.54 KB
41
- DTS dist/relations/index.d.ts 896.00 B
42
- DTS dist/workspaces/index.d.ts 882.00 B
43
- DTS dist/preferences/index.d.ts 20.10 KB
44
- DTS dist/views/index.d.ts 60.75 KB
45
- DTS dist/index.d.ts 233.26 KB
46
- DTS dist/entities/index.d.ts 1.20 KB
47
- DTS dist/users/index.d.ts 195.00 B
48
- DTS dist/inbox/index.d.ts 13.00 B
49
- DTS dist/types-O93mCz6a.d.ts 31.09 KB
1
+
2
+ 
3
+ > @synap-core/types@1.2.20 build /Users/antoine/Documents/Code/synap/synap-backend/packages/types
4
+ > tsup
5
+
6
+ CLI Building entry: src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.1
9
+ CLI Using tsup config: /Users/antoine/Documents/Code/synap/synap-backend/packages/types/tsup.config.ts
10
+ CLI Target: es2022
11
+ CLI Cleaning output folder
12
+ ESM Build start
13
+ ESM dist/index.js 82.72 KB
14
+ ESM ⚡️ Build success in 108ms
15
+ DTS Build start
16
+  ELIFECYCLE  Command failed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synap-core/types",
3
- "version": "1.2.18",
3
+ "version": "1.2.21",
4
4
  "description": "Shared TypeScript types and Zod schemas for the Synap platform",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -77,7 +77,7 @@
77
77
  "drizzle-orm": "^0.45.1",
78
78
  "drizzle-zod": "0.8.3",
79
79
  "yjs": "^13.6.11",
80
- "zod": "^4.0.0"
80
+ "zod": "3.23.8"
81
81
  },
82
82
  "peerDependencies": {},
83
83
  "devDependencies": {
package/src/chat/index.ts CHANGED
@@ -22,7 +22,10 @@ import type {
22
22
  *
23
23
  * Generated from database schema - DO NOT manually define
24
24
  */
25
- export type { ChatThread, NewChatThread } from "../../../database/src/schema/index.js";
25
+ export type {
26
+ ChatThread,
27
+ NewChatThread,
28
+ } from "../../../database/src/schema/index.js";
26
29
 
27
30
  /**
28
31
  * Chat message
@@ -5,7 +5,10 @@
5
5
  */
6
6
 
7
7
  // Re-export database types for proposals
8
- export type { Proposal, NewProposal } from "../../../database/src/schema/index.js";
8
+ export type {
9
+ Proposal,
10
+ NewProposal,
11
+ } from "../../../database/src/schema/index.js";
9
12
 
10
13
  export {
11
14
  insertProposalSchema,
@@ -7,7 +7,10 @@
7
7
  */
8
8
 
9
9
  // Direct re-exports from database
10
- export type { Relation, NewRelation } from "../../../database/src/schema/index.js";
10
+ export type {
11
+ Relation,
12
+ NewRelation,
13
+ } from "../../../database/src/schema/index.js";
11
14
 
12
15
  // Relation type definitions
13
16
  export type RelationType =
@@ -9,7 +9,10 @@
9
9
  // DATABASE RE-EXPORTS (Single Source of Truth)
10
10
  // ============================================================================
11
11
 
12
- export type { EntityTemplate, NewEntityTemplate } from "../../../database/src/schema/index.js";
12
+ export type {
13
+ EntityTemplate,
14
+ NewEntityTemplate,
15
+ } from "../../../database/src/schema/index.js";
13
16
 
14
17
  export {
15
18
  insertEntityTemplateSchema,
@@ -17,7 +17,10 @@ export type {
17
17
  } from "../../../database/src/schema/index.js";
18
18
 
19
19
  // Derived types for API convenience
20
- import type { Workspace, WorkspaceMember } from "../../../database/src/schema/index.js";
20
+ import type {
21
+ Workspace,
22
+ WorkspaceMember,
23
+ } from "../../../database/src/schema/index.js";
21
24
 
22
25
  export type WorkspaceType = Workspace["type"];
23
26
  export type WorkspaceRole = WorkspaceMember["role"];
package/tsconfig.json CHANGED
@@ -6,11 +6,6 @@
6
6
  "declarationMap": true,
7
7
  "composite": false
8
8
  },
9
- "include": [
10
- "src"
11
- ],
12
- "exclude": [
13
- "node_modules",
14
- "dist"
15
- ]
16
- }
9
+ "include": ["src"],
10
+ "exclude": ["node_modules", "dist"]
11
+ }
package/tsup.config.ts CHANGED
@@ -9,17 +9,16 @@ export default defineConfig({
9
9
  "src/inbox/index.ts",
10
10
  "src/workspaces/index.ts",
11
11
  "src/views/index.ts",
12
- "src/relations/index.ts", // NEW: Knowledge graph edges
12
+ "src/relations/index.ts",
13
13
  "src/preferences/index.ts",
14
14
  "src/realtime/index.ts",
15
15
  "src/events/index.ts",
16
- "src/proposals/index.ts", // NEW: Universal Proposals
16
+ "src/proposals/index.ts",
17
17
  ],
18
18
  format: ["esm"],
19
19
  dts: {
20
- resolve: ["@synap/database"],
20
+ resolve: true,
21
21
  },
22
22
  clean: true,
23
23
  external: ["yjs"],
24
- noExternal: ["@synap/database"],
25
24
  });