Skip to content

TypeScript API / laikacms/json-api / PaginationMetaSchema

Variable: PaginationMetaSchema ​

ts
const PaginationMetaSchema: StandardSchemaV1<{
  page?: {
     estimatedTotal?: number;
     total?: number;
  };
  warnings?: readonly object[];
}, {
  page?: {
     estimatedTotal?: number;
     total?: number;
  };
  warnings?: readonly object[];
}> & Struct<{
  page: optional<Struct<{
     estimatedTotal: optional<Number>;
     total: optional<Number>;
  }>>;
  warnings: optional<$Array<Struct<{
     code: String;
     detail: String;
     source: optional<Struct<{
        parameter: optional<...>;
        pointer: optional<...>;
     }>>;
     status: String;
     title: String;
  }>>>;
}>;

Released under the MIT License.