dineway 0.1.38 → 0.1.40
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 +7 -7
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-r5soQc-k.mjs → api-DHsMtgSK.mjs} +1 -1
- package/dist/astro/index.d.mts +7 -7
- package/dist/astro/index.mjs +7 -1
- package/dist/astro/middleware/auth.d.mts +7 -7
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +1 -1
- package/dist/astro/middleware.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/updates.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +1 -1
- package/dist/astro/routes/api/auth/dev-bypass.mjs +1 -1
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.d.mts +2 -2
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +1 -1
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
- package/dist/astro/routes/api/setup/dev-bypass.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +1 -1
- package/dist/astro/routes/api/snapshot.mjs +1 -0
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/astro/session-driver.d.mts +14 -0
- package/dist/astro/session-driver.mjs +33 -0
- package/dist/astro/types.d.mts +7 -7
- package/dist/{bylines-CzOBMwy1.d.mts → bylines-BnInIxUL.d.mts} +16 -16
- package/dist/cli/index.mjs +1 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +1 -1
- package/dist/{index-CpbixmRL.d.mts → index-BwOO3vu2.d.mts} +1 -1
- package/dist/{index-2tBfB_8X.d.mts → index-Ct0pjZwW.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +7 -7
- package/dist/page/index.d.mts +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +7 -7
- package/dist/{runner-S3smkgdc.mjs → runner-DF2DgD_B.mjs} +191 -177
- package/dist/{runner-pAnQS6iI.d.mts → runner-FhUNNaqA.d.mts} +1 -1
- package/dist/{runtime-BM9sqnzO.d.mts → runtime-yK9bWV13.d.mts} +4 -4
- package/dist/runtime.d.mts +8 -8
- package/dist/seed/index.d.mts +2 -2
- package/dist/{types-B1NksXAb.d.mts → types-C-CMfzSl.d.mts} +6 -0
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/{validate-BzUCAU2a.d.mts → validate-CvQ6cvHH.d.mts} +1 -1
- package/dist/version-BH9FCDRu.mjs +6 -0
- package/package.json +10 -3
- package/dist/version-BBFj5zZe.mjs +0 -6
- /package/dist/{jsonld-BhdZoeR1.d.mts → jsonld-CLbYsYYH.d.mts} +0 -0
- /package/dist/{provider-loader-BaZhx7E3.d.mts → provider-loader-B19YyyBp.d.mts} +0 -0
- /package/dist/{transport-qeWznEPc.d.mts → transport-nNEGdHkI.d.mts} +0 -0
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
/** Valid role level values */
|
|
5
5
|
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
6
|
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
-
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -517,11 +517,11 @@ declare const createCollectionBody: z.ZodObject<{
|
|
|
517
517
|
description: z.ZodOptional<z.ZodString>;
|
|
518
518
|
icon: z.ZodOptional<z.ZodString>;
|
|
519
519
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
520
|
+
search: "search";
|
|
520
521
|
drafts: "drafts";
|
|
521
522
|
revisions: "revisions";
|
|
522
523
|
preview: "preview";
|
|
523
524
|
scheduling: "scheduling";
|
|
524
|
-
search: "search";
|
|
525
525
|
}>>>;
|
|
526
526
|
source: z.ZodOptional<z.ZodString>;
|
|
527
527
|
urlPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -533,11 +533,11 @@ declare const updateCollectionBody: z.ZodObject<{
|
|
|
533
533
|
description: z.ZodOptional<z.ZodString>;
|
|
534
534
|
icon: z.ZodOptional<z.ZodString>;
|
|
535
535
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
536
|
+
search: "search";
|
|
536
537
|
drafts: "drafts";
|
|
537
538
|
revisions: "revisions";
|
|
538
539
|
preview: "preview";
|
|
539
540
|
scheduling: "scheduling";
|
|
540
|
-
search: "search";
|
|
541
541
|
}>>>;
|
|
542
542
|
urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
543
543
|
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -558,9 +558,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
558
558
|
number: "number";
|
|
559
559
|
boolean: "boolean";
|
|
560
560
|
file: "file";
|
|
561
|
+
slug: "slug";
|
|
561
562
|
url: "url";
|
|
562
563
|
image: "image";
|
|
563
|
-
slug: "slug";
|
|
564
564
|
datetime: "datetime";
|
|
565
565
|
text: "text";
|
|
566
566
|
integer: "integer";
|
|
@@ -685,9 +685,9 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
685
685
|
number: "number";
|
|
686
686
|
boolean: "boolean";
|
|
687
687
|
file: "file";
|
|
688
|
+
slug: "slug";
|
|
688
689
|
url: "url";
|
|
689
690
|
image: "image";
|
|
690
|
-
slug: "slug";
|
|
691
691
|
datetime: "datetime";
|
|
692
692
|
text: "text";
|
|
693
693
|
integer: "integer";
|
|
@@ -750,9 +750,9 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
750
750
|
number: "number";
|
|
751
751
|
boolean: "boolean";
|
|
752
752
|
file: "file";
|
|
753
|
+
slug: "slug";
|
|
753
754
|
url: "url";
|
|
754
755
|
image: "image";
|
|
755
|
-
slug: "slug";
|
|
756
756
|
datetime: "datetime";
|
|
757
757
|
text: "text";
|
|
758
758
|
integer: "integer";
|
|
@@ -804,9 +804,9 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
804
804
|
number: "number";
|
|
805
805
|
boolean: "boolean";
|
|
806
806
|
file: "file";
|
|
807
|
+
slug: "slug";
|
|
807
808
|
url: "url";
|
|
808
809
|
image: "image";
|
|
809
|
-
slug: "slug";
|
|
810
810
|
datetime: "datetime";
|
|
811
811
|
text: "text";
|
|
812
812
|
integer: "integer";
|
|
@@ -841,9 +841,9 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
841
841
|
number: "number";
|
|
842
842
|
boolean: "boolean";
|
|
843
843
|
file: "file";
|
|
844
|
+
slug: "slug";
|
|
844
845
|
url: "url";
|
|
845
846
|
image: "image";
|
|
846
|
-
slug: "slug";
|
|
847
847
|
datetime: "datetime";
|
|
848
848
|
text: "text";
|
|
849
849
|
integer: "integer";
|
|
@@ -1020,15 +1020,15 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1020
1020
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1021
1021
|
}, z.core.$strip>;
|
|
1022
1022
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1023
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1024
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1025
1023
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1026
1025
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1027
1026
|
true: "true";
|
|
1028
1027
|
false: "false";
|
|
1029
1028
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1030
1029
|
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1031
1030
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1031
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1032
1032
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1033
1033
|
user: "user";
|
|
1034
1034
|
api_token: "api_token";
|
|
@@ -1049,7 +1049,6 @@ declare const contextEntryDiffQuery: z.ZodObject<{
|
|
|
1049
1049
|
declare const contextEntryCreateBody: z.ZodObject<{
|
|
1050
1050
|
scope: z.ZodString;
|
|
1051
1051
|
contextType: z.ZodEnum<{
|
|
1052
|
-
decision: "decision";
|
|
1053
1052
|
brand_voice: "brand_voice";
|
|
1054
1053
|
seo_strategy: "seo_strategy";
|
|
1055
1054
|
audience: "audience";
|
|
@@ -1059,6 +1058,7 @@ declare const contextEntryCreateBody: z.ZodObject<{
|
|
|
1059
1058
|
migration_note: "migration_note";
|
|
1060
1059
|
plugin_note: "plugin_note";
|
|
1061
1060
|
agent_reasoning: "agent_reasoning";
|
|
1061
|
+
decision: "decision";
|
|
1062
1062
|
risk: "risk";
|
|
1063
1063
|
content_gap: "content_gap";
|
|
1064
1064
|
style_exception: "style_exception";
|
|
@@ -1073,7 +1073,6 @@ declare const contextEntryCreateBody: z.ZodObject<{
|
|
|
1073
1073
|
declare const contextEntrySupersedeBody: z.ZodObject<{
|
|
1074
1074
|
scope: z.ZodOptional<z.ZodString>;
|
|
1075
1075
|
contextType: z.ZodOptional<z.ZodEnum<{
|
|
1076
|
-
decision: "decision";
|
|
1077
1076
|
brand_voice: "brand_voice";
|
|
1078
1077
|
seo_strategy: "seo_strategy";
|
|
1079
1078
|
audience: "audience";
|
|
@@ -1083,6 +1082,7 @@ declare const contextEntrySupersedeBody: z.ZodObject<{
|
|
|
1083
1082
|
migration_note: "migration_note";
|
|
1084
1083
|
plugin_note: "plugin_note";
|
|
1085
1084
|
agent_reasoning: "agent_reasoning";
|
|
1085
|
+
decision: "decision";
|
|
1086
1086
|
risk: "risk";
|
|
1087
1087
|
content_gap: "content_gap";
|
|
1088
1088
|
style_exception: "style_exception";
|
|
@@ -1192,7 +1192,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1192
1192
|
}, z.core.$strip>;
|
|
1193
1193
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1194
1194
|
email: z.ZodString;
|
|
1195
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1195
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1196
1196
|
}, z.core.$strip>;
|
|
1197
1197
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1198
1198
|
token: z.ZodString;
|
|
@@ -1744,15 +1744,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
1744
1744
|
declare const userUpdateBody: z.ZodObject<{
|
|
1745
1745
|
name: z.ZodOptional<z.ZodString>;
|
|
1746
1746
|
email: z.ZodOptional<z.ZodString>;
|
|
1747
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1747
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1748
1748
|
}, z.core.$strip>;
|
|
1749
1749
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
1750
1750
|
domain: z.ZodString;
|
|
1751
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1751
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
1752
1752
|
}, z.core.$strip>;
|
|
1753
1753
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
1754
1754
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1755
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1755
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1756
1756
|
}, z.core.$strip>;
|
|
1757
1757
|
declare const userSchema: z.ZodObject<{
|
|
1758
1758
|
id: z.ZodString;
|
package/dist/cli/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as __exportAll } from "../chunk-ClPoSABd.mjs";
|
|
3
3
|
import { n as createDatabase } from "../connection-BCNICDWN.mjs";
|
|
4
4
|
import { c as listTablesLike } from "../dialect-helpers-TkdbkFad.mjs";
|
|
5
|
-
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-
|
|
5
|
+
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-DF2DgD_B.mjs";
|
|
6
6
|
import { r as isI18nEnabled } from "../config-XW5tMrH8.mjs";
|
|
7
7
|
import { n as slugify } from "../slugify-BzGxlOFx.mjs";
|
|
8
8
|
import { t as ContentRepository } from "../content-DvpMad_N.mjs";
|
|
@@ -1748,7 +1748,6 @@ const EXCLUDE_PATTERNS = [
|
|
|
1748
1748
|
".cache",
|
|
1749
1749
|
"skills",
|
|
1750
1750
|
"coverage",
|
|
1751
|
-
"uploads",
|
|
1752
1751
|
"data.db",
|
|
1753
1752
|
"data.db-shm",
|
|
1754
1753
|
"data.db-wal"
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-
|
|
1
|
+
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-nNEGdHkI.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/client/portable-text.d.ts
|
|
4
4
|
/**
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-C-CMfzSl.mjs";
|
|
2
2
|
import { a as SqliteConfig, c as sqlite, i as PostgresConfig, n as DatabaseDialectType, o as libsql, r as LibsqlConfig, s as postgres, t as DatabaseDescriptor } from "../adapters-kZjS7plb.mjs";
|
|
3
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-
|
|
3
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-FhUNNaqA.mjs";
|
|
4
4
|
export { type DatabaseDescriptor, type DatabaseDialectType, type LibsqlConfig, type MigrationStatus, type PostgresConfig, type SqliteConfig, getMigrationStatus, libsql, postgres, rollbackMigration, runMigrations, sqlite };
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-
|
|
2
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-DF2DgD_B.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/db/adapters.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Database } from "./types-
|
|
1
|
+
import { t as Database } from "./types-C-CMfzSl.mjs";
|
|
2
2
|
import { a as Collection, h as FieldValidation, i as SiteSettings, r as SiteSettingKey } from "./types-t7_nCCA9.mjs";
|
|
3
3
|
import { m as MediaValue } from "./types-cn-fvYQ1.mjs";
|
|
4
4
|
import { Kysely } from "kysely";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { a as ContentSeoInput, c as FindManyOptions, i as ContentSeo, l as FindManyResult, n as ContentBylineCredit, o as CreateContentInput, r as ContentItem, s as DinewayValidationError, t as BylineSummary, u as UpdateContentInput } from "./types-DvwHUku7.mjs";
|
|
2
|
-
import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-
|
|
3
|
-
import { n as MediaTable, r as UserTable, t as Database } from "./types-
|
|
2
|
+
import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-yK9bWV13.mjs";
|
|
3
|
+
import { n as MediaTable, r as UserTable, t as Database } from "./types-C-CMfzSl.mjs";
|
|
4
4
|
import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-BIM7jwxr.mjs";
|
|
5
5
|
import { _ as RESERVED_COLLECTION_SLUGS, a as Collection, b as UpdateFieldInput, c as CollectionWithFields, d as CreateFieldInput, f as FIELD_TYPE_TO_COLUMN, g as FieldWidgetOptions, h as FieldValidation, i as SiteSettings, l as ColumnType, m as FieldType, n as SeoSettings, o as CollectionSource, p as Field, r as SiteSettingKey, s as CollectionSupport, t as MediaReference, u as CreateCollectionInput, v as RESERVED_FIELD_SLUGS, y as UpdateCollectionInput } from "./types-t7_nCCA9.mjs";
|
|
6
6
|
import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-BgE6gMFI.mjs";
|
|
7
7
|
import { a as SqliteConfig, i as PostgresConfig, n as DatabaseDialectType, r as LibsqlConfig, t as DatabaseDescriptor } from "./adapters-kZjS7plb.mjs";
|
|
8
8
|
import { m as MediaValue } from "./types-cn-fvYQ1.mjs";
|
|
9
|
-
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-
|
|
10
|
-
import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as TaxonomyTermRow, D as CreateMenuInput, E as getMenus, F as GetCommentsOptions, G as CollectionFilter, H as getSiteSettings, I as GetCommentsResult, J as DinewayCollections, K as CollectionResult, L as getCommentCount, M as ReorderMenuItemsInput, N as UpdateMenuInput, O as CreateMenuItemInput, P as UpdateMenuItemInput, Q as ResolvePathResult, R as getComments, S as TaxonomyTerm, T as getMenu, U as setSiteSettings, V as getSiteSetting, W as CacheHint, X as EntryResult, Y as EditFieldMeta, Z as InferCollectionData, _ as getTaxonomyTerms, _t as FieldDefinition, a as CreateWidgetInput, at as resolveDinewayPath, b as CreateTermInput, bt as ImageValue, c as UpdateWidgetInput, ct as FieldAnnotation, d as WidgetComponentDef, dt as isSafeHref, et as TranslationsResult, f as WidgetType, ft as sanitizeHref, g as getTaxonomyDefs, gt as image, h as getTaxonomyDef, ht as reference, i as CreateWidgetAreaInput, it as getTranslations, j as MenuItemType, k as Menu, l as Widget, lt as createEditable, m as getEntryTerms, mt as portableText, n as getWidgetAreas, nt as getDinewayEntry, o as PropDef, ot as CMSAnnotation, p as getEntriesByTerm, pt as getCollectionInfo, q as ContentEntry, r as getWidgetComponents, rt as getEditMeta, s as ReorderWidgetsInput, st as EditProxy, t as getWidgetArea, tt as getDinewayCollection, u as WidgetArea, ut as createNoop, v as getTerm, vt as FieldUIHints, w as UpdateTermInput, x as TaxonomyDef, xt as PortableTextBlock, y as getTermsForEntries, yt as FileValue, z as getPluginSetting } from "./index-
|
|
11
|
-
import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-
|
|
9
|
+
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-FhUNNaqA.mjs";
|
|
10
|
+
import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as TaxonomyTermRow, D as CreateMenuInput, E as getMenus, F as GetCommentsOptions, G as CollectionFilter, H as getSiteSettings, I as GetCommentsResult, J as DinewayCollections, K as CollectionResult, L as getCommentCount, M as ReorderMenuItemsInput, N as UpdateMenuInput, O as CreateMenuItemInput, P as UpdateMenuItemInput, Q as ResolvePathResult, R as getComments, S as TaxonomyTerm, T as getMenu, U as setSiteSettings, V as getSiteSetting, W as CacheHint, X as EntryResult, Y as EditFieldMeta, Z as InferCollectionData, _ as getTaxonomyTerms, _t as FieldDefinition, a as CreateWidgetInput, at as resolveDinewayPath, b as CreateTermInput, bt as ImageValue, c as UpdateWidgetInput, ct as FieldAnnotation, d as WidgetComponentDef, dt as isSafeHref, et as TranslationsResult, f as WidgetType, ft as sanitizeHref, g as getTaxonomyDefs, gt as image, h as getTaxonomyDef, ht as reference, i as CreateWidgetAreaInput, it as getTranslations, j as MenuItemType, k as Menu, l as Widget, lt as createEditable, m as getEntryTerms, mt as portableText, n as getWidgetAreas, nt as getDinewayEntry, o as PropDef, ot as CMSAnnotation, p as getEntriesByTerm, pt as getCollectionInfo, q as ContentEntry, r as getWidgetComponents, rt as getEditMeta, s as ReorderWidgetsInput, st as EditProxy, t as getWidgetArea, tt as getDinewayCollection, u as WidgetArea, ut as createNoop, v as getTerm, vt as FieldUIHints, w as UpdateTermInput, x as TaxonomyDef, xt as PortableTextBlock, y as getTermsForEntries, yt as FileValue, z as getPluginSetting } from "./index-Ct0pjZwW.mjs";
|
|
11
|
+
import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-BwOO3vu2.mjs";
|
|
12
12
|
import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-BZpCpid_.mjs";
|
|
13
13
|
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-BYjPylrZ.mjs";
|
|
14
|
-
import "./bylines-
|
|
14
|
+
import "./bylines-BnInIxUL.mjs";
|
|
15
15
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
16
16
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
17
17
|
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-BBETcziA.mjs";
|
|
18
18
|
import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
19
|
-
import { _ 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, y as SeedWidgetArea } from "./validate-
|
|
19
|
+
import { _ 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, y as SeedWidgetArea } from "./validate-CvQ6cvHH.mjs";
|
|
20
20
|
import "./seed/index.mjs";
|
|
21
21
|
import { ulid } from "ulidx";
|
|
22
22
|
export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BylineSummary, type CMSAnnotation, type CacheHint, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateSectionInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginRoute, PluginRouteError, type PluginStorageConfig, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type RevisionListResponse, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, clearSources, computeContentHash, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, isBlockedInPreview, isI18nEnabled, isPreviewRequest, isSafeHref, isStandardPluginDefinition, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
2
2
|
import { t as DinewayDatabaseError } from "./connection-BCNICDWN.mjs";
|
|
3
3
|
import "./dialect-helpers-TkdbkFad.mjs";
|
|
4
|
-
import { n as getMigrationStatus } from "./runner-
|
|
4
|
+
import { n as getMigrationStatus } from "./runner-DF2DgD_B.mjs";
|
|
5
5
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
|
|
6
6
|
import { _ as portableTextToProsemirror, a as SandboxNotAvailableError, b as reference, c as createPluginManager, f as HookPipeline, g as after, h as definePlugin, i as NoopSandboxRunner, l as PluginRouteError, n as NodeSandboxRunner, o as createNoopSandboxRunner, p as createHookPipeline, r as createNodeSandboxRunner, s as PluginManager, t as isStandardPluginDefinition, v as prosemirrorToPortableText, x as image, y as portableText } from "./plugins-DCDVDF4B.mjs";
|
|
7
7
|
import { t as decodeSlug } from "./slugify-BzGxlOFx.mjs";
|
|
@@ -24,7 +24,7 @@ import "./byline-DpNNSjET.mjs";
|
|
|
24
24
|
import { t as normalizeMediaValue } from "./normalize-BY_EJnd9.mjs";
|
|
25
25
|
import { t as generatePlaceholder } from "./placeholder-b0Ufu0La.mjs";
|
|
26
26
|
import "./seo-BPb_reaG.mjs";
|
|
27
|
-
import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-
|
|
27
|
+
import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-DHsMtgSK.mjs";
|
|
28
28
|
import "./request-cache-BpwuE2ix.mjs";
|
|
29
29
|
import "./dashboard-BC9bgPOH.mjs";
|
|
30
30
|
import "./briefing-Jsxs587i.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../runtime-
|
|
2
|
-
import { t as Database } from "../types-
|
|
1
|
+
import "../runtime-yK9bWV13.mjs";
|
|
2
|
+
import { t as Database } from "../types-C-CMfzSl.mjs";
|
|
3
3
|
import "../types-BIM7jwxr.mjs";
|
|
4
4
|
import "../types-BgE6gMFI.mjs";
|
|
5
5
|
import { f as MediaProviderItem, r as CreateMediaProviderFn } from "../types-cn-fvYQ1.mjs";
|
|
6
|
-
import "../runner-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../index-
|
|
6
|
+
import "../runner-FhUNNaqA.mjs";
|
|
7
|
+
import "../index-Ct0pjZwW.mjs";
|
|
8
|
+
import "../index-BwOO3vu2.mjs";
|
|
9
9
|
import { d as Storage } from "../types-BYjPylrZ.mjs";
|
|
10
|
-
import "../bylines-
|
|
10
|
+
import "../bylines-BnInIxUL.mjs";
|
|
11
11
|
import "../types-BBETcziA.mjs";
|
|
12
|
-
import "../validate-
|
|
12
|
+
import "../validate-CvQ6cvHH.mjs";
|
|
13
13
|
import "../index.mjs";
|
|
14
14
|
import { Kysely } from "kysely";
|
|
15
15
|
|
package/dist/page/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as PageMetadataContribution, D as PageFragmentContribution, q as PublicPageContext } from "../types-BIM7jwxr.mjs";
|
|
2
|
-
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as resolvePageMetadata, f as safeJsonLdSerialize, i as generateBaseSeoContributions, l as escapeHtmlAttr, m as createPublicPageContext, n as buildWebSiteJsonLd, o as renderFragments, p as CreatePublicPageContextInput, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as renderPageMetadata } from "../jsonld-
|
|
2
|
+
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as resolvePageMetadata, f as safeJsonLdSerialize, i as generateBaseSeoContributions, l as escapeHtmlAttr, m as createPublicPageContext, n as buildWebSiteJsonLd, o as renderFragments, p as CreatePublicPageContextInput, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as renderPageMetadata } from "../jsonld-CLbYsYYH.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/index.d.ts
|
|
5
5
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as PluginDescriptor } from "../runtime-
|
|
2
|
-
import "../types-
|
|
1
|
+
import { n as PluginDescriptor } from "../runtime-yK9bWV13.mjs";
|
|
2
|
+
import "../types-C-CMfzSl.mjs";
|
|
3
3
|
import { X as ResolvedPlugin, tt as StandardPluginDefinition } from "../types-BIM7jwxr.mjs";
|
|
4
4
|
import "../types-BgE6gMFI.mjs";
|
|
5
|
-
import "../runner-
|
|
6
|
-
import "../index-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../bylines-
|
|
5
|
+
import "../runner-FhUNNaqA.mjs";
|
|
6
|
+
import "../index-Ct0pjZwW.mjs";
|
|
7
|
+
import "../index-BwOO3vu2.mjs";
|
|
8
|
+
import "../bylines-BnInIxUL.mjs";
|
|
9
9
|
import "../types-BBETcziA.mjs";
|
|
10
|
-
import "../validate-
|
|
10
|
+
import "../validate-CvQ6cvHH.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
|
13
13
|
/**
|