JA
ベータ版の翻訳

@core / content

1.1.0 ▾
認証済みMIT
GitHub

ヘッドレス CMS の中核:型付きコレクションとシングルトン、下書き、履歴、予約公開、多言語、プレビュー

コード11 ファイルコンテキスト約 1197 トークンスキャン合格

.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 でログインしてください。

GitHub で続ける