Module

x/pothos/packages/plugin-relay/mod.ts>ConnectionShape

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias ConnectionShape
import { type ConnectionShape } from "https://dotland.deno.dev/x/pothos@release-1670972010/packages/plugin-relay/mod.ts";

Type Parameters

Types extends SchemaTypes
T
Nullable
optional
EdgesNullable extends FieldNullability<[unknown]> = Types["DefaultEdgesNullability"]
optional
NodeNullable extends boolean = Types["DefaultNodeNullability"]
definition: (Nullable extends false ? never : null | undefined) | (Types["Connection"] & { pageInfo: PageInfoShape; edges: ShapeFromListTypeParam<Types, [ObjectRef<{ cursor: string; node: NodeNullable extends false ? T : T | null | undefined; }>], EdgesNullable>; })
import ConnectionShape
import { ConnectionShape } from "https://dotland.deno.dev/x/pothos@release-1670972010/packages/plugin-relay/mod.ts";