import { Plugin } from '@servicenow/sdk-build-core' /** * Handles `sys_es_latest_script` that attach to script records via a `(table, id)` pair pointing at the * parent's sys_id. Defined in $meta.useEsLatest */ export const EsLatestScriptPlugin = Plugin.create({ name: 'EsLatestScriptPlugin', records: { sys_es_latest_script: { coalesce: ['id', 'table'], toFile() { // No op to avoid writing standalone files return { success: true, value: [] } }, }, }, })