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#

Enumerations#

Type aliases#

Variables#

Object literals#

Type aliases#

BooleanExpression#

Ƭ BooleanExpression: []

Defined in src/types/conditional-logic.ts:76


ConditionalExpression#

Ƭ ConditionalExpression: TermExpression | BooleanExpression

Defined in src/types/conditional-logic.ts:81


Term#

Ƭ Term: unknown

Defined in src/types/conditional-logic.ts:73


TermExpression#

Ƭ TermExpression: []

Defined in src/types/conditional-logic.ts:74


TermOperator#

Ƭ TermOperator: UnaryOperator | BinaryOperator

Defined in src/types/conditional-logic.ts:68

Variables#

Const BooleanOperatorPhrase#

BooleanOperatorPhrase: string[] = Object.keys(BooleanOperator)

Defined in src/types/conditional-logic.ts:12

Object literals#

Const BinaryOperatorPhrase#

BinaryOperatorPhrase: object#

Defined in src/types/conditional-logic.ts:48

[BinaryOperator.dateTimeAfter]#

[BinaryOperator.dateTimeAfter]: string = "is after (date/time)"

Defined in src/types/conditional-logic.ts:63

[BinaryOperator.dateTimeBefore]#

[BinaryOperator.dateTimeBefore]: string = "is before (date/time)"

Defined in src/types/conditional-logic.ts:64

[BinaryOperator.dateTimeSame]#

[BinaryOperator.dateTimeSame]: string = "is the same (date/time)"

Defined in src/types/conditional-logic.ts:65

[BinaryOperator.doesNotEndWith]#

[BinaryOperator.doesNotEndWith]: string = "does not end with"

Defined in src/types/conditional-logic.ts:62

[BinaryOperator.doesNotExactlyMatch]#

[BinaryOperator.doesNotExactlyMatch]: string = "does not exactly match"

Defined in src/types/conditional-logic.ts:58

[BinaryOperator.doesNotStartWith]#

[BinaryOperator.doesNotStartWith]: string = "does not start with"

Defined in src/types/conditional-logic.ts:60

[BinaryOperator.endsWith]#

[BinaryOperator.endsWith]: string = "ends with"

Defined in src/types/conditional-logic.ts:61

[BinaryOperator.equal]#

[BinaryOperator.equal]: string = "equal"

Defined in src/types/conditional-logic.ts:49

[BinaryOperator.exactlyMatches]#

[BinaryOperator.exactlyMatches]: string = "exactly matches"

Defined in src/types/conditional-logic.ts:57

[BinaryOperator.greaterThanOrEqual]#

[BinaryOperator.greaterThanOrEqual]: string = "is greater than or equal to"

Defined in src/types/conditional-logic.ts:52

[BinaryOperator.greaterThan]#

[BinaryOperator.greaterThan]: string = "is greater than"

Defined in src/types/conditional-logic.ts:51

[BinaryOperator.in]#

[BinaryOperator.in]: string = "contained in"

Defined in src/types/conditional-logic.ts:55

[BinaryOperator.lessThanOrEqual]#

[BinaryOperator.lessThanOrEqual]: string = "is less than or equal to"

Defined in src/types/conditional-logic.ts:54

[BinaryOperator.lessThan]#

[BinaryOperator.lessThan]: string = "is less than"

Defined in src/types/conditional-logic.ts:53

[BinaryOperator.notEqual]#

[BinaryOperator.notEqual]: string = "does not equal"

Defined in src/types/conditional-logic.ts:50

[BinaryOperator.notIn]#

[BinaryOperator.notIn]: string = "not contained in"

Defined in src/types/conditional-logic.ts:56

[BinaryOperator.startsWith]#

[BinaryOperator.startsWith]: string = "starts with"

Defined in src/types/conditional-logic.ts:59


Const TermOperatorPhrase#

TermOperatorPhrase: object#

Defined in src/types/conditional-logic.ts:69


Const UnaryOperatorPhrase#

UnaryOperatorPhrase: object#

Defined in src/types/conditional-logic.ts:21

[UnaryOperator.doesNotExist]#

[UnaryOperator.doesNotExist]: string = "does not exist"

Defined in src/types/conditional-logic.ts:24

[UnaryOperator.exists]#

[UnaryOperator.exists]: string = "exists"

Defined in src/types/conditional-logic.ts:25

[UnaryOperator.isFalse]#

[UnaryOperator.isFalse]: string = "is false"

Defined in src/types/conditional-logic.ts:23

[UnaryOperator.isTrue]#

[UnaryOperator.isTrue]: string = "is true"

Defined in src/types/conditional-logic.ts:22