pagescms 0.0.0-stage → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1312) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +66 -2
  3. package/dist/package/_headers +7 -0
  4. package/dist/package/cli.mjs +138 -0
  5. package/dist/package/config-CAscGjBB.js +123 -0
  6. package/dist/package/config.mjs +1 -0
  7. package/dist/package/favicon.ico +0 -0
  8. package/dist/package/favicon.svg +16 -0
  9. package/dist/package/generate-B-YdQuMX.js +48 -0
  10. package/dist/package/generate.mjs +1 -0
  11. package/dist/package/images/astro-blog-template.webp +0 -0
  12. package/dist/package/images/eleventy-blog-template.webp +0 -0
  13. package/dist/package/images/email-logo.png +0 -0
  14. package/dist/package/images/nextjs-blog-template.webp +0 -0
  15. package/dist/package/images/social-card.png +0 -0
  16. package/dist/package/migrate.mjs +184 -0
  17. package/dist/package/reference/docs/configuration/actions.md +160 -0
  18. package/dist/package/reference/docs/configuration/components.md +56 -0
  19. package/dist/package/reference/docs/configuration/content/filename.md +63 -0
  20. package/dist/package/reference/docs/configuration/content/formats.md +63 -0
  21. package/dist/package/reference/docs/configuration/content/index.md +138 -0
  22. package/dist/package/reference/docs/configuration/content/view.md +52 -0
  23. package/dist/package/reference/docs/configuration/fields/block.md +62 -0
  24. package/dist/package/reference/docs/configuration/fields/boolean.md +22 -0
  25. package/dist/package/reference/docs/configuration/fields/code.md +29 -0
  26. package/dist/package/reference/docs/configuration/fields/date.md +35 -0
  27. package/dist/package/reference/docs/configuration/fields/file.md +34 -0
  28. package/dist/package/reference/docs/configuration/fields/image.md +48 -0
  29. package/dist/package/reference/docs/configuration/fields/index.md +130 -0
  30. package/dist/package/reference/docs/configuration/fields/number.md +28 -0
  31. package/dist/package/reference/docs/configuration/fields/object.md +63 -0
  32. package/dist/package/reference/docs/configuration/fields/reference.md +64 -0
  33. package/dist/package/reference/docs/configuration/fields/rich-text.md +126 -0
  34. package/dist/package/reference/docs/configuration/fields/select.md +48 -0
  35. package/dist/package/reference/docs/configuration/fields/string.md +31 -0
  36. package/dist/package/reference/docs/configuration/fields/text.md +30 -0
  37. package/dist/package/reference/docs/configuration/fields/uuid.md +28 -0
  38. package/dist/package/reference/docs/configuration/index.md +88 -0
  39. package/dist/package/reference/docs/configuration/localization.md +138 -0
  40. package/dist/package/reference/docs/configuration/media.md +77 -0
  41. package/dist/package/reference/docs/configuration/settings.md +85 -0
  42. package/dist/package/reference/docs/extending/custom-field.md +107 -0
  43. package/dist/package/reference/docs/extending/field-api.md +71 -0
  44. package/dist/package/reference/docs/extending/plugins.md +67 -0
  45. package/dist/package/reference/docs/guides/actions.md +14 -0
  46. package/dist/package/reference/docs/guides/collaborators.md +43 -0
  47. package/dist/package/reference/docs/guides/editing.md +36 -0
  48. package/dist/package/reference/docs/guides/media.md +24 -0
  49. package/dist/package/reference/docs/guides/translations.md +40 -0
  50. package/dist/package/reference/docs/how-it-works.md +33 -0
  51. package/dist/package/reference/docs/index.md +25 -0
  52. package/dist/package/reference/docs/quick-start.md +87 -0
  53. package/dist/package/reference/docs/reference.md +84 -0
  54. package/dist/package/reference/docs/self-hosting/cloudflare.md +62 -0
  55. package/dist/package/reference/docs/self-hosting/environment-variables.md +84 -0
  56. package/dist/package/reference/docs/self-hosting/github-app.md +54 -0
  57. package/dist/package/reference/docs/self-hosting/index.md +44 -0
  58. package/dist/package/reference/docs/self-hosting/netlify.md +41 -0
  59. package/dist/package/reference/docs/self-hosting/node.md +42 -0
  60. package/dist/package/reference/docs/self-hosting/upgrading.md +44 -0
  61. package/dist/package/reference/docs/self-hosting/vercel.md +41 -0
  62. package/dist/package/reference/docs.json +119 -0
  63. package/dist/package/reference/manifest.json +190 -0
  64. package/dist/package/reference.md +79 -0
  65. package/dist/package/serve-D2bbxXbp.js +25 -0
  66. package/dist/package/smtp.mjs +13 -0
  67. package/dist/package/vite-BUlNpf2j.js +260 -0
  68. package/dist/package/vite.mjs +1 -0
  69. package/dist/types/client/api/account.d.ts +33 -0
  70. package/dist/types/client/api/actions.d.ts +67 -0
  71. package/dist/types/client/api/activity.d.ts +4 -0
  72. package/dist/types/client/api/admin.d.ts +11 -0
  73. package/dist/types/client/api/auth.d.ts +375 -0
  74. package/dist/types/client/api/authentication.d.ts +2 -0
  75. package/dist/types/client/api/cache.d.ts +6 -0
  76. package/dist/types/client/api/collaborators.d.ts +13 -0
  77. package/dist/types/client/api/collections.d.ts +4 -0
  78. package/dist/types/client/api/configuration.d.ts +10 -0
  79. package/dist/types/client/api/dashboard.d.ts +2 -0
  80. package/dist/types/client/api/entries.d.ts +14 -0
  81. package/dist/types/client/api/entry-write.d.ts +3394 -0
  82. package/dist/types/client/api/fixed-file.d.ts +11 -0
  83. package/dist/types/client/api/index.d.ts +8 -0
  84. package/dist/types/client/api/local-account.d.ts +1 -0
  85. package/dist/types/client/api/media.d.ts +38 -0
  86. package/dist/types/client/api/reference.d.ts +7 -0
  87. package/dist/types/client/api/repositories.d.ts +1 -0
  88. package/dist/types/client/api/repository-search.d.ts +6 -0
  89. package/dist/types/client/api/repository.d.ts +14 -0
  90. package/dist/types/client/queries/admin.d.ts +179 -0
  91. package/dist/types/client/queries/content.d.ts +2012 -0
  92. package/dist/types/client/queries/file-history.d.ts +13 -0
  93. package/dist/types/client/queries/keys.d.ts +32 -0
  94. package/dist/types/client/queries/references.d.ts +59 -0
  95. package/dist/types/client/queries/repository-invalidation.d.ts +7 -0
  96. package/dist/types/client/queries/repository.d.ts +271 -0
  97. package/dist/types/client/queries/session.d.ts +116 -0
  98. package/dist/types/client.d.ts +1 -0
  99. package/dist/types/components/action-history-menu.d.ts +11 -0
  100. package/dist/types/components/code-editor-language.d.ts +1 -0
  101. package/dist/types/components/code-editor.d.ts +23 -0
  102. package/dist/types/components/code-field.d.ts +10 -0
  103. package/dist/types/components/collaborator-identity.d.ts +5 -0
  104. package/dist/types/components/collaborator-invite-input.d.ts +8 -0
  105. package/dist/types/components/collaborators-loading.d.ts +2 -0
  106. package/dist/types/components/collection-entry-creator.d.ts +14 -0
  107. package/dist/types/components/component-preloading.d.ts +1 -0
  108. package/dist/types/components/content-entry-editor.d.ts +20 -0
  109. package/dist/types/components/content-entry-skeleton.d.ts +4 -0
  110. package/dist/types/components/content-icon.d.ts +8 -0
  111. package/dist/types/components/dropdown-loading-row.d.ts +5 -0
  112. package/dist/types/components/editor-layout.d.ts +5 -0
  113. package/dist/types/components/editor-skeleton.d.ts +4 -0
  114. package/dist/types/components/error-alert.d.ts +6 -0
  115. package/dist/types/components/file-editor-history.d.ts +4 -0
  116. package/dist/types/components/file-editor-menu.d.ts +12 -0
  117. package/dist/types/components/github-icon.d.ts +2 -0
  118. package/dist/types/components/gradient-avatar-fallback.d.ts +4 -0
  119. package/dist/types/components/media-file-icon.d.ts +4 -0
  120. package/dist/types/components/media-thumbnail.d.ts +18 -0
  121. package/dist/types/components/operation-error.d.ts +18 -0
  122. package/dist/types/components/option-combobox.d.ts +24 -0
  123. package/dist/types/components/otp-verification-form.d.ts +13 -0
  124. package/dist/types/components/repository-action-buttons.d.ts +24 -0
  125. package/dist/types/components/repository-breadcrumb.d.ts +11 -0
  126. package/dist/types/components/repository-page-header.d.ts +15 -0
  127. package/dist/types/components/repository-shell.d.ts +26 -0
  128. package/dist/types/components/rich-text-field.d.ts +13 -0
  129. package/dist/types/components/root-error.d.ts +2 -0
  130. package/dist/types/components/search-input.d.ts +7 -0
  131. package/dist/types/components/settings-back-link.d.ts +4 -0
  132. package/dist/types/components/settings-layout.d.ts +17 -0
  133. package/dist/types/components/settings-loading.d.ts +2 -0
  134. package/dist/types/components/settings-row.d.ts +2 -0
  135. package/dist/types/components/sign-in-form.d.ts +6 -0
  136. package/dist/types/components/startup-error.d.ts +1 -0
  137. package/dist/types/components/structured-content-field.d.ts +23 -0
  138. package/dist/types/components/table-pager.d.ts +9 -0
  139. package/dist/types/components/ui/alert-dialog.d.ts +18 -0
  140. package/dist/types/components/ui/alert.d.ts +10 -0
  141. package/dist/types/components/ui/avatar.d.ts +12 -0
  142. package/dist/types/components/ui/badge.d.ts +9 -0
  143. package/dist/types/components/ui/breadcrumb.d.ts +11 -0
  144. package/dist/types/components/ui/button-group.d.ts +11 -0
  145. package/dist/types/components/ui/button.d.ts +10 -0
  146. package/dist/types/components/ui/card.d.ts +11 -0
  147. package/dist/types/components/ui/checkbox.d.ts +4 -0
  148. package/dist/types/components/ui/collapsible.d.ts +5 -0
  149. package/dist/types/components/ui/combobox.d.ts +27 -0
  150. package/dist/types/components/ui/command.d.ts +18 -0
  151. package/dist/types/components/ui/dialog.d.ts +17 -0
  152. package/dist/types/components/ui/dropdown-menu.d.ts +29 -0
  153. package/dist/types/components/ui/editor/blockquote.d.ts +3 -0
  154. package/dist/types/components/ui/editor/document.d.ts +6 -0
  155. package/dist/types/components/ui/editor/html-policy.d.ts +20 -0
  156. package/dist/types/components/ui/editor/image.d.ts +12 -0
  157. package/dist/types/components/ui/editor/index.d.ts +52 -0
  158. package/dist/types/components/ui/editor/preserve.d.ts +39 -0
  159. package/dist/types/components/ui/editor/slash-command/commands-list.d.ts +24 -0
  160. package/dist/types/components/ui/editor/slash-command/commands.d.ts +14 -0
  161. package/dist/types/components/ui/editor/slash-command/suggestion.d.ts +42 -0
  162. package/dist/types/components/ui/empty.d.ts +11 -0
  163. package/dist/types/components/ui/field.d.ts +24 -0
  164. package/dist/types/components/ui/input-group.d.ts +16 -0
  165. package/dist/types/components/ui/input-otp.d.ts +11 -0
  166. package/dist/types/components/ui/input.d.ts +3 -0
  167. package/dist/types/components/ui/label.d.ts +4 -0
  168. package/dist/types/components/ui/pagination.d.ts +17 -0
  169. package/dist/types/components/ui/popover.d.ts +10 -0
  170. package/dist/types/components/ui/progress.d.ts +4 -0
  171. package/dist/types/components/ui/radio-group.d.ts +5 -0
  172. package/dist/types/components/ui/scroll-area.d.ts +5 -0
  173. package/dist/types/components/ui/select.d.ts +15 -0
  174. package/dist/types/components/ui/separator.d.ts +4 -0
  175. package/dist/types/components/ui/sheet.d.ts +14 -0
  176. package/dist/types/components/ui/sidebar.d.ts +69 -0
  177. package/dist/types/components/ui/skeleton.d.ts +2 -0
  178. package/dist/types/components/ui/sonner.d.ts +3 -0
  179. package/dist/types/components/ui/spinner.d.ts +3 -0
  180. package/dist/types/components/ui/switch.d.ts +6 -0
  181. package/dist/types/components/ui/table.d.ts +19 -0
  182. package/dist/types/components/ui/tabs.d.ts +11 -0
  183. package/dist/types/components/ui/textarea.d.ts +3 -0
  184. package/dist/types/components/ui/toggle-group.d.ts +10 -0
  185. package/dist/types/components/ui/toggle.d.ts +9 -0
  186. package/dist/types/components/ui/tooltip.d.ts +7 -0
  187. package/dist/types/deployment/builtins/resend-email.server.d.ts +2 -0
  188. package/dist/types/deployment/conformance/media-storage.d.ts +15 -0
  189. package/dist/types/deployment/contracts/client.d.ts +17 -0
  190. package/dist/types/deployment/contracts/server.server.d.ts +15 -0
  191. package/dist/types/deployment/contracts/version.d.ts +4 -0
  192. package/dist/types/deployment/default/client.d.ts +2 -0
  193. package/dist/types/deployment/default/server.server.d.ts +2 -0
  194. package/dist/types/features/account/account-copy.d.ts +11 -0
  195. package/dist/types/features/account/account-deleted-notice.d.ts +3 -0
  196. package/dist/types/features/account/account-menu.d.ts +7 -0
  197. package/dist/types/features/account/account-messages.d.ts +2 -0
  198. package/dist/types/features/account/app-header.d.ts +6 -0
  199. package/dist/types/features/account/content-editing-preferences.d.ts +3 -0
  200. package/dist/types/features/account/delete-account.d.ts +6 -0
  201. package/dist/types/features/account/language-field.d.ts +6 -0
  202. package/dist/types/features/account/language-preference.d.ts +4 -0
  203. package/dist/types/features/account/local-account-data.d.ts +1 -0
  204. package/dist/types/features/account/local-account-storage.d.ts +8 -0
  205. package/dist/types/features/account/profile-editor.d.ts +51 -0
  206. package/dist/types/features/account/profile-fields.d.ts +17 -0
  207. package/dist/types/features/account/profile-loading.d.ts +1 -0
  208. package/dist/types/features/account/profile-picture.d.ts +13 -0
  209. package/dist/types/features/account/profile-settings.d.ts +8 -0
  210. package/dist/types/features/account/profile-setup-heading.d.ts +1 -0
  211. package/dist/types/features/account/profile-setup.d.ts +5 -0
  212. package/dist/types/features/account/require-profile.d.ts +6 -0
  213. package/dist/types/features/account/sign-in-layout.d.ts +5 -0
  214. package/dist/types/features/account/sign-in-page.d.ts +9 -0
  215. package/dist/types/features/account/theme-preference.d.ts +1 -0
  216. package/dist/types/features/account/use-account-preferences.d.ts +14 -0
  217. package/dist/types/features/account/use-profile-editor.d.ts +41 -0
  218. package/dist/types/features/account/use-profile-update.d.ts +19 -0
  219. package/dist/types/features/activity/activity-feed-item.d.ts +7 -0
  220. package/dist/types/features/activity/activity-feed-skeleton.d.ts +1 -0
  221. package/dist/types/features/activity/activity-feed.d.ts +11 -0
  222. package/dist/types/features/activity/activity-query.d.ts +5 -0
  223. package/dist/types/features/admin/action-run-status.d.ts +5 -0
  224. package/dist/types/features/admin/actions-page.d.ts +9 -0
  225. package/dist/types/features/admin/actions-skeleton.d.ts +1 -0
  226. package/dist/types/features/admin/admin-loading.d.ts +5 -0
  227. package/dist/types/features/admin/admin-page.d.ts +2 -0
  228. package/dist/types/features/admin/allowlist-table.d.ts +12 -0
  229. package/dist/types/features/admin/cache-copy.d.ts +4 -0
  230. package/dist/types/features/admin/cache-files-trigger.d.ts +1 -0
  231. package/dist/types/features/admin/cache-files.d.ts +6 -0
  232. package/dist/types/features/admin/cache-page.d.ts +6 -0
  233. package/dist/types/features/admin/cache-skeleton.d.ts +1 -0
  234. package/dist/types/features/admin/collaborators-page.d.ts +6 -0
  235. package/dist/types/features/admin/collaborators-skeleton.d.ts +2 -0
  236. package/dist/types/features/admin/configuration-contribution.d.ts +5 -0
  237. package/dist/types/features/admin/configuration-page.d.ts +9 -0
  238. package/dist/types/features/admin/configuration-setup.d.ts +1 -0
  239. package/dist/types/features/admin/configuration-skeleton.d.ts +1 -0
  240. package/dist/types/features/admin/plugin-page.d.ts +14 -0
  241. package/dist/types/features/admin/repository-actions-page.d.ts +1 -0
  242. package/dist/types/features/admin/repository-admin-access.d.ts +6 -0
  243. package/dist/types/features/admin/repository-admin-page.d.ts +12 -0
  244. package/dist/types/features/admin/repository-configuration-page.d.ts +1 -0
  245. package/dist/types/features/admin/sign-in-allowlist.d.ts +1 -0
  246. package/dist/types/features/admin/use-action-run-tracking.d.ts +5 -0
  247. package/dist/types/features/collaborators/collaborator-status.d.ts +4 -0
  248. package/dist/types/features/collaborators/collaborators-contribution.d.ts +5 -0
  249. package/dist/types/features/collections/collection-cell.d.ts +25 -0
  250. package/dist/types/features/collections/collection-header.d.ts +28 -0
  251. package/dist/types/features/collections/collection-model.d.ts +32 -0
  252. package/dist/types/features/collections/collection-page.d.ts +4 -0
  253. package/dist/types/features/collections/collection-skeleton.d.ts +1 -0
  254. package/dist/types/features/collections/collection-table-layout.d.ts +18 -0
  255. package/dist/types/features/collections/collection-table.d.ts +44 -0
  256. package/dist/types/features/content/content-mutations.d.ts +78 -0
  257. package/dist/types/features/content/unavailable-entry.d.ts +6 -0
  258. package/dist/types/features/content/use-entry-actions.d.ts +100 -0
  259. package/dist/types/features/dashboard/about-dialog.d.ts +2 -0
  260. package/dist/types/features/dashboard/branch-manager.d.ts +8 -0
  261. package/dist/types/features/dashboard/branch-picker.d.ts +2 -0
  262. package/dist/types/features/dashboard/create-branch-dialog.d.ts +8 -0
  263. package/dist/types/features/dashboard/recent-repositories.d.ts +14 -0
  264. package/dist/types/features/dashboard/recent-repository-list.d.ts +3 -0
  265. package/dist/types/features/dashboard/relative-time.d.ts +1 -0
  266. package/dist/types/features/dashboard/repository-dashboard.d.ts +13 -0
  267. package/dist/types/features/dashboard/repository-loading.d.ts +10 -0
  268. package/dist/types/features/dashboard/repository-selector.d.ts +10 -0
  269. package/dist/types/features/dashboard/repository-template-preview.d.ts +8 -0
  270. package/dist/types/features/dashboard/repository-templates.d.ts +5 -0
  271. package/dist/types/features/drafts/collection-creation.d.ts +20 -0
  272. package/dist/types/features/drafts/draft-discard-dialog.d.ts +8 -0
  273. package/dist/types/features/drafts/draft-field-preview.d.ts +10 -0
  274. package/dist/types/features/drafts/draft-merge-dialog.d.ts +11 -0
  275. package/dist/types/features/drafts/draft-merge-fields.d.ts +2 -0
  276. package/dist/types/features/drafts/draft-read-cache.d.ts +13 -0
  277. package/dist/types/features/drafts/draft-save-button.d.ts +19 -0
  278. package/dist/types/features/drafts/draft-session.d.ts +63 -0
  279. package/dist/types/features/drafts/draft-store.d.ts +44 -0
  280. package/dist/types/features/drafts/merge-draft.d.ts +22 -0
  281. package/dist/types/features/drafts/relative-age.d.ts +1 -0
  282. package/dist/types/features/drafts/saved-draft-menu.d.ts +6 -0
  283. package/dist/types/features/drafts/use-content-draft.d.ts +30 -0
  284. package/dist/types/features/drafts/use-draft-merge.d.ts +15 -0
  285. package/dist/types/features/drafts/use-duplicate-entry.d.ts +7 -0
  286. package/dist/types/features/drafts/use-review-viewport.d.ts +28 -0
  287. package/dist/types/features/editor/commit-message-dialog.d.ts +8 -0
  288. package/dist/types/features/editor/editor-component-loaders.d.ts +8 -0
  289. package/dist/types/features/editor/entry-breadcrumb.d.ts +28 -0
  290. package/dist/types/features/editor/entry-page-header.d.ts +9 -0
  291. package/dist/types/features/editor/entry-title.d.ts +13 -0
  292. package/dist/types/features/editor/field-locale-menu.d.ts +10 -0
  293. package/dist/types/features/editor/field-locale-values.d.ts +5 -0
  294. package/dist/types/features/editor/fields/core-field-renderers.d.ts +1 -0
  295. package/dist/types/features/editor/fields/custom-field-components.d.ts +3 -0
  296. package/dist/types/features/editor/fields/field-renderer-registry.d.ts +23 -0
  297. package/dist/types/features/editor/fields/field-types.d.ts +15 -0
  298. package/dist/types/features/editor/fields/field-validation.d.ts +27 -0
  299. package/dist/types/features/editor/fields/structured-field-options.d.ts +9 -0
  300. package/dist/types/features/editor/fields/use-reference-options.d.ts +14 -0
  301. package/dist/types/features/editor/file-locale-menu.d.ts +26 -0
  302. package/dist/types/features/editor/locale-context.d.ts +31 -0
  303. package/dist/types/features/editor/locale-selection.d.ts +13 -0
  304. package/dist/types/features/editor/rich-text-media.d.ts +10 -0
  305. package/dist/types/features/editor/start-translation-dialog.d.ts +10 -0
  306. package/dist/types/features/editor/translation-preferences.d.ts +8 -0
  307. package/dist/types/features/editor/translation-start.d.ts +13 -0
  308. package/dist/types/features/media/media-breadcrumb.d.ts +8 -0
  309. package/dist/types/features/media/media-browser.d.ts +23 -0
  310. package/dist/types/features/media/media-delivery.d.ts +35 -0
  311. package/dist/types/features/media/media-drag-overlay.d.ts +1 -0
  312. package/dist/types/features/media/media-entry.d.ts +21 -0
  313. package/dist/types/features/media/media-folder-tree.d.ts +8 -0
  314. package/dist/types/features/media/media-model.d.ts +22 -0
  315. package/dist/types/features/media/media-move-dialog.d.ts +12 -0
  316. package/dist/types/features/media/media-mutations.d.ts +43 -0
  317. package/dist/types/features/media/media-page.d.ts +6 -0
  318. package/dist/types/features/media/media-picker-dialog.d.ts +14 -0
  319. package/dist/types/features/media/media-skeleton.d.ts +6 -0
  320. package/dist/types/features/media/media-upload.d.ts +28 -0
  321. package/dist/types/features/media/media-view.d.ts +3 -0
  322. package/dist/types/features/media/upload-conflict-dialog.d.ts +5 -0
  323. package/dist/types/features/media/upload-conflicts.d.ts +47 -0
  324. package/dist/types/features/pending-writes/account-operation.d.ts +10 -0
  325. package/dist/types/features/pending-writes/pending-write.d.ts +9 -0
  326. package/dist/types/features/pending-writes/use-operation.d.ts +30 -0
  327. package/dist/types/features/plugins/standalone-plugin-page.d.ts +4 -0
  328. package/dist/types/features/plugins/standalone-plugin-routes.d.ts +9 -0
  329. package/dist/types/features/repository/configuration-required.d.ts +10 -0
  330. package/dist/types/features/repository/overview-draft-actions.d.ts +5 -0
  331. package/dist/types/features/repository/overview-entry.d.ts +6 -0
  332. package/dist/types/features/repository/overview-file-item.d.ts +8 -0
  333. package/dist/types/features/repository/overview-loading.d.ts +4 -0
  334. package/dist/types/features/repository/overview-local-files.d.ts +10 -0
  335. package/dist/types/features/repository/overview-media-upload.d.ts +8 -0
  336. package/dist/types/features/repository/overview-shortcuts.d.ts +11 -0
  337. package/dist/types/features/repository/overview.d.ts +7 -0
  338. package/dist/types/features/repository/repository-loading.d.ts +2 -0
  339. package/dist/types/features/repository/repository-route-resource.d.ts +8 -0
  340. package/dist/types/features/repository/repository-route-state.d.ts +8 -0
  341. package/dist/types/features/repository/repository-shell-loading.d.ts +1 -0
  342. package/dist/types/features/repository/repository-unavailable-error.d.ts +2 -0
  343. package/dist/types/features/repository/use-overview-files.d.ts +9 -0
  344. package/dist/types/features/settings/account-access-table.d.ts +8 -0
  345. package/dist/types/features/settings/account-settings-contribution.d.ts +4 -0
  346. package/dist/types/features/settings/settings-navigation.d.ts +14 -0
  347. package/dist/types/features/settings/shared-projects.d.ts +3 -0
  348. package/dist/types/features/settings/user-settings-skeleton.d.ts +5 -0
  349. package/dist/types/features/settings/user-settings.d.ts +1 -0
  350. package/dist/types/fields/definition.d.ts +23 -0
  351. package/dist/types/fields/registry.d.ts +2 -0
  352. package/dist/types/hooks/use-media-github-link.d.ts +10 -0
  353. package/dist/types/hooks/use-mobile.d.ts +1 -0
  354. package/dist/types/hooks/use-page-scrolled.d.ts +1 -0
  355. package/dist/types/hooks/use-repository-coordinates.d.ts +7 -0
  356. package/dist/types/hooks/use-repository-github-link.d.ts +2 -0
  357. package/dist/types/hooks/use-route-retry.d.ts +5 -0
  358. package/dist/types/hooks/use-sidebar-scroll.d.ts +5 -0
  359. package/dist/types/hooks/use-unsaved-warning.d.ts +1 -0
  360. package/dist/types/i18n/catalogs.d.ts +3 -0
  361. package/dist/types/i18n/dates.d.ts +3 -0
  362. package/dist/types/i18n/document-title.d.ts +10 -0
  363. package/dist/types/i18n/error-catalogs.d.ts +4 -0
  364. package/dist/types/i18n/errors.d.ts +13 -0
  365. package/dist/types/i18n/known-errors.d.ts +2 -0
  366. package/dist/types/i18n/locale.d.ts +6 -0
  367. package/dist/types/i18n/localized-error.d.ts +4 -0
  368. package/dist/types/i18n/localized-route-head.d.ts +5 -0
  369. package/dist/types/i18n/message.d.ts +8 -0
  370. package/dist/types/i18n/plugin-catalogs.d.ts +3 -0
  371. package/dist/types/i18n/test-provider.d.ts +4 -0
  372. package/dist/types/integrations/tanstack-query/devtools.d.ts +5 -0
  373. package/dist/types/integrations/tanstack-query/root-provider.d.ts +4 -0
  374. package/dist/types/lib/access-denial.d.ts +10 -0
  375. package/dist/types/lib/action-run-tracker.d.ts +34 -0
  376. package/dist/types/lib/action-run-tracking.d.ts +9 -0
  377. package/dist/types/lib/actions.d.ts +32 -0
  378. package/dist/types/lib/activity.d.ts +23 -0
  379. package/dist/types/lib/auth-error.d.ts +1 -0
  380. package/dist/types/lib/auth-redirect.d.ts +2 -0
  381. package/dist/types/lib/authentication.d.ts +20 -0
  382. package/dist/types/lib/avatar-gradient.d.ts +1 -0
  383. package/dist/types/lib/base64.d.ts +3 -0
  384. package/dist/types/lib/cn.d.ts +1 -0
  385. package/dist/types/lib/collaborator-invites.d.ts +4 -0
  386. package/dist/types/lib/collaborator-key.d.ts +2 -0
  387. package/dist/types/lib/collaborator-status.d.ts +1 -0
  388. package/dist/types/lib/commit-message.d.ts +27 -0
  389. package/dist/types/lib/component-loader.d.ts +2 -0
  390. package/dist/types/lib/component-preloading.d.ts +11 -0
  391. package/dist/types/lib/configuration-completion.d.ts +10 -0
  392. package/dist/types/lib/content-field-values.d.ts +8 -0
  393. package/dist/types/lib/content-field.d.ts +2 -0
  394. package/dist/types/lib/content-filename.d.ts +6 -0
  395. package/dist/types/lib/content-icon-loader.d.ts +2 -0
  396. package/dist/types/lib/content-operations.d.ts +15 -0
  397. package/dist/types/lib/content-validation.d.ts +5 -0
  398. package/dist/types/lib/core-route-paths.d.ts +2 -0
  399. package/dist/types/lib/date-field.d.ts +4 -0
  400. package/dist/types/lib/deferred-component.d.ts +8 -0
  401. package/dist/types/lib/field-value-shapes.d.ts +11 -0
  402. package/dist/types/lib/field-values.d.ts +9 -0
  403. package/dist/types/lib/file-history.d.ts +2 -0
  404. package/dist/types/lib/file-types.d.ts +13 -0
  405. package/dist/types/lib/i18n-media.d.ts +4 -0
  406. package/dist/types/lib/i18n-schema.d.ts +44 -0
  407. package/dist/types/lib/i18n-values.d.ts +21 -0
  408. package/dist/types/lib/i18n.d.ts +43 -0
  409. package/dist/types/lib/icon-name.d.ts +1 -0
  410. package/dist/types/lib/markdown-images.d.ts +2 -0
  411. package/dist/types/lib/media-assets.d.ts +9 -0
  412. package/dist/types/lib/media-field-values.d.ts +20 -0
  413. package/dist/types/lib/media-upload-name.d.ts +3 -0
  414. package/dist/types/lib/media-variants.d.ts +4 -0
  415. package/dist/types/lib/notifications.d.ts +16 -0
  416. package/dist/types/lib/operation-error.d.ts +3 -0
  417. package/dist/types/lib/page-title.d.ts +9 -0
  418. package/dist/types/lib/profile.d.ts +6 -0
  419. package/dist/types/lib/reference-pages.d.ts +12 -0
  420. package/dist/types/lib/repository-identity.d.ts +18 -0
  421. package/dist/types/lib/repository-page-path.d.ts +4 -0
  422. package/dist/types/lib/repository.d.ts +13 -0
  423. package/dist/types/lib/select-options.d.ts +4 -0
  424. package/dist/types/lib/use-raw-search.d.ts +2 -0
  425. package/dist/types/package/cli.d.ts +2 -0
  426. package/dist/types/package/cloudflare-project-routes.d.ts +2 -0
  427. package/dist/types/package/config.d.ts +41 -0
  428. package/dist/types/package/configured-icons.d.ts +2 -0
  429. package/dist/types/package/constants.d.ts +2 -0
  430. package/dist/types/package/deploy-config.d.ts +1 -0
  431. package/dist/types/package/generate.d.ts +10 -0
  432. package/dist/types/package/icon-path.d.ts +2 -0
  433. package/dist/types/package/load.d.ts +1 -0
  434. package/dist/types/package/migrate.d.ts +31 -0
  435. package/dist/types/package/node-middleware.d.ts +7 -0
  436. package/dist/types/package/runtime.d.ts +20 -0
  437. package/dist/types/package/runtime.server.d.ts +11 -0
  438. package/dist/types/package/serve.d.ts +5 -0
  439. package/dist/types/package/server-entry.d.ts +1 -0
  440. package/dist/types/package/smtp.d.ts +9 -0
  441. package/dist/types/package/smtp.server.d.ts +2 -0
  442. package/dist/types/package/vite.d.ts +23 -0
  443. package/dist/types/plugins/client.d.ts +129 -0
  444. package/dist/types/plugins/compose.server.d.ts +30 -0
  445. package/dist/types/plugins/email/cloudflare.server.d.ts +6 -0
  446. package/dist/types/plugins/email/resend.server.d.ts +2 -0
  447. package/dist/types/plugins/email/smtp.server.d.ts +15 -0
  448. package/dist/types/plugins/identity.d.ts +4 -0
  449. package/dist/types/plugins/server.d.ts +83 -0
  450. package/dist/types/routeTree.gen.d.ts +592 -0
  451. package/dist/types/router.d.ts +6 -0
  452. package/dist/types/routes/__root.d.ts +8 -0
  453. package/dist/types/routes/admin.d.ts +17 -0
  454. package/dist/types/routes/auth.error.d.ts +4 -0
  455. package/dist/types/routes/auth.redirect.d.ts +5 -0
  456. package/dist/types/routes/github.$owner.$repo.$branch.$page.d.ts +11 -0
  457. package/dist/types/routes/github.$owner.$repo.$branch.actions.d.ts +13 -0
  458. package/dist/types/routes/github.$owner.$repo.$branch.cache.d.ts +11 -0
  459. package/dist/types/routes/github.$owner.$repo.$branch.collaborators.d.ts +11 -0
  460. package/dist/types/routes/github.$owner.$repo.$branch.collection.$name.d.ts +90 -0
  461. package/dist/types/routes/github.$owner.$repo.$branch.collection.$name_.edit.$.d.ts +11 -0
  462. package/dist/types/routes/github.$owner.$repo.$branch.collection.$name_.entry.$.d.ts +15 -0
  463. package/dist/types/routes/github.$owner.$repo.$branch.collection.$name_.new.d.ts +28 -0
  464. package/dist/types/routes/github.$owner.$repo.$branch.configuration.d.ts +11 -0
  465. package/dist/types/routes/github.$owner.$repo.$branch.d.ts +6 -0
  466. package/dist/types/routes/github.$owner.$repo.$branch.file.$name.d.ts +19 -0
  467. package/dist/types/routes/github.$owner.$repo.$branch.index.d.ts +32 -0
  468. package/dist/types/routes/github.$owner.$repo.$branch.media.$name.d.ts +14 -0
  469. package/dist/types/routes/github.$owner.$repo.index.d.ts +7 -0
  470. package/dist/types/routes/index.d.ts +11 -0
  471. package/dist/types/routes/onboarding.d.ts +7 -0
  472. package/dist/types/routes/settings.d.ts +1 -0
  473. package/dist/types/routes/sign-in.d.ts +11 -0
  474. package/dist/types/server/access/policy.d.ts +108 -0
  475. package/dist/types/server/access/repository-identity-policy.d.ts +3 -0
  476. package/dist/types/server/access/repository-identity.d.ts +65 -0
  477. package/dist/types/server/access/repository-policy.d.ts +33 -0
  478. package/dist/types/server/access/repository.d.ts +227 -0
  479. package/dist/types/server/account/account.d.ts +39 -0
  480. package/dist/types/server/account/deletion.d.ts +15 -0
  481. package/dist/types/server/account/preferences.d.ts +6 -0
  482. package/dist/types/server/actions/actions.d.ts +152 -0
  483. package/dist/types/server/activity/capture.d.ts +33 -0
  484. package/dist/types/server/activity/details.d.ts +23 -0
  485. package/dist/types/server/activity/store.d.ts +50 -0
  486. package/dist/types/server/activity/webhook.d.ts +4 -0
  487. package/dist/types/server/admin/access.d.ts +4 -0
  488. package/dist/types/server/admin/admin.d.ts +43 -0
  489. package/dist/types/server/admin/sign-in-allowlist.d.ts +16 -0
  490. package/dist/types/server/auth/index.d.ts +751 -0
  491. package/dist/types/server/auth/oauth-account.d.ts +23 -0
  492. package/dist/types/server/auth/oauth-token-adapter.d.ts +2 -0
  493. package/dist/types/server/auth/oauth-token-crypto.d.ts +7 -0
  494. package/dist/types/server/auth/rate-limit.d.ts +3 -0
  495. package/dist/types/server/auth/secret-crypto.d.ts +5 -0
  496. package/dist/types/server/auth/sign-in-allowlist.d.ts +4 -0
  497. package/dist/types/server/cache/configuration-access.d.ts +33 -0
  498. package/dist/types/server/cache/configuration-read.d.ts +5 -0
  499. package/dist/types/server/cache/configuration.d.ts +67 -0
  500. package/dist/types/server/cache/directory-store.d.ts +35 -0
  501. package/dist/types/server/cache/directory.d.ts +65 -0
  502. package/dist/types/server/cache/policy.d.ts +14 -0
  503. package/dist/types/server/cache/repository-read.d.ts +3 -0
  504. package/dist/types/server/cache/repository.d.ts +30 -0
  505. package/dist/types/server/collaborators/api.d.ts +2 -0
  506. package/dist/types/server/collaborators/branches.d.ts +7 -0
  507. package/dist/types/server/collaborators/collaborators.d.ts +90 -0
  508. package/dist/types/server/collaborators/membership-match.d.ts +5 -0
  509. package/dist/types/server/collaborators/shared-projects.d.ts +13 -0
  510. package/dist/types/server/content/collection.d.ts +67 -0
  511. package/dist/types/server/content/conflict.d.ts +1 -0
  512. package/dist/types/server/content/entry-editor.d.ts +2308 -0
  513. package/dist/types/server/content/localized-directory.d.ts +7 -0
  514. package/dist/types/server/content/reference.d.ts +26 -0
  515. package/dist/types/server/content/write-response.d.ts +7 -0
  516. package/dist/types/server/context-cloudflare.d.ts +1050 -0
  517. package/dist/types/server/context-node.d.ts +1051 -0
  518. package/dist/types/server/context.d.ts +1094 -0
  519. package/dist/types/server/csrf.d.ts +2 -0
  520. package/dist/types/server/db/client.d.ts +10 -0
  521. package/dist/types/server/db/core.d.ts +27 -0
  522. package/dist/types/server/db/schema.d.ts +3270 -0
  523. package/dist/types/server/db/sql.d.ts +8 -0
  524. package/dist/types/server/email/email.d.ts +15 -0
  525. package/dist/types/server/email/templates.d.ts +36 -0
  526. package/dist/types/server/email/translations.d.ts +121 -0
  527. package/dist/types/server/github/account.d.ts +7 -0
  528. package/dist/types/server/github/api.d.ts +208 -0
  529. package/dist/types/server/github/app-install.d.ts +2 -0
  530. package/dist/types/server/github/app.d.ts +21 -0
  531. package/dist/types/server/github/installation-token-cache.d.ts +5 -0
  532. package/dist/types/server/github/large-collection.d.ts +2 -0
  533. package/dist/types/server/github/webhook-response.d.ts +2 -0
  534. package/dist/types/server/github/webhook.d.ts +37 -0
  535. package/dist/types/server/http.d.ts +7 -0
  536. package/dist/types/server/index.d.ts +5 -0
  537. package/dist/types/server/media/media.d.ts +145 -0
  538. package/dist/types/server/media/preview.d.ts +8 -0
  539. package/dist/types/server/media/provider.d.ts +233 -0
  540. package/dist/types/server/repository/activity.d.ts +2 -0
  541. package/dist/types/server/repository/branches.d.ts +12 -0
  542. package/dist/types/server/repository/provider.d.ts +155 -0
  543. package/dist/types/server/repository/repositories.d.ts +55 -0
  544. package/dist/types/server/request-body.d.ts +4 -0
  545. package/dist/types/server/routes/account.d.ts +4 -0
  546. package/dist/types/server/routes/actions.d.ts +4 -0
  547. package/dist/types/server/routes/activity.d.ts +4 -0
  548. package/dist/types/server/routes/admin.d.ts +4 -0
  549. package/dist/types/server/routes/app-version.d.ts +1 -0
  550. package/dist/types/server/routes/auth.d.ts +4 -0
  551. package/dist/types/server/routes/cache.d.ts +4 -0
  552. package/dist/types/server/routes/collaborators.d.ts +4 -0
  553. package/dist/types/server/routes/configuration.d.ts +4 -0
  554. package/dist/types/server/routes/entries.d.ts +4 -0
  555. package/dist/types/server/routes/health.d.ts +6 -0
  556. package/dist/types/server/routes/index.d.ts +3 -0
  557. package/dist/types/server/routes/media.d.ts +4 -0
  558. package/dist/types/server/routes/plugin-request.d.ts +3 -0
  559. package/dist/types/server/routes/plugins.d.ts +4 -0
  560. package/dist/types/server/routes/repositories.d.ts +4 -0
  561. package/dist/types/server/routes/shared.d.ts +16 -0
  562. package/dist/types/server/routes/webhooks.d.ts +4 -0
  563. package/dist/types/server/runtime/runtime-ports.d.ts +4 -0
  564. package/dist/types/server/runtime-config.d.ts +41 -0
  565. package/dist/types/server/services/account-language.d.ts +3 -0
  566. package/dist/types/server/services/account.d.ts +41 -0
  567. package/dist/types/server/services/actions.d.ts +107 -0
  568. package/dist/types/server/services/activity.d.ts +51 -0
  569. package/dist/types/server/services/admin.d.ts +61 -0
  570. package/dist/types/server/services/authentication-state.d.ts +3 -0
  571. package/dist/types/server/services/cache-management.d.ts +41 -0
  572. package/dist/types/server/services/cache.d.ts +25 -0
  573. package/dist/types/server/services/collaborators.d.ts +22 -0
  574. package/dist/types/server/services/configuration-editor.d.ts +36 -0
  575. package/dist/types/server/services/configuration.d.ts +20 -0
  576. package/dist/types/server/services/content.d.ts +4764 -0
  577. package/dist/types/server/services/context.d.ts +37 -0
  578. package/dist/types/server/services/dashboard.d.ts +20 -0
  579. package/dist/types/server/services/entry-translations.d.ts +9 -0
  580. package/dist/types/server/services/errors.d.ts +14 -0
  581. package/dist/types/server/services/index.d.ts +12 -0
  582. package/dist/types/server/services/local-account-data.d.ts +4 -0
  583. package/dist/types/server/services/media.d.ts +96 -0
  584. package/dist/types/server/services/reference.d.ts +10 -0
  585. package/dist/types/server/services/repository.d.ts +40 -0
  586. package/dist/types/shared/account-preferences.d.ts +13 -0
  587. package/dist/types/shared/application-operations.d.ts +2 -0
  588. package/dist/types/shared/collection-presentation.d.ts +13 -0
  589. package/dist/types/shared/configuration-compatibility.d.ts +10 -0
  590. package/dist/types/shared/configuration-components.d.ts +4 -0
  591. package/dist/types/shared/configuration-content.d.ts +21 -0
  592. package/dist/types/shared/configuration-discovery.d.ts +3 -0
  593. package/dist/types/shared/configuration-names.d.ts +7 -0
  594. package/dist/types/shared/configuration-navigation.d.ts +25 -0
  595. package/dist/types/shared/configuration-schema.d.ts +653 -0
  596. package/dist/types/shared/configuration-settings.d.ts +4 -0
  597. package/dist/types/shared/configuration-source.d.ts +17 -0
  598. package/dist/types/shared/configuration-yaml.d.ts +23 -0
  599. package/dist/types/shared/configuration.d.ts +4 -0
  600. package/dist/types/shared/content-conflict.d.ts +2 -0
  601. package/dist/types/shared/content-serialization.d.ts +18 -0
  602. package/dist/types/shared/field-validation-error.d.ts +3 -0
  603. package/dist/types/shared/git-path.d.ts +11 -0
  604. package/dist/types/shared/json.d.ts +13 -0
  605. package/dist/types/shared/media-error.d.ts +9 -0
  606. package/dist/types/shared/repository-search.d.ts +5 -0
  607. package/dist/types/shared/repository-templates.d.ts +17 -0
  608. package/dist/types/shared/requests/account.d.ts +16 -0
  609. package/dist/types/shared/requests/action.d.ts +52 -0
  610. package/dist/types/shared/requests/activity.d.ts +7 -0
  611. package/dist/types/shared/requests/admin.d.ts +35 -0
  612. package/dist/types/shared/requests/branch.d.ts +7 -0
  613. package/dist/types/shared/requests/cache.d.ts +22 -0
  614. package/dist/types/shared/requests/collaborator.d.ts +20 -0
  615. package/dist/types/shared/requests/collection.d.ts +10 -0
  616. package/dist/types/shared/requests/configuration.d.ts +21 -0
  617. package/dist/types/shared/requests/entry-write.d.ts +108 -0
  618. package/dist/types/shared/requests/entry.d.ts +17 -0
  619. package/dist/types/shared/requests/fixed-file.d.ts +8 -0
  620. package/dist/types/shared/requests/local-account.d.ts +4 -0
  621. package/dist/types/shared/requests/media.d.ts +135 -0
  622. package/dist/types/shared/requests/reference.d.ts +14 -0
  623. package/dist/types/shared/requests/repository-template.d.ts +6 -0
  624. package/dist/types/shared/requests/repository.d.ts +6 -0
  625. package/dist/types/shared/requests/ui-language.d.ts +4 -0
  626. package/dist/types/shared/sign-in-allowlist.d.ts +18 -0
  627. package/dist/types/shared/yaml-aliases.d.ts +1 -0
  628. package/docs/public/configuration/actions.md +160 -0
  629. package/docs/public/configuration/components.md +56 -0
  630. package/docs/public/configuration/content/filename.md +63 -0
  631. package/docs/public/configuration/content/formats.md +63 -0
  632. package/docs/public/configuration/content/index.md +138 -0
  633. package/docs/public/configuration/content/view.md +52 -0
  634. package/docs/public/configuration/fields/block.md +62 -0
  635. package/docs/public/configuration/fields/boolean.md +22 -0
  636. package/docs/public/configuration/fields/code.md +29 -0
  637. package/docs/public/configuration/fields/date.md +35 -0
  638. package/docs/public/configuration/fields/file.md +34 -0
  639. package/docs/public/configuration/fields/image.md +48 -0
  640. package/docs/public/configuration/fields/index.md +130 -0
  641. package/docs/public/configuration/fields/number.md +28 -0
  642. package/docs/public/configuration/fields/object.md +63 -0
  643. package/docs/public/configuration/fields/reference.md +64 -0
  644. package/docs/public/configuration/fields/rich-text.md +126 -0
  645. package/docs/public/configuration/fields/select.md +48 -0
  646. package/docs/public/configuration/fields/string.md +31 -0
  647. package/docs/public/configuration/fields/text.md +30 -0
  648. package/docs/public/configuration/fields/uuid.md +28 -0
  649. package/docs/public/configuration/index.md +88 -0
  650. package/docs/public/configuration/localization.md +138 -0
  651. package/docs/public/configuration/media.md +77 -0
  652. package/docs/public/configuration/settings.md +85 -0
  653. package/docs/public/docs.json +119 -0
  654. package/docs/public/extending/custom-field.md +107 -0
  655. package/docs/public/extending/field-api.md +71 -0
  656. package/docs/public/extending/plugins.md +67 -0
  657. package/docs/public/guides/actions.md +14 -0
  658. package/docs/public/guides/collaborators.md +43 -0
  659. package/docs/public/guides/editing.md +36 -0
  660. package/docs/public/guides/media.md +24 -0
  661. package/docs/public/guides/translations.md +40 -0
  662. package/docs/public/how-it-works.md +33 -0
  663. package/docs/public/index.md +25 -0
  664. package/docs/public/quick-start.md +87 -0
  665. package/docs/public/reference.md +84 -0
  666. package/docs/public/self-hosting/cloudflare.md +62 -0
  667. package/docs/public/self-hosting/environment-variables.md +84 -0
  668. package/docs/public/self-hosting/github-app.md +54 -0
  669. package/docs/public/self-hosting/index.md +44 -0
  670. package/docs/public/self-hosting/netlify.md +41 -0
  671. package/docs/public/self-hosting/node.md +42 -0
  672. package/docs/public/self-hosting/upgrading.md +44 -0
  673. package/docs/public/self-hosting/vercel.md +41 -0
  674. package/drizzle/0000_wet_overlord.sql +268 -0
  675. package/drizzle/meta/0000_snapshot.json +1858 -0
  676. package/drizzle/meta/_journal.json +13 -0
  677. package/index.html +53 -0
  678. package/package.json +368 -3
  679. package/public/_headers +7 -0
  680. package/public/favicon.ico +0 -0
  681. package/public/favicon.svg +16 -0
  682. package/public/images/astro-blog-template.webp +0 -0
  683. package/public/images/eleventy-blog-template.webp +0 -0
  684. package/public/images/email-logo.png +0 -0
  685. package/public/images/nextjs-blog-template.webp +0 -0
  686. package/public/images/social-card.png +0 -0
  687. package/public/reference/docs/configuration/actions.md +160 -0
  688. package/public/reference/docs/configuration/components.md +56 -0
  689. package/public/reference/docs/configuration/content/filename.md +63 -0
  690. package/public/reference/docs/configuration/content/formats.md +63 -0
  691. package/public/reference/docs/configuration/content/index.md +138 -0
  692. package/public/reference/docs/configuration/content/view.md +52 -0
  693. package/public/reference/docs/configuration/fields/block.md +62 -0
  694. package/public/reference/docs/configuration/fields/boolean.md +22 -0
  695. package/public/reference/docs/configuration/fields/code.md +29 -0
  696. package/public/reference/docs/configuration/fields/date.md +35 -0
  697. package/public/reference/docs/configuration/fields/file.md +34 -0
  698. package/public/reference/docs/configuration/fields/image.md +48 -0
  699. package/public/reference/docs/configuration/fields/index.md +130 -0
  700. package/public/reference/docs/configuration/fields/number.md +28 -0
  701. package/public/reference/docs/configuration/fields/object.md +63 -0
  702. package/public/reference/docs/configuration/fields/reference.md +64 -0
  703. package/public/reference/docs/configuration/fields/rich-text.md +126 -0
  704. package/public/reference/docs/configuration/fields/select.md +48 -0
  705. package/public/reference/docs/configuration/fields/string.md +31 -0
  706. package/public/reference/docs/configuration/fields/text.md +30 -0
  707. package/public/reference/docs/configuration/fields/uuid.md +28 -0
  708. package/public/reference/docs/configuration/index.md +88 -0
  709. package/public/reference/docs/configuration/localization.md +138 -0
  710. package/public/reference/docs/configuration/media.md +77 -0
  711. package/public/reference/docs/configuration/settings.md +85 -0
  712. package/public/reference/docs/extending/custom-field.md +107 -0
  713. package/public/reference/docs/extending/field-api.md +71 -0
  714. package/public/reference/docs/extending/plugins.md +67 -0
  715. package/public/reference/docs/guides/actions.md +14 -0
  716. package/public/reference/docs/guides/collaborators.md +43 -0
  717. package/public/reference/docs/guides/editing.md +36 -0
  718. package/public/reference/docs/guides/media.md +24 -0
  719. package/public/reference/docs/guides/translations.md +40 -0
  720. package/public/reference/docs/how-it-works.md +33 -0
  721. package/public/reference/docs/index.md +25 -0
  722. package/public/reference/docs/quick-start.md +87 -0
  723. package/public/reference/docs/reference.md +84 -0
  724. package/public/reference/docs/self-hosting/cloudflare.md +62 -0
  725. package/public/reference/docs/self-hosting/environment-variables.md +84 -0
  726. package/public/reference/docs/self-hosting/github-app.md +54 -0
  727. package/public/reference/docs/self-hosting/index.md +44 -0
  728. package/public/reference/docs/self-hosting/netlify.md +41 -0
  729. package/public/reference/docs/self-hosting/node.md +42 -0
  730. package/public/reference/docs/self-hosting/upgrading.md +44 -0
  731. package/public/reference/docs/self-hosting/vercel.md +41 -0
  732. package/public/reference/docs.json +119 -0
  733. package/public/reference/manifest.json +190 -0
  734. package/public/reference.md +79 -0
  735. package/scripts/collaborators.mjs +470 -0
  736. package/scripts/setup-github-app.mjs +837 -0
  737. package/src/client/api/account.ts +48 -0
  738. package/src/client/api/actions.ts +53 -0
  739. package/src/client/api/activity.ts +17 -0
  740. package/src/client/api/admin.ts +25 -0
  741. package/src/client/api/auth.ts +8 -0
  742. package/src/client/api/authentication.ts +8 -0
  743. package/src/client/api/cache.ts +18 -0
  744. package/src/client/api/collaborators.ts +18 -0
  745. package/src/client/api/collections.ts +26 -0
  746. package/src/client/api/configuration.ts +38 -0
  747. package/src/client/api/dashboard.ts +6 -0
  748. package/src/client/api/entries.ts +53 -0
  749. package/src/client/api/entry-write.ts +54 -0
  750. package/src/client/api/fixed-file.ts +23 -0
  751. package/src/client/api/index.ts +98 -0
  752. package/src/client/api/local-account.ts +5 -0
  753. package/src/client/api/media.ts +62 -0
  754. package/src/client/api/reference.ts +9 -0
  755. package/src/client/api/repositories.ts +7 -0
  756. package/src/client/api/repository-search.ts +18 -0
  757. package/src/client/api/repository.ts +39 -0
  758. package/src/client/queries/admin.ts +19 -0
  759. package/src/client/queries/content.ts +114 -0
  760. package/src/client/queries/file-history.ts +44 -0
  761. package/src/client/queries/keys.ts +56 -0
  762. package/src/client/queries/references.ts +124 -0
  763. package/src/client/queries/repository-invalidation.ts +27 -0
  764. package/src/client/queries/repository.ts +96 -0
  765. package/src/client/queries/session.ts +45 -0
  766. package/src/client.tsx +15 -0
  767. package/src/components/action-history-menu.tsx +273 -0
  768. package/src/components/code-editor-language.ts +29 -0
  769. package/src/components/code-editor.tsx +146 -0
  770. package/src/components/code-field.tsx +42 -0
  771. package/src/components/collaborator-identity.tsx +34 -0
  772. package/src/components/collaborator-invite-input.tsx +160 -0
  773. package/src/components/collaborators-loading.tsx +53 -0
  774. package/src/components/collection-entry-creator.tsx +558 -0
  775. package/src/components/component-preloading.tsx +23 -0
  776. package/src/components/content-entry-editor.tsx +1240 -0
  777. package/src/components/content-entry-skeleton.tsx +200 -0
  778. package/src/components/content-icon.tsx +51 -0
  779. package/src/components/dropdown-loading-row.tsx +19 -0
  780. package/src/components/editor-layout.tsx +16 -0
  781. package/src/components/editor-skeleton.tsx +21 -0
  782. package/src/components/error-alert.tsx +44 -0
  783. package/src/components/file-editor-history.tsx +191 -0
  784. package/src/components/file-editor-menu.tsx +113 -0
  785. package/src/components/github-icon.tsx +17 -0
  786. package/src/components/gradient-avatar-fallback.tsx +39 -0
  787. package/src/components/media-file-icon.tsx +40 -0
  788. package/src/components/media-thumbnail.tsx +199 -0
  789. package/src/components/operation-error.tsx +161 -0
  790. package/src/components/option-combobox.tsx +195 -0
  791. package/src/components/otp-verification-form.tsx +125 -0
  792. package/src/components/repository-action-buttons.tsx +547 -0
  793. package/src/components/repository-breadcrumb.tsx +169 -0
  794. package/src/components/repository-page-header.tsx +97 -0
  795. package/src/components/repository-shell.tsx +938 -0
  796. package/src/components/rich-text-field.tsx +324 -0
  797. package/src/components/root-error.tsx +77 -0
  798. package/src/components/search-input.tsx +37 -0
  799. package/src/components/settings-back-link.tsx +43 -0
  800. package/src/components/settings-layout.tsx +178 -0
  801. package/src/components/settings-loading.tsx +19 -0
  802. package/src/components/settings-row.ts +9 -0
  803. package/src/components/sign-in-form.tsx +285 -0
  804. package/src/components/startup-error.tsx +93 -0
  805. package/src/components/structured-content-field.tsx +1900 -0
  806. package/src/components/table-pager.tsx +62 -0
  807. package/src/components/ui/alert-dialog.tsx +199 -0
  808. package/src/components/ui/alert.tsx +78 -0
  809. package/src/components/ui/avatar.tsx +113 -0
  810. package/src/components/ui/badge.tsx +53 -0
  811. package/src/components/ui/breadcrumb.tsx +128 -0
  812. package/src/components/ui/button-group.tsx +84 -0
  813. package/src/components/ui/button.tsx +67 -0
  814. package/src/components/ui/card.tsx +102 -0
  815. package/src/components/ui/checkbox.tsx +38 -0
  816. package/src/components/ui/collapsible.tsx +31 -0
  817. package/src/components/ui/combobox.tsx +336 -0
  818. package/src/components/ui/command.tsx +202 -0
  819. package/src/components/ui/dialog.tsx +174 -0
  820. package/src/components/ui/dropdown-menu.tsx +279 -0
  821. package/src/components/ui/editor/blockquote.ts +45 -0
  822. package/src/components/ui/editor/document.ts +29 -0
  823. package/src/components/ui/editor/html-policy.ts +945 -0
  824. package/src/components/ui/editor/image.ts +309 -0
  825. package/src/components/ui/editor/index.tsx +1383 -0
  826. package/src/components/ui/editor/preserve.ts +494 -0
  827. package/src/components/ui/editor/slash-command/commands-list.tsx +122 -0
  828. package/src/components/ui/editor/slash-command/commands.ts +66 -0
  829. package/src/components/ui/editor/slash-command/suggestion.tsx +305 -0
  830. package/src/components/ui/editor/typeset.css +1120 -0
  831. package/src/components/ui/empty.tsx +104 -0
  832. package/src/components/ui/field.tsx +246 -0
  833. package/src/components/ui/input-group.tsx +155 -0
  834. package/src/components/ui/input-otp.tsx +84 -0
  835. package/src/components/ui/input.tsx +18 -0
  836. package/src/components/ui/label.tsx +23 -0
  837. package/src/components/ui/pagination.tsx +153 -0
  838. package/src/components/ui/popover.tsx +86 -0
  839. package/src/components/ui/progress.tsx +29 -0
  840. package/src/components/ui/radio-group.tsx +41 -0
  841. package/src/components/ui/scroll-area.tsx +52 -0
  842. package/src/components/ui/select.tsx +206 -0
  843. package/src/components/ui/separator.tsx +25 -0
  844. package/src/components/ui/sheet.tsx +152 -0
  845. package/src/components/ui/sidebar.tsx +693 -0
  846. package/src/components/ui/skeleton.tsx +14 -0
  847. package/src/components/ui/sonner.tsx +88 -0
  848. package/src/components/ui/spinner.tsx +24 -0
  849. package/src/components/ui/switch.tsx +32 -0
  850. package/src/components/ui/table.tsx +165 -0
  851. package/src/components/ui/tabs.tsx +88 -0
  852. package/src/components/ui/textarea.tsx +17 -0
  853. package/src/components/ui/toggle-group.tsx +89 -0
  854. package/src/components/ui/toggle.tsx +47 -0
  855. package/src/components/ui/tooltip.tsx +54 -0
  856. package/src/deployment/builtins/resend-email.server.ts +75 -0
  857. package/src/deployment/conformance/media-storage.ts +177 -0
  858. package/src/deployment/contracts/client.ts +331 -0
  859. package/src/deployment/contracts/server.server.ts +55 -0
  860. package/src/deployment/contracts/version.ts +8 -0
  861. package/src/deployment/default/client.ts +6 -0
  862. package/src/deployment/default/server.server.ts +8 -0
  863. package/src/features/account/account-copy.ts +17 -0
  864. package/src/features/account/account-deleted-notice.tsx +23 -0
  865. package/src/features/account/account-menu.tsx +139 -0
  866. package/src/features/account/account-messages.ts +4 -0
  867. package/src/features/account/app-header.tsx +46 -0
  868. package/src/features/account/content-editing-preferences.tsx +104 -0
  869. package/src/features/account/delete-account.tsx +236 -0
  870. package/src/features/account/language-field.tsx +79 -0
  871. package/src/features/account/language-preference.tsx +101 -0
  872. package/src/features/account/local-account-data.tsx +131 -0
  873. package/src/features/account/local-account-storage.ts +82 -0
  874. package/src/features/account/profile-editor.ts +269 -0
  875. package/src/features/account/profile-fields.tsx +156 -0
  876. package/src/features/account/profile-loading.tsx +51 -0
  877. package/src/features/account/profile-picture.tsx +272 -0
  878. package/src/features/account/profile-settings.tsx +50 -0
  879. package/src/features/account/profile-setup-heading.tsx +17 -0
  880. package/src/features/account/profile-setup.tsx +171 -0
  881. package/src/features/account/require-profile.ts +40 -0
  882. package/src/features/account/sign-in-layout.tsx +29 -0
  883. package/src/features/account/sign-in-page.tsx +45 -0
  884. package/src/features/account/theme-preference.tsx +89 -0
  885. package/src/features/account/use-account-preferences.ts +96 -0
  886. package/src/features/account/use-profile-editor.ts +102 -0
  887. package/src/features/account/use-profile-update.ts +64 -0
  888. package/src/features/activity/activity-feed-item.tsx +320 -0
  889. package/src/features/activity/activity-feed-skeleton.tsx +28 -0
  890. package/src/features/activity/activity-feed.tsx +113 -0
  891. package/src/features/activity/activity-query.ts +17 -0
  892. package/src/features/admin/action-run-status.tsx +103 -0
  893. package/src/features/admin/actions-page.tsx +869 -0
  894. package/src/features/admin/actions-skeleton.tsx +155 -0
  895. package/src/features/admin/admin-loading.tsx +165 -0
  896. package/src/features/admin/admin-page.tsx +573 -0
  897. package/src/features/admin/allowlist-table.tsx +125 -0
  898. package/src/features/admin/cache-copy.ts +12 -0
  899. package/src/features/admin/cache-files-trigger.tsx +17 -0
  900. package/src/features/admin/cache-files.tsx +196 -0
  901. package/src/features/admin/cache-page.tsx +302 -0
  902. package/src/features/admin/cache-skeleton.tsx +76 -0
  903. package/src/features/admin/collaborators-page.tsx +425 -0
  904. package/src/features/admin/collaborators-skeleton.tsx +95 -0
  905. package/src/features/admin/configuration-contribution.tsx +44 -0
  906. package/src/features/admin/configuration-page.tsx +303 -0
  907. package/src/features/admin/configuration-setup.tsx +51 -0
  908. package/src/features/admin/configuration-skeleton.tsx +68 -0
  909. package/src/features/admin/plugin-page.tsx +115 -0
  910. package/src/features/admin/repository-actions-page.tsx +32 -0
  911. package/src/features/admin/repository-admin-access.ts +35 -0
  912. package/src/features/admin/repository-admin-page.tsx +75 -0
  913. package/src/features/admin/repository-configuration-page.tsx +18 -0
  914. package/src/features/admin/sign-in-allowlist.tsx +381 -0
  915. package/src/features/admin/use-action-run-tracking.ts +32 -0
  916. package/src/features/collaborators/collaborator-status.tsx +47 -0
  917. package/src/features/collaborators/collaborators-contribution.tsx +59 -0
  918. package/src/features/collections/collection-cell.tsx +336 -0
  919. package/src/features/collections/collection-header.tsx +233 -0
  920. package/src/features/collections/collection-model.ts +232 -0
  921. package/src/features/collections/collection-page.tsx +836 -0
  922. package/src/features/collections/collection-skeleton.tsx +106 -0
  923. package/src/features/collections/collection-table-layout.tsx +158 -0
  924. package/src/features/collections/collection-table.tsx +828 -0
  925. package/src/features/content/content-mutations.ts +544 -0
  926. package/src/features/content/unavailable-entry.tsx +64 -0
  927. package/src/features/content/use-entry-actions.tsx +399 -0
  928. package/src/features/dashboard/about-dialog.tsx +212 -0
  929. package/src/features/dashboard/branch-manager.tsx +118 -0
  930. package/src/features/dashboard/branch-picker.ts +17 -0
  931. package/src/features/dashboard/create-branch-dialog.tsx +182 -0
  932. package/src/features/dashboard/recent-repositories.ts +119 -0
  933. package/src/features/dashboard/recent-repository-list.tsx +82 -0
  934. package/src/features/dashboard/relative-time.ts +30 -0
  935. package/src/features/dashboard/repository-dashboard.tsx +174 -0
  936. package/src/features/dashboard/repository-loading.tsx +119 -0
  937. package/src/features/dashboard/repository-selector.tsx +398 -0
  938. package/src/features/dashboard/repository-template-preview.tsx +46 -0
  939. package/src/features/dashboard/repository-templates.tsx +237 -0
  940. package/src/features/drafts/collection-creation.ts +78 -0
  941. package/src/features/drafts/draft-discard-dialog.tsx +90 -0
  942. package/src/features/drafts/draft-field-preview.tsx +128 -0
  943. package/src/features/drafts/draft-merge-dialog.tsx +322 -0
  944. package/src/features/drafts/draft-merge-fields.ts +25 -0
  945. package/src/features/drafts/draft-read-cache.ts +73 -0
  946. package/src/features/drafts/draft-save-button.tsx +240 -0
  947. package/src/features/drafts/draft-session.ts +374 -0
  948. package/src/features/drafts/draft-store.ts +438 -0
  949. package/src/features/drafts/merge-draft.ts +131 -0
  950. package/src/features/drafts/relative-age.ts +13 -0
  951. package/src/features/drafts/saved-draft-menu.tsx +108 -0
  952. package/src/features/drafts/use-content-draft.tsx +157 -0
  953. package/src/features/drafts/use-draft-merge.tsx +253 -0
  954. package/src/features/drafts/use-duplicate-entry.ts +124 -0
  955. package/src/features/drafts/use-review-viewport.ts +61 -0
  956. package/src/features/editor/commit-message-dialog.tsx +100 -0
  957. package/src/features/editor/editor-component-loaders.ts +35 -0
  958. package/src/features/editor/entry-breadcrumb.ts +64 -0
  959. package/src/features/editor/entry-page-header.tsx +51 -0
  960. package/src/features/editor/entry-title.ts +55 -0
  961. package/src/features/editor/field-locale-menu.tsx +166 -0
  962. package/src/features/editor/field-locale-values.ts +69 -0
  963. package/src/features/editor/fields/core-field-renderers.tsx +300 -0
  964. package/src/features/editor/fields/custom-field-components.ts +15 -0
  965. package/src/features/editor/fields/field-renderer-registry.ts +45 -0
  966. package/src/features/editor/fields/field-types.ts +15 -0
  967. package/src/features/editor/fields/field-validation.tsx +174 -0
  968. package/src/features/editor/fields/structured-field-options.ts +66 -0
  969. package/src/features/editor/fields/use-reference-options.ts +47 -0
  970. package/src/features/editor/file-locale-menu.tsx +487 -0
  971. package/src/features/editor/locale-context.tsx +264 -0
  972. package/src/features/editor/locale-selection.tsx +63 -0
  973. package/src/features/editor/rich-text-media.ts +134 -0
  974. package/src/features/editor/start-translation-dialog.tsx +136 -0
  975. package/src/features/editor/translation-preferences.ts +58 -0
  976. package/src/features/editor/translation-start.ts +35 -0
  977. package/src/features/media/media-breadcrumb.tsx +84 -0
  978. package/src/features/media/media-browser.tsx +1236 -0
  979. package/src/features/media/media-delivery.ts +348 -0
  980. package/src/features/media/media-drag-overlay.tsx +59 -0
  981. package/src/features/media/media-entry.tsx +417 -0
  982. package/src/features/media/media-folder-tree.tsx +216 -0
  983. package/src/features/media/media-model.ts +60 -0
  984. package/src/features/media/media-move-dialog.tsx +97 -0
  985. package/src/features/media/media-mutations.ts +351 -0
  986. package/src/features/media/media-page.tsx +24 -0
  987. package/src/features/media/media-picker-dialog.tsx +123 -0
  988. package/src/features/media/media-skeleton.tsx +97 -0
  989. package/src/features/media/media-upload.ts +340 -0
  990. package/src/features/media/media-view.ts +16 -0
  991. package/src/features/media/upload-conflict-dialog.tsx +126 -0
  992. package/src/features/media/upload-conflicts.ts +166 -0
  993. package/src/features/pending-writes/account-operation.ts +44 -0
  994. package/src/features/pending-writes/pending-write.ts +41 -0
  995. package/src/features/pending-writes/use-operation.ts +158 -0
  996. package/src/features/plugins/standalone-plugin-page.tsx +31 -0
  997. package/src/features/plugins/standalone-plugin-routes.tsx +70 -0
  998. package/src/features/repository/configuration-required.tsx +91 -0
  999. package/src/features/repository/overview-draft-actions.tsx +28 -0
  1000. package/src/features/repository/overview-entry.ts +59 -0
  1001. package/src/features/repository/overview-file-item.tsx +115 -0
  1002. package/src/features/repository/overview-loading.tsx +94 -0
  1003. package/src/features/repository/overview-local-files.tsx +138 -0
  1004. package/src/features/repository/overview-media-upload.tsx +183 -0
  1005. package/src/features/repository/overview-shortcuts.tsx +138 -0
  1006. package/src/features/repository/overview.tsx +88 -0
  1007. package/src/features/repository/repository-loading.ts +12 -0
  1008. package/src/features/repository/repository-route-resource.ts +26 -0
  1009. package/src/features/repository/repository-route-state.tsx +147 -0
  1010. package/src/features/repository/repository-shell-loading.tsx +228 -0
  1011. package/src/features/repository/repository-unavailable-error.tsx +90 -0
  1012. package/src/features/repository/use-overview-files.ts +74 -0
  1013. package/src/features/settings/account-access-table.tsx +69 -0
  1014. package/src/features/settings/account-settings-contribution.tsx +88 -0
  1015. package/src/features/settings/settings-navigation.ts +99 -0
  1016. package/src/features/settings/shared-projects.tsx +246 -0
  1017. package/src/features/settings/user-settings-skeleton.tsx +132 -0
  1018. package/src/features/settings/user-settings.tsx +426 -0
  1019. package/src/fields/custom/README.md +56 -0
  1020. package/src/fields/definition.ts +45 -0
  1021. package/src/fields/registry.ts +9 -0
  1022. package/src/hooks/use-media-github-link.ts +29 -0
  1023. package/src/hooks/use-mobile.ts +19 -0
  1024. package/src/hooks/use-page-scrolled.ts +14 -0
  1025. package/src/hooks/use-repository-coordinates.ts +15 -0
  1026. package/src/hooks/use-repository-github-link.ts +8 -0
  1027. package/src/hooks/use-route-retry.ts +27 -0
  1028. package/src/hooks/use-sidebar-scroll.ts +48 -0
  1029. package/src/hooks/use-unsaved-warning.ts +14 -0
  1030. package/src/i18n/catalogs.ts +37 -0
  1031. package/src/i18n/dates.ts +19 -0
  1032. package/src/i18n/document-title.tsx +22 -0
  1033. package/src/i18n/error-catalogs.ts +37 -0
  1034. package/src/i18n/errors.ts +71 -0
  1035. package/src/i18n/known-errors.ts +2738 -0
  1036. package/src/i18n/lingui.config.mjs +18 -0
  1037. package/src/i18n/locale.ts +51 -0
  1038. package/src/i18n/localized-error.tsx +7 -0
  1039. package/src/i18n/localized-route-head.tsx +82 -0
  1040. package/src/i18n/message.ts +34 -0
  1041. package/src/i18n/plugin-catalogs.ts +97 -0
  1042. package/src/i18n/po.d.ts +5 -0
  1043. package/src/i18n/test-provider.tsx +12 -0
  1044. package/src/integrations/tanstack-query/devtools.tsx +6 -0
  1045. package/src/integrations/tanstack-query/root-provider.tsx +26 -0
  1046. package/src/lib/access-denial.ts +96 -0
  1047. package/src/lib/action-run-tracker.ts +144 -0
  1048. package/src/lib/action-run-tracking.ts +204 -0
  1049. package/src/lib/actions.ts +105 -0
  1050. package/src/lib/activity.ts +119 -0
  1051. package/src/lib/auth-error.ts +15 -0
  1052. package/src/lib/auth-redirect.ts +29 -0
  1053. package/src/lib/authentication.ts +22 -0
  1054. package/src/lib/avatar-gradient.ts +10 -0
  1055. package/src/lib/base64.ts +29 -0
  1056. package/src/lib/cn.ts +1 -0
  1057. package/src/lib/collaborator-invites.ts +55 -0
  1058. package/src/lib/collaborator-key.ts +4 -0
  1059. package/src/lib/collaborator-status.ts +10 -0
  1060. package/src/lib/commit-message.ts +149 -0
  1061. package/src/lib/component-loader.ts +13 -0
  1062. package/src/lib/component-preloading.ts +152 -0
  1063. package/src/lib/configuration-completion.ts +61 -0
  1064. package/src/lib/configuration-reference.d.mts +2 -0
  1065. package/src/lib/configuration-reference.mjs +5 -0
  1066. package/src/lib/content-field-values.ts +157 -0
  1067. package/src/lib/content-field.ts +5 -0
  1068. package/src/lib/content-filename.ts +116 -0
  1069. package/src/lib/content-icon-loader.ts +42 -0
  1070. package/src/lib/content-operations.ts +49 -0
  1071. package/src/lib/content-validation.ts +68 -0
  1072. package/src/lib/core-route-paths.ts +15 -0
  1073. package/src/lib/date-field.ts +53 -0
  1074. package/src/lib/deferred-component.tsx +42 -0
  1075. package/src/lib/field-value-shapes.ts +94 -0
  1076. package/src/lib/field-values.ts +467 -0
  1077. package/src/lib/file-history.ts +9 -0
  1078. package/src/lib/file-types.ts +88 -0
  1079. package/src/lib/i18n-media.ts +77 -0
  1080. package/src/lib/i18n-schema.ts +38 -0
  1081. package/src/lib/i18n-values.ts +428 -0
  1082. package/src/lib/i18n.ts +408 -0
  1083. package/src/lib/icon-name.ts +2 -0
  1084. package/src/lib/markdown-images.ts +156 -0
  1085. package/src/lib/media-assets.ts +39 -0
  1086. package/src/lib/media-field-values.ts +378 -0
  1087. package/src/lib/media-upload-name.ts +41 -0
  1088. package/src/lib/media-variants.ts +18 -0
  1089. package/src/lib/notifications.ts +156 -0
  1090. package/src/lib/operation-error.ts +9 -0
  1091. package/src/lib/page-title.ts +13 -0
  1092. package/src/lib/profile.ts +50 -0
  1093. package/src/lib/reference-pages.ts +24 -0
  1094. package/src/lib/repository-identity.ts +73 -0
  1095. package/src/lib/repository-page-path.ts +29 -0
  1096. package/src/lib/repository.ts +68 -0
  1097. package/src/lib/select-options.ts +23 -0
  1098. package/src/lib/use-raw-search.ts +9 -0
  1099. package/src/locales/de/messages.po +5696 -0
  1100. package/src/locales/en/messages.po +6125 -0
  1101. package/src/locales/es/messages.po +5919 -0
  1102. package/src/locales/fr/messages.po +6125 -0
  1103. package/src/locales/ja/messages.po +5696 -0
  1104. package/src/locales/pt-BR/messages.po +5919 -0
  1105. package/src/locales/zh-CN/messages.po +5919 -0
  1106. package/src/package/cli.ts +132 -0
  1107. package/src/package/cloudflare-project-routes.ts +16 -0
  1108. package/src/package/config.ts +224 -0
  1109. package/src/package/configured-icons.ts +58 -0
  1110. package/src/package/constants.ts +4 -0
  1111. package/src/package/deploy-config.ts +59 -0
  1112. package/src/package/generate.ts +108 -0
  1113. package/src/package/icon-path.ts +9 -0
  1114. package/src/package/libsql-web.mjs +1 -0
  1115. package/src/package/libsql.mjs +1 -0
  1116. package/src/package/load.ts +19 -0
  1117. package/src/package/migrate.ts +365 -0
  1118. package/src/package/node-middleware.ts +29 -0
  1119. package/src/package/runtime.server.ts +66 -0
  1120. package/src/package/runtime.ts +115 -0
  1121. package/src/package/serve.ts +47 -0
  1122. package/src/package/server-entry.ts +1 -0
  1123. package/src/package/smtp.server.ts +52 -0
  1124. package/src/package/smtp.ts +24 -0
  1125. package/src/package/vite.ts +376 -0
  1126. package/src/plugins/client.ts +141 -0
  1127. package/src/plugins/compose.server.ts +429 -0
  1128. package/src/plugins/email/cloudflare.server.ts +58 -0
  1129. package/src/plugins/email/resend.server.ts +12 -0
  1130. package/src/plugins/email/smtp.server.ts +77 -0
  1131. package/src/plugins/identity.ts +17 -0
  1132. package/src/plugins/server.ts +106 -0
  1133. package/src/routeTree.gen.ts +510 -0
  1134. package/src/router.tsx +49 -0
  1135. package/src/routes/__root.tsx +149 -0
  1136. package/src/routes/admin.tsx +77 -0
  1137. package/src/routes/auth.error.tsx +64 -0
  1138. package/src/routes/auth.redirect.tsx +12 -0
  1139. package/src/routes/github.$owner.$repo.$branch.$page.tsx +54 -0
  1140. package/src/routes/github.$owner.$repo.$branch.actions.tsx +41 -0
  1141. package/src/routes/github.$owner.$repo.$branch.cache.tsx +42 -0
  1142. package/src/routes/github.$owner.$repo.$branch.collaborators.tsx +58 -0
  1143. package/src/routes/github.$owner.$repo.$branch.collection.$name.tsx +96 -0
  1144. package/src/routes/github.$owner.$repo.$branch.collection.$name_.edit.$.tsx +13 -0
  1145. package/src/routes/github.$owner.$repo.$branch.collection.$name_.entry.$.tsx +95 -0
  1146. package/src/routes/github.$owner.$repo.$branch.collection.$name_.new.tsx +125 -0
  1147. package/src/routes/github.$owner.$repo.$branch.configuration.tsx +49 -0
  1148. package/src/routes/github.$owner.$repo.$branch.file.$name.tsx +81 -0
  1149. package/src/routes/github.$owner.$repo.$branch.index.tsx +57 -0
  1150. package/src/routes/github.$owner.$repo.$branch.media.$name.tsx +104 -0
  1151. package/src/routes/github.$owner.$repo.$branch.tsx +203 -0
  1152. package/src/routes/github.$owner.$repo.index.tsx +104 -0
  1153. package/src/routes/index.tsx +65 -0
  1154. package/src/routes/onboarding.tsx +51 -0
  1155. package/src/routes/settings.tsx +39 -0
  1156. package/src/routes/sign-in.tsx +71 -0
  1157. package/src/server/access/policy.ts +316 -0
  1158. package/src/server/access/repository-identity-policy.ts +120 -0
  1159. package/src/server/access/repository-identity.ts +361 -0
  1160. package/src/server/access/repository-policy.ts +85 -0
  1161. package/src/server/access/repository.ts +759 -0
  1162. package/src/server/account/account.ts +62 -0
  1163. package/src/server/account/deletion.ts +74 -0
  1164. package/src/server/account/preferences.ts +50 -0
  1165. package/src/server/actions/actions.ts +767 -0
  1166. package/src/server/activity/capture.ts +228 -0
  1167. package/src/server/activity/details.ts +154 -0
  1168. package/src/server/activity/store.ts +174 -0
  1169. package/src/server/activity/webhook.ts +159 -0
  1170. package/src/server/admin/access.ts +9 -0
  1171. package/src/server/admin/admin.ts +159 -0
  1172. package/src/server/admin/sign-in-allowlist.ts +60 -0
  1173. package/src/server/auth/index.ts +284 -0
  1174. package/src/server/auth/oauth-account.ts +131 -0
  1175. package/src/server/auth/oauth-token-adapter.ts +48 -0
  1176. package/src/server/auth/oauth-token-crypto.ts +56 -0
  1177. package/src/server/auth/rate-limit.ts +56 -0
  1178. package/src/server/auth/secret-crypto.ts +57 -0
  1179. package/src/server/auth/sign-in-allowlist.ts +33 -0
  1180. package/src/server/cache/configuration-access.ts +23 -0
  1181. package/src/server/cache/configuration-read.ts +30 -0
  1182. package/src/server/cache/configuration.ts +483 -0
  1183. package/src/server/cache/directory-store.ts +314 -0
  1184. package/src/server/cache/directory.ts +735 -0
  1185. package/src/server/cache/policy.ts +69 -0
  1186. package/src/server/cache/repository-read.ts +119 -0
  1187. package/src/server/cache/repository.ts +345 -0
  1188. package/src/server/collaborators/api.ts +39 -0
  1189. package/src/server/collaborators/branches.ts +72 -0
  1190. package/src/server/collaborators/collaborators.ts +600 -0
  1191. package/src/server/collaborators/membership-match.ts +10 -0
  1192. package/src/server/collaborators/shared-projects.ts +51 -0
  1193. package/src/server/content/collection.ts +301 -0
  1194. package/src/server/content/conflict.ts +11 -0
  1195. package/src/server/content/entry-editor.ts +1487 -0
  1196. package/src/server/content/localized-directory.ts +104 -0
  1197. package/src/server/content/reference.ts +347 -0
  1198. package/src/server/content/write-response.ts +32 -0
  1199. package/src/server/context-cloudflare.ts +91 -0
  1200. package/src/server/context-node.ts +80 -0
  1201. package/src/server/context.ts +262 -0
  1202. package/src/server/csrf.ts +27 -0
  1203. package/src/server/db/client.ts +56 -0
  1204. package/src/server/db/core.ts +69 -0
  1205. package/src/server/db/schema.ts +447 -0
  1206. package/src/server/db/sql.ts +49 -0
  1207. package/src/server/email/email.ts +19 -0
  1208. package/src/server/email/templates.ts +233 -0
  1209. package/src/server/email/translations.ts +144 -0
  1210. package/src/server/github/account.ts +72 -0
  1211. package/src/server/github/api.ts +1375 -0
  1212. package/src/server/github/app-install.ts +15 -0
  1213. package/src/server/github/app.ts +228 -0
  1214. package/src/server/github/installation-token-cache.ts +23 -0
  1215. package/src/server/github/large-collection.ts +48 -0
  1216. package/src/server/github/webhook-response.ts +81 -0
  1217. package/src/server/github/webhook.ts +1013 -0
  1218. package/src/server/http.ts +56 -0
  1219. package/src/server/index.ts +57 -0
  1220. package/src/server/media/media.ts +884 -0
  1221. package/src/server/media/preview.ts +145 -0
  1222. package/src/server/media/provider.ts +722 -0
  1223. package/src/server/repository/activity.ts +20 -0
  1224. package/src/server/repository/branches.ts +35 -0
  1225. package/src/server/repository/provider.ts +237 -0
  1226. package/src/server/repository/repositories.ts +340 -0
  1227. package/src/server/request-body.ts +33 -0
  1228. package/src/server/routes/account.ts +107 -0
  1229. package/src/server/routes/actions.ts +65 -0
  1230. package/src/server/routes/activity.ts +17 -0
  1231. package/src/server/routes/admin.ts +46 -0
  1232. package/src/server/routes/app-version.ts +51 -0
  1233. package/src/server/routes/auth.ts +35 -0
  1234. package/src/server/routes/cache.ts +41 -0
  1235. package/src/server/routes/collaborators.ts +32 -0
  1236. package/src/server/routes/configuration.ts +35 -0
  1237. package/src/server/routes/entries.ts +103 -0
  1238. package/src/server/routes/health.ts +78 -0
  1239. package/src/server/routes/index.ts +154 -0
  1240. package/src/server/routes/media.ts +95 -0
  1241. package/src/server/routes/plugin-request.ts +110 -0
  1242. package/src/server/routes/plugins.ts +30 -0
  1243. package/src/server/routes/repositories.ts +68 -0
  1244. package/src/server/routes/shared.ts +109 -0
  1245. package/src/server/routes/webhooks.ts +11 -0
  1246. package/src/server/runtime/runtime-ports.ts +7 -0
  1247. package/src/server/runtime-config.ts +284 -0
  1248. package/src/server/services/account-language.ts +21 -0
  1249. package/src/server/services/account.ts +145 -0
  1250. package/src/server/services/actions.ts +361 -0
  1251. package/src/server/services/activity.ts +339 -0
  1252. package/src/server/services/admin.ts +106 -0
  1253. package/src/server/services/authentication-state.ts +58 -0
  1254. package/src/server/services/cache-management.ts +165 -0
  1255. package/src/server/services/cache.ts +100 -0
  1256. package/src/server/services/collaborators.ts +138 -0
  1257. package/src/server/services/configuration-editor.ts +272 -0
  1258. package/src/server/services/configuration.ts +102 -0
  1259. package/src/server/services/content.ts +598 -0
  1260. package/src/server/services/context.ts +91 -0
  1261. package/src/server/services/dashboard.ts +74 -0
  1262. package/src/server/services/entry-translations.ts +44 -0
  1263. package/src/server/services/errors.ts +159 -0
  1264. package/src/server/services/index.ts +48 -0
  1265. package/src/server/services/local-account-data.ts +91 -0
  1266. package/src/server/services/media.ts +507 -0
  1267. package/src/server/services/reference.ts +39 -0
  1268. package/src/server/services/repository.ts +188 -0
  1269. package/src/shadcn-tailwind.css +674 -0
  1270. package/src/shared/account-preferences.ts +55 -0
  1271. package/src/shared/application-operations.ts +40 -0
  1272. package/src/shared/collection-presentation.ts +32 -0
  1273. package/src/shared/configuration-compatibility.ts +192 -0
  1274. package/src/shared/configuration-components.ts +98 -0
  1275. package/src/shared/configuration-content.ts +120 -0
  1276. package/src/shared/configuration-discovery.ts +111 -0
  1277. package/src/shared/configuration-names.ts +52 -0
  1278. package/src/shared/configuration-navigation.ts +166 -0
  1279. package/src/shared/configuration-schema.ts +1257 -0
  1280. package/src/shared/configuration-settings.ts +22 -0
  1281. package/src/shared/configuration-source.ts +186 -0
  1282. package/src/shared/configuration-yaml.ts +206 -0
  1283. package/src/shared/configuration.ts +296 -0
  1284. package/src/shared/content-conflict.ts +6 -0
  1285. package/src/shared/content-serialization.ts +252 -0
  1286. package/src/shared/field-validation-error.ts +32 -0
  1287. package/src/shared/git-path.ts +68 -0
  1288. package/src/shared/json.ts +30 -0
  1289. package/src/shared/media-error.ts +23 -0
  1290. package/src/shared/repository-search.ts +43 -0
  1291. package/src/shared/repository-templates.ts +22 -0
  1292. package/src/shared/requests/account.ts +37 -0
  1293. package/src/shared/requests/action.ts +169 -0
  1294. package/src/shared/requests/activity.ts +31 -0
  1295. package/src/shared/requests/admin.ts +98 -0
  1296. package/src/shared/requests/branch.ts +25 -0
  1297. package/src/shared/requests/cache.ts +62 -0
  1298. package/src/shared/requests/collaborator.ts +49 -0
  1299. package/src/shared/requests/collection.ts +32 -0
  1300. package/src/shared/requests/configuration.ts +41 -0
  1301. package/src/shared/requests/entry-write.ts +221 -0
  1302. package/src/shared/requests/entry.ts +35 -0
  1303. package/src/shared/requests/fixed-file.ts +29 -0
  1304. package/src/shared/requests/local-account.ts +5 -0
  1305. package/src/shared/requests/media.ts +215 -0
  1306. package/src/shared/requests/reference.ts +51 -0
  1307. package/src/shared/requests/repository-template.ts +32 -0
  1308. package/src/shared/requests/repository.ts +28 -0
  1309. package/src/shared/requests/ui-language.ts +15 -0
  1310. package/src/shared/sign-in-allowlist.ts +77 -0
  1311. package/src/shared/yaml-aliases.ts +25 -0
  1312. package/src/styles.css +453 -0
