dineway 0.1.31 → 0.1.32

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 (42) hide show
  1. package/README.md +54 -19
  2. package/dist/api/route-utils.d.mts +1 -1
  3. package/dist/api/schemas/index.d.mts +1 -1
  4. package/dist/{api-BgETfzu-.mjs → api-BNh44xAn.mjs} +1 -1
  5. package/dist/astro/index.d.mts +1 -1
  6. package/dist/astro/index.mjs +1 -1
  7. package/dist/astro/middleware/auth.d.mts +1 -1
  8. package/dist/astro/middleware.mjs +2 -2
  9. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +1 -1
  10. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +1 -1
  11. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
  12. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +1 -1
  13. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +1 -1
  14. package/dist/astro/routes/api/admin/plugins/index.mjs +1 -1
  15. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +1 -1
  16. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +1 -1
  17. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +1 -1
  18. package/dist/astro/routes/api/admin/plugins/updates.mjs +1 -1
  19. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +1 -1
  20. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +1 -1
  21. package/dist/astro/routes/api/health.mjs +1 -1
  22. package/dist/astro/routes/api/manifest.mjs +1 -1
  23. package/dist/astro/routes/api/mcp.mjs +1 -1
  24. package/dist/astro/routes/api/openapi.json.mjs +1 -1
  25. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
  26. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
  27. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
  28. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
  29. package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
  30. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
  31. package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
  32. package/dist/astro/routes/api/well-known/auth.mjs +1 -1
  33. package/dist/astro/types.d.mts +1 -1
  34. package/dist/{bylines-r8fYBu9F.d.mts → bylines-V8d8rXsD.d.mts} +14 -14
  35. package/dist/index.d.mts +1 -1
  36. package/dist/index.mjs +1 -1
  37. package/dist/media/local-runtime.d.mts +1 -1
  38. package/dist/plugins/adapt-sandbox-entry.d.mts +1 -1
  39. package/dist/runtime.d.mts +1 -1
  40. package/dist/version-DtFUCA79.mjs +6 -0
  41. package/package.json +3 -3
  42. package/dist/version-DjRKTPYR.mjs +0 -6
package/README.md CHANGED
@@ -225,43 +225,78 @@ npx dineway types
225
225
 
226
226
  ---
227
227
 
228
- ## Step 5 — Deploy Your Site
228
+ ## Step 5 — Deploy Your Site & Own Your Website
229
229
 
230
- When you're happy with your site, deploy it live with one command.
230
+ Unlike standard SaaS website builders, Dineway lets you fully own your website. Your code, your structured menus, your blog posts, and your media files belong entirely to you. You can choose to deploy to Dineway's official platform or host it on your own server or cloud provider with zero vendor lock-in.
231
231
 
232
- ### Deploy to Forgeway (Recommended)
232
+ ### Option A: Deploy to Forgeway (Simplest & Managed)
233
233
 
234
- Forgeway is Dineway's first-party hosting platform. It's the simplest way to go live:
234
+ Forgeway is Dineway's first-party hosting platform. It's the easiest way to go live:
235
235
 
236
236
  ```bash
237
237
  npx dineway deploy forgeway
238
238
  ```
239
239
 
240
240
  What happens:
241
+ 1. You verify your email address (Dineway account).
242
+ 2. The site is built, global CDN is configured, and database is provisioned.
243
+ 3. You receive a **one-time setup link** to register your admin passkey on the live site.
244
+ 4. `DINEWAY_SITE_URL` and `DINEWAY_TOKEN` are saved to your project `.env` automatically so remote CLI commands work out of the box.
241
245
 
242
- 1. You verify your email address (Dineway account)
243
- 2. The site is built and deployed
244
- 3. You receive a **one-time setup link** to create your admin account on the live site
245
- 4. `DINEWAY_SITE_URL` and `DINEWAY_TOKEN` are saved to your project `.env` automatically
246
- 5. Follow-up CLI commands (like `npx dineway whoami`) work automatically
246
+ > **Important:** Open the setup link in your browser immediately. It lets you register your secure passkey for the live admin panel. If you lose or expire the link, regenerate it with `npx dineway auth setup-link`.
247
247
 
248
- > **Important:** Open the setup link in your browser immediately. It lets you register a passkey for your admin account on the live site.
249
-
250
- If you lose the setup link, regenerate it:
248
+ ---
251
249
 
252
- ```bash
253
- npx dineway auth setup-link
254
- ```
250
+ ### Option B: Self-Host Anywhere (Maximum Ownership)
255
251
 
256
- ### Deploy to Other Platforms
252
+ You can host Dineway on your own infrastructure. Dineway runs as a standard Node.js server.
257
253
 
258
254
  ```bash
259
- npx dineway deploy railway # Railway generates config and deploys
260
- npx dineway deploy docker # Docker generates Dockerfile
261
- npx dineway deploy fly # Fly.io generates config and deploys
255
+ # Choose a platform target to generate configurations and deploy
256
+ npx dineway deploy railway # Generates railway.json & deploys to Railway
257
+ npx dineway deploy fly # Generates fly.toml & deploys to Fly.io with persistent volumes
258
+ npx dineway deploy docker # Generates Dockerfile & .dockerignore
259
+ npx dineway deploy docker --compose # Generates Dockerfile + docker-compose.yml for local VPS hosting
262
260
  npx dineway deploy gcp # Google Cloud Run (experimental)
263
261
  ```
264
262
 
