/** * Auto-generated JavaScript stub for Search_Index_Model * DO NOT EDIT - This file is automatically regenerated */ class Search_Index_Model extends Rsx_Js_Model { static get name() { return 'Search_Index_Model'; } /** * Fetch indexable relationship * @returns {Promise} Related model instance(s) or false */ async indexable() { if (!this.id) { shouldnt_happen('Cannot fetch relationship without id property'); } const response = await $.ajax({ url: `/_fetch_rel/Search_Index_Model/${this.id}/indexable`, method: 'POST', dataType: 'json' }); if (!response) return false; // Convert response to model instance(s) // Framework handles instantiation based on relationship type return response; } }