Classes
@system-inc/base-foundation · 515c140 · 16 symbols
Members
conditions?:ColumnFilterInput[]filters?:ColumnFilterGroupInput[]operator:ColumnFilterGroupOperator | null
ColumnFilterInput
implements ColumnFilterInput
Members
column:stringoperator:ColumnFilterConditionOperatorvalue:Json
GqlMediaObject
implements MediaObject
Members
type:MediaObjectTypeurl:stringvariant:string | null
GqlOperationContext
Context for a GraphQL operation, including the operation type, name, and selection set.
Members
name:stringThe operation name.
selectionSet:Readonly<GqlSelectionSet<K>>The selection set.
type:"query" | "mutation"The operation type.
GqlOrmBaseEntity
Orm (Drizzle) counterpart of GqlBaseEntity: exposes the base
entity's id and createdAt columns as GraphQL fields.
extends OrmBaseEntity
Members
createdAt:Dateid:stringclone():TgetChangedFields():OrmPartialEntity<this>toJSON(options?:{ strict?: boolean }):Dictionary<unknown>static from(this:() => T,data:OrmPartialEntity<T>):TCreate a new instance of the entity with the given data.
Orm (Drizzle) counterpart of GqlMutableBaseEntity: adds the
updatedAt column and exposes it as a GraphQL field. updatedAt is
initialized to the same instant as createdAt on insert, then bumped on
every update — see hasBeenUpdated.
extends GqlOrmBaseEntity
Members
createdAt:Dateid:stringupdatedAt:DatehasBeenUpdated:booleanWhether this row has been updated since it was created.
updatedAtis initialized to the same instant ascreatedAton insert, then bumped on every update — so the row has never been updated exactly whenupdatedAt === createdAt. (This replaces the old "updatedAt is null" sentinel, which couldn't work on backends where the column is NOT NULL.)clone():TgetChangedFields():OrmPartialEntity<this>toJSON(options?:{ strict?: boolean }):Dictionary<unknown>static from(this:() => T,data:OrmPartialEntity<T>):TCreate a new instance of the entity with the given data.
GraphQLYoga
An implementation of the GqlServerProvider using GraphQL Yoga. https://the-guild.dev/graphql/yoga-server/docs
implements GqlServerProvider
Members
getGqlServer(config:GqlConfiguration):Promise<GqlServer>Build the schema and return a ready-to-serve GraphQL server.
OperationResult
Members
message?:stringsuccess:boolean
OrderByInput
implements OrderByInput
Members
direction?:OrderByDirectionkey:string
Pagination
Members
itemIndex:numberitemIndexForNextPage?:numberitemIndexForPreviousPage?:numberitemsPerPage:numberitemsTotal:numberpage:numberpagesTotal:number
PaginationInput
Plain pagination: page size and index, nothing else. The bare type
deliberately exposes NO filters/orderBy fields in the schema —
client-driven filtering and ordering are opt-in per operation via a
@PaginationInputFor subclass, which re-registers those fields typed
with the operation's allowed columns. The properties still exist on
the class (untyped, schema-invisible) so subclasses inherit them and
server-side code can build pagination programmatically.
implements PaginationInput
Members
filters?:ColumnFilterInput[]itemIndex?:numberitemsPerPage:numberorderBy?:OrderByInput[]addFilter(filter:ColumnFilterInput):voidaddOrderBy(orderBy:OrderByInput):void
PaginationResult
Members
items:T[]pagination:Pagination
StatusRecord
Members
description?:stringstatus:stringtimestamp:Date
TimeSeriesDataPoint
Members
bucket:stringfilterKeys:TimeSeriesFilterKey[]total:number
TimeSeriesFilterKey
Members
count:numberkey:string
TimeSeriesInput
Members
endAtUtc:Dateinterval:TimeIntervallimit?:numberoffset?:numberstartAtUtc:DatetimeZone?:string