263
+ #### Configuring Your Database & Media Storage for Self-Hosting
264
+
265
+ When self-hosting, you specify how the database and media files are stored in `astro.config.mjs` using environment variables or configuration blocks:
266
+
267
+ 1. **Database Options**:
268
+ - **Local SQLite (Standard)**: Best for single-container VPS or Fly.io with a persistent volume.
269
+ ```typescript
270
+ database: sqlite({ url: "file:./data/data.db" })
271
+ ```
272
+ - **Remote libSQL (Turso)**: Excellent for serverless or ephemeral platforms like Railway, Fly, or GCP.
273
+ ```typescript
274
+ database: libsql({
275
+ url: process.env.DINEWAY_DATABASE_URL || "libsql://...",
276
+ authToken: process.env.DINEWAY_DATABASE_TOKEN
277
+ })
278
+ ```
279
+ - **PostgreSQL**: Industry-standard relational database.
280
+ ```typescript
281
+ database: postgres({ connectionString: process.env.DATABASE_URL })
282
+ ```
283
+
284
+ 2. **Media Storage Options**:
285
+ - **Local Uploads**: Saves images directly on the server's hard disk (ideal for local VPS).
286
+ ```typescript
287
+ storage: local({ directory: "./uploads", baseUrl: "/_dineway/api/media/file" })
288
+ ```
289
+ - **S3-Compatible Storage (AWS S3, Cloudflare R2, MinIO)**: Best for ephemeral hosts (Railway, Cloud Run) so files are never lost when the container restarts.
290
+ ```typescript
291
+ storage: s3({
292
+ bucket: process.env.S3_BUCKET_NAME,
293
+ region: process.env.S3_REGION,
294
+ endpoint: process.env.S3_ENDPOINT, // e.g. Cloudflare R2 or MinIO endpoint
295
+ accessKeyId: process.env.S3_ACCESS_KEY_ID,
296
+ secretAccessKey: process.env.S3_SECRET_ACCESS_KEY
297
+ })
298
+ ```
299
+
265
300
  ### After Deployment
266
301
 
267
302
  Once deployed, manage your live site remotely:
@@ -5,7 +5,7 @@ import "../types-BgE6gMFI.mjs";
5
5
  import "../runner-pAnQS6iI.mjs";
6
6
  import "../index-2tBfB_8X.mjs";
7
7
  import "../index-CpbixmRL.mjs";
8
- import "../bylines-r8fYBu9F.mjs";
8
+ import "../bylines-V8d8rXsD.mjs";
9
9
  import "../types-BBETcziA.mjs";
10
10
  import "../validate-BzUCAU2a.mjs";
11
11
  import { Kysely } from "kysely";
