@unbound-app/api/assetsFgetIdByNameLooks up an asset's id by its name and type, initializing the module that registers it if needed.function getIdByName<T extends AssetType = "png">(name: AssetName<T>, type?: T): number | undefinedParametersNameTypeDescriptionnameAssetName<T>The asset name to match.type?TThe asset type to match, png by default.Returnsnumber | undefinedThe matched asset's id, or undefined if none match.