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
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $n as isParseError, Qn as ParseResult, Zn as OptionsRepository, er as parseBody, ir as handleError, nr as apiError, rr as apiSuccess, t as DinewayConfig, tr as parseQuery } from "../runtime-
|
|
2
|
-
import { t as Database } from "../types-
|
|
1
|
+
import { $n as isParseError, Qn as ParseResult, Zn as OptionsRepository, er as parseBody, ir as handleError, nr as apiError, rr as apiSuccess, t as DinewayConfig, tr as parseQuery } from "../runtime-yK9bWV13.mjs";
|
|
2
|
+
import { t as Database } from "../types-C-CMfzSl.mjs";
|
|
3
3
|
import { at as StorageCollectionConfig, it as StorageCollection } 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
|
import { Kysely } from "kysely";
|
|
12
12
|
|
|
13
13
|
//#region src/api/auth-storage.d.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as updateSectionBody, $n as cursorPaginationQuery, $t as createCommentBody, A as userDetailSchema, An as mediaUploadUrlBody, At as passkeyRegisterVerifyBody, B as wpRewriteUrlsBody, Bn as contentScheduleBody, Bt as contextEntryCreateBody, C as updateWidgetBody, Cn as mediaExistingResponseSchema, Ct as authMeActionBody, D as widgetSchema, Dn as mediaProviderListQuery, Dt as magicLinkSendBody, E as widgetAreaWithWidgetsSchema, En as mediaListResponseSchema, Et as inviteRegisterOptionsBody, F as importProbeBody, Fn as contentListQuery, Ft as reviewRequestListQuery, G as searchResultSchema, Gn as contentTranslationsResponseSchema, Gt as contextEntrySupersedeBody, H as searchQuery, Hn as contentSeoSchema, Ht as contextEntryListQuery, I as wpMediaImportBody, In as contentListResponseSchema, It as reviewRequestResolveBody, J as siteSettingsSchema, Jn as trashedContentItemSchema, Jt as commentBulkResponseSchema, K as searchSuggestQuery, Kn as contentTrashQuery, Kt as adminCommentListResponseSchema, L as wpPluginAnalyzeBody, Ln as contentPreviewUrlBody, Lt as hitlRequestListQuery, M as userSchema, Mn as contentCompareResponseSchema, Mt as passkeyVerifyBody, N as userUpdateBody, Nn as contentCreateBody, Nt as signupCompleteBody, O as allowedDomainCreateBody, On as mediaResponseSchema, Ot as passkeyOptionsBody, P as usersListQuery, Pn as contentItemSchema, Pt as signupRequestBody, Q as sectionsListQuery, Qn as countResponseSchema, Qt as commentStatusBody, R as wpPluginExecuteBody, Rn as contentPublishBody, Rt as hitlRequestResolveBody, S as reorderWidgetsBody, Sn as mediaConfirmResponseSchema, St as updateMenuItemBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaListQuery, Tt as inviteCreateBody, U as searchRebuildBody, Un as contentTermsBody, Ut as contextEntryReviewBody, V as searchEnableBody, Vn as contentSeoInput, Vt as contextEntryDiffQuery, W as searchResponseSchema, Wn as contentTranslationSchema, Wt as contextEntryStaleQuery, X as sectionListResponseSchema, Xn as VALID_ROLE_LEVELS, Xt as commentListQuery, Y as createSectionBody, Yn as trashedContentListResponseSchema, Yt as commentCountsResponseSchema, Z as sectionSchema, Zn as apiErrorSchema, Zt as commentSchema, _ as redirectSchema, _n as updateCollectionBody, _t as menuSchema, a as bylineUpdateBody, an as collectionSchema, ar as roleLevel, at as termGetResponseSchema, b as createWidgetAreaBody, bn as formatFileSize, bt as reorderMenuItemsBody, c as createRedirectBody, cn as createFieldBody, ct as termSchema, d as notFoundListResponseSchema, dn as fieldResponseSchema, dt as updateTermBody, en as publicCommentListResponseSchema, er as deleteResponseSchema, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as fieldSchema, ft as createMenuBody, g as redirectListResponseSchema, gn as schemaExportQuery, gt as menuListItemSchema, h as notFoundSummarySchema, hn as orphanedTableSchema, ht as menuItemTypeEnum, i as bylineSummarySchema, in as collectionResponseSchema, ir as offsetPaginationQuery, it as taxonomyListResponseSchema, j as userListResponseSchema, jn as mediaUploadUrlResponseSchema, jt as passkeyRenameBody, k as allowedDomainUpdateBody, kn as mediaUpdateBody, kt as passkeyRegisterOptionsBody, l as notFoundEntrySchema, ln as fieldListResponseSchema, lt as termTranslationsSchema, m as notFoundSummaryResponseSchema, mn as orphanedTableListResponseSchema, mt as menuItemSchema, n as bylineCreditSchema, nn as collectionGetQuery, nr as localeCode, nt as taxonomyDefSchema, o as bylinesListQuery, on as collectionWithFieldsResponseSchema, or as slugPattern, ot as termListResponseSchema, p as notFoundSummaryQuery, pn as orphanRegisterBody, pt as createMenuItemBody, q as settingsUpdateBody, qn as contentUpdateBody, qt as commentBulkBody, r as bylineListResponseSchema, rn as collectionListResponseSchema, rr as localeFilterQuery, rt as taxonomyDefTranslationsSchema, s as contentBylineInputSchema, sn as createCollectionBody, sr as successEnvelope, st as termResponseSchema, t as bylineCreateBody, tn as publicCommentSchema, tr as httpUrl, tt as createTermBody, u as notFoundListQuery, un as fieldReorderBody, ut as termWithCountSchema, v as redirectsListQuery, vn as updateFieldBody, vt as menuTranslationsSchema, w as widgetAreaSchema, wn as mediaItemSchema, wt as inviteCompleteBody, x as createWidgetBody, xn as mediaConfirmBody, xt as updateMenuBody, y as updateRedirectBody, yn as DEFAULT_MAX_UPLOAD_SIZE, yt as menuWithItemsSchema, z as wpPrepareBody, zn as contentResponseSchema, zt as siteBriefingQuery } from "../../bylines-
|
|
1
|
+
import { $ as updateSectionBody, $n as cursorPaginationQuery, $t as createCommentBody, A as userDetailSchema, An as mediaUploadUrlBody, At as passkeyRegisterVerifyBody, B as wpRewriteUrlsBody, Bn as contentScheduleBody, Bt as contextEntryCreateBody, C as updateWidgetBody, Cn as mediaExistingResponseSchema, Ct as authMeActionBody, D as widgetSchema, Dn as mediaProviderListQuery, Dt as magicLinkSendBody, E as widgetAreaWithWidgetsSchema, En as mediaListResponseSchema, Et as inviteRegisterOptionsBody, F as importProbeBody, Fn as contentListQuery, Ft as reviewRequestListQuery, G as searchResultSchema, Gn as contentTranslationsResponseSchema, Gt as contextEntrySupersedeBody, H as searchQuery, Hn as contentSeoSchema, Ht as contextEntryListQuery, I as wpMediaImportBody, In as contentListResponseSchema, It as reviewRequestResolveBody, J as siteSettingsSchema, Jn as trashedContentItemSchema, Jt as commentBulkResponseSchema, K as searchSuggestQuery, Kn as contentTrashQuery, Kt as adminCommentListResponseSchema, L as wpPluginAnalyzeBody, Ln as contentPreviewUrlBody, Lt as hitlRequestListQuery, M as userSchema, Mn as contentCompareResponseSchema, Mt as passkeyVerifyBody, N as userUpdateBody, Nn as contentCreateBody, Nt as signupCompleteBody, O as allowedDomainCreateBody, On as mediaResponseSchema, Ot as passkeyOptionsBody, P as usersListQuery, Pn as contentItemSchema, Pt as signupRequestBody, Q as sectionsListQuery, Qn as countResponseSchema, Qt as commentStatusBody, R as wpPluginExecuteBody, Rn as contentPublishBody, Rt as hitlRequestResolveBody, S as reorderWidgetsBody, Sn as mediaConfirmResponseSchema, St as updateMenuItemBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaListQuery, Tt as inviteCreateBody, U as searchRebuildBody, Un as contentTermsBody, Ut as contextEntryReviewBody, V as searchEnableBody, Vn as contentSeoInput, Vt as contextEntryDiffQuery, W as searchResponseSchema, Wn as contentTranslationSchema, Wt as contextEntryStaleQuery, X as sectionListResponseSchema, Xn as VALID_ROLE_LEVELS, Xt as commentListQuery, Y as createSectionBody, Yn as trashedContentListResponseSchema, Yt as commentCountsResponseSchema, Z as sectionSchema, Zn as apiErrorSchema, Zt as commentSchema, _ as redirectSchema, _n as updateCollectionBody, _t as menuSchema, a as bylineUpdateBody, an as collectionSchema, ar as roleLevel, at as termGetResponseSchema, b as createWidgetAreaBody, bn as formatFileSize, bt as reorderMenuItemsBody, c as createRedirectBody, cn as createFieldBody, ct as termSchema, d as notFoundListResponseSchema, dn as fieldResponseSchema, dt as updateTermBody, en as publicCommentListResponseSchema, er as deleteResponseSchema, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as fieldSchema, ft as createMenuBody, g as redirectListResponseSchema, gn as schemaExportQuery, gt as menuListItemSchema, h as notFoundSummarySchema, hn as orphanedTableSchema, ht as menuItemTypeEnum, i as bylineSummarySchema, in as collectionResponseSchema, ir as offsetPaginationQuery, it as taxonomyListResponseSchema, j as userListResponseSchema, jn as mediaUploadUrlResponseSchema, jt as passkeyRenameBody, k as allowedDomainUpdateBody, kn as mediaUpdateBody, kt as passkeyRegisterOptionsBody, l as notFoundEntrySchema, ln as fieldListResponseSchema, lt as termTranslationsSchema, m as notFoundSummaryResponseSchema, mn as orphanedTableListResponseSchema, mt as menuItemSchema, n as bylineCreditSchema, nn as collectionGetQuery, nr as localeCode, nt as taxonomyDefSchema, o as bylinesListQuery, on as collectionWithFieldsResponseSchema, or as slugPattern, ot as termListResponseSchema, p as notFoundSummaryQuery, pn as orphanRegisterBody, pt as createMenuItemBody, q as settingsUpdateBody, qn as contentUpdateBody, qt as commentBulkBody, r as bylineListResponseSchema, rn as collectionListResponseSchema, rr as localeFilterQuery, rt as taxonomyDefTranslationsSchema, s as contentBylineInputSchema, sn as createCollectionBody, sr as successEnvelope, st as termResponseSchema, t as bylineCreateBody, tn as publicCommentSchema, tr as httpUrl, tt as createTermBody, u as notFoundListQuery, un as fieldReorderBody, ut as termWithCountSchema, v as redirectsListQuery, vn as updateFieldBody, vt as menuTranslationsSchema, w as widgetAreaSchema, wn as mediaItemSchema, wt as inviteCompleteBody, x as createWidgetBody, xn as mediaConfirmBody, xt as updateMenuBody, y as updateRedirectBody, yn as DEFAULT_MAX_UPLOAD_SIZE, yt as menuWithItemsSchema, z as wpPrepareBody, zn as contentResponseSchema, zt as siteBriefingQuery } from "../../bylines-BnInIxUL.mjs";
|
|
2
2
|
import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
|
|
3
3
|
export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
|
|
@@ -16,7 +16,7 @@ import { n as requestCached } from "./request-cache-BpwuE2ix.mjs";
|
|
|
16
16
|
import { u as PluginStateRepository } from "./briefing-Jsxs587i.mjs";
|
|
17
17
|
import { n as SchemaRegistry, t as SchemaError } from "./registry-i__XP2WV.mjs";
|
|
18
18
|
import { n as hashString } from "./hash-DFFrkivP.mjs";
|
|
19
|
-
import { n as VERSION, t as COMMIT } from "./version-
|
|
19
|
+
import { n as VERSION, t as COMMIT } from "./version-BH9FCDRu.mjs";
|
|
20
20
|
import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-C6fzQoWn.mjs";
|
|
21
21
|
import { t as DinewayStorageError } from "./types-CNNQ8l0v.mjs";
|
|
22
22
|
import { sql } from "kysely";
|
package/dist/astro/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as ContentItem } from "../types-DvwHUku7.mjs";
|
|
2
|
-
import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-
|
|
3
|
-
import "../types-
|
|
2
|
+
import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-yK9bWV13.mjs";
|
|
3
|
+
import "../types-C-CMfzSl.mjs";
|
|
4
4
|
import { X as ResolvedPlugin } from "../types-BIM7jwxr.mjs";
|
|
5
5
|
import "../types-BgE6gMFI.mjs";
|
|
6
|
-
import "../runner-
|
|
7
|
-
import "../index-
|
|
8
|
-
import "../index-
|
|
9
|
-
import "../bylines-
|
|
6
|
+
import "../runner-FhUNNaqA.mjs";
|
|
7
|
+
import "../index-Ct0pjZwW.mjs";
|
|
8
|
+
import "../index-BwOO3vu2.mjs";
|
|
9
|
+
import "../bylines-BnInIxUL.mjs";
|
|
10
10
|
import "../types-BBETcziA.mjs";
|
|
11
|
-
import "../validate-
|
|
11
|
+
import "../validate-CvQ6cvHH.mjs";
|
|
12
12
|
import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
|
|
13
13
|
import { AstroIntegration } from "astro";
|
|
14
14
|
|
package/dist/astro/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
1
|
+
import { n as VERSION, t as COMMIT } from "../version-BH9FCDRu.mjs";
|
|
2
2
|
import { t as defaultSeed } from "../default-5A3XVR7L.mjs";
|
|
3
3
|
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-3RuuoFjC.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1434,6 +1434,7 @@ const DEFAULT_STORAGE = local({
|
|
|
1434
1434
|
directory: "./.dineway/uploads",
|
|
1435
1435
|
baseUrl: "/_dineway/api/media/file"
|
|
1436
1436
|
});
|
|
1437
|
+
const DINEWAY_SESSION_DRIVER = { entrypoint: "dineway/astro/session-driver" };
|
|
1437
1438
|
const dim = (s) => `\x1b[2m${s}\x1b[22m`;
|
|
1438
1439
|
const bold = (s) => `\x1b[1m${s}\x1b[22m`;
|
|
1439
1440
|
const cyan = (s) => `\x1b[36m${s}\x1b[39m`;
|
|
@@ -1526,10 +1527,15 @@ function dineway(config = {}) {
|
|
|
1526
1527
|
checkOrigin: false,
|
|
1527
1528
|
...resolvedConfig.siteUrl ? { allowedDomains: [{ hostname: new URL(resolvedConfig.siteUrl).hostname }] } : {}
|
|
1528
1529
|
};
|
|
1530
|
+
const sessionConfig = {
|
|
1531
|
+
...astroConfig.session,
|
|
1532
|
+
driver: astroConfig.session?.driver ?? DINEWAY_SESSION_DRIVER
|
|
1533
|
+
};
|
|
1529
1534
|
const fontsConfig = resolvedConfig.fonts;
|
|
1530
1535
|
const fontScripts = fontsConfig && typeof fontsConfig === "object" ? fontsConfig.scripts : void 0;
|
|
1531
1536
|
updateConfig({
|
|
1532
1537
|
security: securityConfig,
|
|
1538
|
+
session: sessionConfig,
|
|
1533
1539
|
fonts: fontsConfig === false ? [] : [{
|
|
1534
1540
|
provider: notoSans({ scripts: fontScripts }),
|
|
1535
1541
|
name: "Noto Sans",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../runtime-
|
|
2
|
-
import "../../types-
|
|
1
|
+
import "../../runtime-yK9bWV13.mjs";
|
|
2
|
+
import "../../types-C-CMfzSl.mjs";
|
|
3
3
|
import "../../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
|
import { DinewayHandlers } from "../types.mjs";
|
|
12
12
|
import { Kysely } from "kysely";
|
|
13
13
|
import { User } from "@dineway-ai/auth";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
-
import { i as runMigrations } from "../../runner-
|
|
2
|
+
import { i as runMigrations } from "../../runner-DF2DgD_B.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "../../options-BF11H_FD.mjs";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
5
5
|
import { defineMiddleware } from "astro:middleware";
|
|
@@ -3,7 +3,7 @@ import { createRecorder, flushRecorder, formatServerTimingHeader, isInstrumentat
|
|
|
3
3
|
import "../connection-BCNICDWN.mjs";
|
|
4
4
|
import { t as validateIdentifier } from "../validate-VPnKoIzW.mjs";
|
|
5
5
|
import { o as isSqlite } from "../dialect-helpers-TkdbkFad.mjs";
|
|
6
|
-
import { i as runMigrations } from "../runner-
|
|
6
|
+
import { i as runMigrations } from "../runner-DF2DgD_B.mjs";
|
|
7
7
|
import { i as setI18nConfig } from "../config-XW5tMrH8.mjs";
|
|
8
8
|
import { d as EmailPipeline, g as after, h as definePlugin, m as resolveExclusiveHooks, p as createHookPipeline, u as PluginRouteRegistry } from "../plugins-DCDVDF4B.mjs";
|
|
9
9
|
import { r as RevisionRepository } from "../content-DvpMad_N.mjs";
|
|
@@ -25,7 +25,7 @@ import "../byline-DpNNSjET.mjs";
|
|
|
25
25
|
import { t as normalizeMediaValue } from "../normalize-BY_EJnd9.mjs";
|
|
26
26
|
import "../placeholder-b0Ufu0La.mjs";
|
|
27
27
|
import "../seo-BPb_reaG.mjs";
|
|
28
|
-
import { $ as validateRev, 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, 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, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "../api-
|
|
28
|
+
import { $ as validateRev, 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, 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, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "../api-DHsMtgSK.mjs";
|
|
29
29
|
import { n as requestCached } from "../request-cache-BpwuE2ix.mjs";
|
|
30
30
|
import "../dashboard-BC9bgPOH.mjs";
|
|
31
31
|
import { u as PluginStateRepository } from "../briefing-Jsxs587i.mjs";
|
|
@@ -37,7 +37,7 @@ import { c as createPublicMediaUrlResolver } from "../settings-DORe02PC.mjs";
|
|
|
37
37
|
import "../briefing-DD82WaEy.mjs";
|
|
38
38
|
import "../review-requests-DuIxM4YM.mjs";
|
|
39
39
|
import { n as hashString } from "../hash-DFFrkivP.mjs";
|
|
40
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
40
|
+
import { n as VERSION, t as COMMIT } from "../version-BH9FCDRu.mjs";
|
|
41
41
|
import "../query-BnRpB09I.mjs";
|
|
42
42
|
import "../zod-generator-C4BgFBZV.mjs";
|
|
43
43
|
import "../schema-U-SeFWwn.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
|
|
|
14
14
|
import "../../../../../../redirect-BaVvo2te.mjs";
|
|
15
15
|
import "../../../../../../byline-DpNNSjET.mjs";
|
|
16
16
|
import "../../../../../../seo-BPb_reaG.mjs";
|
|
17
|
-
import "../../../../../../api-
|
|
17
|
+
import "../../../../../../api-DHsMtgSK.mjs";
|
|
18
18
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
19
19
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
20
20
|
import { c as handlePluginGet, o as handlePluginDisable } from "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
|
|
|
14
14
|
import "../../../../../../redirect-BaVvo2te.mjs";
|
|
15
15
|
import "../../../../../../byline-DpNNSjET.mjs";
|
|
16
16
|
import "../../../../../../seo-BPb_reaG.mjs";
|
|
17
|
-
import "../../../../../../api-
|
|
17
|
+
import "../../../../../../api-DHsMtgSK.mjs";
|
|
18
18
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
19
19
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
20
20
|
import { c as handlePluginGet, s as handlePluginEnable } from "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import "../../../../../../api-
|
|
16
|
+
import "../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import { c as handlePluginGet } from "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
|
|
|
14
14
|
import "../../../../../../redirect-BaVvo2te.mjs";
|
|
15
15
|
import "../../../../../../byline-DpNNSjET.mjs";
|
|
16
16
|
import "../../../../../../seo-BPb_reaG.mjs";
|
|
17
|
-
import { a as handleMarketplaceUninstall } from "../../../../../../api-
|
|
17
|
+
import { a as handleMarketplaceUninstall } from "../../../../../../api-DHsMtgSK.mjs";
|
|
18
18
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
19
19
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
20
20
|
import { l as handlePluginList } from "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
|
|
|
14
14
|
import "../../../../../../redirect-BaVvo2te.mjs";
|
|
15
15
|
import "../../../../../../byline-DpNNSjET.mjs";
|
|
16
16
|
import "../../../../../../seo-BPb_reaG.mjs";
|
|
17
|
-
import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-
|
|
17
|
+
import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-DHsMtgSK.mjs";
|
|
18
18
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
19
19
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
20
20
|
import "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import "../../../../../api-
|
|
16
|
+
import "../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import { l as handlePluginList } from "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-
|
|
16
|
+
import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
|
|
|
14
14
|
import "../../../../../../../redirect-BaVvo2te.mjs";
|
|
15
15
|
import "../../../../../../../byline-DpNNSjET.mjs";
|
|
16
16
|
import "../../../../../../../seo-BPb_reaG.mjs";
|
|
17
|
-
import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-
|
|
17
|
+
import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-DHsMtgSK.mjs";
|
|
18
18
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
19
19
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
20
20
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { i as handleMarketplaceSearch } from "../../../../../../api-
|
|
16
|
+
import { i as handleMarketplaceSearch } from "../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { s as handleMarketplaceUpdateCheck } from "../../../../../api-
|
|
16
|
+
import { s as handleMarketplaceUpdateCheck } from "../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { l as handleThemeGetDetail } from "../../../../../../../api-
|
|
16
|
+
import { l as handleThemeGetDetail } from "../../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { u as handleThemeSearch } from "../../../../../../api-
|
|
16
|
+
import { u as handleThemeSearch } from "../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
-
import { i as runMigrations } from "../../../../runner-
|
|
2
|
+
import { i as runMigrations } from "../../../../runner-DF2DgD_B.mjs";
|
|
3
3
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-DLkgOP5m.mjs";
|
|
4
4
|
import { t as escapeHtml } from "../../../../escape-r8_GbEU2.mjs";
|
|
5
5
|
import { t as isSafeRedirect } from "../../../../redirect-Ce_6Yb6z.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../../types-
|
|
2
|
-
import "../../../../index-
|
|
1
|
+
import "../../../../types-C-CMfzSl.mjs";
|
|
2
|
+
import "../../../../index-BwOO3vu2.mjs";
|
|
3
3
|
import { g as ProbeResult } from "../../../../types-BBETcziA.mjs";
|
|
4
4
|
import { APIRoute } from "astro";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as VERSION, t as COMMIT } from "../../../version-
|
|
1
|
+
import { n as VERSION, t as COMMIT } from "../../../version-BH9FCDRu.mjs";
|
|
2
2
|
import { r as handleError } from "../../../error-DLkgOP5m.mjs";
|
|
3
3
|
import { t as getAuthMode } from "../../../mode-Bd55iLcP.mjs";
|
|
4
4
|
import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-BbZbIEZp.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../fts-manager-DnfOsF4s.mjs";
|
|
|
14
14
|
import "../../../registry-i__XP2WV.mjs";
|
|
15
15
|
import "../../../loader-p2imNN98.mjs";
|
|
16
16
|
import "../../../settings-DORe02PC.mjs";
|
|
17
|
-
import { n as VERSION } from "../../../version-
|
|
17
|
+
import { n as VERSION } from "../../../version-BH9FCDRu.mjs";
|
|
18
18
|
import "../../../query-BnRpB09I.mjs";
|
|
19
19
|
import "../../../zod-generator-C4BgFBZV.mjs";
|
|
20
20
|
import "../../../schema-U-SeFWwn.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as VERSION } from "../../../version-
|
|
1
|
+
import { n as VERSION } from "../../../version-BH9FCDRu.mjs";
|
|
2
2
|
import { r as handleError } from "../../../error-DLkgOP5m.mjs";
|
|
3
3
|
import { $ as createMenuBody, $t as contentListQuery, A as searchRebuildBody, B as updateSectionBody, Bt as mediaConfirmResponseSchema, C as userDetailSchema, D as usersListQuery, Dt as fieldListResponseSchema, E as userUpdateBody, Et as createFieldBody, F as siteSettingsSchema, Ft as updateCollectionBody, G as taxonomyListResponseSchema, H as createTermBody, I as createSectionBody, It as updateFieldBody, J as termResponseSchema, Jt as mediaUploadUrlBody, K as termGetResponseSchema, Kt as mediaResponseSchema, L as sectionListResponseSchema, Lt as DEFAULT_MAX_UPLOAD_SIZE, Mn as successEnvelope, Mt as orphanedTableListResponseSchema, N as searchSuggestQuery, O as searchEnableBody, Ot as fieldReorderBody, P as settingsUpdateBody, Q as updateTermBody, Qt as contentItemSchema, R as sectionSchema, S as allowedDomainUpdateBody, Sn as apiErrorSchema, St as collectionResponseSchema, T as userSchema, Tn as deleteResponseSchema, Tt as createCollectionBody, Ut as mediaListQuery, Vt as mediaExistingResponseSchema, Wt as mediaListResponseSchema, Xt as contentCompareResponseSchema, Yt as mediaUploadUrlResponseSchema, Zt as contentCreateBody, _ as widgetAreaSchema, _t as createCommentBody, a as notFoundPruneBody, b as widgetSchema, bt as collectionGetQuery, ct as updateMenuBody, d as redirectsListQuery, dn as contentUpdateBody, dt as commentBulkBody, en as contentListResponseSchema, et as createMenuItemBody, f as updateRedirectBody, ft as commentBulkResponseSchema, g as updateWidgetBody, gt as commentStatusBody, h as reorderWidgetsBody, ht as commentSchema, i as notFoundListResponseSchema, in as contentScheduleBody, j as searchResponseSchema, jt as orphanRegisterBody, k as searchQuery, kt as fieldResponseSchema, l as redirectListResponseSchema, ln as contentTranslationsResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mt as commentListQuery, nn as contentPublishBody, ot as menuWithItemsSchema, p as createWidgetAreaBody, pn as trashedContentListResponseSchema, pt as commentCountsResponseSchema, q as termListResponseSchema, qt as mediaUpdateBody, r as notFoundListQuery, rn as contentResponseSchema, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentTermsBody, st as reorderMenuItemsBody, t as createRedirectBody, tt as menuItemSchema, u as redirectSchema, un as contentTrashQuery, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vt as publicCommentListResponseSchema, w as userListResponseSchema, wt as collectionWithFieldsResponseSchema, x as allowedDomainCreateBody, xt as collectionListResponseSchema, y as widgetAreaWithWidgetsSchema, z as sectionsListQuery, zt as mediaConfirmBody } from "../../../redirects-x5ol_Qj9.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-
|
|
16
|
+
import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-
|
|
16
|
+
import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { C as handleSchemaFieldReorder } from "../../../../../../../api-
|
|
16
|
+
import { C as handleSchemaFieldReorder } from "../../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-
|
|
16
|
+
import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-
|
|
16
|
+
import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { p as handleOrphanedTableRegister } from "../../../../../api-
|
|
16
|
+
import { p as handleOrphanedTableRegister } from "../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { f as handleOrphanedTableList } from "../../../../../api-
|
|
16
|
+
import { f as handleOrphanedTableList } from "../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
-
import { i as runMigrations } from "../../../../runner-
|
|
2
|
+
import { i as runMigrations } from "../../../../runner-DF2DgD_B.mjs";
|
|
3
3
|
import "../../../../content-DvpMad_N.mjs";
|
|
4
4
|
import "../../../../base64-C1Q9yr0B.mjs";
|
|
5
5
|
import "../../../../types-D1DjBFA9.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
-
import { i as runMigrations } from "../../../../runner-
|
|
2
|
+
import { i as runMigrations } from "../../../../runner-DF2DgD_B.mjs";
|
|
3
3
|
import "../../../../content-DvpMad_N.mjs";
|
|
4
4
|
import "../../../../base64-C1Q9yr0B.mjs";
|
|
5
5
|
import "../../../../types-D1DjBFA9.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "../../../../options-BF11H_FD.mjs";
|
|
2
|
-
import { n as VERSION } from "../../../../version-
|
|
2
|
+
import { n as VERSION } from "../../../../version-BH9FCDRu.mjs";
|
|
3
3
|
import { t as getAuthMode } from "../../../../mode-Bd55iLcP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/well-known/auth.ts
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as Database } from "../types-C-CMfzSl.mjs";
|
|
2
|
+
import { Kysely } from "kysely";
|
|
3
|
+
|
|
4
|
+
//#region src/astro/session-driver.d.ts
|
|
5
|
+
interface DinewaySessionDriver {
|
|
6
|
+
removeItem(key: string): Promise<void>;
|
|
7
|
+
getItem(key: string): Promise<unknown>;
|
|
8
|
+
setItem(key: string, value: unknown): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
type DinewaySessionDbFactory = () => Promise<Kysely<Database>>;
|
|
11
|
+
declare function createDinewaySessionDriver(dbFactory?: DinewaySessionDbFactory): DinewaySessionDriver;
|
|
12
|
+
declare function createSessionDriver(): DinewaySessionDriver;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { DinewaySessionDriver, createDinewaySessionDriver, createSessionDriver as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { i as currentTimestampValue } from "../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
+
import "../base64-C1Q9yr0B.mjs";
|
|
3
|
+
import "../types-D1DjBFA9.mjs";
|
|
4
|
+
import { r as getDb } from "../loader-p2imNN98.mjs";
|
|
5
|
+
|
|
6
|
+
//#region src/astro/session-driver.ts
|
|
7
|
+
function createDinewaySessionDriver(dbFactory = getDb) {
|
|
8
|
+
return {
|
|
9
|
+
async removeItem(key) {
|
|
10
|
+
await (await dbFactory()).deleteFrom("_dineway_sessions").where("id", "=", key).execute();
|
|
11
|
+
},
|
|
12
|
+
async getItem(key) {
|
|
13
|
+
return (await (await dbFactory()).selectFrom("_dineway_sessions").select("value").where("id", "=", key).executeTakeFirst())?.value ?? null;
|
|
14
|
+
},
|
|
15
|
+
async setItem(key, value) {
|
|
16
|
+
const db = await dbFactory();
|
|
17
|
+
const serialized = typeof value === "string" ? value : JSON.stringify(value);
|
|
18
|
+
await db.insertInto("_dineway_sessions").values({
|
|
19
|
+
id: key,
|
|
20
|
+
value: serialized
|
|
21
|
+
}).onConflict((oc) => oc.column("id").doUpdateSet({
|
|
22
|
+
value: serialized,
|
|
23
|
+
updated_at: currentTimestampValue(db)
|
|
24
|
+
})).execute();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function createSessionDriver() {
|
|
29
|
+
return createDinewaySessionDriver();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { createDinewaySessionDriver, createSessionDriver as default };
|
package/dist/astro/types.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as ContentItem } from "../types-DvwHUku7.mjs";
|
|
2
|
-
import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-
|
|
3
|
-
import { t as Database } from "../types-
|
|
2
|
+
import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-yK9bWV13.mjs";
|
|
3
|
+
import { t as Database } from "../types-C-CMfzSl.mjs";
|
|
4
4
|
import { A as PageMetadataContribution, D as PageFragmentContribution, X as ResolvedPlugin, ct as Element, q as PublicPageContext } from "../types-BIM7jwxr.mjs";
|
|
5
5
|
import "../types-BgE6gMFI.mjs";
|
|
6
6
|
import { l as MediaProvider, u as MediaProviderCapabilities } from "../types-cn-fvYQ1.mjs";
|
|
7
|
-
import "../runner-
|
|
8
|
-
import "../index-
|
|
9
|
-
import "../index-
|
|
7
|
+
import "../runner-FhUNNaqA.mjs";
|
|
8
|
+
import "../index-Ct0pjZwW.mjs";
|
|
9
|
+
import "../index-BwOO3vu2.mjs";
|
|
10
10
|
import { d as Storage } from "../types-BYjPylrZ.mjs";
|
|
11
|
-
import "../bylines-
|
|
11
|
+
import "../bylines-BnInIxUL.mjs";
|
|
12
12
|
import "../types-BBETcziA.mjs";
|
|
13
|
-
import "../validate-
|
|
13
|
+
import "../validate-CvQ6cvHH.mjs";
|
|
14
14
|
import "../index.mjs";
|
|
15
15
|
import { Kysely } from "kysely";
|
|
16
16
|
|