Skip to content

Commit

Permalink
chore: re-arrange code exports
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Nov 5, 2023
1 parent d584e03 commit 4d65cf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/schema/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { MiscEffects } from './misc';
import { RenderEffects } from './render';
import { TransEffects } from './trans';

export type PresetComponents = EffectList | MiscEffects | RenderEffects | TransEffects;

const presetBase = z.object({
name: z.string(),
Expand All @@ -14,6 +13,8 @@ const presetBase = z.object({
}).required();

type PresetBase = z.infer<typeof presetBase>;

export type PresetComponents = EffectList | MiscEffects | RenderEffects | TransEffects;
export type Preset = PresetBase & {
components: PresetComponents[]
};

0 comments on commit 4d65cf8

Please sign in to comment.