@@ -1,3 +1,3 @@
1
- import { $ as updateSectionBody, $n as cursorPaginationQuery, $t as createCommentBody, A as userDetailSchema, An as mediaUploadUrlBody, At as passkeyRegisterVerifyBody, B as wpRewriteUrlsBody, Bn as contentScheduleBody, Bt as contextEntryCreateBody, C as updateWidgetBody, Cn as mediaExistingResponseSchema, Ct as authMeActionBody, D as widgetSchema, Dn as mediaProviderListQuery, Dt as magicLinkSendBody, E as widgetAreaWithWidgetsSchema, En as mediaListResponseSchema, Et as inviteRegisterOptionsBody, F as importProbeBody, Fn as contentListQuery, Ft as reviewRequestListQuery, G as searchResultSchema, Gn as contentTranslationsResponseSchema, Gt as contextEntrySupersedeBody, H as searchQuery, Hn as contentSeoSchema, Ht as contextEntryListQuery, I as wpMediaImportBody, In as contentListResponseSchema, It as reviewRequestResolveBody, J as siteSettingsSchema, Jn as trashedContentItemSchema, Jt as commentBulkResponseSchema, K as searchSuggestQuery, Kn as contentTrashQuery, Kt as adminCommentListResponseSchema, L as wpPluginAnalyzeBody, Ln as contentPreviewUrlBody, Lt as hitlRequestListQuery, M as userSchema, Mn as contentCompareResponseSchema, Mt as passkeyVerifyBody, N as userUpdateBody, Nn as contentCreateBody, Nt as signupCompleteBody, O as allowedDomainCreateBody, On as mediaResponseSchema, Ot as passkeyOptionsBody, P as usersListQuery, Pn as contentItemSchema, Pt as signupRequestBody, Q as sectionsListQuery, Qn as countResponseSchema, Qt as commentStatusBody, R as wpPluginExecuteBody, Rn as contentPublishBody, Rt as hitlRequestResolveBody, S as reorderWidgetsBody, Sn as mediaConfirmResponseSchema, St as updateMenuItemBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaListQuery, Tt as inviteCreateBody, U as searchRebuildBody, Un as contentTermsBody, Ut as contextEntryReviewBody, V as searchEnableBody, Vn as contentSeoInput, Vt as contextEntryDiffQuery, W as searchResponseSchema, Wn as contentTranslationSchema, Wt as contextEntryStaleQuery, X as sectionListResponseSchema, Xn as VALID_ROLE_LEVELS, Xt as commentListQuery, Y as createSectionBody, Yn as trashedContentListResponseSchema, Yt as commentCountsResponseSchema, Z as sectionSchema, Zn as apiErrorSchema, Zt as commentSchema, _ as redirectSchema, _n as updateCollectionBody, _t as menuSchema, a as bylineUpdateBody, an as collectionSchema, ar as roleLevel, at as termGetResponseSchema, b as createWidgetAreaBody, bn as formatFileSize, bt as reorderMenuItemsBody, c as createRedirectBody, cn as createFieldBody, ct as termSchema, d as notFoundListResponseSchema, dn as fieldResponseSchema, dt as updateTermBody, en as publicCommentListResponseSchema, er as deleteResponseSchema, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as fieldSchema, ft as createMenuBody, g as redirectListResponseSchema, gn as schemaExportQuery, gt as menuListItemSchema, h as notFoundSummarySchema, hn as orphanedTableSchema, ht as menuItemTypeEnum, i as bylineSummarySchema, in as collectionResponseSchema, ir as offsetPaginationQuery, it as taxonomyListResponseSchema, j as userListResponseSchema, jn as mediaUploadUrlResponseSchema, jt as passkeyRenameBody, k as allowedDomainUpdateBody, kn as mediaUpdateBody, kt as passkeyRegisterOptionsBody, l as notFoundEntrySchema, ln as fieldListResponseSchema, lt as termTranslationsSchema, m as notFoundSummaryResponseSchema, mn as orphanedTableListResponseSchema, mt as menuItemSchema, n as bylineCreditSchema, nn as collectionGetQuery, nr as localeCode, nt as taxonomyDefSchema, o as bylinesListQuery, on as collectionWithFieldsResponseSchema, or as slugPattern, ot as termListResponseSchema, p as notFoundSummaryQuery, pn as orphanRegisterBody, pt as createMenuItemBody, q as settingsUpdateBody, qn as contentUpdateBody, qt as commentBulkBody, r as bylineListResponseSchema, rn as collectionListResponseSchema, rr as localeFilterQuery, rt as taxonomyDefTranslationsSchema, s as contentBylineInputSchema, sn as createCollectionBody, sr as successEnvelope, st as termResponseSchema, t as bylineCreateBody, tn as publicCommentSchema, tr as httpUrl, tt as createTermBody, u as notFoundListQuery, un as fieldReorderBody, ut as termWithCountSchema, v as redirectsListQuery, vn as updateFieldBody, vt as menuTranslationsSchema, w as widgetAreaSchema, wn as mediaItemSchema, wt as inviteCompleteBody, x as createWidgetBody, xn as mediaConfirmBody, xt as updateMenuBody, y as updateRedirectBody, yn as DEFAULT_MAX_UPLOAD_SIZE, yt as menuWithItemsSchema, z as wpPrepareBody, zn as contentResponseSchema, zt as siteBriefingQuery } from "../../bylines-r8fYBu9F.mjs";
1
+ import { $ as updateSectionBody, $n as cursorPaginationQuery, $t as createCommentBody, A as userDetailSchema, An as mediaUploadUrlBody, At as passkeyRegisterVerifyBody, B as wpRewriteUrlsBody, Bn as contentScheduleBody, Bt as contextEntryCreateBody, C as updateWidgetBody, Cn as mediaExistingResponseSchema, Ct as authMeActionBody, D as widgetSchema, Dn as mediaProviderListQuery, Dt as magicLinkSendBody, E as widgetAreaWithWidgetsSchema, En as mediaListResponseSchema, Et as inviteRegisterOptionsBody, F as importProbeBody, Fn as contentListQuery, Ft as reviewRequestListQuery, G as searchResultSchema, Gn as contentTranslationsResponseSchema, Gt as contextEntrySupersedeBody, H as searchQuery, Hn as contentSeoSchema, Ht as contextEntryListQuery, I as wpMediaImportBody, In as contentListResponseSchema, It as reviewRequestResolveBody, J as siteSettingsSchema, Jn as trashedContentItemSchema, Jt as commentBulkResponseSchema, K as searchSuggestQuery, Kn as contentTrashQuery, Kt as adminCommentListResponseSchema, L as wpPluginAnalyzeBody, Ln as contentPreviewUrlBody, Lt as hitlRequestListQuery, M as userSchema, Mn as contentCompareResponseSchema, Mt as passkeyVerifyBody, N as userUpdateBody, Nn as contentCreateBody, Nt as signupCompleteBody, O as allowedDomainCreateBody, On as mediaResponseSchema, Ot as passkeyOptionsBody, P as usersListQuery, Pn as contentItemSchema, Pt as signupRequestBody, Q as sectionsListQuery, Qn as countResponseSchema, Qt as commentStatusBody, R as wpPluginExecuteBody, Rn as contentPublishBody, Rt as hitlRequestResolveBody, S as reorderWidgetsBody, Sn as mediaConfirmResponseSchema, St as updateMenuItemBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaListQuery, Tt as inviteCreateBody, U as searchRebuildBody, Un as contentTermsBody, Ut as contextEntryReviewBody, V as searchEnableBody, Vn as contentSeoInput, Vt as contextEntryDiffQuery, W as searchResponseSchema, Wn as contentTranslationSchema, Wt as contextEntryStaleQuery, X as sectionListResponseSchema, Xn as VALID_ROLE_LEVELS, Xt as commentListQuery, Y as createSectionBody, Yn as trashedContentListResponseSchema, Yt as commentCountsResponseSchema, Z as sectionSchema, Zn as apiErrorSchema, Zt as commentSchema, _ as redirectSchema, _n as updateCollectionBody, _t as menuSchema, a as bylineUpdateBody, an as collectionSchema, ar as roleLevel, at as termGetResponseSchema, b as createWidgetAreaBody, bn as formatFileSize, bt as reorderMenuItemsBody, c as createRedirectBody, cn as createFieldBody, ct as termSchema, d as notFoundListResponseSchema, dn as fieldResponseSchema, dt as updateTermBody, en as publicCommentListResponseSchema, er as deleteResponseSchema, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as fieldSchema, ft as createMenuBody, g as redirectListResponseSchema, gn as schemaExportQuery, gt as menuListItemSchema, h as notFoundSummarySchema, hn as orphanedTableSchema, ht as menuItemTypeEnum, i as bylineSummarySchema, in as collectionResponseSchema, ir as offsetPaginationQuery, it as taxonomyListResponseSchema, j as userListResponseSchema, jn as mediaUploadUrlResponseSchema, jt as passkeyRenameBody, k as allowedDomainUpdateBody, kn as mediaUpdateBody, kt as passkeyRegisterOptionsBody, l as notFoundEntrySchema, ln as fieldListResponseSchema, lt as termTranslationsSchema, m as notFoundSummaryResponseSchema, mn as orphanedTableListResponseSchema, mt as menuItemSchema, n as bylineCreditSchema, nn as collectionGetQuery, nr as localeCode, nt as taxonomyDefSchema, o as bylinesListQuery, on as collectionWithFieldsResponseSchema, or as slugPattern, ot as termListResponseSchema, p as notFoundSummaryQuery, pn as orphanRegisterBody, pt as createMenuItemBody, q as settingsUpdateBody, qn as contentUpdateBody, qt as commentBulkBody, r as bylineListResponseSchema, rn as collectionListResponseSchema, rr as localeFilterQuery, rt as taxonomyDefTranslationsSchema, s as contentBylineInputSchema, sn as createCollectionBody, sr as successEnvelope, st as termResponseSchema, t as bylineCreateBody, tn as publicCommentSchema, tr as httpUrl, tt as createTermBody, u as notFoundListQuery, un as fieldReorderBody, ut as termWithCountSchema, v as redirectsListQuery, vn as updateFieldBody, vt as menuTranslationsSchema, w as widgetAreaSchema, wn as mediaItemSchema, wt as inviteCompleteBody, x as createWidgetBody, xn as mediaConfirmBody, xt as updateMenuBody, y as updateRedirectBody, yn as DEFAULT_MAX_UPLOAD_SIZE, yt as menuWithItemsSchema, z as wpPrepareBody, zn as contentResponseSchema, zt as siteBriefingQuery } from "../../bylines-V8d8rXsD.mjs";
2
2
  import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
