Entity Types in V14 ?!
# package-development
w
Entity Types Q ? What entity types does V14 come with or use?
I know there is the const for
UMB_DOCUMENT_ENTITY_TYPE
but there doesn't seem many available ?! I thought Media would be an Entity Type or is that just Document as well?! One for @Jacob Overgaard or @Niels Lyngsø when you have recovered from CG https://cdn.discordapp.com/attachments/1252351733745713152/1252352409372721252/image.png?ex=6671e791&is=66709611&hm=ffbeed297a54b6cada78730f23659d9fa68bb9b584027473eebfd0200c97eb0b&
w
Wonder if not exported as I can't seem to get VSCode to be happy with that
m
must admit I left trying to get a media picker to work, as although Visual Studio community resolved the export, running the code it then failed with can't find.. UMB_MEDIA_TREE_PICKER_MODAL
w
Raise an issue with steps to repro, may be a bug or it might not... 🤷
k
I have logged an issue with the missing dialogs - think they are fixed in 14.1 https://github.com/umbraco/Umbraco-CMS/issues/16547
I did try and fix exporting all the entities in a pr for one of the release candidates, https://github.com/umbraco/Umbraco.CMS.Backoffice/pull/1741 I probably missed some
w
Ah nice one. So I am guessing it may be overlooked then or coming soon. Suggestion for HQ gang. Is there a script you could write to verify that all the consts are exported correctly and not just consumable for yourselves ?
k
Yeah i also occasionally have had vscode not tell auto find the type name but if I explicitly add the import it works 🤷‍♂️ that might just be an intelligence thing ?
w
Yeh perhaps its VSCode completions being funky then...
11 Views