mirror of
https://github.com/hanzo-apps/cms.git
synced 2026-10-30 14:47:33 +00:00
- declare module 'payload' -> '@hanzo/cms' across 127 files (module augmentation category the import regex didn't cover; broke db-*/core type merges) - auth-iam + whitelabel: satisfy strict + noUncheckedIndexedAccess (real guards, no non-null cheats) - add demo collections (Users/Pages/Media) pnpm run build:core -> 44 tasks successful, 44 total.
10 lines
297 B
TypeScript
10 lines
297 B
TypeScript
import type { RequestContext as OriginalRequestContext } from '@hanzo/cms'
|
|
|
|
declare module '@hanzo/cms' {
|
|
// Create a new interface that merges your additional fields with the original one
|
|
export interface RequestContext extends OriginalRequestContext {
|
|
myObject?: string
|
|
// ...
|
|
}
|
|
}
|