KO
베타 번역

@core / content

1.1.0 ▾
인증됨MIT
GitHub

헤드리스 CMS 핵심: 타입 있는 컬렉션과 싱글턴, 초안, 리비전, 예약 발행, 다국어, 미리보기

코드파일 11개컨텍스트약 1.2천토큰검사 통과

.genpmignore 적용 후 주입될 정확한 트리입니다. 고정 대상:

src/lib/content/index.ts읽기 전용 · 23978fe
// @core/content — API pública. Importa desde aquí; vista previa para Next.js en adapters/next.ts.
export { type ContentAdminRow, contentAdminResource } from './admin.ts';
export {
  archive,
  type CreateEntryInput,
  createEntry,
  deleteEntry,
  getEntryById,
  listRevisions,
  migrateEntries,
  publish,
  publishScheduledJob,
  renameEntry,
  restore,
  restoreRevision,
  saveDraft,
  schedulePublish,
  seedEntry,
  unpublish,
  unschedule,
} from './entries.ts';
export { createPreviewToken, type PreviewClaims, safePath, verifyPreviewToken } from './preview.ts';
export { contentSource, countEntries, type EntryListQuery, getEntry, getSingleton, listEntries, reader } from './read.ts';
export {
  assertSlug,
  type Collection,
  type CollectionOptions,
  ContentError,
  type ContentErrorCode,
  clearCollections,
  defaultLocale,
  defineCollection,
  defineSingleton,
  getCollection,
  listCollections,
  SINGLETON_SLUG,
  slugify,
} from './registry.ts';
export { type ContentRevision, type ContentRow, contentEntries, contentRevisions } from './schema.ts';
export { contentSearchSource, contentSitemapSource } from './sources.ts';

@core/content 신고

패키지를 신고하려면 GitHub로 로그인하세요.