My bad, its both actually. The law lists some criteria, unambiguously including TikTok and Bytedance by name, and then says the president can add more if they want, though this power has not been used yet.
It sucks so hard how the Dems keep expanding the powers of the Pres right before handing it to Trump