dineway 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/route-utils.d.mts +3 -3
- package/dist/api/route-utils.mjs +1 -1
- package/dist/api/schemas/index.d.mts +2 -2
- package/dist/api/schemas/index.mjs +3 -3
- package/dist/{api-BZ_oWfPM.mjs → api-B660nbLj.mjs} +1 -1
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +2 -2
- 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 +10 -10
- 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 +4 -4
- package/dist/astro/routes/api/auth/invite/index.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/register-options.mjs +3 -3
- 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/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/options.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +3 -3
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +4 -4
- package/dist/astro/routes/api/auth/passkey/verify.mjs +4 -4
- package/dist/astro/routes/api/auth/signup/complete.mjs +4 -4
- 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 +17 -8
- 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 +6 -4
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +5 -5
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +5 -5
- package/dist/astro/routes/api/manifest.mjs +2 -2
- 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 +5 -5
- package/dist/astro/routes/api/setup/admin.mjs +3 -3
- package/dist/astro/routes/api/setup/index.mjs +3 -3
- 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 +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 +2 -2
- 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-BRUB-Vla.mjs} +1 -1
- package/dist/{byline-fields-CXBvHvRM.d.mts → byline-fields-DS-K2aXR.d.mts} +262 -44
- 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 +24 -4
- package/dist/client/index.mjs +18 -4
- package/dist/{context-AJNd0tcG.mjs → context-BQ8O8pqD.mjs} +1 -1
- package/dist/{hitl-requests-Bee8Cjj8.mjs → hitl-requests-01Xe2FfD.mjs} +1 -1
- package/dist/{hitl-route-helpers-DtHaKGgm.mjs → hitl-route-helpers-vdROIary.mjs} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +6 -6
- package/dist/{jsonld-BFdufCos.d.mts → jsonld-Bn0uJ5Yz.d.mts} +1 -1
- package/dist/{mcp-reviewed-executor-DnlF7mIL.mjs → mcp-reviewed-executor-BCR-Pgtg.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/page/index.d.mts +3 -3
- package/dist/plugin-utils.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{public-url-BVBNJJkd.d.mts → public-url-D_iHIBiH.d.mts} +1 -1
- package/dist/{publication-authorization-BVQ5rCAF.mjs → publication-authorization-DP_I_Emr.mjs} +178 -7
- package/dist/{redirects-E_B6hvuz.mjs → redirects-CWGZMRsj.mjs} +101 -3
- package/dist/runtime.d.mts +3 -3
- package/dist/{site-context-CzaEGizi.mjs → site-context-qU_bKUMe.mjs} +1 -1
- package/dist/{types-CQnfHvPQ.d.mts → types-y0lpkCXC.d.mts} +191 -108
- package/dist/ui/server-runtime.d.mts +5 -5
- package/dist/version-u-P3k0nP.mjs +6 -0
- package/package.json +1 -1
- package/dist/version-EHBE9US2.mjs +0 -6
- /package/dist/{allowed-origins-oVgzR3X5.mjs → allowed-origins-VLgv2PL1.mjs} +0 -0
- /package/dist/{challenge-store-DtdQHXf5.mjs → challenge-store-BMkL2kmt.mjs} +0 -0
- /package/dist/{mode-DqpBaEOy.mjs → mode-DPC7segX.mjs} +0 -0
- /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/{session-user-CYjNeJoD.mjs → session-user-BwliEFp0.mjs} +0 -0
- /package/dist/{setup-complete-DcAQzVsB.mjs → setup-complete-PvF8I7Oh.mjs} +0 -0
- /package/dist/{transport-BZ3aqdu7.d.mts → transport-CXkC1F2Z.d.mts} +0 -0
|
@@ -336,110 +336,6 @@ interface RepeaterElement {
|
|
|
336
336
|
}
|
|
337
337
|
type Element = ButtonElement | TextInputElement | NumberInputElement | SelectElement | ToggleElement | SecretInputElement | CheckboxElement | DateInputElement | ComboboxElement | RadioElement | MediaPickerElement | RepeaterElement;
|
|
338
338
|
//#endregion
|
|
339
|
-
//#region src/database/repositories/content-release-grants.d.ts
|
|
340
|
-
type ContentReleaseGrantStatus = "active" | "consumed" | "revoked" | "expired";
|
|
341
|
-
type ContentReleaseOperation = "publish" | "schedule";
|
|
342
|
-
type ContentReleaseAuthorizationMethod = "human_action" | "approved_hitl";
|
|
343
|
-
type ContentReleaseActorType = "user" | "api_token" | "system";
|
|
344
|
-
interface ContentReleasePolicyContribution {
|
|
345
|
-
providerId: string;
|
|
346
|
-
policyVersion: string;
|
|
347
|
-
fingerprint: string;
|
|
348
|
-
reservationId: string | null;
|
|
349
|
-
}
|
|
350
|
-
interface ContentReleaseGrant {
|
|
351
|
-
id: string;
|
|
352
|
-
status: ContentReleaseGrantStatus;
|
|
353
|
-
collection: string;
|
|
354
|
-
entryId: string;
|
|
355
|
-
scope: string;
|
|
356
|
-
liveRevisionId: string | null;
|
|
357
|
-
draftRevisionId: string | null;
|
|
358
|
-
reviewedRev: string;
|
|
359
|
-
editorialReviewRequestId: string;
|
|
360
|
-
releaseHitlRequestId: string | null;
|
|
361
|
-
operation: ContentReleaseOperation;
|
|
362
|
-
scheduledAt: string | null;
|
|
363
|
-
publishedAt: string | null;
|
|
364
|
-
siteTimezone: string;
|
|
365
|
-
actionHash: string;
|
|
366
|
-
policyContributions: ContentReleasePolicyContribution[];
|
|
367
|
-
authorizationMethod: ContentReleaseAuthorizationMethod;
|
|
368
|
-
authorizedByActorType: ContentReleaseActorType;
|
|
369
|
-
authorizedByActorId: string;
|
|
370
|
-
authorizedAuthMetadata: Record<string, unknown> | null;
|
|
371
|
-
expiresAt: string | null;
|
|
372
|
-
createdAt: string;
|
|
373
|
-
updatedAt: string;
|
|
374
|
-
consumedAt: string | null;
|
|
375
|
-
revokedAt: string | null;
|
|
376
|
-
revocationReason: string | null;
|
|
377
|
-
}
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region src/database/repositories/site-activity.d.ts
|
|
380
|
-
type SiteActivityActorType = "user" | "api_token" | "system";
|
|
381
|
-
type SiteActivitySourceType = "api_route" | "mcp_tool" | "system" | "plugin" | "unknown";
|
|
382
|
-
type SiteActivityResultStatus = "succeeded" | "pending" | "failed" | "blocked";
|
|
383
|
-
interface SiteActivity {
|
|
384
|
-
id: string;
|
|
385
|
-
actorType: SiteActivityActorType;
|
|
386
|
-
actorId: string;
|
|
387
|
-
authMetadata: Record<string, unknown> | null;
|
|
388
|
-
actionType: string;
|
|
389
|
-
subjectType: string;
|
|
390
|
-
subjectId: string | null;
|
|
391
|
-
relatedSubjectType: string | null;
|
|
392
|
-
relatedSubjectId: string | null;
|
|
393
|
-
sourceType: SiteActivitySourceType | null;
|
|
394
|
-
sourceName: string | null;
|
|
395
|
-
resultStatus: SiteActivityResultStatus;
|
|
396
|
-
scope: string;
|
|
397
|
-
summary: string;
|
|
398
|
-
detail: Record<string, unknown> | null;
|
|
399
|
-
createdAt: string;
|
|
400
|
-
}
|
|
401
|
-
interface CreateSiteActivityInput {
|
|
402
|
-
actorType: SiteActivityActorType;
|
|
403
|
-
actorId: string;
|
|
404
|
-
authMetadata?: Record<string, unknown> | null;
|
|
405
|
-
actionType: string;
|
|
406
|
-
subjectType: string;
|
|
407
|
-
subjectId?: string | null;
|
|
408
|
-
relatedSubjectType?: string | null;
|
|
409
|
-
relatedSubjectId?: string | null;
|
|
410
|
-
sourceType?: SiteActivitySourceType | null;
|
|
411
|
-
sourceName?: string | null;
|
|
412
|
-
resultStatus?: SiteActivityResultStatus;
|
|
413
|
-
scope: string;
|
|
414
|
-
summary: string;
|
|
415
|
-
detail?: Record<string, unknown> | null;
|
|
416
|
-
createdAt?: string;
|
|
417
|
-
}
|
|
418
|
-
interface SiteActivityTimelineQuery {
|
|
419
|
-
scopes?: string[];
|
|
420
|
-
actorType?: SiteActivityActorType;
|
|
421
|
-
actorId?: string;
|
|
422
|
-
actionType?: string;
|
|
423
|
-
subjectType?: string;
|
|
424
|
-
subjectId?: string;
|
|
425
|
-
relatedSubjectType?: string;
|
|
426
|
-
relatedSubjectId?: string;
|
|
427
|
-
sourceType?: SiteActivitySourceType;
|
|
428
|
-
sourceName?: string;
|
|
429
|
-
resultStatus?: SiteActivityResultStatus;
|
|
430
|
-
since?: string;
|
|
431
|
-
until?: string;
|
|
432
|
-
limit?: number;
|
|
433
|
-
cursor?: string;
|
|
434
|
-
}
|
|
435
|
-
declare class SiteActivityRepository {
|
|
436
|
-
private db;
|
|
437
|
-
constructor(db: Kysely<Database>);
|
|
438
|
-
create(input: CreateSiteActivityInput): Promise<SiteActivity>;
|
|
439
|
-
findById(id: string): Promise<SiteActivity | null>;
|
|
440
|
-
findTimeline(query?: SiteActivityTimelineQuery): Promise<FindManyResult<SiteActivity>>;
|
|
441
|
-
}
|
|
442
|
-
//#endregion
|
|
443
339
|
//#region src/database/errors.d.ts
|
|
444
340
|
/**
|
|
445
341
|
* Database error types. Keep these free of driver imports so public barrels can
|
|
@@ -987,6 +883,70 @@ interface PublicComment {
|
|
|
987
883
|
replies?: PublicComment[];
|
|
988
884
|
}
|
|
989
885
|
//#endregion
|
|
886
|
+
//#region src/database/repositories/site-activity.d.ts
|
|
887
|
+
type SiteActivityActorType = "user" | "api_token" | "system";
|
|
888
|
+
type SiteActivitySourceType = "api_route" | "mcp_tool" | "system" | "plugin" | "unknown";
|
|
889
|
+
type SiteActivityResultStatus = "succeeded" | "pending" | "failed" | "blocked";
|
|
890
|
+
interface SiteActivity {
|
|
891
|
+
id: string;
|
|
892
|
+
actorType: SiteActivityActorType;
|
|
893
|
+
actorId: string;
|
|
894
|
+
authMetadata: Record<string, unknown> | null;
|
|
895
|
+
actionType: string;
|
|
896
|
+
subjectType: string;
|
|
897
|
+
subjectId: string | null;
|
|
898
|
+
relatedSubjectType: string | null;
|
|
899
|
+
relatedSubjectId: string | null;
|
|
900
|
+
sourceType: SiteActivitySourceType | null;
|
|
901
|
+
sourceName: string | null;
|
|
902
|
+
resultStatus: SiteActivityResultStatus;
|
|
903
|
+
scope: string;
|
|
904
|
+
summary: string;
|
|
905
|
+
detail: Record<string, unknown> | null;
|
|
906
|
+
createdAt: string;
|
|
907
|
+
}
|
|
908
|
+
interface CreateSiteActivityInput {
|
|
909
|
+
actorType: SiteActivityActorType;
|
|
910
|
+
actorId: string;
|
|
911
|
+
authMetadata?: Record<string, unknown> | null;
|
|
912
|
+
actionType: string;
|
|
913
|
+
subjectType: string;
|
|
914
|
+
subjectId?: string | null;
|
|
915
|
+
relatedSubjectType?: string | null;
|
|
916
|
+
relatedSubjectId?: string | null;
|
|
917
|
+
sourceType?: SiteActivitySourceType | null;
|
|
918
|
+
sourceName?: string | null;
|
|
919
|
+
resultStatus?: SiteActivityResultStatus;
|
|
920
|
+
scope: string;
|
|
921
|
+
summary: string;
|
|
922
|
+
detail?: Record<string, unknown> | null;
|
|
923
|
+
createdAt?: string;
|
|
924
|
+
}
|
|
925
|
+
interface SiteActivityTimelineQuery {
|
|
926
|
+
scopes?: string[];
|
|
927
|
+
actorType?: SiteActivityActorType;
|
|
928
|
+
actorId?: string;
|
|
929
|
+
actionType?: string;
|
|
930
|
+
subjectType?: string;
|
|
931
|
+
subjectId?: string;
|
|
932
|
+
relatedSubjectType?: string;
|
|
933
|
+
relatedSubjectId?: string;
|
|
934
|
+
sourceType?: SiteActivitySourceType;
|
|
935
|
+
sourceName?: string;
|
|
936
|
+
resultStatus?: SiteActivityResultStatus;
|
|
937
|
+
since?: string;
|
|
938
|
+
until?: string;
|
|
939
|
+
limit?: number;
|
|
940
|
+
cursor?: string;
|
|
941
|
+
}
|
|
942
|
+
declare class SiteActivityRepository {
|
|
943
|
+
private db;
|
|
944
|
+
constructor(db: Kysely<Database>);
|
|
945
|
+
create(input: CreateSiteActivityInput): Promise<SiteActivity>;
|
|
946
|
+
findById(id: string): Promise<SiteActivity | null>;
|
|
947
|
+
findTimeline(query?: SiteActivityTimelineQuery): Promise<FindManyResult<SiteActivity>>;
|
|
948
|
+
}
|
|
949
|
+
//#endregion
|
|
990
950
|
//#region src/database/repositories/review-requests.d.ts
|
|
991
951
|
type ReviewRequestStatus = "pending" | "approved" | "rejected";
|
|
992
952
|
type ReviewRequestActorType = "user" | "api_token" | "system";
|
|
@@ -1015,6 +975,48 @@ interface ReviewRequest {
|
|
|
1015
975
|
resolvedAt: string | null;
|
|
1016
976
|
}
|
|
1017
977
|
//#endregion
|
|
978
|
+
//#region src/database/repositories/content-release-grants.d.ts
|
|
979
|
+
type ContentReleaseGrantStatus = "active" | "consumed" | "revoked" | "expired";
|
|
980
|
+
type ContentReleaseOperation = "publish" | "schedule";
|
|
981
|
+
type ContentReleaseAuthorizationMethod = "human_action" | "approved_hitl";
|
|
982
|
+
type ContentReleaseActorType = "user" | "api_token" | "system";
|
|
983
|
+
type ContentReleasePolicyDisposition = "enforced" | "not_applicable" | "overridden";
|
|
984
|
+
interface ContentReleasePolicyContribution {
|
|
985
|
+
providerId: string;
|
|
986
|
+
policyVersion: string;
|
|
987
|
+
disposition: ContentReleasePolicyDisposition;
|
|
988
|
+
fingerprint: string;
|
|
989
|
+
reservationId: string | null;
|
|
990
|
+
}
|
|
991
|
+
interface ContentReleaseGrant {
|
|
992
|
+
id: string;
|
|
993
|
+
status: ContentReleaseGrantStatus;
|
|
994
|
+
collection: string;
|
|
995
|
+
entryId: string;
|
|
996
|
+
scope: string;
|
|
997
|
+
liveRevisionId: string | null;
|
|
998
|
+
draftRevisionId: string | null;
|
|
999
|
+
reviewedRev: string;
|
|
1000
|
+
editorialReviewRequestId: string;
|
|
1001
|
+
releaseHitlRequestId: string | null;
|
|
1002
|
+
operation: ContentReleaseOperation;
|
|
1003
|
+
scheduledAt: string | null;
|
|
1004
|
+
publishedAt: string | null;
|
|
1005
|
+
siteTimezone: string;
|
|
1006
|
+
actionHash: string;
|
|
1007
|
+
policyContributions: ContentReleasePolicyContribution[];
|
|
1008
|
+
authorizationMethod: ContentReleaseAuthorizationMethod;
|
|
1009
|
+
authorizedByActorType: ContentReleaseActorType;
|
|
1010
|
+
authorizedByActorId: string;
|
|
1011
|
+
authorizedAuthMetadata: Record<string, unknown> | null;
|
|
1012
|
+
expiresAt: string | null;
|
|
1013
|
+
createdAt: string;
|
|
1014
|
+
updatedAt: string;
|
|
1015
|
+
consumedAt: string | null;
|
|
1016
|
+
revokedAt: string | null;
|
|
1017
|
+
revocationReason: string | null;
|
|
1018
|
+
}
|
|
1019
|
+
//#endregion
|
|
1018
1020
|
//#region src/database/repositories/assignments.d.ts
|
|
1019
1021
|
declare const ASSIGNMENT_ACTOR_TYPES: readonly ["user", "api_token", "system"];
|
|
1020
1022
|
declare const ASSIGNMENT_STATUSES: readonly ["pending", "accepted", "in_progress", "blocked", "completed", "declined", "cancelled", "overdue"];
|
|
@@ -4182,16 +4184,16 @@ declare const pluginManifestSchema: z$1.ZodObject<{
|
|
|
4182
4184
|
number: "number";
|
|
4183
4185
|
boolean: "boolean";
|
|
4184
4186
|
file: "file";
|
|
4185
|
-
json: "json";
|
|
4186
4187
|
slug: "slug";
|
|
4188
|
+
text: "text";
|
|
4189
|
+
select: "select";
|
|
4187
4190
|
image: "image";
|
|
4188
4191
|
datetime: "datetime";
|
|
4189
|
-
text: "text";
|
|
4190
4192
|
integer: "integer";
|
|
4191
|
-
select: "select";
|
|
4192
4193
|
multiSelect: "multiSelect";
|
|
4193
4194
|
portableText: "portableText";
|
|
4194
4195
|
reference: "reference";
|
|
4196
|
+
json: "json";
|
|
4195
4197
|
repeater: "repeater";
|
|
4196
4198
|
}>>;
|
|
4197
4199
|
elements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -4527,15 +4529,18 @@ declare function buildStableActionHash(value: unknown): Promise<string>;
|
|
|
4527
4529
|
//#region src/site-context/release-payload.d.ts
|
|
4528
4530
|
type PublicationReleaseOperation = "publish" | "schedule";
|
|
4529
4531
|
type PublicationReleaseActionType = "content.release.publish" | "content.release.schedule";
|
|
4532
|
+
type PublicationReleasePolicyDisposition = "enforced" | "not_applicable" | "overridden";
|
|
4530
4533
|
interface PublicationReleasePolicyContribution {
|
|
4531
4534
|
providerId: string;
|
|
4532
4535
|
policyVersion: string;
|
|
4536
|
+
disposition: PublicationReleasePolicyDisposition;
|
|
4533
4537
|
fingerprint: string;
|
|
4534
4538
|
reservationId?: string;
|
|
4535
4539
|
}
|
|
4536
4540
|
interface NormalizedPublicationReleasePolicyContribution {
|
|
4537
4541
|
providerId: string;
|
|
4538
4542
|
policyVersion: string;
|
|
4543
|
+
disposition: PublicationReleasePolicyDisposition;
|
|
4539
4544
|
fingerprint: string;
|
|
4540
4545
|
reservationId: string | null;
|
|
4541
4546
|
}
|
|
@@ -5810,6 +5815,40 @@ declare function extractSearchableFields(entry: Record<string, unknown>, fields:
|
|
|
5810
5815
|
declare function currentTimestamp(db: Kysely<any>): RawBuilder<string>;
|
|
5811
5816
|
//#endregion
|
|
5812
5817
|
//#region src/site-context/publication-authorization.d.ts
|
|
5818
|
+
type PublicationReadinessBlockerSource = "content" | "editorial_review" | "release_hitl" | "authorization" | "policy";
|
|
5819
|
+
interface PublicationReadinessBlocker {
|
|
5820
|
+
code: string;
|
|
5821
|
+
source: PublicationReadinessBlockerSource;
|
|
5822
|
+
message: string;
|
|
5823
|
+
policyId?: string;
|
|
5824
|
+
}
|
|
5825
|
+
interface PublicationReadinessPolicyBlocker extends PublicationReadinessBlocker {
|
|
5826
|
+
severity: "blocker";
|
|
5827
|
+
source: "policy";
|
|
5828
|
+
}
|
|
5829
|
+
interface PublicationReadinessWarning extends PublicationReadinessBlocker {
|
|
5830
|
+
severity: "warning";
|
|
5831
|
+
fingerprint: string;
|
|
5832
|
+
overridable: boolean;
|
|
5833
|
+
}
|
|
5834
|
+
type PublicationReadinessPolicyFinding = PublicationReadinessPolicyBlocker | PublicationReadinessWarning;
|
|
5835
|
+
interface PublicationPolicyOverride {
|
|
5836
|
+
policyId: string;
|
|
5837
|
+
warningCode: string;
|
|
5838
|
+
fingerprint: string;
|
|
5839
|
+
}
|
|
5840
|
+
interface PublicationReadinessPolicyTarget {
|
|
5841
|
+
collection: string;
|
|
5842
|
+
entryId: string;
|
|
5843
|
+
scope: string;
|
|
5844
|
+
operation: PublicationReleaseOperation;
|
|
5845
|
+
liveRevisionId: string | null;
|
|
5846
|
+
draftRevisionId: string | null;
|
|
5847
|
+
reviewedRev: string;
|
|
5848
|
+
publishedAt: string | null;
|
|
5849
|
+
scheduledAt: string | null;
|
|
5850
|
+
siteTimezone: string;
|
|
5851
|
+
}
|
|
5813
5852
|
interface PublicationContentHandlers extends ContentReviewHandlers {
|
|
5814
5853
|
handleContentPublish: (collection: string, id: string, options?: {
|
|
5815
5854
|
publishedAt?: string;
|
|
@@ -5832,9 +5871,12 @@ interface PublicationReleasePreparationTarget {
|
|
|
5832
5871
|
scheduledAt: string | null;
|
|
5833
5872
|
siteTimezone: string;
|
|
5834
5873
|
replacedPolicyContributions: PublicationReleasePolicyContribution[];
|
|
5874
|
+
actor: ResolvedActorIdentity;
|
|
5875
|
+
policyOverrides: PublicationPolicyOverride[];
|
|
5835
5876
|
}
|
|
5836
5877
|
interface PublicationReleasePolicy {
|
|
5837
5878
|
id: string;
|
|
5879
|
+
checkReadiness?(target: PublicationReadinessPolicyTarget): Promise<PublicationReadinessPolicyFinding[]>;
|
|
5838
5880
|
prepare(target: PublicationReleasePreparationTarget): Promise<PublicationReleasePolicyContribution>;
|
|
5839
5881
|
validate(release: BuiltContentReleasePayload, contribution: PublicationReleasePolicyContribution): Promise<void>;
|
|
5840
5882
|
consume?(contribution: PublicationReleasePolicyContribution): Promise<void>;
|
|
@@ -5853,12 +5895,50 @@ interface AuthorizedPublicationInput {
|
|
|
5853
5895
|
id: string;
|
|
5854
5896
|
editorialReviewRequestId: string;
|
|
5855
5897
|
releaseHitlRequestId?: string;
|
|
5898
|
+
policyOverrides?: PublicationPolicyOverride[];
|
|
5856
5899
|
sourceType?: SiteActivitySourceType;
|
|
5857
5900
|
sourceName?: string;
|
|
5858
5901
|
}
|
|
5859
5902
|
interface PublishAuthorizedContentInput extends AuthorizedPublicationInput {
|
|
5860
5903
|
publishedAt?: string;
|
|
5861
5904
|
}
|
|
5905
|
+
interface CheckPublicationReadinessInput {
|
|
5906
|
+
actor: ResolvedActorIdentity;
|
|
5907
|
+
collection: string;
|
|
5908
|
+
id: string;
|
|
5909
|
+
operation?: PublicationReleaseOperation;
|
|
5910
|
+
editorialReviewRequestId?: string;
|
|
5911
|
+
releaseHitlRequestId?: string;
|
|
5912
|
+
publishedAt?: string;
|
|
5913
|
+
scheduledAt?: string;
|
|
5914
|
+
}
|
|
5915
|
+
interface PublicationReadinessResult {
|
|
5916
|
+
ready: boolean;
|
|
5917
|
+
canForce: boolean;
|
|
5918
|
+
generatedAt: string;
|
|
5919
|
+
nextAction: "publish" | "schedule" | "confirm_policy_warnings" | "fix_release_blockers";
|
|
5920
|
+
target: PublicationReadinessPolicyTarget | null;
|
|
5921
|
+
blockers: PublicationReadinessBlocker[];
|
|
5922
|
+
warnings: PublicationReadinessWarning[];
|
|
5923
|
+
}
|
|
5924
|
+
interface PublicationReceipt {
|
|
5925
|
+
id: string;
|
|
5926
|
+
status: "published" | "scheduled";
|
|
5927
|
+
collection: string;
|
|
5928
|
+
contentId: string;
|
|
5929
|
+
liveRevisionId: string | null;
|
|
5930
|
+
draftRevisionId: string | null;
|
|
5931
|
+
editorialReviewRequestId: string;
|
|
5932
|
+
releaseHitlRequestId: string | null;
|
|
5933
|
+
actionHash: string;
|
|
5934
|
+
policyContributions: ContentReleaseGrant["policyContributions"];
|
|
5935
|
+
authorizedByActorType: ContentReleaseGrant["authorizedByActorType"];
|
|
5936
|
+
authorizedByActorId: string;
|
|
5937
|
+
createdAt: string;
|
|
5938
|
+
consumedAt: string | null;
|
|
5939
|
+
publishedAt: string | null;
|
|
5940
|
+
scheduledAt: string | null;
|
|
5941
|
+
}
|
|
5862
5942
|
interface ScheduleAuthorizedContentInput extends AuthorizedPublicationInput {
|
|
5863
5943
|
scheduledAt: string;
|
|
5864
5944
|
}
|
|
@@ -5878,6 +5958,7 @@ interface PublishAuthorizedDueContentInput {
|
|
|
5878
5958
|
interface AuthorizedPublicationResult {
|
|
5879
5959
|
grant: ContentReleaseGrant;
|
|
5880
5960
|
result: HandlerResponse;
|
|
5961
|
+
receipt: PublicationReceipt;
|
|
5881
5962
|
}
|
|
5882
5963
|
interface AuthorizedUnscheduleResult {
|
|
5883
5964
|
grant: ContentReleaseGrant | null;
|
|
@@ -5890,10 +5971,12 @@ declare class PublicationAuthorizationService {
|
|
|
5890
5971
|
private readonly hitlRequests;
|
|
5891
5972
|
private readonly activity;
|
|
5892
5973
|
private readonly releasePayloadBuilder;
|
|
5974
|
+
private readonly reviewPayloadBuilder;
|
|
5893
5975
|
private readonly policies;
|
|
5894
5976
|
private readonly getSiteTimezone;
|
|
5895
5977
|
private readonly now;
|
|
5896
5978
|
constructor(options: PublicationAuthorizationServiceOptions);
|
|
5979
|
+
checkPublicationReadiness(input: CheckPublicationReadinessInput): Promise<PublicationReadinessResult>;
|
|
5897
5980
|
publishAuthorizedContent(input: PublishAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
|
|
5898
5981
|
scheduleAuthorizedContent(input: ScheduleAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
|
|
5899
5982
|
publishAuthorizedDueContent(input: PublishAuthorizedDueContentInput): Promise<AuthorizedPublicationResult>;
|
|
@@ -7284,4 +7367,4 @@ interface PluginManifest {
|
|
|
7284
7367
|
admin: PluginAdminConfig;
|
|
7285
7368
|
}
|
|
7286
7369
|
//#endregion
|
|
7287
|
-
export { PluginMcpReversibility as $, SandboxedPlugin as $a, verifyGuestAccessToken as $i, getPreviewToken as $n, CreateMediaInput as $o, buildPreviewSignatureHeader as $r, getWidgetComponents as $t, PageMetadataLinkRel as A, MediaResponse as Aa, InferCollectionData as Ai, MenuItemType as An, reference as Ao, PluginManager as Ar, ContentResponse as As, isStandardPluginDefinition as At, PluginDefinition as B, handleRevisionRestore as Ba, EditProxy as Bi, getSiteSetting as Bn, RelationRepository as Bo, FilePreviewMiddlewareConfig as Br, searchCollection as Bt, ModerationDecision as C, Section as Ca, CacheHint as Ci, getEntriesByByline as Cn, handleContentRestore as Co, PublicationReleasePolicyContribution as Cr, parseBody as Cs, StandardHookHandler as Ct, PageMetadataContribution as D, SchemaError as Da, DinewayCollections as Di, CreateMenuItemInput as Dn, handleContentUnschedule as Do, NoopSandboxRunner as Dr, handleError as Ds, StorageCollection as Dt, PageFragmentHandler as E, getCollectionInfo as Ea, ContentEntry as Ei, CreateMenuInput as En, handleContentUnpublish as Eo, createNodeSandboxRunner as Er, apiSuccess as Es, StandardRouteHandler as Et, PluginAdminExports as F, handleMediaUpdate as Fa, getDinewayEntry as Fi, GetCommentsResult as Fn, ImageValue as Fo, PluginSecretStoreOptions as Fr, extractPlainText as Ft, PluginMcpCommandTool as G, HookPipeline as Ga, GuestAccessTokenClaims as Gi, AppliedSnapshotMeta as Gn, AssignmentListQuery as Go, SessionDatabaseFactory as Gr, SearchOptions as Gt, PluginManifest as H, SandboxedPluginEntry as Ha, createEditable as Hi, setSiteSettings as Hn, Assignment as Ho, FileSessionDatabaseFactory as Hr, FTSManager as Ht, PluginAdminPage as I, RevisionListResponse as Ia, getEditMeta as Ii, getCommentCount as In, PortableTextBlock$1 as Io, ValidatedPluginManifest as Ir, extractSearchableFields as It, PluginMcpPiiClass as J, SandboxEmailMessage as Ja, IssuedGuestAccessToken as Ji, dropSessionDatabaseTables as Jn, AssignmentStatus as Jo, SessionDatabaseLimitError as Jr, SearchStats as Jt, PluginMcpConfig as K, HookResult as Ka, GuestAccessTokenConfigurationError as Ki, ApplySnapshotToDatabaseOptions as Kn, AssignmentPriority as Ko, SessionDatabaseHandle as Kr, SearchResponse as Kt, PluginAuthMethod as L, RevisionResponse as La, getTranslations as Li, getComments as Ln, ContentReference as Lo, pluginManifestSchema as Lr, getSearchStats as Lt, PluginActor as M, handleMediaDelete as Ma, TranslationSummary as Mi, UpdateMenuInput as Mn, FieldDefinition as Mo, createReviewedPluginMcpCommandExecutor as Mr, ListResponse as Ms, PublicationReleasePolicy as Mt, PluginActorType as N, handleMediaGet as Na, TranslationsResult as Ni, UpdateMenuItemInput as Nn, FieldUIHints as No, PluginSecretStatus as Nr, ManifestResponse as Ns, PublicationReleasePreparationTarget as Nt, PageMetadataEvent as O, SchemaRegistry as Oa, EditFieldMeta as Oi, Menu as On, handleContentUpdate as Oo, SandboxNotAvailableError as Or, ApiContext as Os, StorageCollectionConfig as Ot, PluginAdminConfig as P, handleMediaList as Pa, getDinewayCollection as Pi, GetCommentsOptions as Pn, FileValue as Po, PluginSecretStore as Pr, currentTimestamp as Pt, PluginMcpResourceContent as Q, SandboxRunnerFactory as Qa, issueGuestAccessToken as Qi, isBlockedInPreview as Qn, RevisionRepository as Qo, PreviewSidecarSignature as Qr, getWidgetAreas as Qt, PluginCapability as R, handleRevisionGet as Ra, resolveDinewayPath as Ri, getPluginSetting as Rn, CreateRelationInput as Ro, runPluginMigrations as Rr, getSuggestions as Rt, MediaUploadEvent as S, GetSectionsOptions as Sa, after as Si, getBylineBySlug as Sn, handleContentPublish as So, BuiltContentReleasePayload as Sr, isParseError as Ss, StandardHookEntry as St, PageFragmentEvent as T, UpdateSectionInput as Ta, CollectionResult as Ti, getMenus as Tn, handleContentTranslations as To, NodeSandboxRunner as Tr, apiError as Ts, StandardRouteEntry as Tt, PluginMcpAuthorization as U, PluginRouteError as Ua, createNoop as Ui, PreviewToolbarConfig as Un, AssignmentActorRef as Uo, FileSessionDatabaseFactoryOptions as Ur, CollectionSearchOptions as Ut, PluginHooks as V, generateManifest as Va, FieldAnnotation as Vi, getSiteSettings as Vn, UpdateRelationInput as Vo, createFilePreviewMiddleware as Vr, searchWithDb as Vt, PluginMcpCommandPreview as W, EmailPipeline as Wa, GuestAccessExpectedScope as Wi, renderPreviewToolbar as Wn, AssignmentActorType as Wo, SessionCleanupResult as Wr, SearchConfig as Wt, PluginMcpQueryTool as X, SandboxOptions as Xa, VerifyGuestAccessTokenResult as Xi, Snapshot as Xn, MarkAssignmentsOverdueInput as Xo, SessionOpenOrCreateOptions as Xr, Suggestion as Xt, PluginMcpPiiPolicy as Y, SandboxEmailSendCallback as Ya, VerifyGuestAccessTokenOptions as Yi, getAppliedSnapshotMeta as Yn, CreateAssignmentInput as Yo, SessionOpenOptions as Yr, SuggestOptions as Yt, PluginMcpResource as Z, SandboxRunner as Za, hashGuestAccessToken as Zi, renderPreviewLoadingPage as Zn, PublicComment as Zo, PreviewSidecarClient as Zr, getWidgetArea as Zt, HookName as _, ProseMirrorMark as _a, invalidateObjectCache as _i, TaxonomyDef as _n, handleContentGet as _o, HandoffSnapshotStore as _r, SiteActivitySourceType as _s, ResolvedHook as _t, CommentAfterModerateEvent as a, hashString as aa, getFallbackChain as ai, Widget as an, getStoredConfig as ao, PreviewTokenPayload as ar, EntryFilter as as, PluginRouteApiTokenPolicy as at, LogAccess as b, getSections as ba, isObjectCacheActive as bi, UpdateTermInput as bn, handleContentListTrashed as bo, HandoffSnapshot as br, OptionsRepository as bs, ResolvedPluginMcpConfig as bt, CommentBeforeCreateHandler as c, PortableTextCodeBlock as ca, CacheNamespace as ci, WidgetType as cn, StorageDescriptor as co, generatePreviewToken as cr, dinewayLoader as cs, PluginRouteMethod as ct, ContentAccess as d, PortableTextLinkMark as da, contentNamespace as di, getTaxonomyDef as dn, handleContentCountScheduled as do, AssignmentAccessContext as dr, DinewayDatabaseError as ds, PluginRouteTargetContext as dt, RateLimitResult as ea, defaultPreviewSidecarClient as ei, CreateWidgetAreaInput as en, SerializedRequest as eo, isPreviewRequest as er, MediaItem$1 as es, PluginMcpRiskFactor as et, ContentDeleteEvent as f, PortableTextMarkDef as fa, contentNamespaces as fi, getTaxonomyDefs as fn, handleContentCountTrashed as fo, AssignmentActionInput as fr, CreateSiteActivityInput as fs, PluginStorageConfig as ft, HookConfig as g, ProseMirrorDocument as ga, invalidateMenuObjectCache as gi, CreateTermInput as gn, handleContentDuplicate as go, HandoffResumeResult as gr, SiteActivityResultStatus as gs, PublicPageContext as gt, FieldWidgetConfig as h, PortableTextUnknownBlock as ha, invalidateCommentObjectCache as hi, getTermsForEntries as hn, handleContentDiscardDraft as ho, CreateWorkflowAssignmentInput as hr, SiteActivityRepository as hs, PortableTextBlockField as ht, CommentAfterCreateHandler as i, computeContentHash as ia, I18nConfig as ii, UpdateWidgetInput as in, PluginDescriptor as io, GeneratePreviewTokenOptions as ir, EntryData as is, PluginRoute as it, PagePlacement as j, handleMediaCreate as ja, ResolvePathResult as ji, ReorderMenuItemsInput as jn, image as jo, createPluginManager as jr, FieldDescriptor as js, PublicationAuthorizationService as jt, PageMetadataHandler as k, MediaListResponse as ka, EntryResult as ki, MenuItem as kn, portableText as ko, createNoopSandboxRunner as kr, ContentListResponse as ks, StoredComment as kt, CommentModerateEvent as l, PortableTextHtmlBlock as la, CachedQueryOptions as li, getEntriesByTerm as ln, handleContentAuthors as lo, parseContentId as lr, getDb as ls, PluginRouteTargetAuthorizationRequest as lt, ContentPublishStateChangeEvent as m, PortableTextTextBlock as ma, invalidateCollectionCache as mi, getTerm as mn, handleContentDelete as mo, AssignmentService as mr, SiteActivityActorType as ms, PortableTextBlockConfig as mt, CollectionCommentSettings as n, isSafeHref as na, signPreviewUrl as ni, PropDef as nn, PluginMcpTargetAuthorizer$1 as no, buildPreviewUrl as nr, ContentRepository as ns, PluginMcpTool as nt, CommentAfterModerateHandler as o, portableTextToProsemirror as oa, getI18nConfig as oi, WidgetArea as on, LocalStorageConfig as oo, VerifyPreviewTokenOptions as or, WhereRange as os, PluginRouteAuthorization as ot, ContentHookEvent as p, PortableTextSpan as pa, invalidateBylineObjectCache as pi, getTaxonomyTerms as pn, handleContentCreate as po, AssignmentListInput as pr, SiteActivity as ps, PluginTargetScope as pt, PluginMcpExecutionContext as q, createHookPipeline as qa, IssueGuestAccessTokenOptions as qi, applySnapshotToDatabase as qn, AssignmentRepository as qo, SessionDatabaseInfo as qr, SearchResult as qt, CommentAfterCreateEvent as r, sanitizeHref as ra, verifyPreviewSignature as ri, ReorderWidgetsInput as rn, DinewayConfig as ro, getPreviewUrl as rr, CollectionFilter$1 as rs, PluginMigration as rt, CommentBeforeCreateEvent as s, prosemirrorToPortableText as sa, isI18nEnabled as si, WidgetComponentDef as sn, S3StorageConfig as so, VerifyPreviewTokenResult as sr, WhereValue$1 as ss, PluginRouteBodyMode as st, BreadcrumbItem as t, checkRateLimit as ta, parsePreviewSignatureHeader as ti, CreateWidgetInput as tn, PluginMcpRegistry as to, GetPreviewUrlOptions as tr, MediaRepository as ts, PluginMcpRiskLevel as tt, CommentModerateHandler as u, PortableTextImageBlock as ua, cachedQuery as ui, getEntryTerms as un, handleContentCompare as uo, verifyPreviewToken as ur, DatabaseConfig as us, PluginRouteTargetAuthorizer as ut, HttpAccess as v, ProseMirrorNode as va, invalidateSchemaObjectCache as vi, TaxonomyTerm as vn, handleContentGetIncludingTrashed as vo, ResumeHandoffSnapshotInput as vr, SiteActivityTimelineQuery as vs, ResolvedPlugin as vt, PageFragmentContribution as w, SectionSource as wa, CollectionFilter as wi, getMenu as wn, handleContentSchedule as wo, buildStableActionHash as wr, parseQuery as ws, StandardPluginDefinition as wt, MediaAccess as x, CreateSectionInput as xa, AfterCallback as xi, getByline as xn, handleContentPermanentDelete as xo, SiteAuthTokenContext as xr, ParseResult as xs, RouteContext as xt, KVAccess as y, getSection as ya, invalidateTaxonomyObjectCache as yi, TaxonomyTermRow as yn, handleContentList as yo, CreateHandoffSnapshotInput as yr, Element as ys, ResolvedPluginHooks as yt, PluginContext as z, handleRevisionList as za, CMSAnnotation as zi, getPluginSettings as zn, Relation as zo, definePlugin as zr, search as zt };
|
|
7370
|
+
export { PluginMcpReversibility as $, EmailPipeline as $a, GuestAccessExpectedScope as $i, AppliedSnapshotMeta as $n, AssignmentActorType as $o, SessionCleanupResult as $r, SearchOptions as $t, PageMetadataLinkRel as A, CreateSectionInput as Aa, AfterCallback as Ai, getBylineBySlug as An, handleContentPermanentDelete as Ao, BuiltContentReleasePayload as Ar, ParseResult as As, isStandardPluginDefinition as At, PluginDefinition as B, handleMediaCreate as Ba, ResolvePathResult as Bi, UpdateMenuInput as Bn, image as Bo, createPluginManager as Br, FieldDescriptor as Bs, PublicationReleasePolicy as Bt, ModerationDecision as C, PortableTextTextBlock as Ca, invalidateCollectionCache as Ci, getTermsForEntries as Cn, handleContentDelete as Co, CreateWorkflowAssignmentInput as Cr, WhereValue$1 as Cs, StandardHookHandler as Ct, PageMetadataContribution as D, ProseMirrorNode as Da, invalidateSchemaObjectCache as Di, TaxonomyTermRow as Dn, handleContentGetIncludingTrashed as Do, CreateHandoffSnapshotInput as Dr, DinewayDatabaseError as Ds, StorageCollection as Dt, PageFragmentHandler as E, ProseMirrorMark as Ea, invalidateObjectCache as Ei, TaxonomyTerm as En, handleContentGet as Eo, ResumeHandoffSnapshotInput as Er, DatabaseConfig as Es, StandardRouteHandler as Et, PluginAdminExports as F, getCollectionInfo as Fa, ContentEntry as Fi, CreateMenuItemInput as Fn, handleContentUnpublish as Fo, createNodeSandboxRunner as Fr, apiSuccess as Fs, PublicationReadinessPolicyFinding as Ft, PluginMcpCommandTool as G, RevisionListResponse as Ga, getEditMeta as Gi, getComments as Gn, PortableTextBlock$1 as Go, ValidatedPluginManifest as Gr, getSearchStats as Gt, PluginManifest as H, handleMediaGet as Ha, TranslationsResult as Hi, GetCommentsOptions as Hn, FieldUIHints as Ho, PluginSecretStatus as Hr, ManifestResponse as Hs, currentTimestamp as Ht, PluginAdminPage as I, SchemaError as Ia, DinewayCollections as Ii, Menu as In, handleContentUnschedule as Io, NoopSandboxRunner as Ir, handleError as Is, PublicationReadinessPolicyTarget as It, PluginMcpPiiClass as J, handleRevisionList as Ja, CMSAnnotation as Ji, getSiteSetting as Jn, Relation as Jo, definePlugin as Jr, searchCollection as Jt, PluginMcpConfig as K, RevisionResponse as Ka, getTranslations as Ki, getPluginSetting as Kn, ContentReference as Ko, pluginManifestSchema as Kr, getSuggestions as Kt, PluginAuthMethod as L, SchemaRegistry as La, EditFieldMeta as Li, MenuItem as Ln, handleContentUpdate as Lo, SandboxNotAvailableError as Lr, ApiContext as Ls, PublicationReadinessResult as Lt, PluginActor as M, Section as Ma, CacheHint as Mi, getMenu as Mn, handleContentRestore as Mo, PublicationReleasePolicyDisposition as Mr, parseBody as Ms, PublicationPolicyOverride as Mt, PluginActorType as N, SectionSource as Na, CollectionFilter as Ni, getMenus as Nn, handleContentSchedule as No, buildStableActionHash as Nr, parseQuery as Ns, PublicationReadinessBlocker as Nt, PageMetadataEvent as O, getSection as Oa, invalidateTaxonomyObjectCache as Oi, UpdateTermInput as On, handleContentList as Oo, HandoffSnapshot as Or, Element as Os, StorageCollectionConfig as Ot, PluginAdminConfig as P, UpdateSectionInput as Pa, CollectionResult as Pi, CreateMenuInput as Pn, handleContentTranslations as Po, NodeSandboxRunner as Pr, apiError as Ps, PublicationReadinessPolicyBlocker as Pt, PluginMcpResourceContent as Q, PluginRouteError as Qa, createNoop as Qi, renderPreviewToolbar as Qn, AssignmentActorRef as Qo, FileSessionDatabaseFactoryOptions as Qr, SearchConfig as Qt, PluginCapability as R, MediaListResponse as Ra, EntryResult as Ri, MenuItemType as Rn, portableText as Ro, createNoopSandboxRunner as Rr, ContentListResponse as Rs, PublicationReadinessWarning as Rt, MediaUploadEvent as S, PortableTextSpan as Sa, invalidateBylineObjectCache as Si, getTerm as Sn, handleContentCreate as So, AssignmentService as Sr, WhereRange as Ss, StandardHookEntry as St, PageFragmentEvent as T, ProseMirrorDocument as Ta, invalidateMenuObjectCache as Ti, TaxonomyDef as Tn, handleContentDuplicate as To, HandoffSnapshotStore as Tr, getDb as Ts, StandardRouteEntry as Tt, PluginMcpAuthorization as U, handleMediaList as Ua, getDinewayCollection as Ui, GetCommentsResult as Un, FileValue as Uo, PluginSecretStore as Ur, extractPlainText as Ut, PluginHooks as V, handleMediaDelete as Va, TranslationSummary as Vi, UpdateMenuItemInput as Vn, FieldDefinition as Vo, createReviewedPluginMcpCommandExecutor as Vr, ListResponse as Vs, PublicationReleasePreparationTarget as Vt, PluginMcpCommandPreview as W, handleMediaUpdate as Wa, getDinewayEntry as Wi, getCommentCount as Wn, ImageValue as Wo, PluginSecretStoreOptions as Wr, extractSearchableFields as Wt, PluginMcpQueryTool as X, generateManifest as Xa, FieldAnnotation as Xi, setSiteSettings as Xn, UpdateRelationInput as Xo, createFilePreviewMiddleware as Xr, FTSManager as Xt, PluginMcpPiiPolicy as Y, handleRevisionRestore as Ya, EditProxy as Yi, getSiteSettings as Yn, RelationRepository as Yo, FilePreviewMiddlewareConfig as Yr, searchWithDb as Yt, PluginMcpResource as Z, SandboxedPluginEntry as Za, createEditable as Zi, PreviewToolbarConfig as Zn, Assignment as Zo, FileSessionDatabaseFactory as Zr, CollectionSearchOptions as Zt, HookName as _, PortableTextCodeBlock as _a, CacheNamespace as _i, getEntriesByTerm as _n, StorageDescriptor as _o, parseContentId as _r, MediaRepository as _s, ResolvedHook as _t, CommentAfterModerateEvent as a, VerifyGuestAccessTokenResult as aa, SessionOpenOrCreateOptions as ai, getWidgetArea as an, SandboxOptions as ao, renderPreviewLoadingPage as ar, MarkAssignmentsOverdueInput as as, PluginRouteApiTokenPolicy as at, LogAccess as b, PortableTextLinkMark as ba, contentNamespace as bi, getTaxonomyDefs as bn, handleContentCountScheduled as bo, AssignmentActionInput as br, EntryData as bs, ResolvedPluginMcpConfig as bt, CommentBeforeCreateHandler as c, verifyGuestAccessToken as ca, buildPreviewSignatureHeader as ci, CreateWidgetAreaInput as cn, SandboxedPlugin as co, isPreviewRequest as cr, SiteActivityActorType as cs, PluginRouteMethod as ct, ContentAccess as d, isSafeHref as da, signPreviewUrl as di, ReorderWidgetsInput as dn, PluginMcpTargetAuthorizer$1 as do, getPreviewUrl as dr, SiteActivitySourceType as ds, PluginRouteTargetContext as dt, GuestAccessTokenClaims as ea, SessionDatabaseFactory as ei, SearchResponse as en, HookPipeline as eo, ApplySnapshotToDatabaseOptions as er, AssignmentListQuery as es, PluginMcpRiskFactor as et, ContentDeleteEvent as f, sanitizeHref as fa, verifyPreviewSignature as fi, UpdateWidgetInput as fn, DinewayConfig as fo, GeneratePreviewTokenOptions as fr, SiteActivityTimelineQuery as fs, PluginStorageConfig as ft, HookConfig as g, prosemirrorToPortableText as ga, isI18nEnabled as gi, WidgetType as gn, S3StorageConfig as go, generatePreviewToken as gr, MediaItem$1 as gs, PublicPageContext as gt, FieldWidgetConfig as h, portableTextToProsemirror as ha, getI18nConfig as hi, WidgetComponentDef as hn, LocalStorageConfig as ho, VerifyPreviewTokenResult as hr, CreateMediaInput as hs, PortableTextBlockField as ht, CommentAfterCreateHandler as i, VerifyGuestAccessTokenOptions as ia, SessionOpenOptions as ii, Suggestion as in, SandboxEmailSendCallback as io, Snapshot as ir, CreateAssignmentInput as is, PluginRoute as it, PagePlacement as j, GetSectionsOptions as ja, after as ji, getEntriesByByline as jn, handleContentPublish as jo, PublicationReleasePolicyContribution as jr, isParseError as js, PublicationAuthorizationService as jt, PageMetadataHandler as k, getSections as ka, isObjectCacheActive as ki, getByline as kn, handleContentListTrashed as ko, SiteAuthTokenContext as kr, OptionsRepository as ks, StoredComment as kt, CommentModerateEvent as l, RateLimitResult as la, defaultPreviewSidecarClient as li, CreateWidgetInput as ln, SerializedRequest as lo, GetPreviewUrlOptions as lr, SiteActivityRepository as ls, PluginRouteTargetAuthorizationRequest as lt, ContentPublishStateChangeEvent as m, hashString as ma, getFallbackChain as mi, WidgetArea as mn, getStoredConfig as mo, VerifyPreviewTokenOptions as mr, RevisionRepository as ms, PortableTextBlockConfig as mt, CollectionCommentSettings as n, IssueGuestAccessTokenOptions as na, SessionDatabaseInfo as ni, SearchStats as nn, createHookPipeline as no, dropSessionDatabaseTables as nr, AssignmentRepository as ns, PluginMcpTool as nt, CommentAfterModerateHandler as o, hashGuestAccessToken as oa, PreviewSidecarClient as oi, getWidgetAreas as on, SandboxRunner as oo, isBlockedInPreview as or, CreateSiteActivityInput as os, PluginRouteAuthorization as ot, ContentHookEvent as p, computeContentHash as pa, I18nConfig as pi, Widget as pn, PluginDescriptor as po, PreviewTokenPayload as pr, PublicComment as ps, PluginTargetScope as pt, PluginMcpExecutionContext as q, handleRevisionGet as qa, resolveDinewayPath as qi, getPluginSettings as qn, CreateRelationInput as qo, runPluginMigrations as qr, search as qt, CommentAfterCreateEvent as r, IssuedGuestAccessToken as ra, SessionDatabaseLimitError as ri, SuggestOptions as rn, SandboxEmailMessage as ro, getAppliedSnapshotMeta as rr, AssignmentStatus as rs, PluginMigration as rt, CommentBeforeCreateEvent as s, issueGuestAccessToken as sa, PreviewSidecarSignature as si, getWidgetComponents as sn, SandboxRunnerFactory as so, getPreviewToken as sr, SiteActivity as ss, PluginRouteBodyMode as st, BreadcrumbItem as t, GuestAccessTokenConfigurationError as ta, SessionDatabaseHandle as ti, SearchResult as tn, HookResult as to, applySnapshotToDatabase as tr, AssignmentPriority as ts, PluginMcpRiskLevel as tt, CommentModerateHandler as u, checkRateLimit as ua, parsePreviewSignatureHeader as ui, PropDef as un, PluginMcpRegistry as uo, buildPreviewUrl as ur, SiteActivityResultStatus as us, PluginRouteTargetAuthorizer as ut, HttpAccess as v, PortableTextHtmlBlock as va, CachedQueryOptions as vi, getEntryTerms as vn, handleContentAuthors as vo, verifyPreviewToken as vr, ContentRepository as vs, ResolvedPlugin as vt, PageFragmentContribution as w, PortableTextUnknownBlock as wa, invalidateCommentObjectCache as wi, CreateTermInput as wn, handleContentDiscardDraft as wo, HandoffResumeResult as wr, dinewayLoader as ws, StandardPluginDefinition as wt, MediaAccess as x, PortableTextMarkDef as xa, contentNamespaces as xi, getTaxonomyTerms as xn, handleContentCountTrashed as xo, AssignmentListInput as xr, EntryFilter as xs, RouteContext as xt, KVAccess as y, PortableTextImageBlock as ya, cachedQuery as yi, getTaxonomyDef as yn, handleContentCompare as yo, AssignmentAccessContext as yr, CollectionFilter$1 as ys, ResolvedPluginHooks as yt, PluginContext as z, MediaResponse as za, InferCollectionData as zi, ReorderMenuItemsInput as zn, reference as zo, PluginManager as zr, ContentResponse as zs, PublicationReceipt as zt };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { D as PageMetadataContribution,
|
|
1
|
+
import { D as PageMetadataContribution, Fa as getCollectionInfo, Gi as getEditMeta, Gn as getComments, Mn as getMenu, Ui as getDinewayCollection, Yn as getSiteSettings, an as getWidgetArea, fa as sanitizeHref, gt as PublicPageContext, pn as Widget, ps as PublicComment, xn as getTaxonomyTerms } from "../types-y0lpkCXC.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import { _ as MediaValue, c as EmbedResult, l as ImageEmbed, s as EmbedOptions } from "../placeholder-C6ZjZcmJ.mjs";
|
|
4
4
|
import "../runner-Bcy5w0vj.mjs";
|
|
5
5
|
import "../index-DybFmYtZ.mjs";
|
|
6
6
|
import "../types-S9VIopdY.mjs";
|
|
7
7
|
import { x as MediaReference } from "../validate-YiX3rly5.mjs";
|
|
8
|
-
import "../byline-fields-
|
|
8
|
+
import "../byline-fields-DS-K2aXR.mjs";
|
|
9
9
|
import "../types-BsTXSvKG.mjs";
|
|
10
|
-
import { t as getPublicOrigin } from "../public-url-
|
|
11
|
-
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-
|
|
10
|
+
import { t as getPublicOrigin } from "../public-url-D_iHIBiH.mjs";
|
|
11
|
+
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-Bn0uJ5Yz.mjs";
|
|
12
12
|
import { getPageRuntime } from "../page/index.mjs";
|
|
13
|
-
import { t as getMediaProvider } from "../provider-loader-
|
|
13
|
+
import { t as getMediaProvider } from "../provider-loader-Db-pJFu3.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/utils/sanitize.d.ts
|
|
16
16
|
/**
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|