dineway 0.2.35 → 0.2.37
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 +4 -4
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-CwhrR7H5.mjs → api-kJUT0VCn.mjs} +4 -4
- package/dist/{apply-BTfAReIv.mjs → apply--6MFJ5h9.mjs} +9 -9
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +2 -1
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware/request-context.d.mts +1 -1
- package/dist/astro/middleware/request-context.mjs +9 -8
- package/dist/astro/middleware.mjs +38 -37
- package/dist/astro/routes/api/admin/briefing.mjs +4 -4
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +4 -4
- package/dist/astro/routes/api/admin/bylines/index.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/bulk.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/counts.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/index.mjs +3 -3
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +11 -11
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +11 -11
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +11 -11
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +11 -11
- package/dist/astro/routes/api/admin/context/diff.mjs +11 -11
- package/dist/astro/routes/api/admin/context/index.mjs +11 -11
- package/dist/astro/routes/api/admin/context/stale.mjs +11 -11
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +12 -12
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +12 -12
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +12 -12
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +11 -11
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +23 -23
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +23 -23
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +23 -23
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +23 -23
- package/dist/astro/routes/api/admin/plugins/index.mjs +20 -20
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +23 -23
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +20 -20
- package/dist/astro/routes/api/admin/plugins/updates.mjs +20 -20
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +10 -10
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +14 -14
- package/dist/astro/routes/api/admin/review-requests/index.mjs +13 -13
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +20 -20
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +4 -4
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +3 -3
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +7 -7
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +7 -7
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +4 -4
- package/dist/astro/routes/api/dashboard.mjs +3 -3
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +14 -14
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +11 -11
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +15 -15
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +38 -38
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/items.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/translations.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_.mjs +12 -12
- package/dist/astro/routes/api/menus/index.mjs +12 -12
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +11 -11
- package/dist/astro/routes/api/redirects/index.mjs +11 -11
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +20 -20
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +20 -20
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +20 -20
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +20 -20
- package/dist/astro/routes/api/schema/collections/index.mjs +20 -20
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +20 -20
- package/dist/astro/routes/api/schema/orphans/index.mjs +20 -20
- package/dist/astro/routes/api/sections/_slug_.mjs +11 -11
- package/dist/astro/routes/api/sections/index.mjs +11 -11
- package/dist/astro/routes/api/settings.mjs +12 -12
- package/dist/astro/routes/api/setup/dev-bypass.mjs +6 -6
- package/dist/astro/routes/api/setup/index.mjs +6 -6
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +14 -14
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +14 -14
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +14 -14
- package/dist/astro/routes/api/taxonomies/index.mjs +14 -14
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +11 -11
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +11 -11
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +11 -11
- package/dist/astro/routes/api/widget-areas/_name_.mjs +11 -11
- package/dist/astro/routes/api/widget-areas/index.mjs +11 -11
- package/dist/astro/routes/robots.txt.mjs +2 -2
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +2 -2
- package/dist/astro/routes/sitemap.xml.mjs +2 -2
- package/dist/astro/types.d.mts +2 -2
- package/dist/{briefing-5zf0YZbR.mjs → briefing-BiBHuHqK.mjs} +1 -1
- package/dist/{briefing-DiupPvyN.mjs → briefing-DQYj9x6H.mjs} +1 -1
- package/dist/{byline-DEZKlzD9.mjs → byline-BCPYEtzy.mjs} +1 -1
- package/dist/{byline-fields-BO96fXLv.d.mts → byline-fields-Cr3vqtmy.d.mts} +4 -4
- package/dist/{bylines-gSAfpHl4.mjs → bylines-BkRyEw1m.mjs} +1 -1
- package/dist/{bylines-CXyKpVLQ.mjs → bylines-ulHYkoqw.mjs} +2 -2
- package/dist/cli/index.mjs +7 -7
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/{comment-kgLTdtQD.mjs → comment-DX7gSK1w.mjs} +1 -1
- package/dist/{comments-ZYK_cZvx.mjs → comments-CFswogn0.mjs} +1 -1
- package/dist/{content-D9xKUSno.mjs → content-D_Q7BEGo.mjs} +1 -1
- package/dist/{context-BU8AbLmY.mjs → context-CDZsqodm.mjs} +2 -2
- package/dist/{context-C5lPtfeh.mjs → context-jRMnVU99.mjs} +3 -3
- package/dist/{dashboard-BnD5krLg.mjs → dashboard-C7K-qmQw.mjs} +1 -1
- package/dist/database/d1/index.d.mts +2 -2
- package/dist/{evidence-krrA3uiG.mjs → evidence-CoLCtvqq.mjs} +1 -1
- package/dist/{hitl-requests-CGjA1jND.mjs → hitl-requests-CMlepQbW.mjs} +1 -1
- package/dist/{hitl-route-helpers-BxSL0iZB.mjs → hitl-route-helpers-DnNP_wMa.mjs} +1 -1
- package/dist/{import-CayDCPaH.mjs → import-CJiI0o15.mjs} +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +31 -31
- package/dist/{jsonld-BUiFEiCZ.d.mts → jsonld-B2e_FWju.d.mts} +1 -1
- package/dist/{mcp-reviewed-executor-RJ71uyQb.mjs → mcp-reviewed-executor-XBjd6qYu.mjs} +3 -3
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/{menus-5liJusbp.mjs → menus-BJvvB0n9.mjs} +1 -1
- package/dist/{menus-2o-DVcwA.mjs → menus-DNcY6Do7.mjs} +2 -2
- package/dist/{object-cache-BGjIlY9s.mjs → object-cache-DYGlsI-R.mjs} +7 -1
- 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-f48yrwfI.mjs → plugins-D6zhTwNX.mjs} +1 -1
- package/dist/{public-url-CI700CW4.d.mts → public-url-Dj1vD21t.d.mts} +1 -1
- package/dist/{publication-authorization-Dq_20SZR.mjs → publication-authorization-D4Cq5dn5.mjs} +4 -4
- package/dist/{query-D6oNo9iz.mjs → query-BTxYlpUS.mjs} +5 -5
- package/dist/{query-BkWWdxyb.mjs → query-DnK6LJdA.mjs} +1 -1
- package/dist/request-context.d.mts +9 -1
- package/dist/request-context.mjs +11 -1
- package/dist/{review-payload-LLIi1sxO.mjs → review-payload-BPwisxjF.mjs} +4 -4
- package/dist/{review-requests-C7prIbCo.mjs → review-requests-CP3Nfqhy.mjs} +1 -1
- package/dist/runtime.d.mts +2 -2
- package/dist/seed/index.mjs +6 -6
- package/dist/{seo-DYpc_rQ1.mjs → seo-B3cQl1r2.mjs} +1 -1
- package/dist/{service-DOFqfUVv.mjs → service-CMR5_eSN.mjs} +2 -2
- package/dist/{settings-2p7TuNWG.mjs → settings-DiAKrrP4.mjs} +1 -1
- package/dist/{settings-DRFy8JQx.mjs → settings-dNtUakSt.mjs} +1 -1
- package/dist/{site-context-D9oETfxF.mjs → site-context-Bll8ehSX.mjs} +5 -5
- package/dist/{submission-BLvkvewK.mjs → submission-CdXVheI1.mjs} +4 -4
- package/dist/{taxonomies-DW6Fps-w.mjs → taxonomies-9lXML1QX.mjs} +2 -2
- package/dist/{taxonomies-C5ayPp3T.mjs → taxonomies-rJBePDW_.mjs} +2 -2
- package/dist/{taxonomy-DWxxLpp5.mjs → taxonomy-CAd9SL-L.mjs} +1 -1
- package/dist/{types-Tt_IGMno.d.mts → types-5xfwCI4m.d.mts} +7 -1
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/ui/server-runtime.mjs +7 -7
- package/dist/version-cCcZvW0B.mjs +6 -0
- package/dist/{worker-wjRq4FI9.mjs → worker-0TNlZuCU.mjs} +4 -4
- package/package.json +1 -1
- package/dist/version-DpT-k_Ny.mjs +0 -6
|
@@ -3,13 +3,13 @@ import { n as validateJsonFieldName } from "./validate-Co3j6T_K.mjs";
|
|
|
3
3
|
import { c as jsonExtractExpr } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
4
4
|
import { i as encodeCursor, r as decodeCursor } from "./types-BqxIv8Il.mjs";
|
|
5
5
|
import { t as contentWriteChecks } from "./atomic-authority-CnBQJ14T.mjs";
|
|
6
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
7
|
-
import { t as ContentRepository } from "./content-
|
|
6
|
+
import { o as invalidateCollectionCache } from "./object-cache-DYGlsI-R.mjs";
|
|
7
|
+
import { t as ContentRepository } from "./content-D_Q7BEGo.mjs";
|
|
8
8
|
import { t as MediaRepository } from "./media-BZqwtRTZ.mjs";
|
|
9
9
|
import { t as UserRepository } from "./user-1-YV30lf.mjs";
|
|
10
10
|
import { t as OptionsRepository } from "./options-BcqHWpc-.mjs";
|
|
11
11
|
import { t as enrichImageMetadata } from "./enrich-BjF-J4sF.mjs";
|
|
12
|
-
import { t as SeoRepository } from "./seo-
|
|
12
|
+
import { t as SeoRepository } from "./seo-B3cQl1r2.mjs";
|
|
13
13
|
import { o as prepareContentMediaUsageCollectionStale } from "./content-refresh-9M9cc55-.mjs";
|
|
14
14
|
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-COxLChKv.mjs";
|
|
15
15
|
import { t as CronAccessImpl } from "./cron-BVYo08mi.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
2
|
-
import { t as ContentRepository } from "./content-
|
|
2
|
+
import { t as ContentRepository } from "./content-D_Q7BEGo.mjs";
|
|
3
3
|
import { t as MediaRepository } from "./media-BZqwtRTZ.mjs";
|
|
4
4
|
import { t as UserRepository } from "./user-1-YV30lf.mjs";
|
|
5
5
|
import { r as ReviewRequestRepository } from "./review-requests-BF2eEKr8.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { At as ResolvedPlugin, ac as D1Migration, cc as migrateD1, lc as D1SchemaObject, oc as D1MigrationOptions, sc as assertD1Migrations, uc as compileD1Schema } from "../../types-
|
|
1
|
+
import { At as ResolvedPlugin, ac as D1Migration, cc as migrateD1, lc as D1SchemaObject, oc as D1MigrationOptions, sc as assertD1Migrations, uc as compileD1Schema } from "../../types-5xfwCI4m.mjs";
|
|
2
2
|
import "../../types-CVRNRAA5.mjs";
|
|
3
3
|
import "../../runner-Cxl-vyk2.mjs";
|
|
4
4
|
import "../../index-mlJSqFkG.mjs";
|
|
5
5
|
import "../../types-SddyDti7.mjs";
|
|
6
6
|
import "../../public-url-zoO-QbN6.mjs";
|
|
7
7
|
import "../../validate-CCOsvPg2.mjs";
|
|
8
|
-
import "../../byline-fields-
|
|
8
|
+
import "../../byline-fields-Cr3vqtmy.mjs";
|
|
9
9
|
import "../../types-CAD4OvmF.mjs";
|
|
10
10
|
import { Kysely } from "kysely";
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as encodeBase64url } from "./base64-Cz-aU0X1.mjs";
|
|
2
2
|
import { t as MediaRepository } from "./media-BZqwtRTZ.mjs";
|
|
3
3
|
import { t as buildStableHash } from "./stable-hash-DEtJgcp7.mjs";
|
|
4
|
-
import { a as selectActiveBriefingContextEntries, d as ContextRepository, i as parseSiteBriefingScope } from "./briefing-
|
|
4
|
+
import { a as selectActiveBriefingContextEntries, d as ContextRepository, i as parseSiteBriefingScope } from "./briefing-BiBHuHqK.mjs";
|
|
5
5
|
import { n as sha256, s as readBoundedBytes } from "./runs-B8kCirJ6.mjs";
|
|
6
6
|
import { c as loadContentMediaUsageFields } from "./content-refresh-9M9cc55-.mjs";
|
|
7
7
|
import { r as ssrfSafeFetch } from "./ssrf-COxLChKv.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as HitlRequestService } from "./site-context-
|
|
1
|
+
import { b as HitlRequestService } from "./site-context-Bll8ehSX.mjs";
|
|
2
2
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-fzJHB3ZI.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/hitl-requests.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as resolveActorIdentity } from "./actor-DxUAJgQX.mjs";
|
|
2
|
-
import { t as WorkflowHitlCoordinator } from "./site-context-
|
|
2
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-Bll8ehSX.mjs";
|
|
3
3
|
import { t as apiError } from "./error-B-44r5TD.mjs";
|
|
4
4
|
import { p as logSiteActivitySafely } from "./activity-events-CiFN61xq.mjs";
|
|
5
5
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-fzJHB3ZI.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as slugify } from "./slugify-Di8Q_MFq.mjs";
|
|
2
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
2
|
+
import { t as TaxonomyRepository } from "./taxonomy-CAd9SL-L.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "./options-BcqHWpc-.mjs";
|
|
4
4
|
import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-COxLChKv.mjs";
|
|
5
|
-
import { o as invalidateSiteSettingsCache } from "./settings-
|
|
5
|
+
import { o as invalidateSiteSettingsCache } from "./settings-dNtUakSt.mjs";
|
|
6
6
|
import { n as resolveLocaleChain } from "./resolve-CpOV2jt_.mjs";
|
|
7
|
-
import { l as invalidateTermCache } from "./taxonomies-
|
|
7
|
+
import { l as invalidateTermCache } from "./taxonomies-9lXML1QX.mjs";
|
|
8
8
|
import { n as parseWxrString } from "./parser-ehIlj32k.mjs";
|
|
9
9
|
import { _ as sanitizeFieldSlug, a as getFilenameFromUrl, c as isInternalMetaKey, d as mapMetaKeyToField, f as mapPostTypeToCollection, h as relativizeContentLinks, i as checkSchemaCompatibility, l as isInternalPostType, m as normalizeUrl$1, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as mapWpStatus, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as isPluginBookkeepingMeta } from "./utils-BoWkoty8.mjs";
|
|
10
10
|
import { ulid } from "ulidx";
|
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-1qU0-N1P.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-BFoQ5a1v.mjs";
|
|
3
|
-
import { $ as PluginMcpCommandPreview, $a as handleMediaUpdate, $i as getEditMeta, $n as UpdateMenuItemInput, $o as handleContentUnpublish, $r as PluginSecretStatus, $s as WhereValue, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextSpan, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as AssignmentStatus, At as ResolvedPlugin, B as PluginActor, Ba as Section, Bi as CollectionFilter, Bn as UpdateTermInput, Bo as handleContentCreate, Br as HandoffSnapshot, Bs as SiteActivitySourceType, C as FieldWidgetConfig, Ca as portableTextToProsemirror, Cc as ListResponse, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxOptions, Cr as getPreviewUrl, Cs as UpdateRelationInput, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextImageBlock, Di as contentNamespace, Dn as WidgetComponentDef, Do as SerializedRequest, Dr as VerifyPreviewTokenResult, Ds as AssignmentListQuery, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextHtmlBlock, Ei as cachedQuery, En as WidgetArea, Eo as SandboxedPlugin, Er as VerifyPreviewTokenOptions, Es as AssignmentActorType, Et as PublicPageImage, F as PageMetadataContribution, Fa as ProseMirrorNode, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fr as CreateWorkflowAssignmentInput, Fs as CreateSiteActivityInput, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as SchemaError, Gi as EntryResult, Gn as getMenus, Go as handleContentGetIncludingTrashed, Gr as NodeSandboxRunner, Gs as CreateMediaInput, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as UpdateSectionInput, Hi as ContentEntry, Hn as getBylineBySlug, Ho as handleContentDiscardDraft, Hr as PublicationReleasePolicyContribution, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as getSection, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentAuthors, Ir as HandoffResumeResult, Is as SiteActivity, It as StandardPluginDefinition, J as PluginD1Support, Ja as MediaResponse, Ji as SelectedCollectionData, Jn as Menu, Jo as handleContentPermanentDelete, Jr as SandboxNotAvailableError, Js as ContentRepository, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as SchemaRegistry, Ki as InferCollectionData, Kn as CreateMenuInput, Ko as handleContentList, Kr as createNodeSandboxRunner, Ks as MediaItem, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as getSections, Li as AfterCallback, Ln as TaxonomyDef, Lo as handleContentCompare, Lr as HandoffSnapshotStore, Ls as SiteActivityActorType, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as PortableTextUnknownBlock, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Ms as MarkAssignmentsOverdueInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorDocument, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as ReviewRequest, Nt as RouteContext, O as LogAccess, Oa as PortableTextLinkMark, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentPriority, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as ProseMirrorMark, Pi as invalidateSchemaObjectCache, Pn as getTerm, Pr as AssignmentService, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as handleMediaList, Qi as getDinewayEntry, Qn as UpdateMenuInput, Qo as handleContentTranslations, Qr as createReviewedPluginMcpCommandExecutor, Qs as WhereRange, Qt as PublicationReleasePolicy, Ra as CreateSectionInput, Ri as after, Rn as TaxonomyTerm, Ro as handleContentCountScheduled, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivityRepository, Rt as StandardRouteHandler, S as EmailMessage, Sa as hashString, Sc as FieldDescriptor, Si as signPreviewUrl, Sn as PropDef, So as SandboxEmailSendCallback, Sr as buildPreviewUrl, Ss as RelationRepository, St as PluginTargetScope, T as HookName, Ta as PortableTextCodeBlock, Ti as CachedQueryOptions, Tn as Widget, To as SandboxRunnerFactory, Tr as PreviewTokenPayload, Ts as AssignmentActorRef, Tt as PublicPageContext, U as PluginAdminExports, Ua as validateContent, Ui as DinewayCollections, Un as getEntriesByByline, Uo as handleContentDuplicate, Ur as PublicationReleasePolicyDisposition, V as PluginActorType, Va as SectionSource, Vi as CollectionResult, Vn as getByline, Vo as handleContentDelete, Vr as BuiltContentReleasePayload, Vs as SiteActivityTimelineQuery, Vt as StoredComment, W as PluginAdminPage, Wa as getCollectionInfo, Wi as EditFieldMeta, Wn as getMenu, Wo as handleContentGet, Wr as buildStableActionHash, Ws as RevisionRepository, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaDelete, Xi as TranslationsResult, Xn as MenuItemType, Xo as handleContentRestore, Xr as PluginManager, Xs as EntryData, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaCreate, Yi as TranslationSummary, Yn as MenuItem, Yo as handleContentPublish, Yr as createNoopSandboxRunner, Ys as CollectionFilter$1, Z as PluginManifest, Za as handleMediaGet, Zi as getDinewayCollection, Zn as ReorderMenuItemsInput, Zo as handleContentSchedule, Zr as createPluginManager, Zs as EntryFilter, _ as EmailAfterSendHandler, _a as RateLimitResult, _i as PreviewSidecarClient, _n as getWidgetArea, _r as renderPreviewLoadingPage, _s as ImageValue, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as createEditable, ai as definePlugin, an as search, ao as generateManifest, ar as getPluginSettings, as as submitAutomatedReview, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as sanitizeHref, bc as ContentListResponse, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as createHookPipeline, br as isPreviewRequest, bs as CreateRelationInput, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as GuestAccessTokenClaims, ci as FileSessionDatabaseFactory, cn as FTSManager, co as SiteBriefingContextEntry, cr as setSiteSettings, cs as ContentWriteInput, ct as PluginMcpReversibility, d as ContentAccess, da as IssuedGuestAccessToken, di as SessionDatabaseFactory, dn as SearchOptions, do as AtomicConfirmedContentAuthorizer, dr as AppliedSnapshotMeta, ds as portableText, dt as PluginMcpTool, ea as getTranslations, ei as PluginSecretStore, en as currentTimestamp, eo as RevisionListResponse, er as GetCommentsOptions, es as handleContentUnschedule, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenOptions, fi as SessionDatabaseHandle, fn as SearchResponse, fo as ConfirmedContentAuthorizer, fr as ApplySnapshotToDatabaseOptions, fs as reference, ft as PluginMigration, g as EmailAfterSendEvent, ga as verifyGuestAccessToken, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as PluginRouteError, gr as Snapshot, gs as FileValue, gt as PluginRouteBodyMode, h as EmailAccess, ha as issueGuestAccessToken, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as FieldUIHints, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as FieldAnnotation, ii as runPluginMigrations, in as getSuggestions, io as handleRevisionRestore, ir as getPluginSetting, is as prepareAutomatedReview, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as PortableTextTextBlock, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jo as PluginDescriptor, jr as AssignmentAccessContext, js as CreateAssignmentInput, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextMarkDef, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginMcpTargetAuthorizer, kr as parseContentId, ks as AssignmentRepository, kt as ResolvedHook, l as CommentModerateEvent, la as GuestAccessTokenConfigurationError, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lr as PreviewToolbarConfig, ls as PreparedContentWrite, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as hashGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PublishConfirmedContentInput, mr as dropSessionDatabaseTables, ms as FieldDefinition, n as CollectionCommentSettings, na as CMSAnnotation, nc as DatabaseConfig, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionGet, nr as getCommentCount, ns as ReviewSubmissionError, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as createNoop, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefing, or as getSiteSetting, os as ReviewRequestActorInput, ot as PluginMcpResource, p as ContentHookEvent, pa as VerifyGuestAccessTokenResult, pi as SessionDatabaseInfo, pn as SearchResult, po as ConfirmedContentPublicationResult, pr as applySnapshotToDatabase, ps as image, pt as PluginRoute, q as PluginContext, qa as MediaListResponse, qi as ResolvePathResult, qn as CreateMenuItemInput, qo as handleContentListTrashed, qr as NoopSandboxRunner, qs as MediaRepository, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as EditProxy, rc as DinewayDatabaseError, ri as pluginManifestSchema, rn as getSearchStats, ro as handleRevisionList, rr as getComments, rs as ReviewSubmissionInput, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessExpectedScope, si as createFilePreviewMiddleware, sn as searchWithDb, so as SiteBriefingAssembler, sr as getSiteSettings, ss as ContentReviewHandlers, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as resolveDinewayPath, tc as getDb, ti as PluginSecretStoreOptions, tn as extractPlainText, to as RevisionResponse, tr as GetCommentsResult, ts as handleContentUpdate, tt as PluginMcpConfig, u as CommentModerateHandler, ua as IssueGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, ur as renderPreviewToolbar, us as prepareContentWrite, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as checkRateLimit, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as HookPipeline, vr as isBlockedInPreview, vs as PortableTextBlock, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as prosemirrorToPortableText, wc as ManifestResponse, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxRunner, wr as GeneratePreviewTokenOptions, ws as Assignment, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as computeContentHash, xc as ContentResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxEmailMessage, xr as GetPreviewUrlOptions, xs as Relation, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as isSafeHref, yc as ApiContext, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as HookResult, yr as getPreviewToken, ys as ContentReference, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as GetSectionsOptions, zi as CacheHint, zn as TaxonomyTermRow, zo as handleContentCountTrashed, zr as CreateHandoffSnapshotInput, zs as SiteActivityResultStatus, zt as StorageCollection } from "./types-Tt_IGMno.mjs";
|
|
3
|
+
import { $ as PluginMcpCommandPreview, $a as handleMediaUpdate, $i as getEditMeta, $n as UpdateMenuItemInput, $o as handleContentUnpublish, $r as PluginSecretStatus, $s as WhereValue, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextSpan, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as AssignmentStatus, At as ResolvedPlugin, B as PluginActor, Ba as Section, Bi as CollectionFilter, Bn as UpdateTermInput, Bo as handleContentCreate, Br as HandoffSnapshot, Bs as SiteActivitySourceType, C as FieldWidgetConfig, Ca as portableTextToProsemirror, Cc as ListResponse, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxOptions, Cr as getPreviewUrl, Cs as UpdateRelationInput, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextImageBlock, Di as contentNamespace, Dn as WidgetComponentDef, Do as SerializedRequest, Dr as VerifyPreviewTokenResult, Ds as AssignmentListQuery, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextHtmlBlock, Ei as cachedQuery, En as WidgetArea, Eo as SandboxedPlugin, Er as VerifyPreviewTokenOptions, Es as AssignmentActorType, Et as PublicPageImage, F as PageMetadataContribution, Fa as ProseMirrorNode, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fr as CreateWorkflowAssignmentInput, Fs as CreateSiteActivityInput, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as SchemaError, Gi as EntryResult, Gn as getMenus, Go as handleContentGetIncludingTrashed, Gr as NodeSandboxRunner, Gs as CreateMediaInput, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as UpdateSectionInput, Hi as ContentEntry, Hn as getBylineBySlug, Ho as handleContentDiscardDraft, Hr as PublicationReleasePolicyContribution, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as getSection, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentAuthors, Ir as HandoffResumeResult, Is as SiteActivity, It as StandardPluginDefinition, J as PluginD1Support, Ja as MediaResponse, Ji as SelectedCollectionData, Jn as Menu, Jo as handleContentPermanentDelete, Jr as SandboxNotAvailableError, Js as ContentRepository, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as SchemaRegistry, Ki as InferCollectionData, Kn as CreateMenuInput, Ko as handleContentList, Kr as createNodeSandboxRunner, Ks as MediaItem, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as getSections, Li as AfterCallback, Ln as TaxonomyDef, Lo as handleContentCompare, Lr as HandoffSnapshotStore, Ls as SiteActivityActorType, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as PortableTextUnknownBlock, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Ms as MarkAssignmentsOverdueInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorDocument, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as ReviewRequest, Nt as RouteContext, O as LogAccess, Oa as PortableTextLinkMark, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentPriority, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as ProseMirrorMark, Pi as invalidateSchemaObjectCache, Pn as getTerm, Pr as AssignmentService, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as handleMediaList, Qi as getDinewayEntry, Qn as UpdateMenuInput, Qo as handleContentTranslations, Qr as createReviewedPluginMcpCommandExecutor, Qs as WhereRange, Qt as PublicationReleasePolicy, Ra as CreateSectionInput, Ri as after, Rn as TaxonomyTerm, Ro as handleContentCountScheduled, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivityRepository, Rt as StandardRouteHandler, S as EmailMessage, Sa as hashString, Sc as FieldDescriptor, Si as signPreviewUrl, Sn as PropDef, So as SandboxEmailSendCallback, Sr as buildPreviewUrl, Ss as RelationRepository, St as PluginTargetScope, T as HookName, Ta as PortableTextCodeBlock, Ti as CachedQueryOptions, Tn as Widget, To as SandboxRunnerFactory, Tr as PreviewTokenPayload, Ts as AssignmentActorRef, Tt as PublicPageContext, U as PluginAdminExports, Ua as validateContent, Ui as DinewayCollections, Un as getEntriesByByline, Uo as handleContentDuplicate, Ur as PublicationReleasePolicyDisposition, V as PluginActorType, Va as SectionSource, Vi as CollectionResult, Vn as getByline, Vo as handleContentDelete, Vr as BuiltContentReleasePayload, Vs as SiteActivityTimelineQuery, Vt as StoredComment, W as PluginAdminPage, Wa as getCollectionInfo, Wi as EditFieldMeta, Wn as getMenu, Wo as handleContentGet, Wr as buildStableActionHash, Ws as RevisionRepository, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaDelete, Xi as TranslationsResult, Xn as MenuItemType, Xo as handleContentRestore, Xr as PluginManager, Xs as EntryData, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaCreate, Yi as TranslationSummary, Yn as MenuItem, Yo as handleContentPublish, Yr as createNoopSandboxRunner, Ys as CollectionFilter$1, Z as PluginManifest, Za as handleMediaGet, Zi as getDinewayCollection, Zn as ReorderMenuItemsInput, Zo as handleContentSchedule, Zr as createPluginManager, Zs as EntryFilter, _ as EmailAfterSendHandler, _a as RateLimitResult, _i as PreviewSidecarClient, _n as getWidgetArea, _r as renderPreviewLoadingPage, _s as ImageValue, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as createEditable, ai as definePlugin, an as search, ao as generateManifest, ar as getPluginSettings, as as submitAutomatedReview, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as sanitizeHref, bc as ContentListResponse, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as createHookPipeline, br as isPreviewRequest, bs as CreateRelationInput, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as GuestAccessTokenClaims, ci as FileSessionDatabaseFactory, cn as FTSManager, co as SiteBriefingContextEntry, cr as setSiteSettings, cs as ContentWriteInput, ct as PluginMcpReversibility, d as ContentAccess, da as IssuedGuestAccessToken, di as SessionDatabaseFactory, dn as SearchOptions, do as AtomicConfirmedContentAuthorizer, dr as AppliedSnapshotMeta, ds as portableText, dt as PluginMcpTool, ea as getTranslations, ei as PluginSecretStore, en as currentTimestamp, eo as RevisionListResponse, er as GetCommentsOptions, es as handleContentUnschedule, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenOptions, fi as SessionDatabaseHandle, fn as SearchResponse, fo as ConfirmedContentAuthorizer, fr as ApplySnapshotToDatabaseOptions, fs as reference, ft as PluginMigration, g as EmailAfterSendEvent, ga as verifyGuestAccessToken, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as PluginRouteError, gr as Snapshot, gs as FileValue, gt as PluginRouteBodyMode, h as EmailAccess, ha as issueGuestAccessToken, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as FieldUIHints, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as FieldAnnotation, ii as runPluginMigrations, in as getSuggestions, io as handleRevisionRestore, ir as getPluginSetting, is as prepareAutomatedReview, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as PortableTextTextBlock, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jo as PluginDescriptor, jr as AssignmentAccessContext, js as CreateAssignmentInput, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextMarkDef, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginMcpTargetAuthorizer, kr as parseContentId, ks as AssignmentRepository, kt as ResolvedHook, l as CommentModerateEvent, la as GuestAccessTokenConfigurationError, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lr as PreviewToolbarConfig, ls as PreparedContentWrite, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as hashGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PublishConfirmedContentInput, mr as dropSessionDatabaseTables, ms as FieldDefinition, n as CollectionCommentSettings, na as CMSAnnotation, nc as DatabaseConfig, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionGet, nr as getCommentCount, ns as ReviewSubmissionError, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as createNoop, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefing, or as getSiteSetting, os as ReviewRequestActorInput, ot as PluginMcpResource, p as ContentHookEvent, pa as VerifyGuestAccessTokenResult, pi as SessionDatabaseInfo, pn as SearchResult, po as ConfirmedContentPublicationResult, pr as applySnapshotToDatabase, ps as image, pt as PluginRoute, q as PluginContext, qa as MediaListResponse, qi as ResolvePathResult, qn as CreateMenuItemInput, qo as handleContentListTrashed, qr as NoopSandboxRunner, qs as MediaRepository, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as EditProxy, rc as DinewayDatabaseError, ri as pluginManifestSchema, rn as getSearchStats, ro as handleRevisionList, rr as getComments, rs as ReviewSubmissionInput, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessExpectedScope, si as createFilePreviewMiddleware, sn as searchWithDb, so as SiteBriefingAssembler, sr as getSiteSettings, ss as ContentReviewHandlers, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as resolveDinewayPath, tc as getDb, ti as PluginSecretStoreOptions, tn as extractPlainText, to as RevisionResponse, tr as GetCommentsResult, ts as handleContentUpdate, tt as PluginMcpConfig, u as CommentModerateHandler, ua as IssueGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, ur as renderPreviewToolbar, us as prepareContentWrite, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as checkRateLimit, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as HookPipeline, vr as isBlockedInPreview, vs as PortableTextBlock, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as prosemirrorToPortableText, wc as ManifestResponse, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxRunner, wr as GeneratePreviewTokenOptions, ws as Assignment, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as computeContentHash, xc as ContentResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxEmailMessage, xr as GetPreviewUrlOptions, xs as Relation, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as isSafeHref, yc as ApiContext, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as HookResult, yr as getPreviewToken, ys as ContentReference, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as GetSectionsOptions, zi as CacheHint, zn as TaxonomyTermRow, zo as handleContentCountTrashed, zr as CreateHandoffSnapshotInput, zs as SiteActivityResultStatus, zt as StorageCollection } from "./types-5xfwCI4m.mjs";
|
|
4
4
|
import { $ as RestaurantReservationExperienceTable, $t as VenuePaymentRecordStatus, A as RestaurantOperatingSettingsTable, At as VenueAvailabilityBlockTable, B as RestaurantPaymentFlow, Bt as VenueLocationMembershipTable, C as RestaurantMenuOverrideTable, Ct as RestaurantSpecialHoursTable, D as RestaurantModifierGroupTable, Dt as RestaurantZoneTable, E as RestaurantMenuTable, Et as RestaurantTaxMode, F as RestaurantOrderSource, Ft as VenueCancellationPolicyTable, G as RestaurantPriorityAlertTable, Gt as VenueOrderStatus, H as RestaurantPaymentTable, Ht as VenueMessageTable, I as RestaurantOrderStatus, It as VenueCancellationPolicyTierTable, J as RestaurantReservationAddonTable, Jt as VenueOutboxEventTable, K as RestaurantRefundTable, Kt as VenueOrderStatusHistoryTable, L as RestaurantOrderStatusHistoryTable, Lt as VenueConversationReadTable, M as RestaurantOrderItemTable, Mt as VenueBookingHoldTable, N as RestaurantOrderSequenceTable, Nt as VenueBookingMode, O as RestaurantModifierOptionTable, P as RestaurantOrderSnapshotTable, Pt as VenueBookingPolicyTable, Q as RestaurantReservationExperienceIncludedAddonTable, Qt as VenuePaymentEventTable, R as RestaurantOrderTable, Rt as VenueConversationTable, S as RestaurantMenuLocationAssignmentTable, St as RestaurantServiceScope, T as RestaurantMenuSectionTable, Tt as RestaurantTableTable, U as RestaurantPriorityAlertDeliveryTable, Ut as VenueNotificationSettingsTable, V as RestaurantPaymentStatus, Vt as VenueLocationTable, W as RestaurantPriorityAlertOpportunityTable, Wt as VenueOrderCancellationSnapshotTable, X as RestaurantReservationDemandSettingsTable, Xt as VenuePaymentAllocationTable, Y as RestaurantReservationBlockTable, Yt as VenuePaymentAllocationStatus, Z as RestaurantReservationExperienceAddonCategoryTable, Zt as VenuePaymentCollection, _ as RestaurantLocationMembershipTable, _t as RestaurantReservationRequestTableAssignmentTable, a as RestaurantCartHoldTable, an as VenueQuoteTable, at as RestaurantReservationHoldTable, b as RestaurantMenuItemTable, bt as RestaurantReservationTable, c as RestaurantDeliveryZoneTable, cn as VenueRefundTable, ct as RestaurantReservationOfferTable, d as RestaurantFulfilmentType, dn as VenueReviewTable, dt as RestaurantReservationPromotionOperationTable, en as VenuePaymentStatus, et as RestaurantReservationGiftCardAllocationTable, f as RestaurantGiftCardLedgerEntryTable, fn as VenueSpaceLayoutTable, ft as RestaurantReservationPromotionTable, g as RestaurantHoursTable, gt as RestaurantReservationRequestTable, h as RestaurantHoursOverrideTable, ht as RestaurantReservationQuoteTable, i as RestaurantCapacityOverrideTable, in as VenueQuoteStatus, it as RestaurantReservationHoldCommercialSelectionTable, j as RestaurantOrderItemModifierTable, jt as VenueAvailabilityRuleTable, k as RestaurantNotificationSettingsTable, kt as UserTable, l as RestaurantDineInSessionTable, ln as VenueReviewInvitationTable, lt as RestaurantReservationPaymentPolicyTable, m as RestaurantGuestAccessTable, mn as VenueTable, mt as RestaurantReservationQuoteLineTable, n as MediaTable, nn as VenueQuoteLineTable, nt as RestaurantReservationHoldAddonOperationTable, o as RestaurantClosureTable, on as VenueRatePlanTable, ot as RestaurantReservationLanguageSettingsTable, p as RestaurantGiftCardTable, pn as VenueSpaceTable, pt as RestaurantReservationQuoteCheckoutTable, q as RestaurantReservationAddonCategoryTable, qt as VenueOrderTable, r as RestaurantCapacityCounterTable, rn as VenueQuoteRecordStatus, rt as RestaurantReservationHoldAddonTable, s as RestaurantDeliverySettingsTable, sn as VenueRecordStatus, st as RestaurantReservationOfferLinkDeliveryTable, t as Database, tn as VenuePaymentTable, tt as RestaurantReservationGiftCardOperationTable, u as RestaurantDineInSettingsTable, un as VenueReviewResponseTable, 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 VenueGuestAccessTable } from "./types-CVRNRAA5.mjs";
|
|
5
5
|
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-CQKI6vLd.mjs";
|
|
6
6
|
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-Cxl-vyk2.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-BWsEjujW.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-zoO-QbN6.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-CCOsvPg2.mjs";
|
|
14
|
-
import "./byline-fields-
|
|
14
|
+
import "./byline-fields-Cr3vqtmy.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-CAD4OvmF.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -4,42 +4,42 @@ import "./d1-binding-D6HZa3ks.mjs";
|
|
|
4
4
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
5
5
|
import { i as currentTimestamp } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
6
6
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
7
|
-
import { C as prosemirrorToPortableText, D as RelationRepository, E as image, S as portableTextToProsemirror, T as reference, a as createNoopSandboxRunner, b as issueGuestAccessToken, c as PluginSecretStore, f as HookPipeline, h as definePlugin, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, v as GuestAccessTokenConfigurationError, w as portableText, x as verifyGuestAccessToken, y as hashGuestAccessToken } from "./plugins-
|
|
7
|
+
import { C as prosemirrorToPortableText, D as RelationRepository, E as image, S as portableTextToProsemirror, T as reference, a as createNoopSandboxRunner, b as issueGuestAccessToken, c as PluginSecretStore, f as HookPipeline, h as definePlugin, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, v as GuestAccessTokenConfigurationError, w as portableText, x as verifyGuestAccessToken, y as hashGuestAccessToken } from "./plugins-D6zhTwNX.mjs";
|
|
8
8
|
import "./base64-Cz-aU0X1.mjs";
|
|
9
9
|
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-BqxIv8Il.mjs";
|
|
10
10
|
import { r as getDb } from "./loader-Cgsx23wU.mjs";
|
|
11
11
|
import "./actor-DxUAJgQX.mjs";
|
|
12
12
|
import "./atomic-authority-CnBQJ14T.mjs";
|
|
13
13
|
import { t as after } from "./after-BVaUn7bK.mjs";
|
|
14
|
-
import { a as invalidateBylineObjectCache, c as invalidateMenuObjectCache, d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, i as contentNamespaces, l as invalidateObjectCache, n as cachedQuery, o as invalidateCollectionCache, r as contentNamespace, s as invalidateCommentObjectCache, t as CacheNamespace, u as invalidateSchemaObjectCache } from "./object-cache-
|
|
14
|
+
import { a as invalidateBylineObjectCache, c as invalidateMenuObjectCache, d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, i as contentNamespaces, l as invalidateObjectCache, n as cachedQuery, o as invalidateCollectionCache, r as contentNamespace, s as invalidateCommentObjectCache, t as CacheNamespace, u as invalidateSchemaObjectCache } from "./object-cache-DYGlsI-R.mjs";
|
|
15
15
|
import { t as decodeSlug } from "./slugify-Di8Q_MFq.mjs";
|
|
16
16
|
import { t as RevisionRepository } from "./revision-090sZyGc.mjs";
|
|
17
|
-
import { t as ContentRepository } from "./content-
|
|
17
|
+
import { t as ContentRepository } from "./content-D_Q7BEGo.mjs";
|
|
18
18
|
import { t as MediaRepository } from "./media-BZqwtRTZ.mjs";
|
|
19
19
|
import "./user-1-YV30lf.mjs";
|
|
20
|
-
import "./taxonomy-
|
|
21
|
-
import "./comment-
|
|
20
|
+
import "./taxonomy-CAd9SL-L.mjs";
|
|
21
|
+
import "./comment-DX7gSK1w.mjs";
|
|
22
22
|
import "./options-BcqHWpc-.mjs";
|
|
23
23
|
import "./audit-F5iWkbcJ.mjs";
|
|
24
24
|
import { t as SiteActivityRepository } from "./site-activity-BrN2NviL.mjs";
|
|
25
25
|
import "./review-requests-BF2eEKr8.mjs";
|
|
26
|
-
import "./publication-authorization-
|
|
27
|
-
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-
|
|
28
|
-
import "./context-
|
|
29
|
-
import "./menus-
|
|
26
|
+
import "./publication-authorization-D4Cq5dn5.mjs";
|
|
27
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-Bll8ehSX.mjs";
|
|
28
|
+
import "./context-jRMnVU99.mjs";
|
|
29
|
+
import "./menus-BJvvB0n9.mjs";
|
|
30
30
|
import "./redirect-HLI3wT5Y.mjs";
|
|
31
31
|
import "./request-cache-DPmV5nk4.mjs";
|
|
32
32
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-CyBH89BS.mjs";
|
|
33
33
|
import "./byline-registry-CkuVVeJJ.mjs";
|
|
34
34
|
import "./field-defs-cache-BKKFFf_V.mjs";
|
|
35
|
-
import { t as BylineRepository } from "./byline-
|
|
35
|
+
import { t as BylineRepository } from "./byline-BCPYEtzy.mjs";
|
|
36
36
|
import { n as normalizeMediaValue } from "./normalize-5rct_U0I.mjs";
|
|
37
37
|
import { n as generatePlaceholder } from "./enrich-BjF-J4sF.mjs";
|
|
38
|
-
import { C as handleContentUpdate, S as handleContentUnschedule, _ as handleContentPublish, a as handleContentCompare, b as handleContentTranslations, c as handleContentCreate, d as handleContentDuplicate, f as handleContentGet, g as handleContentPermanentDelete, h as handleContentListTrashed, i as handleContentAuthors, l as handleContentDelete, m as handleContentList, n as buildStableActionHash, o as handleContentCountScheduled, p as handleContentGetIncludingTrashed, s as handleContentCountTrashed, u as handleContentDiscardDraft, v as handleContentRestore, x as handleContentUnpublish, y as handleContentSchedule } from "./review-payload-
|
|
39
|
-
import "./seo-
|
|
40
|
-
import { i as prepareContentWrite, n as prepareAutomatedReview, r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-
|
|
38
|
+
import { C as handleContentUpdate, S as handleContentUnschedule, _ as handleContentPublish, a as handleContentCompare, b as handleContentTranslations, c as handleContentCreate, d as handleContentDuplicate, f as handleContentGet, g as handleContentPermanentDelete, h as handleContentListTrashed, i as handleContentAuthors, l as handleContentDelete, m as handleContentList, n as buildStableActionHash, o as handleContentCountScheduled, p as handleContentGetIncludingTrashed, s as handleContentCountTrashed, u as handleContentDiscardDraft, v as handleContentRestore, x as handleContentUnpublish, y as handleContentSchedule } from "./review-payload-BPwisxjF.mjs";
|
|
39
|
+
import "./seo-B3cQl1r2.mjs";
|
|
40
|
+
import { i as prepareContentWrite, n as prepareAutomatedReview, r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-CdXVheI1.mjs";
|
|
41
41
|
import "./context-types-DLD_HnKT.mjs";
|
|
42
|
-
import { t as SiteBriefingAssembler } from "./briefing-
|
|
42
|
+
import { t as SiteBriefingAssembler } from "./briefing-BiBHuHqK.mjs";
|
|
43
43
|
import "./runs-B8kCirJ6.mjs";
|
|
44
44
|
import "./runtime-env-v-1UXPAH.mjs";
|
|
45
45
|
import "./secrets-BP2YTPWn.mjs";
|
|
@@ -49,27 +49,27 @@ import { n as hashString, t as computeContentHash } from "./hash-DvMZXj2L.mjs";
|
|
|
49
49
|
import { t as FTSManager } from "./fts-manager-DA74x_uP.mjs";
|
|
50
50
|
import "./public-discovery-CTql6jdZ.mjs";
|
|
51
51
|
import { n as SchemaRegistry, t as SchemaError } from "./registry-DcV93OL_.mjs";
|
|
52
|
-
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-
|
|
53
|
-
import "./evidence-
|
|
54
|
-
import "./dashboard-
|
|
55
|
-
import "./briefing-
|
|
56
|
-
import "./review-requests-
|
|
57
|
-
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, T as handleMediaCreate, j as handleRevisionList, k as handleMediaUpdate } from "./api-
|
|
58
|
-
import { t as getCollectionInfo } from "./query-
|
|
52
|
+
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-dNtUakSt.mjs";
|
|
53
|
+
import "./evidence-CoLCtvqq.mjs";
|
|
54
|
+
import "./dashboard-C7K-qmQw.mjs";
|
|
55
|
+
import "./briefing-DQYj9x6H.mjs";
|
|
56
|
+
import "./review-requests-CP3Nfqhy.mjs";
|
|
57
|
+
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, T as handleMediaCreate, j as handleRevisionList, k as handleMediaUpdate } from "./api-kJUT0VCn.mjs";
|
|
58
|
+
import { t as getCollectionInfo } from "./query-DnK6LJdA.mjs";
|
|
59
59
|
import { r as validateContent } from "./zod-generator-BzACAoR5.mjs";
|
|
60
60
|
import "./schema-DFeC5axi.mjs";
|
|
61
61
|
import "./discovery-CYcZJ1o3.mjs";
|
|
62
62
|
import { t as resolveContentUrl } from "./public-url-DNt9A1yS.mjs";
|
|
63
63
|
import "./seo-Bypxm1iD.mjs";
|
|
64
|
-
import "./bylines-
|
|
64
|
+
import "./bylines-BkRyEw1m.mjs";
|
|
65
65
|
import "./byline-fields-CY6V0ew1.mjs";
|
|
66
66
|
import { o as getSection, s as getSections } from "./sections-CkoQY7Z9.mjs";
|
|
67
|
-
import "./settings-
|
|
67
|
+
import "./settings-DiAKrrP4.mjs";
|
|
68
68
|
import "./store-CjmmGlVw.mjs";
|
|
69
69
|
import "./integration-credentials-Br16M1VE.mjs";
|
|
70
70
|
import "./resolve-CpOV2jt_.mjs";
|
|
71
|
-
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-
|
|
72
|
-
import "./taxonomies-
|
|
71
|
+
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-9lXML1QX.mjs";
|
|
72
|
+
import "./taxonomies-rJBePDW_.mjs";
|
|
73
73
|
import { r as isStandardPluginDefinition } from "./types-ChSk0dmw.mjs";
|
|
74
74
|
import { i as pluginManifestSchema } from "./manifest-schema-DBXM_g8l.mjs";
|
|
75
75
|
import { t as DinewayStorageError } from "./types-BKsk4nnM.mjs";
|
|
@@ -80,7 +80,7 @@ import { n as sanitizeHref, t as isSafeHref } from "./url-DfqolpO2.mjs";
|
|
|
80
80
|
import "./status-DBSB6tdS.mjs";
|
|
81
81
|
import "./trusted-proxy-CvDP0g0F.mjs";
|
|
82
82
|
import { t as checkRateLimit } from "./rate-limit-RaBJEgyt.mjs";
|
|
83
|
-
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-
|
|
83
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-BTxYlpUS.mjs";
|
|
84
84
|
import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-CbrX8nuw.mjs";
|
|
85
85
|
import { a as createFilePreviewMiddleware, c as dropSessionDatabaseTables, d as SessionDatabaseLimitError, f as isBlockedInPreview, i as getPreviewUrl, l as getAppliedSnapshotMeta, n as isPreviewRequest, o as renderPreviewToolbar, p as renderPreviewLoadingPage, r as buildPreviewUrl, s as applySnapshotToDatabase, t as getPreviewToken, u as FileSessionDatabaseFactory } from "./preview-E1xKZGsX.mjs";
|
|
86
86
|
import { n as parseWxrString, t as parseWxr } from "./parser-ehIlj32k.mjs";
|
|
@@ -89,20 +89,20 @@ import { n as runPluginMigrations } from "./migrations-C7YXse7V.mjs";
|
|
|
89
89
|
import "./request-meta-C6yGqnGD.mjs";
|
|
90
90
|
import "./cron-BVYo08mi.mjs";
|
|
91
91
|
import "./api-tokens-DA18zxza.mjs";
|
|
92
|
-
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-
|
|
92
|
+
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-XBjd6qYu.mjs";
|
|
93
93
|
import "./activity-BbtYp_4V.mjs";
|
|
94
94
|
import "./activity-events-CiFN61xq.mjs";
|
|
95
95
|
import "./utils-BoWkoty8.mjs";
|
|
96
96
|
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-C9qOBgvo.mjs";
|
|
97
|
-
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-
|
|
97
|
+
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-CJiI0o15.mjs";
|
|
98
98
|
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-I3tSjoFI.mjs";
|
|
99
99
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
100
100
|
import "./comment-reaction-Cun5eIXL.mjs";
|
|
101
|
-
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-
|
|
102
|
-
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-
|
|
101
|
+
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-DNcY6Do7.mjs";
|
|
102
|
+
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-ulHYkoqw.mjs";
|
|
103
103
|
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-DbOctkXv.mjs";
|
|
104
104
|
import { t as validateSeed } from "./validate-CupwWNWL.mjs";
|
|
105
|
-
import { t as applySeed } from "./apply
|
|
105
|
+
import { t as applySeed } from "./apply--6MFJ5h9.mjs";
|
|
106
106
|
import "./load-B2oitobd.mjs";
|
|
107
107
|
import "./seed/index.mjs";
|
|
108
108
|
import { ulid } from "ulidx";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, R as PageMetadataLinkRel, Tt as PublicPageContext, t as BreadcrumbItem, z as PagePlacement } from "./types-
|
|
1
|
+
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, R as PageMetadataLinkRel, Tt as PublicPageContext, t as BreadcrumbItem, z as PagePlacement } from "./types-5xfwCI4m.mjs";
|
|
2
2
|
import { S as SeoSettings } from "./validate-CCOsvPg2.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as stableStringify } from "./stable-hash-DEtJgcp7.mjs";
|
|
2
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
3
|
-
import { b as HitlRequestService } from "./site-context-
|
|
4
|
-
import { n as buildStableActionHash } from "./review-payload-
|
|
2
|
+
import { o as HitlRequestRepository } from "./publication-authorization-D4Cq5dn5.mjs";
|
|
3
|
+
import { b as HitlRequestService } from "./site-context-Bll8ehSX.mjs";
|
|
4
|
+
import { n as buildStableActionHash } from "./review-payload-BPwisxjF.mjs";
|
|
5
5
|
import { i as hasScope$1 } from "./api-tokens-DA18zxza.mjs";
|
|
6
6
|
import { m as logSiteActivityStrict, p as logSiteActivitySafely } from "./activity-events-CiFN61xq.mjs";
|
|
7
7
|
import { ulid } from "ulidx";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-5xfwCI4m.mjs";
|
|
2
2
|
import { t as Database } from "../types-CVRNRAA5.mjs";
|
|
3
3
|
import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placeholder-CQKI6vLd.mjs";
|
|
4
4
|
import "../runner-Cxl-vyk2.mjs";
|
|
@@ -7,7 +7,7 @@ import "../types-SddyDti7.mjs";
|
|
|
7
7
|
import { d as Storage } from "../types-BWsEjujW.mjs";
|
|
8
8
|
import "../public-url-zoO-QbN6.mjs";
|
|
9
9
|
import "../validate-CCOsvPg2.mjs";
|
|
10
|
-
import "../byline-fields-
|
|
10
|
+
import "../byline-fields-Cr3vqtmy.mjs";
|
|
11
11
|
import "../types-CAD4OvmF.mjs";
|
|
12
12
|
import "../index.mjs";
|
|
13
13
|
import { Kysely } from "kysely";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CVeq0266.mjs";
|
|
2
2
|
import { AtomicWriteConflict, atomicBatch, rowUnchanged } from "./database/batch.mjs";
|
|
3
3
|
import { n as getI18nConfig } from "./config-XW5tMrH8.mjs";
|
|
4
|
-
import { c as invalidateMenuObjectCache } from "./object-cache-
|
|
4
|
+
import { c as invalidateMenuObjectCache } from "./object-cache-DYGlsI-R.mjs";
|
|
5
5
|
import { sql } from "kysely";
|
|
6
6
|
import { ulid } from "ulidx";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
2
2
|
import { r as getDb } from "./loader-Cgsx23wU.mjs";
|
|
3
|
-
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-
|
|
4
|
-
import { t as CommentRepository } from "./comment-
|
|
3
|
+
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-DYGlsI-R.mjs";
|
|
4
|
+
import { t as CommentRepository } from "./comment-DX7gSK1w.mjs";
|
|
5
5
|
import { r as requestCached } from "./request-cache-DPmV5nk4.mjs";
|
|
6
6
|
import { n as resolveLocaleChain, t as resolveLocale } from "./resolve-CpOV2jt_.mjs";
|
|
7
7
|
import { n as sanitizeHref } from "./url-DfqolpO2.mjs";
|
|
@@ -334,9 +334,15 @@ async function isObjectCacheActive() {
|
|
|
334
334
|
* Sync and non-blocking: the local epoch is stamped immediately (so the
|
|
335
335
|
* writing isolate is instantly consistent) and the backend write is deferred
|
|
336
336
|
* via `after`. Other isolates pick up the new epoch within their `revalidate`
|
|
337
|
-
* window.
|
|
337
|
+
* window. Page-cache tags are invalidated independently of the optional object cache.
|
|
338
338
|
*/
|
|
339
339
|
function invalidateObjectCache(namespace) {
|
|
340
|
+
const context = getRequestContext();
|
|
341
|
+
const pageCache = context?.pageCache;
|
|
342
|
+
if (pageCache && !context.dbIsIsolated) {
|
|
343
|
+
const tag = namespace.startsWith("content:") ? namespace.slice(8) : namespace;
|
|
344
|
+
after(() => pageCache.invalidate({ tags: [tag] }));
|
|
345
|
+
}
|
|
340
346
|
const prev = epochCache.get(namespace)?.value ?? 0;
|
|
341
347
|
const stamp = Math.max(prev + 1, Date.now());
|
|
342
348
|
epochCache.set(namespace, {
|
package/dist/page/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, Tt as PublicPageContext } from "../types-
|
|
1
|
+
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, Tt as PublicPageContext } from "../types-5xfwCI4m.mjs";
|
|
2
2
|
import "../types-CVRNRAA5.mjs";
|
|
3
3
|
import "../runner-Cxl-vyk2.mjs";
|
|
4
4
|
import "../index-mlJSqFkG.mjs";
|
|
5
5
|
import "../types-SddyDti7.mjs";
|
|
6
6
|
import "../public-url-zoO-QbN6.mjs";
|
|
7
7
|
import "../validate-CCOsvPg2.mjs";
|
|
8
|
-
import "../byline-fields-
|
|
8
|
+
import "../byline-fields-Cr3vqtmy.mjs";
|
|
9
9
|
import "../types-CAD4OvmF.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-B2e_FWju.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-5xfwCI4m.mjs";
|
|
2
2
|
import "./types-CVRNRAA5.mjs";
|
|
3
3
|
import "./runner-Cxl-vyk2.mjs";
|
|
4
4
|
import "./index-mlJSqFkG.mjs";
|
|
5
5
|
import "./types-SddyDti7.mjs";
|
|
6
6
|
import "./public-url-zoO-QbN6.mjs";
|
|
7
7
|
import "./validate-CCOsvPg2.mjs";
|
|
8
|
-
import "./byline-fields-
|
|
8
|
+
import "./byline-fields-Cr3vqtmy.mjs";
|
|
9
9
|
import "./types-CAD4OvmF.mjs";
|
|
10
10
|
import { DinewayHandlers } from "./astro/types.mjs";
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { At as ResolvedPlugin, It as StandardPluginDefinition, jo as PluginDescriptor } from "../types-
|
|
1
|
+
import { At as ResolvedPlugin, It as StandardPluginDefinition, jo as PluginDescriptor } from "../types-5xfwCI4m.mjs";
|
|
2
2
|
import "../types-CVRNRAA5.mjs";
|
|
3
3
|
import "../runner-Cxl-vyk2.mjs";
|
|
4
4
|
import "../index-mlJSqFkG.mjs";
|
|
5
5
|
import "../types-SddyDti7.mjs";
|
|
6
6
|
import "../public-url-zoO-QbN6.mjs";
|
|
7
7
|
import "../validate-CCOsvPg2.mjs";
|
|
8
|
-
import "../byline-fields-
|
|
8
|
+
import "../byline-fields-Cr3vqtmy.mjs";
|
|
9
9
|
import "../types-CAD4OvmF.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-Cz-aU0X1.mjs";
|
|
3
3
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-BnG3LPMN.mjs";
|
|
4
4
|
import { t as OptionsRepository } from "./options-BcqHWpc-.mjs";
|
|
5
|
-
import { n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
5
|
+
import { n as createPluginContext, t as PluginContextFactory } from "./context-jRMnVU99.mjs";
|
|
6
6
|
import { t as readRuntimeEnv } from "./runtime-env-v-1UXPAH.mjs";
|
|
7
7
|
import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-BP2YTPWn.mjs";
|
|
8
8
|
import { t as extractRequestMeta } from "./request-meta-C6yGqnGD.mjs";
|
package/dist/{publication-authorization-Dq_20SZR.mjs → publication-authorization-D4Cq5dn5.mjs}
RENAMED
|
@@ -2,14 +2,14 @@ import { AtomicWriteConflict, atomicBatch, isD1Database, rowUnchanged } from "./
|
|
|
2
2
|
import { r as currentIsoTimestampValue } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import { i as encodeCursor, r as decodeCursor } from "./types-BqxIv8Il.mjs";
|
|
4
4
|
import { r as getOAuthTokenHash, t as SYSTEM_ACTOR_ID } from "./actor-DxUAJgQX.mjs";
|
|
5
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
6
|
-
import { t as ContentRepository } from "./content-
|
|
5
|
+
import { o as invalidateCollectionCache } from "./object-cache-DYGlsI-R.mjs";
|
|
6
|
+
import { t as ContentRepository } from "./content-D_Q7BEGo.mjs";
|
|
7
7
|
import { t as SiteActivityRepository } from "./site-activity-BrN2NviL.mjs";
|
|
8
8
|
import { n as stableStringify } from "./stable-hash-DEtJgcp7.mjs";
|
|
9
9
|
import { r as ReviewRequestRepository } from "./review-requests-BF2eEKr8.mjs";
|
|
10
10
|
import { i as invalidateRedirectCache } from "./cache-DZDOBJv3.mjs";
|
|
11
|
-
import { n as buildStableActionHash, t as ReviewPayloadBuilder, w as prepareContentPublication } from "./review-payload-
|
|
12
|
-
import { a as getSiteSettingsWithDb } from "./settings-
|
|
11
|
+
import { n as buildStableActionHash, t as ReviewPayloadBuilder, w as prepareContentPublication } from "./review-payload-BPwisxjF.mjs";
|
|
12
|
+
import { a as getSiteSettingsWithDb } from "./settings-dNtUakSt.mjs";
|
|
13
13
|
import { n as redactActivityRecord } from "./activity-BbtYp_4V.mjs";
|
|
14
14
|
import { sql } from "kysely";
|
|
15
15
|
import { ulid } from "ulidx";
|
|
@@ -3,7 +3,7 @@ import { getRequestContext } from "./request-context.mjs";
|
|
|
3
3
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
4
4
|
import { i as encodeCursor } from "./types-BqxIv8Il.mjs";
|
|
5
5
|
import { o as isMissingTableError, s as takeLiveCollectionMeta, t as CURSOR_RAW_VALUES } from "./loader-Cgsx23wU.mjs";
|
|
6
|
-
import { i as contentNamespaces, n as cachedQuery, u as invalidateSchemaObjectCache } from "./object-cache-
|
|
6
|
+
import { i as contentNamespaces, n as cachedQuery, u as invalidateSchemaObjectCache } from "./object-cache-DYGlsI-R.mjs";
|
|
7
7
|
import { r as requestCached } from "./request-cache-DPmV5nk4.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/visual-editing/editable.ts
|
|
@@ -613,7 +613,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
try {
|
|
616
|
-
const { getBylinesForEntries } = await import("./bylines-
|
|
616
|
+
const { getBylinesForEntries } = await import("./bylines-ulHYkoqw.mjs").then((n) => n.t);
|
|
617
617
|
const refs = entries.map((entry) => {
|
|
618
618
|
const data = entryData(entry);
|
|
619
619
|
const id = dataStr(data, "id");
|
|
@@ -671,12 +671,12 @@ async function hydrateEntryTerms(type, entries, locale) {
|
|
|
671
671
|
byTaxonomy: grouped
|
|
672
672
|
});
|
|
673
673
|
}
|
|
674
|
-
const { primeFoldedEntryTerms } = await import("./taxonomies-
|
|
674
|
+
const { primeFoldedEntryTerms } = await import("./taxonomies-9lXML1QX.mjs").then((n) => n.u);
|
|
675
675
|
primeFoldedEntryTerms(type, perEntry, { locale });
|
|
676
676
|
return;
|
|
677
677
|
}
|
|
678
678
|
try {
|
|
679
|
-
const { getAllTermsForEntries } = await import("./taxonomies-
|
|
679
|
+
const { getAllTermsForEntries } = await import("./taxonomies-9lXML1QX.mjs").then((n) => n.u);
|
|
680
680
|
const ids = entries.map((entry) => dataStr(entryData(entry), "id")).filter(Boolean);
|
|
681
681
|
if (ids.length === 0) return;
|
|
682
682
|
const termsMap = await getAllTermsForEntries(type, ids, { locale });
|
|
@@ -712,7 +712,7 @@ async function getTranslations(type, id) {
|
|
|
712
712
|
try {
|
|
713
713
|
const db = (await import("./loader-Cgsx23wU.mjs").then((n) => n.i)).getDb;
|
|
714
714
|
const dbInstance = await db();
|
|
715
|
-
const { ContentRepository } = await import("./content-
|
|
715
|
+
const { ContentRepository } = await import("./content-D_Q7BEGo.mjs").then((n) => n.n);
|
|
716
716
|
const repo = new ContentRepository(dbInstance);
|
|
717
717
|
const item = await repo.findByIdOrSlug(type, id);
|
|
718
718
|
if (!item) return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as getDb } from "./loader-Cgsx23wU.mjs";
|
|
2
|
-
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-
|
|
2
|
+
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-DYGlsI-R.mjs";
|
|
3
3
|
import { r as requestCached } from "./request-cache-DPmV5nk4.mjs";
|
|
4
4
|
import { n as SchemaRegistry } from "./registry-DcV93OL_.mjs";
|
|
5
5
|
|
|
@@ -52,6 +52,12 @@ interface DinewayRequestContext {
|
|
|
52
52
|
queryRecorder?: QueryRecorder;
|
|
53
53
|
/** Optional metrics collector for Server-Timing request counters. */
|
|
54
54
|
metrics?: RequestMetrics;
|
|
55
|
+
/** Page-cache invalidation supplied by the hosting framework. */
|
|
56
|
+
pageCache?: {
|
|
57
|
+
invalidate(options: {
|
|
58
|
+
tags: string[];
|
|
59
|
+
}): Promise<void>;
|
|
60
|
+
};
|
|
55
61
|
}
|
|
56
62
|
/**
|
|
57
63
|
* Run a function within a Dineway request context.
|
|
@@ -63,5 +69,7 @@ declare function runWithContext<T>(ctx: DinewayRequestContext, fn: () => T): T;
|
|
|
63
69
|
* Returns undefined if no context is set (logged-out fast path).
|
|
64
70
|
*/
|
|
65
71
|
declare function getRequestContext(): DinewayRequestContext | undefined;
|
|
72
|
+
/** Keep invalidation available during runtime initialization and route execution. */
|
|
73
|
+
declare function runWithPageCache<T>(cache: DinewayRequestContext["pageCache"], operation: () => T): T;
|
|
66
74
|
//#endregion
|
|
67
|
-
export { DinewayRequestContext, RequestMetrics, createRequestMetrics, getRequestContext, runWithContext };
|
|
75
|
+
export { DinewayRequestContext, RequestMetrics, createRequestMetrics, getRequestContext, runWithContext, runWithPageCache };
|
package/dist/request-context.mjs
CHANGED
|
@@ -49,6 +49,16 @@ function runWithContext(ctx, fn) {
|
|
|
49
49
|
function getRequestContext() {
|
|
50
50
|
return storage.getStore();
|
|
51
51
|
}
|
|
52
|
+
/** Keep invalidation available during runtime initialization and route execution. */
|
|
53
|
+
function runWithPageCache(cache, operation) {
|
|
54
|
+
const parent = getRequestContext();
|
|
55
|
+
if (parent?.pageCache === cache) return operation();
|
|
56
|
+
return runWithContext({
|
|
57
|
+
editMode: false,
|
|
58
|
+
...parent,
|
|
59
|
+
pageCache: cache
|
|
60
|
+
}, operation);
|
|
61
|
+
}
|
|
52
62
|
|
|
53
63
|
//#endregion
|
|
54
|
-
export { createRequestMetrics, getRequestContext, runWithContext };
|
|
64
|
+
export { createRequestMetrics, getRequestContext, runWithContext, runWithPageCache };
|
|
@@ -4,18 +4,18 @@ import { r as isI18nEnabled } from "./config-XW5tMrH8.mjs";
|
|
|
4
4
|
import { r as encodeBase64, t as decodeBase64 } from "./base64-Cz-aU0X1.mjs";
|
|
5
5
|
import { n as ScheduledNotDueError, t as DinewayValidationError } from "./types-BqxIv8Il.mjs";
|
|
6
6
|
import { t as contentWriteChecks } from "./atomic-authority-CnBQJ14T.mjs";
|
|
7
|
-
import { o as invalidateCollectionCache, s as invalidateCommentObjectCache } from "./object-cache-
|
|
7
|
+
import { o as invalidateCollectionCache, s as invalidateCommentObjectCache } from "./object-cache-DYGlsI-R.mjs";
|
|
8
8
|
import { t as RevisionRepository } from "./revision-090sZyGc.mjs";
|
|
9
|
-
import { t as ContentRepository } from "./content-
|
|
9
|
+
import { t as ContentRepository } from "./content-D_Q7BEGo.mjs";
|
|
10
10
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-BnG3LPMN.mjs";
|
|
11
11
|
import { t as UserRepository } from "./user-1-YV30lf.mjs";
|
|
12
12
|
import { n as stableStringify, t as buildStableHash } from "./stable-hash-DEtJgcp7.mjs";
|
|
13
13
|
import { t as RedirectRepository } from "./redirect-HLI3wT5Y.mjs";
|
|
14
14
|
import { r as requestCached } from "./request-cache-DPmV5nk4.mjs";
|
|
15
|
-
import { t as BylineRepository } from "./byline-
|
|
15
|
+
import { t as BylineRepository } from "./byline-BCPYEtzy.mjs";
|
|
16
16
|
import { r as parseAllowedMimeTypes, t as matchesMimeAllowlist } from "./mime-D_ae-u_U.mjs";
|
|
17
17
|
import { i as invalidateRedirectCache } from "./cache-DZDOBJv3.mjs";
|
|
18
|
-
import { t as SeoRepository } from "./seo-
|
|
18
|
+
import { t as SeoRepository } from "./seo-B3cQl1r2.mjs";
|
|
19
19
|
import { sql } from "kysely";
|
|
20
20
|
|
|
21
21
|
//#region src/api/rev.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as RejectedReviewContentError, r as ReviewRequestRepository } from "./review-requests-BF2eEKr8.mjs";
|
|
2
|
-
import { r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-
|
|
2
|
+
import { r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-CdXVheI1.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/review-requests.ts
|
|
5
5
|
async function handleReviewRequestCreate(db, handlers, input) {
|