2
0
Files
bot/packages/variables/types.ts

15 lines
327 B
TypeScript
Raw Normal View History

export type Variable = {
id: string
name: string
value?: string | (string | null)[] | null | undefined
isSessionVariable?: boolean
}
export type VariableWithValue = Omit<Variable, 'value'> & {
value: string | (string | null)[]
}
export type VariableWithUnknowValue = Omit<Variable, 'value'> & {
value?: unknown
}