Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx committed Oct 30, 2023
1 parent 942f3a8 commit 211b55e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions web/src/beta/lib/core/mantle/types/value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ export type EXPERIMENTAL_clipping = {
direction?: "inside" | "outside";
};

export type Array = any[];

export type Timeline = {
startTime?: string;
endTime?: string;
currentTime?: string;
};

// Don't forget adding a new field to valueTypeMapper also!
export type ValueTypes = {
string: string;
Expand All @@ -108,6 +116,8 @@ export type ValueTypes = {
ref: string;
tiletype: string;
spacing: Spacing;
array: Array;
timeline: Timeline;
};

export type ValueType = keyof ValueTypes;
Expand Down

0 comments on commit 211b55e

Please sign in to comment.