From 41cf38a26c448c57597cc32a70f7752e4bf87d5c Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 22 Apr 2025 15:07:48 +0300 Subject: [PATCH] chore(nx): prepare commons --- .../packages/commons/dist/index.js | 3 + .../packages/commons/dist/index.js.map | 1 + .../commons/dist/lib/hidden_subtree.js | 12 + .../commons/dist/lib/hidden_subtree.js.map | 1 + .../packages/commons/dist/lib/i18n.js | 3 + .../packages/commons/dist/lib/i18n.js.map | 1 + .../packages/commons/dist/lib/index.js | 8 + .../packages/commons/dist/lib/index.js.map | 1 + .../dist/lib/keyboard_actions_interface.js | 4 + .../lib/keyboard_actions_interface.js.map | 1 + .../commons/dist/lib/options_interface.js | 3 + .../commons/dist/lib/options_interface.js.map | 1 + .../packages/commons/dist/lib/rows.js | 27 + .../packages/commons/dist/lib/rows.js.map | 1 + .../packages/commons/dist/lib/test-utils.js | 55 + .../commons/dist/lib/test-utils.js.map | 1 + .../commons/dist/tsconfig.lib.tsbuildinfo | 1 + .nx/cache/run.json | 21 + .../terminalOutputs/12848961712880147784 | 2 + .nx/cache/terminalOutputs/304969377575151971 | 21 + .nx/workspace-data/d/daemon.log | 167 + .nx/workspace-data/d/server-process.json | 3 + .../e18ca523839d47128dbab4548c9c1635.db | Bin 0 -> 4096 bytes .../e18ca523839d47128dbab4548c9c1635.db-shm | Bin 0 -> 32768 bytes .../e18ca523839d47128dbab4548c9c1635.db-wal | Bin 0 -> 111272 bytes .../eslint-2654242865465226088.hash | 132 +- .nx/workspace-data/file-map.json | 7102 +++++++++-------- .nx/workspace-data/lockfile.hash | 2 +- .nx/workspace-data/nx_files.nxt | Bin 109820 -> 111348 bytes .nx/workspace-data/parsed-lock-file.json | 6270 ++++++++++++++- .nx/workspace-data/project-graph.json | 6788 +++++++++++++++- .nx/workspace-data/source-maps.json | 329 +- .../tsc-2568428459166798129.hash | 2 +- .nx/workspace-data/tsconfig-files.hash | 2 +- .../vite-9347777721732807074.hash | 273 +- packages/commons/dist/index.js | 3 + packages/commons/dist/index.js.map | 1 + packages/commons/dist/lib/hidden_subtree.js | 12 + .../commons/dist/lib/hidden_subtree.js.map | 1 + packages/commons/dist/lib/i18n.js | 3 + packages/commons/dist/lib/i18n.js.map | 1 + packages/commons/dist/lib/index.js | 8 + packages/commons/dist/lib/index.js.map | 1 + .../dist/lib/keyboard_actions_interface.js | 4 + .../lib/keyboard_actions_interface.js.map | 1 + .../commons/dist/lib/options_interface.js | 3 + .../commons/dist/lib/options_interface.js.map | 1 + packages/commons/dist/lib/rows.js | 27 + packages/commons/dist/lib/rows.js.map | 1 + packages/commons/dist/lib/test-utils.js | 55 + packages/commons/dist/lib/test-utils.js.map | 1 + .../commons/dist/tsconfig.lib.tsbuildinfo | 1 + packages/commons/src/lib/commons.spec.ts | 7 - packages/commons/src/lib/commons.ts | 3 - .../commons/src/lib}/hidden_subtree.ts | 0 .../src => packages/commons/src/lib}/i18n.ts | 0 .../src => packages/commons/src/lib}/index.ts | 0 .../src/lib}/keyboard_actions_interface.ts | 0 .../commons/src/lib}/options_interface.ts | 0 .../src => packages/commons/src/lib}/rows.ts | 0 .../commons/src/lib}/test-utils.spec.ts | 0 .../commons/src/lib}/test-utils.ts | 0 62 files changed, 17633 insertions(+), 3739 deletions(-) create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/index.js create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/index.js.map create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js.map create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js.map create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/index.js create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/index.js.map create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js.map create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js.map create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js.map create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js.map create mode 100644 .nx/cache/12848961712880147784/packages/commons/dist/tsconfig.lib.tsbuildinfo create mode 100644 .nx/cache/run.json create mode 100644 .nx/cache/terminalOutputs/12848961712880147784 create mode 100644 .nx/cache/terminalOutputs/304969377575151971 create mode 100644 .nx/workspace-data/d/server-process.json create mode 100644 .nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db create mode 100644 .nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db-shm create mode 100644 .nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db-wal create mode 100644 packages/commons/dist/index.js create mode 100644 packages/commons/dist/index.js.map create mode 100644 packages/commons/dist/lib/hidden_subtree.js create mode 100644 packages/commons/dist/lib/hidden_subtree.js.map create mode 100644 packages/commons/dist/lib/i18n.js create mode 100644 packages/commons/dist/lib/i18n.js.map create mode 100644 packages/commons/dist/lib/index.js create mode 100644 packages/commons/dist/lib/index.js.map create mode 100644 packages/commons/dist/lib/keyboard_actions_interface.js create mode 100644 packages/commons/dist/lib/keyboard_actions_interface.js.map create mode 100644 packages/commons/dist/lib/options_interface.js create mode 100644 packages/commons/dist/lib/options_interface.js.map create mode 100644 packages/commons/dist/lib/rows.js create mode 100644 packages/commons/dist/lib/rows.js.map create mode 100644 packages/commons/dist/lib/test-utils.js create mode 100644 packages/commons/dist/lib/test-utils.js.map create mode 100644 packages/commons/dist/tsconfig.lib.tsbuildinfo delete mode 100644 packages/commons/src/lib/commons.spec.ts delete mode 100644 packages/commons/src/lib/commons.ts rename {_regroup_monorepo/packages/commons/src => packages/commons/src/lib}/hidden_subtree.ts (100%) rename {_regroup_monorepo/packages/commons/src => packages/commons/src/lib}/i18n.ts (100%) rename {_regroup_monorepo/packages/commons/src => packages/commons/src/lib}/index.ts (100%) rename {_regroup_monorepo/packages/commons/src => packages/commons/src/lib}/keyboard_actions_interface.ts (100%) rename {_regroup_monorepo/packages/commons/src => packages/commons/src/lib}/options_interface.ts (100%) rename {_regroup_monorepo/packages/commons/src => packages/commons/src/lib}/rows.ts (100%) rename {_regroup_monorepo/packages/commons/src => packages/commons/src/lib}/test-utils.spec.ts (100%) rename {_regroup_monorepo/packages/commons/src => packages/commons/src/lib}/test-utils.ts (100%) diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/index.js b/.nx/cache/12848961712880147784/packages/commons/dist/index.js new file mode 100644 index 000000000..c8e9044f5 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/index.js @@ -0,0 +1,3 @@ +export * from './lib/commons.js'; + +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/index.js.map b/.nx/cache/12848961712880147784/packages/commons/dist/index.js.map new file mode 100644 index 000000000..45deb07fa --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './lib/commons.js';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mBAAmB"} \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js b/.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js new file mode 100644 index 000000000..ea191a4c5 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js @@ -0,0 +1,12 @@ +var Command; +(function(Command) { + Command[Command["jumpToNote"] = 0] = "jumpToNote"; + Command[Command["searchNotes"] = 1] = "searchNotes"; + Command[Command["createNoteIntoInbox"] = 2] = "createNoteIntoInbox"; + Command[Command["showRecentChanges"] = 3] = "showRecentChanges"; + Command[Command["showOptions"] = 4] = "showOptions"; + Command[Command["createAiChat"] = 5] = "createAiChat"; +})(Command || (Command = {})); +export { }; + +//# sourceMappingURL=hidden_subtree.js.map \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js.map b/.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js.map new file mode 100644 index 000000000..5fe8660e5 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/lib/hidden_subtree.ts"],"sourcesContent":["import { AttributeType } from \"./rows.js\";\n\ntype LauncherNoteType = \"launcher\" | \"search\" | \"doc\" | \"noteMap\" | \"contentWidget\" | \"book\" | \"file\" | \"image\" | \"text\" | \"relationMap\" | \"render\" | \"canvas\" | \"mermaid\" | \"webView\" | \"code\" | \"mindMap\" | \"geoMap\";\n\nenum Command {\n jumpToNote,\n searchNotes,\n createNoteIntoInbox,\n showRecentChanges,\n showOptions,\n createAiChat\n}\n\nexport interface HiddenSubtreeAttribute {\n type: AttributeType;\n name: string;\n isInheritable?: boolean;\n value?: string;\n}\n\nexport interface HiddenSubtreeItem {\n notePosition?: number;\n id: string;\n title: string;\n type: LauncherNoteType;\n icon?: string;\n attributes?: HiddenSubtreeAttribute[];\n children?: HiddenSubtreeItem[];\n isExpanded?: boolean;\n baseSize?: string;\n growthFactor?: string;\n targetNoteId?: \"_backendLog\" | \"_globalNoteMap\";\n builtinWidget?:\n | \"todayInJournal\"\n | \"bookmarks\"\n | \"spacer\"\n | \"backInHistoryButton\"\n | \"forwardInHistoryButton\"\n | \"syncStatus\"\n | \"protectedSession\"\n | \"calendar\"\n | \"quickSearch\"\n | \"aiChatLauncher\";\n command?: keyof typeof Command;\n}"],"names":["Command"],"rangeMappings":";;;;;;;;;","mappings":";UAIKA;;;;;;;GAAAA,YAAAA;AAgBL,WAwBC"} \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js b/.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js new file mode 100644 index 000000000..f29feb52a --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js @@ -0,0 +1,3 @@ +export { }; + +//# sourceMappingURL=i18n.js.map \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js.map b/.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js.map new file mode 100644 index 000000000..4fe740268 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/lib/i18n.ts"],"sourcesContent":["export interface Locale {\n id: string;\n name: string;\n /** `true` if the language is a right-to-left one, or `false` if it's left-to-right. */\n rtl?: boolean;\n /** `true` if the language is not supported by the application as a display language, but it is selectable by the user for the content. */\n contentOnly?: boolean;\n /** The value to pass to `--lang` for the Electron instance in order to set it as a locale. Not setting it will hide it from the list of supported locales. */\n electronLocale?: string;\n}"],"names":[],"rangeMappings":"","mappings":"AAAA,WASC"} \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js b/.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js new file mode 100644 index 000000000..a205f9c8a --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js @@ -0,0 +1,8 @@ +export * from "./i18n.js"; +export * from "./options_interface.js"; +export * from "./keyboard_actions_interface.js"; +export * from "./hidden_subtree.js"; +export * from "./rows.js"; +export * from "./test-utils.js"; + +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js.map b/.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js.map new file mode 100644 index 000000000..0064146c0 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/lib/index.ts"],"sourcesContent":["export * from \"./i18n.js\";\nexport * from \"./options_interface.js\";\nexport * from \"./keyboard_actions_interface.js\";\nexport * from \"./hidden_subtree.js\";\nexport * from \"./rows.js\";\nexport * from \"./test-utils.js\""],"names":[],"rangeMappings":";;;;;","mappings":"AAAA,cAAc,YAAY;AAC1B,cAAc,yBAAyB;AACvC,cAAc,kCAAkC;AAChD,cAAc,sBAAsB;AACpC,cAAc,YAAY;AAC1B,cAAc,kBAAiB"} \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js b/.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js new file mode 100644 index 000000000..e67307bfe --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js @@ -0,0 +1,4 @@ +var KeyboardActionNamesEnum; +export { }; + +//# sourceMappingURL=keyboard_actions_interface.js.map \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js.map b/.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js.map new file mode 100644 index 000000000..4aaa1fd2c --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/lib/keyboard_actions_interface.ts"],"sourcesContent":["const enum KeyboardActionNamesEnum {\n backInNoteHistory,\n forwardInNoteHistory,\n jumpToNote,\n scrollToActiveNote,\n quickSearch,\n searchInSubtree,\n expandSubtree,\n collapseTree,\n collapseSubtree,\n sortChildNotes,\n createNoteAfter,\n createNoteInto,\n createNoteIntoInbox,\n deleteNotes,\n moveNoteUp,\n moveNoteDown,\n moveNoteUpInHierarchy,\n moveNoteDownInHierarchy,\n editNoteTitle,\n editBranchPrefix,\n cloneNotesTo,\n moveNotesTo,\n copyNotesToClipboard,\n pasteNotesFromClipboard,\n cutNotesToClipboard,\n selectAllNotesInParent,\n addNoteAboveToSelection,\n addNoteBelowToSelection,\n duplicateSubtree,\n openNewTab,\n closeActiveTab,\n reopenLastTab,\n activateNextTab,\n activatePreviousTab,\n openNewWindow,\n toggleTray,\n toggleZenMode,\n firstTab,\n secondTab,\n thirdTab,\n fourthTab,\n fifthTab,\n sixthTab,\n seventhTab,\n eigthTab,\n ninthTab,\n lastTab,\n showNoteSource,\n showOptions,\n showRevisions,\n showRecentChanges,\n showSQLConsole,\n showBackendLog,\n showCheatsheet,\n showHelp,\n addLinkToText,\n followLinkUnderCursor,\n insertDateTimeToText,\n pasteMarkdownIntoText,\n cutIntoNote,\n addIncludeNoteToText,\n editReadOnlyNote,\n addNewLabel,\n addNewRelation,\n toggleRibbonTabClassicEditor,\n toggleRibbonTabBasicProperties,\n toggleRibbonTabBookProperties,\n toggleRibbonTabFileProperties,\n toggleRibbonTabImageProperties,\n toggleRibbonTabOwnedAttributes,\n toggleRibbonTabInheritedAttributes,\n toggleRibbonTabPromotedAttributes,\n toggleRibbonTabNoteMap,\n toggleRibbonTabNoteInfo,\n toggleRibbonTabNotePaths,\n toggleRibbonTabSimilarNotes,\n toggleRightPane,\n printActiveNote,\n exportAsPdf,\n openNoteExternally,\n renderActiveNote,\n runActiveNote,\n toggleNoteHoisting,\n unhoist,\n reloadFrontendApp,\n openDevTools,\n findInText,\n toggleLeftPane,\n toggleFullscreen,\n zoomOut,\n zoomIn,\n zoomReset,\n copyWithoutFormatting,\n forceSaveRevision\n}\n\nexport type KeyboardActionNames = keyof typeof KeyboardActionNamesEnum;\n\nexport interface KeyboardShortcut {\n separator?: string;\n actionName?: KeyboardActionNames;\n description?: string;\n defaultShortcuts?: string[];\n effectiveShortcuts?: string[];\n /**\n * Scope here means on which element the keyboard shortcuts are attached - this means that for the shortcut to work,\n * the focus has to be inside the element.\n *\n * So e.g. shortcuts with \"note-tree\" scope work only when the focus is in note tree.\n * This allows to have the same shortcut have different actions attached based on the context\n * e.g. CTRL-C in note tree does something a bit different from CTRL-C in the text editor.\n */\n scope?: \"window\" | \"note-tree\" | \"text-detail\" | \"code-detail\";\n}\n\nexport interface KeyboardShortcutWithRequiredActionName extends KeyboardShortcut {\n actionName: KeyboardActionNames;\n}\n"],"names":[],"rangeMappings":";","mappings":";AAoHA,WAEC"} \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js b/.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js new file mode 100644 index 000000000..e7e06fb12 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js @@ -0,0 +1,3 @@ +export { }; + +//# sourceMappingURL=options_interface.js.map \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js.map b/.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js.map new file mode 100644 index 000000000..afb1d9026 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/lib/options_interface.ts"],"sourcesContent":["import type { KeyboardActionNames } from \"./keyboard_actions_interface.js\";\n\n/**\n * A dictionary where the keys are the option keys (e.g. `theme`) and their corresponding values.\n */\nexport type OptionMap = Record;\n\n/**\n * For each keyboard action, there is a corresponding option which identifies the key combination defined by the user.\n */\ntype KeyboardShortcutsOptions = {\n [key in T as `keyboardShortcuts${Capitalize}`]: string;\n};\n\nexport type FontFamily = \"theme\" | \"serif\" | \"sans-serif\" | \"monospace\" | string;\n\nexport interface OptionDefinitions extends KeyboardShortcutsOptions {\n openNoteContexts: string;\n lastDailyBackupDate: string;\n lastWeeklyBackupDate: string;\n lastMonthlyBackupDate: string;\n dbVersion: string;\n theme: string;\n syncServerHost: string;\n syncServerTimeout: string;\n syncProxy: string;\n mainFontFamily: FontFamily;\n treeFontFamily: FontFamily;\n detailFontFamily: FontFamily;\n monospaceFontFamily: FontFamily;\n spellCheckLanguageCode: string;\n codeNotesMimeTypes: string;\n headingStyle: string;\n highlightsList: string;\n customSearchEngineName: string;\n customSearchEngineUrl: string;\n locale: string;\n formattingLocale: string;\n codeBlockTheme: string;\n textNoteEditorType: string;\n layoutOrientation: string;\n allowedHtmlTags: string;\n documentId: string;\n documentSecret: string;\n passwordVerificationHash: string;\n passwordVerificationSalt: string;\n passwordDerivedKeySalt: string;\n encryptedDataKey: string;\n hoistedNoteId: string;\n\n // Multi-Factor Authentication\n mfaEnabled: boolean;\n mfaMethod: string;\n totpEncryptionSalt: string;\n totpEncryptedSecret: string;\n totpVerificationHash: string;\n encryptedRecoveryCodes: boolean;\n userSubjectIdentifierSaved: boolean;\n recoveryCodeInitialVector: string;\n recoveryCodeSecurityKey: string;\n recoveryCodesEncrypted: string;\n\n lastSyncedPull: number;\n lastSyncedPush: number;\n revisionSnapshotTimeInterval: number;\n revisionSnapshotTimeIntervalTimeScale: number;\n revisionSnapshotNumberLimit: number;\n protectedSessionTimeout: number;\n protectedSessionTimeoutTimeScale: number;\n zoomFactor: number;\n mainFontSize: number;\n treeFontSize: number;\n detailFontSize: number;\n monospaceFontSize: number;\n imageMaxWidthHeight: number;\n imageJpegQuality: number;\n leftPaneWidth: number;\n rightPaneWidth: number;\n eraseEntitiesAfterTimeInSeconds: number;\n eraseEntitiesAfterTimeScale: number;\n autoReadonlySizeText: number;\n autoReadonlySizeCode: number;\n maxContentWidth: number;\n minTocHeadings: number;\n eraseUnusedAttachmentsAfterSeconds: number;\n eraseUnusedAttachmentsAfterTimeScale: number;\n firstDayOfWeek: number;\n firstWeekOfYear: number;\n minDaysInFirstWeek: number;\n languages: string;\n\n // Appearance\n splitEditorOrientation: \"horziontal\" | \"vertical\";\n\n initialized: boolean;\n isPasswordSet: boolean;\n overrideThemeFonts: boolean;\n spellCheckEnabled: boolean;\n autoFixConsistencyIssues: boolean;\n vimKeymapEnabled: boolean;\n codeLineWrapEnabled: boolean;\n leftPaneVisible: boolean;\n rightPaneVisible: boolean;\n nativeTitleBarVisible: boolean;\n hideArchivedNotes_main: boolean;\n debugModeEnabled: boolean;\n autoCollapseNoteTree: boolean;\n dailyBackupEnabled: boolean;\n weeklyBackupEnabled: boolean;\n monthlyBackupEnabled: boolean;\n compressImages: boolean;\n downloadImagesAutomatically: boolean;\n checkForUpdates: boolean;\n disableTray: boolean;\n promotedAttributesOpenInRibbon: boolean;\n editedNotesOpenInRibbon: boolean;\n codeBlockWordWrap: boolean;\n textNoteEditorMultilineToolbar: boolean;\n backgroundEffects: boolean;\n\n // Share settings\n redirectBareDomain: boolean;\n showLoginInShareTheme: boolean;\n\n // AI/LLM integration options\n aiEnabled: boolean;\n aiProvider: string;\n aiSystemPrompt: string;\n aiTemperature: string;\n openaiApiKey: string;\n openaiDefaultModel: string;\n openaiEmbeddingModel: string;\n openaiBaseUrl: string;\n anthropicApiKey: string;\n anthropicDefaultModel: string;\n voyageEmbeddingModel: string;\n voyageApiKey: string;\n anthropicBaseUrl: string;\n ollamaEnabled: boolean;\n ollamaBaseUrl: string;\n ollamaDefaultModel: string;\n ollamaEmbeddingModel: string;\n codeOpenAiModel: string;\n aiProviderPrecedence: string;\n\n // Embedding-related options\n embeddingAutoUpdateEnabled: boolean;\n embeddingUpdateInterval: number;\n embeddingBatchSize: number;\n embeddingDefaultDimension: number;\n embeddingsDefaultProvider: string;\n embeddingProviderPrecedence: string;\n enableAutomaticIndexing: boolean;\n embeddingGenerationLocation: string;\n embeddingDimensionStrategy: string;\n embeddingSimilarityThreshold: number;\n maxNotesPerLlmQuery: number;\n}\n\nexport type OptionNames = keyof OptionDefinitions;\n\nexport type FilterOptionsByType = {\n [K in keyof OptionDefinitions]: OptionDefinitions[K] extends U ? K : never;\n}[keyof OptionDefinitions];\n"],"names":[],"rangeMappings":"","mappings":"AAiKA,WAE2B"} \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js b/.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js new file mode 100644 index 000000000..189614bf5 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js @@ -0,0 +1,27 @@ +// TODO: Booleans should probably be numbers instead (as SQLite does not have booleans.); +// TODO: check against schema.sql which properties really are "optional" +/** + * There are many different Note types, some of which are entirely opaque to the + * end user. Those types should be used only for checking against, they are + * not for direct use. + */ export const ALLOWED_NOTE_TYPES = [ + "file", + "image", + "search", + "noteMap", + "launcher", + "doc", + "contentWidget", + "text", + "relationMap", + "render", + "canvas", + "mermaid", + "book", + "webView", + "code", + "mindMap", + "geoMap" +]; + +//# sourceMappingURL=rows.js.map \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js.map b/.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js.map new file mode 100644 index 000000000..b946ae544 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/lib/rows.ts"],"sourcesContent":["// TODO: Booleans should probably be numbers instead (as SQLite does not have booleans.);\n// TODO: check against schema.sql which properties really are \"optional\"\n\nexport interface AttachmentRow {\n attachmentId?: string;\n ownerId?: string;\n role: string;\n mime: string;\n title: string;\n position?: number;\n blobId?: string;\n isProtected?: boolean;\n dateModified?: string;\n utcDateModified?: string;\n utcDateScheduledForErasureSince?: string;\n isDeleted?: boolean;\n deleteId?: string;\n contentLength?: number;\n content?: Buffer | string;\n}\n\nexport interface RevisionRow {\n revisionId?: string;\n noteId: string;\n type: NoteType;\n mime: string;\n isProtected?: boolean;\n title: string;\n blobId?: string;\n dateLastEdited?: string;\n dateCreated: string;\n utcDateLastEdited?: string;\n utcDateCreated: string;\n utcDateModified: string;\n contentLength?: number;\n}\n\nexport interface RecentNoteRow {\n noteId: string;\n notePath: string;\n utcDateCreated?: string;\n}\n\n/**\n * Database representation of an option.\n *\n * Options are key-value pairs that are used to store information such as user preferences (for example\n * the current theme, sync server information), but also information about the state of the application).\n */\nexport interface OptionRow {\n /** The name of the option. */\n name: string;\n /** The value of the option. */\n value: string;\n /** `true` if the value should be synced across multiple instances (e.g. locale) or `false` if it should be local-only (e.g. theme). */\n isSynced: boolean;\n utcDateModified?: string;\n}\n\nexport interface EtapiTokenRow {\n etapiTokenId?: string;\n name: string;\n tokenHash: string;\n utcDateCreated?: string;\n utcDateModified?: string;\n isDeleted?: boolean;\n}\n\nexport interface BlobRow {\n blobId: string;\n content: string | Buffer;\n contentLength: number;\n dateModified: string;\n utcDateModified: string;\n}\n\nexport type AttributeType = \"label\" | \"relation\" | \"label-definition\" | \"relation-definition\";\n\nexport interface AttributeRow {\n attributeId?: string;\n noteId?: string;\n type: AttributeType;\n name: string;\n position?: number | null;\n value?: string;\n isInheritable?: boolean;\n utcDateModified?: string;\n}\n\nexport interface BranchRow {\n branchId?: string;\n noteId: string;\n parentNoteId: string;\n prefix?: string | null;\n notePosition?: number | null;\n isExpanded?: boolean;\n isDeleted?: boolean;\n utcDateModified?: string;\n}\n\n/**\n * There are many different Note types, some of which are entirely opaque to the\n * end user. Those types should be used only for checking against, they are\n * not for direct use.\n */\nexport const ALLOWED_NOTE_TYPES = [\n \"file\",\n \"image\",\n \"search\",\n \"noteMap\",\n \"launcher\",\n \"doc\",\n \"contentWidget\",\n \"text\",\n \"relationMap\",\n \"render\",\n \"canvas\",\n \"mermaid\",\n \"book\",\n \"webView\",\n \"code\",\n \"mindMap\",\n \"geoMap\"\n] as const;\nexport type NoteType = (typeof ALLOWED_NOTE_TYPES)[number];\n\nexport interface NoteRow {\n noteId: string;\n deleteId: string;\n title: string;\n type: NoteType;\n mime: string;\n isProtected: boolean;\n isDeleted: boolean;\n blobId: string;\n dateCreated: string;\n dateModified: string;\n utcDateCreated: string;\n utcDateModified: string;\n content?: string | Buffer;\n}\n\nexport interface NoteEmbeddingRow {\n embedId: string;\n noteId: string;\n providerId: string;\n modelId: string;\n dimension: number;\n embedding: Buffer;\n version: number;\n dateCreated: string;\n utcDateCreated: string;\n dateModified: string;\n utcDateModified: string;\n}\n"],"names":["ALLOWED_NOTE_TYPES"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,yFAAyF;AACzF,wEAAwE;AAmGxE;;;;CAIC,GACD,OAAO,MAAMA,qBAAqB;IAC9B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACH,CAAU"} \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js b/.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js new file mode 100644 index 000000000..fcba894b6 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js @@ -0,0 +1,55 @@ +/** + * Reads the level of indentation of the first line and trims the identation for all the text by that amount. + * + * For example, for: + * + * ```json + * { + * "hello": "world" + * } + * ``` + * + * it results in: + * + * ```json + * { + * "hello": "world" + * } + * ``` + * + * This is meant to be used as a template string, where it allows the indentation of the template without affecting whitespace changes. + * + * @example const html = trimIndentation`\ + *