3
3
  export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
@@ -16,7 +16,7 @@ import { n as requestCached } from "./request-cache-BpwuE2ix.mjs";
16
16
  import { u as PluginStateRepository } from "./briefing-Jsxs587i.mjs";
17
17
  import { n as SchemaRegistry, t as SchemaError } from "./registry-i__XP2WV.mjs";
18
18
  import { n as hashString } from "./hash-DFFrkivP.mjs";
19
- import { n as VERSION, t as COMMIT } from "./version-DjRKTPYR.mjs";
19
+ import { n as VERSION, t as COMMIT } from "./version-DtFUCA79.mjs";
20
20
  import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-C6fzQoWn.mjs";
21
21
  import { t as DinewayStorageError } from "./types-CNNQ8l0v.mjs";
22
22
  import { sql } from "kysely";
@@ -6,7 +6,7 @@ import "../types-BgE6gMFI.mjs";
6
6
  import "../runner-pAnQS6iI.mjs";
7
7
  import "../index-2tBfB_8X.mjs";
8
8
  import "../index-CpbixmRL.mjs";
9
- import "../bylines-r8fYBu9F.mjs";
9
+ import "../bylines-V8d8rXsD.mjs";
10
10
  import "../types-BBETcziA.mjs";
11
11
  import "../validate-BzUCAU2a.mjs";
12
12
  import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION, t as COMMIT } from "../version-DjRKTPYR.mjs";
1
+ import { n as VERSION, t as COMMIT } from "../version-DtFUCA79.mjs";
2
2
  import { t as defaultSeed } from "../default-5A3XVR7L.mjs";
3
3
  import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-3RuuoFjC.mjs";
4
4
  import { createRequire } from "node:module";
@@ -5,7 +5,7 @@ import "../../types-BgE6gMFI.mjs";
5
5
  import "../../runner-pAnQS6iI.mjs";
6
6
  import "../../index-2tBfB_8X.mjs";
7
7
  import "../../index-CpbixmRL.mjs";
8
- import "../../bylines-r8fYBu9F.mjs";
8
+ import "../../bylines-V8d8rXsD.mjs";
9
9
  import "../../types-BBETcziA.mjs";
10
10
  import "../../validate-BzUCAU2a.mjs";
11
11
  import { DinewayHandlers } from "../types.mjs";
@@ -25,7 +25,7 @@ import "../byline-DpNNSjET.mjs";
25
25
  import { t as normalizeMediaValue } from "../normalize-BY_EJnd9.mjs";
26
26
  import "../placeholder-b0Ufu0La.mjs";
27
27
  import "../seo-BPb_reaG.mjs";
28
- import { $ as validateRev, A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "../api-BgETfzu-.mjs";
28
+ import { $ as validateRev, A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "../api-BNh44xAn.mjs";
29
29
  import { n as requestCached } from "../request-cache-BpwuE2ix.mjs";
30
30
  import "../dashboard-BC9bgPOH.mjs";
31
31
  import { u as PluginStateRepository } from "../briefing-Jsxs587i.mjs";
@@ -37,7 +37,7 @@ import { c as createPublicMediaUrlResolver } from "../settings-DORe02PC.mjs";
37
37
  import "../briefing-DD82WaEy.mjs";
38
38
  import "../review-requests-DuIxM4YM.mjs";
39
39
  import { n as hashString } from "../hash-DFFrkivP.mjs";
40
- import { n as VERSION, t as COMMIT } from "../version-DjRKTPYR.mjs";
40
+ import { n as VERSION, t as COMMIT } from "../version-DtFUCA79.mjs";
41
41
  import "../query-BnRpB09I.mjs";
42
42
  import "../zod-generator-C4BgFBZV.mjs";
43
43
  import "../schema-U-SeFWwn.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
14
14
  import "../../../../../../redirect-BaVvo2te.mjs";
15
15
  import "../../../../../../byline-DpNNSjET.mjs";
16
16
  import "../../../../../../seo-BPb_reaG.mjs";
17
- import "../../../../../../api-BgETfzu-.mjs";
17
+ import "../../../../../../api-BNh44xAn.mjs";
18
18
  import "../../../../../../request-cache-BpwuE2ix.mjs";
19
19
  import "../../../../../../dashboard-BC9bgPOH.mjs";
20
20
  import { c as handlePluginGet, o as handlePluginDisable } from "../../../../../../briefing-Jsxs587i.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
14
14
  import "../../../../../../redirect-BaVvo2te.mjs";
15
15
  import "../../../../../../byline-DpNNSjET.mjs";
16
16
  import "../../../../../../seo-BPb_reaG.mjs";
17
- import "../../../../../../api-BgETfzu-.mjs";
17
+ import "../../../../../../api-BNh44xAn.mjs";
18
18
  import "../../../../../../request-cache-BpwuE2ix.mjs";
19
19
  import "../../../../../../dashboard-BC9bgPOH.mjs";
20
20
  import { c as handlePluginGet, s as handlePluginEnable } from "../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../seo-BPb_reaG.mjs";
16
- import "../../../../../../api-BgETfzu-.mjs";
16
+ import "../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import { c as handlePluginGet } from "../../../../../../briefing-Jsxs587i.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
14
14
  import "../../../../../../redirect-BaVvo2te.mjs";
15
15
  import "../../../../../../byline-DpNNSjET.mjs";
16
16
  import "../../../../../../seo-BPb_reaG.mjs";
17
- import { a as handleMarketplaceUninstall } from "../../../../../../api-BgETfzu-.mjs";
17
+ import { a as handleMarketplaceUninstall } from "../../../../../../api-BNh44xAn.mjs";
18
18
  import "../../../../../../request-cache-BpwuE2ix.mjs";
19
19
  import "../../../../../../dashboard-BC9bgPOH.mjs";
20
20
  import { l as handlePluginList } from "../../../../../../briefing-Jsxs587i.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
14
14
  import "../../../../../../redirect-BaVvo2te.mjs";
15
15
  import "../../../../../../byline-DpNNSjET.mjs";
16
16
  import "../../../../../../seo-BPb_reaG.mjs";
17
- import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-BgETfzu-.mjs";
17
+ import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-BNh44xAn.mjs";
18
18
  import "../../../../../../request-cache-BpwuE2ix.mjs";
19
19
  import "../../../../../../dashboard-BC9bgPOH.mjs";
20
20
  import "../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../seo-BPb_reaG.mjs";
16
- import "../../../../../api-BgETfzu-.mjs";
16
+ import "../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import { l as handlePluginList } from "../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../../seo-BPb_reaG.mjs";
16
- import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-BgETfzu-.mjs";
16
+ import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../../../briefing-Jsxs587i.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
14
14
  import "../../../../../../../redirect-BaVvo2te.mjs";
15
15
  import "../../../../../../../byline-DpNNSjET.mjs";
16
16
  import "../../../../../../../seo-BPb_reaG.mjs";
17
- import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-BgETfzu-.mjs";
17
+ import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-BNh44xAn.mjs";
18
18
  import "../../../../../../../request-cache-BpwuE2ix.mjs";
19
19
  import "../../../../../../../dashboard-BC9bgPOH.mjs";
20
20
  import "../../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../seo-BPb_reaG.mjs";
16
- import { i as handleMarketplaceSearch } from "../../../../../../api-BgETfzu-.mjs";
16
+ import { i as handleMarketplaceSearch } from "../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../seo-BPb_reaG.mjs";
16
- import { s as handleMarketplaceUpdateCheck } from "../../../../../api-BgETfzu-.mjs";
16
+ import { s as handleMarketplaceUpdateCheck } from "../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../../seo-BPb_reaG.mjs";
16
- import { l as handleThemeGetDetail } from "../../../../../../../api-BgETfzu-.mjs";
16
+ import { l as handleThemeGetDetail } from "../../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../seo-BPb_reaG.mjs";
16
- import { u as handleThemeSearch } from "../../../../../../api-BgETfzu-.mjs";
16
+ import { u as handleThemeSearch } from "../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../../briefing-Jsxs587i.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION } from "../../../version-DjRKTPYR.mjs";
1
+ import { n as VERSION } from "../../../version-DtFUCA79.mjs";
2
2
  import { sql } from "kysely";
3
3
 
4
4
  //#region src/astro/routes/api/health.ts
@@ -1,4 +1,4 @@
1
- import { n as VERSION, t as COMMIT } from "../../../version-DjRKTPYR.mjs";
1
+ import { n as VERSION, t as COMMIT } from "../../../version-DtFUCA79.mjs";
2
2
  import { r as handleError } from "../../../error-DLkgOP5m.mjs";
3
3
  import { t as getAuthMode } from "../../../mode-Bd55iLcP.mjs";
4
4
  import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-BbZbIEZp.mjs";
@@ -14,7 +14,7 @@ import "../../../fts-manager-DnfOsF4s.mjs";
14
14
  import "../../../registry-i__XP2WV.mjs";
15
15
  import "../../../loader-p2imNN98.mjs";
16
16
  import "../../../settings-DORe02PC.mjs";
17
- import { n as VERSION } from "../../../version-DjRKTPYR.mjs";
17
+ import { n as VERSION } from "../../../version-DtFUCA79.mjs";
18
18
  import "../../../query-BnRpB09I.mjs";
19
19
  import "../../../zod-generator-C4BgFBZV.mjs";
20
20
  import "../../../schema-U-SeFWwn.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION } from "../../../version-DjRKTPYR.mjs";
1
+ import { n as VERSION } from "../../../version-DtFUCA79.mjs";
2
2
  import { r as handleError } from "../../../error-DLkgOP5m.mjs";
3
3
  import { $ as createMenuBody, $t as contentListQuery, A as searchRebuildBody, B as updateSectionBody, Bt as mediaConfirmResponseSchema, C as userDetailSchema, D as usersListQuery, Dt as fieldListResponseSchema, E as userUpdateBody, Et as createFieldBody, F as siteSettingsSchema, Ft as updateCollectionBody, G as taxonomyListResponseSchema, H as createTermBody, I as createSectionBody, It as updateFieldBody, J as termResponseSchema, Jt as mediaUploadUrlBody, K as termGetResponseSchema, Kt as mediaResponseSchema, L as sectionListResponseSchema, Lt as DEFAULT_MAX_UPLOAD_SIZE, Mn as successEnvelope, Mt as orphanedTableListResponseSchema, N as searchSuggestQuery, O as searchEnableBody, Ot as fieldReorderBody, P as settingsUpdateBody, Q as updateTermBody, Qt as contentItemSchema, R as sectionSchema, S as allowedDomainUpdateBody, Sn as apiErrorSchema, St as collectionResponseSchema, T as userSchema, Tn as deleteResponseSchema, Tt as createCollectionBody, Ut as mediaListQuery, Vt as mediaExistingResponseSchema, Wt as mediaListResponseSchema, Xt as contentCompareResponseSchema, Yt as mediaUploadUrlResponseSchema, Zt as contentCreateBody, _ as widgetAreaSchema, _t as createCommentBody, a as notFoundPruneBody, b as widgetSchema, bt as collectionGetQuery, ct as updateMenuBody, d as redirectsListQuery, dn as contentUpdateBody, dt as commentBulkBody, en as contentListResponseSchema, et as createMenuItemBody, f as updateRedirectBody, ft as commentBulkResponseSchema, g as updateWidgetBody, gt as commentStatusBody, h as reorderWidgetsBody, ht as commentSchema, i as notFoundListResponseSchema, in as contentScheduleBody, j as searchResponseSchema, jt as orphanRegisterBody, k as searchQuery, kt as fieldResponseSchema, l as redirectListResponseSchema, ln as contentTranslationsResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mt as commentListQuery, nn as contentPublishBody, ot as menuWithItemsSchema, p as createWidgetAreaBody, pn as trashedContentListResponseSchema, pt as commentCountsResponseSchema, q as termListResponseSchema, qt as mediaUpdateBody, r as notFoundListQuery, rn as contentResponseSchema, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentTermsBody, st as reorderMenuItemsBody, t as createRedirectBody, tt as menuItemSchema, u as redirectSchema, un as contentTrashQuery, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vt as publicCommentListResponseSchema, w as userListResponseSchema, wt as collectionWithFieldsResponseSchema, x as allowedDomainCreateBody, xt as collectionListResponseSchema, y as widgetAreaWithWidgetsSchema, z as sectionsListQuery, zt as mediaConfirmBody } from "../../../redirects-x5ol_Qj9.mjs";
4
4
  import { z } from "zod";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../../seo-BPb_reaG.mjs";
16
- import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-BgETfzu-.mjs";
16
+ import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../../seo-BPb_reaG.mjs";
16
- import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-BgETfzu-.mjs";
16
+ import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../../seo-BPb_reaG.mjs";
16
- import { C as handleSchemaFieldReorder } from "../../../../../../../api-BgETfzu-.mjs";
16
+ import { C as handleSchemaFieldReorder } from "../../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../../seo-BPb_reaG.mjs";
16
- import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-BgETfzu-.mjs";
16
+ import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../seo-BPb_reaG.mjs";
16
- import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-BgETfzu-.mjs";
16
+ import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../seo-BPb_reaG.mjs";
16
- import { p as handleOrphanedTableRegister } from "../../../../../api-BgETfzu-.mjs";
16
+ import { p as handleOrphanedTableRegister } from "../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../briefing-Jsxs587i.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
13
13
  import "../../../../../redirect-BaVvo2te.mjs";
14
14
  import "../../../../../byline-DpNNSjET.mjs";
15
15
  import "../../../../../seo-BPb_reaG.mjs";
16
- import { f as handleOrphanedTableList } from "../../../../../api-BgETfzu-.mjs";
16
+ import { f as handleOrphanedTableList } from "../../../../../api-BNh44xAn.mjs";
17
17
  import "../../../../../request-cache-BpwuE2ix.mjs";
18
18
  import "../../../../../dashboard-BC9bgPOH.mjs";
19
19
  import "../../../../../briefing-Jsxs587i.mjs";
@@ -1,5 +1,5 @@
1
1
  import { t as OptionsRepository } from "../../../../options-BF11H_FD.mjs";
2
- import { n as VERSION } from "../../../../version-DjRKTPYR.mjs";
2
+ import { n as VERSION } from "../../../../version-DtFUCA79.mjs";
3
3
  import { t as getAuthMode } from "../../../../mode-Bd55iLcP.mjs";
4
4
 
5
5
  //#region src/astro/routes/api/well-known/auth.ts
@@ -8,7 +8,7 @@ import "../runner-pAnQS6iI.mjs";
8
8
  import "../index-2tBfB_8X.mjs";
9
9
  import "../index-CpbixmRL.mjs";
10
10
  import { d as Storage } from "../types-BYjPylrZ.mjs";
11
- import "../bylines-r8fYBu9F.mjs";
11
+ import "../bylines-V8d8rXsD.mjs";
12
12
  import "../types-BBETcziA.mjs";
13
13
  import "../validate-BzUCAU2a.mjs";
14
14
  import "../index.mjs";
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  /** Valid role level values */
5
5
  declare const VALID_ROLE_LEVELS: Set<number>;
6
6
  /** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
7
- declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
7
+ declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
8
8
  /** Pagination query params — cursor-based */
9
9
  declare const cursorPaginationQuery: z.ZodObject<{
10
10
  cursor: z.ZodOptional<z.ZodString>;
@@ -890,8 +890,8 @@ declare const createCommentBody: z.ZodObject<{
890
890
  }, z.core.$strip>;
891
891
  declare const commentStatusBody: z.ZodObject<{
892
892
  status: z.ZodEnum<{
893
- approved: "approved";
894
893
  pending: "pending";
894
+ approved: "approved";
895
895
  spam: "spam";
896
896
  trash: "trash";
897
897
  }>;
@@ -907,8 +907,8 @@ declare const commentBulkBody: z.ZodObject<{
907
907
  }, z.core.$strip>;
908
908
  declare const commentListQuery: z.ZodObject<{
909
909
  status: z.ZodOptional<z.ZodEnum<{
910
- approved: "approved";
911
910
  pending: "pending";
911
+ approved: "approved";
912
912
  spam: "spam";
913
913
  trash: "trash";
914
914
  }>>;
@@ -942,8 +942,8 @@ declare const commentSchema: z.ZodObject<{
942
942
  authorEmail: z.ZodString;
943
943
  body: z.ZodString;
944
944
  status: z.ZodEnum<{
945
- approved: "approved";
946
945
  pending: "pending";
946
+ approved: "approved";
947
947
  spam: "spam";
948
948
  trash: "trash";
949
949
  }>;
@@ -974,8 +974,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
974
974
  authorEmail: z.ZodString;
975
975
  body: z.ZodString;
976
976
  status: z.ZodEnum<{
977
- approved: "approved";
978
977
  pending: "pending";
978
+ approved: "approved";
979
979
  spam: "spam";
980
980
  trash: "trash";
981
981
  }>;
@@ -1020,8 +1020,8 @@ declare const contextEntryListQuery: z.ZodObject<{
1020
1020
  cursor: z.ZodOptional<z.ZodString>;
1021
1021
  }, z.core.$strip>;
1022
1022
  declare const contextEntryStaleQuery: z.ZodObject<{
1023
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1024
1023
  cursor: z.ZodOptional<z.ZodString>;
1024
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1025
1025
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1026
1026
  true: "true";
1027
1027
  false: "false";
@@ -1115,8 +1115,8 @@ declare const siteBriefingQuery: z.ZodObject<{
1115
1115
  //#region src/api/schemas/hitl-requests.d.ts
1116
1116
  declare const hitlRequestListQuery: z.ZodObject<{
1117
1117
  status: z.ZodOptional<z.ZodEnum<{
1118
- approved: "approved";
1119
1118
  pending: "pending";
1119
+ approved: "approved";
1120
1120
  rejected: "rejected";
1121
1121
  }>>;
1122
1122
  priority: z.ZodOptional<z.ZodEnum<{
@@ -1143,8 +1143,8 @@ declare const hitlRequestResolveBody: z.ZodObject<{
1143
1143
  //#region src/api/schemas/review-requests.d.ts
1144
1144
  declare const reviewRequestListQuery: z.ZodObject<{
1145
1145
  status: z.ZodOptional<z.ZodEnum<{
1146
- approved: "approved";
1147
1146
  pending: "pending";
1147
+ approved: "approved";
1148
1148
  rejected: "rejected";
1149
1149
  }>>;
1150
1150
  collection: z.ZodOptional<z.ZodString>;
@@ -1192,7 +1192,7 @@ declare const signupCompleteBody: z.ZodObject<{
1192
1192
  }, z.core.$strip>;
1193
1193
  declare const inviteCreateBody: z.ZodObject<{
1194
1194
  email: z.ZodString;
1195
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1195
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1196
1196
  }, z.core.$strip>;
1197
1197
  declare const inviteCompleteBody: z.ZodObject<{
1198
1198
  token: z.ZodString;
@@ -1285,10 +1285,10 @@ declare const authMeActionBody: z.ZodObject<{
1285
1285
  */
1286
1286
  declare const menuItemTypeEnum: z.ZodEnum<{
1287
1287
  custom: "custom";
1288
- collection: "collection";
1289
1288
  page: "page";
1290
1289
  post: "post";
1291
1290
  taxonomy: "taxonomy";
1291
+ collection: "collection";
1292
1292
  }>;
1293
1293
  declare const createMenuBody: z.ZodObject<{
1294
1294
  name: z.ZodString;
@@ -1302,10 +1302,10 @@ declare const updateMenuBody: z.ZodObject<{
1302
1302
  declare const createMenuItemBody: z.ZodObject<{
1303
1303
  type: z.ZodEnum<{
1304
1304
  custom: "custom";
1305
- collection: "collection";
1306
1305
  page: "page";
1307
1306
  post: "post";
1308
1307
  taxonomy: "taxonomy";
1308
+ collection: "collection";
1309
1309
  }>;
1310
1310
  label: z.ZodString;
1311
1311
  referenceCollection: z.ZodOptional<z.ZodString>;
@@ -1744,15 +1744,15 @@ declare const usersListQuery: z.ZodObject<{
1744
1744
  declare const userUpdateBody: z.ZodObject<{
1745
1745
  name: z.ZodOptional<z.ZodString>;
1746
1746
  email: z.ZodOptional<z.ZodString>;
1747
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1747
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1748
1748
  }, z.core.$strip>;
1749
1749
  declare const allowedDomainCreateBody: z.ZodObject<{
1750
1750
  domain: z.ZodString;
1751
- defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
1751
+ defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
1752
1752
  }, z.core.$strip>;
1753
1753
  declare const allowedDomainUpdateBody: z.ZodObject<{
1754
1754
  enabled: z.ZodOptional<z.ZodBoolean>;
1755
- defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1755
+ defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1756
1756
  }, z.core.$strip>;
1757
1757
  declare const userSchema: z.ZodObject<{
1758
1758
  id: z.ZodString;
package/dist/index.d.mts CHANGED
@@ -11,7 +11,7 @@ import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as Ta
11
11
  import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-CpbixmRL.mjs";
12
12
  import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-BZpCpid_.mjs";
13
13
  import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-BYjPylrZ.mjs";
14
- import "./bylines-r8fYBu9F.mjs";
14
+ import "./bylines-V8d8rXsD.mjs";
15
15
  import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
16
16
  import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
17
17
  import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-BBETcziA.mjs";
package/dist/index.mjs CHANGED
@@ -24,7 +24,7 @@ import "./byline-DpNNSjET.mjs";
24
24
  import { t as normalizeMediaValue } from "./normalize-BY_EJnd9.mjs";
25
25
  import { t as generatePlaceholder } from "./placeholder-b0Ufu0La.mjs";
26
26
  import "./seo-BPb_reaG.mjs";
27
- import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-BgETfzu-.mjs";
27
+ import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-BNh44xAn.mjs";
28
28
  import "./request-cache-BpwuE2ix.mjs";
29
29
  import "./dashboard-BC9bgPOH.mjs";
30
30
  import "./briefing-Jsxs587i.mjs";
@@ -7,7 +7,7 @@ import "../runner-pAnQS6iI.mjs";
7
7
  import "../index-2tBfB_8X.mjs";
8
8
  import "../index-CpbixmRL.mjs";
9
9
  import { d as Storage } from "../types-BYjPylrZ.mjs";
10
- import "../bylines-r8fYBu9F.mjs";
10
+ import "../bylines-V8d8rXsD.mjs";
11
11
  import "../types-BBETcziA.mjs";
12
12
  import "../validate-BzUCAU2a.mjs";
13
13
  import "../index.mjs";
@@ -5,7 +5,7 @@ import "../types-BgE6gMFI.mjs";
5
5
  import "../runner-pAnQS6iI.mjs";
6
6
  import "../index-2tBfB_8X.mjs";
7
7
  import "../index-CpbixmRL.mjs";
8
- import "../bylines-r8fYBu9F.mjs";
8
+ import "../bylines-V8d8rXsD.mjs";
9
9
  import "../types-BBETcziA.mjs";
10
10
  import "../validate-BzUCAU2a.mjs";
11
11
 
@@ -5,7 +5,7 @@ import "./types-BgE6gMFI.mjs";
5
5
  import "./runner-pAnQS6iI.mjs";
6
6
  import "./index-2tBfB_8X.mjs";
7
7
  import "./index-CpbixmRL.mjs";
8
- import "./bylines-r8fYBu9F.mjs";
8
+ import "./bylines-V8d8rXsD.mjs";
9
9
  import "./types-BBETcziA.mjs";
10
10
  import "./validate-BzUCAU2a.mjs";
11
11
  import { t as getMediaProvider } from "./provider-loader-BaZhx7E3.mjs";
@@ -0,0 +1,6 @@
1
+ //#region src/version.ts
2
+ const VERSION = "0.1.32";
3
+ const COMMIT = "aeb8026f";
4
+
5
+ //#endregion
6
+ export { VERSION as n, COMMIT as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dineway",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -347,9 +347,9 @@
347
347
  "ulidx": "^2.4.1",
348
348
  "upng-js": "^2.1.0",
349
349
  "zod": "^4.4.1",
350
+ "@dineway-ai/gutenberg-to-portable-text": "^0.1.13",
350
351
  "@dineway-ai/admin": "^0.1.15",
351
- "@dineway-ai/auth": "^0.1.15",
352
- "@dineway-ai/gutenberg-to-portable-text": "^0.1.13"
352
+ "@dineway-ai/auth": "^0.1.15"
353
353
  },
354
354
  "optionalDependencies": {
355
355
  "@aws-sdk/client-s3": "^3.1049.0",
@@ -1,6 +0,0 @@
1
- //#region src/version.ts
2
- const VERSION = "0.1.31";
3
- const COMMIT = "921b2888";
4
-
5
- //#endregion
6
- export { VERSION as n, COMMIT as t };