mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(nx): prepare commons
This commit is contained in:
parent
84b6764166
commit
41cf38a26c
3
.nx/cache/12848961712880147784/packages/commons/dist/index.js
vendored
Normal file
3
.nx/cache/12848961712880147784/packages/commons/dist/index.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export * from './lib/commons.js';
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
1
.nx/cache/12848961712880147784/packages/commons/dist/index.js.map
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/index.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './lib/commons.js';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mBAAmB"}
|
12
.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js
vendored
Normal file
12
.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js
vendored
Normal file
@ -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
|
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js.map
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/hidden_subtree.js.map
vendored
Normal file
@ -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"}
|
3
.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js
vendored
Normal file
3
.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export { };
|
||||
|
||||
//# sourceMappingURL=i18n.js.map
|
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js.map
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/i18n.js.map
vendored
Normal file
@ -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"}
|
8
.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js
vendored
Normal file
8
.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js
vendored
Normal file
@ -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
|
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js.map
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/index.js.map
vendored
Normal file
@ -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"}
|
4
.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js
vendored
Normal file
4
.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
var KeyboardActionNamesEnum;
|
||||
export { };
|
||||
|
||||
//# sourceMappingURL=keyboard_actions_interface.js.map
|
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js.map
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/keyboard_actions_interface.js.map
vendored
Normal file
@ -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"}
|
3
.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js
vendored
Normal file
3
.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export { };
|
||||
|
||||
//# sourceMappingURL=options_interface.js.map
|
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js.map
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/options_interface.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
27
.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js
vendored
Normal file
27
.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js
vendored
Normal file
@ -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
|
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js.map
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/rows.js.map
vendored
Normal file
@ -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"}
|
55
.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js
vendored
Normal file
55
.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js
vendored
Normal file
@ -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`\
|
||||
* <h1>Heading 1</h1>
|
||||
* <h2>Heading 2</h2>
|
||||
* <h3>Heading 3</h3>
|
||||
* <h4>Heading 4</h4>
|
||||
* <h5>Heading 5</h5>
|
||||
* <h6>Heading 6</h6>
|
||||
* `;
|
||||
* @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
|
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js.map
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/lib/test-utils.js.map
vendored
Normal file
@ -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 * <h1>Heading 1</h1>\n * <h2>Heading 2</h2>\n * <h3>Heading 3</h3>\n * <h4>Heading 4</h4>\n * <h5>Heading 5</h5>\n * <h6>Heading 6</h6>\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"}
|
1
.nx/cache/12848961712880147784/packages/commons/dist/tsconfig.lib.tsbuildinfo
vendored
Normal file
1
.nx/cache/12848961712880147784/packages/commons/dist/tsconfig.lib.tsbuildinfo
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":"5.7.3"}
|
21
.nx/cache/run.json
vendored
Normal file
21
.nx/cache/run.json
vendored
Normal file
@ -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
|
||||
}
|
||||
]
|
||||
}
|
2
.nx/cache/terminalOutputs/12848961712880147784
vendored
Normal file
2
.nx/cache/terminalOutputs/12848961712880147784
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
Compiling with SWC for @triliumnext/commons...
|
||||
|
21
.nx/cache/terminalOutputs/304969377575151971
vendored
Normal file
21
.nx/cache/terminalOutputs/304969377575151971
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
[2m> [22mvitest
|
||||
|
||||
[?25l
|
||||
[1m[46m RUN [49m[22m [36mv3.1.2 [39m[90m/home/elian/Projects/TriliumNext/Notes/packages/commons[39m
|
||||
|
||||
[?2026h
|
||||
[1m[33m ❯ [39m[22msrc/lib/test-utils.spec.ts[2m [queued][22m
|
||||
|
||||
[2m Test Files [22m[1m[32m0 passed[39m[22m[90m (1)[39m
|
||||
[2m Tests [22m[1m[32m0 passed[39m[22m[90m (0)[39m
|
||||
[2m Start at [22m15:06:30
|
||||
[2m Duration [22m300ms
|
||||
[?2026l[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K[1A[K [32m✓[39m src/lib/test-utils.spec.ts [2m([22m[2m1 test[22m[2m)[22m[32m 3[2mms[22m[39m
|
||||
[32m✓[39m Utils[2m > [22mtrims indentation[32m 2[2mms[22m[39m
|
||||
|
||||
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
||||
[2m Tests [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
||||
[2m Start at [22m 15:06:30
|
||||
[2m Duration [22m 365ms[2m (transform 48ms, setup 0ms, collect 31ms, tests 3ms, environment 0ms, prepare 100ms)[22m
|
||||
|
||||
[?25h
|
@ -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
|
||||
|
3
.nx/workspace-data/d/server-process.json
Normal file
3
.nx/workspace-data/d/server-process.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"processId": 1874608
|
||||
}
|
BIN
.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db
Normal file
BIN
.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db
Normal file
Binary file not shown.
BIN
.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db-shm
Normal file
BIN
.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db-shm
Normal file
Binary file not shown.
BIN
.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db-wal
Normal file
BIN
.nx/workspace-data/e18ca523839d47128dbab4548c9c1635.db-wal
Normal file
Binary file not shown.
@ -1 +1,131 @@
|
||||
{}
|
||||
{
|
||||
"16229678470974705206": {},
|
||||
"4970943813007376036": {
|
||||
"packages/commons": {
|
||||
"targets": {
|
||||
"lint": {
|
||||
"command": "eslint .",
|
||||
"cache": true,
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"inputs": [
|
||||
"default",
|
||||
"^default",
|
||||
"{workspaceRoot}/eslint.config.mjs",
|
||||
"{projectRoot}/eslint.config.mjs",
|
||||
"{workspaceRoot}/tools/eslint-rules/**/*",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"eslint"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
],
|
||||
"metadata": {
|
||||
"technologies": [
|
||||
"eslint"
|
||||
],
|
||||
"description": "Runs ESLint on project",
|
||||
"help": {
|
||||
"command": "npx eslint --help",
|
||||
"example": {
|
||||
"options": {
|
||||
"max-warnings": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"1743079586757184531": {},
|
||||
"8425065836470397856": {
|
||||
"packages/commons": {
|
||||
"targets": {
|
||||
"lint": {
|
||||
"command": "eslint .",
|
||||
"cache": true,
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"inputs": [
|
||||
"default",
|
||||
"^default",
|
||||
"{workspaceRoot}/eslint.config.mjs",
|
||||
"{projectRoot}/eslint.config.mjs",
|
||||
"{workspaceRoot}/tools/eslint-rules/**/*",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"eslint"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
],
|
||||
"metadata": {
|
||||
"technologies": [
|
||||
"eslint"
|
||||
],
|
||||
"description": "Runs ESLint on project",
|
||||
"help": {
|
||||
"command": "npx eslint --help",
|
||||
"example": {
|
||||
"options": {
|
||||
"max-warnings": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"16805661989031912905": {},
|
||||
"9641909216406581511": {
|
||||
"packages/commons": {
|
||||
"targets": {
|
||||
"lint": {
|
||||
"command": "eslint .",
|
||||
"cache": true,
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"inputs": [
|
||||
"default",
|
||||
"^default",
|
||||
"{workspaceRoot}/eslint.config.mjs",
|
||||
"{projectRoot}/eslint.config.mjs",
|
||||
"{workspaceRoot}/tools/eslint-rules/**/*",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"eslint"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
"{options.outputFile}"
|
||||
],
|
||||
"metadata": {
|
||||
"technologies": [
|
||||
"eslint"
|
||||
],
|
||||
"description": "Runs ESLint on project",
|
||||
"help": {
|
||||
"command": "npx eslint --help",
|
||||
"example": {
|
||||
"options": {
|
||||
"max-warnings": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
15041238226877418184
|
||||
15598048054050703183
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1 +1,328 @@
|
||||
{}
|
||||
{
|
||||
"packages/commons": {
|
||||
"root": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"projectType": [
|
||||
"packages/commons/tsconfig.spec.json",
|
||||
"@nx/js/typescript"
|
||||
],
|
||||
"targets": [
|
||||
"packages/commons/tsconfig.json",
|
||||
"@nx/js/typescript"
|
||||
],
|
||||
"targets.typecheck": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.dependsOn": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.options": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.cache": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.inputs": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.outputs": [
|
||||
"packages/commons/tsconfig.json",
|
||||
"@nx/js/typescript"
|
||||
],
|
||||
"targets.typecheck.syncGenerators": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.metadata": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.executor": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.options.cwd": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.options.command": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.metadata.technologies": [
|
||||
"packages/commons/tsconfig.json",
|
||||
"@nx/js/typescript"
|
||||
],
|
||||
"targets.typecheck.metadata.technologies.0": [
|
||||
"packages/commons/tsconfig.json",
|
||||
"@nx/js/typescript"
|
||||
],
|
||||
"targets.typecheck.metadata.description": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.metadata.help": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.metadata.help.command": [
|
||||
"packages/commons/tsconfig.json",
|
||||
"@nx/js/typescript"
|
||||
],
|
||||
"targets.typecheck.metadata.help.example": [
|
||||
"packages/commons/tsconfig.json",
|
||||
"@nx/js/typescript"
|
||||
],
|
||||
"targets.watch-deps": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.watch-deps.dependsOn": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.watch-deps.executor": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.watch-deps.options": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.watch-deps.options.command": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.lint": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.cache": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.options": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.inputs": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.outputs": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.metadata": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.executor": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.options.cwd": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.options.command": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.metadata.technologies": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.metadata.technologies.0": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.metadata.description": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.metadata.help": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.metadata.help.command": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.lint.metadata.help.example": [
|
||||
"packages/commons/eslint.config.mjs",
|
||||
"@nx/eslint/plugin"
|
||||
],
|
||||
"targets.test": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.options": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.cache": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.inputs": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.outputs": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.metadata": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.executor": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.options.cwd": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.options.command": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.metadata.technologies": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.metadata.technologies.0": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.metadata.description": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.metadata.help": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.metadata.help.command": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.test.metadata.help.example": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"targets.typecheck.metadata.technologies.1": [
|
||||
"packages/commons/vite.config.ts",
|
||||
"@nx/vite/plugin"
|
||||
],
|
||||
"name": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"sourceRoot": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"tags": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"tags.npm:private": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"metadata.targetGroups": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"metadata.js": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"metadata.js.packageName": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"metadata.js.packageExports": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"metadata.js.packageMain": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"metadata.js.isInPackageManagerWorkspaces": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.executor": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.outputs": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.options": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.options.outputPath": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.options.main": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.options.tsConfig": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.options.skipTypeCheck": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.options.stripLeadingPaths": [
|
||||
"packages/commons/package.json",
|
||||
"nx/core/package-json"
|
||||
],
|
||||
"targets.build.cache": [
|
||||
"nx.json",
|
||||
"nx/target-defaults"
|
||||
],
|
||||
"targets.build.dependsOn": [
|
||||
"nx.json",
|
||||
"nx/target-defaults"
|
||||
],
|
||||
"targets.build.inputs": [
|
||||
"nx.json",
|
||||
"nx/target-defaults"
|
||||
],
|
||||
"targets.build.parallelism": [
|
||||
"nx.json",
|
||||
"nx/target-defaults"
|
||||
],
|
||||
"targets.test.dependsOn": [
|
||||
"nx.json",
|
||||
"nx/target-defaults"
|
||||
],
|
||||
"targets.test.parallelism": [
|
||||
"nx.json",
|
||||
"nx/target-defaults"
|
||||
]
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"version":1,"data":{"_regroup/tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"4035316250107280252"},"_regroup/tsconfig.webpack.json":{"data":{"options":{"outDir":"_regroup/build"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"6907118777807948892"},"_regroup_monorepo/apps/client/tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"14767859997928425739"},"_regroup_monorepo/apps/desktop/tsconfig.json":{"data":{"options":{"outDir":"_regroup_monorepo/apps/desktop/build/src"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"13836985792475651782"},"_regroup_monorepo/apps/dump-db/tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"13443438839210231598"},"_regroup_monorepo/apps/edit-docs/tsconfig.json":{"data":{"options":{"outDir":"_regroup_monorepo/apps/edit-docs/build/src"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"12225141163520618803"},"_regroup_monorepo/apps/server/tsconfig.json":{"data":{"options":{"outDir":"_regroup_monorepo/apps/server/build"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"845305129518775256"},"_regroup_monorepo/packages/commons/tsconfig.json":{"data":{"options":{"outDir":"_regroup_monorepo/packages/commons/build"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"6514291953471485556"},"tsconfig.base.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"8900268571896142108"},"tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[{"filePath":"tsconfig.base.json"}]},"extendedFilesHash":"8900268571896142108|","hash":"1379983966652230747"}}}
|
||||
{"version":1,"data":{"_regroup/tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"4035316250107280252"},"_regroup/tsconfig.webpack.json":{"data":{"options":{"outDir":"_regroup/build"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"6907118777807948892"},"_regroup_monorepo/apps/client/tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"14767859997928425739"},"_regroup_monorepo/apps/desktop/tsconfig.json":{"data":{"options":{"outDir":"_regroup_monorepo/apps/desktop/build/src"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"13836985792475651782"},"_regroup_monorepo/apps/dump-db/tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"13443438839210231598"},"_regroup_monorepo/apps/edit-docs/tsconfig.json":{"data":{"options":{"outDir":"_regroup_monorepo/apps/edit-docs/build/src"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"12225141163520618803"},"_regroup_monorepo/apps/server/tsconfig.json":{"data":{"options":{"outDir":"_regroup_monorepo/apps/server/build"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"845305129518775256"},"_regroup_monorepo/packages/commons/tsconfig.json":{"data":{"options":{"outDir":"_regroup_monorepo/packages/commons/build"},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"6514291953471485556"},"tsconfig.base.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[]},"extendedFilesHash":"","hash":"8900268571896142108"},"tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[{"filePath":"tsconfig.base.json"}],"projectReferences":[{"path":"packages/commons","originalPath":"./packages/commons"}]},"extendedFilesHash":"8900268571896142108|","hash":"15145157276445734434"},"packages/commons/tsconfig.json":{"data":{"options":{},"raw":{"nx":{}},"extendedConfigFiles":[{"filePath":"tsconfig.base.json"}],"projectReferences":[{"path":"packages/commons/tsconfig.lib.json","originalPath":"./tsconfig.lib.json"},{"path":"packages/commons/tsconfig.spec.json","originalPath":"./tsconfig.spec.json"}]},"extendedFilesHash":"8900268571896142108|","hash":"12834038490315927699"},"packages/commons/tsconfig.lib.json":{"data":{"options":{"rootDir":"packages/commons/src","outDir":"packages/commons/dist","tsBuildInfoFile":"packages/commons/dist/tsconfig.lib.tsbuildinfo"},"raw":{"nx":{}},"extendedConfigFiles":[{"filePath":"tsconfig.base.json"}]},"extendedFilesHash":"8900268571896142108|","hash":"6071029124077261918"},"packages/commons/tsconfig.spec.json":{"data":{"options":{"outDir":"packages/commons/out-tsc/vitest"},"raw":{"nx":{}},"extendedConfigFiles":[{"filePath":"tsconfig.base.json"}],"projectReferences":[{"path":"packages/commons/tsconfig.lib.json","originalPath":"./tsconfig.lib.json"}]},"extendedFilesHash":"8900268571896142108|","hash":"12757693314151657395"}}}
|
@ -1 +1,272 @@
|
||||
{}
|
||||
{
|
||||
"15881646843349715899packages/commons/vite.config.ts": {
|
||||
"targets": {
|
||||
"test": {
|
||||
"command": "vitest",
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"default",
|
||||
"^production",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"vitest"
|
||||
]
|
||||
},
|
||||
{
|
||||
"env": "CI"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
"{projectRoot}/test-output/vitest/coverage"
|
||||
],
|
||||
"metadata": {
|
||||
"technologies": [
|
||||
"vite"
|
||||
],
|
||||
"description": "Run Vite tests",
|
||||
"help": {
|
||||
"command": "npx vitest --help",
|
||||
"example": {
|
||||
"options": {
|
||||
"bail": 1,
|
||||
"coverage": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"typecheck": {
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"production",
|
||||
"^production",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"typescript"
|
||||
]
|
||||
}
|
||||
],
|
||||
"command": "tsc --build --emitDeclarationOnly",
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Runs type-checking for the project.",
|
||||
"technologies": [
|
||||
"typescript"
|
||||
],
|
||||
"help": {
|
||||
"command": "npx tsc --build --help",
|
||||
"example": {
|
||||
"args": [
|
||||
"--force"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependsOn": [
|
||||
"^typecheck"
|
||||
],
|
||||
"syncGenerators": [
|
||||
"@nx/js:typescript-sync"
|
||||
]
|
||||
},
|
||||
"build-deps": {
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
},
|
||||
"watch-deps": {
|
||||
"dependsOn": [
|
||||
"build-deps"
|
||||
],
|
||||
"command": "npx nx watch --projects @triliumnext/commons --includeDependentProjects -- npx nx build-deps @triliumnext/commons"
|
||||
}
|
||||
},
|
||||
"metadata": {},
|
||||
"projectType": "application"
|
||||
},
|
||||
"5599795979456303503packages/commons/vite.config.ts": {
|
||||
"targets": {
|
||||
"test": {
|
||||
"command": "vitest",
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"default",
|
||||
"^production",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"vitest"
|
||||
]
|
||||
},
|
||||
{
|
||||
"env": "CI"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
"{projectRoot}/test-output/vitest/coverage"
|
||||
],
|
||||
"metadata": {
|
||||
"technologies": [
|
||||
"vite"
|
||||
],
|
||||
"description": "Run Vite tests",
|
||||
"help": {
|
||||
"command": "npx vitest --help",
|
||||
"example": {
|
||||
"options": {
|
||||
"bail": 1,
|
||||
"coverage": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"typecheck": {
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"production",
|
||||
"^production",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"typescript"
|
||||
]
|
||||
}
|
||||
],
|
||||
"command": "tsc --build --emitDeclarationOnly",
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Runs type-checking for the project.",
|
||||
"technologies": [
|
||||
"typescript"
|
||||
],
|
||||
"help": {
|
||||
"command": "npx tsc --build --help",
|
||||
"example": {
|
||||
"args": [
|
||||
"--force"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependsOn": [
|
||||
"^typecheck"
|
||||
],
|
||||
"syncGenerators": [
|
||||
"@nx/js:typescript-sync"
|
||||
]
|
||||
},
|
||||
"build-deps": {
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
},
|
||||
"watch-deps": {
|
||||
"dependsOn": [
|
||||
"build-deps"
|
||||
],
|
||||
"command": "npx nx watch --projects @triliumnext/commons --includeDependentProjects -- npx nx build-deps @triliumnext/commons"
|
||||
}
|
||||
},
|
||||
"metadata": {},
|
||||
"projectType": "application"
|
||||
},
|
||||
"2742294943103602198packages/commons/vite.config.ts": {
|
||||
"targets": {
|
||||
"test": {
|
||||
"command": "vitest",
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"default",
|
||||
"^production",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"vitest"
|
||||
]
|
||||
},
|
||||
{
|
||||
"env": "CI"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
"{projectRoot}/test-output/vitest/coverage"
|
||||
],
|
||||
"metadata": {
|
||||
"technologies": [
|
||||
"vite"
|
||||
],
|
||||
"description": "Run Vite tests",
|
||||
"help": {
|
||||
"command": "npx vitest --help",
|
||||
"example": {
|
||||
"options": {
|
||||
"bail": 1,
|
||||
"coverage": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"typecheck": {
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"production",
|
||||
"^production",
|
||||
{
|
||||
"externalDependencies": [
|
||||
"typescript"
|
||||
]
|
||||
}
|
||||
],
|
||||
"command": "tsc --build --emitDeclarationOnly",
|
||||
"options": {
|
||||
"cwd": "packages/commons"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Runs type-checking for the project.",
|
||||
"technologies": [
|
||||
"typescript"
|
||||
],
|
||||
"help": {
|
||||
"command": "npx tsc --build --help",
|
||||
"example": {
|
||||
"args": [
|
||||
"--force"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependsOn": [
|
||||
"^typecheck"
|
||||
],
|
||||
"syncGenerators": [
|
||||
"@nx/js:typescript-sync"
|
||||
]
|
||||
},
|
||||
"build-deps": {
|
||||
"dependsOn": [
|
||||
"^build"
|
||||
]
|
||||
},
|
||||
"watch-deps": {
|
||||
"dependsOn": [
|
||||
"build-deps"
|
||||
],
|
||||
"command": "npx nx watch --projects @triliumnext/commons --includeDependentProjects -- npx nx build-deps @triliumnext/commons"
|
||||
}
|
||||
},
|
||||
"metadata": {},
|
||||
"projectType": "application"
|
||||
}
|
||||
}
|
3
packages/commons/dist/index.js
vendored
Normal file
3
packages/commons/dist/index.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export * from './lib/commons.js';
|
||||
|
||||
//# sourceMappingURL=index.js.map
|
1
packages/commons/dist/index.js.map
vendored
Normal file
1
packages/commons/dist/index.js.map
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './lib/commons.js';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mBAAmB"}
|
12
packages/commons/dist/lib/hidden_subtree.js
vendored
Normal file
12
packages/commons/dist/lib/hidden_subtree.js
vendored
Normal file
@ -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
|
1
packages/commons/dist/lib/hidden_subtree.js.map
vendored
Normal file
1
packages/commons/dist/lib/hidden_subtree.js.map
vendored
Normal file
@ -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"}
|
3
packages/commons/dist/lib/i18n.js
vendored
Normal file
3
packages/commons/dist/lib/i18n.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export { };
|
||||
|
||||
//# sourceMappingURL=i18n.js.map
|
1
packages/commons/dist/lib/i18n.js.map
vendored
Normal file
1
packages/commons/dist/lib/i18n.js.map
vendored
Normal file
@ -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"}
|
8
packages/commons/dist/lib/index.js
vendored
Normal file
8
packages/commons/dist/lib/index.js
vendored
Normal file
@ -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
|
1
packages/commons/dist/lib/index.js.map
vendored
Normal file
1
packages/commons/dist/lib/index.js.map
vendored
Normal file
@ -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"}
|
4
packages/commons/dist/lib/keyboard_actions_interface.js
vendored
Normal file
4
packages/commons/dist/lib/keyboard_actions_interface.js
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
var KeyboardActionNamesEnum;
|
||||
export { };
|
||||
|
||||
//# sourceMappingURL=keyboard_actions_interface.js.map
|
1
packages/commons/dist/lib/keyboard_actions_interface.js.map
vendored
Normal file
1
packages/commons/dist/lib/keyboard_actions_interface.js.map
vendored
Normal file
@ -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"}
|
3
packages/commons/dist/lib/options_interface.js
vendored
Normal file
3
packages/commons/dist/lib/options_interface.js
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
export { };
|
||||
|
||||
//# sourceMappingURL=options_interface.js.map
|
1
packages/commons/dist/lib/options_interface.js.map
vendored
Normal file
1
packages/commons/dist/lib/options_interface.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
27
packages/commons/dist/lib/rows.js
vendored
Normal file
27
packages/commons/dist/lib/rows.js
vendored
Normal file
@ -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
|
1
packages/commons/dist/lib/rows.js.map
vendored
Normal file
1
packages/commons/dist/lib/rows.js.map
vendored
Normal file
@ -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"}
|
55
packages/commons/dist/lib/test-utils.js
vendored
Normal file
55
packages/commons/dist/lib/test-utils.js
vendored
Normal file
@ -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`\
|
||||
* <h1>Heading 1</h1>
|
||||
* <h2>Heading 2</h2>
|
||||
* <h3>Heading 3</h3>
|
||||
* <h4>Heading 4</h4>
|
||||
* <h5>Heading 5</h5>
|
||||
* <h6>Heading 6</h6>
|
||||
* `;
|
||||
* @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
|
1
packages/commons/dist/lib/test-utils.js.map
vendored
Normal file
1
packages/commons/dist/lib/test-utils.js.map
vendored
Normal file
@ -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 * <h1>Heading 1</h1>\n * <h2>Heading 2</h2>\n * <h3>Heading 3</h3>\n * <h4>Heading 4</h4>\n * <h5>Heading 5</h5>\n * <h6>Heading 6</h6>\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"}
|
1
packages/commons/dist/tsconfig.lib.tsbuildinfo
vendored
Normal file
1
packages/commons/dist/tsconfig.lib.tsbuildinfo
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":"5.7.3"}
|
@ -1,7 +0,0 @@
|
||||
import { commons } from './commons.js';
|
||||
|
||||
describe('commons', () => {
|
||||
it('should work', () => {
|
||||
expect(commons()).toEqual('commons');
|
||||
})
|
||||
})
|
@ -1,3 +0,0 @@
|
||||
export function commons(): string {
|
||||
return 'commons';
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user