interface Category

Returned by the category routes. A dump category's feed lives at /<slug> on the client, a playlist category's at /playlists/<slug>, and a dump or playlist names its categories by id in categoryIds.

Properties

id: string

What it files. It never changes.

slug: string
name: string
position: number

Sorts the categories, lowest first.

optional
updatedAt: Date

Usage

import { type Category } from "shared/category.ts";