@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.
- package/.turbo/turbo-build.log +16 -49
- package/package.json +2 -2
- package/src/chat/index.ts +4 -1
- package/src/proposals/index.ts +4 -1
- package/src/relations/index.ts +4 -1
- package/src/templates/index.ts +4 -1
- package/src/workspaces/index.ts +4 -1
- package/tsconfig.json +3 -8
- package/tsup.config.ts +3 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,49 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
+
[34mCLI[39m Building entry: src/index.ts
|
|
7
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
|
+
[34mCLI[39m tsup v8.5.1
|
|
9
|
+
[34mCLI[39m Using tsup config: /Users/antoine/Documents/Code/synap/synap-backend/packages/types/tsup.config.ts
|
|
10
|
+
[34mCLI[39m Target: es2022
|
|
11
|
+
[34mCLI[39m Cleaning output folder
|
|
12
|
+
[34mESM[39m Build start
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m82.72 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 108ms
|
|
15
|
+
DTS Build start
|
|
16
|
+
[41m[30m ELIFECYCLE [39m[49m [31mCommand failed.[39m
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synap-core/types",
|
|
3
|
-
"version": "1.2.
|
|
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": "
|
|
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 {
|
|
25
|
+
export type {
|
|
26
|
+
ChatThread,
|
|
27
|
+
NewChatThread,
|
|
28
|
+
} from "../../../database/src/schema/index.js";
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* Chat message
|
package/src/proposals/index.ts
CHANGED
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Re-export database types for proposals
|
|
8
|
-
export type {
|
|
8
|
+
export type {
|
|
9
|
+
Proposal,
|
|
10
|
+
NewProposal,
|
|
11
|
+
} from "../../../database/src/schema/index.js";
|
|
9
12
|
|
|
10
13
|
export {
|
|
11
14
|
insertProposalSchema,
|
package/src/relations/index.ts
CHANGED
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
// Direct re-exports from database
|
|
10
|
-
export type {
|
|
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 =
|
package/src/templates/index.ts
CHANGED
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
// DATABASE RE-EXPORTS (Single Source of Truth)
|
|
10
10
|
// ============================================================================
|
|
11
11
|
|
|
12
|
-
export type {
|
|
12
|
+
export type {
|
|
13
|
+
EntityTemplate,
|
|
14
|
+
NewEntityTemplate,
|
|
15
|
+
} from "../../../database/src/schema/index.js";
|
|
13
16
|
|
|
14
17
|
export {
|
|
15
18
|
insertEntityTemplateSchema,
|
package/src/workspaces/index.ts
CHANGED
|
@@ -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 {
|
|
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
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",
|
|
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",
|
|
16
|
+
"src/proposals/index.ts",
|
|
17
17
|
],
|
|
18
18
|
format: ["esm"],
|
|
19
19
|
dts: {
|
|
20
|
-
resolve:
|
|
20
|
+
resolve: true,
|
|
21
21
|
},
|
|
22
22
|
clean: true,
|
|
23
23
|
external: ["yjs"],
|
|
24
|
-
noExternal: ["@synap/database"],
|
|
25
24
|
});
|