@tnotesjs/core 0.6.1 → 0.7.0
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/config/templates.ts +0 -5
- package/dist/{chunk-5F5RJ2HV.cjs → chunk-7FEANCT6.cjs} +16 -7
- package/dist/chunk-AGVER5MX.cjs +1746 -0
- package/dist/{chunk-TJ4527KA.cjs → chunk-BL22KD4V.cjs} +324 -950
- package/dist/{chunk-56PKXCOX.js → chunk-GWG75A5M.js} +13 -4
- package/dist/{chunk-DUTS75WQ.js → chunk-XNO3PCEH.js} +374 -1000
- package/dist/chunk-ZEQS64PE.js +1746 -0
- package/dist/cli/index.cjs +76 -155
- package/dist/cli/index.js +10 -89
- package/dist/markdown/index.cjs +2 -3
- package/dist/markdown/index.d.cts +1 -1
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +1 -2
- package/dist/{types-CwBWwNVv.d.ts → types-C_d0fFeD.d.ts} +8 -1
- package/dist/{types-CpsEy8lA.d.cts → types-MRBGgJTX.d.cts} +8 -1
- package/dist/vitepress/config/index.cjs +200 -132
- package/dist/vitepress/config/index.js +187 -119
- package/dist/workspace/index.cjs +4 -1202
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.ts +2 -2
- package/dist/workspace/index.js +4 -1202
- package/package.json +1 -1
- package/services/file-watcher/folderChangeHandler.ts +19 -15
- package/services/file-watcher/globalUpdateCoordinator.ts +21 -27
- package/services/file-watcher/service.ts +1 -6
- package/services/index.ts +0 -1
- package/services/note/service.ts +4 -6
- package/services/readme/service.ts +11 -18
- package/services/reconcileToc.ts +20 -0
- package/utils/index.ts +0 -9
- package/{services/toc → utils}/moveTocInside.test.ts +1 -1
- package/vitepress/components/constants.ts +2 -2
- package/vitepress/components/sidebar.data.ts +8 -5
- package/vitepress/plugins/sidebarStructurePlugin.ts +242 -145
- package/dist/chunk-3R7QSABB.cjs +0 -502
- package/dist/chunk-CZXRQPFJ.js +0 -11
- package/dist/chunk-HXED7KVT.cjs +0 -11
- package/dist/chunk-U6IBLREL.js +0 -502
- package/services/toc/index.ts +0 -5
- package/services/toc/service.ts +0 -759
- package/utils/migrateReadmeToToc.test.ts +0 -111
- package/utils/migrateReadmeToToc.ts +0 -135
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CreateWorkspaceOptions, T as TNotesWorkspace } from '../types-
|
|
2
|
-
export { A as AttachmentResult, a as ChangedFile, b as CreateNoteInput, c as CreateTocGroupInput, D as DeletePreviewItem, d as DeleteTocEntryInput, e as DeleteTocEntryPreview, K as KnowledgeBaseSnapshot, M as MoveTocEntryInput, f as MutationResult, N as NoteDocument, g as NotePlacement, R as RenameNoteInput, h as RenameTocGroupInput, S as SaveNoteInput, i as TocEntryRef, U as UpdateNoteConfigInput, W as WorkspaceDiagnostic, j as WorkspaceHealth, k as WorkspaceKnowledgeBaseConfig, l as WorkspaceLogger, m as WorkspaceNoteConfig, n as WorkspaceNoteSummary, o as WriteAttachmentInput } from '../types-
|
|
1
|
+
import { C as CreateWorkspaceOptions, T as TNotesWorkspace } from '../types-MRBGgJTX.cjs';
|
|
2
|
+
export { A as AttachmentResult, a as ChangedFile, b as CreateNoteInput, c as CreateTocGroupInput, D as DeletePreviewItem, d as DeleteTocEntryInput, e as DeleteTocEntryPreview, K as KnowledgeBaseSnapshot, M as MoveTocEntryInput, f as MutationResult, N as NoteDocument, g as NotePlacement, R as RenameNoteInput, h as RenameTocGroupInput, S as SaveNoteInput, i as TocEntryRef, U as UpdateNoteConfigInput, W as WorkspaceDiagnostic, j as WorkspaceHealth, k as WorkspaceKnowledgeBaseConfig, l as WorkspaceLogger, m as WorkspaceNoteConfig, n as WorkspaceNoteSummary, o as WriteAttachmentInput } from '../types-MRBGgJTX.cjs';
|
|
3
3
|
import '../note-oGm44Rw8.cjs';
|
|
4
4
|
|
|
5
5
|
type WorkspaceErrorCode = 'WORKSPACE_DISPOSED' | 'WORKSPACE_INVALID' | 'WORKSPACE_READ_ONLY' | 'NOTE_NOT_FOUND' | 'NOTE_INDEX_EXHAUSTED' | 'REVISION_CONFLICT' | 'INVALID_TITLE' | 'INVALID_TOC_ENTRY' | 'INVALID_PATH' | 'FILESYSTEM_ERROR';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CreateWorkspaceOptions, T as TNotesWorkspace } from '../types-
|
|
2
|
-
export { A as AttachmentResult, a as ChangedFile, b as CreateNoteInput, c as CreateTocGroupInput, D as DeletePreviewItem, d as DeleteTocEntryInput, e as DeleteTocEntryPreview, K as KnowledgeBaseSnapshot, M as MoveTocEntryInput, f as MutationResult, N as NoteDocument, g as NotePlacement, R as RenameNoteInput, h as RenameTocGroupInput, S as SaveNoteInput, i as TocEntryRef, U as UpdateNoteConfigInput, W as WorkspaceDiagnostic, j as WorkspaceHealth, k as WorkspaceKnowledgeBaseConfig, l as WorkspaceLogger, m as WorkspaceNoteConfig, n as WorkspaceNoteSummary, o as WriteAttachmentInput } from '../types-
|
|
1
|
+
import { C as CreateWorkspaceOptions, T as TNotesWorkspace } from '../types-C_d0fFeD.js';
|
|
2
|
+
export { A as AttachmentResult, a as ChangedFile, b as CreateNoteInput, c as CreateTocGroupInput, D as DeletePreviewItem, d as DeleteTocEntryInput, e as DeleteTocEntryPreview, K as KnowledgeBaseSnapshot, M as MoveTocEntryInput, f as MutationResult, N as NoteDocument, g as NotePlacement, R as RenameNoteInput, h as RenameTocGroupInput, S as SaveNoteInput, i as TocEntryRef, U as UpdateNoteConfigInput, W as WorkspaceDiagnostic, j as WorkspaceHealth, k as WorkspaceKnowledgeBaseConfig, l as WorkspaceLogger, m as WorkspaceNoteConfig, n as WorkspaceNoteSummary, o as WriteAttachmentInput } from '../types-C_d0fFeD.js';
|
|
3
3
|
import '../note-oGm44Rw8.js';
|
|
4
4
|
|
|
5
5
|
type WorkspaceErrorCode = 'WORKSPACE_DISPOSED' | 'WORKSPACE_INVALID' | 'WORKSPACE_READ_ONLY' | 'NOTE_NOT_FOUND' | 'NOTE_INDEX_EXHAUSTED' | 'REVISION_CONFLICT' | 'INVALID_TITLE' | 'INVALID_TOC_ENTRY' | 'INVALID_PATH' | 'FILESYSTEM_ERROR';
|