Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 19.0Version 18.0 (current version)Version 17.0

On this page

You are viewing an incomplete pre-release version of this documentation. Click here to open the current version, 18.0.

ModelInfoSources class

Home > @keymanapp/kmc-model-info > ModelInfoSources

ModelInfoSources class

Description of sources and metadata required to build a .model_info file

Signature:

export declare class ModelInfoSources 

Properties

Property Modifiers Type Description
[forPublishing](./kmc-model-info.modelinfosources.forpublishing.md) boolean Return an error if project does not meet requirements of lexical-models repository
[kmpFileName](./kmc-model-info.modelinfosources.kmpfilename.md) string The compiled package filename and relative path (.kmp)
[kmpJsonData](./kmc-model-info.modelinfosources.kmpjsondata.md) KmpJsonFile.KmpJsonFile The data from the .kps file, transformed to kmp.json
[kpsFilename](./kmc-model-info.modelinfosources.kpsfilename.md) string The source package filename and relative path (.kps)
[lastCommitDate?](./kmc-model-info.modelinfosources.lastcommitdate.md) string _(Optional)_ Last modification date for files in the project folder 'YYYY-MM-DDThh:mm:ssZ'
[model\_id](./kmc-model-info.modelinfosources.model_id.md) string The identifier for the model
[modelFileName](./kmc-model-info.modelinfosources.modelfilename.md) string The compiled model filename and relative path (.js)
[sourcePath](./kmc-model-info.modelinfosources.sourcepath.md) string The path in the keymanapp/lexical-models repo where this model may be found