Skip to main content

Type Alias: SelectAST

type SelectAST = object;

Defined in: packages/shared/lib/types.d.ts:529

Document-modelling types, re-exported from @docstack/shared.

These describe the values consumers have to construct themselves — most of all Patch, which StackOptions.patches asks for. @docstack/shared is an internal package, so surfacing them here is the only import path an application has.

Note that Document shadows the DOM's global Document in whichever module imports it; alias it (import type { Document as DocStackDocument }) in code that needs both.

Properties

PropertyTypeDefined in
columnsany[]packages/shared/lib/types.d.ts:532
distinctbooleanpackages/shared/lib/types.d.ts:531
fromany[]packages/shared/lib/types.d.ts:533
groupBy| { columns: any[]; type: "group_by"; } | nullpackages/shared/lib/types.d.ts:536
havingany | nullpackages/shared/lib/types.d.ts:540
joinsany[]packages/shared/lib/types.d.ts:534
limitnumber | nullpackages/shared/lib/types.d.ts:545
offset?number | nullpackages/shared/lib/types.d.ts:546
orderByobject[] | nullpackages/shared/lib/types.d.ts:541
type"select"packages/shared/lib/types.d.ts:530
whereany | nullpackages/shared/lib/types.d.ts:535