dineway 0.2.17 → 0.2.19
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/{activity-BAkKyyl8.mjs → activity-Dq9zDvAK.mjs} +1 -1
- package/dist/{activity-events-C4McPHJm.mjs → activity-events-iGYnf7TK.mjs} +1 -1
- package/dist/api/route-utils.d.mts +3 -3
- package/dist/api/route-utils.mjs +7 -7
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-nl2agXSw.mjs → api-C8IpJnQ7.mjs} +13 -13
- package/dist/{apply-B-RPhRGf.mjs → apply-C0v5UKOI.mjs} +17 -17
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +1 -1
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware/redirect.mjs +4 -4
- package/dist/astro/middleware/request-context.mjs +4 -1
- package/dist/astro/middleware/seed.mjs +1 -1
- package/dist/astro/middleware.mjs +54 -54
- package/dist/astro/routes/api/admin/briefing.mjs +11 -11
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +6 -6
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +6 -6
- package/dist/astro/routes/api/admin/bylines/index.mjs +6 -6
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/_id_.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/bulk.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/counts.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/index.mjs +3 -3
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +20 -20
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +20 -20
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +21 -21
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +21 -21
- package/dist/astro/routes/api/admin/context/diff.mjs +20 -20
- package/dist/astro/routes/api/admin/context/index.mjs +21 -21
- package/dist/astro/routes/api/admin/context/stale.mjs +20 -20
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +21 -21
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +21 -21
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +21 -21
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +20 -20
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +31 -31
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/index.mjs +31 -31
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +31 -31
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +31 -31
- package/dist/astro/routes/api/admin/plugins/updates.mjs +31 -31
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +21 -21
- package/dist/astro/routes/api/admin/review-requests/index.mjs +21 -21
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +31 -31
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +31 -31
- package/dist/astro/routes/api/auth/dev-bypass.mjs +1 -1
- package/dist/astro/routes/api/auth/me.mjs +2 -2
- package/dist/astro/routes/api/auth/setup-token/index.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +4 -4
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
- 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_/unpublish.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/index.mjs +4 -4
- package/dist/astro/routes/api/dashboard.mjs +6 -6
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +7 -7
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +25 -25
- 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 +22 -22
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +21 -21
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +26 -26
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +53 -53
- package/dist/astro/routes/api/media/_id_/confirm.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 +21 -21
- package/dist/astro/routes/api/menus/_name_/items.mjs +21 -21
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +21 -21
- package/dist/astro/routes/api/menus/_name_/translations.mjs +21 -21
- package/dist/astro/routes/api/menus/_name_.mjs +21 -21
- package/dist/astro/routes/api/menus/index.mjs +21 -21
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/404s/index.mjs +3 -3
- package/dist/astro/routes/api/redirects/404s/summary.mjs +3 -3
- package/dist/astro/routes/api/redirects/_id_.mjs +22 -22
- package/dist/astro/routes/api/redirects/index.mjs +22 -22
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/index.mjs +33 -33
- package/dist/astro/routes/api/schema/index.mjs +5 -5
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +31 -31
- package/dist/astro/routes/api/schema/orphans/index.mjs +31 -31
- package/dist/astro/routes/api/search/enable.mjs +4 -4
- package/dist/astro/routes/api/search/index.mjs +4 -4
- package/dist/astro/routes/api/search/rebuild.mjs +4 -4
- package/dist/astro/routes/api/search/stats.mjs +4 -4
- package/dist/astro/routes/api/search/suggest.mjs +4 -4
- package/dist/astro/routes/api/sections/_slug_.mjs +21 -21
- package/dist/astro/routes/api/sections/index.mjs +21 -21
- package/dist/astro/routes/api/settings.mjs +21 -21
- package/dist/astro/routes/api/setup/dev-bypass.mjs +16 -16
- package/dist/astro/routes/api/setup/index.mjs +16 -16
- package/dist/astro/routes/api/setup/status.mjs +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +23 -23
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +23 -23
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +23 -23
- package/dist/astro/routes/api/taxonomies/index.mjs +23 -23
- package/dist/astro/routes/api/typegen.mjs +3 -3
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +20 -20
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +21 -21
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +21 -21
- package/dist/astro/routes/api/widget-areas/_name_.mjs +21 -21
- package/dist/astro/routes/api/widget-areas/index.mjs +21 -21
- package/dist/astro/routes/robots.txt.mjs +4 -4
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +4 -4
- package/dist/astro/routes/sitemap.xml.mjs +4 -4
- package/dist/astro/session-driver.mjs +2 -2
- package/dist/astro/types.d.mts +2 -2
- package/dist/{audit-BrTuQfNv.mjs → audit-DeBteyL4.mjs} +1 -1
- package/dist/{briefing-BYyulqWG.mjs → briefing-5Y-NTrWG.mjs} +1 -1
- package/dist/{briefing-DnJHsNTT.mjs → briefing-DiJir0Ev.mjs} +5 -5
- package/dist/{bundle-Qqju_5Fj.mjs → bundle-C-eQG8un.mjs} +1 -1
- package/dist/{byline-CMjCZGpC.mjs → byline-CB0OLcK1.mjs} +4 -4
- package/dist/{byline-fields-CVrAFnAF.d.mts → byline-fields-DEQ1wcUa.d.mts} +12 -12
- package/dist/{bylines-BdQo5hKA.mjs → bylines-BDp4-cpl.mjs} +3 -3
- package/dist/{bylines-D1Jdw1RU.mjs → bylines-CMKhrSEg.mjs} +4 -4
- package/dist/{cache-nqP9Keps.mjs → cache-CtXIOJKw.mjs} +1 -1
- package/dist/{chunks-BCfHGl6f.mjs → chunks-BdkWx1oD.mjs} +1 -1
- package/dist/cli/index.mjs +20 -20
- 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-factory-BkQ14lJF.mjs → client-factory-Dll61uB1.mjs} +1 -1
- package/dist/{comment-D6UilawT.mjs → comment-3JihGSh6.mjs} +1 -1
- package/dist/{comment-reaction-C7z5ygzr.mjs → comment-reaction-BNXm1YHa.mjs} +1 -1
- package/dist/{comments-ecii1hOL.mjs → comments-DJZXQi0j.mjs} +1 -1
- package/dist/{content-Bw475qvP.mjs → content-Bturdi4b.mjs} +19 -6
- package/dist/{content-refresh-DOnN-q_O.mjs → content-refresh-C4YoqoNs.mjs} +2 -2
- package/dist/{context-DVTbXpPM.mjs → context-B6HQWp5l.mjs} +2 -2
- package/dist/{context-CQIReFBF.mjs → context-CB4PwkM_.mjs} +6 -6
- package/dist/{context-route-helpers-CHKNrwJI.mjs → context-route-helpers-CLoNF0pp.mjs} +1 -1
- package/dist/{dashboard-CI8O9TkH.mjs → dashboard-DP4dxA1S.mjs} +4 -4
- package/dist/db/index.mjs +1 -1
- package/dist/{field-defs-cache-D0XRS2q4.mjs → field-defs-cache-BGhsaYGT.mjs} +1 -1
- package/dist/{fts-manager-B1UBRY0q.mjs → fts-manager-6KClQEs0.mjs} +1 -1
- package/dist/{hitl-requests-DJF0IW4J.mjs → hitl-requests-BAE_3YMO.mjs} +1 -1
- package/dist/{hitl-route-helpers-BmwP0403.mjs → hitl-route-helpers-BkX6pLBa.mjs} +2 -2
- package/dist/{import-Dd3SI7-g.mjs → import-CJm91blH.mjs} +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +50 -50
- package/dist/{jsonld-CheQ9KaU.d.mts → jsonld-BS1v8xeZ.d.mts} +1 -1
- package/dist/{load-BanWbhIA.mjs → load-CfFRVQkS.mjs} +1 -1
- package/dist/{loader-DKAtE11U.mjs → loader-DtE00Fml.mjs} +51 -30
- package/dist/{mcp-reviewed-executor-DGVvG1CL.mjs → mcp-reviewed-executor-DaIhmgOW.mjs} +3 -3
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/media/local-runtime.mjs +2 -2
- package/dist/{media-DdbadAxA.mjs → media-BXbOL8xv.mjs} +1 -1
- package/dist/{menus-B539Jsur.mjs → menus-DCjNW2e4.mjs} +1 -1
- package/dist/{menus-CEVVeen2.mjs → menus-b1JWwI1Z.mjs} +3 -3
- 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-C0rJoEoc.mjs → plugins-BVSrX4gZ.mjs} +2 -2
- package/dist/{public-url-MK13Fjz-.d.mts → public-url-CoGGAgPW.d.mts} +1 -1
- package/dist/{publication-authorization-BCf5Z1Oo.mjs → publication-authorization-Dzr05Xx7.mjs} +5 -5
- package/dist/{query-BbN3WZ5F.mjs → query-BnxjGFfS.mjs} +2 -2
- package/dist/{query-DU0iErik.mjs → query-DTGsFOQu.mjs} +14 -12
- package/dist/{redirect-Bx2p40Jv.mjs → redirect-3Zzd0xIN.mjs} +1 -1
- package/dist/{redirects-DxKe-mDc.mjs → redirects-lCeytkeq.mjs} +2 -2
- package/dist/{registry-BAMp0xSp.mjs → registry-c51Wf_AZ.mjs} +4 -4
- package/dist/{review-requests-BvJyWjeA.mjs → review-requests-B9NfBTCJ.mjs} +1 -1
- package/dist/{review-requests-BqENJJSH.mjs → review-requests-eQbhj62T.mjs} +1 -1
- package/dist/{review-route-helpers-Cy1LEz2s.mjs → review-route-helpers-4KBg7Hi3.mjs} +1 -1
- package/dist/{runner-D2Adr7eS.mjs → runner-BE1taNgj.mjs} +477 -453
- package/dist/runtime.d.mts +2 -2
- package/dist/runtime.mjs +2 -2
- package/dist/schema-dGCjdAx9.mjs +8 -0
- package/dist/{search-BuW0MSGl.mjs → search-BKBSn2Yf.mjs} +3 -3
- package/dist/{sections-BmaD6CDE.mjs → sections-CyXQJaUl.mjs} +2 -2
- package/dist/seed/index.mjs +15 -15
- package/dist/{seo-Dva_6yK9.mjs → seo-BasNtS3J.mjs} +1 -1
- package/dist/{service-CWWDX28R.mjs → service-BTYluCDf.mjs} +1 -1
- package/dist/{settings-CZl5K0Vy.mjs → settings-BAFyDIGn.mjs} +2 -2
- package/dist/{settings-CLwE-vVP.mjs → settings-DcwHL9mx.mjs} +2 -2
- package/dist/{site-activity-DKAAQhhy.mjs → site-activity-QPC-7Vnq.mjs} +1 -1
- package/dist/{site-context-p4evE0Ar.mjs → site-context-BSw2bNdG.mjs} +10 -10
- package/dist/{taxonomies-BD4mER2Y.mjs → taxonomies-B5jTGXEC.mjs} +4 -4
- package/dist/{taxonomies-BIxMuHhH.mjs → taxonomies-DkMW6kj5.mjs} +3 -3
- package/dist/{taxonomy-CyQZW5iy.mjs → taxonomy-C-Aqi1cF.mjs} +2 -2
- package/dist/{types-J6fPXKMq.d.mts → types-CnuliyMS.d.mts} +12 -2
- package/dist/{types-DmtYL0ql.mjs → types-al8YMHdF.mjs} +1 -1
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/ui/server-runtime.mjs +14 -14
- package/dist/{user-BDrPGgKQ.mjs → user-Ldseid1x.mjs} +2 -2
- package/dist/{validate-Bju_qEhN.mjs → validate-hHdBXn4U.mjs} +1 -1
- package/dist/version-wVceh475.mjs +6 -0
- package/dist/{widgets-O77eX5G-.mjs → widgets-oRtISrJQ.mjs} +1 -1
- package/dist/{zod-generator-DIOia5pw.mjs → zod-generator-BGSszwCw.mjs} +1 -1
- package/package.json +5 -5
- package/dist/schema-BdTgrmHq.mjs +0 -8
- package/dist/version-xLMuaISK.mjs +0 -6
package/dist/cli/index.mjs
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-
|
|
2
|
+
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-BE1taNgj.mjs";
|
|
3
3
|
import { t as createDatabase } from "../connection-CiJWiWya.mjs";
|
|
4
4
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
5
5
|
import { l as listTablesLike } from "../dialect-helpers-fk43GbDb.mjs";
|
|
6
6
|
import { n as getI18nConfig, r as isI18nEnabled } from "../config-CVssduLe.mjs";
|
|
7
7
|
import { i as encodeBase64url } from "../base64-F8-DUraK.mjs";
|
|
8
|
-
import "../types-
|
|
9
|
-
import { o as isMissingTableError } from "../loader-
|
|
8
|
+
import "../types-al8YMHdF.mjs";
|
|
9
|
+
import { o as isMissingTableError } from "../loader-DtE00Fml.mjs";
|
|
10
10
|
import "../object-cache-D51qOseS.mjs";
|
|
11
11
|
import { n as slugify } from "../slugify-KSsVD_D3.mjs";
|
|
12
|
-
import { t as ContentRepository } from "../content-
|
|
13
|
-
import { t as MediaRepository } from "../media-
|
|
14
|
-
import { t as TaxonomyRepository } from "../taxonomy-
|
|
12
|
+
import { t as ContentRepository } from "../content-Bturdi4b.mjs";
|
|
13
|
+
import { t as MediaRepository } from "../media-BXbOL8xv.mjs";
|
|
14
|
+
import { t as TaxonomyRepository } from "../taxonomy-C-Aqi1cF.mjs";
|
|
15
15
|
import { t as OptionsRepository } from "../options-DQPTH5n0.mjs";
|
|
16
|
-
import "../redirect-
|
|
16
|
+
import "../redirect-3Zzd0xIN.mjs";
|
|
17
17
|
import "../request-cache-CBFjCwSt.mjs";
|
|
18
18
|
import "../byline-registry-BLgrU3dA.mjs";
|
|
19
|
-
import "../field-defs-cache-
|
|
20
|
-
import { t as BylineRepository } from "../byline-
|
|
21
|
-
import "../content-refresh-
|
|
22
|
-
import "../fts-manager-
|
|
23
|
-
import { n as SchemaRegistry } from "../registry-
|
|
24
|
-
import "../settings-
|
|
25
|
-
import { n as VERSION } from "../version-
|
|
19
|
+
import "../field-defs-cache-BGhsaYGT.mjs";
|
|
20
|
+
import { t as BylineRepository } from "../byline-CB0OLcK1.mjs";
|
|
21
|
+
import "../content-refresh-C4YoqoNs.mjs";
|
|
22
|
+
import "../fts-manager-6KClQEs0.mjs";
|
|
23
|
+
import { n as SchemaRegistry } from "../registry-c51Wf_AZ.mjs";
|
|
24
|
+
import "../settings-DcwHL9mx.mjs";
|
|
25
|
+
import { n as VERSION } from "../version-wVceh475.mjs";
|
|
26
26
|
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-CpGpyGcO.mjs";
|
|
27
27
|
import { t as IntegrationCredentialStore } from "../store-CCfMD6nw.mjs";
|
|
28
28
|
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-DKa3ZaJL.mjs";
|
|
29
29
|
import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../ssrf-BZHvtFEv.mjs";
|
|
30
|
-
import { t as validateSeed } from "../validate-
|
|
31
|
-
import { t as applySeed } from "../apply-
|
|
30
|
+
import { t as validateSeed } from "../validate-hHdBXn4U.mjs";
|
|
31
|
+
import { t as applySeed } from "../apply-C0v5UKOI.mjs";
|
|
32
32
|
import { _ as readForgewayCredentials, a as InvalidForgewayAccountCredentialsError, c as getForgewayDinewayAccount, d as normalizeForgewayEmail, f as readStoredForgewayAccount, g as listForgewayCredentials, h as sendForgewayAccountLoginLink, i as DEFAULT_FORGEWAY_API_BASE_URL, l as normalizeDinewayWebUrl, m as removeStoredForgewayAccount, n as DinewayToolsService, o as completeForgewayAccountLogin, p as refreshForgewayAccountCredentials, r as DEFAULT_DINEWAY_WEB_URL, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl, v as writeForgewayCredentials } from "../service-DbHMAoiN.mjs";
|
|
33
33
|
import { n as output, t as configureOutputMode } from "../output-BbqsKnS_.mjs";
|
|
34
34
|
import { createHeaderAwareFetch, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
35
35
|
import { t as convertDataForRead } from "../portable-text-y8QVqTzd.mjs";
|
|
36
|
-
import { _ as saveMarketplaceCredential, a as ensureProjectGitignoreDinewayLocalState, c as resolveDinewayBaseUrl, d as getCredentials, f as getMarketplaceCredential, g as saveCredentials, h as resolveCredentialKey, i as DEFAULT_DINEWAY_URL, l as resolveDinewayToken, m as removeMarketplaceCredential, n as connectionArgs, o as ensureProjectGitignoreEntry, p as removeCredentials, r as createClientFromArgs, s as readProjectEnv, u as upsertProjectEnv } from "../client-factory-
|
|
36
|
+
import { _ as saveMarketplaceCredential, a as ensureProjectGitignoreDinewayLocalState, c as resolveDinewayBaseUrl, d as getCredentials, f as getMarketplaceCredential, g as saveCredentials, h as resolveCredentialKey, i as DEFAULT_DINEWAY_URL, l as resolveDinewayToken, m as removeMarketplaceCredential, n as connectionArgs, o as ensureProjectGitignoreEntry, p as removeCredentials, r as createClientFromArgs, s as readProjectEnv, u as upsertProjectEnv } from "../client-factory-Dll61uB1.mjs";
|
|
37
37
|
import { LocalStorage } from "../storage/local.mjs";
|
|
38
|
-
import { r as fileExists$11, t as bundleCommand } from "../bundle-
|
|
38
|
+
import { r as fileExists$11, t as bundleCommand } from "../bundle-C-eQG8un.mjs";
|
|
39
39
|
import { createRequire } from "node:module";
|
|
40
40
|
import { createHash } from "node:crypto";
|
|
41
41
|
import { sql } from "kysely";
|
|
@@ -3545,7 +3545,7 @@ const devCommand = defineCommand({
|
|
|
3545
3545
|
const remoteUrl = pkg.dineway?.url || process.env.DINEWAY_URL;
|
|
3546
3546
|
if (!remoteUrl) consola.warn("No remote URL configured. Set DINEWAY_URL or dineway.url in package.json");
|
|
3547
3547
|
else try {
|
|
3548
|
-
const { createClientFromArgs } = await import("../client-factory-
|
|
3548
|
+
const { createClientFromArgs } = await import("../client-factory-Dll61uB1.mjs").then((n) => n.t);
|
|
3549
3549
|
const client = createClientFromArgs({ url: remoteUrl });
|
|
3550
3550
|
const schema = await client.schemaExport();
|
|
3551
3551
|
const types = await client.schemaTypes();
|
|
@@ -5539,7 +5539,7 @@ const publishCommand = defineCommand({
|
|
|
5539
5539
|
const pluginDir = resolve(args.dir);
|
|
5540
5540
|
try {
|
|
5541
5541
|
const { runCommand } = await import("citty");
|
|
5542
|
-
const { bundleCommand } = await import("../bundle-
|
|
5542
|
+
const { bundleCommand } = await import("../bundle-C-eQG8un.mjs").then((n) => n.n);
|
|
5543
5543
|
await runCommand(bundleCommand, { rawArgs: ["--dir", pluginDir] });
|
|
5544
5544
|
} catch {
|
|
5545
5545
|
consola.error("Build failed");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-CnuliyMS.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import "../runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "../index-DybFmYtZ.mjs";
|
|
5
5
|
import "../types-S9VIopdY.mjs";
|
|
6
6
|
import "../validate-YiX3rly5.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-DEQ1wcUa.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
9
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
10
10
|
import { SubCommandsDef } from "citty";
|
package/dist/cli/plugin-kit.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as output, t as configureOutputMode } from "../output-BbqsKnS_.mjs";
|
|
2
|
-
import { n as connectionArgs, r as createClientFromArgs } from "../client-factory-
|
|
2
|
+
import { n as connectionArgs, r as createClientFromArgs } from "../client-factory-Dll61uB1.mjs";
|
|
3
3
|
|
|
4
4
|
export { configureOutputMode, connectionArgs, createClientFromArgs, output };
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Bt as PublicationPolicyOverride, Gt as PublicationReadinessResult, qt as PublicationReceipt } from "../types-
|
|
1
|
+
import { Bt as PublicationPolicyOverride, Gt as PublicationReadinessResult, qt as PublicationReceipt } from "../types-CnuliyMS.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import "../runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "../index-DybFmYtZ.mjs";
|
|
5
5
|
import "../types-S9VIopdY.mjs";
|
|
6
6
|
import "../validate-YiX3rly5.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-DEQ1wcUa.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
9
|
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-CXkC1F2Z.mjs";
|
|
10
10
|
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-BYUu-wtj.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-BE1taNgj.mjs";
|
|
2
2
|
import { customHeadersInterceptor, resolveCustomHeaders } from "./client/external-auth-headers.mjs";
|
|
3
3
|
import { DinewayClient } from "./client/index.mjs";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
1
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-al8YMHdF.mjs";
|
|
2
2
|
import { s as invalidateCommentObjectCache } from "./object-cache-D51qOseS.mjs";
|
|
3
3
|
import { sql } from "kysely";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-BE1taNgj.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
|
-
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-
|
|
3
|
+
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-al8YMHdF.mjs";
|
|
4
4
|
import { o as invalidateCollectionCache } from "./object-cache-D51qOseS.mjs";
|
|
5
5
|
import { n as slugify } from "./slugify-KSsVD_D3.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
@@ -75,12 +75,25 @@ var RevisionRepository = class {
|
|
|
75
75
|
return Number(result.numDeletedRows ?? 0);
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
|
-
* Delete old revisions, keeping the most recent N
|
|
78
|
+
* Delete old revisions, keeping the most recent N and any revisions
|
|
79
|
+
* referenced by the content entry's live or draft pointers.
|
|
79
80
|
*/
|
|
80
81
|
async pruneOldRevisions(collection, entryId, keepCount) {
|
|
81
|
-
const
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
const keep = await this.db.selectFrom("revisions").select("id").where("collection", "=", collection).where("entry_id", "=", entryId).orderBy("created_at", "desc").orderBy("id", "desc").limit(keepCount).execute();
|
|
83
|
+
const keepIds = new Set(keep.map((r) => r.id));
|
|
84
|
+
if (keepIds.size === 0) return 0;
|
|
85
|
+
if (await this.db.selectFrom("_dineway_collections").select("slug").where("slug", "=", collection).executeTakeFirst()) {
|
|
86
|
+
validateIdentifier(collection, "collection slug");
|
|
87
|
+
const tableName = `ec_${collection}`;
|
|
88
|
+
const row = (await sql`
|
|
89
|
+
SELECT live_revision_id, draft_revision_id
|
|
90
|
+
FROM ${sql.ref(tableName)}
|
|
91
|
+
WHERE id = ${entryId}
|
|
92
|
+
`.execute(this.db)).rows[0];
|
|
93
|
+
if (row?.live_revision_id) keepIds.add(row.live_revision_id);
|
|
94
|
+
if (row?.draft_revision_id) keepIds.add(row.draft_revision_id);
|
|
95
|
+
}
|
|
96
|
+
const result = await this.db.deleteFrom("revisions").where("collection", "=", collection).where("entry_id", "=", entryId).where("id", "not in", [...keepIds]).executeTakeFirst();
|
|
84
97
|
return Number(result.numDeletedRows ?? 0);
|
|
85
98
|
}
|
|
86
99
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { r as isI18nEnabled } from "./config-CVssduLe.mjs";
|
|
3
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
4
|
-
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-
|
|
3
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-al8YMHdF.mjs";
|
|
4
|
+
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-BdkWx1oD.mjs";
|
|
5
5
|
import { t as withTransaction } from "./transaction-Chz7SBGr.mjs";
|
|
6
6
|
import { n as normalizeMime } from "./mime-C0vOHFm7.mjs";
|
|
7
7
|
import { n as hashString } from "./hash-mxxx2oPW.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-
|
|
2
|
-
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-
|
|
1
|
+
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-BSw2bNdG.mjs";
|
|
2
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-DiJir0Ev.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as validateJsonFieldName } from "./validate-VPnKoIzW.mjs";
|
|
2
2
|
import { c as jsonExtractExpr } from "./dialect-helpers-fk43GbDb.mjs";
|
|
3
|
-
import { i as encodeCursor, r as decodeCursor } from "./types-
|
|
4
|
-
import { t as ContentRepository } from "./content-
|
|
5
|
-
import { t as MediaRepository } from "./media-
|
|
6
|
-
import { t as UserRepository } from "./user-
|
|
3
|
+
import { i as encodeCursor, r as decodeCursor } from "./types-al8YMHdF.mjs";
|
|
4
|
+
import { t as ContentRepository } from "./content-Bturdi4b.mjs";
|
|
5
|
+
import { t as MediaRepository } from "./media-BXbOL8xv.mjs";
|
|
6
|
+
import { t as UserRepository } from "./user-Ldseid1x.mjs";
|
|
7
7
|
import { t as OptionsRepository } from "./options-DQPTH5n0.mjs";
|
|
8
8
|
import { t as withTransaction } from "./transaction-Chz7SBGr.mjs";
|
|
9
9
|
import { t as enrichImageMetadata } from "./enrich-Ck9tfMqe.mjs";
|
|
10
|
-
import { t as SeoRepository } from "./seo-
|
|
11
|
-
import { a as markContentMediaUsageCollectionStaleSafely } from "./content-refresh-
|
|
10
|
+
import { t as SeoRepository } from "./seo-BasNtS3J.mjs";
|
|
11
|
+
import { a as markContentMediaUsageCollectionStaleSafely } from "./content-refresh-C4YoqoNs.mjs";
|
|
12
12
|
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-BZHvtFEv.mjs";
|
|
13
13
|
import { t as CronAccessImpl } from "./cron-D_c3WUPN.mjs";
|
|
14
14
|
import { sql } from "kysely";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as resolveActorIdentity } from "./actor-DA7yL9Yp.mjs";
|
|
2
|
-
import { p as logSiteActivitySafely } from "./activity-events-
|
|
2
|
+
import { p as logSiteActivitySafely } from "./activity-events-iGYnf7TK.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/context-route-helpers.ts
|
|
5
5
|
function resolveContextRouteActor(locals) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
2
|
-
import { t as ContentRepository } from "./content-
|
|
3
|
-
import { t as MediaRepository } from "./media-
|
|
4
|
-
import { t as UserRepository } from "./user-
|
|
5
|
-
import { t as ReviewRequestRepository } from "./review-requests-
|
|
2
|
+
import { t as ContentRepository } from "./content-Bturdi4b.mjs";
|
|
3
|
+
import { t as MediaRepository } from "./media-BXbOL8xv.mjs";
|
|
4
|
+
import { t as UserRepository } from "./user-Ldseid1x.mjs";
|
|
5
|
+
import { t as ReviewRequestRepository } from "./review-requests-B9NfBTCJ.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
|
|
8
8
|
//#region src/api/handlers/dashboard.ts
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-
|
|
1
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-BE1taNgj.mjs";
|
|
2
2
|
import "../dialect-helpers-fk43GbDb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/db/adapters.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-BE1taNgj.mjs";
|
|
2
2
|
import { getRequestContext } from "./request-context.mjs";
|
|
3
3
|
import { t as after } from "./after-BfniwgIf.mjs";
|
|
4
4
|
import { r as requestCached } from "./request-cache-CBFjCwSt.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __exportAll } from "./runner-
|
|
1
|
+
import { a as __exportAll } from "./runner-BE1taNgj.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
3
3
|
import { s as isSqlite, u as tableExists } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { sql } from "kysely";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as HitlRequestService } from "./site-context-
|
|
1
|
+
import { b as HitlRequestService } from "./site-context-BSw2bNdG.mjs";
|
|
2
2
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CgO73K4e.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/hitl-requests.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as WorkflowHitlCoordinator } from "./site-context-
|
|
1
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-BSw2bNdG.mjs";
|
|
2
2
|
import { t as apiError } from "./error-BW9f_ynq.mjs";
|
|
3
3
|
import { n as resolveActorIdentity } from "./actor-DA7yL9Yp.mjs";
|
|
4
|
-
import { p as logSiteActivitySafely } from "./activity-events-
|
|
4
|
+
import { p as logSiteActivitySafely } from "./activity-events-iGYnf7TK.mjs";
|
|
5
5
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CgO73K4e.mjs";
|
|
6
6
|
import { Role } from "@dineway-ai/auth";
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as slugify } from "./slugify-KSsVD_D3.mjs";
|
|
2
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
2
|
+
import { t as TaxonomyRepository } from "./taxonomy-C-Aqi1cF.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "./options-DQPTH5n0.mjs";
|
|
4
|
-
import { o as invalidateSiteSettingsCache } from "./settings-
|
|
4
|
+
import { o as invalidateSiteSettingsCache } from "./settings-DcwHL9mx.mjs";
|
|
5
5
|
import { i as resolveLocaleChain } from "./resolve-B6BpqwAR.mjs";
|
|
6
|
-
import { l as invalidateTermCache } from "./taxonomies-
|
|
6
|
+
import { l as invalidateTermCache } from "./taxonomies-B5jTGXEC.mjs";
|
|
7
7
|
import { n as parseWxrString } from "./parser-DX_c5iG3.mjs";
|
|
8
8
|
import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-BZHvtFEv.mjs";
|
|
9
9
|
import { _ as sanitizeFieldSlug, a as getFilenameFromUrl, c as isInternalMetaKey, d as mapMetaKeyToField, f as mapPostTypeToCollection, h as relativizeContentLinks, i as checkSchemaCompatibility, l as isInternalPostType, m as normalizeUrl$1, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as mapWpStatus, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as isPluginBookkeepingMeta } from "./utils-B7gemXz5.mjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as UpdateFieldInput, a as ColumnType, d as FieldType, f as FieldValidation, g as UpdateCollectionInput, h as RESERVED_FIELD_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as RESERVED_COLLECTION_SLUGS, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field } from "./types-ywmuDETA.mjs";
|
|
2
2
|
import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, m as encodeCursor, n as ContentBylineCredit, o as ContentSeoInput, p as decodeCursor, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-GtwhHAg8.mjs";
|
|
3
|
-
import { $ as PluginMcpCommandTool, $a as handleMediaUpdate, $i as getEditMeta, $n as getComments, $o as FieldDefinition, $r as ValidatedPluginManifest, $s as ListResponse, $t as getSearchStats, A as MediaUploadEvent, Aa as PortableTextSpan, Ai as invalidateBylineObjectCache, An as getTerm, Ao as handleContentAuthors, Ar as AssignmentService, As as ContentRepository, At as StandardHookEntry, B as PluginActor, Ba as Section, Bi as CacheHint, Bn as getMenu, Bo as handleContentList, Br as PublicationReleasePolicyDisposition, Bt as PublicationPolicyOverride, C as FieldWidgetConfig, Ca as portableTextToProsemirror, Ci as getI18nConfig, Cn as WidgetComponentDef, Co as PluginMcpTargetAuthorizer, Cr as VerifyPreviewTokenResult, Cs as SiteActivitySourceType, Ct as PortableTextBlockField, D as KVAccess, Da as PortableTextImageBlock, Di as cachedQuery, Dn as getTaxonomyDef, Dr as AssignmentAccessContext, Ds as CreateMediaInput, Dt as ResolvedPluginHooks, E as HttpAccess, Ea as PortableTextHtmlBlock, Ei as CachedQueryOptions, En as getEntryTerms, Er as verifyPreviewToken, Es as RevisionRepository, Et as ResolvedPlugin, F as PageMetadataContribution, Fa as ProseMirrorNode, Fi as invalidateSchemaObjectCache, Fn as TaxonomyTermRow, Fo as handleContentDelete, Fr as CreateHandoffSnapshotInput, Fs as WhereValue, Ft as StorageCollection, G as PluginAuthMethod, Ga as SchemaError, Gi as EditFieldMeta, Gn as MenuItem, Go as handleContentSchedule, Gr as SandboxNotAvailableError, H as PluginAdminConfig, Ha as UpdateSectionInput, Hi as CollectionResult, Hn as CreateMenuInput, Ho as handleContentPermanentDelete, Hr as NodeSandboxRunner, Ht as PublicationReadinessPolicyBlocker, I as PageMetadataEvent, Ia as getSection, Ii as invalidateTaxonomyObjectCache, In as UpdateTermInput, Io as handleContentDiscardDraft, Ir as HandoffSnapshot, J as PluginDefinition, Ja as MediaResponse, Ji as ResolvePathResult, Jn as UpdateMenuInput, Jo as handleContentUnschedule, Jr as createPluginManager, Jt as PublicationReleasePolicy, K as PluginCapability, Ka as SchemaRegistry, Ki as EntryResult, Kn as MenuItemType, Ko as handleContentTranslations, Kr as createNoopSandboxRunner, Kt as PublicationReadinessWarning, L as PageMetadataHandler, La as getSections, Li as isObjectCacheActive, Ln as getByline, Lo as handleContentDuplicate, Ls as getDb, Lt as StoredComment, M as PageFragmentContribution, Ma as PortableTextUnknownBlock, Mi as invalidateCommentObjectCache, Mn as CreateTermInput, Mo as handleContentCountScheduled, Mr as HandoffResumeResult, Ms as EntryData, Mt as StandardPluginDefinition, N as PageFragmentEvent, Na as ProseMirrorDocument, Ni as invalidateMenuObjectCache, Nn as TaxonomyDef, No as handleContentCountTrashed, Nr as HandoffSnapshotStore, Ns as EntryFilter, Nt as StandardRouteEntry, O as LogAccess, Oa as PortableTextLinkMark, Oi as contentNamespace, On as getTaxonomyDefs, Or as AssignmentActionInput, Os as MediaItem, Ot as ResolvedPluginMcpConfig, P as PageFragmentHandler, Pa as ProseMirrorMark, Pi as invalidateObjectCache, Pn as TaxonomyTerm, Po as handleContentCreate, Pr as ResumeHandoffSnapshotInput, Ps as WhereRange, Pt as StandardRouteHandler, Q as PluginMcpCommandPreview, Qa as handleMediaList, Qi as getDinewayEntry, Qn as getCommentCount, Qo as image, Qr as PluginSecretStoreOptions, Qs as FieldDescriptor, Qt as extractSearchableFields, Ra as CreateSectionInput, Ri as AfterCallback, Rn as getBylineBySlug, Ro as handleContentGet, Rr as BuiltContentReleasePayload, Rs as DatabaseConfig, Rt as isStandardPluginDefinition, S as EmailMessage, Sa as hashString, Si as getFallbackChain, Sn as WidgetArea, Sr as VerifyPreviewTokenOptions, Ss as SiteActivityResultStatus, St as PortableTextBlockConfig, T as HookName, Ta as PortableTextCodeBlock, Ti as CacheNamespace, Tn as getEntriesByTerm, To as PluginDescriptor, Tr as parseContentId, Tt as ResolvedHook, U as PluginAdminExports, Ua as validateContent, Ui as ContentEntry, Un as CreateMenuItemInput, Uo as handleContentPublish, Ur as createNodeSandboxRunner, Ut as PublicationReadinessPolicyFinding, V as PluginActorType, Va as SectionSource, Vi as CollectionFilter, Vn as getMenus, Vo as handleContentListTrashed, Vr as buildStableActionHash, Vt as PublicationReadinessBlocker, W as PluginAdminPage, Wa as getCollectionInfo, Wi as DinewayCollections, Wn as Menu, Wo as handleContentRestore, Wr as NoopSandboxRunner, Wt as PublicationReadinessPolicyTarget, X as PluginManifest, Xa as handleMediaDelete, Xi as TranslationsResult, Xn as GetCommentsOptions, Xo as portableText, Xr as PluginSecretStatus, Xs as ContentListResponse, Xt as currentTimestamp, Y as PluginHooks, Ya as handleMediaCreate, Yi as TranslationSummary, Yn as UpdateMenuItemInput, Yo as handleContentUpdate, Yr as createReviewedPluginMcpCommandExecutor, Ys as ApiContext, Yt as PublicationReleasePreparationTarget, Z as PluginMcpAuthorization, Za as handleMediaGet, Zi as getDinewayCollection, Zn as GetCommentsResult, Zo as reference, Zr as PluginSecretStore, Zs as ContentResponse, Zt as extractPlainText, _ as EmailAfterSendHandler, _a as RateLimitResult, _i as defaultPreviewSidecarClient, _n as CreateWidgetInput, _o as SandboxOptions, _r as GetPreviewUrlOptions, _s as MarkAssignmentsOverdueInput, _t as PluginRouteTargetAuthorizationRequest, a as CommentAfterModerateEvent, aa as createEditable, ai as FileSessionDatabaseFactory, an as CollectionSearchOptions, ao as generateManifest, ar as PreviewToolbarConfig, as as CreateRelationInput, at as PluginMcpResource, b as EmailDeliverEvent, ba as sanitizeHref, bi as verifyPreviewSignature, bn as UpdateWidgetInput, bo as SandboxedPlugin, br as GeneratePreviewTokenOptions, bs as SiteActivityActorType, bt as PluginStorageConfig, c as CommentBeforeCreateHandler, ca as GuestAccessTokenClaims, ci as SessionDatabaseFactory, cn as SearchResponse, co as SiteBriefingContextEntry, cr as ApplySnapshotToDatabaseOptions, cs as UpdateRelationInput, ct as PluginMcpRiskFactor, d as ContentAccess, da as IssuedGuestAccessToken, di as SessionDatabaseLimitError, dn as SuggestOptions, dr as getAppliedSnapshotMeta, ds as AssignmentActorType, dt as PluginMigration, ea as getTranslations, ec as ManifestResponse, ei as pluginManifestSchema, en as getSuggestions, eo as RevisionListResponse, er as getPluginSetting, es as FieldUIHints, et as PluginMcpConfig, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenOptions, fi as SessionOpenOptions, fn as Suggestion, fo as HookPipeline, fr as Snapshot, fs as AssignmentListQuery, ft as PluginRoute, g as EmailAfterSendEvent, ga as verifyGuestAccessToken, gi as buildPreviewSignatureHeader, gn as CreateWidgetAreaInput, go as SandboxEmailSendCallback, gr as isPreviewRequest, gs as CreateAssignmentInput, gt as PluginRouteMethod, h as EmailAccess, ha as issueGuestAccessToken, hi as PreviewSidecarSignature, hn as getWidgetComponents, ho as SandboxEmailMessage, hr as getPreviewToken, hs as AssignmentStatus, ht as PluginRouteBodyMode, i as CommentAfterCreateHandler, ia as FieldAnnotation, ii as createFilePreviewMiddleware, in as FTSManager, io as handleRevisionRestore, ir as setSiteSettings, is as ContentReference, it as PluginMcpQueryTool, j as ModerationDecision, ja as PortableTextTextBlock, ji as invalidateCollectionCache, jn as getTermsForEntries, jo as handleContentCompare, jr as CreateWorkflowAssignmentInput, js as CollectionFilter$1, jt as StandardHookHandler, k as MediaAccess, ka as PortableTextMarkDef, ki as contentNamespaces, kn as getTaxonomyTerms, kr as AssignmentListInput, ks as MediaRepository, kt as RouteContext, l as CommentModerateEvent, la as GuestAccessTokenConfigurationError, li as SessionDatabaseHandle, ln as SearchResult, lr as applySnapshotToDatabase, ls as Assignment, lt as PluginMcpRiskLevel, m as ContentPublishStateChangeEvent, ma as hashGuestAccessToken, mi as PreviewSidecarClient, mn as getWidgetAreas, mo as createHookPipeline, mr as isBlockedInPreview, ms as AssignmentRepository, mt as PluginRouteAuthorization, n as CollectionCommentSettings, na as CMSAnnotation, ni as definePlugin, nn as searchCollection, no as handleRevisionGet, nr as getSiteSetting, ns as ImageValue, nt as PluginMcpPiiClass, o as CommentAfterModerateHandler, oa as createNoop, oi as FileSessionDatabaseFactoryOptions, on as SearchConfig, oo as SiteBriefing, or as renderPreviewToolbar, os as Relation, ot as PluginMcpResourceContent, p as ContentHookEvent, pa as VerifyGuestAccessTokenResult, pi as SessionOpenOrCreateOptions, pn as getWidgetArea, po as HookResult, pr as renderPreviewLoadingPage, ps as AssignmentPriority, q as PluginContext, qa as MediaListResponse, qi as InferCollectionData, qn as ReorderMenuItemsInput, qo as handleContentUnpublish, qr as PluginManager, r as CommentAfterCreateEvent, ra as EditProxy, ri as FilePreviewMiddlewareConfig, rn as searchWithDb, ro as handleRevisionList, rr as getSiteSettings, rs as PortableTextBlock, rt as PluginMcpPiiPolicy, s as CommentBeforeCreateEvent, sa as GuestAccessExpectedScope, si as SessionCleanupResult, sn as SearchOptions, so as SiteBriefingAssembler, sr as AppliedSnapshotMeta, ss as RelationRepository, st as PluginMcpReversibility, t as BreadcrumbItem, ta as resolveDinewayPath, ti as runPluginMigrations, tn as search, to as RevisionResponse, tr as getPluginSettings, ts as FileValue, tt as PluginMcpExecutionContext, u as CommentModerateHandler, ua as IssueGuestAccessTokenOptions, ui as SessionDatabaseInfo, un as SearchStats, uo as PluginRouteError, ur as dropSessionDatabaseTables, us as AssignmentActorRef, ut as PluginMcpTool, v as EmailBeforeSendEvent, va as checkRateLimit, vi as parsePreviewSignatureHeader, vn as PropDef, vo as SandboxRunner, vr as buildPreviewUrl, vs as CreateSiteActivityInput, vt as PluginRouteTargetAuthorizer, w as HookConfig, wa as prosemirrorToPortableText, wi as isI18nEnabled, wn as WidgetType, wr as generatePreviewToken, ws as SiteActivityTimelineQuery, wt as PublicPageContext, x as EmailDeliverHandler, xa as computeContentHash, xi as I18nConfig, xn as Widget, xo as SerializedRequest, xr as PreviewTokenPayload, xs as SiteActivityRepository, xt as PluginTargetScope, y as EmailBeforeSendHandler, ya as isSafeHref, yi as signPreviewUrl, yn as ReorderWidgetsInput, yo as SandboxRunnerFactory, yr as getPreviewUrl, ys as SiteActivity, yt as PluginRouteTargetContext, z as PagePlacement, za as GetSectionsOptions, zi as after, zn as getEntriesByByline, zo as handleContentGetIncludingTrashed, zr as PublicationReleasePolicyContribution, zs as DinewayDatabaseError } from "./types-J6fPXKMq.mjs";
|
|
3
|
+
import { $ as PluginMcpCommandTool, $a as handleMediaUpdate, $i as getEditMeta, $n as getComments, $o as FieldDefinition, $r as ValidatedPluginManifest, $s as ListResponse, $t as getSearchStats, A as MediaUploadEvent, Aa as PortableTextSpan, Ai as invalidateBylineObjectCache, An as getTerm, Ao as handleContentAuthors, Ar as AssignmentService, As as ContentRepository, At as StandardHookEntry, B as PluginActor, Ba as Section, Bi as CacheHint, Bn as getMenu, Bo as handleContentList, Br as PublicationReleasePolicyDisposition, Bt as PublicationPolicyOverride, C as FieldWidgetConfig, Ca as portableTextToProsemirror, Ci as getI18nConfig, Cn as WidgetComponentDef, Co as PluginMcpTargetAuthorizer, Cr as VerifyPreviewTokenResult, Cs as SiteActivitySourceType, Ct as PortableTextBlockField, D as KVAccess, Da as PortableTextImageBlock, Di as cachedQuery, Dn as getTaxonomyDef, Dr as AssignmentAccessContext, Ds as CreateMediaInput, Dt as ResolvedPluginHooks, E as HttpAccess, Ea as PortableTextHtmlBlock, Ei as CachedQueryOptions, En as getEntryTerms, Er as verifyPreviewToken, Es as RevisionRepository, Et as ResolvedPlugin, F as PageMetadataContribution, Fa as ProseMirrorNode, Fi as invalidateSchemaObjectCache, Fn as TaxonomyTermRow, Fo as handleContentDelete, Fr as CreateHandoffSnapshotInput, Fs as WhereValue, Ft as StorageCollection, G as PluginAuthMethod, Ga as SchemaError, Gi as EditFieldMeta, Gn as MenuItem, Go as handleContentSchedule, Gr as SandboxNotAvailableError, H as PluginAdminConfig, Ha as UpdateSectionInput, Hi as CollectionResult, Hn as CreateMenuInput, Ho as handleContentPermanentDelete, Hr as NodeSandboxRunner, Ht as PublicationReadinessPolicyBlocker, I as PageMetadataEvent, Ia as getSection, Ii as invalidateTaxonomyObjectCache, In as UpdateTermInput, Io as handleContentDiscardDraft, Ir as HandoffSnapshot, J as PluginDefinition, Ja as MediaResponse, Ji as ResolvePathResult, Jn as UpdateMenuInput, Jo as handleContentUnschedule, Jr as createPluginManager, Jt as PublicationReleasePolicy, K as PluginCapability, Ka as SchemaRegistry, Ki as EntryResult, Kn as MenuItemType, Ko as handleContentTranslations, Kr as createNoopSandboxRunner, Kt as PublicationReadinessWarning, L as PageMetadataHandler, La as getSections, Li as isObjectCacheActive, Ln as getByline, Lo as handleContentDuplicate, Ls as getDb, Lt as StoredComment, M as PageFragmentContribution, Ma as PortableTextUnknownBlock, Mi as invalidateCommentObjectCache, Mn as CreateTermInput, Mo as handleContentCountScheduled, Mr as HandoffResumeResult, Ms as EntryData, Mt as StandardPluginDefinition, N as PageFragmentEvent, Na as ProseMirrorDocument, Ni as invalidateMenuObjectCache, Nn as TaxonomyDef, No as handleContentCountTrashed, Nr as HandoffSnapshotStore, Ns as EntryFilter, Nt as StandardRouteEntry, O as LogAccess, Oa as PortableTextLinkMark, Oi as contentNamespace, On as getTaxonomyDefs, Or as AssignmentActionInput, Os as MediaItem, Ot as ResolvedPluginMcpConfig, P as PageFragmentHandler, Pa as ProseMirrorMark, Pi as invalidateObjectCache, Pn as TaxonomyTerm, Po as handleContentCreate, Pr as ResumeHandoffSnapshotInput, Ps as WhereRange, Pt as StandardRouteHandler, Q as PluginMcpCommandPreview, Qa as handleMediaList, Qi as getDinewayEntry, Qn as getCommentCount, Qo as image, Qr as PluginSecretStoreOptions, Qs as FieldDescriptor, Qt as extractSearchableFields, Ra as CreateSectionInput, Ri as AfterCallback, Rn as getBylineBySlug, Ro as handleContentGet, Rr as BuiltContentReleasePayload, Rs as DatabaseConfig, Rt as isStandardPluginDefinition, S as EmailMessage, Sa as hashString, Si as getFallbackChain, Sn as WidgetArea, Sr as VerifyPreviewTokenOptions, Ss as SiteActivityResultStatus, St as PortableTextBlockConfig, T as HookName, Ta as PortableTextCodeBlock, Ti as CacheNamespace, Tn as getEntriesByTerm, To as PluginDescriptor, Tr as parseContentId, Tt as ResolvedHook, U as PluginAdminExports, Ua as validateContent, Ui as ContentEntry, Un as CreateMenuItemInput, Uo as handleContentPublish, Ur as createNodeSandboxRunner, Ut as PublicationReadinessPolicyFinding, V as PluginActorType, Va as SectionSource, Vi as CollectionFilter, Vn as getMenus, Vo as handleContentListTrashed, Vr as buildStableActionHash, Vt as PublicationReadinessBlocker, W as PluginAdminPage, Wa as getCollectionInfo, Wi as DinewayCollections, Wn as Menu, Wo as handleContentRestore, Wr as NoopSandboxRunner, Wt as PublicationReadinessPolicyTarget, X as PluginManifest, Xa as handleMediaDelete, Xi as TranslationsResult, Xn as GetCommentsOptions, Xo as portableText, Xr as PluginSecretStatus, Xs as ContentListResponse, Xt as currentTimestamp, Y as PluginHooks, Ya as handleMediaCreate, Yi as TranslationSummary, Yn as UpdateMenuItemInput, Yo as handleContentUpdate, Yr as createReviewedPluginMcpCommandExecutor, Ys as ApiContext, Yt as PublicationReleasePreparationTarget, Z as PluginMcpAuthorization, Za as handleMediaGet, Zi as getDinewayCollection, Zn as GetCommentsResult, Zo as reference, Zr as PluginSecretStore, Zs as ContentResponse, Zt as extractPlainText, _ as EmailAfterSendHandler, _a as RateLimitResult, _i as defaultPreviewSidecarClient, _n as CreateWidgetInput, _o as SandboxOptions, _r as GetPreviewUrlOptions, _s as MarkAssignmentsOverdueInput, _t as PluginRouteTargetAuthorizationRequest, a as CommentAfterModerateEvent, aa as createEditable, ai as FileSessionDatabaseFactory, an as CollectionSearchOptions, ao as generateManifest, ar as PreviewToolbarConfig, as as CreateRelationInput, at as PluginMcpResource, b as EmailDeliverEvent, ba as sanitizeHref, bi as verifyPreviewSignature, bn as UpdateWidgetInput, bo as SandboxedPlugin, br as GeneratePreviewTokenOptions, bs as SiteActivityActorType, bt as PluginStorageConfig, c as CommentBeforeCreateHandler, ca as GuestAccessTokenClaims, ci as SessionDatabaseFactory, cn as SearchResponse, co as SiteBriefingContextEntry, cr as ApplySnapshotToDatabaseOptions, cs as UpdateRelationInput, ct as PluginMcpRiskFactor, d as ContentAccess, da as IssuedGuestAccessToken, di as SessionDatabaseLimitError, dn as SuggestOptions, dr as getAppliedSnapshotMeta, ds as AssignmentActorType, dt as PluginMigration, ea as getTranslations, ec as ManifestResponse, ei as pluginManifestSchema, en as getSuggestions, eo as RevisionListResponse, er as getPluginSetting, es as FieldUIHints, et as PluginMcpConfig, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenOptions, fi as SessionOpenOptions, fn as Suggestion, fo as HookPipeline, fr as Snapshot, fs as AssignmentListQuery, ft as PluginRoute, g as EmailAfterSendEvent, ga as verifyGuestAccessToken, gi as buildPreviewSignatureHeader, gn as CreateWidgetAreaInput, go as SandboxEmailSendCallback, gr as isPreviewRequest, gs as CreateAssignmentInput, gt as PluginRouteMethod, h as EmailAccess, ha as issueGuestAccessToken, hi as PreviewSidecarSignature, hn as getWidgetComponents, ho as SandboxEmailMessage, hr as getPreviewToken, hs as AssignmentStatus, ht as PluginRouteBodyMode, i as CommentAfterCreateHandler, ia as FieldAnnotation, ii as createFilePreviewMiddleware, in as FTSManager, io as handleRevisionRestore, ir as setSiteSettings, is as ContentReference, it as PluginMcpQueryTool, j as ModerationDecision, ja as PortableTextTextBlock, ji as invalidateCollectionCache, jn as getTermsForEntries, jo as handleContentCompare, jr as CreateWorkflowAssignmentInput, js as CollectionFilter$1, jt as StandardHookHandler, k as MediaAccess, ka as PortableTextMarkDef, ki as contentNamespaces, kn as getTaxonomyTerms, kr as AssignmentListInput, ks as MediaRepository, kt as RouteContext, l as CommentModerateEvent, la as GuestAccessTokenConfigurationError, li as SessionDatabaseHandle, ln as SearchResult, lr as applySnapshotToDatabase, ls as Assignment, lt as PluginMcpRiskLevel, m as ContentPublishStateChangeEvent, ma as hashGuestAccessToken, mi as PreviewSidecarClient, mn as getWidgetAreas, mo as createHookPipeline, mr as isBlockedInPreview, ms as AssignmentRepository, mt as PluginRouteAuthorization, n as CollectionCommentSettings, na as CMSAnnotation, ni as definePlugin, nn as searchCollection, no as handleRevisionGet, nr as getSiteSetting, ns as ImageValue, nt as PluginMcpPiiClass, o as CommentAfterModerateHandler, oa as createNoop, oi as FileSessionDatabaseFactoryOptions, on as SearchConfig, oo as SiteBriefing, or as renderPreviewToolbar, os as Relation, ot as PluginMcpResourceContent, p as ContentHookEvent, pa as VerifyGuestAccessTokenResult, pi as SessionOpenOrCreateOptions, pn as getWidgetArea, po as HookResult, pr as renderPreviewLoadingPage, ps as AssignmentPriority, q as PluginContext, qa as MediaListResponse, qi as InferCollectionData, qn as ReorderMenuItemsInput, qo as handleContentUnpublish, qr as PluginManager, r as CommentAfterCreateEvent, ra as EditProxy, ri as FilePreviewMiddlewareConfig, rn as searchWithDb, ro as handleRevisionList, rr as getSiteSettings, rs as PortableTextBlock, rt as PluginMcpPiiPolicy, s as CommentBeforeCreateEvent, sa as GuestAccessExpectedScope, si as SessionCleanupResult, sn as SearchOptions, so as SiteBriefingAssembler, sr as AppliedSnapshotMeta, ss as RelationRepository, st as PluginMcpReversibility, t as BreadcrumbItem, ta as resolveDinewayPath, ti as runPluginMigrations, tn as search, to as RevisionResponse, tr as getPluginSettings, ts as FileValue, tt as PluginMcpExecutionContext, u as CommentModerateHandler, ua as IssueGuestAccessTokenOptions, ui as SessionDatabaseInfo, un as SearchStats, uo as PluginRouteError, ur as dropSessionDatabaseTables, us as AssignmentActorRef, ut as PluginMcpTool, v as EmailBeforeSendEvent, va as checkRateLimit, vi as parsePreviewSignatureHeader, vn as PropDef, vo as SandboxRunner, vr as buildPreviewUrl, vs as CreateSiteActivityInput, vt as PluginRouteTargetAuthorizer, w as HookConfig, wa as prosemirrorToPortableText, wi as isI18nEnabled, wn as WidgetType, wr as generatePreviewToken, ws as SiteActivityTimelineQuery, wt as PublicPageContext, x as EmailDeliverHandler, xa as computeContentHash, xi as I18nConfig, xn as Widget, xo as SerializedRequest, xr as PreviewTokenPayload, xs as SiteActivityRepository, xt as PluginTargetScope, y as EmailBeforeSendHandler, ya as isSafeHref, yi as signPreviewUrl, yn as ReorderWidgetsInput, yo as SandboxRunnerFactory, yr as getPreviewUrl, ys as SiteActivity, yt as PluginRouteTargetContext, z as PagePlacement, za as GetSectionsOptions, zi as after, zn as getEntriesByByline, zo as handleContentGetIncludingTrashed, zr as PublicationReleasePolicyContribution, zs as DinewayDatabaseError } from "./types-CnuliyMS.mjs";
|
|
4
4
|
import { $ as RestaurantReservationExperienceTable, $t as VenuePaymentStatus, A as RestaurantOperatingSettingsTable, At as VenueAvailabilityRuleTable, B as RestaurantPaymentFlow, Bt as VenueLocationTable, C as RestaurantMenuOverrideTable, Ct as RestaurantSpecialHoursTable, D as RestaurantModifierGroupTable, Dt as RestaurantZoneTable, E as RestaurantMenuTable, Et as RestaurantTaxMode, F as RestaurantOrderSource, Ft as VenueCancellationPolicyTierTable, G as RestaurantPriorityAlertTable, Gt as VenueOrderStatusHistoryTable, H as RestaurantPaymentTable, Ht as VenueNotificationSettingsTable, I as RestaurantOrderStatus, It as VenueConversationReadTable, J as RestaurantReservationAddonTable, Jt as VenuePaymentAllocationStatus, K as RestaurantRefundTable, Kt as VenueOrderTable, L as RestaurantOrderStatusHistoryTable, Lt as VenueConversationTable, M as RestaurantOrderItemTable, Mt as VenueBookingMode, N as RestaurantOrderSequenceTable, Nt as VenueBookingPolicyTable, O as RestaurantModifierOptionTable, Ot as UserTable, P as RestaurantOrderSnapshotTable, Pt as VenueCancellationPolicyTable, Q as RestaurantReservationExperienceIncludedAddonTable, Qt as VenuePaymentRecordStatus, R as RestaurantOrderTable, Rt as VenueGuestAccessTable, S as RestaurantMenuLocationAssignmentTable, St as RestaurantServiceScope, T as RestaurantMenuSectionTable, Tt as RestaurantTableTable, U as RestaurantPriorityAlertDeliveryTable, Ut as VenueOrderCancellationSnapshotTable, V as RestaurantPaymentStatus, Vt as VenueMessageTable, W as RestaurantPriorityAlertOpportunityTable, Wt as VenueOrderStatus, X as RestaurantReservationDemandSettingsTable, Xt as VenuePaymentCollection, Y as RestaurantReservationBlockTable, Yt as VenuePaymentAllocationTable, Z as RestaurantReservationExperienceAddonCategoryTable, Zt as VenuePaymentEventTable, _ as RestaurantLocationMembershipTable, _t as RestaurantReservationRequestTableAssignmentTable, a as RestaurantCartHoldTable, an as VenueRatePlanTable, at as RestaurantReservationHoldTable, b as RestaurantMenuItemTable, bt as RestaurantReservationTable, c as RestaurantDeliveryZoneTable, cn as VenueReviewInvitationTable, ct as RestaurantReservationOfferTable, d as RestaurantFulfilmentType, dn as VenueSpaceLayoutTable, dt as RestaurantReservationPromotionOperationTable, en as VenuePaymentTable, et as RestaurantReservationGiftCardAllocationTable, f as RestaurantGiftCardLedgerEntryTable, fn as VenueSpaceTable, ft as RestaurantReservationPromotionTable, g as RestaurantHoursTable, gt as RestaurantReservationRequestTable, h as RestaurantHoursOverrideTable, ht as RestaurantReservationQuoteTable, i as RestaurantCapacityOverrideTable, in as VenueQuoteTable, it as RestaurantReservationHoldCommercialSelectionTable, j as RestaurantOrderItemModifierTable, jt as VenueBookingHoldTable, k as RestaurantNotificationSettingsTable, kt as VenueAvailabilityBlockTable, l as RestaurantDineInSessionTable, ln as VenueReviewResponseTable, lt as RestaurantReservationPaymentPolicyTable, m as RestaurantGuestAccessTable, mt as RestaurantReservationQuoteLineTable, n as MediaTable, nn as VenueQuoteRecordStatus, nt as RestaurantReservationHoldAddonOperationTable, o as RestaurantClosureTable, on as VenueRecordStatus, ot as RestaurantReservationLanguageSettingsTable, p as RestaurantGiftCardTable, pn as VenueTable, pt as RestaurantReservationQuoteCheckoutTable, q as RestaurantReservationAddonCategoryTable, qt as VenueOutboxEventTable, r as RestaurantCapacityCounterTable, rn as VenueQuoteStatus, rt as RestaurantReservationHoldAddonTable, s as RestaurantDeliverySettingsTable, sn as VenueRefundTable, st as RestaurantReservationOfferLinkDeliveryTable, t as Database, tn as VenueQuoteLineTable, tt as RestaurantReservationGiftCardOperationTable, u as RestaurantDineInSettingsTable, un as VenueReviewTable, ut as RestaurantReservationPromotionAllocationTable, v as RestaurantLocationTable, vt as RestaurantReservationSettingsTable, w as RestaurantMenuSectionItemTable, wt as RestaurantTabRoundTable, x as RestaurantMenuItemTranslationTable, xt as RestaurantReservationTableAssignmentTable, y as RestaurantMenuItemModifierGroupTable, yt as RestaurantReservationStatus, z as RestaurantOutboxDeliveryTable, zt as VenueLocationMembershipTable } from "./types-BFeoAIHl.mjs";
|
|
5
5
|
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-C6ZjZcmJ.mjs";
|
|
6
6
|
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-Bcy5w0vj.mjs";
|
|
@@ -10,7 +10,7 @@ import { a as SqliteConfig, i as PostgresConfig, n as DatabaseDialectType, r as
|
|
|
10
10
|
import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCacheDescriptor } from "./types-CDcuRd4z.mjs";
|
|
11
11
|
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-YxFz4lDr.mjs";
|
|
12
12
|
import { C as SiteSettingKey, S as SeoSettings, _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, w as SiteSettings, x as MediaReference, y as SeedWidgetArea } from "./validate-YiX3rly5.mjs";
|
|
13
|
-
import "./byline-fields-
|
|
13
|
+
import "./byline-fields-DEQ1wcUa.mjs";
|
|
14
14
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
15
15
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
16
16
|
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-BsTXSvKG.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { n as getMigrationStatus } from "./runner-
|
|
1
|
+
import { n as getMigrationStatus } from "./runner-BE1taNgj.mjs";
|
|
2
2
|
import { r as DinewayDatabaseError } from "./connection-CiJWiWya.mjs";
|
|
3
3
|
import { i as currentTimestamp } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-CVssduLe.mjs";
|
|
5
|
-
import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-
|
|
5
|
+
import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-BVSrX4gZ.mjs";
|
|
6
6
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
7
7
|
import "./base64-F8-DUraK.mjs";
|
|
8
|
-
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-
|
|
9
|
-
import { r as getDb } from "./loader-
|
|
8
|
+
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-al8YMHdF.mjs";
|
|
9
|
+
import { r as getDb } from "./loader-DtE00Fml.mjs";
|
|
10
10
|
import { t as after } from "./after-BfniwgIf.mjs";
|
|
11
11
|
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-D51qOseS.mjs";
|
|
12
12
|
import { t as decodeSlug } from "./slugify-KSsVD_D3.mjs";
|
|
13
|
-
import { r as RevisionRepository, t as ContentRepository } from "./content-
|
|
14
|
-
import { t as MediaRepository } from "./media-
|
|
15
|
-
import "./user-
|
|
16
|
-
import "./taxonomy-
|
|
17
|
-
import "./comment-
|
|
13
|
+
import { r as RevisionRepository, t as ContentRepository } from "./content-Bturdi4b.mjs";
|
|
14
|
+
import { t as MediaRepository } from "./media-BXbOL8xv.mjs";
|
|
15
|
+
import "./user-Ldseid1x.mjs";
|
|
16
|
+
import "./taxonomy-C-Aqi1cF.mjs";
|
|
17
|
+
import "./comment-3JihGSh6.mjs";
|
|
18
18
|
import "./options-DQPTH5n0.mjs";
|
|
19
|
-
import "./audit-
|
|
20
|
-
import { t as SiteActivityRepository } from "./site-activity-
|
|
21
|
-
import "./review-requests-
|
|
22
|
-
import "./publication-authorization-
|
|
23
|
-
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-
|
|
24
|
-
import "./context-
|
|
25
|
-
import "./menus-
|
|
26
|
-
import "./redirect-
|
|
19
|
+
import "./audit-DeBteyL4.mjs";
|
|
20
|
+
import { t as SiteActivityRepository } from "./site-activity-QPC-7Vnq.mjs";
|
|
21
|
+
import "./review-requests-B9NfBTCJ.mjs";
|
|
22
|
+
import "./publication-authorization-Dzr05Xx7.mjs";
|
|
23
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-BSw2bNdG.mjs";
|
|
24
|
+
import "./context-CB4PwkM_.mjs";
|
|
25
|
+
import "./menus-DCjNW2e4.mjs";
|
|
26
|
+
import "./redirect-3Zzd0xIN.mjs";
|
|
27
27
|
import "./request-cache-CBFjCwSt.mjs";
|
|
28
28
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-B7TDDFMG.mjs";
|
|
29
29
|
import "./byline-registry-BLgrU3dA.mjs";
|
|
30
|
-
import "./field-defs-cache-
|
|
31
|
-
import { t as BylineRepository } from "./byline-
|
|
30
|
+
import "./field-defs-cache-BGhsaYGT.mjs";
|
|
31
|
+
import { t as BylineRepository } from "./byline-CB0OLcK1.mjs";
|
|
32
32
|
import { n as normalizeMediaValue } from "./normalize-Cyt7JdF7.mjs";
|
|
33
33
|
import { n as generatePlaceholder } from "./enrich-Ck9tfMqe.mjs";
|
|
34
|
-
import "./seo-
|
|
35
|
-
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-
|
|
36
|
-
import "./dashboard-
|
|
37
|
-
import { t as SiteBriefingAssembler } from "./briefing-
|
|
34
|
+
import "./seo-BasNtS3J.mjs";
|
|
35
|
+
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-C8IpJnQ7.mjs";
|
|
36
|
+
import "./dashboard-DP4dxA1S.mjs";
|
|
37
|
+
import { t as SiteBriefingAssembler } from "./briefing-DiJir0Ev.mjs";
|
|
38
38
|
import "./context-types-eBuMDAg-.mjs";
|
|
39
|
-
import "./content-refresh-
|
|
39
|
+
import "./content-refresh-C4YoqoNs.mjs";
|
|
40
40
|
import { n as hashString, t as computeContentHash } from "./hash-mxxx2oPW.mjs";
|
|
41
|
-
import { t as FTSManager } from "./fts-manager-
|
|
42
|
-
import { n as SchemaRegistry, t as SchemaError } from "./registry-
|
|
43
|
-
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-
|
|
44
|
-
import "./briefing-
|
|
41
|
+
import { t as FTSManager } from "./fts-manager-6KClQEs0.mjs";
|
|
42
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-c51Wf_AZ.mjs";
|
|
43
|
+
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-DcwHL9mx.mjs";
|
|
44
|
+
import "./briefing-5Y-NTrWG.mjs";
|
|
45
45
|
import { n as buildStableActionHash } from "./review-payload-BysRWpxS.mjs";
|
|
46
|
-
import "./review-requests-
|
|
47
|
-
import { t as getCollectionInfo } from "./query-
|
|
48
|
-
import { r as validateContent } from "./zod-generator-
|
|
49
|
-
import "./schema-
|
|
46
|
+
import "./review-requests-eQbhj62T.mjs";
|
|
47
|
+
import { t as getCollectionInfo } from "./query-BnxjGFfS.mjs";
|
|
48
|
+
import { r as validateContent } from "./zod-generator-BGSszwCw.mjs";
|
|
49
|
+
import "./schema-dGCjdAx9.mjs";
|
|
50
50
|
import "./seo-BLszyJxd.mjs";
|
|
51
|
-
import "./bylines-
|
|
51
|
+
import "./bylines-BDp4-cpl.mjs";
|
|
52
52
|
import "./byline-fields-sE9SQsDR.mjs";
|
|
53
|
-
import { o as getSection, s as getSections } from "./sections-
|
|
54
|
-
import "./settings-
|
|
53
|
+
import { o as getSection, s as getSections } from "./sections-CyXQJaUl.mjs";
|
|
54
|
+
import "./settings-BAFyDIGn.mjs";
|
|
55
55
|
import "./secrets-CpGpyGcO.mjs";
|
|
56
56
|
import "./store-CCfMD6nw.mjs";
|
|
57
57
|
import "./integration-credentials-D3ZneN0L.mjs";
|
|
58
58
|
import "./resolve-B6BpqwAR.mjs";
|
|
59
|
-
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-
|
|
60
|
-
import "./taxonomies-
|
|
59
|
+
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-B5jTGXEC.mjs";
|
|
60
|
+
import "./taxonomies-DkMW6kj5.mjs";
|
|
61
61
|
import { r as isStandardPluginDefinition } from "./types-CK0r-Xq4.mjs";
|
|
62
62
|
import { i as pluginManifestSchema } from "./manifest-schema-DKa3ZaJL.mjs";
|
|
63
63
|
import { t as DinewayStorageError } from "./types-gvNBqijt.mjs";
|
|
@@ -67,7 +67,7 @@ import "./byline-fields-BRUB-Vla.mjs";
|
|
|
67
67
|
import { n as sanitizeHref, t as isSafeHref } from "./url-D282S1Zw.mjs";
|
|
68
68
|
import "./status-BN40hMpr.mjs";
|
|
69
69
|
import { t as checkRateLimit } from "./rate-limit-oUGexQO1.mjs";
|
|
70
|
-
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-
|
|
70
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-DTGsFOQu.mjs";
|
|
71
71
|
import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-dt5fv23q.mjs";
|
|
72
72
|
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-BMIReQGc.mjs";
|
|
73
73
|
import { n as parseWxrString, t as parseWxr } from "./parser-DX_c5iG3.mjs";
|
|
@@ -75,21 +75,21 @@ import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
|
75
75
|
import "./ssrf-BZHvtFEv.mjs";
|
|
76
76
|
import "./cron-D_c3WUPN.mjs";
|
|
77
77
|
import "./api-tokens-D4tcY8R6.mjs";
|
|
78
|
-
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-
|
|
79
|
-
import "./activity-
|
|
80
|
-
import "./activity-events-
|
|
78
|
+
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-DaIhmgOW.mjs";
|
|
79
|
+
import "./activity-Dq9zDvAK.mjs";
|
|
80
|
+
import "./activity-events-iGYnf7TK.mjs";
|
|
81
81
|
import "./utils-B7gemXz5.mjs";
|
|
82
|
-
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-
|
|
83
|
-
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-
|
|
82
|
+
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-BKBSn2Yf.mjs";
|
|
83
|
+
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-CJm91blH.mjs";
|
|
84
84
|
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-DIzhPT80.mjs";
|
|
85
85
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
86
|
-
import "./comment-reaction-
|
|
87
|
-
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-
|
|
88
|
-
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-
|
|
89
|
-
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-
|
|
90
|
-
import { t as validateSeed } from "./validate-
|
|
91
|
-
import { t as applySeed } from "./apply-
|
|
92
|
-
import "./load-
|
|
86
|
+
import "./comment-reaction-BNXm1YHa.mjs";
|
|
87
|
+
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-b1JWwI1Z.mjs";
|
|
88
|
+
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-CMKhrSEg.mjs";
|
|
89
|
+
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-oRtISrJQ.mjs";
|
|
90
|
+
import { t as validateSeed } from "./validate-hHdBXn4U.mjs";
|
|
91
|
+
import { t as applySeed } from "./apply-C0v5UKOI.mjs";
|
|
92
|
+
import "./load-CfFRVQkS.mjs";
|
|
93
93
|
import "./seed/index.mjs";
|
|
94
94
|
import { ulid } from "ulidx";
|
|
95
95
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as PageMetadataContribution, M as PageFragmentContribution, R as PageMetadataLinkRel, t as BreadcrumbItem, wt as PublicPageContext, z as PagePlacement } from "./types-
|
|
1
|
+
import { F as PageMetadataContribution, M as PageFragmentContribution, R as PageMetadataLinkRel, t as BreadcrumbItem, wt as PublicPageContext, z as PagePlacement } from "./types-CnuliyMS.mjs";
|
|
2
2
|
import { S as SeoSettings } from "./validate-YiX3rly5.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|