INNER CODE UNIT · TypeScript

GPaginatedList

stepci/garph · src/index.ts:489

class GPaginatedList<T extends AnyType> extends Type<T, 'PaginatedList'> {
  declare _inner: {
    edges: {
      node: InferRaw<T>
      cursor: string
    }[]
    pageInfo: {
      hasNextPage: boolean,
      hasPreviousPage: boolean,
      startCursor?: string,
      endCursor?: string
    }
  }

  constructor(shape: T) {
    super()
    this.typeDef = {
      type: 'PaginatedList',

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…