import { TaggedUnionType } from "kryo/types/tagged-union"; import * as tags from "./tags/index"; export type SpriteTag = tags.DoAbc | tags.DoAction | tags.DoInitAction | tags.FrameLabel | tags.PlaceObject | tags.Raw | tags.RemoveObject | tags.ShowFrame | tags.SoundStreamHead | tags.SoundStreamBlock | tags.StartSound | tags.StartSound2; export const $SpriteTag: TaggedUnionType = new TaggedUnionType(() => ({ variants: [ tags.$DoAction, tags.$DoAbc, tags.$DoInitAction, tags.$FrameLabel, tags.$PlaceObject, tags.$Raw, tags.$RemoveObject, tags.$ShowFrame, tags.$SoundStreamBlock, tags.$SoundStreamHead, tags.$StartSound, tags.$StartSound2, ], tag: "type", }));