dineway 0.2.3 → 0.2.5
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 +2 -2
- package/dist/api/schemas/index.mjs +3 -3
- package/dist/{api-BFey0dOt.mjs → api-C3-s1R27.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 +8 -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 +14 -7
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.d.mts +7 -0
- package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +43 -0
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +3 -3
- 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 +46 -8
- 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 +24 -3
- 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 +3 -3
- package/dist/{byline-fields-yT4herdN.mjs → byline-fields-Co_MIUWm.mjs} +1 -1
- package/dist/{byline-fields-sRHzS0aM.d.mts → byline-fields-bnvqaEuF.d.mts} +208 -27
- package/dist/cli/index.mjs +54 -6
- package/dist/cli/plugin-kit.d.mts +8 -0
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +22 -4
- package/dist/client/index.mjs +14 -2
- package/dist/{context-AJNd0tcG.mjs → context-m06dNjS1.mjs} +1 -1
- package/dist/{hitl-requests-Bee8Cjj8.mjs → hitl-requests-D8pHHlSA.mjs} +1 -1
- package/dist/{hitl-route-helpers-DtHaKGgm.mjs → hitl-route-helpers-BIzP0Opq.mjs} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +6 -6
- package/dist/{jsonld-B9A2e0yv.d.mts → jsonld-CG-hNWNO.d.mts} +1 -1
- package/dist/{mcp-reviewed-executor-DnlF7mIL.mjs → mcp-reviewed-executor-DM53lZ9z.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-C8QUncg3.d.mts → public-url-Cqi7Ds4u.d.mts} +1 -1
- package/dist/{publication-authorization-BVQ5rCAF.mjs → publication-authorization-BYieJR6-.mjs} +145 -3
- package/dist/{redirects-E_B6hvuz.mjs → redirects-CALMB6T5.mjs} +70 -1
- package/dist/runtime.d.mts +3 -3
- package/dist/{site-context-CzaEGizi.mjs → site-context-Bz8hdcZH.mjs} +1 -1
- package/dist/{types-JovwyJFE.d.mts → types-C-3YPdr-.d.mts} +166 -108
- package/dist/ui/server-runtime.d.mts +5 -5
- package/dist/version-D9xoSUza.mjs +6 -0
- package/package.json +3 -3
- package/dist/version-O6Zw1eqK.mjs +0 -6
- /package/dist/{portable-text-Ehqj3I_y.d.mts → portable-text-BYUu-wtj.d.mts} +0 -0
- /package/dist/{provider-loader-BIbIiz0P.d.mts → provider-loader-Db-pJFu3.d.mts} +0 -0
- /package/dist/{transport-BZ3aqdu7.d.mts → transport-CXkC1F2Z.d.mts} +0 -0
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 SandboxedPlugin, $i as verifyGuestAccessToken, $n as getPreviewToken, $o as CreateMediaInput, $r as buildPreviewSignatureHeader, $t as getWidgetComponents, Aa as MediaResponse, Ai as InferCollectionData, An as MenuItemType, Ao as reference, Ar as PluginManager, As as ContentResponse, At as isStandardPluginDefinition, B as PluginDefinition, Ba as handleRevisionRestore, Bi as EditProxy, Bn as getSiteSetting, Bo as RelationRepository, Br as FilePreviewMiddlewareConfig, Bt as searchCollection, C as ModerationDecision, Ca as Section, Ci as CacheHint, Cn as getEntriesByByline, Co as handleContentRestore, Cr as PublicationReleasePolicyContribution, Ct as StandardHookHandler, D as PageMetadataContribution, Da as SchemaError, Di as DinewayCollections, Dn as CreateMenuItemInput, Do as handleContentUnschedule, Dr as NoopSandboxRunner, Dt as StorageCollection, E as PageFragmentHandler, Ea as getCollectionInfo, Ei as ContentEntry, En as CreateMenuInput, Eo as handleContentUnpublish, Er as createNodeSandboxRunner, Et as StandardRouteHandler, F as PluginAdminExports, Fa as handleMediaUpdate, Fi as getDinewayEntry, Fn as GetCommentsResult, Fo as ImageValue, Fr as PluginSecretStoreOptions, Ft as extractPlainText, G as PluginMcpCommandTool, Ga as HookPipeline, Gi as GuestAccessTokenClaims, Gn as AppliedSnapshotMeta, Go as AssignmentListQuery, Gr as SessionDatabaseFactory, Gt as SearchOptions, H as PluginManifest, Hi as createEditable, Hn as setSiteSettings, Ho as Assignment, Hr as FileSessionDatabaseFactory, Ht as FTSManager, I as PluginAdminPage, Ia as RevisionListResponse, Ii as getEditMeta, In as getCommentCount, Io as PortableTextBlock, Ir as ValidatedPluginManifest, It as extractSearchableFields, J as PluginMcpPiiClass, Ja as SandboxEmailMessage, Ji as IssuedGuestAccessToken, Jn as dropSessionDatabaseTables, Jo as AssignmentStatus, Jr as SessionDatabaseLimitError, Jt as SearchStats, K as PluginMcpConfig, Ka as HookResult, Ki as GuestAccessTokenConfigurationError, Kn as ApplySnapshotToDatabaseOptions, Ko as AssignmentPriority, Kr as SessionDatabaseHandle, Kt as SearchResponse, L as PluginAuthMethod, La as RevisionResponse, Li as getTranslations, Ln as getComments, Lo as ContentReference, Lr as pluginManifestSchema, Lt as getSearchStats, M as PluginActor, Ma as handleMediaDelete, Mi as TranslationSummary, Mn as UpdateMenuInput, Mo as FieldDefinition, Mr as createReviewedPluginMcpCommandExecutor, Ms as ListResponse, Mt as PublicationReleasePolicy, N as PluginActorType, Na as handleMediaGet, Ni as TranslationsResult, Nn as UpdateMenuItemInput, No as FieldUIHints, Nr as PluginSecretStatus, Ns as ManifestResponse, Nt as PublicationReleasePreparationTarget, O as PageMetadataEvent, Oa as SchemaRegistry, Oi as EditFieldMeta, On as Menu, Oo as handleContentUpdate, Or as SandboxNotAvailableError, Os as ApiContext, P as PluginAdminConfig, Pa as handleMediaList, Pi as getDinewayCollection, Pn as GetCommentsOptions, Po as FileValue, Pr as PluginSecretStore, Pt as currentTimestamp, Q as PluginMcpResourceContent, Qa as SandboxRunnerFactory, Qi as issueGuestAccessToken, Qn as isBlockedInPreview, Qo as RevisionRepository, Qr as PreviewSidecarSignature, Qt as getWidgetAreas, R as PluginCapability, Ra as handleRevisionGet, Ri as resolveDinewayPath, Rn as getPluginSetting, Ro as CreateRelationInput, Rr as runPluginMigrations, Rt as getSuggestions, S as MediaUploadEvent, Sa as GetSectionsOptions, Si as after, Sn as getBylineBySlug, So as handleContentPublish, Sr as BuiltContentReleasePayload, St as StandardHookEntry, T as PageFragmentEvent, Ta as UpdateSectionInput, Ti as CollectionResult, Tn as getMenus, To as handleContentTranslations, Tr as NodeSandboxRunner, Tt as StandardRouteEntry, U as PluginMcpAuthorization, Ua as PluginRouteError, Ui as createNoop, Un as PreviewToolbarConfig, Uo as AssignmentActorRef, Ur as FileSessionDatabaseFactoryOptions, Ut as CollectionSearchOptions, V as PluginHooks, Va as generateManifest, Vi as FieldAnnotation, Vn as getSiteSettings, Vo as UpdateRelationInput, Vr as createFilePreviewMiddleware, Vt as searchWithDb, W as PluginMcpCommandPreview, Wi as GuestAccessExpectedScope, Wn as renderPreviewToolbar, Wo as AssignmentActorType, Wr as SessionCleanupResult, Wt as SearchConfig, X as PluginMcpQueryTool, Xa as SandboxOptions, Xi as VerifyGuestAccessTokenResult, Xn as Snapshot, Xo as MarkAssignmentsOverdueInput, Xr as SessionOpenOrCreateOptions, Xt as Suggestion, Y as PluginMcpPiiPolicy, Ya as SandboxEmailSendCallback, Yi as VerifyGuestAccessTokenOptions, Yn as getAppliedSnapshotMeta, Yo as CreateAssignmentInput, Yr as SessionOpenOptions, Yt as SuggestOptions, Z as PluginMcpResource, Za as SandboxRunner, Zi as hashGuestAccessToken, Zn as renderPreviewLoadingPage, Zr as PreviewSidecarClient, Zt as getWidgetArea, _ as HookName, _a as ProseMirrorMark, _i as invalidateObjectCache, _n as TaxonomyDef, _o as handleContentGet, _r as HandoffSnapshotStore, _s as SiteActivitySourceType, _t as ResolvedHook, a as CommentAfterModerateEvent, aa as hashString, ai as getFallbackChain, an as Widget, ar as PreviewTokenPayload, as as EntryFilter, b as LogAccess, ba as getSections, bi as isObjectCacheActive, bn as UpdateTermInput, bo as handleContentListTrashed, br as HandoffSnapshot, bt as ResolvedPluginMcpConfig, c as CommentBeforeCreateHandler, ca as PortableTextCodeBlock, ci as CacheNamespace, cn as WidgetType, cr as generatePreviewToken, ct as PluginRouteMethod, d as ContentAccess, da as PortableTextLinkMark, di as contentNamespace, dn as getTaxonomyDef, do as handleContentCountScheduled, dr as AssignmentAccessContext, ds as DinewayDatabaseError, dt as PluginRouteTargetContext, ea as RateLimitResult, ei as defaultPreviewSidecarClient, en as CreateWidgetAreaInput, eo as SerializedRequest, er as isPreviewRequest, es as MediaItem, et as PluginMcpRiskFactor, f as ContentDeleteEvent, fa as PortableTextMarkDef, fi as contentNamespaces, fn as getTaxonomyDefs, fo as handleContentCountTrashed, fr as AssignmentActionInput, fs as CreateSiteActivityInput, ft as PluginStorageConfig, g as HookConfig, ga as ProseMirrorDocument, gi as invalidateMenuObjectCache, gn as CreateTermInput, go as handleContentDuplicate, gr as HandoffResumeResult, gs as SiteActivityResultStatus, gt as PublicPageContext, h as FieldWidgetConfig, ha as PortableTextUnknownBlock, hi as invalidateCommentObjectCache, hn as getTermsForEntries, ho as handleContentDiscardDraft, hr as CreateWorkflowAssignmentInput, hs as SiteActivityRepository, ht as PortableTextBlockField, i as CommentAfterCreateHandler, ia as computeContentHash, ii as I18nConfig, in as UpdateWidgetInput, io as PluginDescriptor, ir as GeneratePreviewTokenOptions, is as EntryData, it as PluginRoute, j as PagePlacement, ja as handleMediaCreate, ji as ResolvePathResult, jn as ReorderMenuItemsInput, jo as image, jr as createPluginManager, js as FieldDescriptor, k as PageMetadataHandler, ka as MediaListResponse, ki as EntryResult, kn as MenuItem, ko as portableText, kr as createNoopSandboxRunner, ks as ContentListResponse, kt as StoredComment, l as CommentModerateEvent, la as PortableTextHtmlBlock, li as CachedQueryOptions, ln as getEntriesByTerm, lo as handleContentAuthors, lr as parseContentId, ls as getDb, lt as PluginRouteTargetAuthorizationRequest, m as ContentPublishStateChangeEvent, ma as PortableTextTextBlock, mi as invalidateCollectionCache, mn as getTerm, mo as handleContentDelete, mr as AssignmentService, ms as SiteActivityActorType, mt as PortableTextBlockConfig, n as CollectionCommentSettings, na as isSafeHref, ni as signPreviewUrl, nn as PropDef, no as PluginMcpTargetAuthorizer, nr as buildPreviewUrl, ns as ContentRepository, nt as PluginMcpTool, o as CommentAfterModerateHandler, oa as portableTextToProsemirror, oi as getI18nConfig, on as WidgetArea, or as VerifyPreviewTokenOptions, os as WhereRange, ot as PluginRouteAuthorization, p as ContentHookEvent, pa as PortableTextSpan, pi as invalidateBylineObjectCache, pn as getTaxonomyTerms, po as handleContentCreate, pr as AssignmentListInput, ps as SiteActivity, pt as PluginTargetScope, q as PluginMcpExecutionContext, qa as createHookPipeline, qi as IssueGuestAccessTokenOptions, qn as applySnapshotToDatabase, qo as AssignmentRepository, qr as SessionDatabaseInfo, qt as SearchResult, r as CommentAfterCreateEvent, ra as sanitizeHref, ri as verifyPreviewSignature, rn as ReorderWidgetsInput, rr as getPreviewUrl, rs as CollectionFilter$1, rt as PluginMigration, s as CommentBeforeCreateEvent, sa as prosemirrorToPortableText, si as isI18nEnabled, sn as WidgetComponentDef, sr as VerifyPreviewTokenResult, ss as WhereValue, st as PluginRouteBodyMode, t as BreadcrumbItem, ta as checkRateLimit, ti as parsePreviewSignatureHeader, tn as CreateWidgetInput, tr as GetPreviewUrlOptions, ts as MediaRepository, tt as PluginMcpRiskLevel, u as CommentModerateHandler, ua as PortableTextImageBlock, ui as cachedQuery, un as getEntryTerms, uo as handleContentCompare, ur as verifyPreviewToken, us as DatabaseConfig, ut as PluginRouteTargetAuthorizer, v as HttpAccess, va as ProseMirrorNode, vi as invalidateSchemaObjectCache, vn as TaxonomyTerm, vo as handleContentGetIncludingTrashed, vr as ResumeHandoffSnapshotInput, vs as SiteActivityTimelineQuery, vt as ResolvedPlugin, w as PageFragmentContribution, wa as SectionSource, wi as CollectionFilter, wn as getMenu, wo as handleContentSchedule, wr as buildStableActionHash, wt as StandardPluginDefinition, x as MediaAccess, xa as CreateSectionInput, xi as AfterCallback, xn as getByline, xo as handleContentPermanentDelete, xt as RouteContext, y as KVAccess, ya as getSection, yi as invalidateTaxonomyObjectCache, yn as TaxonomyTermRow, yo as handleContentList, yr as CreateHandoffSnapshotInput, yt as ResolvedPluginHooks, z as PluginContext, za as handleRevisionList, zi as CMSAnnotation, zn as getPluginSettings, zo as Relation, zr as definePlugin, zt as search } from "./types-JovwyJFE.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";
|
|
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-bnvqaEuF.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 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 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 };
|
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-BYieJR6-.mjs";
|
|
23
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-Bz8hdcZH.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-C3-s1R27.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-CALMB6T5.mjs";
|
|
66
|
+
import "./byline-fields-Co_MIUWm.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-DM53lZ9z.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-C-3YPdr-.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-BYieJR6-.mjs";
|
|
2
|
+
import { b as HitlRequestService } from "./site-context-Bz8hdcZH.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-C-3YPdr-.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-bnvqaEuF.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-C-3YPdr-.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-bnvqaEuF.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-CG-hNWNO.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-C-3YPdr-.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-bnvqaEuF.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 { co as PluginDescriptor, vt as ResolvedPlugin, wt as StandardPluginDefinition } from "../types-C-3YPdr-.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-bnvqaEuF.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
package/dist/{publication-authorization-BVQ5rCAF.mjs → publication-authorization-BYieJR6-.mjs}
RENAMED
|
@@ -491,6 +491,7 @@ var PublicationAuthorizationService = class {
|
|
|
491
491
|
hitlRequests;
|
|
492
492
|
activity;
|
|
493
493
|
releasePayloadBuilder;
|
|
494
|
+
reviewPayloadBuilder;
|
|
494
495
|
policies;
|
|
495
496
|
getSiteTimezone;
|
|
496
497
|
now;
|
|
@@ -504,6 +505,7 @@ var PublicationAuthorizationService = class {
|
|
|
504
505
|
handlers: options.handlers,
|
|
505
506
|
reviewRequests: this.reviewRequests
|
|
506
507
|
});
|
|
508
|
+
this.reviewPayloadBuilder = new ReviewPayloadBuilder(options.handlers);
|
|
507
509
|
this.policies = [...options.policies ?? []].toSorted((left, right) => left.id.localeCompare(right.id));
|
|
508
510
|
this.assertUniquePolicyIds();
|
|
509
511
|
this.getSiteTimezone = options.getSiteTimezone ?? (async () => {
|
|
@@ -511,6 +513,120 @@ var PublicationAuthorizationService = class {
|
|
|
511
513
|
});
|
|
512
514
|
this.now = options.now ?? (() => (/* @__PURE__ */ new Date()).toISOString());
|
|
513
515
|
}
|
|
516
|
+
async checkPublicationReadiness(input) {
|
|
517
|
+
const generatedAt = this.now();
|
|
518
|
+
const operation = input.operation ?? "publish";
|
|
519
|
+
const siteTimezone = await this.getSiteTimezone();
|
|
520
|
+
const blockers = [];
|
|
521
|
+
if (input.actor.actorType === "system") blockers.push({
|
|
522
|
+
code: "ACTOR_NOT_ALLOWED",
|
|
523
|
+
source: "authorization",
|
|
524
|
+
message: "System actors must use the scheduled publication boundary"
|
|
525
|
+
});
|
|
526
|
+
if (operation === "schedule" && !input.scheduledAt) blockers.push({
|
|
527
|
+
code: "SCHEDULED_AT_REQUIRED",
|
|
528
|
+
source: "content",
|
|
529
|
+
message: "Scheduled publication requires a timestamp"
|
|
530
|
+
});
|
|
531
|
+
let target = null;
|
|
532
|
+
try {
|
|
533
|
+
const editorial = await this.reviewPayloadBuilder.buildContentReviewPayload({
|
|
534
|
+
collection: input.collection,
|
|
535
|
+
id: input.id
|
|
536
|
+
});
|
|
537
|
+
target = {
|
|
538
|
+
collection: editorial.collection,
|
|
539
|
+
entryId: editorial.entryId,
|
|
540
|
+
scope: editorial.scope,
|
|
541
|
+
operation,
|
|
542
|
+
liveRevisionId: editorial.liveRevisionId,
|
|
543
|
+
draftRevisionId: editorial.draftRevisionId,
|
|
544
|
+
reviewedRev: editorial.reviewedRev,
|
|
545
|
+
publishedAt: input.publishedAt ?? null,
|
|
546
|
+
scheduledAt: input.scheduledAt ?? null,
|
|
547
|
+
siteTimezone
|
|
548
|
+
};
|
|
549
|
+
if (!editorial.draftRevisionId) blockers.push({
|
|
550
|
+
code: "EXACT_DRAFT_REQUIRED",
|
|
551
|
+
source: "content",
|
|
552
|
+
message: "Publication requires an exact current Draft Revision"
|
|
553
|
+
});
|
|
554
|
+
} catch (error) {
|
|
555
|
+
blockers.push({
|
|
556
|
+
code: "CONTENT_RELEASE_TARGET_INVALID",
|
|
557
|
+
source: "content",
|
|
558
|
+
message: error instanceof Error ? error.message : "Publication target is invalid"
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
if (!input.editorialReviewRequestId) blockers.push({
|
|
562
|
+
code: "EDITORIAL_REVIEW_REQUIRED",
|
|
563
|
+
source: "editorial_review",
|
|
564
|
+
message: "Publication requires an approved Review for the exact current Draft"
|
|
565
|
+
});
|
|
566
|
+
else if (target && (operation !== "schedule" || input.scheduledAt)) try {
|
|
567
|
+
await this.releasePayloadBuilder.buildContentReleasePayload({
|
|
568
|
+
collection: input.collection,
|
|
569
|
+
id: input.id,
|
|
570
|
+
operation,
|
|
571
|
+
editorialReviewRequestId: input.editorialReviewRequestId,
|
|
572
|
+
publishedAt: input.publishedAt,
|
|
573
|
+
scheduledAt: input.scheduledAt,
|
|
574
|
+
siteTimezone
|
|
575
|
+
});
|
|
576
|
+
} catch (error) {
|
|
577
|
+
blockers.push({
|
|
578
|
+
code: "EDITORIAL_REVIEW_INVALID",
|
|
579
|
+
source: "editorial_review",
|
|
580
|
+
message: error instanceof Error ? error.message : "Editorial review is invalid"
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
if (isTokenAuthenticatedActor(input.actor)) if (!input.releaseHitlRequestId) blockers.push({
|
|
584
|
+
code: "RELEASE_HITL_REQUIRED",
|
|
585
|
+
source: "release_hitl",
|
|
586
|
+
message: "Token-authenticated publication requires approved release authorization"
|
|
587
|
+
});
|
|
588
|
+
else {
|
|
589
|
+
const request = await this.hitlRequests.findById(input.releaseHitlRequestId);
|
|
590
|
+
if (!request || !target || !basicReleaseHitlMatches(request, target, input.actor)) blockers.push({
|
|
591
|
+
code: "RELEASE_HITL_INVALID",
|
|
592
|
+
source: "release_hitl",
|
|
593
|
+
message: "Release authorization is not approved for the current target and actor"
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
if (target) {
|
|
597
|
+
const policyBlockerGroups = await Promise.all(this.policies.map(async (policy) => {
|
|
598
|
+
if (!policy.checkReadiness) return [{
|
|
599
|
+
code: "POLICY_READINESS_UNAVAILABLE",
|
|
600
|
+
source: "policy",
|
|
601
|
+
policyId: policy.id,
|
|
602
|
+
message: `Publication policy ${policy.id} has no read-only readiness check`
|
|
603
|
+
}];
|
|
604
|
+
try {
|
|
605
|
+
return (await policy.checkReadiness(target)).map((blocker) => ({
|
|
606
|
+
...blocker,
|
|
607
|
+
source: "policy",
|
|
608
|
+
policyId: blocker.policyId ?? policy.id
|
|
609
|
+
}));
|
|
610
|
+
} catch (error) {
|
|
611
|
+
return [{
|
|
612
|
+
code: "POLICY_READINESS_FAILED",
|
|
613
|
+
source: "policy",
|
|
614
|
+
policyId: policy.id,
|
|
615
|
+
message: error instanceof Error ? error.message : "Publication policy readiness failed"
|
|
616
|
+
}];
|
|
617
|
+
}
|
|
618
|
+
}));
|
|
619
|
+
blockers.push(...policyBlockerGroups.flat());
|
|
620
|
+
}
|
|
621
|
+
const orderedBlockers = blockers.toSorted((left, right) => `${left.source}:${left.policyId ?? ""}:${left.code}:${left.message}`.localeCompare(`${right.source}:${right.policyId ?? ""}:${right.code}:${right.message}`));
|
|
622
|
+
return {
|
|
623
|
+
ready: orderedBlockers.length === 0,
|
|
624
|
+
generatedAt,
|
|
625
|
+
nextAction: orderedBlockers.length === 0 ? operation : "fix_release_blockers",
|
|
626
|
+
target,
|
|
627
|
+
blockers: orderedBlockers
|
|
628
|
+
};
|
|
629
|
+
}
|
|
514
630
|
async publishAuthorizedContent(input) {
|
|
515
631
|
const siteTimezone = await this.getSiteTimezone();
|
|
516
632
|
const authorized = await this.authorize({
|
|
@@ -529,7 +645,8 @@ var PublicationAuthorizationService = class {
|
|
|
529
645
|
await this.logSuccess(input, authorized.release, consumed);
|
|
530
646
|
return {
|
|
531
647
|
grant: consumed,
|
|
532
|
-
result
|
|
648
|
+
result,
|
|
649
|
+
receipt: publicationReceipt(consumed, "published")
|
|
533
650
|
};
|
|
534
651
|
}
|
|
535
652
|
async scheduleAuthorizedContent(input) {
|
|
@@ -544,7 +661,8 @@ var PublicationAuthorizationService = class {
|
|
|
544
661
|
await this.logSuccess(input, authorized.release, authorized.grant);
|
|
545
662
|
return {
|
|
546
663
|
grant: authorized.grant,
|
|
547
|
-
result
|
|
664
|
+
result,
|
|
665
|
+
receipt: publicationReceipt(authorized.grant, "scheduled")
|
|
548
666
|
};
|
|
549
667
|
}
|
|
550
668
|
async publishAuthorizedDueContent(input) {
|
|
@@ -576,7 +694,8 @@ var PublicationAuthorizationService = class {
|
|
|
576
694
|
await this.logScheduledPublish(release, consumed);
|
|
577
695
|
return {
|
|
578
696
|
grant: consumed,
|
|
579
|
-
result
|
|
697
|
+
result,
|
|
698
|
+
receipt: publicationReceipt(consumed, "published")
|
|
580
699
|
};
|
|
581
700
|
}
|
|
582
701
|
async unscheduleAuthorizedContent(input) {
|
|
@@ -936,6 +1055,29 @@ function toStoredPolicyContributions(contributions) {
|
|
|
936
1055
|
function matchesReleaseHitl(request, release, actor) {
|
|
937
1056
|
return request.status === "approved" && request.scope === release.scope && request.actionType === release.actionType && request.targetRefType === "content" && request.targetRefId === release.entryId && request.requestedByActorType === actor.actorType && request.requestedByActorId === actor.actorId && extractActionHash(request.metadata) === release.actionHash;
|
|
938
1057
|
}
|
|
1058
|
+
function basicReleaseHitlMatches(request, target, actor) {
|
|
1059
|
+
return request.status === "approved" && request.scope === target.scope && request.actionType === (target.operation === "publish" ? "content.release.publish" : "content.release.schedule") && request.targetRefType === "content" && request.targetRefId === target.entryId && request.requestedByActorType === actor.actorType && request.requestedByActorId === actor.actorId;
|
|
1060
|
+
}
|
|
1061
|
+
function publicationReceipt(grant, status) {
|
|
1062
|
+
return {
|
|
1063
|
+
id: grant.id,
|
|
1064
|
+
status,
|
|
1065
|
+
collection: grant.collection,
|
|
1066
|
+
contentId: grant.entryId,
|
|
1067
|
+
liveRevisionId: status === "published" ? grant.draftRevisionId : grant.liveRevisionId,
|
|
1068
|
+
draftRevisionId: grant.draftRevisionId,
|
|
1069
|
+
editorialReviewRequestId: grant.editorialReviewRequestId,
|
|
1070
|
+
releaseHitlRequestId: grant.releaseHitlRequestId,
|
|
1071
|
+
actionHash: grant.actionHash,
|
|
1072
|
+
policyContributions: grant.policyContributions,
|
|
1073
|
+
authorizedByActorType: grant.authorizedByActorType,
|
|
1074
|
+
authorizedByActorId: grant.authorizedByActorId,
|
|
1075
|
+
createdAt: grant.createdAt,
|
|
1076
|
+
consumedAt: grant.consumedAt,
|
|
1077
|
+
publishedAt: grant.publishedAt ?? (status === "published" ? grant.consumedAt : null),
|
|
1078
|
+
scheduledAt: grant.scheduledAt
|
|
1079
|
+
};
|
|
1080
|
+
}
|
|
939
1081
|
function reviewMatchesGrant(review, grant) {
|
|
940
1082
|
return review.status === "approved" && review.collection === grant.collection && review.entryId === grant.entryId && review.scope === grant.scope && review.liveRevisionId === grant.liveRevisionId && review.draftRevisionId === grant.draftRevisionId && review.reviewedRev === grant.reviewedRev && review.actionType === "content.publish";
|
|
941
1083
|
}
|
|
@@ -193,6 +193,74 @@ const contentPublishBody = z.object({
|
|
|
193
193
|
reviewRequestId: z.string().min(1, "reviewRequestId is required").meta({ description: "Approved editorial Review Request bound to the exact Draft Revision" }),
|
|
194
194
|
releaseAuthorizationId: z.string().min(1).optional().meta({ description: "Approved exact release HITL Request required for token actors" })
|
|
195
195
|
}).meta({ id: "ContentPublishBody" });
|
|
196
|
+
const contentPublicationReceiptSchema = z.object({
|
|
197
|
+
id: z.string(),
|
|
198
|
+
status: z.enum(["published", "scheduled"]),
|
|
199
|
+
collection: z.string(),
|
|
200
|
+
contentId: z.string(),
|
|
201
|
+
liveRevisionId: z.string().nullable(),
|
|
202
|
+
draftRevisionId: z.string().nullable(),
|
|
203
|
+
editorialReviewRequestId: z.string(),
|
|
204
|
+
releaseHitlRequestId: z.string().nullable(),
|
|
205
|
+
actionHash: z.string(),
|
|
206
|
+
policyContributions: z.array(z.object({
|
|
207
|
+
providerId: z.string(),
|
|
208
|
+
policyVersion: z.string(),
|
|
209
|
+
fingerprint: z.string(),
|
|
210
|
+
reservationId: z.string().nullable()
|
|
211
|
+
})),
|
|
212
|
+
authorizedByActorType: z.enum([
|
|
213
|
+
"user",
|
|
214
|
+
"api_token",
|
|
215
|
+
"system"
|
|
216
|
+
]),
|
|
217
|
+
authorizedByActorId: z.string(),
|
|
218
|
+
createdAt: z.string(),
|
|
219
|
+
consumedAt: z.string().nullable(),
|
|
220
|
+
publishedAt: z.string().nullable(),
|
|
221
|
+
scheduledAt: z.string().nullable()
|
|
222
|
+
}).meta({ id: "ContentPublicationReceipt" });
|
|
223
|
+
const contentReleaseReadinessQuery = z.object({
|
|
224
|
+
operation: z.enum(["publish", "schedule"]).optional(),
|
|
225
|
+
reviewRequestId: z.string().optional(),
|
|
226
|
+
releaseAuthorizationId: z.string().optional(),
|
|
227
|
+
publishedAt: z.iso.datetime({ offset: true }).optional(),
|
|
228
|
+
scheduledAt: z.iso.datetime({ offset: true }).optional(),
|
|
229
|
+
locale: localeCode.optional()
|
|
230
|
+
}).meta({ id: "ContentReleaseReadinessQuery" });
|
|
231
|
+
const contentReleaseReadinessResponseSchema = z.object({
|
|
232
|
+
ready: z.boolean(),
|
|
233
|
+
generatedAt: z.string(),
|
|
234
|
+
nextAction: z.enum([
|
|
235
|
+
"publish",
|
|
236
|
+
"schedule",
|
|
237
|
+
"fix_release_blockers"
|
|
238
|
+
]),
|
|
239
|
+
target: z.object({
|
|
240
|
+
collection: z.string(),
|
|
241
|
+
entryId: z.string(),
|
|
242
|
+
scope: z.string(),
|
|
243
|
+
operation: z.enum(["publish", "schedule"]),
|
|
244
|
+
liveRevisionId: z.string().nullable(),
|
|
245
|
+
draftRevisionId: z.string().nullable(),
|
|
246
|
+
reviewedRev: z.string(),
|
|
247
|
+
publishedAt: z.string().nullable(),
|
|
248
|
+
scheduledAt: z.string().nullable(),
|
|
249
|
+
siteTimezone: z.string()
|
|
250
|
+
}).nullable(),
|
|
251
|
+
blockers: z.array(z.object({
|
|
252
|
+
code: z.string(),
|
|
253
|
+
source: z.enum([
|
|
254
|
+
"content",
|
|
255
|
+
"editorial_review",
|
|
256
|
+
"release_hitl",
|
|
257
|
+
"authorization",
|
|
258
|
+
"policy"
|
|
259
|
+
]),
|
|
260
|
+
message: z.string(),
|
|
261
|
+
policyId: z.string().optional()
|
|
262
|
+
}))
|
|
263
|
+
}).meta({ id: "ContentReleaseReadinessResponse" });
|
|
196
264
|
const contentPreviewUrlBody = z.object({
|
|
197
265
|
expiresIn: z.union([z.string(), z.number()]).optional(),
|
|
198
266
|
pathPattern: z.string().optional()
|
|
@@ -234,6 +302,7 @@ const contentResponseSchema = z.object({
|
|
|
234
302
|
item: contentItemSchema,
|
|
235
303
|
_rev: z.string().optional().meta({ description: "Opaque revision token for optimistic concurrency" })
|
|
236
304
|
}).meta({ id: "ContentResponse" });
|
|
305
|
+
const contentPublishResponseSchema = contentResponseSchema.extend({ publicationReceipt: contentPublicationReceiptSchema }).meta({ id: "ContentPublishResponse" });
|
|
237
306
|
/** Response for content list endpoints */
|
|
238
307
|
const contentListResponseSchema = z.object({
|
|
239
308
|
items: z.array(contentItemSchema),
|
|
@@ -1134,4 +1203,4 @@ const notFoundSummarySchema = z.object({
|
|
|
1134
1203
|
const notFoundSummaryResponseSchema = z.object({ items: z.array(notFoundSummarySchema) }).meta({ id: "NotFoundSummaryResponse" });
|
|
1135
1204
|
|
|
1136
1205
|
//#endregion
|
|
1137
|
-
export { createMenuBody as $, contentCompareResponseSchema as $t, searchRebuildBody as A,
|
|
1206
|
+
export { createMenuBody as $, contentCompareResponseSchema as $t, searchRebuildBody as A, countResponseSchema as An, fieldResponseSchema as At, updateSectionBody as B, mediaConfirmBody as Bt, userDetailSchema as C, bylineListResponseSchema as Cn, collectionResponseSchema as Ct, usersListQuery as D, contentBylineInputSchema as Dn, createFieldBody as Dt, userUpdateBody as E, bylinesListQuery as En, createCollectionBody as Et, siteSettingsSchema as F, localeFilterQuery as Fn, schemaExportQuery as Ft, taxonomyListResponseSchema as G, mediaListResponseSchema as Gt, createTermBody as H, mediaExistingResponseSchema as Ht, createSectionBody as I, offsetPaginationQuery as In, updateCollectionBody as It, termResponseSchema as J, mediaUpdateBody as Jt, termGetResponseSchema as K, mediaProviderListQuery as Kt, sectionListResponseSchema as L, roleLevel as Ln, updateFieldBody as Lt, searchResultSchema as M, deleteResponseSchema as Mn, orphanRegisterBody as Mt, searchSuggestQuery as N, httpUrl as Nn, orphanedTableListResponseSchema as Nt, searchEnableBody as O, VALID_ROLE_LEVELS as On, fieldListResponseSchema as Ot, settingsUpdateBody as P, localeCode as Pn, orphanedTableSchema as Pt, updateTermBody as Q, contentAuthorsResponseSchema as Qt, sectionSchema as R, slugPattern as Rn, DEFAULT_MAX_UPLOAD_SIZE as Rt, allowedDomainUpdateBody as S, bylineCreditSchema as Sn, collectionListResponseSchema as St, userSchema as T, bylineUpdateBody as Tn, collectionWithFieldsResponseSchema as Tt, taxonomyDefSchema as U, mediaItemSchema as Ut, createTaxonomyDefBody as V, mediaConfirmResponseSchema as Vt, taxonomyDefTranslationsSchema as W, mediaListQuery as Wt, termTranslationsSchema as X, mediaUploadUrlResponseSchema as Xt, termSchema as Y, mediaUploadUrlBody as Yt, termWithCountSchema as Z, contentAuthorSchema as Zt, widgetAreaSchema as _, contentTrashQuery as _n, createCommentBody as _t, notFoundPruneBody as a, contentPublicationReceiptSchema as an, menuTranslationsSchema as at, widgetSchema as b, trashedContentListResponseSchema as bn, publicCommentSchema as bt, notFoundSummarySchema as c, contentReleaseReadinessQuery as cn, updateMenuBody as ct, redirectsListQuery as d, contentScheduleBody as dn, commentBulkBody as dt, contentCreateBody as en, createMenuItemBody as et, updateRedirectBody as f, contentSeoInput as fn, commentBulkResponseSchema as ft, updateWidgetBody as g, contentTranslationsResponseSchema as gn, commentStatusBody as gt, reorderWidgetsBody as h, contentTranslationSchema as hn, commentSchema as ht, notFoundListResponseSchema as i, contentPreviewUrlBody as in, menuSchema as it, searchResponseSchema as j, cursorPaginationQuery as jn, fieldSchema as jt, searchQuery as k, apiErrorSchema as kn, fieldReorderBody as kt, redirectListResponseSchema as l, contentReleaseReadinessResponseSchema as ln, updateMenuItemBody as lt, createWidgetBody as m, contentTermsBody as mn, commentListQuery as mt, notFoundEntrySchema as n, contentListQuery as nn, menuItemTypeEnum as nt, notFoundSummaryQuery as o, contentPublishBody as on, menuWithItemsSchema as ot, createWidgetAreaBody as p, contentSeoSchema as pn, commentCountsResponseSchema as pt, termListResponseSchema as q, mediaResponseSchema as qt, notFoundListQuery as r, contentListResponseSchema as rn, menuListItemSchema as rt, notFoundSummaryResponseSchema as s, contentPublishResponseSchema as sn, reorderMenuItemsBody as st, createRedirectBody as t, contentItemSchema as tn, menuItemSchema as tt, redirectSchema as u, contentResponseSchema as un, adminCommentListResponseSchema as ut, widgetAreaWithWidgetsAndCountSchema as v, contentUpdateBody as vn, createReactionBody as vt, userListResponseSchema as w, bylineSummarySchema as wn, collectionSchema as wt, allowedDomainCreateBody as x, bylineCreateBody as xn, collectionGetQuery as xt, widgetAreaWithWidgetsSchema as y, trashedContentItemSchema as yn, publicCommentListResponseSchema as yt, sectionsListQuery as z, successEnvelope as zn, formatFileSize as zt };
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bs as getDb, gs as EntryFilter, hs as EntryData, ms as CollectionFilter, ys as dinewayLoader } from "./types-C-3YPdr-.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-bnvqaEuF.mjs";
|
|
8
8
|
import "./types-BsTXSvKG.mjs";
|
|
9
|
-
import { t as getMediaProvider } from "./provider-loader-
|
|
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-BYieJR6-.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";
|