minca
ApiCoreInterfaces

Interface: VersionExpr\<B\>

Defined in: packages/core/src/records/contract-builder.ts:172

A version: the one before, or one cited

Extends

Type Parameters

Type Parameter
B

Properties

Methods

eq()

eq(other): BoolExpr;

Defined in: packages/core/src/records/contract-builder.ts:188

prev == null: the version before, on a first version

Parameters

ParameterType
othernull

Returns

BoolExpr


link(rel): StrExpr;

Defined in: packages/core/src/records/contract-builder.ts:184

v.link(rel): what its first link with that role points at, or null

Parameters

ParameterType
relstring

Returns

StrExpr


ne()

ne(other): BoolExpr;

Defined in: packages/core/src/records/contract-builder.ts:189

Parameters

ParameterType
othernull

Returns

BoolExpr


of()

of<C>(collection): VersionExpr<BodyIn<C>>;

Defined in: packages/core/src/records/contract-builder.ts:186

Typed as a version of collection. A promise, not a check

Type Parameters

Type Parameter
C extends object

Parameters

ParameterType
collectionC

Returns

VersionExpr<BodyIn<C>>

On this page