@@ -0,0 +1,2308 @@
1
+ import type { JsonValue } from '../../shared/json';
2
+ import type { Database } from '../db/client';
3
+ import type { RepositoryUser } from '../repository/repositories';
4
+ import type { RepositoryAccessService } from '../access/repository';
5
+ export declare function loadRawEntry(input: {
6
+ database: Database;
7
+ repositoryAccess: RepositoryAccessService;
8
+ user: RepositoryUser;
9
+ owner: string;
10
+ repo: string;
11
+ branch: string;
12
+ repoId?: string;
13
+ name: string;
14
+ path: string;
15
+ }): Promise<{
16
+ list?: JsonValue | undefined;
17
+ mode: "structured-list";
18
+ content: import("../../shared/json").JsonObject | JsonValue[];
19
+ fields: JsonValue;
20
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
21
+ actionContextType: "file" | "entry";
22
+ actions: import("../../lib/actions").RepositoryAction[];
23
+ media: {
24
+ name: string;
25
+ label: string;
26
+ input: string;
27
+ output: string;
28
+ extensions: string[];
29
+ }[];
30
+ schemaName: string;
31
+ i18n: import("../../lib/i18n").ContentI18n | null;
32
+ localized: boolean;
33
+ locale: string | null;
34
+ translations: {
35
+ path: string;
36
+ code: string;
37
+ label: string;
38
+ }[];
39
+ allowCustomMessage: boolean;
40
+ schemaType: string;
41
+ rootPath: string;
42
+ filename: string;
43
+ primaryField: string | undefined;
44
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
45
+ source: string;
46
+ sha: string;
47
+ path: string;
48
+ label: string;
49
+ } | {
50
+ list?: JsonValue | undefined;
51
+ mode: "structured";
52
+ content: import("../../shared/json").JsonObject | JsonValue[];
53
+ fields: JsonValue;
54
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
55
+ actionContextType: "file" | "entry";
56
+ actions: import("../../lib/actions").RepositoryAction[];
57
+ media: {
58
+ name: string;
59
+ label: string;
60
+ input: string;
61
+ output: string;
62
+ extensions: string[];
63
+ }[];
64
+ schemaName: string;
65
+ i18n: import("../../lib/i18n").ContentI18n | null;
66
+ localized: boolean;
67
+ locale: string | null;
68
+ translations: {
69
+ path: string;
70
+ code: string;
71
+ label: string;
72
+ }[];
73
+ allowCustomMessage: boolean;
74
+ schemaType: string;
75
+ rootPath: string;
76
+ filename: string;
77
+ primaryField: string | undefined;
78
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
79
+ source: string;
80
+ sha: string;
81
+ path: string;
82
+ label: string;
83
+ } | {
84
+ mode: "raw";
85
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
86
+ actionContextType: "file" | "entry";
87
+ actions: import("../../lib/actions").RepositoryAction[];
88
+ media: {
89
+ name: string;
90
+ label: string;
91
+ input: string;
92
+ output: string;
93
+ extensions: string[];
94
+ }[];
95
+ schemaName: string;
96
+ i18n: import("../../lib/i18n").ContentI18n | null;
97
+ localized: boolean;
98
+ locale: string | null;
99
+ translations: {
100
+ path: string;
101
+ code: string;
102
+ label: string;
103
+ }[];
104
+ allowCustomMessage: boolean;
105
+ schemaType: string;
106
+ rootPath: string;
107
+ filename: string;
108
+ primaryField: string | undefined;
109
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
110
+ source: string;
111
+ sha: string;
112
+ path: string;
113
+ label: string;
114
+ } | {
115
+ list?: JsonValue | undefined;
116
+ mode: "structured-list";
117
+ content: import("../../shared/json").JsonObject | JsonValue[];
118
+ fields: JsonValue;
119
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
120
+ actionContextType: "file" | "entry";
121
+ actions: import("../../lib/actions").RepositoryAction[];
122
+ media: {
123
+ name: string;
124
+ label: string;
125
+ input: string;
126
+ output: string;
127
+ extensions: string[];
128
+ }[];
129
+ schemaName: string;
130
+ i18n: import("../../lib/i18n").ContentI18n | null;
131
+ localized: boolean;
132
+ locale: string | null;
133
+ translations: {
134
+ path: string;
135
+ code: string;
136
+ label: string;
137
+ }[];
138
+ allowCustomMessage: boolean;
139
+ schemaType: string;
140
+ rootPath: string;
141
+ filename: string;
142
+ primaryField: string | undefined;
143
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
144
+ source: string;
145
+ sha: null;
146
+ path: string;
147
+ label: string;
148
+ } | {
149
+ list?: JsonValue | undefined;
150
+ mode: "structured";
151
+ content: import("../../shared/json").JsonObject | JsonValue[];
152
+ fields: JsonValue;
153
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
154
+ actionContextType: "file" | "entry";
155
+ actions: import("../../lib/actions").RepositoryAction[];
156
+ media: {
157
+ name: string;
158
+ label: string;
159
+ input: string;
160
+ output: string;
161
+ extensions: string[];
162
+ }[];
163
+ schemaName: string;
164
+ i18n: import("../../lib/i18n").ContentI18n | null;
165
+ localized: boolean;
166
+ locale: string | null;
167
+ translations: {
168
+ path: string;
169
+ code: string;
170
+ label: string;
171
+ }[];
172
+ allowCustomMessage: boolean;
173
+ schemaType: string;
174
+ rootPath: string;
175
+ filename: string;
176
+ primaryField: string | undefined;
177
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
178
+ source: string;
179
+ sha: null;
180
+ path: string;
181
+ label: string;
182
+ } | {
183
+ mode: "raw";
184
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
185
+ actionContextType: "file" | "entry";
186
+ actions: import("../../lib/actions").RepositoryAction[];
187
+ media: {
188
+ name: string;
189
+ label: string;
190
+ input: string;
191
+ output: string;
192
+ extensions: string[];
193
+ }[];
194
+ schemaName: string;
195
+ i18n: import("../../lib/i18n").ContentI18n | null;
196
+ localized: boolean;
197
+ locale: string | null;
198
+ translations: {
199
+ path: string;
200
+ code: string;
201
+ label: string;
202
+ }[];
203
+ allowCustomMessage: boolean;
204
+ schemaType: string;
205
+ rootPath: string;
206
+ filename: string;
207
+ primaryField: string | undefined;
208
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
209
+ source: string;
210
+ sha: null;
211
+ path: string;
212
+ label: string;
213
+ }>;
214
+ export declare function loadEntryTranslations(input: Parameters<typeof loadRawEntry>[0] & {
215
+ authorizeRead?: (path: string) => Promise<void>;
216
+ }): Promise<{
217
+ exists: boolean;
218
+ sha: string | null;
219
+ path: string;
220
+ code: string;
221
+ label: string;
222
+ }[]>;
223
+ export declare function loadEntryHistory(input: {
224
+ database: Database;
225
+ repositoryAccess: RepositoryAccessService;
226
+ user: RepositoryUser;
227
+ owner: string;
228
+ repo: string;
229
+ branch: string;
230
+ repoId?: string;
231
+ name: string;
232
+ path: string;
233
+ page?: number;
234
+ }): Promise<import("../repository/provider").RepositoryCommitSummary[]>;
235
+ export declare function loadFixedFile(input: Omit<Parameters<typeof loadRawEntry>[0], 'path'> & {
236
+ locale?: string;
237
+ }): Promise<{
238
+ list?: JsonValue | undefined;
239
+ mode: "structured-list";
240
+ content: import("../../shared/json").JsonObject | JsonValue[];
241
+ fields: JsonValue;
242
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
243
+ actionContextType: "file" | "entry";
244
+ actions: import("../../lib/actions").RepositoryAction[];
245
+ media: {
246
+ name: string;
247
+ label: string;
248
+ input: string;
249
+ output: string;
250
+ extensions: string[];
251
+ }[];
252
+ schemaName: string;
253
+ i18n: import("../../lib/i18n").ContentI18n | null;
254
+ localized: boolean;
255
+ locale: string | null;
256
+ translations: {
257
+ path: string;
258
+ code: string;
259
+ label: string;
260
+ }[];
261
+ allowCustomMessage: boolean;
262
+ schemaType: string;
263
+ rootPath: string;
264
+ filename: string;
265
+ primaryField: string | undefined;
266
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
267
+ source: string;
268
+ sha: string;
269
+ path: string;
270
+ label: string;
271
+ } | {
272
+ list?: JsonValue | undefined;
273
+ mode: "structured";
274
+ content: import("../../shared/json").JsonObject | JsonValue[];
275
+ fields: JsonValue;
276
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
277
+ actionContextType: "file" | "entry";
278
+ actions: import("../../lib/actions").RepositoryAction[];
279
+ media: {
280
+ name: string;
281
+ label: string;
282
+ input: string;
283
+ output: string;
284
+ extensions: string[];
285
+ }[];
286
+ schemaName: string;
287
+ i18n: import("../../lib/i18n").ContentI18n | null;
288
+ localized: boolean;
289
+ locale: string | null;
290
+ translations: {
291
+ path: string;
292
+ code: string;
293
+ label: string;
294
+ }[];
295
+ allowCustomMessage: boolean;
296
+ schemaType: string;
297
+ rootPath: string;
298
+ filename: string;
299
+ primaryField: string | undefined;
300
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
301
+ source: string;
302
+ sha: string;
303
+ path: string;
304
+ label: string;
305
+ } | {
306
+ mode: "raw";
307
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
308
+ actionContextType: "file" | "entry";
309
+ actions: import("../../lib/actions").RepositoryAction[];
310
+ media: {
311
+ name: string;
312
+ label: string;
313
+ input: string;
314
+ output: string;
315
+ extensions: string[];
316
+ }[];
317
+ schemaName: string;
318
+ i18n: import("../../lib/i18n").ContentI18n | null;
319
+ localized: boolean;
320
+ locale: string | null;
321
+ translations: {
322
+ path: string;
323
+ code: string;
324
+ label: string;
325
+ }[];
326
+ allowCustomMessage: boolean;
327
+ schemaType: string;
328
+ rootPath: string;
329
+ filename: string;
330
+ primaryField: string | undefined;
331
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
332
+ source: string;
333
+ sha: string;
334
+ path: string;
335
+ label: string;
336
+ } | {
337
+ list?: JsonValue | undefined;
338
+ mode: "structured-list";
339
+ content: import("../../shared/json").JsonObject | JsonValue[];
340
+ fields: JsonValue;
341
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
342
+ actionContextType: "file" | "entry";
343
+ actions: import("../../lib/actions").RepositoryAction[];
344
+ media: {
345
+ name: string;
346
+ label: string;
347
+ input: string;
348
+ output: string;
349
+ extensions: string[];
350
+ }[];
351
+ schemaName: string;
352
+ i18n: import("../../lib/i18n").ContentI18n | null;
353
+ localized: boolean;
354
+ locale: string | null;
355
+ translations: {
356
+ path: string;
357
+ code: string;
358
+ label: string;
359
+ }[];
360
+ allowCustomMessage: boolean;
361
+ schemaType: string;
362
+ rootPath: string;
363
+ filename: string;
364
+ primaryField: string | undefined;
365
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
366
+ source: string;
367
+ sha: null;
368
+ path: string;
369
+ label: string;
370
+ } | {
371
+ list?: JsonValue | undefined;
372
+ mode: "structured";
373
+ content: import("../../shared/json").JsonObject | JsonValue[];
374
+ fields: JsonValue;
375
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
376
+ actionContextType: "file" | "entry";
377
+ actions: import("../../lib/actions").RepositoryAction[];
378
+ media: {
379
+ name: string;
380
+ label: string;
381
+ input: string;
382
+ output: string;
383
+ extensions: string[];
384
+ }[];
385
+ schemaName: string;
386
+ i18n: import("../../lib/i18n").ContentI18n | null;
387
+ localized: boolean;
388
+ locale: string | null;
389
+ translations: {
390
+ path: string;
391
+ code: string;
392
+ label: string;
393
+ }[];
394
+ allowCustomMessage: boolean;
395
+ schemaType: string;
396
+ rootPath: string;
397
+ filename: string;
398
+ primaryField: string | undefined;
399
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
400
+ source: string;
401
+ sha: null;
402
+ path: string;
403
+ label: string;
404
+ } | {
405
+ mode: "raw";
406
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
407
+ actionContextType: "file" | "entry";
408
+ actions: import("../../lib/actions").RepositoryAction[];
409
+ media: {
410
+ name: string;
411
+ label: string;
412
+ input: string;
413
+ output: string;
414
+ extensions: string[];
415
+ }[];
416
+ schemaName: string;
417
+ i18n: import("../../lib/i18n").ContentI18n | null;
418
+ localized: boolean;
419
+ locale: string | null;
420
+ translations: {
421
+ path: string;
422
+ code: string;
423
+ label: string;
424
+ }[];
425
+ allowCustomMessage: boolean;
426
+ schemaType: string;
427
+ rootPath: string;
428
+ filename: string;
429
+ primaryField: string | undefined;
430
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
431
+ source: string;
432
+ sha: null;
433
+ path: string;
434
+ label: string;
435
+ }>;
436
+ export declare function saveStructuredEntry(input: Omit<Parameters<typeof saveRawEntry>[0], 'source'> & {
437
+ content: unknown;
438
+ }): Promise<{
439
+ entry: {
440
+ sha: string;
441
+ list?: JsonValue | undefined;
442
+ mode: "structured-list";
443
+ content: import("../../shared/json").JsonObject | JsonValue[];
444
+ fields: JsonValue;
445
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
446
+ actionContextType: "file" | "entry";
447
+ actions: import("../../lib/actions").RepositoryAction[];
448
+ media: {
449
+ name: string;
450
+ label: string;
451
+ input: string;
452
+ output: string;
453
+ extensions: string[];
454
+ }[];
455
+ schemaName: string;
456
+ i18n: import("../../lib/i18n").ContentI18n | null;
457
+ localized: boolean;
458
+ locale: string | null;
459
+ translations: {
460
+ path: string;
461
+ code: string;
462
+ label: string;
463
+ }[];
464
+ allowCustomMessage: boolean;
465
+ schemaType: string;
466
+ rootPath: string;
467
+ filename: string;
468
+ primaryField: string | undefined;
469
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
470
+ source: string;
471
+ path: string;
472
+ label: string;
473
+ } | {
474
+ sha: string;
475
+ list?: JsonValue | undefined;
476
+ mode: "structured";
477
+ content: import("../../shared/json").JsonObject | JsonValue[];
478
+ fields: JsonValue;
479
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
480
+ actionContextType: "file" | "entry";
481
+ actions: import("../../lib/actions").RepositoryAction[];
482
+ media: {
483
+ name: string;
484
+ label: string;
485
+ input: string;
486
+ output: string;
487
+ extensions: string[];
488
+ }[];
489
+ schemaName: string;
490
+ i18n: import("../../lib/i18n").ContentI18n | null;
491
+ localized: boolean;
492
+ locale: string | null;
493
+ translations: {
494
+ path: string;
495
+ code: string;
496
+ label: string;
497
+ }[];
498
+ allowCustomMessage: boolean;
499
+ schemaType: string;
500
+ rootPath: string;
501
+ filename: string;
502
+ primaryField: string | undefined;
503
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
504
+ source: string;
505
+ path: string;
506
+ label: string;
507
+ } | {
508
+ sha: string;
509
+ mode: "raw";
510
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
511
+ actionContextType: "file" | "entry";
512
+ actions: import("../../lib/actions").RepositoryAction[];
513
+ media: {
514
+ name: string;
515
+ label: string;
516
+ input: string;
517
+ output: string;
518
+ extensions: string[];
519
+ }[];
520
+ schemaName: string;
521
+ i18n: import("../../lib/i18n").ContentI18n | null;
522
+ localized: boolean;
523
+ locale: string | null;
524
+ translations: {
525
+ path: string;
526
+ code: string;
527
+ label: string;
528
+ }[];
529
+ allowCustomMessage: boolean;
530
+ schemaType: string;
531
+ rootPath: string;
532
+ filename: string;
533
+ primaryField: string | undefined;
534
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
535
+ source: string;
536
+ path: string;
537
+ label: string;
538
+ };
539
+ commitTimestamp: string;
540
+ parentCommitSha: string;
541
+ path: string;
542
+ sha: string;
543
+ commitSha: string;
544
+ } | {
545
+ entry: {
546
+ sha: string;
547
+ list?: JsonValue | undefined;
548
+ mode: "structured-list";
549
+ content: import("../../shared/json").JsonObject | JsonValue[];
550
+ fields: JsonValue;
551
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
552
+ actionContextType: "file" | "entry";
553
+ actions: import("../../lib/actions").RepositoryAction[];
554
+ media: {
555
+ name: string;
556
+ label: string;
557
+ input: string;
558
+ output: string;
559
+ extensions: string[];
560
+ }[];
561
+ schemaName: string;
562
+ i18n: import("../../lib/i18n").ContentI18n | null;
563
+ localized: boolean;
564
+ locale: string | null;
565
+ translations: {
566
+ path: string;
567
+ code: string;
568
+ label: string;
569
+ }[];
570
+ allowCustomMessage: boolean;
571
+ schemaType: string;
572
+ rootPath: string;
573
+ filename: string;
574
+ primaryField: string | undefined;
575
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
576
+ source: string;
577
+ path: string;
578
+ label: string;
579
+ } | {
580
+ sha: string;
581
+ list?: JsonValue | undefined;
582
+ mode: "structured";
583
+ content: import("../../shared/json").JsonObject | JsonValue[];
584
+ fields: JsonValue;
585
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
586
+ actionContextType: "file" | "entry";
587
+ actions: import("../../lib/actions").RepositoryAction[];
588
+ media: {
589
+ name: string;
590
+ label: string;
591
+ input: string;
592
+ output: string;
593
+ extensions: string[];
594
+ }[];
595
+ schemaName: string;
596
+ i18n: import("../../lib/i18n").ContentI18n | null;
597
+ localized: boolean;
598
+ locale: string | null;
599
+ translations: {
600
+ path: string;
601
+ code: string;
602
+ label: string;
603
+ }[];
604
+ allowCustomMessage: boolean;
605
+ schemaType: string;
606
+ rootPath: string;
607
+ filename: string;
608
+ primaryField: string | undefined;
609
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
610
+ source: string;
611
+ path: string;
612
+ label: string;
613
+ } | {
614
+ sha: string;
615
+ mode: "raw";
616
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
617
+ actionContextType: "file" | "entry";
618
+ actions: import("../../lib/actions").RepositoryAction[];
619
+ media: {
620
+ name: string;
621
+ label: string;
622
+ input: string;
623
+ output: string;
624
+ extensions: string[];
625
+ }[];
626
+ schemaName: string;
627
+ i18n: import("../../lib/i18n").ContentI18n | null;
628
+ localized: boolean;
629
+ locale: string | null;
630
+ translations: {
631
+ path: string;
632
+ code: string;
633
+ label: string;
634
+ }[];
635
+ allowCustomMessage: boolean;
636
+ schemaType: string;
637
+ rootPath: string;
638
+ filename: string;
639
+ primaryField: string | undefined;
640
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
641
+ source: string;
642
+ path: string;
643
+ label: string;
644
+ };
645
+ commitTimestamp?: undefined;
646
+ parentCommitSha: string;
647
+ path: string;
648
+ sha: string;
649
+ commitSha: string;
650
+ } | {
651
+ entry: {
652
+ sha: string;
653
+ list?: JsonValue | undefined;
654
+ mode: "structured-list";
655
+ content: import("../../shared/json").JsonObject | JsonValue[];
656
+ fields: JsonValue;
657
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
658
+ actionContextType: "file" | "entry";
659
+ actions: import("../../lib/actions").RepositoryAction[];
660
+ media: {
661
+ name: string;
662
+ label: string;
663
+ input: string;
664
+ output: string;
665
+ extensions: string[];
666
+ }[];
667
+ schemaName: string;
668
+ i18n: import("../../lib/i18n").ContentI18n | null;
669
+ localized: boolean;
670
+ locale: string | null;
671
+ translations: {
672
+ path: string;
673
+ code: string;
674
+ label: string;
675
+ }[];
676
+ allowCustomMessage: boolean;
677
+ schemaType: string;
678
+ rootPath: string;
679
+ filename: string;
680
+ primaryField: string | undefined;
681
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
682
+ source: string;
683
+ path: string;
684
+ label: string;
685
+ } | {
686
+ sha: string;
687
+ list?: JsonValue | undefined;
688
+ mode: "structured";
689
+ content: import("../../shared/json").JsonObject | JsonValue[];
690
+ fields: JsonValue;
691
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
692
+ actionContextType: "file" | "entry";
693
+ actions: import("../../lib/actions").RepositoryAction[];
694
+ media: {
695
+ name: string;
696
+ label: string;
697
+ input: string;
698
+ output: string;
699
+ extensions: string[];
700
+ }[];
701
+ schemaName: string;
702
+ i18n: import("../../lib/i18n").ContentI18n | null;
703
+ localized: boolean;
704
+ locale: string | null;
705
+ translations: {
706
+ path: string;
707
+ code: string;
708
+ label: string;
709
+ }[];
710
+ allowCustomMessage: boolean;
711
+ schemaType: string;
712
+ rootPath: string;
713
+ filename: string;
714
+ primaryField: string | undefined;
715
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
716
+ source: string;
717
+ path: string;
718
+ label: string;
719
+ } | {
720
+ sha: string;
721
+ mode: "raw";
722
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
723
+ actionContextType: "file" | "entry";
724
+ actions: import("../../lib/actions").RepositoryAction[];
725
+ media: {
726
+ name: string;
727
+ label: string;
728
+ input: string;
729
+ output: string;
730
+ extensions: string[];
731
+ }[];
732
+ schemaName: string;
733
+ i18n: import("../../lib/i18n").ContentI18n | null;
734
+ localized: boolean;
735
+ locale: string | null;
736
+ translations: {
737
+ path: string;
738
+ code: string;
739
+ label: string;
740
+ }[];
741
+ allowCustomMessage: boolean;
742
+ schemaType: string;
743
+ rootPath: string;
744
+ filename: string;
745
+ primaryField: string | undefined;
746
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
747
+ source: string;
748
+ path: string;
749
+ label: string;
750
+ };
751
+ commitTimestamp: string;
752
+ parentCommitSha?: undefined;
753
+ path: string;
754
+ sha: string;
755
+ commitSha: string;
756
+ } | {
757
+ entry: {
758
+ sha: string;
759
+ list?: JsonValue | undefined;
760
+ mode: "structured-list";
761
+ content: import("../../shared/json").JsonObject | JsonValue[];
762
+ fields: JsonValue;
763
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
764
+ actionContextType: "file" | "entry";
765
+ actions: import("../../lib/actions").RepositoryAction[];
766
+ media: {
767
+ name: string;
768
+ label: string;
769
+ input: string;
770
+ output: string;
771
+ extensions: string[];
772
+ }[];
773
+ schemaName: string;
774
+ i18n: import("../../lib/i18n").ContentI18n | null;
775
+ localized: boolean;
776
+ locale: string | null;
777
+ translations: {
778
+ path: string;
779
+ code: string;
780
+ label: string;
781
+ }[];
782
+ allowCustomMessage: boolean;
783
+ schemaType: string;
784
+ rootPath: string;
785
+ filename: string;
786
+ primaryField: string | undefined;
787
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
788
+ source: string;
789
+ path: string;
790
+ label: string;
791
+ } | {
792
+ sha: string;
793
+ list?: JsonValue | undefined;
794
+ mode: "structured";
795
+ content: import("../../shared/json").JsonObject | JsonValue[];
796
+ fields: JsonValue;
797
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
798
+ actionContextType: "file" | "entry";
799
+ actions: import("../../lib/actions").RepositoryAction[];
800
+ media: {
801
+ name: string;
802
+ label: string;
803
+ input: string;
804
+ output: string;
805
+ extensions: string[];
806
+ }[];
807
+ schemaName: string;
808
+ i18n: import("../../lib/i18n").ContentI18n | null;
809
+ localized: boolean;
810
+ locale: string | null;
811
+ translations: {
812
+ path: string;
813
+ code: string;
814
+ label: string;
815
+ }[];
816
+ allowCustomMessage: boolean;
817
+ schemaType: string;
818
+ rootPath: string;
819
+ filename: string;
820
+ primaryField: string | undefined;
821
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
822
+ source: string;
823
+ path: string;
824
+ label: string;
825
+ } | {
826
+ sha: string;
827
+ mode: "raw";
828
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
829
+ actionContextType: "file" | "entry";
830
+ actions: import("../../lib/actions").RepositoryAction[];
831
+ media: {
832
+ name: string;
833
+ label: string;
834
+ input: string;
835
+ output: string;
836
+ extensions: string[];
837
+ }[];
838
+ schemaName: string;
839
+ i18n: import("../../lib/i18n").ContentI18n | null;
840
+ localized: boolean;
841
+ locale: string | null;
842
+ translations: {
843
+ path: string;
844
+ code: string;
845
+ label: string;
846
+ }[];
847
+ allowCustomMessage: boolean;
848
+ schemaType: string;
849
+ rootPath: string;
850
+ filename: string;
851
+ primaryField: string | undefined;
852
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
853
+ source: string;
854
+ path: string;
855
+ label: string;
856
+ };
857
+ commitTimestamp?: undefined;
858
+ parentCommitSha?: undefined;
859
+ path: string;
860
+ sha: string;
861
+ commitSha: string;
862
+ }>;
863
+ export declare function saveRawEntry(input: {
864
+ database: Database;
865
+ repositoryAccess: RepositoryAccessService;
866
+ user: RepositoryUser & {
867
+ name: string;
868
+ };
869
+ owner: string;
870
+ repo: string;
871
+ branch: string;
872
+ repoId?: string;
873
+ name: string;
874
+ path: string;
875
+ source: string;
876
+ sha?: string | null;
877
+ message?: string;
878
+ authorizeWrite?: (path: string) => Promise<void>;
879
+ }): Promise<{
880
+ entry: {
881
+ sha: string;
882
+ list?: JsonValue | undefined;
883
+ mode: "structured-list";
884
+ content: import("../../shared/json").JsonObject | JsonValue[];
885
+ fields: JsonValue;
886
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
887
+ actionContextType: "file" | "entry";
888
+ actions: import("../../lib/actions").RepositoryAction[];
889
+ media: {
890
+ name: string;
891
+ label: string;
892
+ input: string;
893
+ output: string;
894
+ extensions: string[];
895
+ }[];
896
+ schemaName: string;
897
+ i18n: import("../../lib/i18n").ContentI18n | null;
898
+ localized: boolean;
899
+ locale: string | null;
900
+ translations: {
901
+ path: string;
902
+ code: string;
903
+ label: string;
904
+ }[];
905
+ allowCustomMessage: boolean;
906
+ schemaType: string;
907
+ rootPath: string;
908
+ filename: string;
909
+ primaryField: string | undefined;
910
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
911
+ source: string;
912
+ path: string;
913
+ label: string;
914
+ } | {
915
+ sha: string;
916
+ list?: JsonValue | undefined;
917
+ mode: "structured";
918
+ content: import("../../shared/json").JsonObject | JsonValue[];
919
+ fields: JsonValue;
920
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
921
+ actionContextType: "file" | "entry";
922
+ actions: import("../../lib/actions").RepositoryAction[];
923
+ media: {
924
+ name: string;
925
+ label: string;
926
+ input: string;
927
+ output: string;
928
+ extensions: string[];
929
+ }[];
930
+ schemaName: string;
931
+ i18n: import("../../lib/i18n").ContentI18n | null;
932
+ localized: boolean;
933
+ locale: string | null;
934
+ translations: {
935
+ path: string;
936
+ code: string;
937
+ label: string;
938
+ }[];
939
+ allowCustomMessage: boolean;
940
+ schemaType: string;
941
+ rootPath: string;
942
+ filename: string;
943
+ primaryField: string | undefined;
944
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
945
+ source: string;
946
+ path: string;
947
+ label: string;
948
+ } | {
949
+ sha: string;
950
+ mode: "raw";
951
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
952
+ actionContextType: "file" | "entry";
953
+ actions: import("../../lib/actions").RepositoryAction[];
954
+ media: {
955
+ name: string;
956
+ label: string;
957
+ input: string;
958
+ output: string;
959
+ extensions: string[];
960
+ }[];
961
+ schemaName: string;
962
+ i18n: import("../../lib/i18n").ContentI18n | null;
963
+ localized: boolean;
964
+ locale: string | null;
965
+ translations: {
966
+ path: string;
967
+ code: string;
968
+ label: string;
969
+ }[];
970
+ allowCustomMessage: boolean;
971
+ schemaType: string;
972
+ rootPath: string;
973
+ filename: string;
974
+ primaryField: string | undefined;
975
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
976
+ source: string;
977
+ path: string;
978
+ label: string;
979
+ };
980
+ commitTimestamp: string;
981
+ parentCommitSha: string;
982
+ path: string;
983
+ sha: string;
984
+ commitSha: string;
985
+ } | {
986
+ entry: {
987
+ sha: string;
988
+ list?: JsonValue | undefined;
989
+ mode: "structured-list";
990
+ content: import("../../shared/json").JsonObject | JsonValue[];
991
+ fields: JsonValue;
992
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
993
+ actionContextType: "file" | "entry";
994
+ actions: import("../../lib/actions").RepositoryAction[];
995
+ media: {
996
+ name: string;
997
+ label: string;
998
+ input: string;
999
+ output: string;
1000
+ extensions: string[];
1001
+ }[];
1002
+ schemaName: string;
1003
+ i18n: import("../../lib/i18n").ContentI18n | null;
1004
+ localized: boolean;
1005
+ locale: string | null;
1006
+ translations: {
1007
+ path: string;
1008
+ code: string;
1009
+ label: string;
1010
+ }[];
1011
+ allowCustomMessage: boolean;
1012
+ schemaType: string;
1013
+ rootPath: string;
1014
+ filename: string;
1015
+ primaryField: string | undefined;
1016
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1017
+ source: string;
1018
+ path: string;
1019
+ label: string;
1020
+ } | {
1021
+ sha: string;
1022
+ list?: JsonValue | undefined;
1023
+ mode: "structured";
1024
+ content: import("../../shared/json").JsonObject | JsonValue[];
1025
+ fields: JsonValue;
1026
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1027
+ actionContextType: "file" | "entry";
1028
+ actions: import("../../lib/actions").RepositoryAction[];
1029
+ media: {
1030
+ name: string;
1031
+ label: string;
1032
+ input: string;
1033
+ output: string;
1034
+ extensions: string[];
1035
+ }[];
1036
+ schemaName: string;
1037
+ i18n: import("../../lib/i18n").ContentI18n | null;
1038
+ localized: boolean;
1039
+ locale: string | null;
1040
+ translations: {
1041
+ path: string;
1042
+ code: string;
1043
+ label: string;
1044
+ }[];
1045
+ allowCustomMessage: boolean;
1046
+ schemaType: string;
1047
+ rootPath: string;
1048
+ filename: string;
1049
+ primaryField: string | undefined;
1050
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1051
+ source: string;
1052
+ path: string;
1053
+ label: string;
1054
+ } | {
1055
+ sha: string;
1056
+ mode: "raw";
1057
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1058
+ actionContextType: "file" | "entry";
1059
+ actions: import("../../lib/actions").RepositoryAction[];
1060
+ media: {
1061
+ name: string;
1062
+ label: string;
1063
+ input: string;
1064
+ output: string;
1065
+ extensions: string[];
1066
+ }[];
1067
+ schemaName: string;
1068
+ i18n: import("../../lib/i18n").ContentI18n | null;
1069
+ localized: boolean;
1070
+ locale: string | null;
1071
+ translations: {
1072
+ path: string;
1073
+ code: string;
1074
+ label: string;
1075
+ }[];
1076
+ allowCustomMessage: boolean;
1077
+ schemaType: string;
1078
+ rootPath: string;
1079
+ filename: string;
1080
+ primaryField: string | undefined;
1081
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1082
+ source: string;
1083
+ path: string;
1084
+ label: string;
1085
+ };
1086
+ commitTimestamp?: undefined;
1087
+ parentCommitSha: string;
1088
+ path: string;
1089
+ sha: string;
1090
+ commitSha: string;
1091
+ } | {
1092
+ entry: {
1093
+ sha: string;
1094
+ list?: JsonValue | undefined;
1095
+ mode: "structured-list";
1096
+ content: import("../../shared/json").JsonObject | JsonValue[];
1097
+ fields: JsonValue;
1098
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1099
+ actionContextType: "file" | "entry";
1100
+ actions: import("../../lib/actions").RepositoryAction[];
1101
+ media: {
1102
+ name: string;
1103
+ label: string;
1104
+ input: string;
1105
+ output: string;
1106
+ extensions: string[];
1107
+ }[];
1108
+ schemaName: string;
1109
+ i18n: import("../../lib/i18n").ContentI18n | null;
1110
+ localized: boolean;
1111
+ locale: string | null;
1112
+ translations: {
1113
+ path: string;
1114
+ code: string;
1115
+ label: string;
1116
+ }[];
1117
+ allowCustomMessage: boolean;
1118
+ schemaType: string;
1119
+ rootPath: string;
1120
+ filename: string;
1121
+ primaryField: string | undefined;
1122
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1123
+ source: string;
1124
+ path: string;
1125
+ label: string;
1126
+ } | {
1127
+ sha: string;
1128
+ list?: JsonValue | undefined;
1129
+ mode: "structured";
1130
+ content: import("../../shared/json").JsonObject | JsonValue[];
1131
+ fields: JsonValue;
1132
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1133
+ actionContextType: "file" | "entry";
1134
+ actions: import("../../lib/actions").RepositoryAction[];
1135
+ media: {
1136
+ name: string;
1137
+ label: string;
1138
+ input: string;
1139
+ output: string;
1140
+ extensions: string[];
1141
+ }[];
1142
+ schemaName: string;
1143
+ i18n: import("../../lib/i18n").ContentI18n | null;
1144
+ localized: boolean;
1145
+ locale: string | null;
1146
+ translations: {
1147
+ path: string;
1148
+ code: string;
1149
+ label: string;
1150
+ }[];
1151
+ allowCustomMessage: boolean;
1152
+ schemaType: string;
1153
+ rootPath: string;
1154
+ filename: string;
1155
+ primaryField: string | undefined;
1156
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1157
+ source: string;
1158
+ path: string;
1159
+ label: string;
1160
+ } | {
1161
+ sha: string;
1162
+ mode: "raw";
1163
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1164
+ actionContextType: "file" | "entry";
1165
+ actions: import("../../lib/actions").RepositoryAction[];
1166
+ media: {
1167
+ name: string;
1168
+ label: string;
1169
+ input: string;
1170
+ output: string;
1171
+ extensions: string[];
1172
+ }[];
1173
+ schemaName: string;
1174
+ i18n: import("../../lib/i18n").ContentI18n | null;
1175
+ localized: boolean;
1176
+ locale: string | null;
1177
+ translations: {
1178
+ path: string;
1179
+ code: string;
1180
+ label: string;
1181
+ }[];
1182
+ allowCustomMessage: boolean;
1183
+ schemaType: string;
1184
+ rootPath: string;
1185
+ filename: string;
1186
+ primaryField: string | undefined;
1187
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1188
+ source: string;
1189
+ path: string;
1190
+ label: string;
1191
+ };
1192
+ commitTimestamp: string;
1193
+ parentCommitSha?: undefined;
1194
+ path: string;
1195
+ sha: string;
1196
+ commitSha: string;
1197
+ } | {
1198
+ entry: {
1199
+ sha: string;
1200
+ list?: JsonValue | undefined;
1201
+ mode: "structured-list";
1202
+ content: import("../../shared/json").JsonObject | JsonValue[];
1203
+ fields: JsonValue;
1204
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1205
+ actionContextType: "file" | "entry";
1206
+ actions: import("../../lib/actions").RepositoryAction[];
1207
+ media: {
1208
+ name: string;
1209
+ label: string;
1210
+ input: string;
1211
+ output: string;
1212
+ extensions: string[];
1213
+ }[];
1214
+ schemaName: string;
1215
+ i18n: import("../../lib/i18n").ContentI18n | null;
1216
+ localized: boolean;
1217
+ locale: string | null;
1218
+ translations: {
1219
+ path: string;
1220
+ code: string;
1221
+ label: string;
1222
+ }[];
1223
+ allowCustomMessage: boolean;
1224
+ schemaType: string;
1225
+ rootPath: string;
1226
+ filename: string;
1227
+ primaryField: string | undefined;
1228
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1229
+ source: string;
1230
+ path: string;
1231
+ label: string;
1232
+ } | {
1233
+ sha: string;
1234
+ list?: JsonValue | undefined;
1235
+ mode: "structured";
1236
+ content: import("../../shared/json").JsonObject | JsonValue[];
1237
+ fields: JsonValue;
1238
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1239
+ actionContextType: "file" | "entry";
1240
+ actions: import("../../lib/actions").RepositoryAction[];
1241
+ media: {
1242
+ name: string;
1243
+ label: string;
1244
+ input: string;
1245
+ output: string;
1246
+ extensions: string[];
1247
+ }[];
1248
+ schemaName: string;
1249
+ i18n: import("../../lib/i18n").ContentI18n | null;
1250
+ localized: boolean;
1251
+ locale: string | null;
1252
+ translations: {
1253
+ path: string;
1254
+ code: string;
1255
+ label: string;
1256
+ }[];
1257
+ allowCustomMessage: boolean;
1258
+ schemaType: string;
1259
+ rootPath: string;
1260
+ filename: string;
1261
+ primaryField: string | undefined;
1262
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1263
+ source: string;
1264
+ path: string;
1265
+ label: string;
1266
+ } | {
1267
+ sha: string;
1268
+ mode: "raw";
1269
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1270
+ actionContextType: "file" | "entry";
1271
+ actions: import("../../lib/actions").RepositoryAction[];
1272
+ media: {
1273
+ name: string;
1274
+ label: string;
1275
+ input: string;
1276
+ output: string;
1277
+ extensions: string[];
1278
+ }[];
1279
+ schemaName: string;
1280
+ i18n: import("../../lib/i18n").ContentI18n | null;
1281
+ localized: boolean;
1282
+ locale: string | null;
1283
+ translations: {
1284
+ path: string;
1285
+ code: string;
1286
+ label: string;
1287
+ }[];
1288
+ allowCustomMessage: boolean;
1289
+ schemaType: string;
1290
+ rootPath: string;
1291
+ filename: string;
1292
+ primaryField: string | undefined;
1293
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1294
+ source: string;
1295
+ path: string;
1296
+ label: string;
1297
+ };
1298
+ commitTimestamp?: undefined;
1299
+ parentCommitSha?: undefined;
1300
+ path: string;
1301
+ sha: string;
1302
+ commitSha: string;
1303
+ }>;
1304
+ export declare function createStructuredEntry(input: Omit<Parameters<typeof saveStructuredEntry>[0], 'path' | 'sha'> & {
1305
+ parent?: string;
1306
+ filename?: string;
1307
+ onConflict?: 'suffix' | 'error';
1308
+ locale?: string;
1309
+ }): Promise<({
1310
+ entry: {
1311
+ sha: string;
1312
+ list?: JsonValue | undefined;
1313
+ mode: "structured-list";
1314
+ content: import("../../shared/json").JsonObject | JsonValue[];
1315
+ fields: JsonValue;
1316
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1317
+ actionContextType: "file" | "entry";
1318
+ actions: import("../../lib/actions").RepositoryAction[];
1319
+ media: {
1320
+ name: string;
1321
+ label: string;
1322
+ input: string;
1323
+ output: string;
1324
+ extensions: string[];
1325
+ }[];
1326
+ schemaName: string;
1327
+ i18n: import("../../lib/i18n").ContentI18n | null;
1328
+ localized: boolean;
1329
+ locale: string | null;
1330
+ translations: {
1331
+ path: string;
1332
+ code: string;
1333
+ label: string;
1334
+ }[];
1335
+ allowCustomMessage: boolean;
1336
+ schemaType: string;
1337
+ rootPath: string;
1338
+ filename: string;
1339
+ primaryField: string | undefined;
1340
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1341
+ source: string;
1342
+ path: string;
1343
+ label: string;
1344
+ } | {
1345
+ sha: string;
1346
+ list?: JsonValue | undefined;
1347
+ mode: "structured";
1348
+ content: import("../../shared/json").JsonObject | JsonValue[];
1349
+ fields: JsonValue;
1350
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1351
+ actionContextType: "file" | "entry";
1352
+ actions: import("../../lib/actions").RepositoryAction[];
1353
+ media: {
1354
+ name: string;
1355
+ label: string;
1356
+ input: string;
1357
+ output: string;
1358
+ extensions: string[];
1359
+ }[];
1360
+ schemaName: string;
1361
+ i18n: import("../../lib/i18n").ContentI18n | null;
1362
+ localized: boolean;
1363
+ locale: string | null;
1364
+ translations: {
1365
+ path: string;
1366
+ code: string;
1367
+ label: string;
1368
+ }[];
1369
+ allowCustomMessage: boolean;
1370
+ schemaType: string;
1371
+ rootPath: string;
1372
+ filename: string;
1373
+ primaryField: string | undefined;
1374
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1375
+ source: string;
1376
+ path: string;
1377
+ label: string;
1378
+ } | {
1379
+ sha: string;
1380
+ mode: "raw";
1381
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1382
+ actionContextType: "file" | "entry";
1383
+ actions: import("../../lib/actions").RepositoryAction[];
1384
+ media: {
1385
+ name: string;
1386
+ label: string;
1387
+ input: string;
1388
+ output: string;
1389
+ extensions: string[];
1390
+ }[];
1391
+ schemaName: string;
1392
+ i18n: import("../../lib/i18n").ContentI18n | null;
1393
+ localized: boolean;
1394
+ locale: string | null;
1395
+ translations: {
1396
+ path: string;
1397
+ code: string;
1398
+ label: string;
1399
+ }[];
1400
+ allowCustomMessage: boolean;
1401
+ schemaType: string;
1402
+ rootPath: string;
1403
+ filename: string;
1404
+ primaryField: string | undefined;
1405
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1406
+ source: string;
1407
+ path: string;
1408
+ label: string;
1409
+ };
1410
+ commitTimestamp: string;
1411
+ parentCommitSha: string;
1412
+ path: string;
1413
+ sha: string;
1414
+ commitSha: string;
1415
+ } | {
1416
+ entry: {
1417
+ sha: string;
1418
+ list?: JsonValue | undefined;
1419
+ mode: "structured-list";
1420
+ content: import("../../shared/json").JsonObject | JsonValue[];
1421
+ fields: JsonValue;
1422
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1423
+ actionContextType: "file" | "entry";
1424
+ actions: import("../../lib/actions").RepositoryAction[];
1425
+ media: {
1426
+ name: string;
1427
+ label: string;
1428
+ input: string;
1429
+ output: string;
1430
+ extensions: string[];
1431
+ }[];
1432
+ schemaName: string;
1433
+ i18n: import("../../lib/i18n").ContentI18n | null;
1434
+ localized: boolean;
1435
+ locale: string | null;
1436
+ translations: {
1437
+ path: string;
1438
+ code: string;
1439
+ label: string;
1440
+ }[];
1441
+ allowCustomMessage: boolean;
1442
+ schemaType: string;
1443
+ rootPath: string;
1444
+ filename: string;
1445
+ primaryField: string | undefined;
1446
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1447
+ source: string;
1448
+ path: string;
1449
+ label: string;
1450
+ } | {
1451
+ sha: string;
1452
+ list?: JsonValue | undefined;
1453
+ mode: "structured";
1454
+ content: import("../../shared/json").JsonObject | JsonValue[];
1455
+ fields: JsonValue;
1456
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1457
+ actionContextType: "file" | "entry";
1458
+ actions: import("../../lib/actions").RepositoryAction[];
1459
+ media: {
1460
+ name: string;
1461
+ label: string;
1462
+ input: string;
1463
+ output: string;
1464
+ extensions: string[];
1465
+ }[];
1466
+ schemaName: string;
1467
+ i18n: import("../../lib/i18n").ContentI18n | null;
1468
+ localized: boolean;
1469
+ locale: string | null;
1470
+ translations: {
1471
+ path: string;
1472
+ code: string;
1473
+ label: string;
1474
+ }[];
1475
+ allowCustomMessage: boolean;
1476
+ schemaType: string;
1477
+ rootPath: string;
1478
+ filename: string;
1479
+ primaryField: string | undefined;
1480
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1481
+ source: string;
1482
+ path: string;
1483
+ label: string;
1484
+ } | {
1485
+ sha: string;
1486
+ mode: "raw";
1487
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1488
+ actionContextType: "file" | "entry";
1489
+ actions: import("../../lib/actions").RepositoryAction[];
1490
+ media: {
1491
+ name: string;
1492
+ label: string;
1493
+ input: string;
1494
+ output: string;
1495
+ extensions: string[];
1496
+ }[];
1497
+ schemaName: string;
1498
+ i18n: import("../../lib/i18n").ContentI18n | null;
1499
+ localized: boolean;
1500
+ locale: string | null;
1501
+ translations: {
1502
+ path: string;
1503
+ code: string;
1504
+ label: string;
1505
+ }[];
1506
+ allowCustomMessage: boolean;
1507
+ schemaType: string;
1508
+ rootPath: string;
1509
+ filename: string;
1510
+ primaryField: string | undefined;
1511
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1512
+ source: string;
1513
+ path: string;
1514
+ label: string;
1515
+ };
1516
+ commitTimestamp?: undefined;
1517
+ parentCommitSha: string;
1518
+ path: string;
1519
+ sha: string;
1520
+ commitSha: string;
1521
+ } | {
1522
+ entry: {
1523
+ sha: string;
1524
+ list?: JsonValue | undefined;
1525
+ mode: "structured-list";
1526
+ content: import("../../shared/json").JsonObject | JsonValue[];
1527
+ fields: JsonValue;
1528
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1529
+ actionContextType: "file" | "entry";
1530
+ actions: import("../../lib/actions").RepositoryAction[];
1531
+ media: {
1532
+ name: string;
1533
+ label: string;
1534
+ input: string;
1535
+ output: string;
1536
+ extensions: string[];
1537
+ }[];
1538
+ schemaName: string;
1539
+ i18n: import("../../lib/i18n").ContentI18n | null;
1540
+ localized: boolean;
1541
+ locale: string | null;
1542
+ translations: {
1543
+ path: string;
1544
+ code: string;
1545
+ label: string;
1546
+ }[];
1547
+ allowCustomMessage: boolean;
1548
+ schemaType: string;
1549
+ rootPath: string;
1550
+ filename: string;
1551
+ primaryField: string | undefined;
1552
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1553
+ source: string;
1554
+ path: string;
1555
+ label: string;
1556
+ } | {
1557
+ sha: string;
1558
+ list?: JsonValue | undefined;
1559
+ mode: "structured";
1560
+ content: import("../../shared/json").JsonObject | JsonValue[];
1561
+ fields: JsonValue;
1562
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1563
+ actionContextType: "file" | "entry";
1564
+ actions: import("../../lib/actions").RepositoryAction[];
1565
+ media: {
1566
+ name: string;
1567
+ label: string;
1568
+ input: string;
1569
+ output: string;
1570
+ extensions: string[];
1571
+ }[];
1572
+ schemaName: string;
1573
+ i18n: import("../../lib/i18n").ContentI18n | null;
1574
+ localized: boolean;
1575
+ locale: string | null;
1576
+ translations: {
1577
+ path: string;
1578
+ code: string;
1579
+ label: string;
1580
+ }[];
1581
+ allowCustomMessage: boolean;
1582
+ schemaType: string;
1583
+ rootPath: string;
1584
+ filename: string;
1585
+ primaryField: string | undefined;
1586
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1587
+ source: string;
1588
+ path: string;
1589
+ label: string;
1590
+ } | {
1591
+ sha: string;
1592
+ mode: "raw";
1593
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1594
+ actionContextType: "file" | "entry";
1595
+ actions: import("../../lib/actions").RepositoryAction[];
1596
+ media: {
1597
+ name: string;
1598
+ label: string;
1599
+ input: string;
1600
+ output: string;
1601
+ extensions: string[];
1602
+ }[];
1603
+ schemaName: string;
1604
+ i18n: import("../../lib/i18n").ContentI18n | null;
1605
+ localized: boolean;
1606
+ locale: string | null;
1607
+ translations: {
1608
+ path: string;
1609
+ code: string;
1610
+ label: string;
1611
+ }[];
1612
+ allowCustomMessage: boolean;
1613
+ schemaType: string;
1614
+ rootPath: string;
1615
+ filename: string;
1616
+ primaryField: string | undefined;
1617
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1618
+ source: string;
1619
+ path: string;
1620
+ label: string;
1621
+ };
1622
+ commitTimestamp: string;
1623
+ parentCommitSha?: undefined;
1624
+ path: string;
1625
+ sha: string;
1626
+ commitSha: string;
1627
+ } | {
1628
+ entry: {
1629
+ sha: string;
1630
+ list?: JsonValue | undefined;
1631
+ mode: "structured-list";
1632
+ content: import("../../shared/json").JsonObject | JsonValue[];
1633
+ fields: JsonValue;
1634
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1635
+ actionContextType: "file" | "entry";
1636
+ actions: import("../../lib/actions").RepositoryAction[];
1637
+ media: {
1638
+ name: string;
1639
+ label: string;
1640
+ input: string;
1641
+ output: string;
1642
+ extensions: string[];
1643
+ }[];
1644
+ schemaName: string;
1645
+ i18n: import("../../lib/i18n").ContentI18n | null;
1646
+ localized: boolean;
1647
+ locale: string | null;
1648
+ translations: {
1649
+ path: string;
1650
+ code: string;
1651
+ label: string;
1652
+ }[];
1653
+ allowCustomMessage: boolean;
1654
+ schemaType: string;
1655
+ rootPath: string;
1656
+ filename: string;
1657
+ primaryField: string | undefined;
1658
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1659
+ source: string;
1660
+ path: string;
1661
+ label: string;
1662
+ } | {
1663
+ sha: string;
1664
+ list?: JsonValue | undefined;
1665
+ mode: "structured";
1666
+ content: import("../../shared/json").JsonObject | JsonValue[];
1667
+ fields: JsonValue;
1668
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1669
+ actionContextType: "file" | "entry";
1670
+ actions: import("../../lib/actions").RepositoryAction[];
1671
+ media: {
1672
+ name: string;
1673
+ label: string;
1674
+ input: string;
1675
+ output: string;
1676
+ extensions: string[];
1677
+ }[];
1678
+ schemaName: string;
1679
+ i18n: import("../../lib/i18n").ContentI18n | null;
1680
+ localized: boolean;
1681
+ locale: string | null;
1682
+ translations: {
1683
+ path: string;
1684
+ code: string;
1685
+ label: string;
1686
+ }[];
1687
+ allowCustomMessage: boolean;
1688
+ schemaType: string;
1689
+ rootPath: string;
1690
+ filename: string;
1691
+ primaryField: string | undefined;
1692
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1693
+ source: string;
1694
+ path: string;
1695
+ label: string;
1696
+ } | {
1697
+ sha: string;
1698
+ mode: "raw";
1699
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1700
+ actionContextType: "file" | "entry";
1701
+ actions: import("../../lib/actions").RepositoryAction[];
1702
+ media: {
1703
+ name: string;
1704
+ label: string;
1705
+ input: string;
1706
+ output: string;
1707
+ extensions: string[];
1708
+ }[];
1709
+ schemaName: string;
1710
+ i18n: import("../../lib/i18n").ContentI18n | null;
1711
+ localized: boolean;
1712
+ locale: string | null;
1713
+ translations: {
1714
+ path: string;
1715
+ code: string;
1716
+ label: string;
1717
+ }[];
1718
+ allowCustomMessage: boolean;
1719
+ schemaType: string;
1720
+ rootPath: string;
1721
+ filename: string;
1722
+ primaryField: string | undefined;
1723
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1724
+ source: string;
1725
+ path: string;
1726
+ label: string;
1727
+ };
1728
+ commitTimestamp?: undefined;
1729
+ parentCommitSha?: undefined;
1730
+ path: string;
1731
+ sha: string;
1732
+ commitSha: string;
1733
+ }) & {
1734
+ path: string;
1735
+ }>;
1736
+ export declare function createRawEntry(input: Omit<Parameters<typeof saveRawEntry>[0], 'path' | 'sha'> & {
1737
+ parent?: string;
1738
+ filename?: string;
1739
+ onConflict?: 'suffix' | 'error';
1740
+ locale?: string;
1741
+ }): Promise<({
1742
+ entry: {
1743
+ sha: string;
1744
+ list?: JsonValue | undefined;
1745
+ mode: "structured-list";
1746
+ content: import("../../shared/json").JsonObject | JsonValue[];
1747
+ fields: JsonValue;
1748
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1749
+ actionContextType: "file" | "entry";
1750
+ actions: import("../../lib/actions").RepositoryAction[];
1751
+ media: {
1752
+ name: string;
1753
+ label: string;
1754
+ input: string;
1755
+ output: string;
1756
+ extensions: string[];
1757
+ }[];
1758
+ schemaName: string;
1759
+ i18n: import("../../lib/i18n").ContentI18n | null;
1760
+ localized: boolean;
1761
+ locale: string | null;
1762
+ translations: {
1763
+ path: string;
1764
+ code: string;
1765
+ label: string;
1766
+ }[];
1767
+ allowCustomMessage: boolean;
1768
+ schemaType: string;
1769
+ rootPath: string;
1770
+ filename: string;
1771
+ primaryField: string | undefined;
1772
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1773
+ source: string;
1774
+ path: string;
1775
+ label: string;
1776
+ } | {
1777
+ sha: string;
1778
+ list?: JsonValue | undefined;
1779
+ mode: "structured";
1780
+ content: import("../../shared/json").JsonObject | JsonValue[];
1781
+ fields: JsonValue;
1782
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1783
+ actionContextType: "file" | "entry";
1784
+ actions: import("../../lib/actions").RepositoryAction[];
1785
+ media: {
1786
+ name: string;
1787
+ label: string;
1788
+ input: string;
1789
+ output: string;
1790
+ extensions: string[];
1791
+ }[];
1792
+ schemaName: string;
1793
+ i18n: import("../../lib/i18n").ContentI18n | null;
1794
+ localized: boolean;
1795
+ locale: string | null;
1796
+ translations: {
1797
+ path: string;
1798
+ code: string;
1799
+ label: string;
1800
+ }[];
1801
+ allowCustomMessage: boolean;
1802
+ schemaType: string;
1803
+ rootPath: string;
1804
+ filename: string;
1805
+ primaryField: string | undefined;
1806
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1807
+ source: string;
1808
+ path: string;
1809
+ label: string;
1810
+ } | {
1811
+ sha: string;
1812
+ mode: "raw";
1813
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1814
+ actionContextType: "file" | "entry";
1815
+ actions: import("../../lib/actions").RepositoryAction[];
1816
+ media: {
1817
+ name: string;
1818
+ label: string;
1819
+ input: string;
1820
+ output: string;
1821
+ extensions: string[];
1822
+ }[];
1823
+ schemaName: string;
1824
+ i18n: import("../../lib/i18n").ContentI18n | null;
1825
+ localized: boolean;
1826
+ locale: string | null;
1827
+ translations: {
1828
+ path: string;
1829
+ code: string;
1830
+ label: string;
1831
+ }[];
1832
+ allowCustomMessage: boolean;
1833
+ schemaType: string;
1834
+ rootPath: string;
1835
+ filename: string;
1836
+ primaryField: string | undefined;
1837
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1838
+ source: string;
1839
+ path: string;
1840
+ label: string;
1841
+ };
1842
+ commitTimestamp: string;
1843
+ parentCommitSha: string;
1844
+ path: string;
1845
+ sha: string;
1846
+ commitSha: string;
1847
+ } | {
1848
+ entry: {
1849
+ sha: string;
1850
+ list?: JsonValue | undefined;
1851
+ mode: "structured-list";
1852
+ content: import("../../shared/json").JsonObject | JsonValue[];
1853
+ fields: JsonValue;
1854
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1855
+ actionContextType: "file" | "entry";
1856
+ actions: import("../../lib/actions").RepositoryAction[];
1857
+ media: {
1858
+ name: string;
1859
+ label: string;
1860
+ input: string;
1861
+ output: string;
1862
+ extensions: string[];
1863
+ }[];
1864
+ schemaName: string;
1865
+ i18n: import("../../lib/i18n").ContentI18n | null;
1866
+ localized: boolean;
1867
+ locale: string | null;
1868
+ translations: {
1869
+ path: string;
1870
+ code: string;
1871
+ label: string;
1872
+ }[];
1873
+ allowCustomMessage: boolean;
1874
+ schemaType: string;
1875
+ rootPath: string;
1876
+ filename: string;
1877
+ primaryField: string | undefined;
1878
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1879
+ source: string;
1880
+ path: string;
1881
+ label: string;
1882
+ } | {
1883
+ sha: string;
1884
+ list?: JsonValue | undefined;
1885
+ mode: "structured";
1886
+ content: import("../../shared/json").JsonObject | JsonValue[];
1887
+ fields: JsonValue;
1888
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1889
+ actionContextType: "file" | "entry";
1890
+ actions: import("../../lib/actions").RepositoryAction[];
1891
+ media: {
1892
+ name: string;
1893
+ label: string;
1894
+ input: string;
1895
+ output: string;
1896
+ extensions: string[];
1897
+ }[];
1898
+ schemaName: string;
1899
+ i18n: import("../../lib/i18n").ContentI18n | null;
1900
+ localized: boolean;
1901
+ locale: string | null;
1902
+ translations: {
1903
+ path: string;
1904
+ code: string;
1905
+ label: string;
1906
+ }[];
1907
+ allowCustomMessage: boolean;
1908
+ schemaType: string;
1909
+ rootPath: string;
1910
+ filename: string;
1911
+ primaryField: string | undefined;
1912
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1913
+ source: string;
1914
+ path: string;
1915
+ label: string;
1916
+ } | {
1917
+ sha: string;
1918
+ mode: "raw";
1919
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1920
+ actionContextType: "file" | "entry";
1921
+ actions: import("../../lib/actions").RepositoryAction[];
1922
+ media: {
1923
+ name: string;
1924
+ label: string;
1925
+ input: string;
1926
+ output: string;
1927
+ extensions: string[];
1928
+ }[];
1929
+ schemaName: string;
1930
+ i18n: import("../../lib/i18n").ContentI18n | null;
1931
+ localized: boolean;
1932
+ locale: string | null;
1933
+ translations: {
1934
+ path: string;
1935
+ code: string;
1936
+ label: string;
1937
+ }[];
1938
+ allowCustomMessage: boolean;
1939
+ schemaType: string;
1940
+ rootPath: string;
1941
+ filename: string;
1942
+ primaryField: string | undefined;
1943
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1944
+ source: string;
1945
+ path: string;
1946
+ label: string;
1947
+ };
1948
+ commitTimestamp?: undefined;
1949
+ parentCommitSha: string;
1950
+ path: string;
1951
+ sha: string;
1952
+ commitSha: string;
1953
+ } | {
1954
+ entry: {
1955
+ sha: string;
1956
+ list?: JsonValue | undefined;
1957
+ mode: "structured-list";
1958
+ content: import("../../shared/json").JsonObject | JsonValue[];
1959
+ fields: JsonValue;
1960
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1961
+ actionContextType: "file" | "entry";
1962
+ actions: import("../../lib/actions").RepositoryAction[];
1963
+ media: {
1964
+ name: string;
1965
+ label: string;
1966
+ input: string;
1967
+ output: string;
1968
+ extensions: string[];
1969
+ }[];
1970
+ schemaName: string;
1971
+ i18n: import("../../lib/i18n").ContentI18n | null;
1972
+ localized: boolean;
1973
+ locale: string | null;
1974
+ translations: {
1975
+ path: string;
1976
+ code: string;
1977
+ label: string;
1978
+ }[];
1979
+ allowCustomMessage: boolean;
1980
+ schemaType: string;
1981
+ rootPath: string;
1982
+ filename: string;
1983
+ primaryField: string | undefined;
1984
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
1985
+ source: string;
1986
+ path: string;
1987
+ label: string;
1988
+ } | {
1989
+ sha: string;
1990
+ list?: JsonValue | undefined;
1991
+ mode: "structured";
1992
+ content: import("../../shared/json").JsonObject | JsonValue[];
1993
+ fields: JsonValue;
1994
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
1995
+ actionContextType: "file" | "entry";
1996
+ actions: import("../../lib/actions").RepositoryAction[];
1997
+ media: {
1998
+ name: string;
1999
+ label: string;
2000
+ input: string;
2001
+ output: string;
2002
+ extensions: string[];
2003
+ }[];
2004
+ schemaName: string;
2005
+ i18n: import("../../lib/i18n").ContentI18n | null;
2006
+ localized: boolean;
2007
+ locale: string | null;
2008
+ translations: {
2009
+ path: string;
2010
+ code: string;
2011
+ label: string;
2012
+ }[];
2013
+ allowCustomMessage: boolean;
2014
+ schemaType: string;
2015
+ rootPath: string;
2016
+ filename: string;
2017
+ primaryField: string | undefined;
2018
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
2019
+ source: string;
2020
+ path: string;
2021
+ label: string;
2022
+ } | {
2023
+ sha: string;
2024
+ mode: "raw";
2025
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
2026
+ actionContextType: "file" | "entry";
2027
+ actions: import("../../lib/actions").RepositoryAction[];
2028
+ media: {
2029
+ name: string;
2030
+ label: string;
2031
+ input: string;
2032
+ output: string;
2033
+ extensions: string[];
2034
+ }[];
2035
+ schemaName: string;
2036
+ i18n: import("../../lib/i18n").ContentI18n | null;
2037
+ localized: boolean;
2038
+ locale: string | null;
2039
+ translations: {
2040
+ path: string;
2041
+ code: string;
2042
+ label: string;
2043
+ }[];
2044
+ allowCustomMessage: boolean;
2045
+ schemaType: string;
2046
+ rootPath: string;
2047
+ filename: string;
2048
+ primaryField: string | undefined;
2049
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
2050
+ source: string;
2051
+ path: string;
2052
+ label: string;
2053
+ };
2054
+ commitTimestamp: string;
2055
+ parentCommitSha?: undefined;
2056
+ path: string;
2057
+ sha: string;
2058
+ commitSha: string;
2059
+ } | {
2060
+ entry: {
2061
+ sha: string;
2062
+ list?: JsonValue | undefined;
2063
+ mode: "structured-list";
2064
+ content: import("../../shared/json").JsonObject | JsonValue[];
2065
+ fields: JsonValue;
2066
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
2067
+ actionContextType: "file" | "entry";
2068
+ actions: import("../../lib/actions").RepositoryAction[];
2069
+ media: {
2070
+ name: string;
2071
+ label: string;
2072
+ input: string;
2073
+ output: string;
2074
+ extensions: string[];
2075
+ }[];
2076
+ schemaName: string;
2077
+ i18n: import("../../lib/i18n").ContentI18n | null;
2078
+ localized: boolean;
2079
+ locale: string | null;
2080
+ translations: {
2081
+ path: string;
2082
+ code: string;
2083
+ label: string;
2084
+ }[];
2085
+ allowCustomMessage: boolean;
2086
+ schemaType: string;
2087
+ rootPath: string;
2088
+ filename: string;
2089
+ primaryField: string | undefined;
2090
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
2091
+ source: string;
2092
+ path: string;
2093
+ label: string;
2094
+ } | {
2095
+ sha: string;
2096
+ list?: JsonValue | undefined;
2097
+ mode: "structured";
2098
+ content: import("../../shared/json").JsonObject | JsonValue[];
2099
+ fields: JsonValue;
2100
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
2101
+ actionContextType: "file" | "entry";
2102
+ actions: import("../../lib/actions").RepositoryAction[];
2103
+ media: {
2104
+ name: string;
2105
+ label: string;
2106
+ input: string;
2107
+ output: string;
2108
+ extensions: string[];
2109
+ }[];
2110
+ schemaName: string;
2111
+ i18n: import("../../lib/i18n").ContentI18n | null;
2112
+ localized: boolean;
2113
+ locale: string | null;
2114
+ translations: {
2115
+ path: string;
2116
+ code: string;
2117
+ label: string;
2118
+ }[];
2119
+ allowCustomMessage: boolean;
2120
+ schemaType: string;
2121
+ rootPath: string;
2122
+ filename: string;
2123
+ primaryField: string | undefined;
2124
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
2125
+ source: string;
2126
+ path: string;
2127
+ label: string;
2128
+ } | {
2129
+ sha: string;
2130
+ mode: "raw";
2131
+ operations: Readonly<Record<import("../../lib/content-operations").ContentOperation, boolean>>;
2132
+ actionContextType: "file" | "entry";
2133
+ actions: import("../../lib/actions").RepositoryAction[];
2134
+ media: {
2135
+ name: string;
2136
+ label: string;
2137
+ input: string;
2138
+ output: string;
2139
+ extensions: string[];
2140
+ }[];
2141
+ schemaName: string;
2142
+ i18n: import("../../lib/i18n").ContentI18n | null;
2143
+ localized: boolean;
2144
+ locale: string | null;
2145
+ translations: {
2146
+ path: string;
2147
+ code: string;
2148
+ label: string;
2149
+ }[];
2150
+ allowCustomMessage: boolean;
2151
+ schemaType: string;
2152
+ rootPath: string;
2153
+ filename: string;
2154
+ primaryField: string | undefined;
2155
+ groupTrail: import("../../shared/configuration-navigation").ConfigurationNavigationGroupTrailItem[];
2156
+ source: string;
2157
+ path: string;
2158
+ label: string;
2159
+ };
2160
+ commitTimestamp?: undefined;
2161
+ parentCommitSha?: undefined;
2162
+ path: string;
2163
+ sha: string;
2164
+ commitSha: string;
2165
+ }) & {
2166
+ path: string;
2167
+ }>;
2168
+ export declare function createContentFolder(input: Omit<Parameters<typeof saveRawEntry>[0], 'path' | 'source' | 'sha'> & {
2169
+ parent: string;
2170
+ folder: string;
2171
+ locale?: string;
2172
+ }): Promise<{
2173
+ path: string;
2174
+ commitTimestamp: string;
2175
+ parentCommitSha: string;
2176
+ sha: string;
2177
+ commitSha: string;
2178
+ } | {
2179
+ path: string;
2180
+ commitTimestamp?: undefined;
2181
+ parentCommitSha: string;
2182
+ sha: string;
2183
+ commitSha: string;
2184
+ } | {
2185
+ path: string;
2186
+ commitTimestamp: string;
2187
+ parentCommitSha?: undefined;
2188
+ sha: string;
2189
+ commitSha: string;
2190
+ } | {
2191
+ path: string;
2192
+ commitTimestamp?: undefined;
2193
+ parentCommitSha?: undefined;
2194
+ sha: string;
2195
+ commitSha: string;
2196
+ }>;
2197
+ export declare function deleteContentEntry(input: {
2198
+ database: Database;
2199
+ repositoryAccess: RepositoryAccessService;
2200
+ user: RepositoryUser & {
2201
+ name: string;
2202
+ };
2203
+ owner: string;
2204
+ repo: string;
2205
+ branch: string;
2206
+ repoId?: string;
2207
+ name: string;
2208
+ path: string;
2209
+ sha: string;
2210
+ }): Promise<{
2211
+ commitTimestamp: string;
2212
+ parentCommitSha: string;
2213
+ commitSha: string;
2214
+ } | {
2215
+ commitTimestamp?: undefined;
2216
+ parentCommitSha: string;
2217
+ commitSha: string;
2218
+ } | {
2219
+ commitTimestamp: string;
2220
+ parentCommitSha?: undefined;
2221
+ commitSha: string;
2222
+ } | {
2223
+ commitTimestamp?: undefined;
2224
+ parentCommitSha?: undefined;
2225
+ commitSha: string;
2226
+ }>;
2227
+ export declare function planContentRename(input: Parameters<typeof deleteContentEntry>[0] & {
2228
+ filename?: string;
2229
+ locale?: string;
2230
+ newPath?: string;
2231
+ }): Promise<{
2232
+ path: string;
2233
+ newPath: string;
2234
+ sha: string;
2235
+ revision?: string;
2236
+ }[]>;
2237
+ export declare function renameContentEntry(input: Parameters<typeof deleteContentEntry>[0] & {
2238
+ filename: string;
2239
+ confirmedMoves?: {
2240
+ path: string;
2241
+ newPath: string;
2242
+ sha: string;
2243
+ revision?: string;
2244
+ }[];
2245
+ authorizeMove?: (path: string, newPath: string) => Promise<void>;
2246
+ }): Promise<{
2247
+ moves: {
2248
+ path: string;
2249
+ newPath: string;
2250
+ sha: string;
2251
+ revision?: string;
2252
+ }[];
2253
+ commitTimestamp: string;
2254
+ path: string;
2255
+ newPath: string;
2256
+ sha: string;
2257
+ commitSha: string;
2258
+ parentCommitSha: string;
2259
+ } | {
2260
+ moves: {
2261
+ path: string;
2262
+ newPath: string;
2263
+ sha: string;
2264
+ revision?: string;
2265
+ }[];
2266
+ commitTimestamp?: undefined;
2267
+ path: string;
2268
+ newPath: string;
2269
+ sha: string;
2270
+ commitSha: string;
2271
+ parentCommitSha: string;
2272
+ }>;
2273
+ export declare function moveContentEntry(input: Parameters<typeof deleteContentEntry>[0] & {
2274
+ newPath: string;
2275
+ confirmedMoves?: {
2276
+ path: string;
2277
+ newPath: string;
2278
+ sha: string;
2279
+ revision?: string;
2280
+ }[];
2281
+ authorizeMove?: (path: string, newPath: string) => Promise<void>;
2282
+ }): Promise<{
2283
+ moves: {
2284
+ path: string;
2285
+ newPath: string;
2286
+ sha: string;
2287
+ revision?: string;
2288
+ }[];
2289
+ commitTimestamp: string;
2290
+ path: string;
2291
+ newPath: string;
2292
+ sha: string;
2293
+ commitSha: string;
2294
+ parentCommitSha: string;
2295
+ } | {
2296
+ moves: {
2297
+ path: string;
2298
+ newPath: string;
2299
+ sha: string;
2300
+ revision?: string;
2301
+ }[];
2302
+ commitTimestamp?: undefined;
2303
+ path: string;
2304
+ newPath: string;
2305
+ sha: string;
2306
+ commitSha: string;
2307
+ parentCommitSha: string;
2308
+ }>;