How to reinstall corrupted content type?
I am working client-side in Moodle 3.17 utilizing H5P. Our LMS is maintained by an outside host, so I do not have much access to raw files or HUBs.
I recently uploaded a Column1.15 I built in Lumi to our Moodle, and unfortunately, I didn't reliaze that my older personal content mods would overwrite H5P core files, even as an end user. I'm fairly certain that the problem is localized to edits made to Column-1.15.'s semantics.json and h5p-column.js files... My first question: would issues created by edits to this content type have affected the libraries as well?
I'd like to hope that running a scheduled update would fix the problem by replacing the battered files with stable H5P.org versions, but I'm not sure it'd be caught since we're not technically throwing errors. Our onboard H5P editor works; it's just when columns (and anything running columns, like Interactive Books) are saved, the do not visually populate. It just blank screens. This is likely due to my edits that manipulate the type in a way that our system does not allow for. (See attached)
The only thing I can think to do and that I have the permissions for is to delete the Column 1.15 content type, and upload something like an Interactive Book that would hopefully reinstall it as a dependency. I do not have a clean content type install file as I don't have access to the hub. I can only download and upload local packages. Would this work?
I have attempted to upload one of the examples provided on this site to overwrite my overwrite, but unfortunately, it does not appear to be that simple. Our built H5P content still seem stable; I'm able to download and upload/view them on my Wordpress site, which makes me hopeful that this is just a corrupted content type that can be replaced.
Thank you for any help!