deepspace 0.3.9 → 0.3.11
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/dist/cli.js +96 -18
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +160 -1
- package/dist/index.js +283 -126
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +172 -2
- package/dist/server.js +581 -1
- package/dist/server.js.map +1 -1
- package/dist/worker.d.ts +252 -2
- package/dist/worker.js +588 -1
- package/dist/worker.js.map +1 -1
- package/features/admin-page/feature.json +29 -0
- package/features/admin-page/src/AdminPage.tsx +292 -0
- package/features/admin-page/src/admin-schema.ts +20 -0
- package/features/ai-chat/feature.json +41 -0
- package/features/ai-chat/src/AiChatPage.tsx +692 -0
- package/features/ai-chat/src/ChatPanel.tsx +1098 -0
- package/features/ai-chat/src/ai-chat-schema.ts +11 -0
- package/features/canvas/feature.json +45 -0
- package/features/canvas/src/CanvasEditorPage.tsx +87 -0
- package/features/canvas/src/CanvasListPage.tsx +202 -0
- package/features/canvas/src/canvas-schema.ts +33 -0
- package/features/canvas/src/components/CanvasToolbar.tsx +170 -0
- package/features/canvas/src/components/CanvasView.tsx +369 -0
- package/features/canvas/src/components/ShapeRenderer.tsx +114 -0
- package/features/cron/feature.json +33 -0
- package/features/cron/src/CronLogPage.tsx +100 -0
- package/features/cron/src/cron.ts +25 -0
- package/features/docs/feature.json +96 -0
- package/features/docs/src/DocsEditorPage.tsx +1012 -0
- package/features/docs/src/DocsListPage.tsx +951 -0
- package/features/docs/src/DocsOutlinePanel.tsx +68 -0
- package/features/docs/src/DocsPresence.tsx +138 -0
- package/features/docs/src/InviteDialog.tsx +336 -0
- package/features/docs/src/LibrarySidebar.tsx +464 -0
- package/features/docs/src/docs-favorites.ts +18 -0
- package/features/docs/src/docs-library-types.ts +15 -0
- package/features/docs/src/docs-schema.ts +80 -0
- package/features/docs/src/docs-ui.css +309 -0
- package/features/docs/src/editor/DocEditorSurface.tsx +257 -0
- package/features/docs/src/editor/DocsTiptapToolbar.tsx +560 -0
- package/features/docs/src/editor/useDocEditor.ts +206 -0
- package/features/docs/src/use-yjs-room-with-awareness.ts +285 -0
- package/features/file-attachments/feature.json +42 -0
- package/features/file-attachments/src/AttachmentsPage.tsx +864 -0
- package/features/file-attachments/src/attachments-constants.ts +9 -0
- package/features/file-attachments/src/attachments-schema.ts +45 -0
- package/features/file-attachments/src/useFilePreview.ts +471 -0
- package/features/file-attachments/src/useMimeTypeDetection.ts +138 -0
- package/features/file-manager/feature.json +24 -0
- package/features/file-manager/src/FileManagerPage.tsx +330 -0
- package/features/integration-test/feature.json +18 -0
- package/features/integration-test/src/IntegrationTestPage.tsx +423 -0
- package/features/integration-test/src/integration.spec.ts +42 -0
- package/features/items/feature.json +33 -0
- package/features/items/src/ItemsPage.tsx +325 -0
- package/features/items/src/items-constants.ts +10 -0
- package/features/items/src/items-schema.ts +27 -0
- package/features/kanban/feature.json +18 -0
- package/features/kanban/src/Kanban.tsx +283 -0
- package/features/landing/feature.json +62 -0
- package/features/landing/src/LandingPage.tsx +627 -0
- package/features/landing/src/primitives.tsx +389 -0
- package/features/landing/src/sections/FAQSection.tsx +110 -0
- package/features/landing/src/sections/FeaturesGridSection.tsx +311 -0
- package/features/landing/src/sections/HowItWorksSection.tsx +62 -0
- package/features/landing/src/sections/LogoCloudSection.tsx +58 -0
- package/features/landing/src/sections/ShowcaseSection.tsx +63 -0
- package/features/landing/src/sections/StatsSection.tsx +31 -0
- package/features/landing/src/sections/TeamSection.tsx +86 -0
- package/features/landing/src/sections/TestimonialsSection.tsx +68 -0
- package/features/landing/src/sections/VideoSection.tsx +71 -0
- package/features/leaderboard/feature.json +33 -0
- package/features/leaderboard/src/LeaderboardPage.tsx +372 -0
- package/features/leaderboard/src/leaderboard-constants.ts +21 -0
- package/features/leaderboard/src/leaderboard-schema.ts +36 -0
- package/features/messaging/feature.json +111 -0
- package/features/messaging/src/ChatMultiPage.tsx +300 -0
- package/features/messaging/src/ChatPage.tsx +75 -0
- package/features/messaging/src/components/chat/ChatHeader.tsx +76 -0
- package/features/messaging/src/components/chat/MessageActionSheet.tsx +168 -0
- package/features/messaging/src/components/chat/MessageInput.tsx +65 -0
- package/features/messaging/src/components/chat/MessageItem.tsx +352 -0
- package/features/messaging/src/components/chat/MessageList.tsx +248 -0
- package/features/messaging/src/components/chat/ReactionPicker.tsx +2 -0
- package/features/messaging/src/components/chat/ThreadPanel.tsx +107 -0
- package/features/messaging/src/components/chat/UserProfilePopover.tsx +158 -0
- package/features/messaging/src/components/chat-multi/AddMemberModal.tsx +188 -0
- package/features/messaging/src/components/chat-multi/BrowseGroupsModal.tsx +163 -0
- package/features/messaging/src/components/chat-multi/ChannelListItem.tsx +147 -0
- package/features/messaging/src/components/chat-multi/ChannelSettingsPanel.tsx +344 -0
- package/features/messaging/src/components/chat-multi/ChannelSidebar.tsx +460 -0
- package/features/messaging/src/components/chat-multi/CreateGroupModal.tsx +190 -0
- package/features/messaging/src/components/chat-multi/InvitationList.tsx +149 -0
- package/features/messaging/src/components/chat-multi/NewMessageModal.tsx +159 -0
- package/features/messaging/src/hooks/useChatChannel.ts +64 -0
- package/features/messaging/src/hooks/useLongPress.ts +74 -0
- package/features/messaging/src/hooks/useMultiChannel.ts +142 -0
- package/features/messaging/src/messaging-schema.ts +25 -0
- package/features/presence-test/feature.json +21 -0
- package/features/presence-test/src/PresenceTestPage.tsx +120 -0
- package/features/sidebar/feature.json +19 -0
- package/features/sidebar/src/AppSidebar.tsx +558 -0
- package/features/tasks/feature.json +33 -0
- package/features/tasks/src/TasksPage.tsx +598 -0
- package/features/tasks/src/tasks-constants.ts +43 -0
- package/features/tasks/src/tasks-schema.ts +56 -0
- package/features/testing/feature.json +49 -0
- package/features/testing/src/TestPage.tsx +145 -0
- package/features/testing/src/cpu-burn-action.ts +51 -0
- package/features/testing/src/subrequest-burn-action.ts +53 -0
- package/features/testing/src/test-schema.ts +23 -0
- package/features/topbar/feature.json +18 -0
- package/features/topbar/src/Topbar.tsx +353 -0
- package/features/tree/feature.json +26 -0
- package/features/tree/src/TreeSidebar.tsx +607 -0
- package/features/tree/src/tree-constants.ts +68 -0
- package/features/tree/src/tree-hooks.ts +258 -0
- package/package.json +4 -2
- package/scripts/add-feature.cjs +654 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "docs",
|
|
3
|
+
"name": "Documents",
|
|
4
|
+
"category": "data",
|
|
5
|
+
"description": "Real-time collaborative document editing with Tiptap + Yjs",
|
|
6
|
+
"details": "Document library with folders & favorites. Collaborative editor built on Tiptap (ProseMirror) with Y.XmlFragment via @tiptap/extension-collaboration and live remote cursors via @tiptap/extension-collaboration-caret — buttery typing, no innerHTML rebuilds, no contenteditable quirks. Invite-only docs with viewer/editor roles: owner shares via an in-app dialog that resolves an email to a DeepSpace user. RBAC is enforced by the documents schema and the starter template's built-in Yjs route. Includes a one-shot migration shim that converts docs created with the legacy contenteditable editor (HTML stored in Y.Text('content')) into Tiptap on first open.",
|
|
7
|
+
"files": [
|
|
8
|
+
{
|
|
9
|
+
"src": "src/DocsListPage.tsx",
|
|
10
|
+
"dest": "src/pages/docs/index.tsx"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"src": "src/DocsEditorPage.tsx",
|
|
14
|
+
"dest": "src/pages/docs/[docId].tsx"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"src": "src/InviteDialog.tsx",
|
|
18
|
+
"dest": "src/pages/docs/InviteDialog.tsx"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"src": "src/use-yjs-room-with-awareness.ts",
|
|
22
|
+
"dest": "src/pages/docs/use-yjs-room-with-awareness.ts"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"src": "src/docs-ui.css",
|
|
26
|
+
"dest": "src/pages/docs/docs-ui.css"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"src": "src/docs-schema.ts",
|
|
30
|
+
"dest": "src/schemas/docs-schema.ts"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"src": "src/docs-library-types.ts",
|
|
34
|
+
"dest": "src/pages/docs/docs-library-types.ts"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"src": "src/docs-favorites.ts",
|
|
38
|
+
"dest": "src/pages/docs/docs-favorites.ts"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"src": "src/LibrarySidebar.tsx",
|
|
42
|
+
"dest": "src/pages/docs/LibrarySidebar.tsx"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"src": "src/DocsPresence.tsx",
|
|
46
|
+
"dest": "src/pages/docs/DocsPresence.tsx"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"src": "src/DocsOutlinePanel.tsx",
|
|
50
|
+
"dest": "src/pages/docs/DocsOutlinePanel.tsx"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"src": "src/editor/useDocEditor.ts",
|
|
54
|
+
"dest": "src/pages/docs/editor/useDocEditor.ts"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"src": "src/editor/DocEditorSurface.tsx",
|
|
58
|
+
"dest": "src/pages/docs/editor/DocEditorSurface.tsx"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"src": "src/editor/DocsTiptapToolbar.tsx",
|
|
62
|
+
"dest": "src/pages/docs/editor/DocsTiptapToolbar.tsx"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"schema": {
|
|
66
|
+
"exportName": "docsCollections",
|
|
67
|
+
"importPath": "./schemas/docs-schema",
|
|
68
|
+
"spreadOperator": true
|
|
69
|
+
},
|
|
70
|
+
"route": {
|
|
71
|
+
"path": "/docs",
|
|
72
|
+
"protected": true
|
|
73
|
+
},
|
|
74
|
+
"requires": [],
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@tiptap/react": "^3.22.0",
|
|
77
|
+
"@tiptap/pm": "^3.22.0",
|
|
78
|
+
"@tiptap/starter-kit": "^3.22.0",
|
|
79
|
+
"@tiptap/extension-collaboration": "^3.22.0",
|
|
80
|
+
"@tiptap/extension-collaboration-caret": "^3.22.0",
|
|
81
|
+
"@tiptap/extension-placeholder": "^3.22.0",
|
|
82
|
+
"@tiptap/extension-typography": "^3.22.0",
|
|
83
|
+
"@tiptap/extension-text-align": "^3.22.0",
|
|
84
|
+
"@tiptap/extension-text-style": "^3.22.0",
|
|
85
|
+
"@tiptap/extension-color": "^3.22.0",
|
|
86
|
+
"@tiptap/extension-highlight": "^3.22.0",
|
|
87
|
+
"@tiptap/extension-subscript": "^3.22.0",
|
|
88
|
+
"@tiptap/extension-superscript": "^3.22.0",
|
|
89
|
+
"@tiptap/extension-task-list": "^3.22.0",
|
|
90
|
+
"@tiptap/extension-task-item": "^3.22.0"
|
|
91
|
+
},
|
|
92
|
+
"instructions": [
|
|
93
|
+
"Run `npm install` (or your package manager) to install the Tiptap dependencies that were just added to package.json — the editor imports @tiptap/react and friends, so the dev server will fail to resolve them otherwise."
|
|
94
|
+
],
|
|
95
|
+
"patterns": []
|
|
96
|
+
}
|