So
class Type(Record):
bset: set[BuiltinType] = field(default_factory=set)
dset: set[str] = field(default_factory=set)
should have another part which is either a set of pairs (ext_namespace,def_name) or a set of strings where each string is expected to be the fully qualified external def name (e.g.: "SGG_Modding-ModUtil-Mod*-nil")
The latter is probably more versatile, considering that other libraries may use a different convention for their definitions.
But that may mean that we need a vanity string and external link as well so that it can appear nicely in docusaurus instead of just being suited to luacats
So
should have another part which is either a set of pairs (ext_namespace,def_name) or a set of strings where each string is expected to be the fully qualified external def name (e.g.:
"SGG_Modding-ModUtil-Mod*-nil")The latter is probably more versatile, considering that other libraries may use a different convention for their definitions.
But that may mean that we need a vanity string and external link as well so that it can appear nicely in docusaurus instead of just being suited to luacats