UNPKG

enketo-core

Version:

Extensible Enketo form engine

31 lines (27 loc) 989 B
/** * @typedef ExternalInstance * @property {string} id * @property {string} src * @property {string | Document} xml */ /** * @typedef FormDataObj * @property {string} modelStr - XML Model as string * @property {string} [instanceStr] - (partial) XML instance to load * @property {boolean} [submitted] - Flag to indicate whether data was submitted before * @property {Array<ExternalInstance | null | undefined>} [external] - Array of external data objects, required for each external data instance in the XForm * @property {string} [external.id] - ID of external instance * @property {string} [external.xmlStr] - XML string of external instance content */ /** * @typedef UpdatedDataNodes * @description The object containing info on updated data nodes * @property {Array<string>} [nodes] * @property {string} [repeatPath] * @property {number} [repeatIndex] * @property {string} [relevantPath] */ /** * @typedef {object} jQuery * @description jQuery collection */