Type aliases
AllParams
AllParams: GetOneParams | GetManyReferenceParams | UpdateManyParams | CreateParams | DeleteManyParams | GetListParams | GetManyParams | DeleteParams | ListParams | UpdateParams
FetchQueryType
FetchQueryType: typeof GET_MANY | typeof GET_LIST | typeof GET_ONE | typeof GET_MANY_REFERENCE | typeof DELETE | typeof UPDATE | typeof CREATE
FilterSpec
Filter
Spec: { key?: undefined | string; operator: Operator; value?: any } | { key?: undefined | string; operator?: Operator; value: Record<string, any> }
IntrospectionResult
IntrospectionResult: { queries: Array<any>; resources: Array<any>; schema: IntrospectionSchema; types: ReadonlyArray<IntrospectionType> }
Type declaration
-
queries: Array<any>
-
resources: Array<any>
-
schema: IntrospectionSchema
-
types: ReadonlyArray<IntrospectionType>
Operator
Operator: "isNull" | "equalTo" | "notEqualTo" | "distinctFrom" | "notDistinctFrom" | "in" | "notIn" | "includes" | "notIncludes" | "includesInsensitive" | "notIncludesInsensitive" | "startsWith" | "notStartsWith" | "startsWithInsensitive" | "notStartsWithInsensitive" | "endsWith" | "notEndsWith" | "endsWithInsensitive" | "notEndsWithInsensitive" | "like" | "notLike" | "likeInsensitive" | "notLikeInsensitive" | "contains" | "containsKey" | "containsAllKeys" | "containsAnyKeys" | "containedBy" | "containedByOrEqualTo" | "containsOrContainedBy" | "matches"
RequiredPrimaryKeyType
RequiredPrimaryKeyType: IntrospectionNamedTypeRef<IntrospectionOutputType> | IntrospectionNonNullTypeRef<IntrospectionNamedTypeRef<IntrospectionOutputType>>
SortDirection
SortDirection: "ASC" | "DESC"
Transforms for a certain field type a search value for a field (the key) to a filter that is understood by postgraphile.
For example:
Is transformed to:
{ name: { includes: "some keyword" } }