Heading 1

+ *

Heading 2

+ *

Heading 3

+ *

Heading 4

+ *
Heading 5
+ *
Heading 6
+ * `; + * @param strings + * @returns + */ export function trimIndentation(strings, ...values) { + // Combine the strings with the values using interpolation + let str = strings.reduce((acc, curr, index)=>{ + return acc + curr + (values[index] !== undefined ? values[index] : ''); + }, ''); + // Count the number of spaces on the first line. + let numSpaces = 0; + while(str.charAt(numSpaces) == " " && numSpaces < str.length){ + numSpaces++; + } + // Trim the indentation of the first line in all the lines. + const lines = str.split("\n"); + const output = []; + for(let i = 0; i < lines.length; i++){ + let numSpacesLine = 0; + while(str.charAt(numSpacesLine) == " " && numSpacesLine < str.length){ + numSpacesLine++; + } + output.push(lines[i].substring(numSpacesLine)); + } + return output.join("\n"); +} + +//# sourceMappingURL=test-utils.js.map \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js.map b/.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js.map new file mode 100644 index 000000000..e889b05e2 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../src/lib/test-utils.ts"],"sourcesContent":["/**\n * Reads the level of indentation of the first line and trims the identation for all the text by that amount.\n *\n * For example, for:\n *\n * ```json\n * {\n * \"hello\": \"world\"\n * }\n * ```\n *\n * it results in:\n *\n * ```json\n * {\n * \"hello\": \"world\"\n * }\n * ```\n *\n * This is meant to be used as a template string, where it allows the indentation of the template without affecting whitespace changes.\n *\n * @example const html = trimIndentation`\\\n *

Heading 1

\n *

Heading 2

\n *

Heading 3

\n *

Heading 4

\n *
Heading 5
\n *
Heading 6
\n * `;\n * @param strings\n * @returns\n */\nexport function trimIndentation(strings: TemplateStringsArray, ...values: any[]) {\n // Combine the strings with the values using interpolation\n let str = strings.reduce((acc, curr, index) => {\n return acc + curr + (values[index] !== undefined ? values[index] : '');\n }, '');\n\n // Count the number of spaces on the first line.\n let numSpaces = 0;\n while (str.charAt(numSpaces) == \" \" && numSpaces < str.length) {\n numSpaces++;\n }\n\n // Trim the indentation of the first line in all the lines.\n const lines = str.split(\"\\n\");\n const output = [];\n for (let i = 0; i < lines.length; i++) {\n let numSpacesLine = 0;\n while (str.charAt(numSpacesLine) == \" \" && numSpacesLine < str.length) {\n numSpacesLine++;\n }\n output.push(lines[i].substring(numSpacesLine));\n }\n return output.join(\"\\n\");\n}\n"],"names":["trimIndentation","strings","values","str","reduce","acc","curr","index","undefined","numSpaces","charAt","length","lines","split","output","i","numSpacesLine","push","substring","join"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BC,GACD,OAAO,SAASA,gBAAgBC,OAA6B,EAAE,GAAGC,MAAa;IAC3E,0DAA0D;IAC1D,IAAIC,MAAMF,QAAQG,MAAM,CAAC,CAACC,KAAKC,MAAMC;QACjC,OAAOF,MAAMC,OAAQJ,CAAAA,MAAM,CAACK,MAAM,KAAKC,YAAYN,MAAM,CAACK,MAAM,GAAG,EAAC;IACxE,GAAG;IAEH,gDAAgD;IAChD,IAAIE,YAAY;IAChB,MAAON,IAAIO,MAAM,CAACD,cAAc,OAAOA,YAAYN,IAAIQ,MAAM,CAAE;QAC3DF;IACJ;IAEA,2DAA2D;IAC3D,MAAMG,QAAQT,IAAIU,KAAK,CAAC;IACxB,MAAMC,SAAS,EAAE;IACjB,IAAK,IAAIC,IAAI,GAAGA,IAAIH,MAAMD,MAAM,EAAEI,IAAK;QACnC,IAAIC,gBAAgB;QACpB,MAAOb,IAAIO,MAAM,CAACM,kBAAkB,OAAOA,gBAAgBb,IAAIQ,MAAM,CAAE;YACnEK;QACJ;QACAF,OAAOG,IAAI,CAACL,KAAK,CAACG,EAAE,CAACG,SAAS,CAACF;IACnC;IACA,OAAOF,OAAOK,IAAI,CAAC;AACvB"} \ No newline at end of file diff --git a/.nx/cache/12848961712880147784/packages/commons/dist/tsconfig.lib.tsbuildinfo b/.nx/cache/12848961712880147784/packages/commons/dist/tsconfig.lib.tsbuildinfo new file mode 100644 index 000000000..4e1f61b64 --- /dev/null +++ b/.nx/cache/12848961712880147784/packages/commons/dist/tsconfig.lib.tsbuildinfo @@ -0,0 +1 @@ +{"version":"5.7.3"} \ No newline at end of file diff --git a/.nx/cache/run.json b/.nx/cache/run.json new file mode 100644 index 000000000..edf601eb4 --- /dev/null +++ b/.nx/cache/run.json @@ -0,0 +1,21 @@ +{ + "run": { + "command": "nx test commons", + "startTime": "2025-04-22T12:06:29.829Z", + "endTime": "2025-04-22T12:06:30.546Z", + "inner": false + }, + "tasks": [ + { + "taskId": "@triliumnext/commons:test", + "target": "test", + "projectName": "@triliumnext/commons", + "hash": "304969377575151971", + "startTime": "2025-04-22T12:06:29.839Z", + "endTime": "2025-04-22T12:06:30.537Z", + "params": "", + "cacheStatus": "cache-miss", + "status": 0 + } + ] +} \ No newline at end of file diff --git a/.nx/cache/terminalOutputs/12848961712880147784 b/.nx/cache/terminalOutputs/12848961712880147784 new file mode 100644 index 000000000..f24b6cec8 --- /dev/null +++ b/.nx/cache/terminalOutputs/12848961712880147784 @@ -0,0 +1,2 @@ +Compiling with SWC for @triliumnext/commons... + diff --git a/.nx/cache/terminalOutputs/304969377575151971 b/.nx/cache/terminalOutputs/304969377575151971 new file mode 100644 index 000000000..7369e9593 --- /dev/null +++ b/.nx/cache/terminalOutputs/304969377575151971 @@ -0,0 +1,21 @@ +> vitest + +[?25l + RUN  v3.1.2 /home/elian/Projects/TriliumNext/Notes/packages/commons + +[?2026h + ❯ src/lib/test-utils.spec.ts [queued] + + Test Files 0 passed (1) + Tests 0 passed (0) + Start at 15:06:30 + Duration 300ms +[?2026l ✓ src/lib/test-utils.spec.ts (1 test) 3ms + ✓ Utils > trims indentation 2ms + + Test Files  1 passed (1) + Tests  1 passed (1) + Start at  15:06:30 + Duration  365ms (transform 48ms, setup 0ms, collect 31ms, tests 3ms, environment 0ms, prepare 100ms) + +[?25h \ No newline at end of file diff --git a/.nx/workspace-data/d/daemon.log b/.nx/workspace-data/d/daemon.log index 5363b6dda..365f56914 100644 --- a/.nx/workspace-data/d/daemon.log +++ b/.nx/workspace-data/d/daemon.log @@ -141,3 +141,170 @@ [NX v20.8.0 Daemon Server] - 2025-04-22T11:44:40.452Z - [WATCHER]: Stopping the watcher for /home/elian/Projects/TriliumNext/Notes (sources) [NX v20.8.0 Daemon Server] - 2025-04-22T11:44:40.452Z - [WATCHER]: Stopping the watcher for /home/elian/Projects/TriliumNext/Notes (outputs) [NX v20.8.0 Daemon Server] - 2025-04-22T11:44:40.453Z - Server stopped because: "Stopping the daemon the set of ignored files changed (native)" +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.394Z - Started listening on: /tmp/32649d4e7241f504a54b/d.sock +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.395Z - [WATCHER]: Subscribed to changes within: /home/elian/Projects/TriliumNext/Notes (native) +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.398Z - Established a connection. Number of open connections: 1 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.399Z - Established a connection. Number of open connections: 2 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.400Z - Closed a connection. Number of open connections: 1 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.401Z - [REQUEST]: Client Request for Project Graph Received +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.563Z - Time taken for 'Load Nx Plugin: /home/elian/Projects/TriliumNext/Notes/node_modules/nx/src/plugins/js' 160.201567ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.574Z - Time taken for 'Load Nx Plugin: /home/elian/Projects/TriliumNext/Notes/node_modules/nx/src/plugins/package-json' 171.48056000000003ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.576Z - Time taken for 'loadDefaultNxPlugins' 173.46107899999998ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.602Z - Time taken for 'Load Nx Plugin: @nx/eslint/plugin' 199.80187ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.610Z - Time taken for 'Load Nx Plugin: @nx/js/typescript' 208.775493ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.640Z - [REQUEST]: Updated workspace context based on watched changes, recomputing project graph... +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.640Z - [REQUEST]: +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.640Z - [REQUEST]: +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.649Z - Time taken for 'loadSpecifiedNxPlugins' 237.743504ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.650Z - Established a connection. Number of open connections: 2 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.650Z - Closed a connection. Number of open connections: 1 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.651Z - Established a connection. Number of open connections: 2 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.651Z - Established a connection. Number of open connections: 3 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.653Z - [REQUEST]: Responding to the client. handleGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.653Z - Done responding to the client handleGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.653Z - Handled GLOB. Handling time: 2. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.654Z - Established a connection. Number of open connections: 4 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.654Z - Closed a connection. Number of open connections: 3 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.655Z - [REQUEST]: Responding to the client. handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.655Z - Done responding to the client handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.655Z - Handled HASH_GLOB. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.657Z - [REQUEST]: Responding to the client. handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.658Z - Done responding to the client handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:43.658Z - Handled HASH_GLOB. Handling time: 1. Response time: 1. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.446Z - Time taken for 'build-project-configs' 780.802957ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.451Z - Time taken for '@nx/vite/plugin:createDependencies' 8.71246300000007ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.451Z - Time taken for '@nx/js/typescript:createDependencies' 10.840796999999839ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.498Z - [SYNC]: collect registered sync generators +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.498Z - [SYNC]: scheduling: ["@nx/js:typescript-sync"] +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.498Z - [REQUEST]: Responding to the client. project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.499Z - Time taken for 'total for creating and serializing project graph' 1097.3715750000001ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.499Z - Done responding to the client project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.499Z - Handled REQUEST_PROJECT_GRAPH. Handling time: 1097. Response time: 1. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.504Z - [REQUEST]: Responding to the client. handleRunPreTasksExecution +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.504Z - Done responding to the client handleRunPreTasksExecution +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.504Z - Handled PRE_TASKS_EXECUTION. Handling time: 0. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.504Z - Time taken for 'preTasksExecution' 0.3649589999999989ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.566Z - [REQUEST]: Responding to the client. handleHashTasks +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.566Z - Done responding to the client handleHashTasks +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.566Z - Handled HASH_TASKS. Handling time: 7. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.575Z - [REQUEST]: Responding to the client. handleGetEstimatedTaskTimings +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.575Z - Done responding to the client handleGetEstimatedTaskTimings +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.575Z - Handled GET_ESTIMATED_TASK_TIMINGS. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.598Z - [SYNC]: running scheduled generator @nx/js:typescript-sync +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.797Z - Established a connection. Number of open connections: 4 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.798Z - Established a connection. Number of open connections: 5 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.798Z - Closed a connection. Number of open connections: 4 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.799Z - [REQUEST]: Client Request for Project Graph Received +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.799Z - [REQUEST]: Responding to the client. project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.799Z - Time taken for 'total for creating and serializing project graph' 0.17036400000006324ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.800Z - Done responding to the client project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.800Z - Handled REQUEST_PROJECT_GRAPH. Handling time: 0. Response time: 1. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.803Z - [SYNC]: @nx/js:typescript-sync changes: +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:44.803Z - Time taken for 'run-sync-generator:@nx/js:typescript-sync' 204.32762200000002ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.046Z - [WATCHER]: 16 file(s) created or restored, 0 file(s) modified, 0 file(s) deleted +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.048Z - [WATCHER]: Processing file changes in outputs +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.148Z - [REQUEST]: Updated workspace context based on watched changes, recomputing project graph... +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.148Z - [REQUEST]: packages/commons/dist/lib/i18n.js,packages/commons/dist/lib/rows.js,packages/commons/dist/lib/hidden_subtree.js,packages/commons/dist/lib/test-utils.js.map,packages/commons/dist/lib/index.js,packages/commons/dist/lib/options_interface.js,packages/commons/dist/lib/i18n.js.map,packages/commons/dist/lib/keyboard_actions_interface.js.map,packages/commons/dist/index.js.map,packages/commons/dist/lib/test-utils.js,packages/commons/dist/lib/hidden_subtree.js.map,packages/commons/dist/index.js,packages/commons/dist/lib/index.js.map,packages/commons/dist/lib/options_interface.js.map,packages/commons/dist/lib/rows.js.map,packages/commons/dist/lib/keyboard_actions_interface.js +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.148Z - [REQUEST]: +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.155Z - [REQUEST]: Responding to the client. handleGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.155Z - Done responding to the client handleGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.155Z - Handled GLOB. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.156Z - Time taken for 'hash changed files from watcher' 1.3690389999999297ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.157Z - [REQUEST]: Responding to the client. handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.157Z - Done responding to the client handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.157Z - Handled HASH_GLOB. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.159Z - [REQUEST]: Responding to the client. handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.159Z - Done responding to the client handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.159Z - Handled HASH_GLOB. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.189Z - Time taken for 'build-project-configs' 30.09471099999996ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.191Z - Time taken for '@nx/js/typescript:createDependencies' 5.747974999999997ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.206Z - [SYNC]: collect registered sync generators +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.206Z - [SYNC]: project graph hash is the same, not collecting task sync generators +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.206Z - [SYNC]: nx.json hash is the same, not collecting global sync generators +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.206Z - [SYNC]: scheduling: ["@nx/js:typescript-sync"] +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.206Z - Time taken for 'total execution time for createProjectGraph()' 15.297562999999855ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.406Z - [SYNC]: running scheduled generator @nx/js:typescript-sync +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.407Z - [REQUEST]: Client Request for Project Graph Received +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.408Z - [REQUEST]: Responding to the client. project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.408Z - Time taken for 'total for creating and serializing project graph' 0.14946599999984755ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.408Z - Done responding to the client project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.408Z - Handled REQUEST_PROJECT_GRAPH. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.411Z - [SYNC]: @nx/js:typescript-sync changes: +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.411Z - Time taken for 'run-sync-generator:@nx/js:typescript-sync' 4.097105000000283ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.729Z - [REQUEST]: Responding to the client. recordOutputsHash +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.730Z - Done responding to the client recordOutputsHash +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.730Z - Handled RECORD_OUTPUTS_HASH. Handling time: 2. Response time: 1. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.757Z - [REQUEST]: Responding to the client. handleRecordTaskRuns +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.757Z - Done responding to the client handleRecordTaskRuns +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.757Z - Handled RECORD_TASK_RUNS. Handling time: 13. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.758Z - [WATCHER]: packages/commons/dist/tsconfig.lib.tsbuildinfo was created or restored +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.758Z - [WATCHER]: Processing file changes in outputs +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.758Z - [REQUEST]: Responding to the client. handleGetFlakyTasks +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.758Z - Done responding to the client handleGetFlakyTasks +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.758Z - Handled GET_FLAKY_TASKS. Handling time: 0. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.761Z - [REQUEST]: Responding to the client. handleRunPostTasksExecution +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.761Z - Done responding to the client handleRunPostTasksExecution +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.761Z - Handled POST_TASKS_EXECUTION. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.761Z - Time taken for 'postTasksExecution' 0.22150300000021161ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.770Z - Closed a connection. Number of open connections: 3 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.858Z - [REQUEST]: Updated workspace context based on watched changes, recomputing project graph... +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.858Z - [REQUEST]: packages/commons/dist/tsconfig.lib.tsbuildinfo +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.858Z - [REQUEST]: +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.866Z - [REQUEST]: Responding to the client. handleGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.866Z - Done responding to the client handleGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.866Z - Handled GLOB. Handling time: 2. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.866Z - Time taken for 'hash changed files from watcher' 0.9898899999998321ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.867Z - [REQUEST]: Responding to the client. handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.867Z - Done responding to the client handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.867Z - Handled HASH_GLOB. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.870Z - [REQUEST]: Responding to the client. handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.870Z - Done responding to the client handleHashMultiGlob +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.870Z - Handled HASH_GLOB. Handling time: 2. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.896Z - Time taken for 'build-project-configs' 27.499289999999746ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.899Z - Time taken for '@nx/vite/plugin:createDependencies' 4.688506999999845ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.899Z - Time taken for '@nx/js/typescript:createDependencies' 6.085484000000179ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.912Z - [SYNC]: collect registered sync generators +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.912Z - [SYNC]: project graph hash is the same, not collecting task sync generators +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.912Z - [SYNC]: nx.json hash is the same, not collecting global sync generators +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.912Z - [SYNC]: scheduling: ["@nx/js:typescript-sync"] +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:45.912Z - Time taken for 'total execution time for createProjectGraph()' 14.347531999999774ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:46.312Z - [SYNC]: running scheduled generator @nx/js:typescript-sync +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:46.313Z - [REQUEST]: Client Request for Project Graph Received +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:46.314Z - [REQUEST]: Responding to the client. project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:46.314Z - Time taken for 'total for creating and serializing project graph' 0.20118299999967348ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:46.314Z - Done responding to the client project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:46.314Z - Handled REQUEST_PROJECT_GRAPH. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:46.318Z - [SYNC]: @nx/js:typescript-sync changes: +[NX v20.8.0 Daemon Server] - 2025-04-22T12:05:46.318Z - Time taken for 'run-sync-generator:@nx/js:typescript-sync' 5.457574000000022ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.777Z - Established a connection. Number of open connections: 4 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.777Z - Closed a connection. Number of open connections: 3 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.778Z - Established a connection. Number of open connections: 4 +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.779Z - [REQUEST]: Client Request for Project Graph Received +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.779Z - [REQUEST]: Responding to the client. project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.779Z - Time taken for 'total for creating and serializing project graph' 0.1761049999986426ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.780Z - Done responding to the client project-graph +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.780Z - Handled REQUEST_PROJECT_GRAPH. Handling time: 0. Response time: 1. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.784Z - [REQUEST]: Responding to the client. handleRunPreTasksExecution +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.784Z - Done responding to the client handleRunPreTasksExecution +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.784Z - Handled PRE_TASKS_EXECUTION. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.784Z - Time taken for 'preTasksExecution' 0.1197969999993802ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.806Z - [REQUEST]: Responding to the client. handleHashTasks +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.806Z - Done responding to the client handleHashTasks +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.806Z - Handled HASH_TASKS. Handling time: 5. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.836Z - [REQUEST]: Responding to the client. handleGetEstimatedTaskTimings +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.836Z - Done responding to the client handleGetEstimatedTaskTimings +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:29.836Z - Handled GET_ESTIMATED_TASK_TIMINGS. Handling time: 0. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.538Z - [REQUEST]: Responding to the client. recordOutputsHash +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.538Z - Done responding to the client recordOutputsHash +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.538Z - Handled RECORD_OUTPUTS_HASH. Handling time: 1. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.554Z - [REQUEST]: Responding to the client. handleRecordTaskRuns +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.554Z - Done responding to the client handleRecordTaskRuns +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.554Z - Handled RECORD_TASK_RUNS. Handling time: 6. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.555Z - [REQUEST]: Responding to the client. handleGetFlakyTasks +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.555Z - Done responding to the client handleGetFlakyTasks +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.555Z - Handled GET_FLAKY_TASKS. Handling time: 0. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.557Z - [REQUEST]: Responding to the client. handleRunPostTasksExecution +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.557Z - Done responding to the client handleRunPostTasksExecution +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.557Z - Handled POST_TASKS_EXECUTION. Handling time: 0. Response time: 0. +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.557Z - Time taken for 'postTasksExecution' 0.09569699999701697ms +[NX v20.8.0 Daemon Server] - 2025-04-22T12:06:30.565Z - Closed a connection. Number of open connections: 3 diff --git a/.nx/workspace-data/d/server-process.json b/.nx/workspace-data/d/server-process.json new file mode 100644 index 000000000..0fab18a62 --- /dev/null +++ b/.nx/workspace-data/d/server-process.json @@ -0,0 +1,3 @@ +{ + "processId": 1874608 +} diff --git a/.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db b/.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db new file mode 100644 index 0000000000000000000000000000000000000000..7ee7c113a09428e4daafacb6e70a35d18573e608 GIT binary patch literal 4096 zcmWFz^vNtqRY=P(%1ta$FlG>7U}9o$P*7lCU|@t|AVoG{WYDWB;00+HAlr;ljiVtj n8UmvsFd71*Aut*OqaiRF0;3@?8UmvsFd71*Aut*O6ovo*4{!$i literal 0 HcmV?d00001 diff --git a/.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db-shm b/.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db-shm new file mode 100644 index 0000000000000000000000000000000000000000..33b68d836e31939ba7a61ce69fe1974f4d520043 GIT binary patch literal 32768 zcmeI)IZgvX5CzaOc)?~fW*Z=a0LcM|;1Hz987W8*kdq>D7!Cwn1iCFOO+Z3|Eb5h1 zvoHPM0jl}9h+3o4orv+t_wn=7&HLbLcKEXuivg!zx&y$ z`Nh_z{5w`kua>UI-O|0*zFzB>9+X}yUC)Q5>$(^F_Wi~CKiw;@C;|is5FkK+009C7 z2oNAZfB*pk1PBlyK!5-N0t5&UAV7cs0RjXF5FkK+009C72oNAZfB*pk1PBlyK!5-N z0t5&UAV7csfu#`WlsOZ_*j$RWSOkH;6{z!86oH%qb<&U`kW-*nCTZ>Gj4pM0fqt1G zcaUBIKu&>COyVeKbg9z|tjBH~r&j=wQ(zD@VGwXU=S{{l}|Y zoBkyh$%V_+Ye&v{>$ffpey%sJYw9z})Ko-Q+r-v3o7APMVqKfKR~XymCS&``{ET=u z_g64q>ZMI;nmtydd?eYFW=UyQE|pq|We6aE00IagfB*srAbJraxPk^Hl*C*EO2_tOYjFT@2k6(YKGd*W*nMI9!k)r8`~8?lV1B31#|!-TpO;>I?bI)RZsZZ< zN)oK?70J;MKmY**5I_I{1Q0*~0R#|0U@ZlV|NYzZ{Q`eEy?yuJ(nqctc?9$etmVhR zu@FE20R#|0009ILKmY**5V$7-mUw|*2YN@l{ZD=}TX%3lQWoyXIdM<~5I_I{1Q0*~ z0R#|0009ILxJ`jp+3xkaB~NQddq?M9k59blXz{fBd>!pwdMZ8{&rBt>X}vj`oSI4| z(qozUWK0~w5-%|D=zDcFQ|}zj)*ZYqDc5iFBv>5*1Q0*~0R#|0009ILKmY**)}4U6 z!s{y4VIWS_Qg?7}|KZw;-+v^tLfygq7>7nXjd%ky=D?T{lexd_%Vi&JQq%0Q8s#I& z`M~Robq6;+yQxmhG9iEf0tg_000IagfWWE+dYuk;eS@r-LzWx0-@@_Ov{^K5BA(Wh zshO%=@wh!O?aQEF}%f|T!?PiI)Q{y*F+~v-!@c0hP-U{C-QQ|HhQv<;v|Kt8p;rQ=r_wZ1E zASia!=MUZ-BEGncomnBzGK_rjI->rbo=IEBjxSy-nv7|Sr?PzAJh8Kst_}tI{DVW? zeFL|s#HS@c_~!Hdao@ zXEpJZ&mLc4&nYdUYq4;oFn9Za|6uoU?~vLv91_{qL*d1&?&9ol z+gnu|J6#TU-ws(a6P=3^pDiCw*khTkroO=9bx3^y>I=ljGpUFkPbRXzr>tcae3cIO zp@!vt%r;nk0hjTYEFUj$qHC<@%GlK(kVml2|Gsm22q1s}0tg_000IagfB*sr+#Lbq zfB)6_eu2(S{x>d%Ui>V11a}9Qy&!-90tg_000IagfB*srAh6B_Eb#)Pm5-iodoA)u zBVIsOekO?<69NbzfB*srAbTV-o&^R#xfcXaOc_{58j7Eim+ z*U>)wjn5N%iRet`d=oQ&`eCvyX#%b{6`vuy% zzW2+|T(G~C?HBk^Qa;>3cr+CO1Q0*~0R#|0009ILKmdXJTR@R38eHah3ls6Qo=nY% z=2nUOV%@=S{o&QE*XDlmK6wQ9_k}>~5I_I{1Q0*~0R#|0009IxmcT9Y2r3PUe7wNr zfp=g2?%>Q-BVNF!d`D6i!~+uo2q1s}0tg_000IagfB*srthGS1&F=BmN^LFeoqIdm zd_J$w>+yOzeV#5o6`zb}rV`q;-W*L%O(hd)T}$h&vfb--OQkXhN^LThiBHBvqwM0o z7%%YV$#d_GCQg6ah!?OazZG={#RC%p2q1s}0tg_000IagfB*srl!w4W6&|^`E5UY) zcmc~eg@IG=&s~te`cO7rU{;J%sLYl}!#PU?5I_I{1Q0*~0R#|0009KbNubN-@ED^E z7JrGa_|cL91^4c2Ybmkl|1nPC6QkEY^{(=pVd4eK>007k5kLR|1Q0*~0R#|0009IL z$O+tjynuC_!c)6OE