2
0
Files
bot/packages/variables/types.ts
2024-05-15 14:24:55 +02:00

15 lines
327 B
TypeScript

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
}