You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`The file \`${path}\` is being tracked but no commits have been found. Ensure all tracked files in your working branch are committed before running Lunaria.`,
47
47
}satisfiesErrorContext;
48
48
49
-
exportconstInvalidDictionaryFormat={
50
-
name: 'InvalidDictionaryFormat',
51
-
title: 'A file with an invalid dictionary format was found.',
49
+
exportconstInvalidDictionaryStructure={
50
+
name: 'InvalidDictionaryStructure',
51
+
title: 'A file with an invalid dictionary structure was found.',
52
52
message: (path: string)=>
53
-
`The \`type: "dictionary"\` file \`${path}\` has an invalid format. Dictionaries are expected to be a recursive Record of string keys and values. Alternatively, you can track this file without key completion checking by setting it to \`type: "universal"\` instead.`,
53
+
`The \`type: "dictionary"\` file \`${path}\` has an invalid structure. Dictionaries are expected to be a recursive Record of string keys and values. Alternatively, you can track this file without key completion checking by setting it to \`type: "universal"\` instead.`,
54
+
}satisfiesErrorContext;
55
+
56
+
exportconstUnsupportedDictionaryFileFormat={
57
+
name: 'UnsupportedDictionaryFileFormat',
58
+
title: 'An unsupported file format was found.',
59
+
message: (file: string)=>
60
+
`The file \`${file}\` has an unsupported file format. Dictionaries can be Markdown/MDX/Markdoc, JSON, or JavaScript/TypeScript modules. Use one of these file formats or instead track this file without key completion checking by setting it to \`type: "universal"\` instead.`,
0 commit comments