Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)

On this page

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 boolean Return an error if project does not meet requirements of lexical-models repository
kmpFileName string The compiled package filename and relative path (.kmp)
kmpJsonData KmpJsonFile.KmpJsonFile The data from the .kps file, transformed to kmp.json
kpsFilename string The source package filename and relative path (.kps)
lastCommitDate? string (Optional) Last modification date for files in the project folder 'YYYY-MM-DDThh:mm:ssZ'
model_id string The identifier for the model
modelFileName string The compiled model filename and relative path (.js)
sourcePath string The path in the keymanapp/lexical-models repo where this model may be found