dineway 0.1.29 → 0.1.30
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.
- package/README.md +1 -1
- package/dist/api/route-utils.d.mts +2 -2
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +2 -2
- package/dist/{api-THnYu0ZU.mjs → api-CYnT_2_B.mjs} +24 -1
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +1 -1
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware.mjs +4 -4
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
- package/dist/astro/routes/api/admin/briefing.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/index.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/bulk.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/index.mjs +2 -2
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +2 -2
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +2 -2
- package/dist/astro/routes/api/admin/context/diff.mjs +2 -2
- package/dist/astro/routes/api/admin/context/index.mjs +2 -2
- package/dist/astro/routes/api/admin/context/stale.mjs +2 -2
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +2 -2
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/updates.mjs +3 -3
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +2 -2
- package/dist/astro/routes/api/admin/review-requests/index.mjs +2 -2
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +3 -3
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/index.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/register-options.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/request.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +4 -45
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +2 -2
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +3 -3
- package/dist/astro/routes/api/media/_id_/confirm.mjs +2 -2
- package/dist/astro/routes/api/media/_id_.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +2 -2
- package/dist/astro/routes/api/media.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/translations.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_.mjs +2 -2
- package/dist/astro/routes/api/menus/index.mjs +2 -2
- package/dist/astro/routes/api/openapi.json.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/index.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/summary.mjs +2 -2
- package/dist/astro/routes/api/redirects/_id_.mjs +2 -2
- package/dist/astro/routes/api/redirects/index.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/index.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/index.mjs +3 -3
- package/dist/astro/routes/api/search/enable.mjs +2 -2
- package/dist/astro/routes/api/search/index.mjs +2 -2
- package/dist/astro/routes/api/search/rebuild.mjs +2 -2
- package/dist/astro/routes/api/search/suggest.mjs +2 -2
- package/dist/astro/routes/api/sections/_slug_.mjs +2 -2
- package/dist/astro/routes/api/sections/index.mjs +2 -2
- package/dist/astro/routes/api/settings.mjs +2 -2
- package/dist/astro/routes/api/setup/admin-verify.mjs +2 -2
- package/dist/astro/routes/api/setup/admin.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/index.mjs +2 -2
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/index.mjs +2 -2
- package/dist/astro/types.d.mts +2 -2
- package/dist/{bylines-CqLv_DIj.d.mts → bylines-CGwQCHdG.d.mts} +14 -16
- package/dist/cli/index.mjs +1 -5
- package/dist/client/index.d.mts +2 -7
- package/dist/client/index.mjs +2 -3
- package/dist/{import-DQ4Rfh5h.mjs → import-Br7aP9yh.mjs} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{redirects-CoYlqu8e.mjs → redirects-x5ol_Qj9.mjs} +4 -8
- package/dist/{runtime-BM9sqnzO.d.mts → runtime-CJasRKJB.d.mts} +1 -1
- package/dist/runtime.d.mts +2 -2
- package/dist/version-C0JMMhmz.mjs +6 -0
- package/package.json +3 -3
- package/dist/version-Ds94WfbP.mjs +0 -6
package/README.md
CHANGED
|
@@ -140,7 +140,7 @@ npx dineway content list posts --status published --limit 10
|
|
|
140
140
|
npx dineway content get posts my-post-slug
|
|
141
141
|
|
|
142
142
|
# Create content (auto-publishes by default)
|
|
143
|
-
npx dineway content create posts --data '{"title": "Spring Menu", "
|
|
143
|
+
npx dineway content create posts --data '{"title": "Spring Menu", "content": "# New Dishes"}'
|
|
144
144
|
npx dineway content create posts --file post.json --slug spring-menu
|
|
145
145
|
|
|
146
146
|
# Update content (requires --rev from a prior get)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $n as isParseError, Qn as ParseResult, Zn as OptionsRepository, er as parseBody, ir as handleError, nr as apiError, rr as apiSuccess, t as DinewayConfig, tr as parseQuery } from "../runtime-
|
|
1
|
+
import { $n as isParseError, Qn as ParseResult, Zn as OptionsRepository, er as parseBody, ir as handleError, nr as apiError, rr as apiSuccess, t as DinewayConfig, tr as parseQuery } from "../runtime-CJasRKJB.mjs";
|
|
2
2
|
import { t as Database } from "../types-B1NksXAb.mjs";
|
|
3
3
|
import { at as StorageCollectionConfig, it as StorageCollection } from "../types-BIM7jwxr.mjs";
|
|
4
4
|
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-
|
|
8
|
+
import "../bylines-CGwQCHdG.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-
|
|
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-CGwQCHdG.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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../context-types-BrSQNye5.mjs";
|
|
2
|
-
import { $ as createMenuBody, $t as contentListQuery, A as searchRebuildBody, An as roleLevel, At as fieldSchema, B as updateSectionBody, Bt as mediaConfirmResponseSchema, C as userDetailSchema, Cn as countResponseSchema, Ct as collectionSchema, D as usersListQuery, Dn as localeCode, Dt as fieldListResponseSchema, E as userUpdateBody, En as httpUrl, Et as createFieldBody, F as siteSettingsSchema, Ft as updateCollectionBody, G as taxonomyListResponseSchema, Gt as mediaProviderListQuery, H as createTermBody, Ht as mediaItemSchema, 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, M as searchResultSchema, Mn as successEnvelope, Mt as orphanedTableListResponseSchema, N as searchSuggestQuery, Nt as orphanedTableSchema, O as searchEnableBody, On as localeFilterQuery, Ot as fieldReorderBody, P as settingsUpdateBody, Pt as schemaExportQuery, Q as updateTermBody, Qt as contentItemSchema, R as sectionSchema, Rt as formatFileSize, S as allowedDomainUpdateBody, Sn as apiErrorSchema, St as collectionResponseSchema, T as userSchema, Tn as deleteResponseSchema, Tt as createCollectionBody, U as taxonomyDefSchema, Ut as mediaListQuery, V as createTaxonomyDefBody, Vt as mediaExistingResponseSchema, W as taxonomyDefTranslationsSchema, Wt as mediaListResponseSchema, X as termTranslationsSchema, Xt as contentCompareResponseSchema, Y as termSchema, Yt as mediaUploadUrlResponseSchema, Z as termWithCountSchema, Zt as contentCreateBody, _ as widgetAreaSchema, _n as bylineSummarySchema, _t as createCommentBody, a as notFoundPruneBody, an as contentSeoInput, at as menuTranslationsSchema, b as widgetSchema, bn as contentBylineInputSchema, bt as collectionGetQuery, c as notFoundSummarySchema, cn as contentTranslationSchema, ct as updateMenuBody, d as redirectsListQuery, dn as contentUpdateBody, dt as commentBulkBody, en as contentListResponseSchema, et as createMenuItemBody, f as updateRedirectBody, fn as trashedContentItemSchema, ft as commentBulkResponseSchema, g as updateWidgetBody, gn as bylineListResponseSchema, gt as commentStatusBody, h as reorderWidgetsBody, hn as bylineCreditSchema, ht as commentSchema, i as notFoundListResponseSchema, in as contentScheduleBody, it as menuSchema, j as searchResponseSchema, jn as slugPattern, jt as orphanRegisterBody, k as searchQuery, kn as offsetPaginationQuery, kt as fieldResponseSchema, l as redirectListResponseSchema, ln as contentTranslationsResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mn as bylineCreateBody, mt as commentListQuery, n as notFoundEntrySchema, nn as contentPublishBody, nt as menuItemTypeEnum, o as notFoundSummaryQuery, on as contentSeoSchema, 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, tn as contentPreviewUrlBody, tt as menuItemSchema, u as redirectSchema, un as contentTrashQuery, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vn as bylineUpdateBody, vt as publicCommentListResponseSchema, w as userListResponseSchema, wn as cursorPaginationQuery, wt as collectionWithFieldsResponseSchema, x as allowedDomainCreateBody, xn as VALID_ROLE_LEVELS, xt as collectionListResponseSchema, y as widgetAreaWithWidgetsSchema, yn as bylinesListQuery, yt as publicCommentSchema, z as sectionsListQuery, zt as mediaConfirmBody } from "../../redirects-
|
|
3
|
-
import { C as siteBriefingQuery, D as contextEntryReviewBody, E as contextEntryListQuery, O as contextEntryStaleQuery, S as hitlRequestResolveBody, T as contextEntryDiffQuery, _ as signupCompleteBody, a as wpPrepareBody, b as reviewRequestResolveBody, c as inviteCompleteBody, d as magicLinkSendBody, f as passkeyOptionsBody, g as passkeyVerifyBody, h as passkeyRenameBody, i as wpPluginExecuteBody, k as contextEntrySupersedeBody, l as inviteCreateBody, m as passkeyRegisterVerifyBody, n as wpMediaImportBody, o as wpRewriteUrlsBody, p as passkeyRegisterOptionsBody, r as wpPluginAnalyzeBody, s as authMeActionBody, t as importProbeBody, u as inviteRegisterOptionsBody, v as signupRequestBody, w as contextEntryCreateBody, x as hitlRequestListQuery, y as reviewRequestListQuery } from "../../import-
|
|
2
|
+
import { $ as createMenuBody, $t as contentListQuery, A as searchRebuildBody, An as roleLevel, At as fieldSchema, B as updateSectionBody, Bt as mediaConfirmResponseSchema, C as userDetailSchema, Cn as countResponseSchema, Ct as collectionSchema, D as usersListQuery, Dn as localeCode, Dt as fieldListResponseSchema, E as userUpdateBody, En as httpUrl, Et as createFieldBody, F as siteSettingsSchema, Ft as updateCollectionBody, G as taxonomyListResponseSchema, Gt as mediaProviderListQuery, H as createTermBody, Ht as mediaItemSchema, 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, M as searchResultSchema, Mn as successEnvelope, Mt as orphanedTableListResponseSchema, N as searchSuggestQuery, Nt as orphanedTableSchema, O as searchEnableBody, On as localeFilterQuery, Ot as fieldReorderBody, P as settingsUpdateBody, Pt as schemaExportQuery, Q as updateTermBody, Qt as contentItemSchema, R as sectionSchema, Rt as formatFileSize, S as allowedDomainUpdateBody, Sn as apiErrorSchema, St as collectionResponseSchema, T as userSchema, Tn as deleteResponseSchema, Tt as createCollectionBody, U as taxonomyDefSchema, Ut as mediaListQuery, V as createTaxonomyDefBody, Vt as mediaExistingResponseSchema, W as taxonomyDefTranslationsSchema, Wt as mediaListResponseSchema, X as termTranslationsSchema, Xt as contentCompareResponseSchema, Y as termSchema, Yt as mediaUploadUrlResponseSchema, Z as termWithCountSchema, Zt as contentCreateBody, _ as widgetAreaSchema, _n as bylineSummarySchema, _t as createCommentBody, a as notFoundPruneBody, an as contentSeoInput, at as menuTranslationsSchema, b as widgetSchema, bn as contentBylineInputSchema, bt as collectionGetQuery, c as notFoundSummarySchema, cn as contentTranslationSchema, ct as updateMenuBody, d as redirectsListQuery, dn as contentUpdateBody, dt as commentBulkBody, en as contentListResponseSchema, et as createMenuItemBody, f as updateRedirectBody, fn as trashedContentItemSchema, ft as commentBulkResponseSchema, g as updateWidgetBody, gn as bylineListResponseSchema, gt as commentStatusBody, h as reorderWidgetsBody, hn as bylineCreditSchema, ht as commentSchema, i as notFoundListResponseSchema, in as contentScheduleBody, it as menuSchema, j as searchResponseSchema, jn as slugPattern, jt as orphanRegisterBody, k as searchQuery, kn as offsetPaginationQuery, kt as fieldResponseSchema, l as redirectListResponseSchema, ln as contentTranslationsResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mn as bylineCreateBody, mt as commentListQuery, n as notFoundEntrySchema, nn as contentPublishBody, nt as menuItemTypeEnum, o as notFoundSummaryQuery, on as contentSeoSchema, 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, tn as contentPreviewUrlBody, tt as menuItemSchema, u as redirectSchema, un as contentTrashQuery, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vn as bylineUpdateBody, vt as publicCommentListResponseSchema, w as userListResponseSchema, wn as cursorPaginationQuery, wt as collectionWithFieldsResponseSchema, x as allowedDomainCreateBody, xn as VALID_ROLE_LEVELS, xt as collectionListResponseSchema, y as widgetAreaWithWidgetsSchema, yn as bylinesListQuery, yt as publicCommentSchema, z as sectionsListQuery, zt as mediaConfirmBody } from "../../redirects-x5ol_Qj9.mjs";
|
|
3
|
+
import { C as siteBriefingQuery, D as contextEntryReviewBody, E as contextEntryListQuery, O as contextEntryStaleQuery, S as hitlRequestResolveBody, T as contextEntryDiffQuery, _ as signupCompleteBody, a as wpPrepareBody, b as reviewRequestResolveBody, c as inviteCompleteBody, d as magicLinkSendBody, f as passkeyOptionsBody, g as passkeyVerifyBody, h as passkeyRenameBody, i as wpPluginExecuteBody, k as contextEntrySupersedeBody, l as inviteCreateBody, m as passkeyRegisterVerifyBody, n as wpMediaImportBody, o as wpRewriteUrlsBody, p as passkeyRegisterOptionsBody, r as wpPluginAnalyzeBody, s as authMeActionBody, t as importProbeBody, u as inviteRegisterOptionsBody, v as signupRequestBody, w as contextEntryCreateBody, x as hitlRequestListQuery, y as reviewRequestListQuery } from "../../import-Br7aP9yh.mjs";
|
|
4
4
|
import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
|
|
5
5
|
|
|
6
6
|
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-
|
|
19
|
+
import { n as VERSION, t as COMMIT } from "./version-C0JMMhmz.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";
|
|
@@ -169,6 +169,25 @@ var ContentUpdateApiError = class extends Error {
|
|
|
169
169
|
async function collectionHasSeo(db, collection) {
|
|
170
170
|
return (await db.selectFrom("_dineway_collections").select("has_seo").where("slug", "=", collection).executeTakeFirst())?.has_seo === 1;
|
|
171
171
|
}
|
|
172
|
+
async function getCollectionFieldSlugs(db, collection) {
|
|
173
|
+
const collectionRow = await db.selectFrom("_dineway_collections").select("id").where("slug", "=", collection).executeTakeFirst();
|
|
174
|
+
if (!collectionRow) return null;
|
|
175
|
+
return (await db.selectFrom("_dineway_fields").select("slug").where("collection_id", "=", collectionRow.id).orderBy("sort_order", "asc").orderBy("created_at", "asc").execute()).map((row) => row.slug);
|
|
176
|
+
}
|
|
177
|
+
async function validateContentDataFields(db, collection, data) {
|
|
178
|
+
const allowedSlugs = await getCollectionFieldSlugs(db, collection);
|
|
179
|
+
if (!allowedSlugs) return null;
|
|
180
|
+
const allowed = new Set(allowedSlugs);
|
|
181
|
+
const unknownFields = Object.keys(data).filter((field) => !allowed.has(field));
|
|
182
|
+
if (unknownFields.length === 0) return null;
|
|
183
|
+
return {
|
|
184
|
+
success: false,
|
|
185
|
+
error: {
|
|
186
|
+
code: "VALIDATION_ERROR",
|
|
187
|
+
message: `Unknown ${unknownFields.length === 1 ? "field" : "fields"} ${unknownFields.map((field) => `"${field}"`).join(", ")} for collection "${collection}". Allowed fields: ${allowedSlugs.join(", ")}.`
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
}
|
|
172
191
|
/**
|
|
173
192
|
* Hydrate SEO data on a single content item if the collection has SEO enabled.
|
|
174
193
|
*/
|
|
@@ -390,6 +409,8 @@ async function handleContentCreate(db, collection, body) {
|
|
|
390
409
|
message: `Collection "${collection}" does not have SEO enabled. Remove the seo field or enable SEO on this collection.`
|
|
391
410
|
}
|
|
392
411
|
};
|
|
412
|
+
const fieldCheck = await validateContentDataFields(db, collection, body.data);
|
|
413
|
+
if (fieldCheck) return fieldCheck;
|
|
393
414
|
const mimeCheck = await validateMediaFields(db, collection, body.data);
|
|
394
415
|
if (!mimeCheck.success) return mimeCheck;
|
|
395
416
|
const item = await withTransaction(db, async (trx) => {
|
|
@@ -456,6 +477,8 @@ async function handleContentUpdate(db, collection, id, body) {
|
|
|
456
477
|
}
|
|
457
478
|
};
|
|
458
479
|
if (body.data) {
|
|
480
|
+
const fieldCheck = await validateContentDataFields(db, collection, body.data);
|
|
481
|
+
if (fieldCheck) return fieldCheck;
|
|
459
482
|
const mimeCheck = await validateMediaFields(db, collection, body.data);
|
|
460
483
|
if (!mimeCheck.success) return mimeCheck;
|
|
461
484
|
}
|
package/dist/astro/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as ContentItem } from "../types-DvwHUku7.mjs";
|
|
2
|
-
import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-
|
|
2
|
+
import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-CJasRKJB.mjs";
|
|
3
3
|
import "../types-B1NksXAb.mjs";
|
|
4
4
|
import { X as ResolvedPlugin } from "../types-BIM7jwxr.mjs";
|
|
5
5
|
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-
|
|
9
|
+
import "../bylines-CGwQCHdG.mjs";
|
|
10
10
|
import "../types-BBETcziA.mjs";
|
|
11
11
|
import "../validate-BzUCAU2a.mjs";
|
|
12
12
|
import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
|
package/dist/astro/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
1
|
+
import { n as VERSION, t as COMMIT } from "../version-C0JMMhmz.mjs";
|
|
2
2
|
import { t as defaultSeed } from "../default-5A3XVR7L.mjs";
|
|
3
3
|
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-U7ZavuGp.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../runtime-
|
|
1
|
+
import "../../runtime-CJasRKJB.mjs";
|
|
2
2
|
import "../../types-B1NksXAb.mjs";
|
|
3
3
|
import "../../types-BIM7jwxr.mjs";
|
|
4
4
|
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-
|
|
8
|
+
import "../../bylines-CGwQCHdG.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-
|
|
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-CYnT_2_B.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-
|
|
40
|
+
import { n as VERSION, t as COMMIT } from "../version-C0JMMhmz.mjs";
|
|
41
41
|
import "../query-BnRpB09I.mjs";
|
|
42
42
|
import "../zod-generator-C4BgFBZV.mjs";
|
|
43
43
|
import "../schema-U-SeFWwn.mjs";
|
|
@@ -48,8 +48,8 @@ import "../taxonomies-BVBKoXRf.mjs";
|
|
|
48
48
|
import "../taxonomies-DGaw_-aU.mjs";
|
|
49
49
|
import { r as normalizeManifestRoute } from "../manifest-schema-C6fzQoWn.mjs";
|
|
50
50
|
import "../parse-D7Tu6ku4.mjs";
|
|
51
|
-
import "../redirects-
|
|
52
|
-
import "../import-
|
|
51
|
+
import "../redirects-x5ol_Qj9.mjs";
|
|
52
|
+
import "../import-Br7aP9yh.mjs";
|
|
53
53
|
import { a as invalidateUrlPatternCache } from "../query-DHvNhBhi.mjs";
|
|
54
54
|
import "../preview-5HuX6fjF.mjs";
|
|
55
55
|
import "../parser-egIGEco-.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../context-types-BrSQNye5.mjs";
|
|
2
2
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DLkgOP5m.mjs";
|
|
3
3
|
import { n as parseBody, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
4
|
-
import { S as allowedDomainUpdateBody } from "../../../../../redirects-
|
|
5
|
-
import "../../../../../import-
|
|
4
|
+
import { S as allowedDomainUpdateBody } from "../../../../../redirects-x5ol_Qj9.mjs";
|
|
5
|
+
import "../../../../../import-Br7aP9yh.mjs";
|
|
6
6
|
import "../../../../../api/schemas/index.mjs";
|
|
7
7
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
8
8
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../../context-types-BrSQNye5.mjs";
|
|
2
2
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DLkgOP5m.mjs";
|
|
3
3
|
import { n as parseBody, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
4
|
-
import { x as allowedDomainCreateBody } from "../../../../../redirects-
|
|
5
|
-
import "../../../../../import-
|
|
4
|
+
import { x as allowedDomainCreateBody } from "../../../../../redirects-x5ol_Qj9.mjs";
|
|
5
|
+
import "../../../../../import-Br7aP9yh.mjs";
|
|
6
6
|
import "../../../../../api/schemas/index.mjs";
|
|
7
7
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
8
8
|
import { Role, roleFromLevel } from "@dineway-ai/auth";
|
|
@@ -15,8 +15,8 @@ import "../../../../settings-DORe02PC.mjs";
|
|
|
15
15
|
import { t as handleSiteBriefingGet } from "../../../../briefing-DD82WaEy.mjs";
|
|
16
16
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-DLkgOP5m.mjs";
|
|
17
17
|
import { i as parseQuery, t as isParseError } from "../../../../parse-D7Tu6ku4.mjs";
|
|
18
|
-
import "../../../../redirects-
|
|
19
|
-
import { C as siteBriefingQuery } from "../../../../import-
|
|
18
|
+
import "../../../../redirects-x5ol_Qj9.mjs";
|
|
19
|
+
import { C as siteBriefingQuery } from "../../../../import-Br7aP9yh.mjs";
|
|
20
20
|
import "../../../../api/schemas/index.mjs";
|
|
21
21
|
import { hasPermission } from "@dineway-ai/auth";
|
|
22
22
|
|
|
@@ -6,8 +6,8 @@ import "../../../../../../context-types-BrSQNye5.mjs";
|
|
|
6
6
|
import "../../../../../../loader-p2imNN98.mjs";
|
|
7
7
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
8
8
|
import { n as parseBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
9
|
-
import { vn as bylineUpdateBody } from "../../../../../../redirects-
|
|
10
|
-
import "../../../../../../import-
|
|
9
|
+
import { vn as bylineUpdateBody } from "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
10
|
+
import "../../../../../../import-Br7aP9yh.mjs";
|
|
11
11
|
import "../../../../../../api/schemas/index.mjs";
|
|
12
12
|
import { i as invalidateBylineCache } from "../../../../../../bylines-75_STR73.mjs";
|
|
13
13
|
import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
|
|
@@ -6,8 +6,8 @@ import "../../../../../context-types-BrSQNye5.mjs";
|
|
|
6
6
|
import "../../../../../loader-p2imNN98.mjs";
|
|
7
7
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DLkgOP5m.mjs";
|
|
8
8
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
9
|
-
import { mn as bylineCreateBody, yn as bylinesListQuery } from "../../../../../redirects-
|
|
10
|
-
import "../../../../../import-
|
|
9
|
+
import { mn as bylineCreateBody, yn as bylinesListQuery } from "../../../../../redirects-x5ol_Qj9.mjs";
|
|
10
|
+
import "../../../../../import-Br7aP9yh.mjs";
|
|
11
11
|
import "../../../../../api/schemas/index.mjs";
|
|
12
12
|
import { i as invalidateBylineCache } from "../../../../../bylines-75_STR73.mjs";
|
|
13
13
|
import { n as requirePerm } from "../../../../../authorize-BbIhZi3a.mjs";
|
|
@@ -5,8 +5,8 @@ import "../../../../../../options-BF11H_FD.mjs";
|
|
|
5
5
|
import "../../../../../../context-types-BrSQNye5.mjs";
|
|
6
6
|
import { a as unwrapResult, i as requireDb, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
7
7
|
import { n as parseBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
8
|
-
import { gt as commentStatusBody } from "../../../../../../redirects-
|
|
9
|
-
import "../../../../../../import-
|
|
8
|
+
import { gt as commentStatusBody } from "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
9
|
+
import "../../../../../../import-Br7aP9yh.mjs";
|
|
10
10
|
import "../../../../../../api/schemas/index.mjs";
|
|
11
11
|
import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
|
|
12
12
|
import { a as handleCommentGet } from "../../../../../../comments-yTbeIYc2.mjs";
|
|
@@ -4,8 +4,8 @@ import "../../../../../comment-BmJXz3lc.mjs";
|
|
|
4
4
|
import "../../../../../context-types-BrSQNye5.mjs";
|
|
5
5
|
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-DLkgOP5m.mjs";
|
|
6
6
|
import { n as parseBody, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
7
|
-
import { dt as commentBulkBody } from "../../../../../redirects-
|
|
8
|
-
import "../../../../../import-
|
|
7
|
+
import { dt as commentBulkBody } from "../../../../../redirects-x5ol_Qj9.mjs";
|
|
8
|
+
import "../../../../../import-Br7aP9yh.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
10
|
import { n as requirePerm } from "../../../../../authorize-BbIhZi3a.mjs";
|
|
11
11
|
import { n as handleCommentBulk } from "../../../../../comments-yTbeIYc2.mjs";
|
|
@@ -4,8 +4,8 @@ import "../../../../../comment-BmJXz3lc.mjs";
|
|
|
4
4
|
import "../../../../../context-types-BrSQNye5.mjs";
|
|
5
5
|
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-DLkgOP5m.mjs";
|
|
6
6
|
import { i as parseQuery, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
7
|
-
import { mt as commentListQuery } from "../../../../../redirects-
|
|
8
|
-
import "../../../../../import-
|
|
7
|
+
import { mt as commentListQuery } from "../../../../../redirects-x5ol_Qj9.mjs";
|
|
8
|
+
import "../../../../../import-Br7aP9yh.mjs";
|
|
9
9
|
import "../../../../../api/schemas/index.mjs";
|
|
10
10
|
import { n as requirePerm } from "../../../../../authorize-BbIhZi3a.mjs";
|
|
11
11
|
import { o as handleCommentInbox } from "../../../../../comments-yTbeIYc2.mjs";
|
|
@@ -19,8 +19,8 @@ import "../../../../../../zod-generator-C4BgFBZV.mjs";
|
|
|
19
19
|
import "../../../../../../schema-U-SeFWwn.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
21
21
|
import { n as parseBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
22
|
-
import "../../../../../../redirects-
|
|
23
|
-
import { D as contextEntryReviewBody } from "../../../../../../import-
|
|
22
|
+
import "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
23
|
+
import { D as contextEntryReviewBody } from "../../../../../../import-Br7aP9yh.mjs";
|
|
24
24
|
import "../../../../../../api/schemas/index.mjs";
|
|
25
25
|
import "../../../../../../utils-FEbQMgB5.mjs";
|
|
26
26
|
import "../../../../../../search-Cl9preJT.mjs";
|
|
@@ -19,8 +19,8 @@ import "../../../../../../zod-generator-C4BgFBZV.mjs";
|
|
|
19
19
|
import "../../../../../../schema-U-SeFWwn.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
21
21
|
import { n as parseBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
22
|
-
import "../../../../../../redirects-
|
|
23
|
-
import { k as contextEntrySupersedeBody } from "../../../../../../import-
|
|
22
|
+
import "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
23
|
+
import { k as contextEntrySupersedeBody } from "../../../../../../import-Br7aP9yh.mjs";
|
|
24
24
|
import "../../../../../../api/schemas/index.mjs";
|
|
25
25
|
import "../../../../../../utils-FEbQMgB5.mjs";
|
|
26
26
|
import "../../../../../../search-Cl9preJT.mjs";
|
|
@@ -19,8 +19,8 @@ import "../../../../../zod-generator-C4BgFBZV.mjs";
|
|
|
19
19
|
import "../../../../../schema-U-SeFWwn.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-DLkgOP5m.mjs";
|
|
21
21
|
import { i as parseQuery, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
22
|
-
import "../../../../../redirects-
|
|
23
|
-
import { T as contextEntryDiffQuery } from "../../../../../import-
|
|
22
|
+
import "../../../../../redirects-x5ol_Qj9.mjs";
|
|
23
|
+
import { T as contextEntryDiffQuery } from "../../../../../import-Br7aP9yh.mjs";
|
|
24
24
|
import "../../../../../api/schemas/index.mjs";
|
|
25
25
|
import "../../../../../utils-FEbQMgB5.mjs";
|
|
26
26
|
import "../../../../../search-Cl9preJT.mjs";
|
|
@@ -19,8 +19,8 @@ import "../../../../../zod-generator-C4BgFBZV.mjs";
|
|
|
19
19
|
import "../../../../../schema-U-SeFWwn.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-DLkgOP5m.mjs";
|
|
21
21
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
22
|
-
import "../../../../../redirects-
|
|
23
|
-
import { E as contextEntryListQuery, w as contextEntryCreateBody } from "../../../../../import-
|
|
22
|
+
import "../../../../../redirects-x5ol_Qj9.mjs";
|
|
23
|
+
import { E as contextEntryListQuery, w as contextEntryCreateBody } from "../../../../../import-Br7aP9yh.mjs";
|
|
24
24
|
import "../../../../../api/schemas/index.mjs";
|
|
25
25
|
import "../../../../../utils-FEbQMgB5.mjs";
|
|
26
26
|
import "../../../../../search-Cl9preJT.mjs";
|
|
@@ -19,8 +19,8 @@ import "../../../../../zod-generator-C4BgFBZV.mjs";
|
|
|
19
19
|
import "../../../../../schema-U-SeFWwn.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError } from "../../../../../error-DLkgOP5m.mjs";
|
|
21
21
|
import { i as parseQuery, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
22
|
-
import "../../../../../redirects-
|
|
23
|
-
import { O as contextEntryStaleQuery } from "../../../../../import-
|
|
22
|
+
import "../../../../../redirects-x5ol_Qj9.mjs";
|
|
23
|
+
import { O as contextEntryStaleQuery } from "../../../../../import-Br7aP9yh.mjs";
|
|
24
24
|
import "../../../../../api/schemas/index.mjs";
|
|
25
25
|
import "../../../../../utils-FEbQMgB5.mjs";
|
|
26
26
|
import "../../../../../search-Cl9preJT.mjs";
|
|
@@ -19,8 +19,8 @@ import "../../../../../../zod-generator-C4BgFBZV.mjs";
|
|
|
19
19
|
import "../../../../../../schema-U-SeFWwn.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
21
21
|
import { n as parseBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
22
|
-
import "../../../../../../redirects-
|
|
23
|
-
import { S as hitlRequestResolveBody } from "../../../../../../import-
|
|
22
|
+
import "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
23
|
+
import { S as hitlRequestResolveBody } from "../../../../../../import-Br7aP9yh.mjs";
|
|
24
24
|
import "../../../../../../api/schemas/index.mjs";
|
|
25
25
|
import "../../../../../../utils-FEbQMgB5.mjs";
|
|
26
26
|
import "../../../../../../search-Cl9preJT.mjs";
|
|
@@ -19,8 +19,8 @@ import "../../../../../zod-generator-C4BgFBZV.mjs";
|
|
|
19
19
|
import "../../../../../schema-U-SeFWwn.mjs";
|
|
20
20
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../../error-DLkgOP5m.mjs";
|
|
21
21
|
import { i as parseQuery, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
|
|
22
|
-
import "../../../../../redirects-
|
|
23
|
-
import { x as hitlRequestListQuery } from "../../../../../import-
|
|
22
|
+
import "../../../../../redirects-x5ol_Qj9.mjs";
|
|
23
|
+
import { x as hitlRequestListQuery } from "../../../../../import-Br7aP9yh.mjs";
|
|
24
24
|
import "../../../../../api/schemas/index.mjs";
|
|
25
25
|
import "../../../../../utils-FEbQMgB5.mjs";
|
|
26
26
|
import "../../../../../search-Cl9preJT.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-
|
|
17
|
+
import "../../../../../../api-CYnT_2_B.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";
|
|
@@ -36,8 +36,8 @@ import "../../../../../../taxonomies-DGaw_-aU.mjs";
|
|
|
36
36
|
import "../../../../../../manifest-schema-C6fzQoWn.mjs";
|
|
37
37
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
38
38
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
39
|
-
import "../../../../../../redirects-
|
|
40
|
-
import "../../../../../../import-
|
|
39
|
+
import "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
40
|
+
import "../../../../../../import-Br7aP9yh.mjs";
|
|
41
41
|
import { r as setCronTasksEnabled } from "../../../../../../cron-D7FDsRu-.mjs";
|
|
42
42
|
import "../../../../../../utils-FEbQMgB5.mjs";
|
|
43
43
|
import "../../../../../../search-Cl9preJT.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-
|
|
17
|
+
import "../../../../../../api-CYnT_2_B.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";
|
|
@@ -36,8 +36,8 @@ import "../../../../../../taxonomies-DGaw_-aU.mjs";
|
|
|
36
36
|
import "../../../../../../manifest-schema-C6fzQoWn.mjs";
|
|
37
37
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
38
38
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
39
|
-
import "../../../../../../redirects-
|
|
40
|
-
import "../../../../../../import-
|
|
39
|
+
import "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
40
|
+
import "../../../../../../import-Br7aP9yh.mjs";
|
|
41
41
|
import { r as setCronTasksEnabled } from "../../../../../../cron-D7FDsRu-.mjs";
|
|
42
42
|
import "../../../../../../utils-FEbQMgB5.mjs";
|
|
43
43
|
import "../../../../../../search-Cl9preJT.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-
|
|
16
|
+
import "../../../../../../api-CYnT_2_B.mjs";
|
|
17
17
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import { c as handlePluginGet } from "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -35,8 +35,8 @@ import "../../../../../../taxonomies-DGaw_-aU.mjs";
|
|
|
35
35
|
import "../../../../../../manifest-schema-C6fzQoWn.mjs";
|
|
36
36
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
37
37
|
import "../../../../../../parse-D7Tu6ku4.mjs";
|
|
38
|
-
import "../../../../../../redirects-
|
|
39
|
-
import "../../../../../../import-
|
|
38
|
+
import "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
39
|
+
import "../../../../../../import-Br7aP9yh.mjs";
|
|
40
40
|
import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
|
|
41
41
|
|
|
42
42
|
//#region src/astro/routes/api/admin/plugins/[id]/index.ts
|
|
@@ -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-
|
|
17
|
+
import { a as handleMarketplaceUninstall } from "../../../../../../api-CYnT_2_B.mjs";
|
|
18
18
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
19
19
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
20
20
|
import { l as handlePluginList } from "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -36,8 +36,8 @@ import "../../../../../../taxonomies-DGaw_-aU.mjs";
|
|
|
36
36
|
import "../../../../../../manifest-schema-C6fzQoWn.mjs";
|
|
37
37
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
38
38
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
39
|
-
import "../../../../../../redirects-
|
|
40
|
-
import "../../../../../../import-
|
|
39
|
+
import "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
40
|
+
import "../../../../../../import-Br7aP9yh.mjs";
|
|
41
41
|
import "../../../../../../utils-FEbQMgB5.mjs";
|
|
42
42
|
import "../../../../../../search-Cl9preJT.mjs";
|
|
43
43
|
import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.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-
|
|
17
|
+
import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-CYnT_2_B.mjs";
|
|
18
18
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
19
19
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
20
20
|
import "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -36,8 +36,8 @@ import "../../../../../../taxonomies-DGaw_-aU.mjs";
|
|
|
36
36
|
import "../../../../../../manifest-schema-C6fzQoWn.mjs";
|
|
37
37
|
import { a as unwrapResult, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
|
|
38
38
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
|
|
39
|
-
import "../../../../../../redirects-
|
|
40
|
-
import "../../../../../../import-
|
|
39
|
+
import "../../../../../../redirects-x5ol_Qj9.mjs";
|
|
40
|
+
import "../../../../../../import-Br7aP9yh.mjs";
|
|
41
41
|
import "../../../../../../utils-FEbQMgB5.mjs";
|
|
42
42
|
import "../../../../../../search-Cl9preJT.mjs";
|
|
43
43
|
import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.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-
|
|
16
|
+
import "../../../../../api-CYnT_2_B.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import { l as handlePluginList } from "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -35,8 +35,8 @@ import "../../../../../taxonomies-DGaw_-aU.mjs";
|
|
|
35
35
|
import "../../../../../manifest-schema-C6fzQoWn.mjs";
|
|
36
36
|
import { a as unwrapResult, t as apiError } from "../../../../../error-DLkgOP5m.mjs";
|
|
37
37
|
import "../../../../../parse-D7Tu6ku4.mjs";
|
|
38
|
-
import "../../../../../redirects-
|
|
39
|
-
import "../../../../../import-
|
|
38
|
+
import "../../../../../redirects-x5ol_Qj9.mjs";
|
|
39
|
+
import "../../../../../import-Br7aP9yh.mjs";
|
|
40
40
|
import { n as requirePerm } from "../../../../../authorize-BbIhZi3a.mjs";
|
|
41
41
|
|
|
42
42
|
//#region src/astro/routes/api/admin/plugins/index.ts
|
|
@@ -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-
|
|
16
|
+
import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-CYnT_2_B.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -35,8 +35,8 @@ import "../../../../../../../taxonomies-DGaw_-aU.mjs";
|
|
|
35
35
|
import "../../../../../../../manifest-schema-C6fzQoWn.mjs";
|
|
36
36
|
import { a as unwrapResult, t as apiError } from "../../../../../../../error-DLkgOP5m.mjs";
|
|
37
37
|
import "../../../../../../../parse-D7Tu6ku4.mjs";
|
|
38
|
-
import "../../../../../../../redirects-
|
|
39
|
-
import "../../../../../../../import-
|
|
38
|
+
import "../../../../../../../redirects-x5ol_Qj9.mjs";
|
|
39
|
+
import "../../../../../../../import-Br7aP9yh.mjs";
|
|
40
40
|
import { n as requirePerm } from "../../../../../../../authorize-BbIhZi3a.mjs";
|
|
41
41
|
|
|
42
42
|
//#region src/astro/routes/api/admin/plugins/marketplace/[id]/index.ts
|
|
@@ -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-
|
|
17
|
+
import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-CYnT_2_B.mjs";
|
|
18
18
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
19
19
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
20
20
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -36,8 +36,8 @@ import "../../../../../../../taxonomies-DGaw_-aU.mjs";
|
|
|
36
36
|
import "../../../../../../../manifest-schema-C6fzQoWn.mjs";
|
|
37
37
|
import { a as unwrapResult, r as handleError, t as apiError } from "../../../../../../../error-DLkgOP5m.mjs";
|
|
38
38
|
import { r as parseOptionalBody, t as isParseError } from "../../../../../../../parse-D7Tu6ku4.mjs";
|
|
39
|
-
import "../../../../../../../redirects-
|
|
40
|
-
import "../../../../../../../import-
|
|
39
|
+
import "../../../../../../../redirects-x5ol_Qj9.mjs";
|
|
40
|
+
import "../../../../../../../import-Br7aP9yh.mjs";
|
|
41
41
|
import "../../../../../../../utils-FEbQMgB5.mjs";
|
|
42
42
|
import "../../../../../../../search-Cl9preJT.mjs";
|
|
43
43
|
import { n as requirePerm } from "../../../../../../../authorize-BbIhZi3a.mjs";
|