@nextblock-cms/db 0.11.3 → 0.12.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/lib/supabase/server.d.ts +9 -0
- package/lib/supabase/types.d.ts +9 -0
- package/package.json +1 -1
- package/supabase/migrations/00000000000000_baseline_schema.sql +2454 -0
- package/supabase/migrations/00000000000001_baseline_constraints_and_indexes.sql +1071 -0
- package/supabase/migrations/00000000000002_baseline_security_and_grants.sql +1335 -0
- package/supabase/migrations/00000000000003_baseline_seed.sql +468 -0
- package/supabase/migrations/00000000000004_default_logo_email_safe.sql +24 -0
- package/supabase/migrations/00000000000005_add_custom_canonical.sql +13 -0
- package/supabase/migrations/00000000000006_home_live_demo_promo.sql +67 -0
- package/supabase/templates/confirmation.html +1 -1
- package/supabase/templates/email_change.html +1 -1
- package/supabase/templates/invite.html +1 -1
- package/supabase/templates/magic_link.html +1 -1
- package/supabase/templates/reauthentication.html +1 -1
- package/supabase/templates/recovery.html +1 -1
- package/supabase/migrations/00000000000000_setup_foundation_and_enums.sql +0 -40
- package/supabase/migrations/00000000000001_setup_cms_core.sql +0 -124
- package/supabase/migrations/00000000000002_setup_content_tables.sql +0 -138
- package/supabase/migrations/00000000000003_setup_catalog_and_licensing.sql +0 -160
- package/supabase/migrations/00000000000004_setup_fulfillment_shipping_taxes_and_currencies.sql +0 -797
- package/supabase/migrations/00000000000005_setup_functions_and_triggers.sql +0 -767
- package/supabase/migrations/00000000000006_setup_rls_and_grants.sql +0 -872
- package/supabase/migrations/00000000000007_setup_indexes.sql +0 -158
- package/supabase/migrations/00000000000008_seed_platform_defaults.sql +0 -155
- package/supabase/migrations/00000000000009_seed_translations.sql +0 -801
- package/supabase/migrations/00000000000010_seed_content_scaffold.sql +0 -1088
- package/supabase/migrations/00000000000011_setup_cortex_ai_settings.sql +0 -81
- package/supabase/migrations/00000000000012_setup_commerce_coupons.sql +0 -275
- package/supabase/migrations/00000000000013_setup_cortex_ai_db_mutation_audit.sql +0 -47
- package/supabase/migrations/00000000000014_setup_content_drafts.sql +0 -119
- package/supabase/migrations/00000000000015_setup_product_drafts.sql +0 -97
- package/supabase/migrations/00000000000016_add_feature_image_to_pages.sql +0 -8
- package/supabase/migrations/00000000000017_add_product_blocks.sql +0 -118
- package/supabase/migrations/00000000000018_setup_bot_protection_settings.sql +0 -77
- package/supabase/migrations/00000000000019_add_product_categories.sql +0 -64
- package/supabase/migrations/00000000000020_add_category_translations.sql +0 -10
- package/supabase/migrations/00000000000021_migrate_hero_blocks_to_sections.sql +0 -29
- package/supabase/migrations/00000000000022_seed_cortex_ai_guide_post.sql +0 -184
- package/supabase/migrations/00000000000023_setup_custom_block_definitions.sql +0 -183
- package/supabase/migrations/00000000000024_setup_ucp_cart_sessions.sql +0 -72
- package/supabase/migrations/00000000000025_add_sale_schedule_columns.sql +0 -406
- package/supabase/migrations/00000000000026_seed_on_sale_translation.sql +0 -9
- package/supabase/migrations/00000000000027_setup_privacy_and_mfa.sql +0 -479
- package/supabase/migrations/00000000000028_clear_advisor_warnings.sql +0 -93
- package/supabase/migrations/00000000000029_refresh_setup_article.sql +0 -252
- package/supabase/migrations/00000000000030_setup_system_configuration.sql +0 -80
- package/supabase/migrations/00000000000031_seed_footer_navigation.sql +0 -85
- package/supabase/migrations/00000000000032_neutralize_seeded_contact_emails.sql +0 -34
- package/supabase/migrations/00000000000033_setup_config_settings.sql +0 -99
- package/supabase/migrations/00000000000034_enable_staff_2fa_reminder_default.sql +0 -15
- package/supabase/migrations/00000000000035_reassert_advisor_fixes.sql +0 -33
- package/supabase/migrations/00000000000036_setup_system_alerts.sql +0 -72
- package/supabase/migrations/00000000000037_refresh_setup_article_install_paths.sql +0 -317
- package/supabase/migrations/00000000000038_seed_consent_banner_translations.sql +0 -126
- package/supabase/migrations/00000000000039_setup_interactions.sql +0 -153
- package/supabase/migrations/00000000000040_add_profiles_fk_to_interactions.sql +0 -8
- package/supabase/migrations/00000000000041_seed_interactions_translations.sql +0 -145
- package/supabase/migrations/00000000000042_seed_deploy_to_vercel_ctas.sql +0 -72
- package/supabase/migrations/00000000000043_swap_home_hero_media_to_youtube.sql +0 -42
- package/supabase/migrations/00000000000044_swap_article_nx_graph_for_youtube.sql +0 -66
package/lib/supabase/server.d.ts
CHANGED
|
@@ -1077,6 +1077,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1077
1077
|
Row: {
|
|
1078
1078
|
author_id: string | null;
|
|
1079
1079
|
created_at: string;
|
|
1080
|
+
custom_canonical: string | null;
|
|
1080
1081
|
feature_image_id: string | null;
|
|
1081
1082
|
id: number;
|
|
1082
1083
|
language_id: number;
|
|
@@ -1092,6 +1093,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1092
1093
|
Insert: {
|
|
1093
1094
|
author_id?: string | null;
|
|
1094
1095
|
created_at?: string;
|
|
1096
|
+
custom_canonical?: string | null;
|
|
1095
1097
|
feature_image_id?: string | null;
|
|
1096
1098
|
id?: number;
|
|
1097
1099
|
language_id: number;
|
|
@@ -1107,6 +1109,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1107
1109
|
Update: {
|
|
1108
1110
|
author_id?: string | null;
|
|
1109
1111
|
created_at?: string;
|
|
1112
|
+
custom_canonical?: string | null;
|
|
1110
1113
|
feature_image_id?: string | null;
|
|
1111
1114
|
id?: number;
|
|
1112
1115
|
language_id?: number;
|
|
@@ -1185,6 +1188,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1185
1188
|
Row: {
|
|
1186
1189
|
author_id: string | null;
|
|
1187
1190
|
created_at: string;
|
|
1191
|
+
custom_canonical: string | null;
|
|
1188
1192
|
excerpt: string | null;
|
|
1189
1193
|
feature_image_id: string | null;
|
|
1190
1194
|
id: number;
|
|
@@ -1204,6 +1208,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1204
1208
|
Insert: {
|
|
1205
1209
|
author_id?: string | null;
|
|
1206
1210
|
created_at?: string;
|
|
1211
|
+
custom_canonical?: string | null;
|
|
1207
1212
|
excerpt?: string | null;
|
|
1208
1213
|
feature_image_id?: string | null;
|
|
1209
1214
|
id?: number;
|
|
@@ -1223,6 +1228,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1223
1228
|
Update: {
|
|
1224
1229
|
author_id?: string | null;
|
|
1225
1230
|
created_at?: string;
|
|
1231
|
+
custom_canonical?: string | null;
|
|
1226
1232
|
excerpt?: string | null;
|
|
1227
1233
|
feature_image_id?: string | null;
|
|
1228
1234
|
id?: number;
|
|
@@ -1593,6 +1599,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1593
1599
|
Row: {
|
|
1594
1600
|
average_rating: number;
|
|
1595
1601
|
created_at: string | null;
|
|
1602
|
+
custom_canonical: string | null;
|
|
1596
1603
|
description_json: import('./types').Json | null;
|
|
1597
1604
|
freemius_plan_id: string | null;
|
|
1598
1605
|
freemius_product_id: string | null;
|
|
@@ -1629,6 +1636,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1629
1636
|
Insert: {
|
|
1630
1637
|
average_rating?: number;
|
|
1631
1638
|
created_at?: string | null;
|
|
1639
|
+
custom_canonical?: string | null;
|
|
1632
1640
|
description_json?: import('./types').Json | null;
|
|
1633
1641
|
freemius_plan_id?: string | null;
|
|
1634
1642
|
freemius_product_id?: string | null;
|
|
@@ -1665,6 +1673,7 @@ export declare const getServiceRoleSupabaseClient: () => import('@supabase/supab
|
|
|
1665
1673
|
Update: {
|
|
1666
1674
|
average_rating?: number;
|
|
1667
1675
|
created_at?: string | null;
|
|
1676
|
+
custom_canonical?: string | null;
|
|
1668
1677
|
description_json?: import('./types').Json | null;
|
|
1669
1678
|
freemius_plan_id?: string | null;
|
|
1670
1679
|
freemius_product_id?: string | null;
|
package/lib/supabase/types.d.ts
CHANGED
|
@@ -1116,6 +1116,7 @@ export type Database = {
|
|
|
1116
1116
|
Row: {
|
|
1117
1117
|
author_id: string | null;
|
|
1118
1118
|
created_at: string;
|
|
1119
|
+
custom_canonical: string | null;
|
|
1119
1120
|
feature_image_id: string | null;
|
|
1120
1121
|
id: number;
|
|
1121
1122
|
language_id: number;
|
|
@@ -1131,6 +1132,7 @@ export type Database = {
|
|
|
1131
1132
|
Insert: {
|
|
1132
1133
|
author_id?: string | null;
|
|
1133
1134
|
created_at?: string;
|
|
1135
|
+
custom_canonical?: string | null;
|
|
1134
1136
|
feature_image_id?: string | null;
|
|
1135
1137
|
id?: number;
|
|
1136
1138
|
language_id: number;
|
|
@@ -1146,6 +1148,7 @@ export type Database = {
|
|
|
1146
1148
|
Update: {
|
|
1147
1149
|
author_id?: string | null;
|
|
1148
1150
|
created_at?: string;
|
|
1151
|
+
custom_canonical?: string | null;
|
|
1149
1152
|
feature_image_id?: string | null;
|
|
1150
1153
|
id?: number;
|
|
1151
1154
|
language_id?: number;
|
|
@@ -1231,6 +1234,7 @@ export type Database = {
|
|
|
1231
1234
|
Row: {
|
|
1232
1235
|
author_id: string | null;
|
|
1233
1236
|
created_at: string;
|
|
1237
|
+
custom_canonical: string | null;
|
|
1234
1238
|
excerpt: string | null;
|
|
1235
1239
|
feature_image_id: string | null;
|
|
1236
1240
|
id: number;
|
|
@@ -1250,6 +1254,7 @@ export type Database = {
|
|
|
1250
1254
|
Insert: {
|
|
1251
1255
|
author_id?: string | null;
|
|
1252
1256
|
created_at?: string;
|
|
1257
|
+
custom_canonical?: string | null;
|
|
1253
1258
|
excerpt?: string | null;
|
|
1254
1259
|
feature_image_id?: string | null;
|
|
1255
1260
|
id?: number;
|
|
@@ -1269,6 +1274,7 @@ export type Database = {
|
|
|
1269
1274
|
Update: {
|
|
1270
1275
|
author_id?: string | null;
|
|
1271
1276
|
created_at?: string;
|
|
1277
|
+
custom_canonical?: string | null;
|
|
1272
1278
|
excerpt?: string | null;
|
|
1273
1279
|
feature_image_id?: string | null;
|
|
1274
1280
|
id?: number;
|
|
@@ -1659,6 +1665,7 @@ export type Database = {
|
|
|
1659
1665
|
Row: {
|
|
1660
1666
|
average_rating: number;
|
|
1661
1667
|
created_at: string | null;
|
|
1668
|
+
custom_canonical: string | null;
|
|
1662
1669
|
description_json: Json | null;
|
|
1663
1670
|
freemius_plan_id: string | null;
|
|
1664
1671
|
freemius_product_id: string | null;
|
|
@@ -1695,6 +1702,7 @@ export type Database = {
|
|
|
1695
1702
|
Insert: {
|
|
1696
1703
|
average_rating?: number;
|
|
1697
1704
|
created_at?: string | null;
|
|
1705
|
+
custom_canonical?: string | null;
|
|
1698
1706
|
description_json?: Json | null;
|
|
1699
1707
|
freemius_plan_id?: string | null;
|
|
1700
1708
|
freemius_product_id?: string | null;
|
|
@@ -1731,6 +1739,7 @@ export type Database = {
|
|
|
1731
1739
|
Update: {
|
|
1732
1740
|
average_rating?: number;
|
|
1733
1741
|
created_at?: string | null;
|
|
1742
|
+
custom_canonical?: string | null;
|
|
1734
1743
|
description_json?: Json | null;
|
|
1735
1744
|
freemius_plan_id?: string | null;
|
|
1736
1745
|
freemius_product_id?: string | null;
|