create-nextblock 0.17.0 → 0.17.1
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/package.json +1 -1
- package/templates/nextblock-template/app/api/cron/reset-sandbox/route.ts +4 -2
- package/templates/nextblock-template/app/api/cron/reset-sandbox/sandboxResetSql.ts +8152 -7044
- package/templates/nextblock-template/docs/02-ECOMMERCE-CAPABILITIES.md +1 -1
- package/templates/nextblock-template/docs/03-CMS-AND-EDITOR.md +1 -1
- package/templates/nextblock-template/docs/04-DATABASE-AND-AUTH.md +402 -293
- package/templates/nextblock-template/docs/05-DEVELOPER-GUIDE.md +15 -8
- package/templates/nextblock-template/docs/08-NEXTBLOCK-CORTEX-AI-ARCHITECTURE.md +5 -5
- package/templates/nextblock-template/docs/10-CUSTOM-BLOCKS.md +1 -1
- package/templates/nextblock-template/docs/11-SELF-HOSTED-DOCKER.md +4 -1
- package/templates/nextblock-template/docs/13-STAYING-UP-TO-DATE.md +8 -0
- package/templates/nextblock-template/docs/14-MESSAGES-INBOX.md +2 -2
- package/templates/nextblock-template/docs/TECHNICAL_SPECIFICATION.md +95 -104
- package/templates/nextblock-template/lib/seo/redirect-store.ts +3 -2
- package/templates/nextblock-template/lib/setup/migrations-bundle.ts +15 -205
- package/templates/nextblock-template/package.json +1 -1
|
@@ -89,7 +89,7 @@ persisting.
|
|
|
89
89
|
### Scheduled sales, price changes, and promotions
|
|
90
90
|
|
|
91
91
|
Products and variants carry a scheduled-pricing layer (migration
|
|
92
|
-
`
|
|
92
|
+
`libs/db/src/supabase/migrations/02001_baseline_schema.sql` (originally `00000000000025_add_sale_schedule_columns`, folded in by the generation-2 squash)):
|
|
93
93
|
|
|
94
94
|
- `sale_start_at` / `sale_end_at` — the time window during which `sale_price` /
|
|
95
95
|
`sale_prices` apply. Both null = always-on (back-compat with static sales).
|
|
@@ -47,7 +47,7 @@ The authoritative type list is `apps/nextblock/lib/blocks/blockTypes.ts`
|
|
|
47
47
|
A `section` block can contain nested column block arrays, so the page builder
|
|
48
48
|
supports multi-column compositions instead of only flat block lists. Legacy
|
|
49
49
|
`hero` blocks were folded into `section` (carrying an `is_hero` flag) by
|
|
50
|
-
migration `
|
|
50
|
+
migration `libs/db/src/supabase/migrations/02004_baseline_seed.sql` (originally `00000000000021_migrate_hero_blocks_to_sections`, folded in by the generation-2 squash), so `hero` is no
|
|
51
51
|
longer a standalone registered block type.
|
|
52
52
|
|
|
53
53
|
### How the CMS uses the registry
|