Identifies Admin users and tracks sign-in flows in PostHog
TypeID
Uses prefixed UUIDv7 TypeIDs as native Payload document IDs per collection
Installation
pnpm add @klnap/payload-typeid About
TypeID makes Payload use readable, type-prefixed identifiers such as article_01m8d47s... as the native ID of each document. The prefix tells you which collection a record belongs to when you see it in logs, URLs or API responses, while the suffix is a time-ordered UUIDv7 encoded in Base32. Each collection can get its own prefix, or be left out so it keeps the default ID behaviour. The package also ships helpers to generate, validate, parse and convert TypeIDs to and from plain UUIDs.
Package info
- Package name
@klnap/payload-typeid- Latest version
0.3.11- Unpacked size
- 76 kB
- License
- MIT
- Weekly downloads
- 1.2k
- Last publish
- Nov 28, 2026
More from klnap
View profileSlug field that fills itself from another field, with optional Auto/Manual mode
Creates redirect rules automatically when published URLs change
Event-driven Next.js cache invalidation triggered by Payload content changes
Stores Payload media in Sanity with on-demand image transforms and CDN delivery
Similar plugins
More in ContentLets admins define record types and fields at runtime without schema changes
Click text in a Next.js preview to open the matching field in the Payload admin
Markdown fields with a CodeMirror editor, styled directives and MCP access for AI agents
Shared CMS setup for Pebble sites: users and roles, R2 media, signed cache purge and previews
Lets users and organizations share records under host-defined access rules