pagescms 0.0.0-stage → 3.0.0

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