Skip to main content

types/conditional-logic

@prismatic-io/spectral"types/conditional-logic"

This file contains types to help define conditional logic for the Prismatic branch component, https://prismatic.io/docs/components/branch

Index#

Type aliases#

Object literals#

Type aliases#

BooleanExpression#

Ƭ BooleanExpression: []

Defined in types/conditional-logic.ts:27


ConditionalExpression#

Ƭ ConditionalExpression: TermExpression‹T› | BooleanExpression‹T›

Defined in types/conditional-logic.ts:32


Term#

Ƭ Term: T

Defined in types/conditional-logic.ts:25


TermExpression#

Ƭ TermExpression: []

Defined in types/conditional-logic.ts:26


TermOperator#

Ƭ TermOperator: keyof typeof TermOperatorPhrase

Defined in types/conditional-logic.ts:23

Object literals#

Const TermOperatorPhrase#

TermOperatorPhrase: object#

Defined in types/conditional-logic.ts:12

equal#

equal: string = "equals"

Defined in types/conditional-logic.ts:13

greaterThan#

greaterThan: string = "is greater than"

Defined in types/conditional-logic.ts:15

greaterThanOrEqual#

greaterThanOrEqual: string = "is greater than or equal to"

Defined in types/conditional-logic.ts:16

in#

in: string = "contained in"

Defined in types/conditional-logic.ts:19

lessThan#

lessThan: string = "is less than"

Defined in types/conditional-logic.ts:17

lessThanOrEqual#

lessThanOrEqual: string = "is less than or equal to"

Defined in types/conditional-logic.ts:18

notEqual#

notEqual: string = "does not equal"

Defined in types/conditional-logic.ts:14

notIn#

notIn: string = "not contained in"

Defined in types/conditional-logic.ts:20