mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
121 lines
3.8 KiB
Markdown
121 lines
3.8 KiB
Markdown
## API Report File for "@keymanapp/kmc-model-info"
|
|
|
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
|
|
```ts
|
|
|
|
import { CompilerCallbacks } from '@keymanapp/developer-utils';
|
|
import { CompilerEvent } from '@keymanapp/developer-utils';
|
|
import { CompilerOptions } from '@keymanapp/developer-utils';
|
|
import { KeymanCompiler } from '@keymanapp/developer-utils';
|
|
import { KeymanCompilerArtifact } from '@keymanapp/developer-utils';
|
|
import { KeymanCompilerArtifacts } from '@keymanapp/developer-utils';
|
|
import { KeymanCompilerResult } from '@keymanapp/developer-utils';
|
|
import { KmpJsonFile } from '@keymanapp/common-types';
|
|
|
|
// @public
|
|
export class ModelInfoCompiler implements KeymanCompiler {
|
|
constructor();
|
|
init(callbacks: CompilerCallbacks, options: ModelInfoCompilerOptions): Promise<boolean>;
|
|
run(inputFilename: string, outputFilename?: string): Promise<ModelInfoCompilerResult>;
|
|
write(artifacts: ModelInfoCompilerArtifacts): Promise<boolean>;
|
|
}
|
|
|
|
// @public
|
|
export interface ModelInfoCompilerArtifacts extends KeymanCompilerArtifacts {
|
|
model_info: KeymanCompilerArtifact;
|
|
}
|
|
|
|
// Warning: (ae-internal-missing-underscore) The name "ModelInfoCompilerMessages" should be prefixed with an underscore because the declaration is marked as @internal
|
|
//
|
|
// @internal (undocumented)
|
|
export class ModelInfoCompilerMessages {
|
|
// (undocumented)
|
|
static ERROR_DescriptionIsMissing: number;
|
|
// (undocumented)
|
|
static Error_DescriptionIsMissing: (o: {
|
|
filename: string;
|
|
}) => CompilerEvent;
|
|
// (undocumented)
|
|
static ERROR_FileDoesNotExist: number;
|
|
// (undocumented)
|
|
static Error_FileDoesNotExist: (o: {
|
|
filename: string;
|
|
}) => CompilerEvent;
|
|
// (undocumented)
|
|
static ERROR_FileIsNotValid: number;
|
|
// (undocumented)
|
|
static Error_FileIsNotValid: (o: {
|
|
filename: string;
|
|
e: any;
|
|
}) => CompilerEvent;
|
|
// (undocumented)
|
|
static ERROR_InvalidAuthorEmail: number;
|
|
// (undocumented)
|
|
static Error_InvalidAuthorEmail: (o: {
|
|
email: string;
|
|
}) => CompilerEvent;
|
|
// (undocumented)
|
|
static ERROR_LicenseFileIsDamaged: number;
|
|
// (undocumented)
|
|
static Error_LicenseFileIsDamaged: (o: {
|
|
filename: string;
|
|
}) => CompilerEvent;
|
|
// (undocumented)
|
|
static ERROR_LicenseFileIsMissing: number;
|
|
// (undocumented)
|
|
static Error_LicenseFileIsMissing: (o: {
|
|
filename: string;
|
|
}) => CompilerEvent;
|
|
// (undocumented)
|
|
static ERROR_LicenseIsNotValid: number;
|
|
// (undocumented)
|
|
static Error_LicenseIsNotValid: (o: {
|
|
filename: string;
|
|
message: string;
|
|
}) => CompilerEvent;
|
|
// (undocumented)
|
|
static ERROR_NoLicenseFound: number;
|
|
// (undocumented)
|
|
static Error_NoLicenseFound: () => CompilerEvent;
|
|
// (undocumented)
|
|
static FATAL_UnexpectedException: number;
|
|
// (undocumented)
|
|
static Fatal_UnexpectedException: (o: {
|
|
e: any;
|
|
}) => CompilerEvent;
|
|
// (undocumented)
|
|
static WARN_MetadataFieldInconsistent: number;
|
|
// (undocumented)
|
|
static Warn_MetadataFieldInconsistent: (o: {
|
|
field: string;
|
|
value: any;
|
|
expected: any;
|
|
}) => CompilerEvent;
|
|
}
|
|
|
|
// @public
|
|
export interface ModelInfoCompilerOptions extends CompilerOptions {
|
|
sources: ModelInfoSources;
|
|
}
|
|
|
|
// @public
|
|
export interface ModelInfoCompilerResult extends KeymanCompilerResult {
|
|
artifacts: ModelInfoCompilerArtifacts;
|
|
}
|
|
|
|
// @public
|
|
export class ModelInfoSources {
|
|
forPublishing: boolean;
|
|
kmpFileName: string;
|
|
kmpJsonData: KmpJsonFile.KmpJsonFile;
|
|
kpsFilename: string;
|
|
lastCommitDate?: string;
|
|
model_id: string;
|
|
modelFileName: string;
|
|
sourcePath: string;
|
|
}
|
|
|
|
// (No @packageDocumentation comment for this package)
|
|
|
|
```
|