@nexpress/core 0.2.2 → 0.3.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.
Files changed (37) hide show
  1. package/dist/auth.d.ts +2 -2
  2. package/dist/{chunk-KSUS4UNN.js → chunk-4EPNN4XG.js} +2 -2
  3. package/dist/{chunk-CTUHJHLH.js → chunk-DPRBHEHI.js} +2 -2
  4. package/dist/{chunk-7GNVXRLG.js → chunk-EVOBLRHW.js} +2 -2
  5. package/dist/{chunk-S37WWNBB.js → chunk-HTDDXBMY.js} +6 -6
  6. package/dist/{chunk-L4F5RAQ5.js → chunk-QSJIKNQJ.js} +6 -6
  7. package/dist/{chunk-5LCLS6VE.js → chunk-TD4KNSEP.js} +2 -2
  8. package/dist/community.d.ts +1 -1
  9. package/dist/community.js +3 -3
  10. package/dist/{config-65OBL4YH.js → config-2Y2YGD25.js} +3 -3
  11. package/dist/db-schema.d.ts +2 -2
  12. package/dist/db.d.ts +3 -3
  13. package/dist/{host-55D6RX3U.js → host-YSADWU7J.js} +2 -2
  14. package/dist/i18n.d.ts +1 -1
  15. package/dist/{index-BpW3PGhP.d.ts → index-7_PBSyOq.d.ts} +1 -1
  16. package/dist/{index-BWsQUGRZ.d.ts → index-9IhVtFfA.d.ts} +2 -2
  17. package/dist/{index-Ccw0AkXh.d.ts → index-CXuqW_Gl.d.ts} +1 -1
  18. package/dist/{index-D6Q7DOl7.d.ts → index-ClcinJ29.d.ts} +1 -1
  19. package/dist/index.d.ts +7 -7
  20. package/dist/index.js +10 -9
  21. package/dist/index.js.map +1 -1
  22. package/dist/jobs.d.ts +2 -2
  23. package/dist/jobs.js +1 -1
  24. package/dist/media.d.ts +2 -2
  25. package/dist/{scheduled-UC7O2HBQ.js → scheduled-F77QCDOG.js} +3 -3
  26. package/dist/seo.js +2 -2
  27. package/dist/{types-C-r01wmU.d.ts → types-DI3gxsiY.d.ts} +18 -0
  28. package/package.json +1 -1
  29. /package/dist/{chunk-KSUS4UNN.js.map → chunk-4EPNN4XG.js.map} +0 -0
  30. /package/dist/{chunk-CTUHJHLH.js.map → chunk-DPRBHEHI.js.map} +0 -0
  31. /package/dist/{chunk-7GNVXRLG.js.map → chunk-EVOBLRHW.js.map} +0 -0
  32. /package/dist/{chunk-S37WWNBB.js.map → chunk-HTDDXBMY.js.map} +0 -0
  33. /package/dist/{chunk-L4F5RAQ5.js.map → chunk-QSJIKNQJ.js.map} +0 -0
  34. /package/dist/{chunk-5LCLS6VE.js.map → chunk-TD4KNSEP.js.map} +0 -0
  35. /package/dist/{config-65OBL4YH.js.map → config-2Y2YGD25.js.map} +0 -0
  36. /package/dist/{host-55D6RX3U.js.map → host-YSADWU7J.js.map} +0 -0
  37. /package/dist/{scheduled-UC7O2HBQ.js.map → scheduled-F77QCDOG.js.map} +0 -0
package/dist/jobs.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { D as DEFAULT_JOB_LOG_RETENTION_MS, L as ListJobLogsOptions, N as NpJobCountOptions, a as NpJobHandler, b as NpJobListOptions, c as NpJobListResult, d as NpJobLogEntry, e as NpJobQueue, f as NpJobState, g as NpJobStateCounts, h as NpJobSummary, i as NpJobsPauseState, j as NpPluginScheduleStats, k as NpReconcileSchedulesResult, l as NpScheduleSummary, m as NpWorkerHealthSummary, n as NpWorkerHeartbeat, P as PAUSE_SYNC_INTERVAL_MS, o as PgBossAdapter, S as SetJobsPauseStateInput, W as WORKER_HEARTBEAT_INTERVAL_MS, p as WORKER_STALE_THRESHOLD_MS, r as countAliveWorkers, s as countJobLogs, t as enqueueJob, u as getAllJobHandlers, v as getCurrentJobId, w as getJobHandler, x as getJobQueue, y as getJobsPauseState, z as getOptionalJobQueue, A as listJobLogs, B as listWorkerHealth, C as markWorkerStopped, E as pruneJobLogsOlderThan, F as purgeStaleWorkers, G as recordHeartbeat, H as recordJobLog, I as registerBuiltinHandlers, J as registerJobHandler, K as runInJobContext, M as setJobQueue, O as setJobsPauseState, Q as startProducer, R as startWorker, T as stopProducer, U as stopWorker } from './index-BpW3PGhP.js';
2
- import './types-C-r01wmU.js';
1
+ export { D as DEFAULT_JOB_LOG_RETENTION_MS, L as ListJobLogsOptions, N as NpJobCountOptions, a as NpJobHandler, b as NpJobListOptions, c as NpJobListResult, d as NpJobLogEntry, e as NpJobQueue, f as NpJobState, g as NpJobStateCounts, h as NpJobSummary, i as NpJobsPauseState, j as NpPluginScheduleStats, k as NpReconcileSchedulesResult, l as NpScheduleSummary, m as NpWorkerHealthSummary, n as NpWorkerHeartbeat, P as PAUSE_SYNC_INTERVAL_MS, o as PgBossAdapter, S as SetJobsPauseStateInput, W as WORKER_HEARTBEAT_INTERVAL_MS, p as WORKER_STALE_THRESHOLD_MS, r as countAliveWorkers, s as countJobLogs, t as enqueueJob, u as getAllJobHandlers, v as getCurrentJobId, w as getJobHandler, x as getJobQueue, y as getJobsPauseState, z as getOptionalJobQueue, A as listJobLogs, B as listWorkerHealth, C as markWorkerStopped, E as pruneJobLogsOlderThan, F as purgeStaleWorkers, G as recordHeartbeat, H as recordJobLog, I as registerBuiltinHandlers, J as registerJobHandler, K as runInJobContext, M as setJobQueue, O as setJobsPauseState, Q as startProducer, R as startWorker, T as stopProducer, U as stopWorker } from './index-7_PBSyOq.js';
2
+ import './types-DI3gxsiY.js';
3
3
  import 'pg-boss';
