---
title: "Types"
description: "Every type exported from @qino/cms."
canonical: "https://www.qino.works/docs/api/types"
---

# Types

> Every type exported from @qino/cms.

`@qino/cms` exports these types:

| Type                                                                                                                        | Purpose                                                               |
| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [`Infer`](https://www.qino.works/docs/api/types/infer)                                                                                            | Entry types of a primitive, per view                                  |
| [`Collection`, `Tree`, `Item`](https://www.qino.works/docs/api/types/primitives)                                                                  | Return types of the three define functions                            |
| [`CollectionEntryMeta`, `TreeEntryMeta`, `ItemEntryMeta`, `AnyEntry`](https://www.qino.works/docs/api/types/entry-meta)                           | The `_meta` shapes and the loosest entry type                         |
| [`TreeNode`](https://www.qino.works/docs/api/types/tree-node)                                                                                     | Structural node returned by tree getters                              |
| [`PaginatedEntries`](https://www.qino.works/docs/api/collection/get-paginated-entries#returns)                                                    | The page `getPaginatedEntries` returns, with its totals               |
| [`QinoSlugRegistry`](https://www.qino.works/docs/api/types/slug-registry)                                                                         | Interface augmented by generated slug types                           |
| [`MarkdownStats`](https://www.qino.works/docs/api/types/markdown-stats)                                                                           | The `_stats` field added by `markdown.stats`                          |
| [`MarkdownToc`, `MarkdownTocHeading`](https://www.qino.works/docs/api/types/markdown-toc)                                                         | The `_toc` field added by `markdown.toc`, and one of its headings     |
| [`MediaRule`, `MediaSize`, `MediaParse`, `MediaParseContext`](https://www.qino.works/docs/concepts/media)                                         | A `media` or `markdown.media` rule, to share rules between primitives |
| [`QinoImage`](https://www.qino.works/docs/api/types/qino-image)                                                                                   | An image field once read, shaped like Next's `StaticImageData`        |
| [`RelationParse`, `RelationParseContext`](https://www.qino.works/docs/concepts/relations#custom-formats)                                          | A relation's `parse` callback, and what it receives                   |
| [`MarkdownConfig`](https://www.qino.works/docs/api/collection#parameters)                                                                         | The `markdown` option                                                 |
| [`PageMarkdownComponent`, `PageMarkdownComponentContext`, `PageMarkdownPropValue`](https://www.qino.works/docs/api/types/page-markdown-component) | A function in `markdownComponents`, what it receives, and its props   |
| [`LoadPageMarkdown`](https://www.qino.works/docs/api/negotiate-markdown#signature)                                                                | The loader `negotiateMarkdown` takes                                  |

Other option shapes, such as the config passed to `initQino`, the relation depth, or getter options are not exported. They are documented inline on the function pages.
