emdash 0.13.0 → 0.14.0
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/schemas/index.d.mts +1 -1
- package/dist/{api-ayIQ7rIe.mjs → api-BMLZuwM4.mjs} +5 -5
- package/dist/{api-ayIQ7rIe.mjs.map → api-BMLZuwM4.mjs.map} +1 -1
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +1 -1
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware.mjs +2 -2
- 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/registry/install.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/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/manifest.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/types.d.mts +2 -2
- package/dist/{bylines-C6eYUWlZ.d.mts → bylines-BdUP8NuI.d.mts} +10 -10
- package/dist/{bylines-C6eYUWlZ.d.mts.map → bylines-BdUP8NuI.d.mts.map} +1 -1
- package/dist/{index-UmOMt9T-.d.mts → index-BV8iJ-6s.d.mts} +2 -2
- package/dist/{index-UmOMt9T-.d.mts.map → index-BV8iJ-6s.d.mts.map} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/runtime.d.mts +2 -2
- package/dist/version-DNmQakZO.mjs +7 -0
- package/dist/{version-Dw7Z5PVU.mjs.map → version-DNmQakZO.mjs.map} +1 -1
- package/package.json +8 -8
- package/src/api/handlers/registry.ts +15 -18
- package/dist/version-Dw7Z5PVU.mjs +0 -7
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as siteSettingsSchema, $n as roleLevel, $t as collectionSchema, A as userDetailSchema, An as contentListResponseSchema, At as inviteCreateBody, B as importProbeBody, Bn as contentTrashQuery, Bt as adminCommentListResponseSchema, C as updateWidgetBody, Cn as mediaUpdateBody, Ct as menuTranslationsSchema, D as widgetSchema, Dn as contentCreateBody, Dt as updateMenuItemBody, E as widgetAreaWithWidgetsSchema, En as contentCompareResponseSchema, Et as updateMenuBody, F as atprotoLoginBody, Fn as contentSeoInput, Ft as passkeyRegisterVerifyBody, G as wpRewriteUrlsBody, Gn as apiErrorSchema, Gt as commentSchema, H as wpPluginAnalyzeBody, Hn as trashedContentItemSchema, Ht as commentBulkResponseSchema, I as setupAdminBody, In as contentSeoSchema, It as passkeyRenameBody, J as searchRebuildBody, Jn as deleteResponseSchema, Jt as publicCommentListResponseSchema, K as searchEnableBody, Kn as countResponseSchema, Kt as commentStatusBody, L as setupAdminVerifyBody, Ln as contentTermsBody, Lt as passkeyVerifyBody, M as userSchema, Mn as contentPublishBody, Mt as magicLinkSendBody, N as userUpdateBody, Nn as contentResponseSchema, Nt as passkeyOptionsBody, O as allowedDomainCreateBody, On as contentItemSchema, Ot as authMeActionBody, P as usersListQuery, Pn as contentScheduleBody, Pt as passkeyRegisterOptionsBody, Q as settingsUpdateBody, Qn as offsetPaginationQuery, Qt as collectionResponseSchema, R as setupAtprotoAdminBody, Rn as contentTranslationSchema, Rt as signupCompleteBody, S as reorderWidgetsBody, Sn as mediaResponseSchema, St as menuSchema, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaUploadUrlResponseSchema, Tt as reorderMenuItemsBody, U as wpPluginExecuteBody, Un as trashedContentListResponseSchema, Ut as commentCountsResponseSchema, V as wpMediaImportBody, Vn as contentUpdateBody, Vt as commentBulkBody, W as wpPrepareBody, Wn as VALID_ROLE_LEVELS, Wt as commentListQuery, X as searchResultSchema, Xn as localeCode, Xt as collectionGetQuery, Y as searchResponseSchema, Yn as httpUrl, Yt as publicCommentSchema, Z as searchSuggestQuery, Zn as localeFilterQuery, Zt as collectionListResponseSchema, _ as redirectSchema, _n as mediaExistingResponseSchema, _t as createMenuBody, a as bylineUpdateBody, an as fieldResponseSchema, at as createTaxonomyDefBody, b as createWidgetAreaBody, bn as mediaListResponseSchema, bt as menuItemTypeEnum, c as createRedirectBody, cn as orphanedTableListResponseSchema, ct as taxonomyDefTranslationsSchema, d as notFoundListResponseSchema, dn as updateCollectionBody, dt as termListResponseSchema, en as collectionWithFieldsResponseSchema, er as slugPattern, et as createSectionBody, f as notFoundPruneBody, fn as updateFieldBody, ft as termResponseSchema, g as redirectListResponseSchema, gn as mediaConfirmResponseSchema, gt as updateTermBody, h as notFoundSummarySchema, hn as mediaConfirmBody, ht as termWithCountSchema, i as bylineSummarySchema, in as fieldReorderBody, it as updateSectionBody, j as userListResponseSchema, jn as contentPreviewUrlBody, jt as inviteRegisterOptionsBody, k as allowedDomainUpdateBody, kn as contentListQuery, kt as inviteCompleteBody, l as notFoundEntrySchema, ln as orphanedTableSchema, lt as taxonomyListResponseSchema, m as notFoundSummaryResponseSchema, mn as formatFileSize, mt as termTranslationsSchema, n as bylineCreditSchema, nn as createFieldBody, nt as sectionSchema, o as bylinesListQuery, on as fieldSchema, ot as createTermBody, p as notFoundSummaryQuery, pn as DEFAULT_MAX_UPLOAD_SIZE, pt as termSchema, q as searchQuery, qn as cursorPaginationQuery, qt as createCommentBody, r as bylineListResponseSchema, rn as fieldListResponseSchema, rt as sectionsListQuery, s as contentBylineInputSchema, sn as orphanRegisterBody, st as taxonomyDefSchema, t as bylineCreateBody, tn as createCollectionBody, tr as successEnvelope, tt as sectionListResponseSchema, u as notFoundListQuery, un as schemaExportQuery, ut as termGetResponseSchema, v as redirectsListQuery, vn as mediaItemSchema, vt as createMenuItemBody, w as widgetAreaSchema, wn as mediaUploadUrlBody, wt as menuWithItemsSchema, x as createWidgetBody, xn as mediaProviderListQuery, xt as menuListItemSchema, y as updateRedirectBody, yn as mediaListQuery, yt as menuItemSchema, z as setupBody, zn as contentTranslationsResponseSchema, zt as signupRequestBody } from "../../bylines-
|
|
1
|
+
import { $ as siteSettingsSchema, $n as roleLevel, $t as collectionSchema, A as userDetailSchema, An as contentListResponseSchema, At as inviteCreateBody, B as importProbeBody, Bn as contentTrashQuery, Bt as adminCommentListResponseSchema, C as updateWidgetBody, Cn as mediaUpdateBody, Ct as menuTranslationsSchema, D as widgetSchema, Dn as contentCreateBody, Dt as updateMenuItemBody, E as widgetAreaWithWidgetsSchema, En as contentCompareResponseSchema, Et as updateMenuBody, F as atprotoLoginBody, Fn as contentSeoInput, Ft as passkeyRegisterVerifyBody, G as wpRewriteUrlsBody, Gn as apiErrorSchema, Gt as commentSchema, H as wpPluginAnalyzeBody, Hn as trashedContentItemSchema, Ht as commentBulkResponseSchema, I as setupAdminBody, In as contentSeoSchema, It as passkeyRenameBody, J as searchRebuildBody, Jn as deleteResponseSchema, Jt as publicCommentListResponseSchema, K as searchEnableBody, Kn as countResponseSchema, Kt as commentStatusBody, L as setupAdminVerifyBody, Ln as contentTermsBody, Lt as passkeyVerifyBody, M as userSchema, Mn as contentPublishBody, Mt as magicLinkSendBody, N as userUpdateBody, Nn as contentResponseSchema, Nt as passkeyOptionsBody, O as allowedDomainCreateBody, On as contentItemSchema, Ot as authMeActionBody, P as usersListQuery, Pn as contentScheduleBody, Pt as passkeyRegisterOptionsBody, Q as settingsUpdateBody, Qn as offsetPaginationQuery, Qt as collectionResponseSchema, R as setupAtprotoAdminBody, Rn as contentTranslationSchema, Rt as signupCompleteBody, S as reorderWidgetsBody, Sn as mediaResponseSchema, St as menuSchema, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaUploadUrlResponseSchema, Tt as reorderMenuItemsBody, U as wpPluginExecuteBody, Un as trashedContentListResponseSchema, Ut as commentCountsResponseSchema, V as wpMediaImportBody, Vn as contentUpdateBody, Vt as commentBulkBody, W as wpPrepareBody, Wn as VALID_ROLE_LEVELS, Wt as commentListQuery, X as searchResultSchema, Xn as localeCode, Xt as collectionGetQuery, Y as searchResponseSchema, Yn as httpUrl, Yt as publicCommentSchema, Z as searchSuggestQuery, Zn as localeFilterQuery, Zt as collectionListResponseSchema, _ as redirectSchema, _n as mediaExistingResponseSchema, _t as createMenuBody, a as bylineUpdateBody, an as fieldResponseSchema, at as createTaxonomyDefBody, b as createWidgetAreaBody, bn as mediaListResponseSchema, bt as menuItemTypeEnum, c as createRedirectBody, cn as orphanedTableListResponseSchema, ct as taxonomyDefTranslationsSchema, d as notFoundListResponseSchema, dn as updateCollectionBody, dt as termListResponseSchema, en as collectionWithFieldsResponseSchema, er as slugPattern, et as createSectionBody, f as notFoundPruneBody, fn as updateFieldBody, ft as termResponseSchema, g as redirectListResponseSchema, gn as mediaConfirmResponseSchema, gt as updateTermBody, h as notFoundSummarySchema, hn as mediaConfirmBody, ht as termWithCountSchema, i as bylineSummarySchema, in as fieldReorderBody, it as updateSectionBody, j as userListResponseSchema, jn as contentPreviewUrlBody, jt as inviteRegisterOptionsBody, k as allowedDomainUpdateBody, kn as contentListQuery, kt as inviteCompleteBody, l as notFoundEntrySchema, ln as orphanedTableSchema, lt as taxonomyListResponseSchema, m as notFoundSummaryResponseSchema, mn as formatFileSize, mt as termTranslationsSchema, n as bylineCreditSchema, nn as createFieldBody, nt as sectionSchema, o as bylinesListQuery, on as fieldSchema, ot as createTermBody, p as notFoundSummaryQuery, pn as DEFAULT_MAX_UPLOAD_SIZE, pt as termSchema, q as searchQuery, qn as cursorPaginationQuery, qt as createCommentBody, r as bylineListResponseSchema, rn as fieldListResponseSchema, rt as sectionsListQuery, s as contentBylineInputSchema, sn as orphanRegisterBody, st as taxonomyDefSchema, t as bylineCreateBody, tn as createCollectionBody, tr as successEnvelope, tt as sectionListResponseSchema, u as notFoundListQuery, un as schemaExportQuery, ut as termGetResponseSchema, v as redirectsListQuery, vn as mediaItemSchema, vt as createMenuItemBody, w as widgetAreaSchema, wn as mediaUploadUrlBody, wt as menuWithItemsSchema, x as createWidgetBody, xn as mediaProviderListQuery, xt as menuListItemSchema, y as updateRedirectBody, yn as mediaListQuery, yt as menuItemSchema, z as setupBody, zn as contentTranslationsResponseSchema, zt as signupRequestBody } from "../../bylines-BdUP8NuI.mjs";
|
|
2
2
|
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, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, 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, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, 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 };
|
|
@@ -3817,8 +3817,8 @@ async function handleRegistryInstall(db, storage, sandboxRunner, registryConfigI
|
|
|
3817
3817
|
};
|
|
3818
3818
|
}
|
|
3819
3819
|
const release = releaseView.release;
|
|
3820
|
-
const declaredUrl = release
|
|
3821
|
-
const declaredChecksum = release
|
|
3820
|
+
const declaredUrl = release?.artifacts?.package?.url;
|
|
3821
|
+
const declaredChecksum = release?.artifacts?.package?.checksum;
|
|
3822
3822
|
if (!declaredUrl || !declaredChecksum) return {
|
|
3823
3823
|
success: false,
|
|
3824
3824
|
error: {
|
|
@@ -3887,8 +3887,8 @@ async function handleRegistryInstall(db, storage, sandboxRunner, registryConfigI
|
|
|
3887
3887
|
try {
|
|
3888
3888
|
await stateRepo.upsert(pluginId, version, "active", {
|
|
3889
3889
|
source: "registry",
|
|
3890
|
-
displayName: profile
|
|
3891
|
-
description: profile
|
|
3890
|
+
displayName: profile?.name ?? slug,
|
|
3891
|
+
description: profile?.description ?? void 0,
|
|
3892
3892
|
registryPublisherDid: publisherDid,
|
|
3893
3893
|
registrySlug: slug
|
|
3894
3894
|
});
|
|
@@ -3938,4 +3938,4 @@ async function handleRegistryInstall(db, storage, sandboxRunner, registryConfigI
|
|
|
3938
3938
|
|
|
3939
3939
|
//#endregion
|
|
3940
3940
|
export { handleContentSchedule as $, handleMediaCreate as A, handleContentCountScheduled as B, handleSchemaCollectionUpdate as C, handleSchemaFieldList as D, handleSchemaFieldGet as E, handleRevisionGet as F, handleContentDuplicate as G, handleContentCreate as H, handleRevisionList as I, handleContentList as J, handleContentGet as K, handleRevisionRestore as L, handleMediaGet as M, handleMediaList as N, handleSchemaFieldReorder as O, handleMediaUpdate as P, handleContentRestore as Q, generateManifest as R, handleSchemaCollectionList as S, handleSchemaFieldDelete as T, handleContentDelete as U, handleContentCountTrashed as V, handleContentDiscardDraft as W, handleContentPermanentDelete as X, handleContentListTrashed as Y, handleContentPublish as Z, handleOrphanedTableList as _, handleMarketplaceSearch as a, handleSchemaCollectionDelete as b, handleMarketplaceUpdateCheck as c, loadBundleFromR2 as d, handleContentTranslations as et, handlePluginDisable as f, PluginStateRepository as g, handlePluginList as h, handleMarketplaceInstall as i, validateRev as it, handleMediaDelete as j, handleSchemaFieldUpdate as k, handleThemeGetDetail as l, handlePluginGet as m, normalizeRegistryConfig as n, handleContentUnschedule as nt, handleMarketplaceUninstall as o, handlePluginEnable as p, handleContentGetIncludingTrashed as q, handleMarketplaceGetPlugin as r, handleContentUpdate as rt, handleMarketplaceUpdate as s, handleRegistryInstall as t, handleContentUnpublish as tt, handleThemeSearch as u, handleOrphanedTableRegister as v, handleSchemaFieldCreate as w, handleSchemaCollectionGet as x, handleSchemaCollectionCreate as y, handleContentCompare as z };
|
|
3941
|
-
//# sourceMappingURL=api-
|
|
3941
|
+
//# sourceMappingURL=api-BMLZuwM4.mjs.map
|