STV is a dream, all of ENT is Riker playing on the holodeck between scenes of TNG episodes, all of VOY is Barclay playing on the Project Pathfinder holodeck, everything post-GENS is Picard's Nexus fantasy and every scene of every episode is set in a different "Parallels" reality anyhow.
Everything after "The Cage" is a Talosian illusion. Except the DS9 bits written by Benny Russell.