@synap-core/types 1.2.3 → 1.2.4

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,9 +1,9 @@
1
1
 
2
2
  
3
- > @synap-core/types@1.2.2 build /Users/antoine/Documents/Code/synap/synap-backend/packages/types
3
+ > @synap-core/types@1.2.3 build /Users/antoine/Documents/Code/synap/synap-backend/packages/types
4
4
  > tsup
5
5
 
6
- 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/realtime/index.ts, src/relations/index.ts, src/users/index.ts, src/workspaces/index.ts, src/views/index.ts
6
+ 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
7
7
  CLI Using tsconfig: tsconfig.json
8
8
  CLI tsup v8.5.1
9
9
  CLI Using tsup config: /Users/antoine/Documents/Code/synap/synap-backend/packages/types/tsup.config.ts
@@ -12,35 +12,38 @@
12
12
  ESM Build start
13
13
  ESM dist/chunk-2N5ZC5EB.js 0 B
14
14
  ESM dist/chunk-IZA3UKBT.js 0 B
15
- ESM dist/chunk-GX24H4PF.js 0 B
15
+ ESM dist/chunk-QAWJ6GM3.js 0 B
16
16
  ESM dist/chunk-X5L3VJJZ.js 0 B
17
- ESM dist/workspaces/index.js 31.00 B
18
17
  ESM dist/users/index.js 31.00 B
19
- ESM dist/index.js 19.08 KB
20
- ESM dist/chunk-QAWJ6GM3.js 0 B
18
+ ESM dist/chunk-GX24H4PF.js 0 B
21
19
  ESM dist/views/index.js 642.00 B
20
+ ESM dist/workspaces/index.js 31.00 B
22
21
  ESM dist/chunk-5MS6TR4O.js 3.86 KB
23
- ESM dist/documents/index.js 522.00 B
24
- ESM dist/entities/index.js 372.00 B
22
+ ESM dist/index.js 19.02 KB
25
23
  ESM dist/events/index.js 405.00 B
26
- ESM dist/chunk-E57ULMXU.js 4.07 KB
27
- ESM dist/realtime/index.js 31.00 B
28
- ESM dist/relations/index.js 31.00 B
24
+ ESM dist/documents/index.js 332.00 B
29
25
  ESM dist/inbox/index.js 31.00 B
30
- ESM dist/chunk-75HLKBPD.js 2.44 KB
31
26
  ESM dist/preferences/index.js 374.00 B
32
- ESM dist/chunk-WXJ4PQR7.js 551.00 B
33
- ESM ⚡️ Build success in 683ms
27
+ ESM dist/proposals/index.js 146.00 B
28
+ ESM dist/entities/index.js 372.00 B
29
+ ESM dist/relations/index.js 31.00 B
30
+ ESM dist/realtime/index.js 31.00 B
31
+ ESM dist/chunk-75HLKBPD.js 2.44 KB
32
+ ESM dist/chunk-E57ULMXU.js 4.07 KB
33
+ ESM dist/chunk-3FSI6SVS.js 361.00 B
34
+ ESM dist/chunk-II4ANI46.js 175.00 B
35
+ ESM ⚡️ Build success in 19ms
34
36
  DTS Build start
35
- DTS ⚡️ Build success in 21537ms
36
- DTS dist/documents/index.d.ts 397.00 B
37
+ DTS ⚡️ Build success in 5827ms
38
+ DTS dist/documents/index.d.ts 269.00 B
37
39
  DTS dist/events/index.d.ts 4.12 KB
40
+ DTS dist/proposals/index.d.ts 1.23 KB
38
41
  DTS dist/realtime/index.d.ts 1.54 KB
39
42
  DTS dist/relations/index.d.ts 896.00 B
40
43
  DTS dist/workspaces/index.d.ts 882.00 B
41
44
  DTS dist/preferences/index.d.ts 20.10 KB
42
45
  DTS dist/views/index.d.ts 60.75 KB
43
- DTS dist/index.d.ts 233.31 KB
46
+ DTS dist/index.d.ts 233.30 KB
44
47
  DTS dist/entities/index.d.ts 1.20 KB
45
48
  DTS dist/users/index.d.ts 195.00 B
46
49
  DTS dist/inbox/index.d.ts 13.00 B
@@ -4,10 +4,7 @@ import {
4
4
  selectDocumentSchema,
5
5
  insertDocumentVersionSchema,
6
6
  selectDocumentVersionSchema,
7
- insertDocumentSessionSchema,
8
- selectDocumentSessionSchema,
9
- insertDocumentProposalSchema,
10
- selectDocumentProposalSchema
7
+ insertDocumentSessionSchema
11
8
  } from "@synap/database/schema";
