2
0
Files
bot/packages/variables/types.ts
2024-03-19 08:31:36 +01:00

14 lines
309 B
TypeScript

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