dineway 0.2.30 → 0.2.31
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/dist/api/route-utils.d.mts +3 -3
- package/dist/api/route-utils.mjs +1 -1
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-Ct2tjecP.mjs → api-CBL6bNU1.mjs} +1 -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 +5 -4
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/updates.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +1 -1
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +1 -1
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/types.d.mts +2 -2
- package/dist/{byline-fields-nVUlDAl0.d.mts → byline-fields-CexmiaFr.d.mts} +20 -20
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/{context-ChMi9sZc.mjs → context-D8yUDM9d.mjs} +3 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/{jsonld-Bv20fcwc.d.mts → jsonld-BM0JqNLm.d.mts} +1 -1
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/page/index.d.mts +3 -3
- package/dist/plugin-utils.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{plugins-BwvsQ0s1.mjs → plugins-Cz4PAYJf.mjs} +2 -1
- package/dist/{public-url-DfDWSNjk.d.mts → public-url-CPw0dhAQ.d.mts} +1 -1
- package/dist/runtime.d.mts +2 -2
- package/dist/{types-30cGytTh.d.mts → types-DB9weIZo.d.mts} +8 -1
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/version-BIlVseq9.mjs +6 -0
- package/package.json +1 -1
- package/dist/version-_iWin2_c.mjs +0 -6
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Gs as OptionsRepository, Js as parseBody, Ks as ParseResult, Qs as handleError, Rt as StorageCollection, Xs as apiError, Ys as parseQuery, Zs as apiSuccess, qs as isParseError, zt as StorageCollectionConfig } from "../types-
|
|
1
|
+
import { Gs as OptionsRepository, Js as parseBody, Ks as ParseResult, Qs as handleError, Rt as StorageCollection, Xs as apiError, Ys as parseQuery, Zs as apiSuccess, qs as isParseError, zt as StorageCollectionConfig } from "../types-DB9weIZo.mjs";
|
|
2
2
|
import { t as Database } from "../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../runner-CvwzNJHj.mjs";
|
|
4
4
|
import "../index-DXcPysP3.mjs";
|
|
5
5
|
import "../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../byline-fields-
|
|
8
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../types-ZdWRfUsC.mjs";
|
|
10
|
-
import { t as getPublicOrigin } from "../public-url-
|
|
10
|
+
import { t as getPublicOrigin } from "../public-url-CPw0dhAQ.mjs";
|
|
11
11
|
import { Kysely } from "kysely";
|
|
12
12
|
|
|
13
13
|
//#region src/api/auth-storage.d.ts
|
package/dist/api/route-utils.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import "../content-DW-BRHF4.mjs";
|
|
|
7
7
|
import "../media-Dnpc2hW8.mjs";
|
|
8
8
|
import "../user-D-dGG5Om.mjs";
|
|
9
9
|
import { t as OptionsRepository } from "../options-1dBRkoCl.mjs";
|
|
10
|
-
import { r as createStorageAccess } from "../context-
|
|
10
|
+
import { r as createStorageAccess } from "../context-D8yUDM9d.mjs";
|
|
11
11
|
import "../enrich-Uw_OA9Ve.mjs";
|
|
12
12
|
import "../seo-Cbj0_Opd.mjs";
|
|
13
13
|
import "../content-refresh-iarREtUO.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as settingsUpdateBody, $n as contentResponseSchema, $t as adminCommentListResponseSchema, A as widgetAreaSchema, An as mediaConfirmResponseSchema, At as inviteCompleteBody, B as usersListQuery, Bn as contentAuthorSchema, Bt as signupRequestBody, C as redirectSchema, Cn as orphanedTableSchema, Ct as menuSchema, D as createWidgetBody, Dn as DEFAULT_MAX_UPLOAD_SIZE, Dt as updateMenuBody, E as createWidgetAreaBody, En as updateFieldBody, Et as reorderMenuItemsBody, F as allowedDomainUpdateBody, Fn as mediaProviderListQuery, Ft as passkeyRegisterOptionsBody, G as wpPrepareBody, Gn as contentListQuery, Gt as hitlRequestResolveBody, H as wpMediaImportBody, Hn as contentCompareResponseSchema, Ht as reviewRequestListQuery, I as userDetailSchema, In as mediaResponseSchema, It as passkeyRegisterVerifyBody, J as searchQuery, Jn as contentPublicationReceiptSchema, Jt as contextEntryDiffQuery, K as wpRewriteUrlsBody, Kn as contentListResponseSchema, Kt as siteBriefingQuery, L as userListResponseSchema, Ln as mediaUpdateBody, Lt as passkeyRenameBody, M as widgetAreaWithWidgetsSchema, Mn as mediaItemSchema, Mt as inviteRegisterOptionsBody, N as widgetSchema, Nn as mediaListQuery, Nt as magicLinkSendBody, O as reorderWidgetsBody, On as formatFileSize, Ot as updateMenuItemBody, P as allowedDomainCreateBody, Pn as mediaListResponseSchema, Pt as passkeyOptionsBody, Q as searchSuggestQuery, Qn as contentReleaseReadinessResponseSchema, Qt as contextEntrySupersedeBody, R as userSchema, Rn as mediaUploadUrlBody, Rt as passkeyVerifyBody, S as redirectListResponseSchema, Sn as orphanedTableListResponseSchema, St as menuListItemSchema, T as updateRedirectBody, Tn as updateCollectionBody, Tt as menuWithItemsSchema, U as wpPluginAnalyzeBody, Un as contentCreateBody, Ut as reviewRequestResolveBody, V as importProbeBody, Vn as contentAuthorsResponseSchema, Vt as reviewRequestCreateBody, W as wpPluginExecuteBody, Wn as contentItemSchema, Wt as hitlRequestListQuery, X as searchResponseSchema, Xn as contentPublishResponseSchema, Xt as contextEntryReviewBody, Y as searchRebuildBody, Yn as contentPublishBody, Yt as contextEntryListQuery, Z as searchResultSchema, Zn as contentReleaseReadinessQuery, Zt as contextEntryStaleQuery, _ as notFoundListResponseSchema, _n as fieldListResponseSchema, _r as localeFilterQuery, _t as updateTermBody, a as bylineFieldUpdateBody, an as commentStatusBody, ar as contentTranslationsResponseSchema, at as updateSectionBody, b as notFoundSummaryResponseSchema, bn as fieldSchema, br as slugPattern, bt as menuItemSchema, c as bylineCreditSchema, cn as publicCommentListResponseSchema, cr as trashedContentItemSchema, ct as taxonomyDefSchema, d as bylineUpdateBody, dn as collectionListResponseSchema, dr as apiErrorSchema, dt as termGetResponseSchema, en as commentBulkBody, er as contentScheduleBody, et as siteSettingsSchema, f as bylinesListQuery, fn as collectionResponseSchema, fr as countResponseSchema, ft as termListResponseSchema, g as notFoundListQuery, gn as createFieldBody, gr as localeCode, gt as termWithCountSchema, h as notFoundEntrySchema, hn as createCollectionBody, hr as httpUrl, ht as termTranslationsSchema, i as bylineFieldReorderBody, in as commentSchema, ir as contentTranslationSchema, it as sectionsListQuery, j as widgetAreaWithWidgetsAndCountSchema, jn as mediaExistingResponseSchema, jt as inviteCreateBody, k as updateWidgetBody, kn as mediaConfirmBody, kt as authMeActionBody, l as bylineListResponseSchema, ln as publicCommentSchema, lr as trashedContentListResponseSchema, lt as taxonomyDefTranslationsSchema, m as createRedirectBody, mn as collectionWithFieldsResponseSchema, mr as deleteResponseSchema, mt as termSchema, n as bylineFieldDefinitionSchema, nn as commentCountsResponseSchema, nr as contentSeoSchema, nt as sectionListResponseSchema, o as bylineFieldUsageResponseSchema, on as createCommentBody, or as contentTrashQuery, ot as createTaxonomyDefBody, p as contentBylineInputSchema, pn as collectionSchema, pr as cursorPaginationQuery, pt as termResponseSchema, q as searchEnableBody, qn as contentPreviewUrlBody, qt as contextEntryCreateBody, r as bylineFieldListResponseSchema, rn as commentListQuery, rr as contentTermsBody, rt as sectionSchema, s as bylineCreateBody, sn as createReactionBody, sr as contentUpdateBody, st as createTermBody, t as bylineFieldCreateBody, tn as commentBulkResponseSchema, tr as contentSeoInput, tt as createSectionBody, u as bylineSummarySchema, un as collectionGetQuery, ur as VALID_ROLE_LEVELS, ut as taxonomyListResponseSchema, v as notFoundPruneBody, vn as fieldReorderBody, vr as offsetPaginationQuery, vt as createMenuBody, w as redirectsListQuery, wn as schemaExportQuery, wt as menuTranslationsSchema, x as notFoundSummarySchema, xn as orphanRegisterBody, xr as successEnvelope, xt as menuItemTypeEnum, y as notFoundSummaryQuery, yn as fieldResponseSchema, yr as roleLevel, yt as createMenuItemBody, z as userUpdateBody, zn as mediaUploadUrlResponseSchema, zt as signupCompleteBody } from "../../byline-fields-
|
|
1
|
+
import { $ as settingsUpdateBody, $n as contentResponseSchema, $t as adminCommentListResponseSchema, A as widgetAreaSchema, An as mediaConfirmResponseSchema, At as inviteCompleteBody, B as usersListQuery, Bn as contentAuthorSchema, Bt as signupRequestBody, C as redirectSchema, Cn as orphanedTableSchema, Ct as menuSchema, D as createWidgetBody, Dn as DEFAULT_MAX_UPLOAD_SIZE, Dt as updateMenuBody, E as createWidgetAreaBody, En as updateFieldBody, Et as reorderMenuItemsBody, F as allowedDomainUpdateBody, Fn as mediaProviderListQuery, Ft as passkeyRegisterOptionsBody, G as wpPrepareBody, Gn as contentListQuery, Gt as hitlRequestResolveBody, H as wpMediaImportBody, Hn as contentCompareResponseSchema, Ht as reviewRequestListQuery, I as userDetailSchema, In as mediaResponseSchema, It as passkeyRegisterVerifyBody, J as searchQuery, Jn as contentPublicationReceiptSchema, Jt as contextEntryDiffQuery, K as wpRewriteUrlsBody, Kn as contentListResponseSchema, Kt as siteBriefingQuery, L as userListResponseSchema, Ln as mediaUpdateBody, Lt as passkeyRenameBody, M as widgetAreaWithWidgetsSchema, Mn as mediaItemSchema, Mt as inviteRegisterOptionsBody, N as widgetSchema, Nn as mediaListQuery, Nt as magicLinkSendBody, O as reorderWidgetsBody, On as formatFileSize, Ot as updateMenuItemBody, P as allowedDomainCreateBody, Pn as mediaListResponseSchema, Pt as passkeyOptionsBody, Q as searchSuggestQuery, Qn as contentReleaseReadinessResponseSchema, Qt as contextEntrySupersedeBody, R as userSchema, Rn as mediaUploadUrlBody, Rt as passkeyVerifyBody, S as redirectListResponseSchema, Sn as orphanedTableListResponseSchema, St as menuListItemSchema, T as updateRedirectBody, Tn as updateCollectionBody, Tt as menuWithItemsSchema, U as wpPluginAnalyzeBody, Un as contentCreateBody, Ut as reviewRequestResolveBody, V as importProbeBody, Vn as contentAuthorsResponseSchema, Vt as reviewRequestCreateBody, W as wpPluginExecuteBody, Wn as contentItemSchema, Wt as hitlRequestListQuery, X as searchResponseSchema, Xn as contentPublishResponseSchema, Xt as contextEntryReviewBody, Y as searchRebuildBody, Yn as contentPublishBody, Yt as contextEntryListQuery, Z as searchResultSchema, Zn as contentReleaseReadinessQuery, Zt as contextEntryStaleQuery, _ as notFoundListResponseSchema, _n as fieldListResponseSchema, _r as localeFilterQuery, _t as updateTermBody, a as bylineFieldUpdateBody, an as commentStatusBody, ar as contentTranslationsResponseSchema, at as updateSectionBody, b as notFoundSummaryResponseSchema, bn as fieldSchema, br as slugPattern, bt as menuItemSchema, c as bylineCreditSchema, cn as publicCommentListResponseSchema, cr as trashedContentItemSchema, ct as taxonomyDefSchema, d as bylineUpdateBody, dn as collectionListResponseSchema, dr as apiErrorSchema, dt as termGetResponseSchema, en as commentBulkBody, er as contentScheduleBody, et as siteSettingsSchema, f as bylinesListQuery, fn as collectionResponseSchema, fr as countResponseSchema, ft as termListResponseSchema, g as notFoundListQuery, gn as createFieldBody, gr as localeCode, gt as termWithCountSchema, h as notFoundEntrySchema, hn as createCollectionBody, hr as httpUrl, ht as termTranslationsSchema, i as bylineFieldReorderBody, in as commentSchema, ir as contentTranslationSchema, it as sectionsListQuery, j as widgetAreaWithWidgetsAndCountSchema, jn as mediaExistingResponseSchema, jt as inviteCreateBody, k as updateWidgetBody, kn as mediaConfirmBody, kt as authMeActionBody, l as bylineListResponseSchema, ln as publicCommentSchema, lr as trashedContentListResponseSchema, lt as taxonomyDefTranslationsSchema, m as createRedirectBody, mn as collectionWithFieldsResponseSchema, mr as deleteResponseSchema, mt as termSchema, n as bylineFieldDefinitionSchema, nn as commentCountsResponseSchema, nr as contentSeoSchema, nt as sectionListResponseSchema, o as bylineFieldUsageResponseSchema, on as createCommentBody, or as contentTrashQuery, ot as createTaxonomyDefBody, p as contentBylineInputSchema, pn as collectionSchema, pr as cursorPaginationQuery, pt as termResponseSchema, q as searchEnableBody, qn as contentPreviewUrlBody, qt as contextEntryCreateBody, r as bylineFieldListResponseSchema, rn as commentListQuery, rr as contentTermsBody, rt as sectionSchema, s as bylineCreateBody, sn as createReactionBody, sr as contentUpdateBody, st as createTermBody, t as bylineFieldCreateBody, tn as commentBulkResponseSchema, tr as contentSeoInput, tt as createSectionBody, u as bylineSummarySchema, un as collectionGetQuery, ur as VALID_ROLE_LEVELS, ut as taxonomyListResponseSchema, v as notFoundPruneBody, vn as fieldReorderBody, vr as offsetPaginationQuery, vt as createMenuBody, w as redirectsListQuery, wn as schemaExportQuery, wt as menuTranslationsSchema, x as notFoundSummarySchema, xn as orphanRegisterBody, xr as successEnvelope, xt as menuItemTypeEnum, y as notFoundSummaryQuery, yn as fieldResponseSchema, yr as roleLevel, yt as createMenuItemBody, z as userUpdateBody, zn as mediaUploadUrlResponseSchema, zt as signupCompleteBody } from "../../byline-fields-CexmiaFr.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, bylineFieldCreateBody, bylineFieldDefinitionSchema, bylineFieldListResponseSchema, bylineFieldReorderBody, bylineFieldUpdateBody, bylineFieldUsageResponseSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentAuthorSchema, contentAuthorsResponseSchema, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublicationReceiptSchema, contentPublishBody, contentPublishResponseSchema, contentReleaseReadinessQuery, contentReleaseReadinessResponseSchema, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createReactionBody, 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, reviewRequestCreateBody, 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 };
|
|
@@ -19,7 +19,7 @@ import { i as invalidateRedirectCache } from "./cache-Bwds591_.mjs";
|
|
|
19
19
|
import { u as PluginStateRepository } from "./briefing-32h1e5FV.mjs";
|
|
20
20
|
import { n as hashString } from "./hash-CEky-IDp.mjs";
|
|
21
21
|
import { n as SchemaRegistry, t as SchemaError } from "./registry-Czz6avGn.mjs";
|
|
22
|
-
import { n as VERSION, t as COMMIT } from "./version-
|
|
22
|
+
import { n as VERSION, t as COMMIT } from "./version-BIlVseq9.mjs";
|
|
23
23
|
import { a as reconcileManifestAccess, i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-owbEUmv1.mjs";
|
|
24
24
|
import { t as DinewayStorageError } from "./types-dgGPmsl_.mjs";
|
|
25
25
|
import { sql } from "kysely";
|
package/dist/astro/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ContentItem } from "../types-m37xNtUj.mjs";
|
|
2
|
-
import { Ao as getStoredConfig, Mo as S3StorageConfig, Ms as MediaItem, No as StorageDescriptor, Oo as DinewayConfig, jo as LocalStorageConfig, kt as ResolvedPlugin } from "../types-
|
|
2
|
+
import { Ao as getStoredConfig, Mo as S3StorageConfig, Ms as MediaItem, No as StorageDescriptor, Oo as DinewayConfig, jo as LocalStorageConfig, kt as ResolvedPlugin } from "../types-DB9weIZo.mjs";
|
|
3
3
|
import "../types-B7Ifhtyz.mjs";
|
|
4
4
|
import "../runner-CvwzNJHj.mjs";
|
|
5
5
|
import "../index-DXcPysP3.mjs";
|
|
@@ -7,7 +7,7 @@ import "../types-BdsNqnHA.mjs";
|
|
|
7
7
|
import { i as ObjectCacheRuntimeConfig, r as ObjectCacheDescriptor } from "../types-B-KSspMO.mjs";
|
|
8
8
|
import "../public-url-CbmE-u2t.mjs";
|
|
9
9
|
import "../validate-BRq01mTo.mjs";
|
|
10
|
-
import "../byline-fields-
|
|
10
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
11
11
|
import "../types-ZdWRfUsC.mjs";
|
|
12
12
|
import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
|
|
13
13
|
import { AstroIntegration } from "astro";
|
package/dist/astro/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as INTERNAL_MEDIA_PREFIX } from "../normalize-BY2gOygP.mjs";
|
|
2
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
2
|
+
import { n as VERSION, t as COMMIT } from "../version-BIlVseq9.mjs";
|
|
3
3
|
import { t as defaultSeed } from "../default-D8jeKsT3.mjs";
|
|
4
4
|
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-C-7CVG6J.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { po as SiteAuthTokenContext } from "../../types-
|
|
1
|
+
import { po as SiteAuthTokenContext } from "../../types-DB9weIZo.mjs";
|
|
2
2
|
import "../../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../../runner-CvwzNJHj.mjs";
|
|
4
4
|
import "../../index-DXcPysP3.mjs";
|
|
5
5
|
import "../../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../../byline-fields-
|
|
8
|
+
import "../../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../../types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayHandlers } from "../types.mjs";
|
|
11
11
|
import { User } from "@dineway-ai/auth";
|
|
@@ -3,7 +3,7 @@ import "../connection-DJ3GzHVH.mjs";
|
|
|
3
3
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
4
4
|
import { s as isSqlite } from "../dialect-helpers-fk43GbDb.mjs";
|
|
5
5
|
import { i as setI18nConfig } from "../config-CVssduLe.mjs";
|
|
6
|
-
import { _ as DEFAULT_PLUGIN_RAW_BODY_LIMIT_BYTES, d as EmailPipeline, g as definePlugin, h as runPluginMigrations, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry, v as readBoundedPluginRouteBody } from "../plugins-
|
|
6
|
+
import { _ as DEFAULT_PLUGIN_RAW_BODY_LIMIT_BYTES, d as EmailPipeline, g as definePlugin, h as runPluginMigrations, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry, v as readBoundedPluginRouteBody } from "../plugins-Cz4PAYJf.mjs";
|
|
7
7
|
import { createRequestMetrics, getRequestContext, runWithContext } from "../request-context.mjs";
|
|
8
8
|
import { createRecorder, flushRecorder, formatServerTimingHeader, isInstrumentationEnabled, isServerTimingEnabled, kyselyLogOption } from "../database/instrumentation.mjs";
|
|
9
9
|
import "../base64-F8-DUraK.mjs";
|
|
@@ -23,7 +23,7 @@ import "../site-activity-MiKT38qx.mjs";
|
|
|
23
23
|
import { t as ReviewRequestRepository } from "../review-requests-D-lhld0A.mjs";
|
|
24
24
|
import { n as PublicationAuthorizationService, r as publicationReceipt, s as ContentReleaseGrantRepository, t as PublicationAuthorizationError } from "../publication-authorization-BQpdXnha.mjs";
|
|
25
25
|
import "../site-context-CqNMaJ5s.mjs";
|
|
26
|
-
import { t as PluginContextFactory } from "../context-
|
|
26
|
+
import { t as PluginContextFactory } from "../context-D8yUDM9d.mjs";
|
|
27
27
|
import "../menus-F1fYny2w.mjs";
|
|
28
28
|
import "../redirect-DtjSpGWp.mjs";
|
|
29
29
|
import { r as requestCached } from "../request-cache-DoT2mKBT.mjs";
|
|
@@ -34,7 +34,7 @@ import "../byline-BfL607qj.mjs";
|
|
|
34
34
|
import { n as normalizeMediaValue } from "../normalize-BY2gOygP.mjs";
|
|
35
35
|
import "../enrich-Uw_OA9Ve.mjs";
|
|
36
36
|
import "../seo-Cbj0_Opd.mjs";
|
|
37
|
-
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, d as createPluginBundleStore, et as decodeRev, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, tt as validateRev, z as handleContentDelete } from "../api-
|
|
37
|
+
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, d as createPluginBundleStore, et as decodeRev, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, tt as validateRev, z as handleContentDelete } from "../api-CBL6bNU1.mjs";
|
|
38
38
|
import "../dashboard-CdsvXt0T.mjs";
|
|
39
39
|
import { u as PluginStateRepository } from "../briefing-32h1e5FV.mjs";
|
|
40
40
|
import "../context-types-fEeyXC1D.mjs";
|
|
@@ -48,7 +48,7 @@ import "../settings-Bx3wzDK_.mjs";
|
|
|
48
48
|
import "../briefing-BbpmZz_4.mjs";
|
|
49
49
|
import { t as ReviewPayloadBuilder } from "../review-payload-BuLgXTY6.mjs";
|
|
50
50
|
import "../review-requests-lVwh6U-G.mjs";
|
|
51
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
51
|
+
import { n as VERSION, t as COMMIT } from "../version-BIlVseq9.mjs";
|
|
52
52
|
import "../query-DQOB6OEA.mjs";
|
|
53
53
|
import "../zod-generator-3jqAzlTK.mjs";
|
|
54
54
|
import "../schema-DxDfwabF.mjs";
|
|
@@ -1811,6 +1811,7 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1811
1811
|
if (trustedPlugin && this.enabledPlugins.has(trustedPlugin.id)) {
|
|
1812
1812
|
const routeRegistry = new PluginRouteRegistry({
|
|
1813
1813
|
...this.pipelineFactoryOptions,
|
|
1814
|
+
getNativeExtensions: (name) => this.configuredPlugins.filter((plugin) => this.enabledPlugins.has(plugin.id) && Object.hasOwn(plugin.nativeExtensions ?? {}, name)).map((plugin) => plugin.nativeExtensions[name]),
|
|
1814
1815
|
db: this.db,
|
|
1815
1816
|
storage: this.storage ?? void 0,
|
|
1816
1817
|
emailPipeline: this.email ?? void 0,
|
|
@@ -21,7 +21,7 @@ import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
21
21
|
import "../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
22
22
|
import "../../../../../../byline-BfL607qj.mjs";
|
|
23
23
|
import "../../../../../../seo-Cbj0_Opd.mjs";
|
|
24
|
-
import "../../../../../../api-
|
|
24
|
+
import "../../../../../../api-CBL6bNU1.mjs";
|
|
25
25
|
import "../../../../../../dashboard-CdsvXt0T.mjs";
|
|
26
26
|
import { c as handlePluginGet, o as handlePluginDisable } from "../../../../../../briefing-32h1e5FV.mjs";
|
|
27
27
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -21,7 +21,7 @@ import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
21
21
|
import "../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
22
22
|
import "../../../../../../byline-BfL607qj.mjs";
|
|
23
23
|
import "../../../../../../seo-Cbj0_Opd.mjs";
|
|
24
|
-
import "../../../../../../api-
|
|
24
|
+
import "../../../../../../api-CBL6bNU1.mjs";
|
|
25
25
|
import "../../../../../../dashboard-CdsvXt0T.mjs";
|
|
26
26
|
import { c as handlePluginGet, s as handlePluginEnable } from "../../../../../../briefing-32h1e5FV.mjs";
|
|
27
27
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import "../../../../../../api-
|
|
22
|
+
import "../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import { c as handlePluginGet } from "../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -21,7 +21,7 @@ import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
21
21
|
import "../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
22
22
|
import "../../../../../../byline-BfL607qj.mjs";
|
|
23
23
|
import "../../../../../../seo-Cbj0_Opd.mjs";
|
|
24
|
-
import { a as handleMarketplaceUninstall } from "../../../../../../api-
|
|
24
|
+
import { a as handleMarketplaceUninstall } from "../../../../../../api-CBL6bNU1.mjs";
|
|
25
25
|
import "../../../../../../dashboard-CdsvXt0T.mjs";
|
|
26
26
|
import { l as handlePluginList } from "../../../../../../briefing-32h1e5FV.mjs";
|
|
27
27
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -21,7 +21,7 @@ import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
21
21
|
import "../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
22
22
|
import "../../../../../../byline-BfL607qj.mjs";
|
|
23
23
|
import "../../../../../../seo-Cbj0_Opd.mjs";
|
|
24
|
-
import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-
|
|
24
|
+
import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-CBL6bNU1.mjs";
|
|
25
25
|
import "../../../../../../dashboard-CdsvXt0T.mjs";
|
|
26
26
|
import "../../../../../../briefing-32h1e5FV.mjs";
|
|
27
27
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import "../../../../../api-
|
|
22
|
+
import "../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import { l as handlePluginList } from "../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-
|
|
22
|
+
import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -21,7 +21,7 @@ import "../../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
21
21
|
import "../../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
22
22
|
import "../../../../../../../byline-BfL607qj.mjs";
|
|
23
23
|
import "../../../../../../../seo-Cbj0_Opd.mjs";
|
|
24
|
-
import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-
|
|
24
|
+
import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-CBL6bNU1.mjs";
|
|
25
25
|
import "../../../../../../../dashboard-CdsvXt0T.mjs";
|
|
26
26
|
import "../../../../../../../briefing-32h1e5FV.mjs";
|
|
27
27
|
import "../../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { i as handleMarketplaceSearch } from "../../../../../../api-
|
|
22
|
+
import { i as handleMarketplaceSearch } from "../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { s as handleMarketplaceUpdateCheck } from "../../../../../api-
|
|
22
|
+
import { s as handleMarketplaceUpdateCheck } from "../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { l as handleThemeGetDetail } from "../../../../../../../api-
|
|
22
|
+
import { l as handleThemeGetDetail } from "../../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { u as handleThemeSearch } from "../../../../../../api-
|
|
22
|
+
import { u as handleThemeSearch } from "../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../../../../types-
|
|
1
|
+
import "../../../../../types-DB9weIZo.mjs";
|
|
2
2
|
import "../../../../../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../../../../../runner-CvwzNJHj.mjs";
|
|
4
4
|
import { b as WxrPost, r as TaxonomyImportPlan } from "../../../../../index-DXcPysP3.mjs";
|
|
5
5
|
import "../../../../../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../../../../../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../../../../../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../../../../../byline-fields-
|
|
8
|
+
import "../../../../../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../../../../../types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayHandlers, DinewayManifest } from "../../../../types.mjs";
|
|
11
11
|
import { APIRoute } from "astro";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../../../../types-
|
|
1
|
+
import "../../../../../types-DB9weIZo.mjs";
|
|
2
2
|
import "../../../../../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../../../../../runner-CvwzNJHj.mjs";
|
|
4
4
|
import "../../../../../index-DXcPysP3.mjs";
|
|
5
5
|
import "../../../../../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../../../../../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../../../../../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../../../../../byline-fields-
|
|
8
|
+
import "../../../../../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../../../../../types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayHandlers } from "../../../../types.mjs";
|
|
11
11
|
import { AttachmentInfo } from "./analyze.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../../../types-
|
|
1
|
+
import "../../../../../types-DB9weIZo.mjs";
|
|
2
2
|
import { t as Database } from "../../../../../types-B7Ifhtyz.mjs";
|
|
3
3
|
import { f as MediaProvider } from "../../../../../placeholder-0cGpMonY.mjs";
|
|
4
4
|
import "../../../../../runner-CvwzNJHj.mjs";
|
|
@@ -6,7 +6,7 @@ import "../../../../../index-DXcPysP3.mjs";
|
|
|
6
6
|
import "../../../../../types-BdsNqnHA.mjs";
|
|
7
7
|
import "../../../../../public-url-CbmE-u2t.mjs";
|
|
8
8
|
import "../../../../../validate-BRq01mTo.mjs";
|
|
9
|
-
import "../../../../../byline-fields-
|
|
9
|
+
import "../../../../../byline-fields-CexmiaFr.mjs";
|
|
10
10
|
import "../../../../../types-ZdWRfUsC.mjs";
|
|
11
11
|
import { DinewayHandlers } from "../../../../types.mjs";
|
|
12
12
|
import { Kysely } from "kysely";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../../../../types-
|
|
1
|
+
import "../../../../../types-DB9weIZo.mjs";
|
|
2
2
|
import "../../../../../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../../../../../runner-CvwzNJHj.mjs";
|
|
4
4
|
import { h as PluginMenu, m as PluginComment, t as fetchPluginOptions } from "../../../../../index-DXcPysP3.mjs";
|
|
5
5
|
import "../../../../../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../../../../../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../../../../../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../../../../../byline-fields-
|
|
8
|
+
import "../../../../../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import { f as NormalizedItem, s as ImportConfig, u as ImportResult } from "../../../../../types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayHandlers, DinewayManifest } from "../../../../types.mjs";
|
|
11
11
|
import { APIRoute } from "astro";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "../../../options-1dBRkoCl.mjs";
|
|
2
|
-
import { n as VERSION, t as COMMIT } from "../../../version-
|
|
2
|
+
import { n as VERSION, t as COMMIT } from "../../../version-BIlVseq9.mjs";
|
|
3
3
|
import { r as handleError } from "../../../error-BPA9T0AW.mjs";
|
|
4
4
|
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-DOo7QDRn.mjs";
|
|
5
5
|
import { t as getAuthMode } from "../../../mode-fm1eCVhz.mjs";
|
|
@@ -20,7 +20,7 @@ import "../../../public-discovery-CyDzK1-S.mjs";
|
|
|
20
20
|
import "../../../registry-Czz6avGn.mjs";
|
|
21
21
|
import "../../../settings-Bx3wzDK_.mjs";
|
|
22
22
|
import { t as ReviewPayloadBuilder } from "../../../review-payload-BuLgXTY6.mjs";
|
|
23
|
-
import { n as VERSION } from "../../../version-
|
|
23
|
+
import { n as VERSION } from "../../../version-BIlVseq9.mjs";
|
|
24
24
|
import "../../../query-DQOB6OEA.mjs";
|
|
25
25
|
import "../../../zod-generator-3jqAzlTK.mjs";
|
|
26
26
|
import "../../../schema-DxDfwabF.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../public-discovery-CyDzK1-S.mjs";
|
|
2
|
-
import { n as VERSION } from "../../../version-
|
|
2
|
+
import { n as VERSION } from "../../../version-BIlVseq9.mjs";
|
|
3
3
|
import { r as handleError } from "../../../error-BPA9T0AW.mjs";
|
|
4
4
|
import { $ as createMenuBody, $t as contentCompareResponseSchema, A as searchRebuildBody, At as fieldResponseSchema, B as updateSectionBody, Bt as mediaConfirmBody, C as userDetailSchema, Ct as collectionResponseSchema, D as usersListQuery, Dt as createFieldBody, E as userUpdateBody, Et as createCollectionBody, F as siteSettingsSchema, G as taxonomyListResponseSchema, Gt as mediaListResponseSchema, H as createTermBody, Ht as mediaExistingResponseSchema, I as createSectionBody, It as updateCollectionBody, J as termResponseSchema, Jt as mediaUpdateBody, K as termGetResponseSchema, L as sectionListResponseSchema, Lt as updateFieldBody, Mn as deleteResponseSchema, Mt as orphanRegisterBody, N as searchSuggestQuery, Nt as orphanedTableListResponseSchema, O as searchEnableBody, Ot as fieldListResponseSchema, P as settingsUpdateBody, Q as updateTermBody, Qt as contentAuthorsResponseSchema, R as sectionSchema, Rt as DEFAULT_MAX_UPLOAD_SIZE, S as allowedDomainUpdateBody, St as collectionListResponseSchema, T as userSchema, Tt as collectionWithFieldsResponseSchema, Vt as mediaConfirmResponseSchema, Wt as mediaListQuery, Xt as mediaUploadUrlResponseSchema, Yt as mediaUploadUrlBody, _ as widgetAreaSchema, _n as contentTrashQuery, _t as createCommentBody, a as notFoundPruneBody, b as widgetSchema, bn as trashedContentListResponseSchema, cn as contentReleaseReadinessQuery, ct as updateMenuBody, d as redirectsListQuery, dn as contentScheduleBody, dt as commentBulkBody, en as contentCreateBody, et as createMenuItemBody, f as updateRedirectBody, ft as commentBulkResponseSchema, g as updateWidgetBody, gn as contentTranslationsResponseSchema, gt as commentStatusBody, h as reorderWidgetsBody, ht as commentSchema, i as notFoundListResponseSchema, j as searchResponseSchema, k as searchQuery, kn as apiErrorSchema, kt as fieldReorderBody, l as redirectListResponseSchema, ln as contentReleaseReadinessResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mn as contentTermsBody, mt as commentListQuery, nn as contentListQuery, on as contentPublishBody, ot as menuWithItemsSchema, p as createWidgetAreaBody, pt as commentCountsResponseSchema, q as termListResponseSchema, qt as mediaResponseSchema, r as notFoundListQuery, rn as contentListResponseSchema, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentPublishResponseSchema, st as reorderMenuItemsBody, t as createRedirectBody, tn as contentItemSchema, tt as menuItemSchema, u as redirectSchema, un as contentResponseSchema, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vn as contentUpdateBody, w as userListResponseSchema, x as allowedDomainCreateBody, xt as collectionGetQuery, y as widgetAreaWithWidgetsSchema, yt as publicCommentListResponseSchema, z as sectionsListQuery, zn as successEnvelope } from "../../../redirects-C9pg6Dcg.mjs";
|
|
5
5
|
import "../../../status-BdZSXIP_.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-
|
|
22
|
+
import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-
|
|
22
|
+
import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { C as handleSchemaFieldReorder } from "../../../../../../../api-
|
|
22
|
+
import { C as handleSchemaFieldReorder } from "../../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-
|
|
22
|
+
import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-
|
|
22
|
+
import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { p as handleOrphanedTableRegister } from "../../../../../api-
|
|
22
|
+
import { p as handleOrphanedTableRegister } from "../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -19,7 +19,7 @@ import "../../../../../byline-registry-CF9nobxT.mjs";
|
|
|
19
19
|
import "../../../../../field-defs-cache-Cf3F5lHw.mjs";
|
|
20
20
|
import "../../../../../byline-BfL607qj.mjs";
|
|
21
21
|
import "../../../../../seo-Cbj0_Opd.mjs";
|
|
22
|
-
import { f as handleOrphanedTableList } from "../../../../../api-
|
|
22
|
+
import { f as handleOrphanedTableList } from "../../../../../api-CBL6bNU1.mjs";
|
|
23
23
|
import "../../../../../dashboard-CdsvXt0T.mjs";
|
|
24
24
|
import "../../../../../briefing-32h1e5FV.mjs";
|
|
25
25
|
import "../../../../../context-types-fEeyXC1D.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "../../../../options-1dBRkoCl.mjs";
|
|
2
|
-
import { n as VERSION } from "../../../../version-
|
|
2
|
+
import { n as VERSION } from "../../../../version-BIlVseq9.mjs";
|
|
3
3
|
import { t as getAuthMode } from "../../../../mode-fm1eCVhz.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/well-known/auth.ts
|
package/dist/astro/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ContentItem } from "../types-m37xNtUj.mjs";
|
|
2
|
-
import { B as PluginActor, E as HttpAccess, Eo as PluginMcpRegistry, F as PageMetadataContribution, Ht as PublicationAuthorizationService, Ka as MediaListResponse, M as PageFragmentContribution, Ms as MediaItem, Oo as DinewayConfig, So as SandboxRunner, Ws as Element, co as DinewayRuntime, do as ConfirmedContentPublicationResult, ec as ContentListResponse, fo as PublishConfirmedContentInput, go as HookPipeline, ho as EmailPipeline, kt as ResolvedPlugin, lo as SandboxedPluginEntry, mt as PluginRouteAuthorization, pt as PluginRouteApiTokenPolicy, qa as MediaResponse, tc as ContentResponse, uo as ConfirmedContentAuthorizer, wt as PublicPageContext } from "../types-
|
|
2
|
+
import { B as PluginActor, E as HttpAccess, Eo as PluginMcpRegistry, F as PageMetadataContribution, Ht as PublicationAuthorizationService, Ka as MediaListResponse, M as PageFragmentContribution, Ms as MediaItem, Oo as DinewayConfig, So as SandboxRunner, Ws as Element, co as DinewayRuntime, do as ConfirmedContentPublicationResult, ec as ContentListResponse, fo as PublishConfirmedContentInput, go as HookPipeline, ho as EmailPipeline, kt as ResolvedPlugin, lo as SandboxedPluginEntry, mt as PluginRouteAuthorization, pt as PluginRouteApiTokenPolicy, qa as MediaResponse, tc as ContentResponse, uo as ConfirmedContentAuthorizer, wt as PublicPageContext } from "../types-DB9weIZo.mjs";
|
|
3
3
|
import { t as Database } from "../types-B7Ifhtyz.mjs";
|
|
4
4
|
import { f as MediaProvider, p as MediaProviderCapabilities } from "../placeholder-0cGpMonY.mjs";
|
|
5
5
|
import "../runner-CvwzNJHj.mjs";
|
|
@@ -8,7 +8,7 @@ import "../types-BdsNqnHA.mjs";
|
|
|
8
8
|
import { d as Storage } from "../types-D8iukuuI.mjs";
|
|
9
9
|
import "../public-url-CbmE-u2t.mjs";
|
|
10
10
|
import "../validate-BRq01mTo.mjs";
|
|
11
|
-
import "../byline-fields-
|
|
11
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
12
12
|
import "../types-ZdWRfUsC.mjs";
|
|
13
13
|
import "../index.mjs";
|
|
14
14
|
import { Kysely } from "kysely";
|
|
@@ -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<
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -856,9 +856,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
856
856
|
string: "string";
|
|
857
857
|
number: "number";
|
|
858
858
|
boolean: "boolean";
|
|
859
|
+
file: "file";
|
|
859
860
|
json: "json";
|
|
860
861
|
url: "url";
|
|
861
|
-
file: "file";
|
|
862
862
|
slug: "slug";
|
|
863
863
|
image: "image";
|
|
864
864
|
datetime: "datetime";
|
|
@@ -914,9 +914,9 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
914
914
|
string: "string";
|
|
915
915
|
number: "number";
|
|
916
916
|
boolean: "boolean";
|
|
917
|
+
file: "file";
|
|
917
918
|
json: "json";
|
|
918
919
|
url: "url";
|
|
919
|
-
file: "file";
|
|
920
920
|
slug: "slug";
|
|
921
921
|
image: "image";
|
|
922
922
|
datetime: "datetime";
|
|
@@ -1008,9 +1008,9 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
1008
1008
|
string: "string";
|
|
1009
1009
|
number: "number";
|
|
1010
1010
|
boolean: "boolean";
|
|
1011
|
+
file: "file";
|
|
1011
1012
|
json: "json";
|
|
1012
1013
|
url: "url";
|
|
1013
|
-
file: "file";
|
|
1014
1014
|
slug: "slug";
|
|
1015
1015
|
image: "image";
|
|
1016
1016
|
datetime: "datetime";
|
|
@@ -1083,9 +1083,9 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
1083
1083
|
string: "string";
|
|
1084
1084
|
number: "number";
|
|
1085
1085
|
boolean: "boolean";
|
|
1086
|
+
file: "file";
|
|
1086
1087
|
json: "json";
|
|
1087
1088
|
url: "url";
|
|
1088
|
-
file: "file";
|
|
1089
1089
|
slug: "slug";
|
|
1090
1090
|
image: "image";
|
|
1091
1091
|
datetime: "datetime";
|
|
@@ -1142,9 +1142,9 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1142
1142
|
string: "string";
|
|
1143
1143
|
number: "number";
|
|
1144
1144
|
boolean: "boolean";
|
|
1145
|
+
file: "file";
|
|
1145
1146
|
json: "json";
|
|
1146
1147
|
url: "url";
|
|
1147
|
-
file: "file";
|
|
1148
1148
|
slug: "slug";
|
|
1149
1149
|
image: "image";
|
|
1150
1150
|
datetime: "datetime";
|
|
@@ -1179,9 +1179,9 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
1179
1179
|
string: "string";
|
|
1180
1180
|
number: "number";
|
|
1181
1181
|
boolean: "boolean";
|
|
1182
|
+
file: "file";
|
|
1182
1183
|
json: "json";
|
|
1183
1184
|
url: "url";
|
|
1184
|
-
file: "file";
|
|
1185
1185
|
slug: "slug";
|
|
1186
1186
|
image: "image";
|
|
1187
1187
|
datetime: "datetime";
|
|
@@ -1234,8 +1234,8 @@ declare const createReactionBody: z.ZodObject<{
|
|
|
1234
1234
|
}, z.core.$strip>;
|
|
1235
1235
|
declare const commentStatusBody: z.ZodObject<{
|
|
1236
1236
|
status: z.ZodEnum<{
|
|
1237
|
-
pending: "pending";
|
|
1238
1237
|
approved: "approved";
|
|
1238
|
+
pending: "pending";
|
|
1239
1239
|
spam: "spam";
|
|
1240
1240
|
trash: "trash";
|
|
1241
1241
|
}>;
|
|
@@ -1251,8 +1251,8 @@ declare const commentBulkBody: z.ZodObject<{
|
|
|
1251
1251
|
}, z.core.$strip>;
|
|
1252
1252
|
declare const commentListQuery: z.ZodObject<{
|
|
1253
1253
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1254
|
-
pending: "pending";
|
|
1255
1254
|
approved: "approved";
|
|
1255
|
+
pending: "pending";
|
|
1256
1256
|
spam: "spam";
|
|
1257
1257
|
trash: "trash";
|
|
1258
1258
|
}>>;
|
|
@@ -1287,8 +1287,8 @@ declare const commentSchema: z.ZodObject<{
|
|
|
1287
1287
|
authorEmail: z.ZodString;
|
|
1288
1288
|
body: z.ZodString;
|
|
1289
1289
|
status: z.ZodEnum<{
|
|
1290
|
-
pending: "pending";
|
|
1291
1290
|
approved: "approved";
|
|
1291
|
+
pending: "pending";
|
|
1292
1292
|
spam: "spam";
|
|
1293
1293
|
trash: "trash";
|
|
1294
1294
|
}>;
|
|
@@ -1320,8 +1320,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
|
1320
1320
|
authorEmail: z.ZodString;
|
|
1321
1321
|
body: z.ZodString;
|
|
1322
1322
|
status: z.ZodEnum<{
|
|
1323
|
-
pending: "pending";
|
|
1324
1323
|
approved: "approved";
|
|
1324
|
+
pending: "pending";
|
|
1325
1325
|
spam: "spam";
|
|
1326
1326
|
trash: "trash";
|
|
1327
1327
|
}>;
|
|
@@ -1461,8 +1461,8 @@ declare const siteBriefingQuery: z.ZodObject<{
|
|
|
1461
1461
|
//#region src/api/schemas/hitl-requests.d.ts
|
|
1462
1462
|
declare const hitlRequestListQuery: z.ZodObject<{
|
|
1463
1463
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1464
|
-
pending: "pending";
|
|
1465
1464
|
approved: "approved";
|
|
1465
|
+
pending: "pending";
|
|
1466
1466
|
rejected: "rejected";
|
|
1467
1467
|
}>>;
|
|
1468
1468
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1495,8 +1495,8 @@ declare const reviewRequestCreateBody: z.ZodObject<{
|
|
|
1495
1495
|
}, z.core.$strip>;
|
|
1496
1496
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1497
1497
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1498
|
-
pending: "pending";
|
|
1499
1498
|
approved: "approved";
|
|
1499
|
+
pending: "pending";
|
|
1500
1500
|
rejected: "rejected";
|
|
1501
1501
|
}>>;
|
|
1502
1502
|
collection: z.ZodOptional<z.ZodString>;
|
|
@@ -1544,7 +1544,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1544
1544
|
}, z.core.$strip>;
|
|
1545
1545
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1546
1546
|
email: z.ZodString;
|
|
1547
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1547
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
|
|
1548
1548
|
}, z.core.$strip>;
|
|
1549
1549
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1550
1550
|
token: z.ZodString;
|
|
@@ -1636,9 +1636,9 @@ declare const authMeActionBody: z.ZodObject<{
|
|
|
1636
1636
|
* from `referenceCollection` + `referenceId` (a translation_group id).
|
|
1637
1637
|
*/
|
|
1638
1638
|
declare const menuItemTypeEnum: z.ZodEnum<{
|
|
1639
|
+
custom: "custom";
|
|
1639
1640
|
collection: "collection";
|
|
1640
1641
|
taxonomy: "taxonomy";
|
|
1641
|
-
custom: "custom";
|
|
1642
1642
|
page: "page";
|
|
1643
1643
|
post: "post";
|
|
1644
1644
|
}>;
|
|
@@ -1653,9 +1653,9 @@ declare const updateMenuBody: z.ZodObject<{
|
|
|
1653
1653
|
}, z.core.$strict>;
|
|
1654
1654
|
declare const createMenuItemBody: z.ZodObject<{
|
|
1655
1655
|
type: z.ZodEnum<{
|
|
1656
|
+
custom: "custom";
|
|
1656
1657
|
collection: "collection";
|
|
1657
1658
|
taxonomy: "taxonomy";
|
|
1658
|
-
custom: "custom";
|
|
1659
1659
|
page: "page";
|
|
1660
1660
|
post: "post";
|
|
1661
1661
|
}>;
|
|
@@ -1870,8 +1870,8 @@ declare const termGetResponseSchema: z.ZodObject<{
|
|
|
1870
1870
|
//#region src/api/schemas/sections.d.ts
|
|
1871
1871
|
declare const sectionsListQuery: z.ZodObject<{
|
|
1872
1872
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1873
|
-
theme: "theme";
|
|
1874
1873
|
user: "user";
|
|
1874
|
+
theme: "theme";
|
|
1875
1875
|
import: "import";
|
|
1876
1876
|
}>>;
|
|
1877
1877
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -2096,15 +2096,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
2096
2096
|
declare const userUpdateBody: z.ZodObject<{
|
|
2097
2097
|
name: z.ZodOptional<z.ZodString>;
|
|
2098
2098
|
email: z.ZodOptional<z.ZodString>;
|
|
2099
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2099
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
|
|
2100
2100
|
}, z.core.$strip>;
|
|
2101
2101
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
2102
2102
|
domain: z.ZodString;
|
|
2103
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2103
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>;
|
|
2104
2104
|
}, z.core.$strip>;
|
|
2105
2105
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
2106
2106
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2107
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2107
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
|
|
2108
2108
|
}, z.core.$strip>;
|
|
2109
2109
|
declare const userSchema: z.ZodObject<{
|
|
2110
2110
|
id: z.ZodString;
|
package/dist/cli/index.mjs
CHANGED
|
@@ -24,7 +24,7 @@ import "../fts-manager-Bv4U_Qw0.mjs";
|
|
|
24
24
|
import "../public-discovery-CyDzK1-S.mjs";
|
|
25
25
|
import { n as SchemaRegistry } from "../registry-Czz6avGn.mjs";
|
|
26
26
|
import "../settings-Bx3wzDK_.mjs";
|
|
27
|
-
import { n as VERSION } from "../version-
|
|
27
|
+
import { n as VERSION } from "../version-BIlVseq9.mjs";
|
|
28
28
|
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-MqvM60s_.mjs";
|
|
29
29
|
import { t as IntegrationCredentialStore } from "../store-BtCoeap4.mjs";
|
|
30
30
|
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-owbEUmv1.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-DB9weIZo.mjs";
|
|
2
2
|
import "../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../runner-CvwzNJHj.mjs";
|
|
4
4
|
import "../index-DXcPysP3.mjs";
|
|
5
5
|
import "../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../byline-fields-
|
|
8
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
11
11
|
import { SubCommandsDef } from "citty";
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Jt as PublicationReadinessResult, Ut as PublicationPolicyOverride, Xt as PublicationReceipt } from "../types-
|
|
1
|
+
import { Jt as PublicationReadinessResult, Ut as PublicationPolicyOverride, Xt as PublicationReceipt } from "../types-DB9weIZo.mjs";
|
|
2
2
|
import "../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../runner-CvwzNJHj.mjs";
|
|
4
4
|
import "../index-DXcPysP3.mjs";
|
|
5
5
|
import "../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../byline-fields-
|
|
8
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../types-ZdWRfUsC.mjs";
|
|
10
10
|
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-SoRbXDM4.mjs";
|
|
11
11
|
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-Cu4n_8zI.mjs";
|
|
@@ -838,6 +838,7 @@ function createUserAccess(db) {
|
|
|
838
838
|
* Factory for creating plugin contexts
|
|
839
839
|
*/
|
|
840
840
|
var PluginContextFactory = class {
|
|
841
|
+
getNativeExtensions;
|
|
841
842
|
resolveDb;
|
|
842
843
|
storage;
|
|
843
844
|
getUploadUrl;
|
|
@@ -847,6 +848,7 @@ var PluginContextFactory = class {
|
|
|
847
848
|
emailPipeline;
|
|
848
849
|
warnedMissingMediaBackend = /* @__PURE__ */ new Set();
|
|
849
850
|
constructor(options) {
|
|
851
|
+
this.getNativeExtensions = options.getNativeExtensions;
|
|
850
852
|
const fixedDb = options.db;
|
|
851
853
|
this.resolveDb = options.getDb ?? (() => fixedDb);
|
|
852
854
|
this.storage = options.storage;
|
|
@@ -904,6 +906,7 @@ var PluginContextFactory = class {
|
|
|
904
906
|
log,
|
|
905
907
|
site: this.site,
|
|
906
908
|
url: this.urlHelper,
|
|
909
|
+
getNativeExtensions: this.getNativeExtensions,
|
|
907
910
|
users,
|
|
908
911
|
cron,
|
|
909
912
|
email
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as UpdateCollectionInput, a as ColumnType, d as FieldType, f as FieldValidation, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as PublicDiscoveryRules, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-Cd_2Jeqp.mjs";
|
|
2
2
|
import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, m as encodeCursor, n as ContentBylineCredit, o as ContentSeoInput, p as decodeCursor, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-m37xNtUj.mjs";
|
|
3
|
-
import { $ as PluginMcpCommandTool, $a as RevisionListResponse, $i as getTranslations, $n as GetCommentsOptions, $o as handleContentUpdate, $r as PluginSecretStore, $s as ApiContext, $t as currentTimestamp, A as MediaUploadEvent, Aa as PortableTextTextBlock, Ai as invalidateCommentObjectCache, An as getTaxonomyDef, Ar as AssignmentAccessContext, As as RevisionRepository, At as ResolvedPluginHooks, B as PluginActor, Ba as SectionSource, Bi as CollectionResult, Bn as getByline, Bo as handleContentDiscardDraft, Br as BuiltContentReleasePayload, Bt as StoredComment, C as FieldWidgetConfig, Ca as prosemirrorToPortableText, Ci as CacheNamespace, Cn as UpdateWidgetInput, Co as SandboxRunnerFactory, Cr as GeneratePreviewTokenOptions, Cs as SiteActivity, Ct as PortableTextBlockField, D as KVAccess, Da as PortableTextLinkMark, Di as contentNamespaces, Dn as WidgetType, Do as PluginMcpTargetAuthorizer, Dr as generatePreviewToken, Ds as SiteActivitySourceType, Dt as PublicSchemaNode, E as HttpAccess, Ea as PortableTextImageBlock, Ei as contentNamespace, En as WidgetComponentDef, Er as VerifyPreviewTokenResult, Es as SiteActivityResultStatus, Et as PublicPageSchema, F as PageMetadataContribution, Fa as getSection, Fi as isObjectCacheActive, Fn as CreateTermInput, Fo as handleContentCompare, Fr as HandoffResumeResult, Fs as CollectionFilter$1, Ft as StandardPluginDefinition, G as PluginAuthMethod, Ga as SchemaRegistry, Gi as InferCollectionData, Gn as CreateMenuInput, Go as handleContentListTrashed, Gr as createNodeSandboxRunner, Gt as PublicationReadinessPolicyBlocker, H as PluginAdminConfig, Ha as validateContent, Hi as DinewayCollections, Hn as getEntriesByByline, Ho as handleContentGet, Hr as PublicationReleasePolicyDisposition, Hs as DatabaseConfig, I as PageMetadataEvent, Ia as getSections, Ii as AfterCallback, In as TaxonomyDef, Io as handleContentCountScheduled, Ir as HandoffSnapshotStore, Is as EntryData, It as StandardRouteEntry, J as PluginDefinition, Ja as handleMediaCreate, Ji as TranslationSummary, Jn as MenuItem, Jo as handleContentRestore, Jr as createNoopSandboxRunner, K as PluginCapability, Ka as MediaListResponse, Ki as ResolvePathResult, Kn as CreateMenuItemInput, Ko as handleContentPermanentDelete, Kr as NoopSandboxRunner, Kt as PublicationReadinessPolicyFinding, L as PageMetadataHandler, La as CreateSectionInput, Li as after, Ln as TaxonomyTerm, Lo as handleContentCountTrashed, Lr as ResumeHandoffSnapshotInput, Ls as EntryFilter, Lt as StandardRouteHandler, M as PageFragmentContribution, Ma as ProseMirrorDocument, Mi as invalidateObjectCache, Mn as getTaxonomyTerms, Mr as AssignmentListInput, Ms as MediaItem, Mt as RouteContext, N as PageFragmentEvent, Na as ProseMirrorMark, Ni as invalidateSchemaObjectCache, Nn as getTerm, Nr as AssignmentService, Ns as MediaRepository, Nt as StandardHookEntry, O as LogAccess, Oa as PortableTextMarkDef, Oi as invalidateBylineObjectCache, On as getEntriesByTerm, Or as parseContentId, Os as SiteActivityTimelineQuery, Ot as ResolvedHook, P as PageFragmentHandler, Pa as ProseMirrorNode, Pi as invalidateTaxonomyObjectCache, Pn as getTermsForEntries, Po as handleContentAuthors, Pr as CreateWorkflowAssignmentInput, Ps as ContentRepository, Pt as StandardHookHandler, Q as PluginMcpCommandPreview, Qa as handleMediaUpdate, Qi as getEditMeta, Qn as UpdateMenuItemInput, Qo as handleContentUnschedule, Qr as PluginSecretStatus, Qt as PublicationReleasePreparationTarget, Ra as GetSectionsOptions, Ri as CacheHint, Rn as TaxonomyTermRow, Ro as handleContentCreate, Rr as CreateHandoffSnapshotInput, Rs as WhereRange, Rt as StorageCollection, S as EmailMessage, Sa as portableTextToProsemirror, Si as verifyPreviewSignature, Sn as ReorderWidgetsInput, So as SandboxRunner, Sr as getPreviewUrl, Ss as CreateSiteActivityInput, St as PortableTextBlockConfig, T as HookName, Ta as PortableTextHtmlBlock, Ti as cachedQuery, Tn as WidgetArea, To as SerializedRequest, Tr as VerifyPreviewTokenOptions, Ts as SiteActivityRepository, Tt as PublicPageImage, U as PluginAdminExports, Ua as getCollectionInfo, Ui as EditFieldMeta, Un as getMenu, Uo as handleContentGetIncludingTrashed, Ur as buildStableActionHash, Us as DinewayDatabaseError, Ut as PublicationPolicyOverride, V as PluginActorType, Va as UpdateSectionInput, Vi as ContentEntry, Vn as getBylineBySlug, Vo as handleContentDuplicate, Vr as PublicationReleasePolicyContribution, Vs as getDb, Vt as isStandardPluginDefinition, W as PluginAdminPage, Wa as SchemaError, Wi as EntryResult, Wn as getMenus, Wo as handleContentList, Wr as NodeSandboxRunner, Wt as PublicationReadinessBlocker, X as PluginManifest, Xa as handleMediaGet, Xi as getDinewayCollection, Xn as ReorderMenuItemsInput, Xo as handleContentTranslations, Xr as createPluginManager, Y as PluginHooks, Ya as handleMediaDelete, Yi as TranslationsResult, Yn as MenuItemType, Yo as handleContentSchedule, Yr as PluginManager, Yt as PublicationReadinessWarning, Z as PluginMcpAuthorization, Za as handleMediaList, Zi as getDinewayEntry, Zn as UpdateMenuInput, Zo as handleContentUnpublish, Zr as createReviewedPluginMcpCommandExecutor, Zt as PublicationReleasePolicy, _ as EmailAfterSendHandler, _a as checkRateLimit, _i as PreviewSidecarSignature, _n as getWidgetAreas, _o as HookResult, _r as isBlockedInPreview, _s as AssignmentPriority, _t as PluginRouteTargetAuthorizationRequest, a as CommentAfterModerateEvent, aa as createNoop, ai as FilePreviewMiddlewareConfig, an as searchCollection, ao as SiteBriefing, ar as getSiteSetting, as as FileValue, at as PluginMcpResource, b as EmailDeliverEvent, ba as computeContentHash, bi as parsePreviewSignatureHeader, bn as CreateWidgetInput, bo as SandboxEmailSendCallback, br as GetPreviewUrlOptions, bs as CreateAssignmentInput, bt as PluginStorageConfig, c as CommentBeforeCreateHandler, ca as GuestAccessTokenConfigurationError, ci as FileSessionDatabaseFactoryOptions, cn as CollectionSearchOptions, cr as PreviewToolbarConfig, cs as ContentReference, ct as PluginMcpRiskFactor, d as ContentAccess, da as VerifyGuestAccessTokenOptions, di as SessionDatabaseHandle, dn as SearchResponse, do as ConfirmedContentPublicationResult, dr as ApplySnapshotToDatabaseOptions, ds as RelationRepository, dt as PluginMigration, ea as resolveDinewayPath, ec as ContentListResponse, ei as PluginSecretStoreOptions, en as extractPlainText, eo as RevisionResponse, er as GetCommentsResult, es as portableText, et as PluginMcpConfig, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenResult, fi as SessionDatabaseInfo, fn as SearchResult, fo as PublishConfirmedContentInput, fr as applySnapshotToDatabase, fs as UpdateRelationInput, ft as PluginRoute, g as EmailAfterSendEvent, ga as RateLimitResult, gi as PreviewSidecarClient, gn as getWidgetArea, go as HookPipeline, gr as renderPreviewLoadingPage, gs as AssignmentListQuery, gt as PluginRouteMethod, h as EmailAccess, ha as verifyGuestAccessToken, hi as SessionOpenOrCreateOptions, hn as Suggestion, hr as Snapshot, hs as AssignmentActorType, ht as PluginRouteBodyMode, i as CommentAfterCreateHandler, ia as createEditable, ic as ManifestResponse, ii as definePlugin, in as search, io as generateManifest, ir as getPluginSettings, is as FieldUIHints, it as PluginMcpQueryTool, j as ModerationDecision, ja as PortableTextUnknownBlock, ji as invalidateMenuObjectCache, jn as getTaxonomyDefs, jr as AssignmentActionInput, js as CreateMediaInput, jt as ResolvedPluginMcpConfig, k as MediaAccess, ka as PortableTextSpan, ki as invalidateCollectionCache, kn as getEntryTerms, ko as PluginDescriptor, kr as verifyPreviewToken, kt as ResolvedPlugin, l as CommentModerateEvent, la as IssueGuestAccessTokenOptions, li as SessionCleanupResult, ln as SearchConfig, lr as renderPreviewToolbar, ls as CreateRelationInput, lt as PluginMcpRiskLevel, m as ContentPublishStateChangeEvent, ma as issueGuestAccessToken, mi as SessionOpenOptions, mn as SuggestOptions, mo as PluginRouteError, mr as getAppliedSnapshotMeta, ms as AssignmentActorRef, mt as PluginRouteAuthorization, n as CollectionCommentSettings, na as EditProxy, nc as FieldDescriptor, ni as pluginManifestSchema, nn as getSearchStats, no as handleRevisionList, nr as getComments, ns as image, nt as PluginMcpPiiClass, o as CommentAfterModerateHandler, oa as GuestAccessExpectedScope, oi as createFilePreviewMiddleware, on as searchWithDb, oo as SiteBriefingAssembler, or as getSiteSettings, os as ImageValue, ot as PluginMcpResourceContent, p as ContentHookEvent, pa as hashGuestAccessToken, pi as SessionDatabaseLimitError, pn as SearchStats, pr as dropSessionDatabaseTables, ps as Assignment, q as PluginContext, qa as MediaResponse, qi as SelectedCollectionData, qn as Menu, qo as handleContentPublish, qr as SandboxNotAvailableError, qt as PublicationReadinessPolicyTarget, r as CommentAfterCreateEvent, ra as FieldAnnotation, rc as ListResponse, ri as runPluginMigrations, rn as getSuggestions, ro as handleRevisionRestore, rr as getPluginSetting, rs as FieldDefinition, rt as PluginMcpPiiPolicy, s as CommentBeforeCreateEvent, sa as GuestAccessTokenClaims, si as FileSessionDatabaseFactory, sn as FTSManager, so as SiteBriefingContextEntry, sr as setSiteSettings, ss as PortableTextBlock, st as PluginMcpReversibility, t as BreadcrumbItem, ta as CMSAnnotation, tc as ContentResponse, ti as ValidatedPluginManifest, tn as extractSearchableFields, to as handleRevisionGet, tr as getCommentCount, ts as reference, tt as PluginMcpExecutionContext, u as CommentModerateHandler, ua as IssuedGuestAccessToken, ui as SessionDatabaseFactory, un as SearchOptions, uo as ConfirmedContentAuthorizer, ur as AppliedSnapshotMeta, us as Relation, ut as PluginMcpTool, v as EmailBeforeSendEvent, va as isSafeHref, vi as buildPreviewSignatureHeader, vn as getWidgetComponents, vo as createHookPipeline, vr as getPreviewToken, vs as AssignmentRepository, vt as PluginRouteTargetAuthorizer, w as HookConfig, wa as PortableTextCodeBlock, wi as CachedQueryOptions, wn as Widget, wo as SandboxedPlugin, wr as PreviewTokenPayload, ws as SiteActivityActorType, wt as PublicPageContext, x as EmailDeliverHandler, xa as hashString, xi as signPreviewUrl, xn as PropDef, xo as SandboxOptions, xr as buildPreviewUrl, xs as MarkAssignmentsOverdueInput, xt as PluginTargetScope, y as EmailBeforeSendHandler, ya as sanitizeHref, yi as defaultPreviewSidecarClient, yn as CreateWidgetAreaInput, yo as SandboxEmailMessage, yr as isPreviewRequest, ys as AssignmentStatus, yt as PluginRouteTargetContext, z as PagePlacement, za as Section, zi as CollectionFilter, zn as UpdateTermInput, zo as handleContentDelete, zr as HandoffSnapshot, zs as WhereValue } from "./types-30cGytTh.mjs";
|
|
3
|
+
import { $ as PluginMcpCommandTool, $a as RevisionListResponse, $i as getTranslations, $n as GetCommentsOptions, $o as handleContentUpdate, $r as PluginSecretStore, $s as ApiContext, $t as currentTimestamp, A as MediaUploadEvent, Aa as PortableTextTextBlock, Ai as invalidateCommentObjectCache, An as getTaxonomyDef, Ar as AssignmentAccessContext, As as RevisionRepository, At as ResolvedPluginHooks, B as PluginActor, Ba as SectionSource, Bi as CollectionResult, Bn as getByline, Bo as handleContentDiscardDraft, Br as BuiltContentReleasePayload, Bt as StoredComment, C as FieldWidgetConfig, Ca as prosemirrorToPortableText, Ci as CacheNamespace, Cn as UpdateWidgetInput, Co as SandboxRunnerFactory, Cr as GeneratePreviewTokenOptions, Cs as SiteActivity, Ct as PortableTextBlockField, D as KVAccess, Da as PortableTextLinkMark, Di as contentNamespaces, Dn as WidgetType, Do as PluginMcpTargetAuthorizer, Dr as generatePreviewToken, Ds as SiteActivitySourceType, Dt as PublicSchemaNode, E as HttpAccess, Ea as PortableTextImageBlock, Ei as contentNamespace, En as WidgetComponentDef, Er as VerifyPreviewTokenResult, Es as SiteActivityResultStatus, Et as PublicPageSchema, F as PageMetadataContribution, Fa as getSection, Fi as isObjectCacheActive, Fn as CreateTermInput, Fo as handleContentCompare, Fr as HandoffResumeResult, Fs as CollectionFilter$1, Ft as StandardPluginDefinition, G as PluginAuthMethod, Ga as SchemaRegistry, Gi as InferCollectionData, Gn as CreateMenuInput, Go as handleContentListTrashed, Gr as createNodeSandboxRunner, Gt as PublicationReadinessPolicyBlocker, H as PluginAdminConfig, Ha as validateContent, Hi as DinewayCollections, Hn as getEntriesByByline, Ho as handleContentGet, Hr as PublicationReleasePolicyDisposition, Hs as DatabaseConfig, I as PageMetadataEvent, Ia as getSections, Ii as AfterCallback, In as TaxonomyDef, Io as handleContentCountScheduled, Ir as HandoffSnapshotStore, Is as EntryData, It as StandardRouteEntry, J as PluginDefinition, Ja as handleMediaCreate, Ji as TranslationSummary, Jn as MenuItem, Jo as handleContentRestore, Jr as createNoopSandboxRunner, K as PluginCapability, Ka as MediaListResponse, Ki as ResolvePathResult, Kn as CreateMenuItemInput, Ko as handleContentPermanentDelete, Kr as NoopSandboxRunner, Kt as PublicationReadinessPolicyFinding, L as PageMetadataHandler, La as CreateSectionInput, Li as after, Ln as TaxonomyTerm, Lo as handleContentCountTrashed, Lr as ResumeHandoffSnapshotInput, Ls as EntryFilter, Lt as StandardRouteHandler, M as PageFragmentContribution, Ma as ProseMirrorDocument, Mi as invalidateObjectCache, Mn as getTaxonomyTerms, Mr as AssignmentListInput, Ms as MediaItem, Mt as RouteContext, N as PageFragmentEvent, Na as ProseMirrorMark, Ni as invalidateSchemaObjectCache, Nn as getTerm, Nr as AssignmentService, Ns as MediaRepository, Nt as StandardHookEntry, O as LogAccess, Oa as PortableTextMarkDef, Oi as invalidateBylineObjectCache, On as getEntriesByTerm, Or as parseContentId, Os as SiteActivityTimelineQuery, Ot as ResolvedHook, P as PageFragmentHandler, Pa as ProseMirrorNode, Pi as invalidateTaxonomyObjectCache, Pn as getTermsForEntries, Po as handleContentAuthors, Pr as CreateWorkflowAssignmentInput, Ps as ContentRepository, Pt as StandardHookHandler, Q as PluginMcpCommandPreview, Qa as handleMediaUpdate, Qi as getEditMeta, Qn as UpdateMenuItemInput, Qo as handleContentUnschedule, Qr as PluginSecretStatus, Qt as PublicationReleasePreparationTarget, Ra as GetSectionsOptions, Ri as CacheHint, Rn as TaxonomyTermRow, Ro as handleContentCreate, Rr as CreateHandoffSnapshotInput, Rs as WhereRange, Rt as StorageCollection, S as EmailMessage, Sa as portableTextToProsemirror, Si as verifyPreviewSignature, Sn as ReorderWidgetsInput, So as SandboxRunner, Sr as getPreviewUrl, Ss as CreateSiteActivityInput, St as PortableTextBlockConfig, T as HookName, Ta as PortableTextHtmlBlock, Ti as cachedQuery, Tn as WidgetArea, To as SerializedRequest, Tr as VerifyPreviewTokenOptions, Ts as SiteActivityRepository, Tt as PublicPageImage, U as PluginAdminExports, Ua as getCollectionInfo, Ui as EditFieldMeta, Un as getMenu, Uo as handleContentGetIncludingTrashed, Ur as buildStableActionHash, Us as DinewayDatabaseError, Ut as PublicationPolicyOverride, V as PluginActorType, Va as UpdateSectionInput, Vi as ContentEntry, Vn as getBylineBySlug, Vo as handleContentDuplicate, Vr as PublicationReleasePolicyContribution, Vs as getDb, Vt as isStandardPluginDefinition, W as PluginAdminPage, Wa as SchemaError, Wi as EntryResult, Wn as getMenus, Wo as handleContentList, Wr as NodeSandboxRunner, Wt as PublicationReadinessBlocker, X as PluginManifest, Xa as handleMediaGet, Xi as getDinewayCollection, Xn as ReorderMenuItemsInput, Xo as handleContentTranslations, Xr as createPluginManager, Y as PluginHooks, Ya as handleMediaDelete, Yi as TranslationsResult, Yn as MenuItemType, Yo as handleContentSchedule, Yr as PluginManager, Yt as PublicationReadinessWarning, Z as PluginMcpAuthorization, Za as handleMediaList, Zi as getDinewayEntry, Zn as UpdateMenuInput, Zo as handleContentUnpublish, Zr as createReviewedPluginMcpCommandExecutor, Zt as PublicationReleasePolicy, _ as EmailAfterSendHandler, _a as checkRateLimit, _i as PreviewSidecarSignature, _n as getWidgetAreas, _o as HookResult, _r as isBlockedInPreview, _s as AssignmentPriority, _t as PluginRouteTargetAuthorizationRequest, a as CommentAfterModerateEvent, aa as createNoop, ai as FilePreviewMiddlewareConfig, an as searchCollection, ao as SiteBriefing, ar as getSiteSetting, as as FileValue, at as PluginMcpResource, b as EmailDeliverEvent, ba as computeContentHash, bi as parsePreviewSignatureHeader, bn as CreateWidgetInput, bo as SandboxEmailSendCallback, br as GetPreviewUrlOptions, bs as CreateAssignmentInput, bt as PluginStorageConfig, c as CommentBeforeCreateHandler, ca as GuestAccessTokenConfigurationError, ci as FileSessionDatabaseFactoryOptions, cn as CollectionSearchOptions, cr as PreviewToolbarConfig, cs as ContentReference, ct as PluginMcpRiskFactor, d as ContentAccess, da as VerifyGuestAccessTokenOptions, di as SessionDatabaseHandle, dn as SearchResponse, do as ConfirmedContentPublicationResult, dr as ApplySnapshotToDatabaseOptions, ds as RelationRepository, dt as PluginMigration, ea as resolveDinewayPath, ec as ContentListResponse, ei as PluginSecretStoreOptions, en as extractPlainText, eo as RevisionResponse, er as GetCommentsResult, es as portableText, et as PluginMcpConfig, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenResult, fi as SessionDatabaseInfo, fn as SearchResult, fo as PublishConfirmedContentInput, fr as applySnapshotToDatabase, fs as UpdateRelationInput, ft as PluginRoute, g as EmailAfterSendEvent, ga as RateLimitResult, gi as PreviewSidecarClient, gn as getWidgetArea, go as HookPipeline, gr as renderPreviewLoadingPage, gs as AssignmentListQuery, gt as PluginRouteMethod, h as EmailAccess, ha as verifyGuestAccessToken, hi as SessionOpenOrCreateOptions, hn as Suggestion, hr as Snapshot, hs as AssignmentActorType, ht as PluginRouteBodyMode, i as CommentAfterCreateHandler, ia as createEditable, ic as ManifestResponse, ii as definePlugin, in as search, io as generateManifest, ir as getPluginSettings, is as FieldUIHints, it as PluginMcpQueryTool, j as ModerationDecision, ja as PortableTextUnknownBlock, ji as invalidateMenuObjectCache, jn as getTaxonomyDefs, jr as AssignmentActionInput, js as CreateMediaInput, jt as ResolvedPluginMcpConfig, k as MediaAccess, ka as PortableTextSpan, ki as invalidateCollectionCache, kn as getEntryTerms, ko as PluginDescriptor, kr as verifyPreviewToken, kt as ResolvedPlugin, l as CommentModerateEvent, la as IssueGuestAccessTokenOptions, li as SessionCleanupResult, ln as SearchConfig, lr as renderPreviewToolbar, ls as CreateRelationInput, lt as PluginMcpRiskLevel, m as ContentPublishStateChangeEvent, ma as issueGuestAccessToken, mi as SessionOpenOptions, mn as SuggestOptions, mo as PluginRouteError, mr as getAppliedSnapshotMeta, ms as AssignmentActorRef, mt as PluginRouteAuthorization, n as CollectionCommentSettings, na as EditProxy, nc as FieldDescriptor, ni as pluginManifestSchema, nn as getSearchStats, no as handleRevisionList, nr as getComments, ns as image, nt as PluginMcpPiiClass, o as CommentAfterModerateHandler, oa as GuestAccessExpectedScope, oi as createFilePreviewMiddleware, on as searchWithDb, oo as SiteBriefingAssembler, or as getSiteSettings, os as ImageValue, ot as PluginMcpResourceContent, p as ContentHookEvent, pa as hashGuestAccessToken, pi as SessionDatabaseLimitError, pn as SearchStats, pr as dropSessionDatabaseTables, ps as Assignment, q as PluginContext, qa as MediaResponse, qi as SelectedCollectionData, qn as Menu, qo as handleContentPublish, qr as SandboxNotAvailableError, qt as PublicationReadinessPolicyTarget, r as CommentAfterCreateEvent, ra as FieldAnnotation, rc as ListResponse, ri as runPluginMigrations, rn as getSuggestions, ro as handleRevisionRestore, rr as getPluginSetting, rs as FieldDefinition, rt as PluginMcpPiiPolicy, s as CommentBeforeCreateEvent, sa as GuestAccessTokenClaims, si as FileSessionDatabaseFactory, sn as FTSManager, so as SiteBriefingContextEntry, sr as setSiteSettings, ss as PortableTextBlock, st as PluginMcpReversibility, t as BreadcrumbItem, ta as CMSAnnotation, tc as ContentResponse, ti as ValidatedPluginManifest, tn as extractSearchableFields, to as handleRevisionGet, tr as getCommentCount, ts as reference, tt as PluginMcpExecutionContext, u as CommentModerateHandler, ua as IssuedGuestAccessToken, ui as SessionDatabaseFactory, un as SearchOptions, uo as ConfirmedContentAuthorizer, ur as AppliedSnapshotMeta, us as Relation, ut as PluginMcpTool, v as EmailBeforeSendEvent, va as isSafeHref, vi as buildPreviewSignatureHeader, vn as getWidgetComponents, vo as createHookPipeline, vr as getPreviewToken, vs as AssignmentRepository, vt as PluginRouteTargetAuthorizer, w as HookConfig, wa as PortableTextCodeBlock, wi as CachedQueryOptions, wn as Widget, wo as SandboxedPlugin, wr as PreviewTokenPayload, ws as SiteActivityActorType, wt as PublicPageContext, x as EmailDeliverHandler, xa as hashString, xi as signPreviewUrl, xn as PropDef, xo as SandboxOptions, xr as buildPreviewUrl, xs as MarkAssignmentsOverdueInput, xt as PluginTargetScope, y as EmailBeforeSendHandler, ya as sanitizeHref, yi as defaultPreviewSidecarClient, yn as CreateWidgetAreaInput, yo as SandboxEmailMessage, yr as isPreviewRequest, ys as AssignmentStatus, yt as PluginRouteTargetContext, z as PagePlacement, za as Section, zi as CollectionFilter, zn as UpdateTermInput, zo as handleContentDelete, zr as HandoffSnapshot, zs as WhereValue } from "./types-DB9weIZo.mjs";
|
|
4
4
|
import { $ as RestaurantReservationExperienceTable, $t as VenuePaymentStatus, A as RestaurantOperatingSettingsTable, At as VenueAvailabilityRuleTable, B as RestaurantPaymentFlow, Bt as VenueLocationTable, C as RestaurantMenuOverrideTable, Ct as RestaurantSpecialHoursTable, D as RestaurantModifierGroupTable, Dt as RestaurantZoneTable, E as RestaurantMenuTable, Et as RestaurantTaxMode, F as RestaurantOrderSource, Ft as VenueCancellationPolicyTierTable, G as RestaurantPriorityAlertTable, Gt as VenueOrderStatusHistoryTable, H as RestaurantPaymentTable, Ht as VenueNotificationSettingsTable, I as RestaurantOrderStatus, It as VenueConversationReadTable, J as RestaurantReservationAddonTable, Jt as VenuePaymentAllocationStatus, K as RestaurantRefundTable, Kt as VenueOrderTable, L as RestaurantOrderStatusHistoryTable, Lt as VenueConversationTable, M as RestaurantOrderItemTable, Mt as VenueBookingMode, N as RestaurantOrderSequenceTable, Nt as VenueBookingPolicyTable, O as RestaurantModifierOptionTable, Ot as UserTable, P as RestaurantOrderSnapshotTable, Pt as VenueCancellationPolicyTable, Q as RestaurantReservationExperienceIncludedAddonTable, Qt as VenuePaymentRecordStatus, R as RestaurantOrderTable, Rt as VenueGuestAccessTable, S as RestaurantMenuLocationAssignmentTable, St as RestaurantServiceScope, T as RestaurantMenuSectionTable, Tt as RestaurantTableTable, U as RestaurantPriorityAlertDeliveryTable, Ut as VenueOrderCancellationSnapshotTable, V as RestaurantPaymentStatus, Vt as VenueMessageTable, W as RestaurantPriorityAlertOpportunityTable, Wt as VenueOrderStatus, X as RestaurantReservationDemandSettingsTable, Xt as VenuePaymentCollection, Y as RestaurantReservationBlockTable, Yt as VenuePaymentAllocationTable, Z as RestaurantReservationExperienceAddonCategoryTable, Zt as VenuePaymentEventTable, _ as RestaurantLocationMembershipTable, _t as RestaurantReservationRequestTableAssignmentTable, a as RestaurantCartHoldTable, an as VenueRatePlanTable, at as RestaurantReservationHoldTable, b as RestaurantMenuItemTable, bt as RestaurantReservationTable, c as RestaurantDeliveryZoneTable, cn as VenueReviewInvitationTable, ct as RestaurantReservationOfferTable, d as RestaurantFulfilmentType, dn as VenueSpaceLayoutTable, dt as RestaurantReservationPromotionOperationTable, en as VenuePaymentTable, et as RestaurantReservationGiftCardAllocationTable, f as RestaurantGiftCardLedgerEntryTable, fn as VenueSpaceTable, ft as RestaurantReservationPromotionTable, g as RestaurantHoursTable, gt as RestaurantReservationRequestTable, h as RestaurantHoursOverrideTable, ht as RestaurantReservationQuoteTable, i as RestaurantCapacityOverrideTable, in as VenueQuoteTable, it as RestaurantReservationHoldCommercialSelectionTable, j as RestaurantOrderItemModifierTable, jt as VenueBookingHoldTable, k as RestaurantNotificationSettingsTable, kt as VenueAvailabilityBlockTable, l as RestaurantDineInSessionTable, ln as VenueReviewResponseTable, lt as RestaurantReservationPaymentPolicyTable, m as RestaurantGuestAccessTable, mt as RestaurantReservationQuoteLineTable, n as MediaTable, nn as VenueQuoteRecordStatus, nt as RestaurantReservationHoldAddonOperationTable, o as RestaurantClosureTable, on as VenueRecordStatus, ot as RestaurantReservationLanguageSettingsTable, p as RestaurantGiftCardTable, pn as VenueTable, pt as RestaurantReservationQuoteCheckoutTable, q as RestaurantReservationAddonCategoryTable, qt as VenueOutboxEventTable, r as RestaurantCapacityCounterTable, rn as VenueQuoteStatus, rt as RestaurantReservationHoldAddonTable, s as RestaurantDeliverySettingsTable, sn as VenueRefundTable, st as RestaurantReservationOfferLinkDeliveryTable, t as Database, tn as VenueQuoteLineTable, tt as RestaurantReservationGiftCardOperationTable, u as RestaurantDineInSettingsTable, un as VenueReviewTable, ut as RestaurantReservationPromotionAllocationTable, v as RestaurantLocationTable, vt as RestaurantReservationSettingsTable, w as RestaurantMenuSectionItemTable, wt as RestaurantTabRoundTable, x as RestaurantMenuItemTranslationTable, xt as RestaurantReservationTableAssignmentTable, y as RestaurantMenuItemModifierGroupTable, yt as RestaurantReservationStatus, z as RestaurantOutboxDeliveryTable, zt as VenueLocationMembershipTable } from "./types-B7Ifhtyz.mjs";
|
|
5
5
|
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-0cGpMonY.mjs";
|
|
6
6
|
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-CvwzNJHj.mjs";
|
|
@@ -11,7 +11,7 @@ import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCach
|
|
|
11
11
|
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-D8iukuuI.mjs";
|
|
12
12
|
import { c as I18nConfig, d as isI18nEnabled, l as getFallbackChain, n as resolveContentUrl, t as ResolveContentUrlInput, u as getI18nConfig } from "./public-url-CbmE-u2t.mjs";
|
|
13
13
|
import { C as SiteSettingKey, S as SeoSettings, _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, w as SiteSettings, x as MediaReference, y as SeedWidgetArea } from "./validate-BRq01mTo.mjs";
|
|
14
|
-
import "./byline-fields-
|
|
14
|
+
import "./byline-fields-CexmiaFr.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-ZdWRfUsC.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { n as getMigrationStatus } from "./runner-CPugEIU8.mjs";
|
|
|
2
2
|
import { r as DinewayDatabaseError } from "./connection-DJ3GzHVH.mjs";
|
|
3
3
|
import { i as currentTimestamp } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-CVssduLe.mjs";
|
|
5
|
-
import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-
|
|
5
|
+
import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-Cz4PAYJf.mjs";
|
|
6
6
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
7
7
|
import "./base64-F8-DUraK.mjs";
|
|
8
8
|
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-DXwmu5rT.mjs";
|
|
@@ -22,7 +22,7 @@ import { t as SiteActivityRepository } from "./site-activity-MiKT38qx.mjs";
|
|
|
22
22
|
import "./review-requests-D-lhld0A.mjs";
|
|
23
23
|
import "./publication-authorization-BQpdXnha.mjs";
|
|
24
24
|
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-CqNMaJ5s.mjs";
|
|
25
|
-
import "./context-
|
|
25
|
+
import "./context-D8yUDM9d.mjs";
|
|
26
26
|
import "./menus-F1fYny2w.mjs";
|
|
27
27
|
import "./redirect-DtjSpGWp.mjs";
|
|
28
28
|
import "./request-cache-DoT2mKBT.mjs";
|
|
@@ -33,7 +33,7 @@ import { t as BylineRepository } from "./byline-BfL607qj.mjs";
|
|
|
33
33
|
import { n as normalizeMediaValue } from "./normalize-BY2gOygP.mjs";
|
|
34
34
|
import { n as generatePlaceholder } from "./enrich-Uw_OA9Ve.mjs";
|
|
35
35
|
import "./seo-Cbj0_Opd.mjs";
|
|
36
|
-
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-
|
|
36
|
+
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-CBL6bNU1.mjs";
|
|
37
37
|
import "./dashboard-CdsvXt0T.mjs";
|
|
38
38
|
import { t as SiteBriefingAssembler } from "./briefing-32h1e5FV.mjs";
|
|
39
39
|
import "./context-types-fEeyXC1D.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as PublicSchemaNode, Et as PublicPageSchema, F as PageMetadataContribution, M as PageFragmentContribution, R as PageMetadataLinkRel, Tt as PublicPageImage, t as BreadcrumbItem, wt as PublicPageContext, z as PagePlacement } from "./types-
|
|
1
|
+
import { Dt as PublicSchemaNode, Et as PublicPageSchema, F as PageMetadataContribution, M as PageFragmentContribution, R as PageMetadataLinkRel, Tt as PublicPageImage, t as BreadcrumbItem, wt as PublicPageContext, z as PagePlacement } from "./types-DB9weIZo.mjs";
|
|
2
2
|
import { S as SeoSettings } from "./validate-BRq01mTo.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-DB9weIZo.mjs";
|
|
2
2
|
import { t as Database } from "../types-B7Ifhtyz.mjs";
|
|
3
3
|
import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placeholder-0cGpMonY.mjs";
|
|
4
4
|
import "../runner-CvwzNJHj.mjs";
|
|
@@ -7,7 +7,7 @@ import "../types-BdsNqnHA.mjs";
|
|
|
7
7
|
import { d as Storage } from "../types-D8iukuuI.mjs";
|
|
8
8
|
import "../public-url-CbmE-u2t.mjs";
|
|
9
9
|
import "../validate-BRq01mTo.mjs";
|
|
10
|
-
import "../byline-fields-
|
|
10
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
11
11
|
import "../types-ZdWRfUsC.mjs";
|
|
12
12
|
import "../index.mjs";
|
|
13
13
|
import { Kysely } from "kysely";
|
package/dist/page/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Dt as PublicSchemaNode, Et as PublicPageSchema, F as PageMetadataContribution, M as PageFragmentContribution, Tt as PublicPageImage, wt as PublicPageContext } from "../types-
|
|
1
|
+
import { Dt as PublicSchemaNode, Et as PublicPageSchema, F as PageMetadataContribution, M as PageFragmentContribution, Tt as PublicPageImage, wt as PublicPageContext } from "../types-DB9weIZo.mjs";
|
|
2
2
|
import "../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../runner-CvwzNJHj.mjs";
|
|
4
4
|
import "../index-DXcPysP3.mjs";
|
|
5
5
|
import "../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../byline-fields-
|
|
8
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../types-ZdWRfUsC.mjs";
|
|
10
|
-
import { _ as CreatePublicPageContextInput, a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, g as resolvePageImage, h as imageMetadataContributions, i as generateBaseSeoContributions, l as createSha256CspHash, m as mergePageSchema, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr, v as createPublicPageContext } from "../jsonld-
|
|
10
|
+
import { _ as CreatePublicPageContextInput, a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, g as resolvePageImage, h as imageMetadataContributions, i as generateBaseSeoContributions, l as createSha256CspHash, m as mergePageSchema, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr, v as createPublicPageContext } from "../jsonld-BM0JqNLm.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/page/index.d.ts
|
|
13
13
|
/**
|
package/dist/plugin-utils.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./types-
|
|
1
|
+
import "./types-DB9weIZo.mjs";
|
|
2
2
|
import "./types-B7Ifhtyz.mjs";
|
|
3
3
|
import "./runner-CvwzNJHj.mjs";
|
|
4
4
|
import "./index-DXcPysP3.mjs";
|
|
5
5
|
import "./types-BdsNqnHA.mjs";
|
|
6
6
|
import "./public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "./validate-BRq01mTo.mjs";
|
|
8
|
-
import "./byline-fields-
|
|
8
|
+
import "./byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "./types-ZdWRfUsC.mjs";
|
|
10
10
|
import { DinewayHandlers } from "./astro/types.mjs";
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ft as StandardPluginDefinition, ko as PluginDescriptor, kt as ResolvedPlugin } from "../types-
|
|
1
|
+
import { Ft as StandardPluginDefinition, ko as PluginDescriptor, kt as ResolvedPlugin } from "../types-DB9weIZo.mjs";
|
|
2
2
|
import "../types-B7Ifhtyz.mjs";
|
|
3
3
|
import "../runner-CvwzNJHj.mjs";
|
|
4
4
|
import "../index-DXcPysP3.mjs";
|
|
5
5
|
import "../types-BdsNqnHA.mjs";
|
|
6
6
|
import "../public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "../validate-BRq01mTo.mjs";
|
|
8
|
-
import "../byline-fields-
|
|
8
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "../types-ZdWRfUsC.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
|
@@ -2,7 +2,7 @@ import { r as validatePluginIdentifier, t as validateIdentifier } from "./valida
|
|
|
2
2
|
import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
|
|
3
3
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-0oflHOGr.mjs";
|
|
4
4
|
import { t as OptionsRepository } from "./options-1dBRkoCl.mjs";
|
|
5
|
-
import { n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
5
|
+
import { n as createPluginContext, t as PluginContextFactory } from "./context-D8yUDM9d.mjs";
|
|
6
6
|
import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-MqvM60s_.mjs";
|
|
7
7
|
import { t as extractRequestMeta } from "./request-meta-DnZm9Kbu.mjs";
|
|
8
8
|
import { r as setCronTasksEnabled } from "./cron-DIsnItPn.mjs";
|
|
@@ -1308,6 +1308,7 @@ function defineNativePlugin(definition) {
|
|
|
1308
1308
|
allowedHosts,
|
|
1309
1309
|
storage,
|
|
1310
1310
|
migrations: Object.freeze(normalizedMigrations),
|
|
1311
|
+
nativeExtensions: Object.freeze({ ...definition.nativeExtensions }),
|
|
1311
1312
|
hooks: resolvedHooks,
|
|
1312
1313
|
routes,
|
|
1313
1314
|
mcp,
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Bs as dinewayLoader, Fs as CollectionFilter, Is as EntryData, Ls as EntryFilter, Vs as getDb } from "./types-
|
|
1
|
+
import { Bs as dinewayLoader, Fs as CollectionFilter, Is as EntryData, Ls as EntryFilter, Vs as getDb } from "./types-DB9weIZo.mjs";
|
|
2
2
|
import "./types-B7Ifhtyz.mjs";
|
|
3
3
|
import "./runner-CvwzNJHj.mjs";
|
|
4
4
|
import "./index-DXcPysP3.mjs";
|
|
5
5
|
import "./types-BdsNqnHA.mjs";
|
|
6
6
|
import "./public-url-CbmE-u2t.mjs";
|
|
7
7
|
import "./validate-BRq01mTo.mjs";
|
|
8
|
-
import "./byline-fields-
|
|
8
|
+
import "./byline-fields-CexmiaFr.mjs";
|
|
9
9
|
import "./types-ZdWRfUsC.mjs";
|
|
10
10
|
import { t as getMediaProvider } from "./provider-loader-CGoW_-Bs.mjs";
|
|
11
11
|
export { type CollectionFilter, type EntryData, type EntryFilter, dinewayLoader, getDb, getMediaProvider };
|
|
@@ -2217,6 +2217,8 @@ interface SiteInfoOptions {
|
|
|
2217
2217
|
locale?: string;
|
|
2218
2218
|
}
|
|
2219
2219
|
interface PluginContextFactoryOptions {
|
|
2220
|
+
/** Server-only extension lookup, supplied by the owning runtime for trusted routes. */
|
|
2221
|
+
getNativeExtensions?: (name: string) => readonly unknown[];
|
|
2220
2222
|
db: Kysely<Database>;
|
|
2221
2223
|
/**
|
|
2222
2224
|
* Resolver for the current database connection. When omitted, `db` is used.
|
|
@@ -4963,8 +4965,8 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
4963
4965
|
string: "string";
|
|
4964
4966
|
number: "number";
|
|
4965
4967
|
boolean: "boolean";
|
|
4966
|
-
json: "json";
|
|
4967
4968
|
file: "file";
|
|
4969
|
+
json: "json";
|
|
4968
4970
|
slug: "slug";
|
|
4969
4971
|
image: "image";
|
|
4970
4972
|
datetime: "datetime";
|
|
@@ -7147,6 +7149,8 @@ interface PluginContext<TStorage extends PluginStorageConfig = PluginStorageConf
|
|
|
7147
7149
|
site: SiteInfo;
|
|
7148
7150
|
/** URL helper - generates absolute URLs from paths. Always available. */
|
|
7149
7151
|
url(path: string): string;
|
|
7152
|
+
/** Server-only contributions from enabled, configured native plugins in this runtime. */
|
|
7153
|
+
getNativeExtensions?(name: string): readonly unknown[];
|
|
7150
7154
|
/** User access - only if users:read capability */
|
|
7151
7155
|
users?: UserAccess;
|
|
7152
7156
|
/** Cron task scheduling - always available, scoped to plugin */
|
|
@@ -8018,6 +8022,8 @@ interface PluginAdminConfig {
|
|
|
8018
8022
|
* Plugin definition - input to definePlugin()
|
|
8019
8023
|
*/
|
|
8020
8024
|
interface PluginDefinition<TStorage extends PluginStorageConfig = PluginStorageConfig> {
|
|
8025
|
+
/** Namespaced, server-only contributions consumed by other trusted native plugins. */
|
|
8026
|
+
nativeExtensions?: Readonly<Record<string, unknown>>;
|
|
8021
8027
|
/** Unique plugin identifier */
|
|
8022
8028
|
id: string;
|
|
8023
8029
|
/** Plugin version (semver) */
|
|
@@ -8045,6 +8051,7 @@ interface PluginDefinition<TStorage extends PluginStorageConfig = PluginStorageC
|
|
|
8045
8051
|
* Resolved plugin - after definePlugin() processing
|
|
8046
8052
|
*/
|
|
8047
8053
|
interface ResolvedPlugin<TStorage extends PluginStorageConfig = PluginStorageConfig> {
|
|
8054
|
+
nativeExtensions?: Readonly<Record<string, unknown>>;
|
|
8048
8055
|
id: string;
|
|
8049
8056
|
version: string;
|
|
8050
8057
|
capabilities: PluginCapability[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as PageMetadataContribution, Mn as getTaxonomyTerms, Qi as getEditMeta, Ua as getCollectionInfo, Un as getMenu, Xi as getDinewayCollection, gn as getWidgetArea, ks as PublicComment, nr as getComments, or as getSiteSettings, wn as Widget, wt as PublicPageContext, ya as sanitizeHref } from "../types-
|
|
1
|
+
import { F as PageMetadataContribution, Mn as getTaxonomyTerms, Qi as getEditMeta, Ua as getCollectionInfo, Un as getMenu, Xi as getDinewayCollection, gn as getWidgetArea, ks as PublicComment, nr as getComments, or as getSiteSettings, wn as Widget, wt as PublicPageContext, ya as sanitizeHref } from "../types-DB9weIZo.mjs";
|
|
2
2
|
import "../types-B7Ifhtyz.mjs";
|
|
3
3
|
import { _ as MediaValue, c as EmbedResult, l as ImageEmbed, s as EmbedOptions } from "../placeholder-0cGpMonY.mjs";
|
|
4
4
|
import "../runner-CvwzNJHj.mjs";
|
|
@@ -6,10 +6,10 @@ import "../index-DXcPysP3.mjs";
|
|
|
6
6
|
import "../types-BdsNqnHA.mjs";
|
|
7
7
|
import "../public-url-CbmE-u2t.mjs";
|
|
8
8
|
import { x as MediaReference } from "../validate-BRq01mTo.mjs";
|
|
9
|
-
import "../byline-fields-
|
|
9
|
+
import "../byline-fields-CexmiaFr.mjs";
|
|
10
10
|
import "../types-ZdWRfUsC.mjs";
|
|
11
|
-
import { t as getPublicOrigin } from "../public-url-
|
|
12
|
-
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-
|
|
11
|
+
import { t as getPublicOrigin } from "../public-url-CPw0dhAQ.mjs";
|
|
12
|
+
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-BM0JqNLm.mjs";
|
|
13
13
|
import { getPageRuntime } from "../page/index.mjs";
|
|
14
14
|
import { t as getMediaProvider } from "../provider-loader-CGoW_-Bs.mjs";
|
|
15
15
|
|
package/package.json
CHANGED