12
9
 
13
10
  export {
@@ -15,8 +12,5 @@ export {
15
12
  selectDocumentSchema,
16
13
  insertDocumentVersionSchema,
17
14
  selectDocumentVersionSchema,
18
- insertDocumentSessionSchema,
19
- selectDocumentSessionSchema,
20
- insertDocumentProposalSchema,
21
- selectDocumentProposalSchema
15
+ insertDocumentSessionSchema
22
16
  };
@@ -1 +1 @@
1
- export { Document, DocumentProposal, DocumentSession, DocumentVersion, NewDocument, NewDocumentProposal, NewDocumentSession, NewDocumentVersion, insertDocumentProposalSchema, insertDocumentSchema, insertDocumentSessionSchema, insertDocumentVersionSchema, selectDocumentProposalSchema, selectDocumentSchema, selectDocumentSessionSchema, selectDocumentVersionSchema } from '@synap/database/schema';
1
+ export { Document, DocumentSession, DocumentVersion, NewDocument, NewDocumentSession, NewDocumentVersion, insertDocumentSchema, insertDocumentSessionSchema, insertDocumentVersionSchema, selectDocumentSchema, selectDocumentVersionSchema } from '@synap/database/schema';
@@ -1,20 +1,14 @@
1
1
  import {
2
- insertDocumentProposalSchema,
3
2
  insertDocumentSchema,
4
3
  insertDocumentSessionSchema,
5
4
  insertDocumentVersionSchema,
6
- selectDocumentProposalSchema,
7
5
  selectDocumentSchema,
8
- selectDocumentSessionSchema,
9
6
  selectDocumentVersionSchema
10
- } from "../chunk-WXJ4PQR7.js";
7
+ } from "../chunk-3FSI6SVS.js";
11
8
  export {
12
- insertDocumentProposalSchema,
13
9
  insertDocumentSchema,
14
10
  insertDocumentSessionSchema,
15
11
  insertDocumentVersionSchema,
16
- selectDocumentProposalSchema,
17
12
  selectDocumentSchema,
18
- selectDocumentSessionSchema,
19
13
  selectDocumentVersionSchema
20
14
  };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { B as BaseEntity, a as ENTITY_SCHEMAS, E as Entity, c as EntityMetadata, d as EntitySchema, b as EntityType, e as Event, F as File, f as NewEntity, N as Note, P as Person, T as Task, U as UpdateEntity, s as safeValidateEntityMetadata, v as validateEntityMetadata } from './types-nhCcewMV.js';
2
2
  export { isEntityOfType, isEvent, isFile, isNote, isPerson, isTask } from './entities/index.js';
3
- export { ConversationMessageRow as ChatMessage, ChatThread, CustomEntityType, CustomTheme, DefaultTemplates, Document, DocumentProposal, DocumentSession, DocumentVersion, EntityEnrichment, EntityMetadataSchemas, EntityRelationship, GraphPreferences, NewConversationMessageRow as NewChatMessage, NewChatThread, NewDocument, NewDocumentProposal, NewDocumentSession, NewDocumentVersion, NewEntityEnrichment, NewEntityRelationship, NewProposal, NewReasoningTrace, NewRelation, NewUserEntityState, NewUserPreference, NewWorkspace, NewWorkspaceInvite, NewWorkspaceMember, Proposal, ReasoningTrace, Relation, UIPreferences, UserEntityState, UserPreference, Workspace, WorkspaceInvite, WorkspaceMember, insertDocumentProposalSchema, insertDocumentSchema, insertDocumentSessionSchema, insertDocumentVersionSchema, insertProposalSchema, insertUserPreferenceSchema, selectDocumentProposalSchema, selectDocumentSchema, selectDocumentSessionSchema, selectDocumentVersionSchema, selectProposalSchema, selectUserPreferenceSchema } from '@synap/database/schema';
3
+ export { ConversationMessageRow as ChatMessage, ChatThread, CustomEntityType, CustomTheme, DefaultTemplates, Document, DocumentSession, DocumentVersion, EntityEnrichment, EntityMetadataSchemas, EntityRelationship, GraphPreferences, NewConversationMessageRow as NewChatMessage, NewChatThread, NewDocument, NewDocumentSession, NewDocumentVersion, NewEntityEnrichment, NewEntityRelationship, NewProposal, NewReasoningTrace, NewRelation, NewUserEntityState, NewUserPreference, NewWorkspace, NewWorkspaceInvite, NewWorkspaceMember, Proposal, ReasoningTrace, Relation, UIPreferences, UserEntityState, UserPreference, Workspace, WorkspaceInvite, WorkspaceMember, insertDocumentSchema, insertDocumentSessionSchema, insertDocumentVersionSchema, insertProposalSchema, insertUserPreferenceSchema, selectDocumentSchema, selectDocumentVersionSchema, selectProposalSchema, selectUserPreferenceSchema } from '@synap/database/schema';
4
4
  import { z } from 'zod';
