mirror of
https://github.com/keymanapp/keyman.git
synced 2026-11-03 09:37:47 +00:00
feat(developer): import KeylayoutXMLSourceFile
This commit is contained in:
parent
c505a5cf43
commit
d8be6966f5
2 changed files with 7 additions and 1 deletions
|
|
@ -57,4 +57,8 @@ export class ConverterMessages {
|
|||
this.ERROR_UnsupportedCharactersDetected,
|
||||
`Input file ${def(o.inputFilename)} contains unsupported character ('${def(o.output)}') on key ( ${def(o.key)}) at keyMap index ${def(o.keymap_index)}`,
|
||||
);
|
||||
|
||||
static ERROR_InvalidFile = SevError | 0x0008;
|
||||
static Error_InvalidFile = (o: { errorText: string; }) => m(
|
||||
this.ERROR_InvalidFile, `The source file has an invalid structure: ${def(o.errorText)}`);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,9 @@ import { KmnFileWriter } from './kmn-file-writer.js';
|
|||
import { KeylayoutFileReader } from './keylayout-file-reader.js';
|
||||
import { ConverterMessages } from '../converter-messages.js';
|
||||
import { ConverterArtifacts } from "../converter-artifacts.js";
|
||||
import { ConverterToKmnArtifacts } from "../converter-artifacts.js";
|
||||
import { ConverterToKmnArtifacts } from "../converter-artifacts.js"
|
||||
import { KeylayoutXMLSourceFile } from '../../../common/web/utils/src/types/keylayout/keylayout-xml.js';
|
||||
|
||||
|
||||
export interface ConverterResult extends KeymanCompilerResult {
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue