Skip to content

Commit

Permalink
chore: variants update
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Oct 11, 2023
1 parent 3a5ecbb commit 7115d22
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/database/entity/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,16 +299,12 @@ export interface Alerts {
items: ExpandRecursively<{
id: string;
name: string;
variants: ExpandRecursively<Omit<Alerts['items'][number], 'variants' | 'hooks'>>[]
/**
* Hooks determinate what events will trigger this alert
*/
hooks: ('follow' | 'raid')[];
items: ExpandRecursively<AlertImage | AlertText | AlertAudio | AlertTTS | AlertCustom>[]
variants: {
[x: string]: {
[itemId: string]: Record<string, any>
}
}
/**
* additional hook filters
*/
Expand Down Expand Up @@ -340,7 +336,7 @@ export interface Alerts {
animationText: 'none' | 'baffle' | 'bounce' | 'bounce2' | 'flip' | 'flash' | 'pulse2' | 'rubberBand'
| 'shake2' | 'swing' | 'tada' | 'wave' | 'wobble' | 'wiggle' | 'wiggle2' | 'jello' | 'typewriter';
animationTextOptions: {
speed: number | 'slower' | 'slow' | 'fast' | 'faster';
speed: 'slower' | 'slow' | 'normal' | 'fast' | 'faster';
maxTimeToDecrypt: number;
characters: string;
};
Expand Down

0 comments on commit 7115d22

Please sign in to comment.