4
4
  import './logger-DqGaOU_j.js';
package/dist/jobs.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  startWorker,
19
19
  stopProducer,
20
20
  stopWorker
21
- } from "./chunk-L4F5RAQ5.js";
21
+ } from "./chunk-QSJIKNQJ.js";
22
22
  import {
23
23
  DEFAULT_JOB_LOG_RETENTION_MS,
24
24
  countJobLogs,
package/dist/media.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { D as DEFAULT_IMAGE_SIZES, q as DrizzleTransactionLike, b as NpGetMediaUrlOptions, c as NpMediaUploader, d as NpMediaUploaderKindFilter, e as NpMediaVariantName, f as NpProcessedImageResult, r as NpProcessedImageSourceMetadata, g as NpProcessedImageVariant, h as cleanupDeletedMedia, i as deleteMedia, j as extractMediaIds, k as getMediaById, l as getMediaUrl, m as getStorageAdapter, n as listMedia, p as processImage, o as processMediaImage, s as setStorageAdapter, t as syncMediaRefs, u as uploadMedia } from './index-D6Q7DOl7.js';
2
- import './types-C-r01wmU.js';
1
+ export { D as DEFAULT_IMAGE_SIZES, q as DrizzleTransactionLike, b as NpGetMediaUrlOptions, c as NpMediaUploader, d as NpMediaUploaderKindFilter, e as NpMediaVariantName, f as NpProcessedImageResult, r as NpProcessedImageSourceMetadata, g as NpProcessedImageVariant, h as cleanupDeletedMedia, i as deleteMedia, j as extractMediaIds, k as getMediaById, l as getMediaUrl, m as getStorageAdapter, n as listMedia, p as processImage, o as processMediaImage, s as setStorageAdapter, t as syncMediaRefs, u as uploadMedia } from './index-ClcinJ29.js';
2
+ import './types-DI3gxsiY.js';
3
3
  import 'drizzle-orm';
4
4
  import 'drizzle-orm/pg-core';
5
5
  import 'node:stream/web';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  publishScheduledDocuments
3
- } from "./chunk-KSUS4UNN.js";
4
- import "./chunk-S37WWNBB.js";
3
+ } from "./chunk-4EPNN4XG.js";
4
+ import "./chunk-HTDDXBMY.js";
5
5
  import "./chunk-4ZLMEKFX.js";
6
6
  import "./chunk-U4QCCLAW.js";
7
7
  import "./chunk-ZCINJSS4.js";
@@ -17,4 +17,4 @@ import "./chunk-PZ5AY32C.js";
17
17
  export {
18
18
  publishScheduledDocuments
19
19
  };
20
- //# sourceMappingURL=scheduled-UC7O2HBQ.js.map
20
+ //# sourceMappingURL=scheduled-F77QCDOG.js.map
package/dist/seo.js CHANGED
@@ -12,8 +12,8 @@ import {
12
12
  renderSitemapIndexXml,
13
13
  renderSitemapXml,
14
14
  validateSeoSettingsPatch
15
- } from "./chunk-CTUHJHLH.js";
16
- import "./chunk-S37WWNBB.js";
15
+ } from "./chunk-DPRBHEHI.js";
16
+ import "./chunk-HTDDXBMY.js";
17
17
  import "./chunk-4ZLMEKFX.js";
18
18
  import "./chunk-U4QCCLAW.js";
19
19
  import "./chunk-ZCINJSS4.js";
@@ -361,6 +361,24 @@ interface NpCollectionConfig {
361
361
  * default so a typo can't break the sidebar render.
362
362
  */
363
363
  icon?: string;
364
+ /**
365
+ * Framework-set. Stamped by `mergeThemeRequirements` on
366
+ * collections it synthesised via a theme's
367
+ * `requires.collections.<slug>.createIfAbsent: true`. The
368
+ * admin sidebar uses it to hide collections whose owning
369
+ * theme isn't active — the bundled-themes prebake puts
370
+ * EVERY built-in theme's `createIfAbsent` slug into the
371
+ * schema so swap-from-admin is migration-free, but the
372
+ * operator shouldn't see `authors` in the sidebar while
373
+ * running the docs theme.
374
+ *
375
+ * NEVER set this by hand from operator config. The
376
+ * underscore is intentional — it marks "this is the
377
+ * framework's view of the config, not the operator's
378
+ * intent". Operator-declared collections (slug exists
379
+ * before merge) keep this unset and always show.
380
+ */
381
+ _themeOrigin?: string;
364
382
  };
365
383
  upload?: NpUploadConfig;
366
384
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexpress/core",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Server-side core for NexPress — collections pipeline, auth, jobs, media, plugins, observability.",
5
5
  "license": "MIT",
6
6
  "author": "Nexpress",