dineway 0.2.43 → 0.2.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/route-utils.d.mts +3 -3
- package/dist/api/route-utils.mjs +6 -6
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-V-xnLN6S.mjs → api-CB2KRW3W.mjs} +4 -4
- package/dist/{apply-DRFEUVGB.mjs → apply-SoTzf8LK.mjs} +9 -9
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +35 -35
- package/dist/astro/routes/api/admin/briefing.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +3 -3
- package/dist/astro/routes/api/admin/bylines/index.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/_id_.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/bulk.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/counts.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/index.mjs +1 -1
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +12 -12
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +12 -12
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +13 -13
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +13 -13
- package/dist/astro/routes/api/admin/context/diff.mjs +12 -12
- package/dist/astro/routes/api/admin/context/index.mjs +13 -13
- package/dist/astro/routes/api/admin/context/stale.mjs +12 -12
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +13 -13
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +13 -13
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +13 -13
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +12 -12
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/index.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/updates.mjs +19 -19
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +7 -7
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +12 -12
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +16 -16
- package/dist/astro/routes/api/admin/review-requests/index.mjs +14 -14
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +19 -19
- package/dist/astro/routes/api/auth/invite/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/register-options.mjs +1 -1
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +1 -1
- 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/comments/_collection_/_contentId_/index.d.mts +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +5 -5
- 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/dashboard.mjs +4 -4
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +15 -15
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +16 -16
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +33 -33
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/items.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/translations.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_.mjs +12 -12
- package/dist/astro/routes/api/menus/index.mjs +12 -12
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +12 -12
- package/dist/astro/routes/api/redirects/index.mjs +12 -12
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/index.mjs +19 -19
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +19 -19
- package/dist/astro/routes/api/schema/orphans/index.mjs +19 -19
- package/dist/astro/routes/api/sections/_slug_.mjs +12 -12
- package/dist/astro/routes/api/sections/index.mjs +12 -12
- package/dist/astro/routes/api/settings/reviews.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +12 -12
- package/dist/astro/routes/api/setup/admin-verify.mjs +3 -3
- package/dist/astro/routes/api/setup/admin.mjs +1 -1
- package/dist/astro/routes/api/setup/dev-bypass.mjs +9 -9
- package/dist/astro/routes/api/setup/index.mjs +10 -10
- package/dist/astro/routes/api/setup/status.mjs +1 -1
- package/dist/astro/routes/api/snapshot.mjs +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +15 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +15 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +15 -15
- package/dist/astro/routes/api/taxonomies/index.mjs +15 -15
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/_name_.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/index.mjs +12 -12
- package/dist/astro/types.d.mts +2 -2
- package/dist/{briefing-BwDkIHys.mjs → briefing-9YqN5XoW.mjs} +2 -2
- package/dist/{briefing-xEDJ0OcA.mjs → briefing-CXQA-DpY.mjs} +1 -1
- package/dist/{byline-Dznig_jr.mjs → byline-BvFH-UZw.mjs} +3 -3
- package/dist/{byline-fields-Bdq5wStT.d.mts → byline-fields-Dyts_tJ5.d.mts} +13 -13
- package/dist/{bylines-BQMt9Kby.mjs → bylines-DLFjKcNr.mjs} +2 -2
- package/dist/{bylines-umBrRU5P.mjs → bylines-ZfS9Qm_E.mjs} +1 -1
- package/dist/cli/index.mjs +19 -17
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/cli/plugin-kit.mjs +1 -1
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.mjs +2 -2
- package/dist/{content-DbdiQEl7.mjs → content-Dxx0H4k8.mjs} +1 -1
- package/dist/content-storage/index.d.mts +10 -2
- package/dist/content-storage/index.mjs +9 -9
- package/dist/content-storage/store.mjs +1 -1
- package/dist/{content-write-BJkjOdiq.mjs → content-write-eOTKAf2d.mjs} +6 -6
- package/dist/{context-DTj7OFVh.mjs → context-CjeMWXtq.mjs} +2 -2
- package/dist/{context-suF2JGdX.mjs → context-c4OnrX-0.mjs} +2 -2
- package/dist/{dashboard-DNwOpH8d.mjs → dashboard-C_x93lbv.mjs} +1 -1
- package/dist/database/d1/index.d.mts +2 -2
- package/dist/database/d1/index.mjs +2 -2
- package/dist/{evidence-0WP8WrwT.mjs → evidence-FRy3SVTP.mjs} +1 -1
- package/dist/{hitl-requests-BRrufqcM.mjs → hitl-requests-DtPNPiYe.mjs} +1 -1
- package/dist/{hitl-route-helpers-TzM35SHx.mjs → hitl-route-helpers-BKI0ZeUF.mjs} +1 -1
- package/dist/{import-DSf-FzGX.mjs → import-Cn1_u1S2.mjs} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +27 -27
- package/dist/{jsonld-D1llK8pQ.d.mts → jsonld-DZXdAyOK.d.mts} +1 -1
- package/dist/{mcp-reviewed-executor-B_ztrZgH.mjs → mcp-reviewed-executor-B4O9L9MT.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/{migration-zOMc0bo0.mjs → migration-B9FyV3ET.mjs} +65 -25
- package/dist/{owned-metadata-DhyklTd6.mjs → owned-metadata-CJs4-k1w.mjs} +1 -1
- package/dist/page/index.d.mts +3 -3
- package/dist/plugin-utils.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{plugins-B6B7DbdT.mjs → plugins-rop9tkYG.mjs} +2 -2
- package/dist/{public-url-C9ZgIcbF.d.mts → public-url-DLcDMtBJ.d.mts} +1 -1
- package/dist/{publication-authorization-BciTXOB3.mjs → publication-authorization-CS8WqkzL.mjs} +2 -2
- package/dist/{query-Dx_cCV3x.mjs → query-B1t4PSfw.mjs} +4 -4
- package/dist/{release-CIYyinzY.mjs → release-Bk-UaI2C.mjs} +1 -1
- package/dist/{review-requests-CIfXkXvt.mjs → review-requests-BQZp6VaG.mjs} +1 -1
- package/dist/runtime.d.mts +2 -2
- package/dist/seed/index.mjs +9 -9
- package/dist/{seo-DDKu_9zj.mjs → seo-DxrTizK0.mjs} +3 -3
- package/dist/{site-context-DtmMzKtp.mjs → site-context-DNiKKCc1.mjs} +3 -3
- package/dist/{submission-In_0Igp6.mjs → submission-C7tI1Frs.mjs} +3 -3
- package/dist/{taxonomies-D9cNfBL7.mjs → taxonomies-CZHI0fCa.mjs} +1 -1
- package/dist/{taxonomies-B-UkXVx-.mjs → taxonomies-Cf9huhQ6.mjs} +2 -2
- package/dist/{taxonomy-CtnjHXCZ.mjs → taxonomy-B4O77tAe.mjs} +1 -1
- package/dist/{types-Dkj3EodZ.d.mts → types-z2nZassR.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/ui/server-runtime.mjs +2 -2
- package/dist/version-CtBv2gNa.mjs +6 -0
- package/dist/{version-store-DH_PMO8_.mjs → version-store-DyYULGd3.mjs} +4 -2
- package/dist/{worker-DUtMI6XU.mjs → worker-CcvePQzq.mjs} +4 -4
- package/dist/{write-intent-BkgfwPO9.mjs → write-intent-D6xfcx1f.mjs} +1 -1
- package/package.json +1 -1
- package/dist/version-CCgLyHqU.mjs +0 -6
- /package/dist/{allowed-origins-SQbPK6WG.mjs → allowed-origins-CQyKpMbJ.mjs} +0 -0
- /package/dist/{challenge-store-7IZ_NqWg.mjs → challenge-store-BImHCJvl.mjs} +0 -0
- /package/dist/{comments-CaCApohz.mjs → comments-BFXekTqN.mjs} +0 -0
- /package/dist/{context-route-helpers-CUrRB8qt.mjs → context-route-helpers-CGA2fsiz.mjs} +0 -0
- /package/dist/{forgeway-account-B-z2_ZOQ.mjs → forgeway-account-CVSG1imu.mjs} +0 -0
- /package/dist/{mode-C3RI5Z5t.mjs → mode-BoM5FjH7.mjs} +0 -0
- /package/dist/{output-4F_wq70p.mjs → output-TGkiEMQF.mjs} +0 -0
- /package/dist/{policy-DbceGc4P.mjs → policy-BL8yj6uD.mjs} +0 -0
- /package/dist/{portable-text-DeJeHr_T.mjs → portable-text-CJ9v0T_j.mjs} +0 -0
- /package/dist/{session-user-D36BRaZY.mjs → session-user-j7I8GMvK.mjs} +0 -0
- /package/dist/{setup-complete-eTV6C0-E.mjs → setup-complete-Cn-Ho9RX.mjs} +0 -0
- /package/dist/{state-CKkqoA6i.mjs → state-LzJZ7qpq.mjs} +0 -0
- /package/dist/{transport-DHTeMsJG.mjs → transport-C_bzEHB4.mjs} +0 -0
- /package/dist/{workers-build-4926MPc0.mjs → workers-build-Bd4w1aw9.mjs} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterCallback, after } from "./after.mjs";
|
|
2
2
|
import { _ as UpdateCollectionInput, a as ColumnType, d as FieldType, f as FieldValidation, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as PublicDiscoveryRules, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-BjWhF4eO.mjs";
|
|
3
3
|
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--vDpt_aS.mjs";
|
|
4
|
-
import { $ as PluginMcpCommandPreview, $a as RevisionResponse, $i as resolveDinewayPath, $n as UpdateMenuItemInput, $o as handleContentUpdate, $r as PluginSecretStatus, $s as getDb, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextUnknownBlock, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as MarkAssignmentsOverdueInput, At as ResolvedPlugin, B as PluginActor, Ba as UpdateSectionInput, Bi as ContentEntry, Bn as UpdateTermInput, Bo as handleContentDiscardDraft, Br as HandoffSnapshot, C as FieldWidgetConfig, Ca as PortableTextCodeBlock, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxRunnerFactory, Cr as getPreviewUrl, Cs as AssignmentActorRef, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextMarkDef, Di as contentNamespace, Dn as WidgetComponentDef, Do as PluginMcpTargetAuthorizer, Dr as VerifyPreviewTokenResult, Ds as AssignmentRepository, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextLinkMark, Ei as cachedQuery, En as WidgetArea, Er as VerifyPreviewTokenOptions, Es as AssignmentPriority, Et as PublicPageImage, F as PageMetadataContribution, Fa as getSections, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fo as handleContentCompare, Fr as CreateWorkflowAssignmentInput, Fs as SiteActivityActorType, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as MediaListResponse, Gi as ResolvePathResult, Gn as getMenus, Go as handleContentListTrashed, Gr as NodeSandboxRunner, Gs as MediaRepository, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as getCollectionInfo, Hi as EditFieldMeta, Hn as getBylineBySlug, Ho as handleContentGet, Hr as PublicationReleasePolicyContribution, Hs as RevisionRepository, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as CreateSectionInput, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentCountScheduled, Ir as HandoffResumeResult, Is as SiteActivityRepository, It as StandardPluginDefinition, J as PluginD1Support, Ja as handleMediaDelete, Ji as TranslationsResult, Jn as Menu, Jo as handleContentRestore, Jr as SandboxNotAvailableError, Js as EntryData, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as MediaResponse, Ki as SelectedCollectionData, Kn as CreateMenuInput, Ko as handleContentPermanentDelete, Kr as createNodeSandboxRunner, Ks as ContentRepository, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as GetSectionsOptions, Li as CacheHint, Ln as TaxonomyDef, Lo as handleContentCountTrashed, Lr as HandoffSnapshotStore, Ls as SiteActivityResultStatus, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as ProseMirrorMark, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorNode, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as CreateSiteActivityInput, Nt as RouteContext, O as LogAccess, Oa as PortableTextSpan, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentStatus, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as getSection, Pi as invalidateSchemaObjectCache, Pn as getTerm, Po as handleContentAuthors, Pr as AssignmentService, Ps as SiteActivity, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as RevisionListResponse, Qi as getTranslations, Qn as UpdateMenuInput, Qo as handleContentUnschedule, Qr as createReviewedPluginMcpCommandExecutor, Qt as PublicationReleasePolicy, Ra as Section, Ri as CollectionFilter, Rn as TaxonomyTerm, Ro as handleContentCreate, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivitySourceType, Rt as StandardRouteHandler, S as EmailMessage, Sa as prosemirrorToPortableText, Sc as ManifestResponse, Si as signPreviewUrl, Sn as PropDef, So as SandboxRunner, Sr as buildPreviewUrl, Ss as Assignment, St as PluginTargetScope, T as HookName, Ta as PortableTextImageBlock, Ti as CachedQueryOptions, Tn as Widget, To as SerializedRequest, Tr as PreviewTokenPayload, Ts as AssignmentListQuery, Tt as PublicPageContext, U as PluginAdminExports, Ua as SchemaError, Ui as EntryResult, Un as getEntriesByByline, Uo as handleContentGetIncludingTrashed, Ur as PublicationReleasePolicyDisposition, Us as CreateMediaInput, V as PluginActorType, Va as validateContent, Vi as DinewayCollections, Vn as getByline, Vo as handleContentDuplicate, Vr as BuiltContentReleasePayload, Vt as StoredComment, W as PluginAdminPage, Wa as SchemaRegistry, Wi as InferCollectionData, Wn as getMenu, Wo as handleContentList, Wr as buildStableActionHash, Ws as MediaItem, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaList, Xi as getDinewayEntry, Xn as MenuItemType, Xo as handleContentTranslations, Xr as PluginManager, Xs as WhereRange, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaGet, Yi as getDinewayCollection, Yn as MenuItem, Yo as handleContentSchedule, Yr as createNoopSandboxRunner, Ys as EntryFilter, Z as PluginManifest, Za as handleMediaUpdate, Zi as getEditMeta, Zn as ReorderMenuItemsInput, Zo as handleContentUnpublish, Zr as createPluginManager, Zs as WhereValue, _ as EmailAfterSendHandler, _a as isSafeHref, _c as ApiContext, _i as PreviewSidecarClient, _n as getWidgetArea, _o as HookResult, _r as renderPreviewLoadingPage, _s as ContentReference, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as GuestAccessExpectedScope, ai as definePlugin, an as search, ao as SiteBriefingAssembler, ar as getPluginSettings, as as ContentReviewHandlers, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as hashString, bc as FieldDescriptor, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as SandboxEmailSendCallback, br as isPreviewRequest, bs as RelationRepository, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as IssueGuestAccessTokenOptions, ci as FileSessionDatabaseFactory, cn as FTSManager, cr as setSiteSettings, cs as prepareContentWrite, ct as PluginMcpReversibility, d as ContentAccess, da as VerifyGuestAccessTokenResult, di as SessionDatabaseFactory, dn as SearchOptions, do as ConfirmedContentPublicationResult, dr as AppliedSnapshotMeta, ds as image, dt as PluginMcpTool, ea as CMSAnnotation, ec as DatabaseConfig, ei as PluginSecretStore, en as currentTimestamp, eo as handleRevisionGet, er as GetCommentsOptions, es as ReviewSubmissionError, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as hashGuestAccessToken, fi as SessionDatabaseHandle, fn as SearchResponse, fo as PublishConfirmedContentInput, fr as ApplySnapshotToDatabaseOptions, fs as FieldDefinition, ft as PluginMigration, g as EmailAfterSendEvent, ga as checkRateLimit, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as HookPipeline, gr as Snapshot, gs as PortableTextBlock, gt as PluginRouteBodyMode, h as EmailAccess, ha as RateLimitResult, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as ImageValue, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as createNoop, ii as runPluginMigrations, in as getSuggestions, io as SiteBriefing, ir as getPluginSetting, is as ReviewRequestActorInput, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as ProseMirrorDocument, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jr as AssignmentAccessContext, js as ReviewRequest, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextTextBlock, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginDescriptor, kr as parseContentId, ks as CreateAssignmentInput, kt as ResolvedHook, l as CommentModerateEvent, la as IssuedGuestAccessToken, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lo as AtomicConfirmedContentAuthorizer, lr as PreviewToolbarConfig, ls as portableText, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as verifyGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PluginRouteError, mr as dropSessionDatabaseTables, ms as FileValue, n as CollectionCommentSettings, na as FieldAnnotation, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionRestore, nr as getCommentCount, ns as prepareAutomatedReview, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as GuestAccessTokenClaims, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefingContextEntry, or as getSiteSetting, os as ContentWriteInput, ot as PluginMcpResource, p as ContentHookEvent, pa as issueGuestAccessToken, pi as SessionDatabaseInfo, pn as SearchResult, pr as applySnapshotToDatabase, ps as FieldUIHints, pt as PluginRoute, q as PluginContext, qa as handleMediaCreate, qi as TranslationSummary, qn as CreateMenuItemInput, qo as handleContentPublish, qr as NoopSandboxRunner, qs as CollectionFilter$1, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as createEditable, ri as pluginManifestSchema, rn as getSearchStats, ro as generateManifest, rr as getComments, rs as submitAutomatedReview, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessTokenConfigurationError, si as createFilePreviewMiddleware, sn as searchWithDb, sr as getSiteSettings, ss as PreparedContentWrite, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as EditProxy, tc as DinewayDatabaseError, ti as PluginSecretStoreOptions, tn as extractPlainText, to as handleRevisionList, tr as GetCommentsResult, ts as ReviewSubmissionInput, tt as PluginMcpConfig, u as CommentModerateHandler, ua as VerifyGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, uo as ConfirmedContentAuthorizer, ur as renderPreviewToolbar, us as reference, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as sanitizeHref, vc as ContentListResponse, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as createHookPipeline, vr as isBlockedInPreview, vs as CreateRelationInput, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as PortableTextHtmlBlock, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxedPlugin, wr as GeneratePreviewTokenOptions, ws as AssignmentActorType, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as portableTextToProsemirror, xc as ListResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxOptions, xr as GetPreviewUrlOptions, xs as UpdateRelationInput, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as computeContentHash, yc as ContentResponse, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as SandboxEmailMessage, yr as getPreviewToken, ys as Relation, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as SectionSource, zi as CollectionResult, zn as TaxonomyTermRow, zo as handleContentDelete, zr as CreateHandoffSnapshotInput, zs as SiteActivityTimelineQuery, zt as StorageCollection } from "./types-Dkj3EodZ.mjs";
|
|
4
|
+
import { $ as PluginMcpCommandPreview, $a as RevisionResponse, $i as resolveDinewayPath, $n as UpdateMenuItemInput, $o as handleContentUpdate, $r as PluginSecretStatus, $s as getDb, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextUnknownBlock, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as MarkAssignmentsOverdueInput, At as ResolvedPlugin, B as PluginActor, Ba as UpdateSectionInput, Bi as ContentEntry, Bn as UpdateTermInput, Bo as handleContentDiscardDraft, Br as HandoffSnapshot, C as FieldWidgetConfig, Ca as PortableTextCodeBlock, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxRunnerFactory, Cr as getPreviewUrl, Cs as AssignmentActorRef, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextMarkDef, Di as contentNamespace, Dn as WidgetComponentDef, Do as PluginMcpTargetAuthorizer, Dr as VerifyPreviewTokenResult, Ds as AssignmentRepository, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextLinkMark, Ei as cachedQuery, En as WidgetArea, Er as VerifyPreviewTokenOptions, Es as AssignmentPriority, Et as PublicPageImage, F as PageMetadataContribution, Fa as getSections, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fo as handleContentCompare, Fr as CreateWorkflowAssignmentInput, Fs as SiteActivityActorType, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as MediaListResponse, Gi as ResolvePathResult, Gn as getMenus, Go as handleContentListTrashed, Gr as NodeSandboxRunner, Gs as MediaRepository, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as getCollectionInfo, Hi as EditFieldMeta, Hn as getBylineBySlug, Ho as handleContentGet, Hr as PublicationReleasePolicyContribution, Hs as RevisionRepository, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as CreateSectionInput, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentCountScheduled, Ir as HandoffResumeResult, Is as SiteActivityRepository, It as StandardPluginDefinition, J as PluginD1Support, Ja as handleMediaDelete, Ji as TranslationsResult, Jn as Menu, Jo as handleContentRestore, Jr as SandboxNotAvailableError, Js as EntryData, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as MediaResponse, Ki as SelectedCollectionData, Kn as CreateMenuInput, Ko as handleContentPermanentDelete, Kr as createNodeSandboxRunner, Ks as ContentRepository, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as GetSectionsOptions, Li as CacheHint, Ln as TaxonomyDef, Lo as handleContentCountTrashed, Lr as HandoffSnapshotStore, Ls as SiteActivityResultStatus, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as ProseMirrorMark, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorNode, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as CreateSiteActivityInput, Nt as RouteContext, O as LogAccess, Oa as PortableTextSpan, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentStatus, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as getSection, Pi as invalidateSchemaObjectCache, Pn as getTerm, Po as handleContentAuthors, Pr as AssignmentService, Ps as SiteActivity, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as RevisionListResponse, Qi as getTranslations, Qn as UpdateMenuInput, Qo as handleContentUnschedule, Qr as createReviewedPluginMcpCommandExecutor, Qt as PublicationReleasePolicy, Ra as Section, Ri as CollectionFilter, Rn as TaxonomyTerm, Ro as handleContentCreate, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivitySourceType, Rt as StandardRouteHandler, S as EmailMessage, Sa as prosemirrorToPortableText, Sc as ManifestResponse, Si as signPreviewUrl, Sn as PropDef, So as SandboxRunner, Sr as buildPreviewUrl, Ss as Assignment, St as PluginTargetScope, T as HookName, Ta as PortableTextImageBlock, Ti as CachedQueryOptions, Tn as Widget, To as SerializedRequest, Tr as PreviewTokenPayload, Ts as AssignmentListQuery, Tt as PublicPageContext, U as PluginAdminExports, Ua as SchemaError, Ui as EntryResult, Un as getEntriesByByline, Uo as handleContentGetIncludingTrashed, Ur as PublicationReleasePolicyDisposition, Us as CreateMediaInput, V as PluginActorType, Va as validateContent, Vi as DinewayCollections, Vn as getByline, Vo as handleContentDuplicate, Vr as BuiltContentReleasePayload, Vt as StoredComment, W as PluginAdminPage, Wa as SchemaRegistry, Wi as InferCollectionData, Wn as getMenu, Wo as handleContentList, Wr as buildStableActionHash, Ws as MediaItem, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaList, Xi as getDinewayEntry, Xn as MenuItemType, Xo as handleContentTranslations, Xr as PluginManager, Xs as WhereRange, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaGet, Yi as getDinewayCollection, Yn as MenuItem, Yo as handleContentSchedule, Yr as createNoopSandboxRunner, Ys as EntryFilter, Z as PluginManifest, Za as handleMediaUpdate, Zi as getEditMeta, Zn as ReorderMenuItemsInput, Zo as handleContentUnpublish, Zr as createPluginManager, Zs as WhereValue, _ as EmailAfterSendHandler, _a as isSafeHref, _c as ApiContext, _i as PreviewSidecarClient, _n as getWidgetArea, _o as HookResult, _r as renderPreviewLoadingPage, _s as ContentReference, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as GuestAccessExpectedScope, ai as definePlugin, an as search, ao as SiteBriefingAssembler, ar as getPluginSettings, as as ContentReviewHandlers, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as hashString, bc as FieldDescriptor, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as SandboxEmailSendCallback, br as isPreviewRequest, bs as RelationRepository, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as IssueGuestAccessTokenOptions, ci as FileSessionDatabaseFactory, cn as FTSManager, cr as setSiteSettings, cs as prepareContentWrite, ct as PluginMcpReversibility, d as ContentAccess, da as VerifyGuestAccessTokenResult, di as SessionDatabaseFactory, dn as SearchOptions, do as ConfirmedContentPublicationResult, dr as AppliedSnapshotMeta, ds as image, dt as PluginMcpTool, ea as CMSAnnotation, ec as DatabaseConfig, ei as PluginSecretStore, en as currentTimestamp, eo as handleRevisionGet, er as GetCommentsOptions, es as ReviewSubmissionError, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as hashGuestAccessToken, fi as SessionDatabaseHandle, fn as SearchResponse, fo as PublishConfirmedContentInput, fr as ApplySnapshotToDatabaseOptions, fs as FieldDefinition, ft as PluginMigration, g as EmailAfterSendEvent, ga as checkRateLimit, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as HookPipeline, gr as Snapshot, gs as PortableTextBlock, gt as PluginRouteBodyMode, h as EmailAccess, ha as RateLimitResult, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as ImageValue, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as createNoop, ii as runPluginMigrations, in as getSuggestions, io as SiteBriefing, ir as getPluginSetting, is as ReviewRequestActorInput, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as ProseMirrorDocument, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jr as AssignmentAccessContext, js as ReviewRequest, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextTextBlock, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginDescriptor, kr as parseContentId, ks as CreateAssignmentInput, kt as ResolvedHook, l as CommentModerateEvent, la as IssuedGuestAccessToken, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lo as AtomicConfirmedContentAuthorizer, lr as PreviewToolbarConfig, ls as portableText, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as verifyGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PluginRouteError, mr as dropSessionDatabaseTables, ms as FileValue, n as CollectionCommentSettings, na as FieldAnnotation, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionRestore, nr as getCommentCount, ns as prepareAutomatedReview, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as GuestAccessTokenClaims, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefingContextEntry, or as getSiteSetting, os as ContentWriteInput, ot as PluginMcpResource, p as ContentHookEvent, pa as issueGuestAccessToken, pi as SessionDatabaseInfo, pn as SearchResult, pr as applySnapshotToDatabase, ps as FieldUIHints, pt as PluginRoute, q as PluginContext, qa as handleMediaCreate, qi as TranslationSummary, qn as CreateMenuItemInput, qo as handleContentPublish, qr as NoopSandboxRunner, qs as CollectionFilter$1, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as createEditable, ri as pluginManifestSchema, rn as getSearchStats, ro as generateManifest, rr as getComments, rs as submitAutomatedReview, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessTokenConfigurationError, si as createFilePreviewMiddleware, sn as searchWithDb, sr as getSiteSettings, ss as PreparedContentWrite, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as EditProxy, tc as DinewayDatabaseError, ti as PluginSecretStoreOptions, tn as extractPlainText, to as handleRevisionList, tr as GetCommentsResult, ts as ReviewSubmissionInput, tt as PluginMcpConfig, u as CommentModerateHandler, ua as VerifyGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, uo as ConfirmedContentAuthorizer, ur as renderPreviewToolbar, us as reference, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as sanitizeHref, vc as ContentListResponse, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as createHookPipeline, vr as isBlockedInPreview, vs as CreateRelationInput, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as PortableTextHtmlBlock, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxedPlugin, wr as GeneratePreviewTokenOptions, ws as AssignmentActorType, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as portableTextToProsemirror, xc as ListResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxOptions, xr as GetPreviewUrlOptions, xs as UpdateRelationInput, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as computeContentHash, yc as ContentResponse, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as SandboxEmailMessage, yr as getPreviewToken, ys as Relation, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as SectionSource, zi as CollectionResult, zn as TaxonomyTermRow, zo as handleContentDelete, zr as CreateHandoffSnapshotInput, zs as SiteActivityTimelineQuery, zt as StorageCollection } from "./types-z2nZassR.mjs";
|
|
5
5
|
import { $ as RestaurantReservationExperienceIncludedAddonTable, $t as VenuePaymentEventTable, A as RestaurantNotificationSettingsTable, At as UserTable, B as RestaurantOutboxDeliveryTable, Bt as VenueGuestAccessTable, C as RestaurantMenuLocationAssignmentTable, Ct as RestaurantServiceScope, D as RestaurantMenuTable, Dt as RestaurantTaxMode, E as RestaurantMenuSectionTable, Et as RestaurantTableTable, F as RestaurantOrderSnapshotTable, Ft as VenueBookingPolicyTable, G as RestaurantPriorityAlertOpportunityTable, Gt as VenueOrderCancellationSnapshotTable, H as RestaurantPaymentStatus, Ht as VenueLocationTable, I as RestaurantOrderSource, It as VenueCancellationPolicyTable, J as RestaurantReservationAddonCategoryTable, Jt as VenueOrderTable, K as RestaurantPriorityAlertTable, Kt as VenueOrderStatus, L as RestaurantOrderStatus, Lt as VenueCancellationPolicyTierTable, M as RestaurantOrderItemModifierTable, Mt as VenueAvailabilityRuleTable, N as RestaurantOrderItemTable, Nt as VenueBookingHoldTable, O as RestaurantModifierGroupTable, Ot as RestaurantZoneTable, P as RestaurantOrderSequenceTable, Pt as VenueBookingMode, Q as RestaurantReservationExperienceAddonCategoryTable, Qt as VenuePaymentCollection, R as RestaurantOrderStatusHistoryTable, Rt as VenueConversationReadTable, S as RestaurantMenuItemTranslationTable, St as RestaurantReservationTableAssignmentTable, T as RestaurantMenuSectionItemTable, Tt as RestaurantTabRoundTable, U as RestaurantPaymentTable, Ut as VenueMessageTable, V as RestaurantPaymentFlow, Vt as VenueLocationMembershipTable, W as RestaurantPriorityAlertDeliveryTable, Wt as VenueNotificationSettingsTable, X as RestaurantReservationBlockTable, Xt as VenuePaymentAllocationStatus, Y as RestaurantReservationAddonTable, Yt as VenueOutboxEventTable, Z as RestaurantReservationDemandSettingsTable, Zt as VenuePaymentAllocationTable, _ as RestaurantHoursTable, _t as RestaurantReservationRequestTable, a as RestaurantCapacityOverrideTable, an as VenueQuoteStatus, at as RestaurantReservationHoldCommercialSelectionTable, b as RestaurantMenuItemModifierGroupTable, bt as RestaurantReservationStatus, c as RestaurantDeliverySettingsTable, cn as VenueRecordStatus, ct as RestaurantReservationOfferLinkDeliveryTable, d as RestaurantDineInSettingsTable, dn as VenueReviewResponseTable, dt as RestaurantReservationPromotionAllocationTable, en as VenuePaymentRecordStatus, et as RestaurantReservationExperienceTable, f as RestaurantFulfilmentType, fn as VenueReviewTable, ft as RestaurantReservationPromotionOperationTable, g as RestaurantHoursOverrideTable, gt as RestaurantReservationQuoteTable, h as RestaurantGuestAccessTable, hn as VenueTable, ht as RestaurantReservationQuoteLineTable, i as RestaurantCapacityCounterTable, in as VenueQuoteRecordStatus, it as RestaurantReservationHoldAddonTable, j as RestaurantOperatingSettingsTable, jt as VenueAvailabilityBlockTable, k as RestaurantModifierOptionTable, l as RestaurantDeliveryZoneTable, ln as VenueRefundTable, lt as RestaurantReservationOfferTable, m as RestaurantGiftCardTable, mn as VenueSpaceTable, mt as RestaurantReservationQuoteCheckoutTable, n as Database, nn as VenuePaymentTable, nt as RestaurantReservationGiftCardOperationTable, o as RestaurantCartHoldTable, on as VenueQuoteTable, ot as RestaurantReservationHoldTable, p as RestaurantGiftCardLedgerEntryTable, pn as VenueSpaceLayoutTable, pt as RestaurantReservationPromotionTable, q as RestaurantRefundTable, qt as VenueOrderStatusHistoryTable, r as MediaTable, rn as VenueQuoteLineTable, rt as RestaurantReservationHoldAddonOperationTable, s as RestaurantClosureTable, sn as VenueRatePlanTable, st as RestaurantReservationLanguageSettingsTable, tn as VenuePaymentStatus, tt as RestaurantReservationGiftCardAllocationTable, u as RestaurantDineInSessionTable, un as VenueReviewInvitationTable, ut as RestaurantReservationPaymentPolicyTable, v as RestaurantLocationMembershipTable, vt as RestaurantReservationRequestTableAssignmentTable, w as RestaurantMenuOverrideTable, wt as RestaurantSpecialHoursTable, x as RestaurantMenuItemTable, xt as RestaurantReservationTable, y as RestaurantLocationTable, yt as RestaurantReservationSettingsTable, z as RestaurantOrderTable, zt as VenueConversationTable } from "./types-CG9uGPBL.mjs";
|
|
6
6
|
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-CjKwIO3g.mjs";
|
|
7
7
|
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-DlkOiguI.mjs";
|
|
@@ -16,7 +16,7 @@ import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescr
|
|
|
16
16
|
import "./scheduled-publish-7kZkKw7t.mjs";
|
|
17
17
|
import { c as I18nConfig, d as isI18nEnabled, l as getFallbackChain, n as resolveContentUrl, t as ResolveContentUrlInput, u as getI18nConfig } from "./public-url-CvNSyMJJ.mjs";
|
|
18
18
|
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-CleBZbkv.mjs";
|
|
19
|
-
import "./byline-fields-
|
|
19
|
+
import "./byline-fields-Dyts_tJ5.mjs";
|
|
20
20
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
21
21
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
22
22
|
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-BuplUVZ4.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { r as DinewayDatabaseError } from "./connection-DJ3GzHVH.mjs";
|
|
|
5
5
|
import "./d1-binding-DrLMBUxu.mjs";
|
|
6
6
|
import { i as currentTimestamp } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
7
7
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
8
|
-
import { C as image, S as reference, _ as issueGuestAccessToken, a as createNoopSandboxRunner, b as prosemirrorToPortableText, c as PluginSecretStore, f as definePlugin, g as hashGuestAccessToken, h as GuestAccessTokenConfigurationError, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, v as verifyGuestAccessToken, w as RelationRepository, x as portableText, y as portableTextToProsemirror } from "./plugins-
|
|
8
|
+
import { C as image, S as reference, _ as issueGuestAccessToken, a as createNoopSandboxRunner, b as prosemirrorToPortableText, c as PluginSecretStore, f as definePlugin, g as hashGuestAccessToken, h as GuestAccessTokenConfigurationError, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, v as verifyGuestAccessToken, w as RelationRepository, x as portableText, y as portableTextToProsemirror } from "./plugins-rop9tkYG.mjs";
|
|
9
9
|
import "./config---A7Bg68.mjs";
|
|
10
10
|
import { f as extractPlainText, p as extractSearchableFields } from "./runtime-Dz7vZRPU.mjs";
|
|
11
11
|
import "./revisions-C-T9CdGo.mjs";
|
|
@@ -15,39 +15,39 @@ import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as D
|
|
|
15
15
|
import { r as getDb } from "./loader-C9hvIKEW.mjs";
|
|
16
16
|
import "./actor-D0AW80ld.mjs";
|
|
17
17
|
import "./atomic-authority-Bf5QZboB.mjs";
|
|
18
|
-
import { t as ContentRepository } from "./content-
|
|
18
|
+
import { t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
19
19
|
import "./request-cache-CizvDoxV.mjs";
|
|
20
20
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-BgUxCuwu.mjs";
|
|
21
21
|
import "./byline-registry-Caj0_gbU.mjs";
|
|
22
22
|
import "./field-defs-cache-dn5Tw79A.mjs";
|
|
23
23
|
import { a as invalidateBylineObjectCache, c as invalidateMenuObjectCache, d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, i as contentNamespaces, l as invalidateObjectCache, n as cachedQuery, o as invalidateCollectionCache, r as contentNamespace, s as invalidateCommentObjectCache, t as CacheNamespace, u as invalidateSchemaObjectCache } from "./object-cache-qP60KjUp.mjs";
|
|
24
|
-
import { t as BylineRepository } from "./byline-
|
|
25
|
-
import "./owned-metadata-
|
|
24
|
+
import { t as BylineRepository } from "./byline-BvFH-UZw.mjs";
|
|
25
|
+
import "./owned-metadata-CJs4-k1w.mjs";
|
|
26
26
|
import { t as decodeSlug } from "./slugify-DvoaEPtL.mjs";
|
|
27
27
|
import { t as RevisionRepository } from "./revision-BhnVYOMz.mjs";
|
|
28
28
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
29
29
|
import "./user-Bl2_8rhJ.mjs";
|
|
30
30
|
import "./terms-EskuqbKE.mjs";
|
|
31
|
-
import "./taxonomy-
|
|
31
|
+
import "./taxonomy-B4O77tAe.mjs";
|
|
32
32
|
import "./comment-CbGlRPPS.mjs";
|
|
33
33
|
import "./options-yFkLUuTw.mjs";
|
|
34
34
|
import "./audit-hXJBTPY0.mjs";
|
|
35
35
|
import { t as SiteActivityRepository } from "./site-activity-hpfJkmxQ.mjs";
|
|
36
36
|
import "./review-requests-DZYM51yI.mjs";
|
|
37
|
-
import "./publication-authorization-
|
|
38
|
-
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-
|
|
39
|
-
import "./context-
|
|
37
|
+
import "./publication-authorization-CS8WqkzL.mjs";
|
|
38
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-DNiKKCc1.mjs";
|
|
39
|
+
import "./context-c4OnrX-0.mjs";
|
|
40
40
|
import "./menus-BfQjG9Wc.mjs";
|
|
41
41
|
import "./redirect-CJ-FAbNK.mjs";
|
|
42
42
|
import { n as normalizeMediaValue } from "./normalize-DrmlLn40.mjs";
|
|
43
43
|
import { n as generatePlaceholder } from "./enrich-CAMsD1aT.mjs";
|
|
44
|
-
import { C as handleContentUnschedule, S as handleContentUnpublish, _ as handleContentPermanentDelete, a as handleContentAuthors, b as handleContentSchedule, c as handleContentCountTrashed, d as handleContentDiscardDraft, f as handleContentDuplicate, g as handleContentListTrashed, h as handleContentList, l as handleContentCreate, m as handleContentGetIncludingTrashed, n as prepareContentWrite, o as handleContentCompare, p as handleContentGet, s as handleContentCountScheduled, u as handleContentDelete, v as handleContentPublish, w as handleContentUpdate, x as handleContentTranslations, y as handleContentRestore } from "./content-write-
|
|
45
|
-
import "./version-store-
|
|
46
|
-
import "./write-intent-
|
|
47
|
-
import "./seo-
|
|
44
|
+
import { C as handleContentUnschedule, S as handleContentUnpublish, _ as handleContentPermanentDelete, a as handleContentAuthors, b as handleContentSchedule, c as handleContentCountTrashed, d as handleContentDiscardDraft, f as handleContentDuplicate, g as handleContentListTrashed, h as handleContentList, l as handleContentCreate, m as handleContentGetIncludingTrashed, n as prepareContentWrite, o as handleContentCompare, p as handleContentGet, s as handleContentCountScheduled, u as handleContentDelete, v as handleContentPublish, w as handleContentUpdate, x as handleContentTranslations, y as handleContentRestore } from "./content-write-eOTKAf2d.mjs";
|
|
45
|
+
import "./version-store-DyYULGd3.mjs";
|
|
46
|
+
import "./write-intent-D6xfcx1f.mjs";
|
|
47
|
+
import "./seo-DxrTizK0.mjs";
|
|
48
48
|
import { n as buildStableActionHash } from "./review-payload-mDJIgcFy.mjs";
|
|
49
49
|
import "./context-types-B9ShQ_6c.mjs";
|
|
50
|
-
import { d as HookPipeline, f as createHookPipeline, t as SiteBriefingAssembler } from "./briefing-
|
|
50
|
+
import { d as HookPipeline, f as createHookPipeline, t as SiteBriefingAssembler } from "./briefing-9YqN5XoW.mjs";
|
|
51
51
|
import "./runs-BGqkkqhp.mjs";
|
|
52
52
|
import "./secrets-D52WNV_c.mjs";
|
|
53
53
|
import "./content-refresh-COi0WfKw.mjs";
|
|
@@ -57,27 +57,27 @@ import { t as FTSManager } from "./fts-manager-BHwhq1lC.mjs";
|
|
|
57
57
|
import "./public-discovery-CGRirTJH.mjs";
|
|
58
58
|
import { n as SchemaRegistry, t as SchemaError } from "./registry-3xWpSYNI.mjs";
|
|
59
59
|
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-D0SBKo-W.mjs";
|
|
60
|
-
import "./evidence-
|
|
61
|
-
import { n as prepareAutomatedReview, r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-
|
|
62
|
-
import "./dashboard-
|
|
63
|
-
import "./briefing-
|
|
64
|
-
import "./review-requests-
|
|
65
|
-
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, T as handleMediaCreate, j as handleRevisionList, k as handleMediaUpdate } from "./api-
|
|
60
|
+
import "./evidence-FRy3SVTP.mjs";
|
|
61
|
+
import { n as prepareAutomatedReview, r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-C7tI1Frs.mjs";
|
|
62
|
+
import "./dashboard-C_x93lbv.mjs";
|
|
63
|
+
import "./briefing-CXQA-DpY.mjs";
|
|
64
|
+
import "./review-requests-BQZp6VaG.mjs";
|
|
65
|
+
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, T as handleMediaCreate, j as handleRevisionList, k as handleMediaUpdate } from "./api-CB2KRW3W.mjs";
|
|
66
66
|
import { t as getCollectionInfo } from "./query-D0qnvePL.mjs";
|
|
67
67
|
import { r as validateContent } from "./zod-generator-DBu-v5Zy.mjs";
|
|
68
68
|
import "./schema-2x9K4t9t.mjs";
|
|
69
69
|
import "./discovery-CIgViNk9.mjs";
|
|
70
70
|
import { t as resolveContentUrl } from "./public-url-NCefkiXz.mjs";
|
|
71
71
|
import "./seo-BYBqbsZk.mjs";
|
|
72
|
-
import "./bylines-
|
|
72
|
+
import "./bylines-ZfS9Qm_E.mjs";
|
|
73
73
|
import "./byline-fields-BAezRNxz.mjs";
|
|
74
74
|
import { o as getSection, s as getSections } from "./sections-0cg9Dhp6.mjs";
|
|
75
75
|
import "./settings-DM4P-jVe.mjs";
|
|
76
76
|
import "./store-rYMso0t7.mjs";
|
|
77
77
|
import "./integration-credentials-B23h97Ip.mjs";
|
|
78
78
|
import "./resolve-BdDNBmaU.mjs";
|
|
79
|
-
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-
|
|
80
|
-
import "./taxonomies-
|
|
79
|
+
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-CZHI0fCa.mjs";
|
|
80
|
+
import "./taxonomies-Cf9huhQ6.mjs";
|
|
81
81
|
import { r as isStandardPluginDefinition } from "./types-MCEx6w1B.mjs";
|
|
82
82
|
import { i as pluginManifestSchema } from "./manifest-schema-B_rWNZn5.mjs";
|
|
83
83
|
import { t as DinewayStorageError } from "./types-PX2c4KA4.mjs";
|
|
@@ -89,7 +89,7 @@ import { n as sanitizeHref, t as isSafeHref } from "./url--_ukDIsN.mjs";
|
|
|
89
89
|
import "./status-CDqWWt6i.mjs";
|
|
90
90
|
import "./trusted-proxy-Dmi1gZXh.mjs";
|
|
91
91
|
import { t as checkRateLimit } from "./rate-limit-BzNkH-vQ.mjs";
|
|
92
|
-
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-
|
|
92
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-B1t4PSfw.mjs";
|
|
93
93
|
import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-D69s90P-.mjs";
|
|
94
94
|
import { a as createFilePreviewMiddleware, c as dropSessionDatabaseTables, d as SessionDatabaseLimitError, f as isBlockedInPreview, i as getPreviewUrl, l as getAppliedSnapshotMeta, n as isPreviewRequest, o as renderPreviewToolbar, p as renderPreviewLoadingPage, r as buildPreviewUrl, s as applySnapshotToDatabase, t as getPreviewToken, u as FileSessionDatabaseFactory } from "./preview-DC1K_aSd.mjs";
|
|
95
95
|
import { n as parseWxrString, t as parseWxr } from "./parser-CoH5-854.mjs";
|
|
@@ -97,20 +97,20 @@ import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
|
97
97
|
import { n as runPluginMigrations } from "./migrations-DTCIQJ2_.mjs";
|
|
98
98
|
import "./request-meta-DOBXMRX0.mjs";
|
|
99
99
|
import "./api-tokens-CK0aCsS2.mjs";
|
|
100
|
-
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-
|
|
100
|
+
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-B4O9L9MT.mjs";
|
|
101
101
|
import "./activity-lyE6xCrf.mjs";
|
|
102
102
|
import "./activity-events-D4JfWJFI.mjs";
|
|
103
103
|
import "./utils-WY63JOPB.mjs";
|
|
104
104
|
import { a as searchCollection, i as search, n as getSearchStats, o as searchWithDb, r as getSuggestions } from "./search--Qmm2s6n.mjs";
|
|
105
|
-
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-
|
|
105
|
+
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-Cn1_u1S2.mjs";
|
|
106
106
|
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-B6bMUhBx.mjs";
|
|
107
107
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
108
108
|
import "./comment-reaction-CFkwluRq.mjs";
|
|
109
109
|
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-DL-BYzwG.mjs";
|
|
110
|
-
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-
|
|
110
|
+
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-DLFjKcNr.mjs";
|
|
111
111
|
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-P1hMbKIT.mjs";
|
|
112
112
|
import { t as validateSeed } from "./validate-WOW5vZz_.mjs";
|
|
113
|
-
import { t as applySeed } from "./apply-
|
|
113
|
+
import { t as applySeed } from "./apply-SoTzf8LK.mjs";
|
|
114
114
|
import "./load-XTcFS1Dp.mjs";
|
|
115
115
|
import "./seed/index.mjs";
|
|
116
116
|
import { ulid } from "ulidx";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, R as PageMetadataLinkRel, Tt as PublicPageContext, t as BreadcrumbItem, z as PagePlacement } from "./types-
|
|
1
|
+
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, R as PageMetadataLinkRel, Tt as PublicPageContext, t as BreadcrumbItem, z as PagePlacement } from "./types-z2nZassR.mjs";
|
|
2
2
|
import { S as SeoSettings } from "./validate-CleBZbkv.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as stableStringify } from "./stable-hash-9RDJgfif.mjs";
|
|
2
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
3
|
-
import { b as HitlRequestService } from "./site-context-
|
|
2
|
+
import { o as HitlRequestRepository } from "./publication-authorization-CS8WqkzL.mjs";
|
|
3
|
+
import { b as HitlRequestService } from "./site-context-DNiKKCc1.mjs";
|
|
4
4
|
import { n as buildStableActionHash } from "./review-payload-mDJIgcFy.mjs";
|
|
5
5
|
import { i as hasScope$1 } from "./api-tokens-CK0aCsS2.mjs";
|
|
6
6
|
import { m as logSiteActivityStrict, p as logSiteActivitySafely } from "./activity-events-D4JfWJFI.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-z2nZassR.mjs";
|
|
2
2
|
import { n as Database } from "../types-CG9uGPBL.mjs";
|
|
3
3
|
import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placeholder-CjKwIO3g.mjs";
|
|
4
4
|
import "../runner-DlkOiguI.mjs";
|
|
@@ -12,7 +12,7 @@ import { d as Storage } from "../types-B2rEY0ik.mjs";
|
|
|
12
12
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
13
13
|
import "../public-url-CvNSyMJJ.mjs";
|
|
14
14
|
import "../validate-CleBZbkv.mjs";
|
|
15
|
-
import "../byline-fields-
|
|
15
|
+
import "../byline-fields-Dyts_tJ5.mjs";
|
|
16
16
|
import "../types-BuplUVZ4.mjs";
|
|
17
17
|
import "../index.mjs";
|
|
18
18
|
import { Kysely } from "kysely";
|
|
@@ -2,10 +2,10 @@ import { atomicBatch, rowUnchanged } from "./database/batch.mjs";
|
|
|
2
2
|
import { a as validateContentStorage, i as resolveContentPartition, n as contentDigest, o as ContentStorageError, t as canonicalContentJson } from "./config---A7Bg68.mjs";
|
|
3
3
|
import { b as prepareContentChangeJournal, d as prepareContentProjection, h as cancelContentMigration, l as assertContentIndexFields, r as getContentStorage, u as contentProjectionValues, v as readContentPartitionRoute, y as contentChangeSequence } from "./runtime-Dz7vZRPU.mjs";
|
|
4
4
|
import { n as readRevisionDataBatch, r as storedRevisionIndex } from "./revisions-C-T9CdGo.mjs";
|
|
5
|
-
import { t as ContentRepository } from "./content-
|
|
5
|
+
import { t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
6
6
|
import { o as invalidateCollectionCache } from "./object-cache-qP60KjUp.mjs";
|
|
7
|
-
import { i as contentWriteConfiguration, k as snapshotPartitionDependencies } from "./content-write-
|
|
8
|
-
import { o as contentVersionSchema } from "./version-store-
|
|
7
|
+
import { i as contentWriteConfiguration, k as snapshotPartitionDependencies } from "./content-write-eOTKAf2d.mjs";
|
|
8
|
+
import { o as contentVersionSchema } from "./version-store-DyYULGd3.mjs";
|
|
9
9
|
import { a as contentItemSchema } from "./content-C8i4DyTt.mjs";
|
|
10
10
|
import { sql } from "kysely";
|
|
11
11
|
import { z } from "zod";
|
|
@@ -203,7 +203,14 @@ async function migrationState(db, migration) {
|
|
|
203
203
|
return row;
|
|
204
204
|
}
|
|
205
205
|
async function migrationManifest(db, migration) {
|
|
206
|
-
const rows =
|
|
206
|
+
const rows = [];
|
|
207
|
+
let after = "";
|
|
208
|
+
for (;;) {
|
|
209
|
+
const page = (await sql`SELECT * FROM _dineway_content_migration_entries WHERE migration_id=${migration.id} AND state<>'skipped' AND entry_id>${after} ORDER BY entry_id LIMIT 128`.execute(db)).rows;
|
|
210
|
+
rows.push(...page);
|
|
211
|
+
if (page.length < 128) break;
|
|
212
|
+
after = page.at(-1).entry_id;
|
|
213
|
+
}
|
|
207
214
|
return {
|
|
208
215
|
rows,
|
|
209
216
|
digest: await contentDigest(rows.map((row) => ({
|
|
@@ -395,47 +402,80 @@ async function activateContentMigrationEntry(db, migration, entryId, archive) {
|
|
|
395
402
|
});
|
|
396
403
|
invalidateCollectionCache(migration.collection);
|
|
397
404
|
}
|
|
398
|
-
/**
|
|
399
|
-
async function
|
|
400
|
-
|
|
401
|
-
|
|
405
|
+
/** Verify one bounded page. Durable per-entry receipts let a later process resume the freeze. */
|
|
406
|
+
async function verifyContentMigrationPage(db, migration, archive, limit = 20) {
|
|
407
|
+
if (!Number.isSafeInteger(limit) || limit < 1 || limit > 100) throw new ContentStorageError("INVALID_CONFIG", "Verification pages require a limit from 1 to 100.");
|
|
408
|
+
const { collection, partition, id } = migration;
|
|
409
|
+
let route = await readContentPartitionRoute(db, collection, partition);
|
|
402
410
|
const phase = await migrationState(db, migration);
|
|
411
|
+
if (route.route.migration_id !== id || route.route.state !== "frozen") throw new ContentStorageError("CONFLICT", "The final verification requires a frozen partition.");
|
|
403
412
|
if (["verified", "activating"].includes(phase.state)) return {
|
|
413
|
+
done: true,
|
|
404
414
|
count: phase.verified_count,
|
|
405
415
|
digest: phase.manifest_digest
|
|
406
416
|
};
|
|
407
417
|
if (!["frozen", "verifying"].includes(phase.state)) throw new ContentStorageError("CONFLICT", "The migration cannot be verified in its current state.");
|
|
408
418
|
await atomicBatch(db, {
|
|
409
|
-
checks: [
|
|
410
|
-
statements: [sql`UPDATE _dineway_content_partitions SET epoch=epoch+1,
|
|
419
|
+
checks: [route.check, sql`EXISTS (SELECT 1 FROM _dineway_content_migrations WHERE id=${id} AND state=${phase.state})`],
|
|
420
|
+
statements: [sql`UPDATE _dineway_content_partitions SET epoch=epoch+1,updated_at=${(/* @__PURE__ */ new Date()).toISOString()} WHERE collection=${collection} AND partition=${partition}`.compile(db), sql`UPDATE _dineway_content_migrations SET state='verifying',updated_at=${(/* @__PURE__ */ new Date()).toISOString()} WHERE id=${id}`.compile(db)]
|
|
411
421
|
});
|
|
412
|
-
const
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
422
|
+
const epoch = route.route.epoch + 1;
|
|
423
|
+
route = await readContentPartitionRoute(db, collection, partition);
|
|
424
|
+
if (route.route.epoch !== epoch || route.route.migration_id !== id || route.route.state !== "frozen") throw new ContentStorageError("CONFLICT", "Another verification attempt superseded this page.");
|
|
425
|
+
const verifying = sql`EXISTS (SELECT 1 FROM _dineway_content_migrations WHERE id=${id} AND state='verifying')`;
|
|
426
|
+
const current = sql`FROM _dineway_content_locations l JOIN ${sql.table(`ec_${collection}`)} c ON c.id=l.entry_id
|
|
427
|
+
LEFT JOIN _dineway_content_migration_entries m ON m.migration_id=${id} AND m.entry_id=l.entry_id
|
|
428
|
+
WHERE l.collection=${collection} AND l.partition=${partition}`;
|
|
429
|
+
const sequence = sql`(SELECT coalesce(max(sequence),0) FROM _dineway_content_changes j WHERE j.collection=l.collection AND j.entry_id=l.entry_id)`;
|
|
430
|
+
const pending = sql`${current} AND (m.state IS NULL OR m.state <> ('checked:' || ${sequence}))`;
|
|
431
|
+
const page = (await sql`SELECT l.entry_id,${sequence} AS sequence ${pending} ORDER BY l.entry_id LIMIT ${limit}`.execute(db)).rows;
|
|
432
|
+
for (const row of page) {
|
|
433
|
+
const checkpoint = await stageMigrationEntry(db, migration, row.entry_id, archive, route.route.epoch);
|
|
434
|
+
if (!checkpoint) throw new ContentStorageError("CONFLICT", "The migration entry was not prepared.");
|
|
435
|
+
await atomicBatch(db, {
|
|
436
|
+
checks: [
|
|
437
|
+
route.check,
|
|
438
|
+
verifying,
|
|
439
|
+
rowUnchanged("_dineway_content_migration_entries", { ...checkpoint }),
|
|
440
|
+
sql`${contentChangeSequence(collection, row.entry_id)}=${row.sequence}`
|
|
441
|
+
],
|
|
442
|
+
statements: [sql`UPDATE _dineway_content_migration_entries SET state=${"checked:" + row.sequence} WHERE migration_id=${id} AND entry_id=${row.entry_id}`.compile(db)]
|
|
443
|
+
});
|
|
419
444
|
}
|
|
445
|
+
if (page.length === limit) return {
|
|
446
|
+
done: false,
|
|
447
|
+
count: page.length
|
|
448
|
+
};
|
|
420
449
|
await atomicBatch(db, {
|
|
421
|
-
checks: [
|
|
422
|
-
statements: [sql`UPDATE _dineway_content_migration_entries SET state='skipped' WHERE migration_id=${
|
|
450
|
+
checks: [route.check, verifying],
|
|
451
|
+
statements: [sql`UPDATE _dineway_content_migration_entries SET state='skipped' WHERE migration_id=${id} AND NOT EXISTS (SELECT 1 FROM ${sql.table(`ec_${collection}`)} c JOIN _dineway_content_locations l ON l.collection=${collection} AND l.entry_id=c.id WHERE c.id=_dineway_content_migration_entries.entry_id AND l.partition=${partition})`.compile(db), sql`DELETE FROM _dineway_content_locations WHERE collection=${collection} AND partition=${partition} AND NOT EXISTS (SELECT 1 FROM ${sql.table(`ec_${collection}`)} c WHERE c.id=_dineway_content_locations.entry_id)`.compile(db)]
|
|
423
452
|
});
|
|
424
453
|
const manifest = await migrationManifest(db, migration);
|
|
425
454
|
await atomicBatch(db, {
|
|
426
455
|
checks: [
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
sql`(SELECT
|
|
430
|
-
sql`
|
|
456
|
+
route.check,
|
|
457
|
+
verifying,
|
|
458
|
+
sql`NOT EXISTS (SELECT 1 ${pending})`,
|
|
459
|
+
sql`(SELECT count(*) FROM _dineway_content_locations WHERE collection=${collection} AND partition=${partition})=${manifest.rows.length}`,
|
|
460
|
+
sql`(SELECT count(*) FROM _dineway_content_migration_entries WHERE migration_id=${id} AND state LIKE 'checked:%')=${manifest.rows.length}`
|
|
431
461
|
],
|
|
432
|
-
statements: [sql`UPDATE _dineway_content_migrations SET state='verified',
|
|
462
|
+
statements: [sql`UPDATE _dineway_content_migration_entries SET state='prepared' WHERE migration_id=${id} AND state LIKE 'checked:%'`.compile(db), sql`UPDATE _dineway_content_migrations SET state='verified',manifest_digest=${manifest.digest},verified_count=${manifest.rows.length},updated_at=${(/* @__PURE__ */ new Date()).toISOString()} WHERE id=${id}`.compile(db)]
|
|
433
463
|
});
|
|
434
464
|
return {
|
|
465
|
+
done: true,
|
|
435
466
|
count: manifest.rows.length,
|
|
436
467
|
digest: manifest.digest
|
|
437
468
|
};
|
|
438
469
|
}
|
|
470
|
+
async function verifyContentMigration(db, migration, archive) {
|
|
471
|
+
for (;;) {
|
|
472
|
+
const page = await verifyContentMigrationPage(db, migration, archive);
|
|
473
|
+
if (page.done) return {
|
|
474
|
+
count: page.count,
|
|
475
|
+
digest: page.digest
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
}
|
|
439
479
|
/** Reopen writes only after every sealed entry has activated; old archives remain retained. */
|
|
440
480
|
async function completeContentMigration(db, migration) {
|
|
441
481
|
const phase = await migrationState(db, migration);
|
|
@@ -524,4 +564,4 @@ async function rollbackContentMigration(db, migration, archive) {
|
|
|
524
564
|
}
|
|
525
565
|
|
|
526
566
|
//#endregion
|
|
527
|
-
export { verifyContentMigration as a,
|
|
567
|
+
export { verifyContentMigration as a, captureContentMigrationSnapshot as c, stageContentMigrationEntry as i, contentMigrationSnapshotSchema as l, completeContentMigration as n, verifyContentMigrationPage as o, rollbackContentMigration as r, bootstrapContentDirectoryPage as s, activateContentMigrationEntry as t, migrateContentStorageConfig as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { rowUnchanged } from "./database/batch.mjs";
|
|
3
|
-
import { t as BylineRepository } from "./byline-
|
|
3
|
+
import { t as BylineRepository } from "./byline-BvFH-UZw.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
5
5
|
|
|
6
6
|
//#region src/content-storage/owned-metadata.ts
|
package/dist/page/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, Tt as PublicPageContext } from "../types-
|
|
1
|
+
import { Dt as PublicPageSchema, Et as PublicPageImage, F as PageMetadataContribution, M as PageFragmentContribution, Ot as PublicSchemaNode, Tt as PublicPageContext } from "../types-z2nZassR.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
@@ -10,9 +10,9 @@ import "../hook-events-lN-kz-4_.mjs";
|
|
|
10
10
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
11
11
|
import "../public-url-CvNSyMJJ.mjs";
|
|
12
12
|
import "../validate-CleBZbkv.mjs";
|
|
13
|
-
import "../byline-fields-
|
|
13
|
+
import "../byline-fields-Dyts_tJ5.mjs";
|
|
14
14
|
import "../types-BuplUVZ4.mjs";
|
|
15
|
-
import { _ as CreatePublicPageContextInput, a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, g as resolvePageImage, h as imageMetadataContributions, i as generateBaseSeoContributions, l as createSha256CspHash, m as mergePageSchema, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr, v as createPublicPageContext } from "../jsonld-
|
|
15
|
+
import { _ as CreatePublicPageContextInput, a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, g as resolvePageImage, h as imageMetadataContributions, i as generateBaseSeoContributions, l as createSha256CspHash, m as mergePageSchema, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr, v as createPublicPageContext } from "../jsonld-DZXdAyOK.mjs";
|
|
16
16
|
|
|
17
17
|
//#region src/page/index.d.ts
|
|
18
18
|
/**
|
package/dist/plugin-utils.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./types-
|
|
1
|
+
import "./types-z2nZassR.mjs";
|
|
2
2
|
import "./types-CG9uGPBL.mjs";
|
|
3
3
|
import "./runner-DlkOiguI.mjs";
|
|
4
4
|
import "./index-_fCUsJx9.mjs";
|
|
@@ -10,7 +10,7 @@ import "./hook-events-lN-kz-4_.mjs";
|
|
|
10
10
|
import "./scheduled-publish-7kZkKw7t.mjs";
|
|
11
11
|
import "./public-url-CvNSyMJJ.mjs";
|
|
12
12
|
import "./validate-CleBZbkv.mjs";
|
|
13
|
-
import "./byline-fields-
|
|
13
|
+
import "./byline-fields-Dyts_tJ5.mjs";
|
|
14
14
|
import "./types-BuplUVZ4.mjs";
|
|
15
15
|
import { DinewayHandlers } from "./astro/types.mjs";
|
|
16
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as ResolvedPlugin, It as StandardPluginDefinition, ko as PluginDescriptor } from "../types-
|
|
1
|
+
import { At as ResolvedPlugin, It as StandardPluginDefinition, ko as PluginDescriptor } from "../types-z2nZassR.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
@@ -10,7 +10,7 @@ import "../hook-events-lN-kz-4_.mjs";
|
|
|
10
10
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
11
11
|
import "../public-url-CvNSyMJJ.mjs";
|
|
12
12
|
import "../validate-CleBZbkv.mjs";
|
|
13
|
-
import "../byline-fields-
|
|
13
|
+
import "../byline-fields-Dyts_tJ5.mjs";
|
|
14
14
|
import "../types-BuplUVZ4.mjs";
|
|
15
15
|
|
|
16
16
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
|
@@ -3,8 +3,8 @@ import { t as readRuntimeEnv } from "./runtime-env-DpYGy4pT.mjs";
|
|
|
3
3
|
import { i as encodeBase64url, n as decodeBase64url } from "./base64-qvSs0Gxy.mjs";
|
|
4
4
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
5
5
|
import { t as OptionsRepository } from "./options-yFkLUuTw.mjs";
|
|
6
|
-
import { a as setCronTasksEnabled, n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
7
|
-
import { d as HookPipeline, p as resolveExclusiveHooks } from "./briefing-
|
|
6
|
+
import { a as setCronTasksEnabled, n as createPluginContext, t as PluginContextFactory } from "./context-c4OnrX-0.mjs";
|
|
7
|
+
import { d as HookPipeline, p as resolveExclusiveHooks } from "./briefing-9YqN5XoW.mjs";
|
|
8
8
|
import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-D52WNV_c.mjs";
|
|
9
9
|
import { t as extractRequestMeta } from "./request-meta-DOBXMRX0.mjs";
|
|
10
10
|
import { AsyncLocalStorage } from "node:async_hooks";
|
package/dist/{publication-authorization-BciTXOB3.mjs → publication-authorization-CS8WqkzL.mjs}
RENAMED
|
@@ -2,13 +2,13 @@ import { AtomicWriteConflict, atomicBatch, isD1Database, rowUnchanged } from "./
|
|
|
2
2
|
import { r as currentIsoTimestampValue } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
4
4
|
import { r as getOAuthTokenHash, t as SYSTEM_ACTOR_ID } from "./actor-D0AW80ld.mjs";
|
|
5
|
-
import { r as prepareContentLifecycleEvents, t as ContentRepository } from "./content-
|
|
5
|
+
import { r as prepareContentLifecycleEvents, t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
6
6
|
import { o as invalidateCollectionCache } from "./object-cache-qP60KjUp.mjs";
|
|
7
7
|
import { t as SiteActivityRepository } from "./site-activity-hpfJkmxQ.mjs";
|
|
8
8
|
import { n as stableStringify } from "./stable-hash-9RDJgfif.mjs";
|
|
9
9
|
import { r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
10
10
|
import { i as invalidateRedirectCache } from "./cache-DsEbwFVE.mjs";
|
|
11
|
-
import { T as prepareContentPublication } from "./content-write-
|
|
11
|
+
import { T as prepareContentPublication } from "./content-write-eOTKAf2d.mjs";
|
|
12
12
|
import { n as buildStableActionHash, t as ReviewPayloadBuilder } from "./review-payload-mDJIgcFy.mjs";
|
|
13
13
|
import { a as getSiteSettingsWithDb } from "./settings-D0SBKo-W.mjs";
|
|
14
14
|
import { n as redactActivityRecord } from "./activity-lyE6xCrf.mjs";
|
|
@@ -613,7 +613,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
try {
|
|
616
|
-
const { getBylinesForEntries } = await import("./bylines-
|
|
616
|
+
const { getBylinesForEntries } = await import("./bylines-DLFjKcNr.mjs").then((n) => n.t);
|
|
617
617
|
const refs = entries.map((entry) => {
|
|
618
618
|
const data = entryData(entry);
|
|
619
619
|
const id = dataStr(data, "id");
|
|
@@ -671,12 +671,12 @@ async function hydrateEntryTerms(type, entries, locale) {
|
|
|
671
671
|
byTaxonomy: grouped
|
|
672
672
|
});
|
|
673
673
|
}
|
|
674
|
-
const { primeFoldedEntryTerms } = await import("./taxonomies-
|
|
674
|
+
const { primeFoldedEntryTerms } = await import("./taxonomies-CZHI0fCa.mjs").then((n) => n.u);
|
|
675
675
|
primeFoldedEntryTerms(type, perEntry, { locale });
|
|
676
676
|
return;
|
|
677
677
|
}
|
|
678
678
|
try {
|
|
679
|
-
const { getAllTermsForEntries } = await import("./taxonomies-
|
|
679
|
+
const { getAllTermsForEntries } = await import("./taxonomies-CZHI0fCa.mjs").then((n) => n.u);
|
|
680
680
|
const ids = entries.map((entry) => dataStr(entryData(entry), "id")).filter(Boolean);
|
|
681
681
|
if (ids.length === 0) return;
|
|
682
682
|
const termsMap = await getAllTermsForEntries(type, ids, { locale });
|
|
@@ -712,7 +712,7 @@ async function getTranslations(type, id) {
|
|
|
712
712
|
try {
|
|
713
713
|
const db = (await import("./loader-C9hvIKEW.mjs").then((n) => n.i)).getDb;
|
|
714
714
|
const dbInstance = await db();
|
|
715
|
-
const { ContentRepository } = await import("./content-
|
|
715
|
+
const { ContentRepository } = await import("./content-Dxx0H4k8.mjs").then((n) => n.n);
|
|
716
716
|
const repo = new ContentRepository(dbInstance);
|
|
717
717
|
const item = await repo.findByIdOrSlug(type, id);
|
|
718
718
|
if (!item) return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as migrateD1, t as MIGRATION_NAMES } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { atomicBatch, ensureAtomicBatchSchema, isD1Database } from "./database/batch.mjs";
|
|
3
3
|
import { t as pluginMigrationTableNames } from "./migrations-DTCIQJ2_.mjs";
|
|
4
|
-
import { n as d1ReleaseRevision } from "./state-
|
|
4
|
+
import { n as d1ReleaseRevision } from "./state-LzJZ7qpq.mjs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { CompiledQuery, sql } from "kysely";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as RejectedReviewContentError, r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
2
|
-
import { r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-
|
|
2
|
+
import { r as submitAutomatedReview, t as ReviewSubmissionError } from "./submission-C7tI1Frs.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/review-requests.ts
|
|
5
5
|
async function handleReviewRequestCreate(db, handlers, input) {
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $s as getDb, Js as EntryData, Qs as dinewayLoader, Ys as EntryFilter, qs as CollectionFilter } from "./types-
|
|
1
|
+
import { $s as getDb, Js as EntryData, Qs as dinewayLoader, Ys as EntryFilter, qs as CollectionFilter } from "./types-z2nZassR.mjs";
|
|
2
2
|
import "./types-CG9uGPBL.mjs";
|
|
3
3
|
import "./runner-DlkOiguI.mjs";
|
|
4
4
|
import "./index-_fCUsJx9.mjs";
|
|
@@ -10,7 +10,7 @@ import "./hook-events-lN-kz-4_.mjs";
|
|
|
10
10
|
import "./scheduled-publish-7kZkKw7t.mjs";
|
|
11
11
|
import "./public-url-CvNSyMJJ.mjs";
|
|
12
12
|
import "./validate-CleBZbkv.mjs";
|
|
13
|
-
import "./byline-fields-
|
|
13
|
+
import "./byline-fields-Dyts_tJ5.mjs";
|
|
14
14
|
import { withPrimaryDatabase } from "./request-context.mjs";
|
|
15
15
|
import "./types-BuplUVZ4.mjs";
|
|
16
16
|
import { t as getMediaProvider } from "./provider-loader-Dl8SscrT.mjs";
|
package/dist/seed/index.mjs
CHANGED
|
@@ -9,24 +9,24 @@ import "../types-BI3ULB3A.mjs";
|
|
|
9
9
|
import "../loader-C9hvIKEW.mjs";
|
|
10
10
|
import "../actor-D0AW80ld.mjs";
|
|
11
11
|
import "../atomic-authority-Bf5QZboB.mjs";
|
|
12
|
-
import "../content-
|
|
12
|
+
import "../content-Dxx0H4k8.mjs";
|
|
13
13
|
import "../request-cache-CizvDoxV.mjs";
|
|
14
14
|
import "../byline-registry-Caj0_gbU.mjs";
|
|
15
15
|
import "../field-defs-cache-dn5Tw79A.mjs";
|
|
16
16
|
import "../object-cache-qP60KjUp.mjs";
|
|
17
|
-
import "../byline-
|
|
18
|
-
import "../owned-metadata-
|
|
17
|
+
import "../byline-BvFH-UZw.mjs";
|
|
18
|
+
import "../owned-metadata-CJs4-k1w.mjs";
|
|
19
19
|
import "../revision-BhnVYOMz.mjs";
|
|
20
20
|
import "../media-BjH5OD-A.mjs";
|
|
21
21
|
import "../user-Bl2_8rhJ.mjs";
|
|
22
22
|
import "../terms-EskuqbKE.mjs";
|
|
23
|
-
import "../taxonomy-
|
|
23
|
+
import "../taxonomy-B4O77tAe.mjs";
|
|
24
24
|
import "../options-yFkLUuTw.mjs";
|
|
25
25
|
import "../redirect-CJ-FAbNK.mjs";
|
|
26
|
-
import "../content-write-
|
|
27
|
-
import "../version-store-
|
|
28
|
-
import "../write-intent-
|
|
29
|
-
import "../seo-
|
|
26
|
+
import "../content-write-eOTKAf2d.mjs";
|
|
27
|
+
import "../version-store-DyYULGd3.mjs";
|
|
28
|
+
import "../write-intent-D6xfcx1f.mjs";
|
|
29
|
+
import "../seo-DxrTizK0.mjs";
|
|
30
30
|
import "../content-refresh-COi0WfKw.mjs";
|
|
31
31
|
import "../ssrf-C7tTSD1r.mjs";
|
|
32
32
|
import "../fts-manager-BHwhq1lC.mjs";
|
|
@@ -34,7 +34,7 @@ import "../public-discovery-CGRirTJH.mjs";
|
|
|
34
34
|
import "../registry-3xWpSYNI.mjs";
|
|
35
35
|
import "../settings-D0SBKo-W.mjs";
|
|
36
36
|
import { t as validateSeed } from "../validate-WOW5vZz_.mjs";
|
|
37
|
-
import { t as applySeed } from "../apply-
|
|
37
|
+
import { t as applySeed } from "../apply-SoTzf8LK.mjs";
|
|
38
38
|
import { t as defaultSeed } from "../default-BxRRjN_x.mjs";
|
|
39
39
|
import { n as loadUserSeed, t as loadSeed } from "../load-XTcFS1Dp.mjs";
|
|
40
40
|
|