dineway 0.2.5 → 0.2.6
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/schemas/index.d.mts +1 -1
- package/dist/api/schemas/index.mjs +2 -2
- package/dist/{api-C3-s1R27.mjs → api-B660nbLj.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 +7 -7
- package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
- package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
- package/dist/astro/routes/api/admin/briefing.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/index.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/bulk.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/index.mjs +2 -2
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +3 -3
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +5 -5
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +5 -5
- package/dist/astro/routes/api/admin/context/diff.mjs +5 -5
- package/dist/astro/routes/api/admin/context/index.mjs +5 -5
- package/dist/astro/routes/api/admin/context/stale.mjs +5 -5
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +4 -4
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +6 -6
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +6 -6
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +6 -6
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/updates.mjs +3 -3
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +4 -4
- package/dist/astro/routes/api/admin/review-requests/index.mjs +4 -4
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +3 -3
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/users/index.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/index.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/register-options.mjs +2 -2
- package/dist/astro/routes/api/auth/magic-link/send.mjs +2 -2
- package/dist/astro/routes/api/auth/me.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/request.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +6 -4
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +6 -4
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +6 -6
- package/dist/astro/routes/api/media/_id_/confirm.mjs +2 -2
- package/dist/astro/routes/api/media/_id_.mjs +2 -2
- package/dist/astro/routes/api/media/upload-url.mjs +2 -2
- package/dist/astro/routes/api/media.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/items.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_/translations.mjs +5 -5
- package/dist/astro/routes/api/menus/_name_.mjs +5 -5
- package/dist/astro/routes/api/menus/index.mjs +5 -5
- package/dist/astro/routes/api/openapi.json.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/index.mjs +2 -2
- package/dist/astro/routes/api/redirects/404s/summary.mjs +2 -2
- package/dist/astro/routes/api/redirects/_id_.mjs +5 -5
- package/dist/astro/routes/api/redirects/index.mjs +5 -5
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +3 -3
- package/dist/astro/routes/api/schema/collections/index.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/index.mjs +3 -3
- package/dist/astro/routes/api/search/enable.mjs +2 -2
- package/dist/astro/routes/api/search/index.mjs +2 -2
- package/dist/astro/routes/api/search/rebuild.mjs +2 -2
- package/dist/astro/routes/api/search/suggest.mjs +2 -2
- package/dist/astro/routes/api/sections/_slug_.mjs +5 -5
- package/dist/astro/routes/api/sections/index.mjs +5 -5
- package/dist/astro/routes/api/settings.mjs +5 -5
- package/dist/astro/routes/api/setup/admin-verify.mjs +2 -2
- package/dist/astro/routes/api/setup/admin.mjs +2 -2
- package/dist/astro/routes/api/setup/index.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +5 -5
- package/dist/astro/routes/api/taxonomies/index.mjs +5 -5
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +5 -5
- package/dist/astro/routes/api/widget-areas/_name_.mjs +3 -3
- package/dist/astro/routes/api/widget-areas/index.mjs +5 -5
- package/dist/astro/types.d.mts +2 -2
- package/dist/{byline-fields-Co_MIUWm.mjs → byline-fields-BRUB-Vla.mjs} +1 -1
- package/dist/{byline-fields-bnvqaEuF.d.mts → byline-fields-DS-K2aXR.d.mts} +90 -53
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/client/index.d.mts +6 -4
- package/dist/client/index.mjs +5 -3
- package/dist/{context-m06dNjS1.mjs → context-BQ8O8pqD.mjs} +1 -1
- package/dist/{hitl-requests-D8pHHlSA.mjs → hitl-requests-01Xe2FfD.mjs} +1 -1
- package/dist/{hitl-route-helpers-BIzP0Opq.mjs → hitl-route-helpers-vdROIary.mjs} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +6 -6
- package/dist/{jsonld-CG-hNWNO.d.mts → jsonld-Bn0uJ5Yz.d.mts} +1 -1
- package/dist/{mcp-reviewed-executor-DM53lZ9z.mjs → mcp-reviewed-executor-BCR-Pgtg.mjs} +2 -2
- 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/{public-url-Cqi7Ds4u.d.mts → public-url-D_iHIBiH.d.mts} +1 -1
- package/dist/{publication-authorization-BYieJR6-.mjs → publication-authorization-DP_I_Emr.mjs} +38 -9
- package/dist/{redirects-CALMB6T5.mjs → redirects-CWGZMRsj.mjs} +31 -2
- package/dist/runtime.d.mts +2 -2
- package/dist/{site-context-Bz8hdcZH.mjs → site-context-qU_bKUMe.mjs} +1 -1
- package/dist/{types-C-3YPdr-.d.mts → types-y0lpkCXC.d.mts} +32 -7
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/version-u-P3k0nP.mjs +6 -0
- package/package.json +3 -3
- package/dist/version-D9xoSUza.mjs +0 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as UpdateFieldInput, a as ColumnType, d as FieldType, f as FieldValidation, g as UpdateCollectionInput, h as RESERVED_FIELD_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as RESERVED_COLLECTION_SLUGS, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field } from "./types-ywmuDETA.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-GtwhHAg8.mjs";
|
|
3
|
-
import { $ as PluginMcpReversibility, $a as SandboxEmailSendCallback, $i as VerifyGuestAccessTokenOptions, $n as getAppliedSnapshotMeta, $o as CreateAssignmentInput, $r as SessionOpenOptions, $t as SuggestOptions, Aa as getCollectionInfo, Ai as ContentEntry, An as CreateMenuInput, Ao as handleContentUnpublish, Ar as createNodeSandboxRunner, At as isStandardPluginDefinition, B as PluginDefinition, Ba as RevisionListResponse, Bi as getEditMeta, Bn as getCommentCount, Bo as PortableTextBlock, Br as ValidatedPluginManifest, Bt as extractSearchableFields, C as ModerationDecision, Ca as getSection, Ci as invalidateTaxonomyObjectCache, Cn as TaxonomyTermRow, Co as handleContentList, Cr as CreateHandoffSnapshotInput, Ct as StandardHookHandler, D as PageMetadataContribution, Da as Section, Di as CacheHint, Dn as getEntriesByByline, Do as handleContentRestore, Dr as PublicationReleasePolicyContribution, Dt as StorageCollection, E as PageFragmentHandler, Ea as GetSectionsOptions, Ei as after, En as getBylineBySlug, Eo as handleContentPublish, Er as BuiltContentReleasePayload, Et as StandardRouteHandler, F as PluginAdminExports, Fa as handleMediaCreate, Fi as ResolvePathResult, Fn as ReorderMenuItemsInput, Fo as image, Fr as createPluginManager, Fs as FieldDescriptor, G as PluginMcpCommandTool, Ga as generateManifest, Gi as FieldAnnotation, Gn as getSiteSettings, Go as UpdateRelationInput, Gr as createFilePreviewMiddleware, Gt as searchWithDb, H as PluginManifest, Ha as handleRevisionGet, Hi as resolveDinewayPath, Hn as getPluginSetting, Ho as CreateRelationInput, Hr as runPluginMigrations, Ht as getSuggestions, I as PluginAdminPage, Ia as handleMediaDelete, Ii as TranslationSummary, In as UpdateMenuInput, Io as FieldDefinition, Ir as createReviewedPluginMcpCommandExecutor, Is as ListResponse, It as PublicationReleasePolicy, J as PluginMcpPiiClass, Ji as GuestAccessExpectedScope, Jn as renderPreviewToolbar, Jo as AssignmentActorType, Jr as SessionCleanupResult, Jt as SearchConfig, K as PluginMcpConfig, Ki as createEditable, Kn as setSiteSettings, Ko as Assignment, Kr as FileSessionDatabaseFactory, Kt as FTSManager, L as PluginAuthMethod, La as handleMediaGet, Li as TranslationsResult, Ln as UpdateMenuItemInput, Lo as FieldUIHints, Lr as PluginSecretStatus, Ls as ManifestResponse, Lt as PublicationReleasePreparationTarget, M as PluginActor, Ma as SchemaRegistry, Mi as EditFieldMeta, Mn as Menu, Mo as handleContentUpdate, Mr as SandboxNotAvailableError, Ms as ApiContext, Mt as PublicationReadinessBlocker, N as PluginActorType, Na as MediaListResponse, Ni as EntryResult, Nn as MenuItem, No as portableText, Nr as createNoopSandboxRunner, Ns as ContentListResponse, Nt as PublicationReadinessPolicyTarget, O as PageMetadataEvent, Oa as SectionSource, Oi as CollectionFilter, On as getMenu, Oo as handleContentSchedule, Or as buildStableActionHash, P as PluginAdminConfig, Pa as MediaResponse, Pi as InferCollectionData, Pn as MenuItemType, Po as reference, Pr as PluginManager, Ps as ContentResponse, Q as PluginMcpResourceContent, Qa as SandboxEmailMessage, Qi as IssuedGuestAccessToken, Qn as dropSessionDatabaseTables, Qo as AssignmentStatus, Qr as SessionDatabaseLimitError, Qt as SearchStats, R as PluginCapability, Ra as handleMediaList, Ri as getDinewayCollection, Rn as GetCommentsOptions, Ro as FileValue, Rr as PluginSecretStore, Rt as currentTimestamp, S as MediaUploadEvent, Sa as ProseMirrorNode, Si as invalidateSchemaObjectCache, Sn as TaxonomyTerm, So as handleContentGetIncludingTrashed, Sr as ResumeHandoffSnapshotInput, Ss as DinewayDatabaseError, St as StandardHookEntry, T as PageFragmentEvent, Ta as CreateSectionInput, Ti as AfterCallback, Tn as getByline, To as handleContentPermanentDelete, Tt as StandardRouteEntry, U as PluginMcpAuthorization, Ua as handleRevisionList, Ui as CMSAnnotation, Un as getPluginSettings, Uo as Relation, Ur as definePlugin, Ut as search, V as PluginHooks, Va as RevisionResponse, Vi as getTranslations, Vn as getComments, Vo as ContentReference, Vr as pluginManifestSchema, Vt as getSearchStats, W as PluginMcpCommandPreview, Wa as handleRevisionRestore, Wi as EditProxy, Wn as getSiteSetting, Wo as RelationRepository, Wr as FilePreviewMiddlewareConfig, Wt as searchCollection, X as PluginMcpQueryTool, Xa as HookResult, Xi as GuestAccessTokenConfigurationError, Xn as ApplySnapshotToDatabaseOptions, Xo as AssignmentPriority, Xr as SessionDatabaseHandle, Xt as SearchResponse, Y as PluginMcpPiiPolicy, Ya as HookPipeline, Yi as GuestAccessTokenClaims, Yn as AppliedSnapshotMeta, Yo as AssignmentListQuery, Yr as SessionDatabaseFactory, Yt as SearchOptions, Z as PluginMcpResource, Za as createHookPipeline, Zi as IssueGuestAccessTokenOptions, Zn as applySnapshotToDatabase, Zo as AssignmentRepository, Zr as SessionDatabaseInfo, Zt as SearchResult, _ as HookName, _a as PortableTextSpan, _i as invalidateBylineObjectCache, _n as getTaxonomyTerms, _o as handleContentCreate, _r as AssignmentListInput, _s as WhereRange, _t as ResolvedHook, a as CommentAfterModerateEvent, aa as checkRateLimit, ai as parsePreviewSignatureHeader, an as CreateWidgetInput, ar as GetPreviewUrlOptions, as as SiteActivityResultStatus, b as LogAccess, ba as ProseMirrorDocument, bi as invalidateMenuObjectCache, bn as CreateTermInput, bo as handleContentDuplicate, br as HandoffResumeResult, bs as getDb, bt as ResolvedPluginMcpConfig, c as CommentBeforeCreateHandler, ca as computeContentHash, ci as I18nConfig, cn as UpdateWidgetInput, co as PluginDescriptor, cr as GeneratePreviewTokenOptions, ct as PluginRouteMethod, d as ContentAccess, da as prosemirrorToPortableText, di as isI18nEnabled, dn as WidgetComponentDef, dr as VerifyPreviewTokenResult, ds as MediaItem, dt as PluginRouteTargetContext, ea as VerifyGuestAccessTokenResult, ei as SessionOpenOrCreateOptions, en as Suggestion, eo as SandboxOptions, er as Snapshot, es as MarkAssignmentsOverdueInput, et as PluginMcpRiskFactor, f as ContentDeleteEvent, fa as PortableTextCodeBlock, fi as CacheNamespace, fn as WidgetType, fr as generatePreviewToken, fs as MediaRepository, ft as PluginStorageConfig, g as HookConfig, ga as PortableTextMarkDef, gi as contentNamespaces, gn as getTaxonomyDefs, go as handleContentCountTrashed, gr as AssignmentActionInput, gs as EntryFilter, gt as PublicPageContext, h as FieldWidgetConfig, ha as PortableTextLinkMark, hi as contentNamespace, hn as getTaxonomyDef, ho as handleContentCountScheduled, hr as AssignmentAccessContext, hs as EntryData, ht as PortableTextBlockField, i as CommentAfterCreateHandler, ia as RateLimitResult, ii as defaultPreviewSidecarClient, in as CreateWidgetAreaInput, io as SerializedRequest, ir as isPreviewRequest, is as SiteActivityRepository, it as PluginRoute, j as PagePlacement, ja as SchemaError, ji as DinewayCollections, jn as CreateMenuItemInput, jo as handleContentUnschedule, jr as NoopSandboxRunner, k as PageMetadataHandler, ka as UpdateSectionInput, ki as CollectionResult, kn as getMenus, ko as handleContentTranslations, kr as NodeSandboxRunner, kt as StoredComment, l as CommentModerateEvent, la as hashString, li as getFallbackChain, ln as Widget, lr as PreviewTokenPayload, ls as RevisionRepository, lt as PluginRouteTargetAuthorizationRequest, m as ContentPublishStateChangeEvent, ma as PortableTextImageBlock, mi as cachedQuery, mn as getEntryTerms, mo as handleContentCompare, mr as verifyPreviewToken, ms as CollectionFilter$1, mt as PortableTextBlockConfig, n as CollectionCommentSettings, na as issueGuestAccessToken, ni as PreviewSidecarSignature, nn as getWidgetAreas, no as SandboxRunnerFactory, nr as isBlockedInPreview, ns as SiteActivity, nt as PluginMcpTool, o as CommentAfterModerateHandler, oa as isSafeHref, oi as signPreviewUrl, on as PropDef, oo as PluginMcpTargetAuthorizer, or as buildPreviewUrl, os as SiteActivitySourceType, ot as PluginRouteAuthorization, p as ContentHookEvent, pa as PortableTextHtmlBlock, pi as CachedQueryOptions, pn as getEntriesByTerm, po as handleContentAuthors, pr as parseContentId, ps as ContentRepository, pt as PluginTargetScope, q as PluginMcpExecutionContext, qa as PluginRouteError, qi as createNoop, qn as PreviewToolbarConfig, qo as AssignmentActorRef, qr as FileSessionDatabaseFactoryOptions, qt as CollectionSearchOptions, r as CommentAfterCreateEvent, ra as verifyGuestAccessToken, ri as buildPreviewSignatureHeader, rn as getWidgetComponents, ro as SandboxedPlugin, rr as getPreviewToken, rs as SiteActivityActorType, rt as PluginMigration, s as CommentBeforeCreateEvent, sa as sanitizeHref, si as verifyPreviewSignature, sn as ReorderWidgetsInput, sr as getPreviewUrl, ss as SiteActivityTimelineQuery, st as PluginRouteBodyMode, t as BreadcrumbItem, ta as hashGuestAccessToken, ti as PreviewSidecarClient, tn as getWidgetArea, to as SandboxRunner, tr as renderPreviewLoadingPage, ts as CreateSiteActivityInput, tt as PluginMcpRiskLevel, u as CommentModerateHandler, ua as portableTextToProsemirror, ui as getI18nConfig, un as WidgetArea, ur as VerifyPreviewTokenOptions, us as CreateMediaInput, ut as PluginRouteTargetAuthorizer, v as HttpAccess, va as PortableTextTextBlock, vi as invalidateCollectionCache, vn as getTerm, vo as handleContentDelete, vr as AssignmentService, vs as WhereValue, vt as ResolvedPlugin, w as PageFragmentContribution, wa as getSections, wi as isObjectCacheActive, wn as UpdateTermInput, wo as handleContentListTrashed, wr as HandoffSnapshot, wt as StandardPluginDefinition, x as MediaAccess, xa as ProseMirrorMark, xi as invalidateObjectCache, xn as TaxonomyDef, xo as handleContentGet, xr as HandoffSnapshotStore, xs as DatabaseConfig, xt as RouteContext, y as KVAccess, ya as PortableTextUnknownBlock, yi as invalidateCommentObjectCache, yn as getTermsForEntries, yo as handleContentDiscardDraft, yr as CreateWorkflowAssignmentInput, yt as ResolvedPluginHooks, z as PluginContext, za as handleMediaUpdate, zi as getDinewayEntry, zn as GetCommentsResult, zo as ImageValue, zr as PluginSecretStoreOptions, zt as extractPlainText } from "./types-C-3YPdr-.mjs";
|
|
3
|
+
import { $ as PluginMcpReversibility, $i as GuestAccessExpectedScope, $n as AppliedSnapshotMeta, $o as AssignmentActorType, $r as SessionCleanupResult, $t as SearchOptions, Aa as CreateSectionInput, Ai as AfterCallback, An as getBylineBySlug, Ao as handleContentPermanentDelete, Ar as BuiltContentReleasePayload, At as isStandardPluginDefinition, B as PluginDefinition, Ba as handleMediaCreate, Bi as ResolvePathResult, Bn as UpdateMenuInput, Bo as image, Br as createPluginManager, Bs as FieldDescriptor, Bt as PublicationReleasePolicy, C as ModerationDecision, Ca as PortableTextTextBlock, Ci as invalidateCollectionCache, Cn as getTermsForEntries, Co as handleContentDelete, Cr as CreateWorkflowAssignmentInput, Cs as WhereValue, Ct as StandardHookHandler, D as PageMetadataContribution, Da as ProseMirrorNode, Di as invalidateSchemaObjectCache, Dn as TaxonomyTermRow, Do as handleContentGetIncludingTrashed, Dr as CreateHandoffSnapshotInput, Ds as DinewayDatabaseError, Dt as StorageCollection, E as PageFragmentHandler, Ea as ProseMirrorMark, Ei as invalidateObjectCache, En as TaxonomyTerm, Eo as handleContentGet, Er as ResumeHandoffSnapshotInput, Es as DatabaseConfig, Et as StandardRouteHandler, F as PluginAdminExports, Fa as getCollectionInfo, Fi as ContentEntry, Fn as CreateMenuItemInput, Fo as handleContentUnpublish, Fr as createNodeSandboxRunner, Ft as PublicationReadinessPolicyFinding, G as PluginMcpCommandTool, Ga as RevisionListResponse, Gi as getEditMeta, Gn as getComments, Go as PortableTextBlock, Gr as ValidatedPluginManifest, Gt as getSearchStats, H as PluginManifest, Ha as handleMediaGet, Hi as TranslationsResult, Hn as GetCommentsOptions, Ho as FieldUIHints, Hr as PluginSecretStatus, Hs as ManifestResponse, Ht as currentTimestamp, I as PluginAdminPage, Ia as SchemaError, Ii as DinewayCollections, In as Menu, Io as handleContentUnschedule, Ir as NoopSandboxRunner, It as PublicationReadinessPolicyTarget, J as PluginMcpPiiClass, Ja as handleRevisionList, Ji as CMSAnnotation, Jn as getSiteSetting, Jo as Relation, Jr as definePlugin, Jt as searchCollection, K as PluginMcpConfig, Ka as RevisionResponse, Ki as getTranslations, Kn as getPluginSetting, Ko as ContentReference, Kr as pluginManifestSchema, Kt as getSuggestions, L as PluginAuthMethod, La as SchemaRegistry, Li as EditFieldMeta, Ln as MenuItem, Lo as handleContentUpdate, Lr as SandboxNotAvailableError, Ls as ApiContext, M as PluginActor, Ma as Section, Mi as CacheHint, Mn as getMenu, Mo as handleContentRestore, Mr as PublicationReleasePolicyDisposition, Mt as PublicationPolicyOverride, N as PluginActorType, Na as SectionSource, Ni as CollectionFilter, Nn as getMenus, No as handleContentSchedule, Nr as buildStableActionHash, Nt as PublicationReadinessBlocker, O as PageMetadataEvent, Oa as getSection, Oi as invalidateTaxonomyObjectCache, On as UpdateTermInput, Oo as handleContentList, Or as HandoffSnapshot, P as PluginAdminConfig, Pa as UpdateSectionInput, Pi as CollectionResult, Pn as CreateMenuInput, Po as handleContentTranslations, Pr as NodeSandboxRunner, Pt as PublicationReadinessPolicyBlocker, Q as PluginMcpResourceContent, Qa as PluginRouteError, Qi as createNoop, Qn as renderPreviewToolbar, Qo as AssignmentActorRef, Qr as FileSessionDatabaseFactoryOptions, Qt as SearchConfig, R as PluginCapability, Ra as MediaListResponse, Ri as EntryResult, Rn as MenuItemType, Ro as portableText, Rr as createNoopSandboxRunner, Rs as ContentListResponse, Rt as PublicationReadinessWarning, S as MediaUploadEvent, Sa as PortableTextSpan, Si as invalidateBylineObjectCache, Sn as getTerm, So as handleContentCreate, Sr as AssignmentService, Ss as WhereRange, St as StandardHookEntry, T as PageFragmentEvent, Ta as ProseMirrorDocument, Ti as invalidateMenuObjectCache, Tn as TaxonomyDef, To as handleContentDuplicate, Tr as HandoffSnapshotStore, Ts as getDb, Tt as StandardRouteEntry, U as PluginMcpAuthorization, Ua as handleMediaList, Ui as getDinewayCollection, Un as GetCommentsResult, Uo as FileValue, Ur as PluginSecretStore, Ut as extractPlainText, V as PluginHooks, Va as handleMediaDelete, Vi as TranslationSummary, Vn as UpdateMenuItemInput, Vo as FieldDefinition, Vr as createReviewedPluginMcpCommandExecutor, Vs as ListResponse, Vt as PublicationReleasePreparationTarget, W as PluginMcpCommandPreview, Wa as handleMediaUpdate, Wi as getDinewayEntry, Wn as getCommentCount, Wo as ImageValue, Wr as PluginSecretStoreOptions, Wt as extractSearchableFields, X as PluginMcpQueryTool, Xa as generateManifest, Xi as FieldAnnotation, Xn as setSiteSettings, Xo as UpdateRelationInput, Xr as createFilePreviewMiddleware, Xt as FTSManager, Y as PluginMcpPiiPolicy, Ya as handleRevisionRestore, Yi as EditProxy, Yn as getSiteSettings, Yo as RelationRepository, Yr as FilePreviewMiddlewareConfig, Yt as searchWithDb, Z as PluginMcpResource, Zi as createEditable, Zn as PreviewToolbarConfig, Zo as Assignment, Zr as FileSessionDatabaseFactory, Zt as CollectionSearchOptions, _ as HookName, _a as PortableTextCodeBlock, _i as CacheNamespace, _n as getEntriesByTerm, _r as parseContentId, _s as MediaRepository, _t as ResolvedHook, a as CommentAfterModerateEvent, aa as VerifyGuestAccessTokenResult, ai as SessionOpenOrCreateOptions, an as getWidgetArea, ao as SandboxOptions, ar as renderPreviewLoadingPage, as as MarkAssignmentsOverdueInput, b as LogAccess, ba as PortableTextLinkMark, bi as contentNamespace, bn as getTaxonomyDefs, bo as handleContentCountScheduled, br as AssignmentActionInput, bs as EntryData, bt as ResolvedPluginMcpConfig, c as CommentBeforeCreateHandler, ca as verifyGuestAccessToken, ci as buildPreviewSignatureHeader, cn as CreateWidgetAreaInput, co as SandboxedPlugin, cr as isPreviewRequest, cs as SiteActivityActorType, ct as PluginRouteMethod, d as ContentAccess, da as isSafeHref, di as signPreviewUrl, dn as ReorderWidgetsInput, do as PluginMcpTargetAuthorizer, dr as getPreviewUrl, ds as SiteActivitySourceType, dt as PluginRouteTargetContext, ea as GuestAccessTokenClaims, ei as SessionDatabaseFactory, en as SearchResponse, eo as HookPipeline, er as ApplySnapshotToDatabaseOptions, es as AssignmentListQuery, et as PluginMcpRiskFactor, f as ContentDeleteEvent, fa as sanitizeHref, fi as verifyPreviewSignature, fn as UpdateWidgetInput, fr as GeneratePreviewTokenOptions, fs as SiteActivityTimelineQuery, ft as PluginStorageConfig, g as HookConfig, ga as prosemirrorToPortableText, gi as isI18nEnabled, gn as WidgetType, gr as generatePreviewToken, gs as MediaItem, gt as PublicPageContext, h as FieldWidgetConfig, ha as portableTextToProsemirror, hi as getI18nConfig, hn as WidgetComponentDef, hr as VerifyPreviewTokenResult, hs as CreateMediaInput, ht as PortableTextBlockField, i as CommentAfterCreateHandler, ia as VerifyGuestAccessTokenOptions, ii as SessionOpenOptions, in as Suggestion, io as SandboxEmailSendCallback, ir as Snapshot, is as CreateAssignmentInput, it as PluginRoute, j as PagePlacement, ja as GetSectionsOptions, ji as after, jn as getEntriesByByline, jo as handleContentPublish, jr as PublicationReleasePolicyContribution, k as PageMetadataHandler, ka as getSections, ki as isObjectCacheActive, kn as getByline, ko as handleContentListTrashed, kt as StoredComment, l as CommentModerateEvent, la as RateLimitResult, li as defaultPreviewSidecarClient, ln as CreateWidgetInput, lo as SerializedRequest, lr as GetPreviewUrlOptions, ls as SiteActivityRepository, lt as PluginRouteTargetAuthorizationRequest, m as ContentPublishStateChangeEvent, ma as hashString, mi as getFallbackChain, mn as WidgetArea, mr as VerifyPreviewTokenOptions, ms as RevisionRepository, mt as PortableTextBlockConfig, n as CollectionCommentSettings, na as IssueGuestAccessTokenOptions, ni as SessionDatabaseInfo, nn as SearchStats, no as createHookPipeline, nr as dropSessionDatabaseTables, ns as AssignmentRepository, nt as PluginMcpTool, o as CommentAfterModerateHandler, oa as hashGuestAccessToken, oi as PreviewSidecarClient, on as getWidgetAreas, oo as SandboxRunner, or as isBlockedInPreview, os as CreateSiteActivityInput, ot as PluginRouteAuthorization, p as ContentHookEvent, pa as computeContentHash, pi as I18nConfig, pn as Widget, po as PluginDescriptor, pr as PreviewTokenPayload, pt as PluginTargetScope, q as PluginMcpExecutionContext, qa as handleRevisionGet, qi as resolveDinewayPath, qn as getPluginSettings, qo as CreateRelationInput, qr as runPluginMigrations, qt as search, r as CommentAfterCreateEvent, ra as IssuedGuestAccessToken, ri as SessionDatabaseLimitError, rn as SuggestOptions, ro as SandboxEmailMessage, rr as getAppliedSnapshotMeta, rs as AssignmentStatus, rt as PluginMigration, s as CommentBeforeCreateEvent, sa as issueGuestAccessToken, si as PreviewSidecarSignature, sn as getWidgetComponents, so as SandboxRunnerFactory, sr as getPreviewToken, ss as SiteActivity, st as PluginRouteBodyMode, t as BreadcrumbItem, ta as GuestAccessTokenConfigurationError, ti as SessionDatabaseHandle, tn as SearchResult, to as HookResult, tr as applySnapshotToDatabase, ts as AssignmentPriority, tt as PluginMcpRiskLevel, u as CommentModerateHandler, ua as checkRateLimit, ui as parsePreviewSignatureHeader, un as PropDef, ur as buildPreviewUrl, us as SiteActivityResultStatus, ut as PluginRouteTargetAuthorizer, v as HttpAccess, va as PortableTextHtmlBlock, vi as CachedQueryOptions, vn as getEntryTerms, vo as handleContentAuthors, vr as verifyPreviewToken, vs as ContentRepository, vt as ResolvedPlugin, w as PageFragmentContribution, wa as PortableTextUnknownBlock, wi as invalidateCommentObjectCache, wn as CreateTermInput, wo as handleContentDiscardDraft, wr as HandoffResumeResult, wt as StandardPluginDefinition, x as MediaAccess, xa as PortableTextMarkDef, xi as contentNamespaces, xn as getTaxonomyTerms, xo as handleContentCountTrashed, xr as AssignmentListInput, xs as EntryFilter, xt as RouteContext, y as KVAccess, ya as PortableTextImageBlock, yi as cachedQuery, yn as getTaxonomyDef, yo as handleContentCompare, yr as AssignmentAccessContext, ys as CollectionFilter$1, yt as ResolvedPluginHooks, z as PluginContext, za as MediaResponse, zi as InferCollectionData, zn as ReorderMenuItemsInput, zo as reference, zr as PluginManager, zs as ContentResponse } from "./types-y0lpkCXC.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-BFeoAIHl.mjs";
|
|
5
5
|
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-C6ZjZcmJ.mjs";
|
|
6
6
|
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-Bcy5w0vj.mjs";
|
|
@@ -10,11 +10,11 @@ import { a as SqliteConfig, i as PostgresConfig, n as DatabaseDialectType, r as
|
|
|
10
10
|
import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCacheDescriptor } from "./types-CDcuRd4z.mjs";
|
|
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-YxFz4lDr.mjs";
|
|
12
12
|
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-YiX3rly5.mjs";
|
|
13
|
-
import "./byline-fields-
|
|
13
|
+
import "./byline-fields-DS-K2aXR.mjs";
|
|
14
14
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
15
15
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
16
16
|
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-BsTXSvKG.mjs";
|
|
17
17
|
import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
18
18
|
import "./seed/index.mjs";
|
|
19
19
|
import { ulid } from "ulidx";
|
|
20
|
-
export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type Assignment, type AssignmentAccessContext, type AssignmentActionInput, type AssignmentActorRef, type AssignmentActorType, type AssignmentListInput, type AssignmentListQuery, type AssignmentPriority, AssignmentRepository, AssignmentService, type AssignmentStatus, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BuiltContentReleasePayload, BylineRepository, type BylineSummary, type CMSAnnotation, type CacheHint, CacheNamespace, type CachedQueryOptions, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentBylineInput, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, type ContentReference, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateAssignmentInput, type CreateBylineInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateHandoffSnapshotInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRelationInput, type CreateSectionInput, type CreateSiteActivityInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CreateWorkflowAssignmentInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type GuestAccessExpectedScope, type GuestAccessTokenClaims, GuestAccessTokenConfigurationError, type HandoffResumeResult, type HandoffSnapshot, HandoffSnapshotStore, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type IssueGuestAccessTokenOptions, type IssuedGuestAccessToken, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MarkAssignmentsOverdueInput, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type ObjectCacheBackend, type ObjectCacheDescriptor, type ObjectCacheRuntimeConfig, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginActor, type PluginActorType, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginAuthMethod, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginMcpAuthorization, type PluginMcpCommandPreview, type PluginMcpCommandTool, type PluginMcpConfig, type PluginMcpExecutionContext, type PluginMcpPiiClass, type PluginMcpPiiPolicy, type PluginMcpQueryTool, type PluginMcpResource, type PluginMcpResourceContent, type PluginMcpReversibility, type PluginMcpRiskFactor, type PluginMcpRiskLevel, type PluginMcpTargetAuthorizer, type PluginMcpTool, type PluginMigration, type PluginRoute, type PluginRouteAuthorization, type PluginRouteBodyMode, PluginRouteError, type PluginRouteMethod, type PluginRouteTargetAuthorizationRequest, type PluginRouteTargetAuthorizer, type PluginRouteTargetContext, type PluginSecretStatus, PluginSecretStore, type PluginSecretStoreOptions, type PluginStorageConfig, type PluginTargetScope, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, type PublicationReadinessBlocker, type PublicationReadinessPolicyTarget, type PublicationReleasePolicy, type PublicationReleasePolicyContribution, type PublicationReleasePreparationTarget, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type RateLimitResult, type Relation, RelationRepository, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type ResolvedPluginMcpConfig, type RestaurantCapacityCounterTable, type RestaurantCapacityOverrideTable, type RestaurantCartHoldTable, type RestaurantClosureTable, type RestaurantDeliverySettingsTable, type RestaurantDeliveryZoneTable, type RestaurantDineInSessionTable, type RestaurantDineInSettingsTable, type RestaurantFulfilmentType, type RestaurantGiftCardLedgerEntryTable, type RestaurantGiftCardTable, type RestaurantGuestAccessTable, type RestaurantHoursOverrideTable, type RestaurantHoursTable, type RestaurantLocationMembershipTable, type RestaurantLocationTable, type RestaurantMenuItemModifierGroupTable, type RestaurantMenuItemTable, type RestaurantMenuItemTranslationTable, type RestaurantMenuLocationAssignmentTable, type RestaurantMenuOverrideTable, type RestaurantMenuSectionItemTable, type RestaurantMenuSectionTable, type RestaurantMenuTable, type RestaurantModifierGroupTable, type RestaurantModifierOptionTable, type RestaurantNotificationSettingsTable, type RestaurantOperatingSettingsTable, type RestaurantOrderItemModifierTable, type RestaurantOrderItemTable, type RestaurantOrderSequenceTable, type RestaurantOrderSnapshotTable, type RestaurantOrderSource, type RestaurantOrderStatus, type RestaurantOrderStatusHistoryTable, type RestaurantOrderTable, type RestaurantOutboxDeliveryTable, type RestaurantPaymentFlow, type RestaurantPaymentStatus, type RestaurantPaymentTable, type RestaurantPriorityAlertDeliveryTable, type RestaurantPriorityAlertOpportunityTable, type RestaurantPriorityAlertTable, type RestaurantRefundTable, type RestaurantReservationAddonCategoryTable, type RestaurantReservationAddonTable, type RestaurantReservationBlockTable, type RestaurantReservationDemandSettingsTable, type RestaurantReservationExperienceAddonCategoryTable, type RestaurantReservationExperienceIncludedAddonTable, type RestaurantReservationExperienceTable, type RestaurantReservationGiftCardAllocationTable, type RestaurantReservationGiftCardOperationTable, type RestaurantReservationHoldAddonOperationTable, type RestaurantReservationHoldAddonTable, type RestaurantReservationHoldCommercialSelectionTable, type RestaurantReservationHoldTable, type RestaurantReservationLanguageSettingsTable, type RestaurantReservationOfferLinkDeliveryTable, type RestaurantReservationOfferTable, type RestaurantReservationPaymentPolicyTable, type RestaurantReservationPromotionAllocationTable, type RestaurantReservationPromotionOperationTable, type RestaurantReservationPromotionTable, type RestaurantReservationQuoteCheckoutTable, type RestaurantReservationQuoteLineTable, type RestaurantReservationQuoteTable, type RestaurantReservationRequestTable, type RestaurantReservationRequestTableAssignmentTable, type RestaurantReservationSettingsTable, type RestaurantReservationStatus, type RestaurantReservationTable, type RestaurantReservationTableAssignmentTable, type RestaurantServiceScope, type RestaurantSpecialHoursTable, type RestaurantTabRoundTable, type RestaurantTableTable, type RestaurantTaxMode, type RestaurantZoneTable, type ResumeHandoffSnapshotInput, type RevisionListResponse, RevisionRepository, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, ScheduledNotDueError, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteActivity, type SiteActivityActorType, SiteActivityRepository, type SiteActivityResultStatus, type SiteActivitySourceType, type SiteActivityTimelineQuery, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateBylineInput, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateRelationInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VenueAvailabilityBlockTable, type VenueAvailabilityRuleTable, type VenueBookingHoldTable, type VenueBookingMode, type VenueBookingPolicyTable, type VenueCancellationPolicyTable, type VenueCancellationPolicyTierTable, type VenueConversationReadTable, type VenueConversationTable, type VenueGuestAccessTable, type VenueLocationMembershipTable, type VenueLocationTable, type VenueMessageTable, type VenueNotificationSettingsTable, type VenueOrderCancellationSnapshotTable, type VenueOrderStatus, type VenueOrderStatusHistoryTable, type VenueOrderTable, type VenueOutboxEventTable, type VenuePaymentAllocationStatus, type VenuePaymentAllocationTable, type VenuePaymentCollection, type VenuePaymentEventTable, type VenuePaymentRecordStatus, type VenuePaymentStatus, type VenuePaymentTable, type VenueQuoteLineTable, type VenueQuoteRecordStatus, type VenueQuoteStatus, type VenueQuoteTable, type VenueRatePlanTable, type VenueRecordStatus, type VenueRefundTable, type VenueReviewInvitationTable, type VenueReviewResponseTable, type VenueReviewTable, type VenueSpaceLayoutTable, type VenueSpaceTable, type VenueTable, type VerifyGuestAccessTokenOptions, type VerifyGuestAccessTokenResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, buildStableActionHash, cachedQuery, checkRateLimit, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, createReviewedPluginMcpCommandExecutor, currentTimestamp, decodeCursor, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, encodeCursor, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashGuestAccessToken, hashString, image, importReusableBlocksAsSections, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, isBlockedInPreview, isI18nEnabled, isObjectCacheActive, isPreviewRequest, isSafeHref, isStandardPluginDefinition, issueGuestAccessToken, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runPluginMigrations, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyGuestAccessToken, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
20
|
+
export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type Assignment, type AssignmentAccessContext, type AssignmentActionInput, type AssignmentActorRef, type AssignmentActorType, type AssignmentListInput, type AssignmentListQuery, type AssignmentPriority, AssignmentRepository, AssignmentService, type AssignmentStatus, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BuiltContentReleasePayload, BylineRepository, type BylineSummary, type CMSAnnotation, type CacheHint, CacheNamespace, type CachedQueryOptions, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentBylineInput, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, type ContentReference, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateAssignmentInput, type CreateBylineInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateHandoffSnapshotInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRelationInput, type CreateSectionInput, type CreateSiteActivityInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CreateWorkflowAssignmentInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type GuestAccessExpectedScope, type GuestAccessTokenClaims, GuestAccessTokenConfigurationError, type HandoffResumeResult, type HandoffSnapshot, HandoffSnapshotStore, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type IssueGuestAccessTokenOptions, type IssuedGuestAccessToken, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MarkAssignmentsOverdueInput, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type ObjectCacheBackend, type ObjectCacheDescriptor, type ObjectCacheRuntimeConfig, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginActor, type PluginActorType, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginAuthMethod, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginMcpAuthorization, type PluginMcpCommandPreview, type PluginMcpCommandTool, type PluginMcpConfig, type PluginMcpExecutionContext, type PluginMcpPiiClass, type PluginMcpPiiPolicy, type PluginMcpQueryTool, type PluginMcpResource, type PluginMcpResourceContent, type PluginMcpReversibility, type PluginMcpRiskFactor, type PluginMcpRiskLevel, type PluginMcpTargetAuthorizer, type PluginMcpTool, type PluginMigration, type PluginRoute, type PluginRouteAuthorization, type PluginRouteBodyMode, PluginRouteError, type PluginRouteMethod, type PluginRouteTargetAuthorizationRequest, type PluginRouteTargetAuthorizer, type PluginRouteTargetContext, type PluginSecretStatus, PluginSecretStore, type PluginSecretStoreOptions, type PluginStorageConfig, type PluginTargetScope, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, type PublicationPolicyOverride, type PublicationReadinessBlocker, type PublicationReadinessPolicyBlocker, type PublicationReadinessPolicyFinding, type PublicationReadinessPolicyTarget, type PublicationReadinessWarning, type PublicationReleasePolicy, type PublicationReleasePolicyContribution, type PublicationReleasePolicyDisposition, type PublicationReleasePreparationTarget, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type RateLimitResult, type Relation, RelationRepository, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type ResolvedPluginMcpConfig, type RestaurantCapacityCounterTable, type RestaurantCapacityOverrideTable, type RestaurantCartHoldTable, type RestaurantClosureTable, type RestaurantDeliverySettingsTable, type RestaurantDeliveryZoneTable, type RestaurantDineInSessionTable, type RestaurantDineInSettingsTable, type RestaurantFulfilmentType, type RestaurantGiftCardLedgerEntryTable, type RestaurantGiftCardTable, type RestaurantGuestAccessTable, type RestaurantHoursOverrideTable, type RestaurantHoursTable, type RestaurantLocationMembershipTable, type RestaurantLocationTable, type RestaurantMenuItemModifierGroupTable, type RestaurantMenuItemTable, type RestaurantMenuItemTranslationTable, type RestaurantMenuLocationAssignmentTable, type RestaurantMenuOverrideTable, type RestaurantMenuSectionItemTable, type RestaurantMenuSectionTable, type RestaurantMenuTable, type RestaurantModifierGroupTable, type RestaurantModifierOptionTable, type RestaurantNotificationSettingsTable, type RestaurantOperatingSettingsTable, type RestaurantOrderItemModifierTable, type RestaurantOrderItemTable, type RestaurantOrderSequenceTable, type RestaurantOrderSnapshotTable, type RestaurantOrderSource, type RestaurantOrderStatus, type RestaurantOrderStatusHistoryTable, type RestaurantOrderTable, type RestaurantOutboxDeliveryTable, type RestaurantPaymentFlow, type RestaurantPaymentStatus, type RestaurantPaymentTable, type RestaurantPriorityAlertDeliveryTable, type RestaurantPriorityAlertOpportunityTable, type RestaurantPriorityAlertTable, type RestaurantRefundTable, type RestaurantReservationAddonCategoryTable, type RestaurantReservationAddonTable, type RestaurantReservationBlockTable, type RestaurantReservationDemandSettingsTable, type RestaurantReservationExperienceAddonCategoryTable, type RestaurantReservationExperienceIncludedAddonTable, type RestaurantReservationExperienceTable, type RestaurantReservationGiftCardAllocationTable, type RestaurantReservationGiftCardOperationTable, type RestaurantReservationHoldAddonOperationTable, type RestaurantReservationHoldAddonTable, type RestaurantReservationHoldCommercialSelectionTable, type RestaurantReservationHoldTable, type RestaurantReservationLanguageSettingsTable, type RestaurantReservationOfferLinkDeliveryTable, type RestaurantReservationOfferTable, type RestaurantReservationPaymentPolicyTable, type RestaurantReservationPromotionAllocationTable, type RestaurantReservationPromotionOperationTable, type RestaurantReservationPromotionTable, type RestaurantReservationQuoteCheckoutTable, type RestaurantReservationQuoteLineTable, type RestaurantReservationQuoteTable, type RestaurantReservationRequestTable, type RestaurantReservationRequestTableAssignmentTable, type RestaurantReservationSettingsTable, type RestaurantReservationStatus, type RestaurantReservationTable, type RestaurantReservationTableAssignmentTable, type RestaurantServiceScope, type RestaurantSpecialHoursTable, type RestaurantTabRoundTable, type RestaurantTableTable, type RestaurantTaxMode, type RestaurantZoneTable, type ResumeHandoffSnapshotInput, type RevisionListResponse, RevisionRepository, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, ScheduledNotDueError, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteActivity, type SiteActivityActorType, SiteActivityRepository, type SiteActivityResultStatus, type SiteActivitySourceType, type SiteActivityTimelineQuery, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateBylineInput, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateRelationInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VenueAvailabilityBlockTable, type VenueAvailabilityRuleTable, type VenueBookingHoldTable, type VenueBookingMode, type VenueBookingPolicyTable, type VenueCancellationPolicyTable, type VenueCancellationPolicyTierTable, type VenueConversationReadTable, type VenueConversationTable, type VenueGuestAccessTable, type VenueLocationMembershipTable, type VenueLocationTable, type VenueMessageTable, type VenueNotificationSettingsTable, type VenueOrderCancellationSnapshotTable, type VenueOrderStatus, type VenueOrderStatusHistoryTable, type VenueOrderTable, type VenueOutboxEventTable, type VenuePaymentAllocationStatus, type VenuePaymentAllocationTable, type VenuePaymentCollection, type VenuePaymentEventTable, type VenuePaymentRecordStatus, type VenuePaymentStatus, type VenuePaymentTable, type VenueQuoteLineTable, type VenueQuoteRecordStatus, type VenueQuoteStatus, type VenueQuoteTable, type VenueRatePlanTable, type VenueRecordStatus, type VenueRefundTable, type VenueReviewInvitationTable, type VenueReviewResponseTable, type VenueReviewTable, type VenueSpaceLayoutTable, type VenueSpaceTable, type VenueTable, type VerifyGuestAccessTokenOptions, type VerifyGuestAccessTokenResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, buildStableActionHash, cachedQuery, checkRateLimit, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, createReviewedPluginMcpCommandExecutor, currentTimestamp, decodeCursor, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, encodeCursor, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashGuestAccessToken, hashString, image, importReusableBlocksAsSections, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, isBlockedInPreview, isI18nEnabled, isObjectCacheActive, isPreviewRequest, isSafeHref, isStandardPluginDefinition, issueGuestAccessToken, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runPluginMigrations, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyGuestAccessToken, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
package/dist/index.mjs
CHANGED
|
@@ -19,8 +19,8 @@ import "./options-DQPTH5n0.mjs";
|
|
|
19
19
|
import "./audit-BzhwRVym.mjs";
|
|
20
20
|
import { t as SiteActivityRepository } from "./site-activity-BVK40wCy.mjs";
|
|
21
21
|
import "./review-requests-CObSuTYU.mjs";
|
|
22
|
-
import "./publication-authorization-
|
|
23
|
-
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-
|
|
22
|
+
import "./publication-authorization-DP_I_Emr.mjs";
|
|
23
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-qU_bKUMe.mjs";
|
|
24
24
|
import "./context-DT0tIsfw.mjs";
|
|
25
25
|
import "./menus-LYALU2Mf.mjs";
|
|
26
26
|
import "./redirect-DoDgOWIA.mjs";
|
|
@@ -32,7 +32,7 @@ import { t as BylineRepository } from "./byline-BJa1MyKB.mjs";
|
|
|
32
32
|
import { n as normalizeMediaValue } from "./normalize-Cyt7JdF7.mjs";
|
|
33
33
|
import { n as generatePlaceholder } from "./enrich-Ck9tfMqe.mjs";
|
|
34
34
|
import "./seo-D1RiaooQ.mjs";
|
|
35
|
-
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-
|
|
35
|
+
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-B660nbLj.mjs";
|
|
36
36
|
import "./dashboard-YvDEYbS3.mjs";
|
|
37
37
|
import "./briefing-GFhLTLJo.mjs";
|
|
38
38
|
import "./context-types-eBuMDAg-.mjs";
|
|
@@ -62,8 +62,8 @@ import { r as isStandardPluginDefinition } from "./types-CK0r-Xq4.mjs";
|
|
|
62
62
|
import { i as pluginManifestSchema } from "./manifest-schema-DKa3ZaJL.mjs";
|
|
63
63
|
import { t as DinewayStorageError } from "./types-gvNBqijt.mjs";
|
|
64
64
|
import "./parse-B-Y84oJl.mjs";
|
|
65
|
-
import "./redirects-
|
|
66
|
-
import "./byline-fields-
|
|
65
|
+
import "./redirects-CWGZMRsj.mjs";
|
|
66
|
+
import "./byline-fields-BRUB-Vla.mjs";
|
|
67
67
|
import { n as sanitizeHref, t as isSafeHref } from "./url-D282S1Zw.mjs";
|
|
68
68
|
import "./status-BN40hMpr.mjs";
|
|
69
69
|
import { t as checkRateLimit } from "./rate-limit-oUGexQO1.mjs";
|
|
@@ -75,7 +75,7 @@ import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
|
75
75
|
import "./ssrf-BZHvtFEv.mjs";
|
|
76
76
|
import "./cron-D_c3WUPN.mjs";
|
|
77
77
|
import "./api-tokens-D4tcY8R6.mjs";
|
|
78
|
-
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-
|
|
78
|
+
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-BCR-Pgtg.mjs";
|
|
79
79
|
import "./activity-BDMlkpYY.mjs";
|
|
80
80
|
import "./activity-events-DEYmJhWd.mjs";
|
|
81
81
|
import "./utils-B7gemXz5.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as PageMetadataLinkRel, D as PageMetadataContribution, gt as PublicPageContext, j as PagePlacement, t as BreadcrumbItem, w as PageFragmentContribution } from "./types-
|
|
1
|
+
import { A as PageMetadataLinkRel, D as PageMetadataContribution, gt as PublicPageContext, j as PagePlacement, t as BreadcrumbItem, w as PageFragmentContribution } from "./types-y0lpkCXC.mjs";
|
|
2
2
|
import { S as SeoSettings } from "./validate-YiX3rly5.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
2
|
-
import { b as HitlRequestService } from "./site-context-
|
|
1
|
+
import { o as HitlRequestRepository } from "./publication-authorization-DP_I_Emr.mjs";
|
|
2
|
+
import { b as HitlRequestService } from "./site-context-qU_bKUMe.mjs";
|
|
3
3
|
import { n as stableStringify } from "./stable-hash-DshcXvRE.mjs";
|
|
4
4
|
import { n as buildStableActionHash } from "./review-payload-BysRWpxS.mjs";
|
|
5
5
|
import { i as hasScope } from "./api-tokens-D4tcY8R6.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-y0lpkCXC.mjs";
|
|
2
2
|
import { t as Database } from "../types-BFeoAIHl.mjs";
|
|
3
3
|
import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placeholder-C6ZjZcmJ.mjs";
|
|
4
4
|
import "../runner-Bcy5w0vj.mjs";
|
|
@@ -6,7 +6,7 @@ import "../index-DybFmYtZ.mjs";
|
|
|
6
6
|
import "../types-S9VIopdY.mjs";
|
|
7
7
|
import { d as Storage } from "../types-YxFz4lDr.mjs";
|
|
8
8
|
import "../validate-YiX3rly5.mjs";
|
|
9
|
-
import "../byline-fields-
|
|
9
|
+
import "../byline-fields-DS-K2aXR.mjs";
|
|
10
10
|
import "../types-BsTXSvKG.mjs";
|
|
11
11
|
import "../index.mjs";
|
|
12
12
|
import { Kysely } from "kysely";
|
package/dist/page/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { D as PageMetadataContribution, gt as PublicPageContext, w as PageFragmentContribution } from "../types-
|
|
1
|
+
import { D as PageMetadataContribution, gt as PublicPageContext, w as PageFragmentContribution } from "../types-y0lpkCXC.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import "../runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "../index-DybFmYtZ.mjs";
|
|
5
5
|
import "../types-S9VIopdY.mjs";
|
|
6
6
|
import "../validate-YiX3rly5.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-DS-K2aXR.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
|
-
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, h as createPublicPageContext, i as generateBaseSeoContributions, l as createSha256CspHash, m as CreatePublicPageContextInput, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr } from "../jsonld-
|
|
9
|
+
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, h as createPublicPageContext, i as generateBaseSeoContributions, l as createSha256CspHash, m as CreatePublicPageContextInput, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr } from "../jsonld-Bn0uJ5Yz.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/page/index.d.ts
|
|
12
12
|
/**
|
package/dist/plugin-utils.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./types-
|
|
1
|
+
import "./types-y0lpkCXC.mjs";
|
|
2
2
|
import "./types-BFeoAIHl.mjs";
|
|
3
3
|
import "./runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "./index-DybFmYtZ.mjs";
|
|
5
5
|
import "./types-S9VIopdY.mjs";
|
|
6
6
|
import "./validate-YiX3rly5.mjs";
|
|
7
|
-
import "./byline-fields-
|
|
7
|
+
import "./byline-fields-DS-K2aXR.mjs";
|
|
8
8
|
import "./types-BsTXSvKG.mjs";
|
|
9
9
|
import { DinewayHandlers } from "./astro/types.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { po as PluginDescriptor, vt as ResolvedPlugin, wt as StandardPluginDefinition } from "../types-y0lpkCXC.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import "../runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "../index-DybFmYtZ.mjs";
|
|
5
5
|
import "../types-S9VIopdY.mjs";
|
|
6
6
|
import "../validate-YiX3rly5.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-DS-K2aXR.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
package/dist/{publication-authorization-BYieJR6-.mjs → publication-authorization-DP_I_Emr.mjs}
RENAMED
|
@@ -163,7 +163,10 @@ function parsePolicyContributions(value) {
|
|
|
163
163
|
}
|
|
164
164
|
function isPolicyContribution(value) {
|
|
165
165
|
if (!isRecord$2(value)) return false;
|
|
166
|
-
return typeof value.providerId === "string" && typeof value.policyVersion === "string" && typeof value.fingerprint === "string" && (value.reservationId === null || typeof value.reservationId === "string");
|
|
166
|
+
return typeof value.providerId === "string" && typeof value.policyVersion === "string" && isPolicyDisposition(value.disposition) && typeof value.fingerprint === "string" && (value.reservationId === null || typeof value.reservationId === "string");
|
|
167
|
+
}
|
|
168
|
+
function isPolicyDisposition(value) {
|
|
169
|
+
return value === "enforced" || value === "not_applicable" || value === "overridden";
|
|
167
170
|
}
|
|
168
171
|
function parseNullableRecord$1(value) {
|
|
169
172
|
if (!value) return null;
|
|
@@ -452,9 +455,11 @@ function normalizePolicyContributions(contributions) {
|
|
|
452
455
|
assertNonEmpty("Policy provider ID", contribution.providerId);
|
|
453
456
|
assertNonEmpty("Policy version", contribution.policyVersion);
|
|
454
457
|
assertNonEmpty("Policy fingerprint", contribution.fingerprint);
|
|
458
|
+
assertPolicyDisposition(contribution.disposition);
|
|
455
459
|
return {
|
|
456
460
|
providerId: contribution.providerId,
|
|
457
461
|
policyVersion: contribution.policyVersion,
|
|
462
|
+
disposition: contribution.disposition,
|
|
458
463
|
fingerprint: contribution.fingerprint,
|
|
459
464
|
reservationId: normalizeOptionalString(contribution.reservationId)
|
|
460
465
|
};
|
|
@@ -475,6 +480,9 @@ function normalizeOptionalString(value) {
|
|
|
475
480
|
function assertNonEmpty(label, value) {
|
|
476
481
|
if (value.length === 0) throw new Error(`${label} is required`);
|
|
477
482
|
}
|
|
483
|
+
function assertPolicyDisposition(value) {
|
|
484
|
+
if (value !== "enforced" && value !== "not_applicable" && value !== "overridden") throw new Error("Publication release policy disposition is invalid");
|
|
485
|
+
}
|
|
478
486
|
|
|
479
487
|
//#endregion
|
|
480
488
|
//#region src/site-context/publication-authorization.ts
|
|
@@ -518,6 +526,7 @@ var PublicationAuthorizationService = class {
|
|
|
518
526
|
const operation = input.operation ?? "publish";
|
|
519
527
|
const siteTimezone = await this.getSiteTimezone();
|
|
520
528
|
const blockers = [];
|
|
529
|
+
const warnings = [];
|
|
521
530
|
if (input.actor.actorType === "system") blockers.push({
|
|
522
531
|
code: "ACTOR_NOT_ALLOWED",
|
|
523
532
|
source: "authorization",
|
|
@@ -594,8 +603,9 @@ var PublicationAuthorizationService = class {
|
|
|
594
603
|
});
|
|
595
604
|
}
|
|
596
605
|
if (target) {
|
|
597
|
-
const
|
|
606
|
+
const policyFindingGroups = await Promise.all(this.policies.map(async (policy) => {
|
|
598
607
|
if (!policy.checkReadiness) return [{
|
|
608
|
+
severity: "blocker",
|
|
599
609
|
code: "POLICY_READINESS_UNAVAILABLE",
|
|
600
610
|
source: "policy",
|
|
601
611
|
policyId: policy.id,
|
|
@@ -609,6 +619,7 @@ var PublicationAuthorizationService = class {
|
|
|
609
619
|
}));
|
|
610
620
|
} catch (error) {
|
|
611
621
|
return [{
|
|
622
|
+
severity: "blocker",
|
|
612
623
|
code: "POLICY_READINESS_FAILED",
|
|
613
624
|
source: "policy",
|
|
614
625
|
policyId: policy.id,
|
|
@@ -616,15 +627,25 @@ var PublicationAuthorizationService = class {
|
|
|
616
627
|
}];
|
|
617
628
|
}
|
|
618
629
|
}));
|
|
619
|
-
|
|
630
|
+
for (const finding of policyFindingGroups.flat()) {
|
|
631
|
+
if (finding.severity === "warning") continue;
|
|
632
|
+
const { severity: _severity, ...blocker } = finding;
|
|
633
|
+
blockers.push(blocker);
|
|
634
|
+
}
|
|
635
|
+
warnings.push(...policyFindingGroups.flat().filter((finding) => finding.severity === "warning"));
|
|
620
636
|
}
|
|
621
637
|
const orderedBlockers = blockers.toSorted((left, right) => `${left.source}:${left.policyId ?? ""}:${left.code}:${left.message}`.localeCompare(`${right.source}:${right.policyId ?? ""}:${right.code}:${right.message}`));
|
|
638
|
+
const orderedWarnings = warnings.toSorted((left, right) => `${left.source}:${left.policyId ?? ""}:${left.code}:${left.message}`.localeCompare(`${right.source}:${right.policyId ?? ""}:${right.code}:${right.message}`));
|
|
639
|
+
const canForce = orderedBlockers.length === 0 && orderedWarnings.length > 0 && orderedWarnings.every((warning) => warning.overridable) && isHumanSessionActor(input.actor);
|
|
640
|
+
const ready = orderedBlockers.length === 0 && orderedWarnings.length === 0;
|
|
622
641
|
return {
|
|
623
|
-
ready
|
|
642
|
+
ready,
|
|
643
|
+
canForce,
|
|
624
644
|
generatedAt,
|
|
625
|
-
nextAction:
|
|
645
|
+
nextAction: ready ? operation : canForce ? "confirm_policy_warnings" : "fix_release_blockers",
|
|
626
646
|
target,
|
|
627
|
-
blockers: orderedBlockers
|
|
647
|
+
blockers: orderedBlockers,
|
|
648
|
+
warnings: orderedWarnings
|
|
628
649
|
};
|
|
629
650
|
}
|
|
630
651
|
async publishAuthorizedContent(input) {
|
|
@@ -716,11 +737,12 @@ var PublicationAuthorizationService = class {
|
|
|
716
737
|
}
|
|
717
738
|
async authorize(input) {
|
|
718
739
|
if (input.actor.actorType === "system") throw new PublicationAuthorizationError("ACTOR_NOT_ALLOWED", "System actors must use the scheduled publication boundary");
|
|
740
|
+
if ((input.policyOverrides?.length ?? 0) > 0 && !isHumanSessionActor(input.actor)) throw new PublicationAuthorizationError("POLICY_OVERRIDE_NOT_ALLOWED", "Only an authenticated human session may confirm publication policy warnings");
|
|
719
741
|
let preparedPolicies = [];
|
|
720
742
|
try {
|
|
721
743
|
const activeGrant = await this.releaseGrants.findActiveForTarget(input.collection, input.id, input.operation);
|
|
722
744
|
const baseRelease = await this.buildRelease(input, []);
|
|
723
|
-
preparedPolicies = await this.preparePolicies(toPreparationTarget(baseRelease, activeGrant?.policyContributions ?? []));
|
|
745
|
+
preparedPolicies = await this.preparePolicies(toPreparationTarget(baseRelease, activeGrant?.policyContributions ?? [], input.actor, input.policyOverrides ?? []));
|
|
724
746
|
const release = await this.buildRelease(input, preparedPolicies.map((prepared) => prepared.contribution));
|
|
725
747
|
await this.validatePolicies(release, preparedPolicies);
|
|
726
748
|
const tokenActor = isTokenAuthenticatedActor(input.actor);
|
|
@@ -897,7 +919,7 @@ var PublicationAuthorizationService = class {
|
|
|
897
919
|
const currentByProvider = new Map(currentPolicies.map((prepared) => [prepared.contribution.providerId, prepared.contribution]));
|
|
898
920
|
const replaced = this.restorePreparedPolicies(contributions).filter((prepared) => {
|
|
899
921
|
const current = currentByProvider.get(prepared.contribution.providerId);
|
|
900
|
-
return !current || current.reservationId !== prepared.contribution.reservationId || current.fingerprint !== prepared.contribution.fingerprint;
|
|
922
|
+
return !current || current.disposition !== prepared.contribution.disposition || current.reservationId !== prepared.contribution.reservationId || current.fingerprint !== prepared.contribution.fingerprint;
|
|
901
923
|
});
|
|
902
924
|
try {
|
|
903
925
|
await this.releasePolicies(replaced, "release_grant_replaced");
|
|
@@ -914,6 +936,7 @@ var PublicationAuthorizationService = class {
|
|
|
914
936
|
contribution: {
|
|
915
937
|
providerId: contribution.providerId,
|
|
916
938
|
policyVersion: contribution.policyVersion,
|
|
939
|
+
disposition: contribution.disposition,
|
|
917
940
|
fingerprint: contribution.fingerprint,
|
|
918
941
|
...contribution.reservationId ? { reservationId: contribution.reservationId } : {}
|
|
919
942
|
}
|
|
@@ -1027,7 +1050,7 @@ var PublicationAuthorizationService = class {
|
|
|
1027
1050
|
}
|
|
1028
1051
|
}
|
|
1029
1052
|
};
|
|
1030
|
-
function toPreparationTarget(release, replacedPolicyContributions) {
|
|
1053
|
+
function toPreparationTarget(release, replacedPolicyContributions, actor, policyOverrides) {
|
|
1031
1054
|
return {
|
|
1032
1055
|
collection: release.collection,
|
|
1033
1056
|
entryId: release.entryId,
|
|
@@ -1041,9 +1064,12 @@ function toPreparationTarget(release, replacedPolicyContributions) {
|
|
|
1041
1064
|
publishedAt: release.publishedAt,
|
|
1042
1065
|
scheduledAt: release.scheduledAt,
|
|
1043
1066
|
siteTimezone: release.siteTimezone,
|
|
1067
|
+
actor,
|
|
1068
|
+
policyOverrides,
|
|
1044
1069
|
replacedPolicyContributions: replacedPolicyContributions.map((contribution) => ({
|
|
1045
1070
|
providerId: contribution.providerId,
|
|
1046
1071
|
policyVersion: contribution.policyVersion,
|
|
1072
|
+
disposition: contribution.disposition,
|
|
1047
1073
|
fingerprint: contribution.fingerprint,
|
|
1048
1074
|
...contribution.reservationId ? { reservationId: contribution.reservationId } : {}
|
|
1049
1075
|
}))
|
|
@@ -1118,6 +1144,9 @@ function isTokenAuthenticatedActor(actor) {
|
|
|
1118
1144
|
const authMethod = actor.authMetadata.auth_method;
|
|
1119
1145
|
return authMethod === "api_token" || authMethod === "oauth_token";
|
|
1120
1146
|
}
|
|
1147
|
+
function isHumanSessionActor(actor) {
|
|
1148
|
+
return actor.actorType === "user" && actor.authMetadata.auth_method === "session";
|
|
1149
|
+
}
|
|
1121
1150
|
function errorReason(error) {
|
|
1122
1151
|
if (error instanceof PublicationAuthorizationError) return error.code.toLowerCase();
|
|
1123
1152
|
return "release_authorization_failed";
|
|
@@ -155,6 +155,11 @@ const contentDateOverride = z.iso.datetime({
|
|
|
155
155
|
offset: true,
|
|
156
156
|
message: "must be an ISO 8601 datetime"
|
|
157
157
|
}).nullish();
|
|
158
|
+
const publicationPolicyOverrideSchema = z.object({
|
|
159
|
+
policyId: z.string().min(1),
|
|
160
|
+
warningCode: z.string().min(1),
|
|
161
|
+
fingerprint: z.string().min(1)
|
|
162
|
+
});
|
|
158
163
|
const contentCreateBody = z.object({
|
|
159
164
|
data: z.record(z.string(), z.unknown()),
|
|
160
165
|
slug: z.string().nullish(),
|
|
@@ -183,7 +188,8 @@ const contentScheduleBody = z.object({
|
|
|
183
188
|
example: "2025-06-15T09:00:00Z"
|
|
184
189
|
}),
|
|
185
190
|
reviewRequestId: z.string().min(1, "reviewRequestId is required").meta({ description: "Approved editorial Review Request bound to the exact Draft Revision" }),
|
|
186
|
-
releaseAuthorizationId: z.string().min(1).optional().meta({ description: "Approved exact release HITL Request required for token actors" })
|
|
191
|
+
releaseAuthorizationId: z.string().min(1).optional().meta({ description: "Approved exact release HITL Request required for token actors" }),
|
|
192
|
+
policyOverrides: z.array(publicationPolicyOverrideSchema).max(20).optional()
|
|
187
193
|
}).meta({ id: "ContentScheduleBody" });
|
|
188
194
|
const contentPublishBody = z.object({
|
|
189
195
|
publishedAt: z.iso.datetime({
|
|
@@ -191,7 +197,8 @@ const contentPublishBody = z.object({
|
|
|
191
197
|
message: "must be an ISO 8601 datetime"
|
|
192
198
|
}).optional().meta({ description: "Optional ISO 8601 datetime to backdate the publish. Requires content:publish_any permission. Without this, existing published_at is preserved on re-publish." }),
|
|
193
199
|
reviewRequestId: z.string().min(1, "reviewRequestId is required").meta({ description: "Approved editorial Review Request bound to the exact Draft Revision" }),
|
|
194
|
-
releaseAuthorizationId: z.string().min(1).optional().meta({ description: "Approved exact release HITL Request required for token actors" })
|
|
200
|
+
releaseAuthorizationId: z.string().min(1).optional().meta({ description: "Approved exact release HITL Request required for token actors" }),
|
|
201
|
+
policyOverrides: z.array(publicationPolicyOverrideSchema).max(20).optional()
|
|
195
202
|
}).meta({ id: "ContentPublishBody" });
|
|
196
203
|
const contentPublicationReceiptSchema = z.object({
|
|
197
204
|
id: z.string(),
|
|
@@ -206,6 +213,11 @@ const contentPublicationReceiptSchema = z.object({
|
|
|
206
213
|
policyContributions: z.array(z.object({
|
|
207
214
|
providerId: z.string(),
|
|
208
215
|
policyVersion: z.string(),
|
|
216
|
+
disposition: z.enum([
|
|
217
|
+
"enforced",
|
|
218
|
+
"not_applicable",
|
|
219
|
+
"overridden"
|
|
220
|
+
]),
|
|
209
221
|
fingerprint: z.string(),
|
|
210
222
|
reservationId: z.string().nullable()
|
|
211
223
|
})),
|
|
@@ -230,10 +242,12 @@ const contentReleaseReadinessQuery = z.object({
|
|
|
230
242
|
}).meta({ id: "ContentReleaseReadinessQuery" });
|
|
231
243
|
const contentReleaseReadinessResponseSchema = z.object({
|
|
232
244
|
ready: z.boolean(),
|
|
245
|
+
canForce: z.boolean(),
|
|
233
246
|
generatedAt: z.string(),
|
|
234
247
|
nextAction: z.enum([
|
|
235
248
|
"publish",
|
|
236
249
|
"schedule",
|
|
250
|
+
"confirm_policy_warnings",
|
|
237
251
|
"fix_release_blockers"
|
|
238
252
|
]),
|
|
239
253
|
target: z.object({
|
|
@@ -259,6 +273,21 @@ const contentReleaseReadinessResponseSchema = z.object({
|
|
|
259
273
|
]),
|
|
260
274
|
message: z.string(),
|
|
261
275
|
policyId: z.string().optional()
|
|
276
|
+
})),
|
|
277
|
+
warnings: z.array(z.object({
|
|
278
|
+
severity: z.literal("warning"),
|
|
279
|
+
code: z.string(),
|
|
280
|
+
source: z.enum([
|
|
281
|
+
"content",
|
|
282
|
+
"editorial_review",
|
|
283
|
+
"release_hitl",
|
|
284
|
+
"authorization",
|
|
285
|
+
"policy"
|
|
286
|
+
]),
|
|
287
|
+
message: z.string(),
|
|
288
|
+
policyId: z.string().optional(),
|
|
289
|
+
fingerprint: z.string(),
|
|
290
|
+
overridable: z.boolean()
|
|
262
291
|
}))
|
|
263
292
|
}).meta({ id: "ContentReleaseReadinessResponse" });
|
|
264
293
|
const contentPreviewUrlBody = z.object({
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ts as getDb, bs as EntryData, ws as dinewayLoader, xs as EntryFilter, ys as CollectionFilter } from "./types-y0lpkCXC.mjs";
|
|
2
2
|
import "./types-BFeoAIHl.mjs";
|
|
3
3
|
import "./runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "./index-DybFmYtZ.mjs";
|
|
5
5
|
import "./types-S9VIopdY.mjs";
|
|
6
6
|
import "./validate-YiX3rly5.mjs";
|
|
7
|
-
import "./byline-fields-
|
|
7
|
+
import "./byline-fields-DS-K2aXR.mjs";
|
|
8
8
|
import "./types-BsTXSvKG.mjs";
|
|
9
9
|
import { t as getMediaProvider } from "./provider-loader-Db-pJFu3.mjs";
|
|
10
10
|
export { type CollectionFilter, type EntryData, type EntryFilter, dinewayLoader, getDb, getMediaProvider };
|
|
@@ -3,7 +3,7 @@ import { i as encodeCursor, r as decodeCursor } from "./types-Bshd_6wQ.mjs";
|
|
|
3
3
|
import { t as ContentRepository } from "./content-Cbl8HbIR.mjs";
|
|
4
4
|
import { t as SiteActivityRepository } from "./site-activity-BVK40wCy.mjs";
|
|
5
5
|
import { t as ReviewRequestRepository } from "./review-requests-CObSuTYU.mjs";
|
|
6
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
6
|
+
import { o as HitlRequestRepository } from "./publication-authorization-DP_I_Emr.mjs";
|
|
7
7
|
import { r as isPattern } from "./patterns-CoqlXUvk.mjs";
|
|
8
8
|
import { a as ContextRepository, i as parseSiteBriefingScope, l as handlePluginList } from "./briefing-GFhLTLJo.mjs";
|
|
9
9
|
import { t as FTSManager } from "./fts-manager-Zo9uhGel.mjs";
|