@ -2,12 +2,13 @@ export type Variable = {
|
||||
id: string
|
||||
name: string
|
||||
value?: string | (string | null)[] | null | undefined
|
||||
isSessionVariable?: boolean
|
||||
}
|
||||
|
||||
export type VariableWithValue = Pick<Variable, 'id' | 'name'> & {
|
||||
export type VariableWithValue = Omit<Variable, 'value'> & {
|
||||
value: string | (string | null)[]
|
||||
}
|
||||
|
||||
export type VariableWithUnknowValue = Pick<Variable, 'id' | 'name'> & {
|
||||
export type VariableWithUnknowValue = Omit<Variable, 'value'> & {
|
||||
value?: unknown
|
||||
}
|
||||
|
Reference in New Issue
Block a user