5
5
  export { CreateWorkspaceInput, InviteMemberInput, UpdateWorkspaceInput, WorkspaceRole, WorkspaceType } from './workspaces/index.js';
6
6
  export { CanvasViewConfig, CanvasViewContent, ColumnConfig, ColumnDisplayConfig, CreateViewInput, EntityFilter, EntityQuery, EntityQuerySchema, FilterOperator, FormattingRule, KanbanColumn, NewView, RenderSettings, RenderSettingsSchema, SortRule, StructuredLayout, StructuredViewConfig, StructuredViewConfigSchema, StructuredViewContent, UpdateViewInput, VIEW_TYPE_CATEGORIES, View, ViewCategory, ViewConfig, ViewContent, ViewContentSchema, ViewMetadata, ViewRenderConfig, ViewType, getContentCategoryForViewType, getViewCategory, isCanvasContent, isStructuredContent, parseViewContent, safeParseViewContent, validateContentCategoryForViewType } from './views/index.js';
package/dist/index.js CHANGED
@@ -16,15 +16,12 @@ import {
16
16
  } from "./chunk-5MS6TR4O.js";
17
17
  import "./chunk-IZA3UKBT.js";
18
18
  import {
19
- insertDocumentProposalSchema,
20
19
  insertDocumentSchema,
21
20
  insertDocumentSessionSchema,
22
21
  insertDocumentVersionSchema,
23
- selectDocumentProposalSchema,
24
22
  selectDocumentSchema,
25
- selectDocumentSessionSchema,
26
23
  selectDocumentVersionSchema
27
- } from "./chunk-WXJ4PQR7.js";
24
+ } from "./chunk-3FSI6SVS.js";
28
25
  import {
29
26
  ENTITY_SCHEMAS,
30
27
  EntitySchema,
@@ -46,11 +43,11 @@ import {
46
43
  insertUserPreferenceSchema,
47
44
  selectUserPreferenceSchema
48
45
  } from "./chunk-75HLKBPD.js";
49
- import "./chunk-X5L3VJJZ.js";
50
46
  import {
51
47
  insertProposalSchema,
52
48
  selectProposalSchema
53
49
  } from "./chunk-II4ANI46.js";
50
+ import "./chunk-X5L3VJJZ.js";
54
51
 
55
52
  // src/templates/schemas.ts
56
53
  import { z } from "zod";
@@ -706,7 +703,6 @@ export {
706
703
  classicNoteTemplate,
707
704
  getContentCategoryForViewType,
708
705
  getViewCategory,
709
- insertDocumentProposalSchema,
710
706
  insertDocumentSchema,
711
707
  insertDocumentSessionSchema,
712
708
  insertDocumentVersionSchema,
@@ -725,9 +721,7 @@ export {
725
721
  parseViewContent,
726
722
  safeParseViewContent,
727
723
  safeValidateEntityMetadata,
728
- selectDocumentProposalSchema,
729
724
  selectDocumentSchema,
730
- selectDocumentSessionSchema,
731
725
  selectDocumentVersionSchema,
732
726
  selectProposalSchema,
733
727
  selectUserPreferenceSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synap-core/types",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Shared TypeScript types and Zod schemas for the Synap platform",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -88,4 +88,4 @@
88
88
  "tsup": "^8.0.0",
89
89
  "typescript": "^5.6.0"
90
90
  }
91
- }
91
+ }
@@ -11,8 +11,6 @@ export type {
11
11
  NewDocumentVersion,
12
12
  DocumentSession,
13
13
  NewDocumentSession,
14
- DocumentProposal,
15
- NewDocumentProposal,
16
14
  } from '@synap/database/schema';
17
15
 
18
16
  // Re-export Zod schemas for runtime validation
@@ -22,7 +20,5 @@ export {
22
20
  insertDocumentVersionSchema,
23
21
  selectDocumentVersionSchema,
24
22
  insertDocumentSessionSchema,
25
- selectDocumentSessionSchema,
26
- insertDocumentProposalSchema,
27
- selectDocumentProposalSchema,
23
+
28
24
  } from '@synap/database/schema';