@@ -13,44 +13,44 @@ if (missingVars.length > 0) {
1313
1414module . exports = {
1515 // Stack configuration
16- stack : {
17- api_key : process . env . API_KEY ,
18- delivery_token : process . env . DELIVERY_TOKEN ,
16+ stack : {
17+ api_key : process . env . API_KEY ,
18+ delivery_token : process . env . DELIVERY_TOKEN ,
1919 environment : process . env . ENVIRONMENT ,
20- branch : process . env . BRANCH_UID || 'main' // Branch is part of Stack config
20+ branch : process . env . BRANCH_UID || 'main' // Branch is part of Stack config
2121 } ,
2222 host : process . env . HOST ,
23-
23+
2424 // Additional tokens for comprehensive tests
2525 managementToken : process . env . MANAGEMENT_TOKEN ,
2626 previewToken : process . env . PREVIEW_TOKEN ,
2727 livePreviewHost : process . env . LIVE_PREVIEW_HOST ,
28-
28+
2929 // Branch configuration (also available separately for reference)
3030 branch : process . env . BRANCH_UID || 'main' ,
31-
31+
3232 // LEGACY content types (keep for backward compatibility)
3333 contentTypes : {
3434 source : 'source' ,
3535 numbers_content_type : 'numbers_content_type'
3636 } ,
37-
37+
3838 // Content Types (UIDs from environment variables)
3939 complexContentTypes : {
4040 // Complexity level shortcuts
4141 complex : process . env . COMPLEX_CONTENT_TYPE_UID ,
4242 medium : process . env . MEDIUM_CONTENT_TYPE_UID ,
4343 simple : process . env . SIMPLE_CONTENT_TYPE_UID ,
4444 selfReferencing : process . env . SELF_REF_CONTENT_TYPE_UID ,
45-
45+
4646 // Generic content type names (all values from env vars, keys are generic)
4747 article : process . env . MEDIUM_CONTENT_TYPE_UID ,
4848 author : process . env . SIMPLE_CONTENT_TYPE_UID ,
4949 cybersecurity : process . env . COMPLEX_CONTENT_TYPE_UID ,
50- section_builder : process . env . SELF_REF_CONTENT_TYPE_UID , // Alias for selfReferencing
51- page_builder : 'page_builder' // Standard content type for modular blocks testing
50+ section_builder : process . env . SELF_REF_CONTENT_TYPE_UID , // Alias for selfReferencing
51+ page_builder : 'page_builder' // Standard content type for modular blocks testing
5252 } ,
53-
53+
5454 // Test Entry UIDs (all from environment variables)
5555 testEntries : {
5656 complex : process . env . COMPLEX_ENTRY_UID ,
@@ -59,17 +59,17 @@ module.exports = {
5959 selfReferencing : process . env . SELF_REF_ENTRY_UID ,
6060 complexBlocks : process . env . COMPLEX_BLOCKS_ENTRY_UID
6161 } ,
62-
62+
6363 // Variant configuration
6464 variants : {
6565 variantUID : process . env . VARIANT_UID
6666 } ,
67-
67+
6868 // Asset configuration
6969 assets : {
7070 imageUID : process . env . IMAGE_ASSET_UID
7171 } ,
72-
72+
7373 // Taxonomy configuration (generic country-based taxonomies with terms from .env)
7474 taxonomies : {
7575 usa : {
@@ -81,25 +81,25 @@ module.exports = {
8181 term : process . env . TAX_INDIA_STATE
8282 }
8383 } ,
84-
84+
8585 // Locale configurations (standard/common locale codes)
8686 locales : {
8787 primary : 'en-us' ,
8888 secondary : 'fr-fr' ,
8989 japanese : 'ja-jp'
9090 } ,
91-
91+
9292 // Global field UIDs (values from environment variables, keys are descriptive)
9393 // Supports both old naming (GLOBAL_FIELD_SIMPLE) and new naming (SIMPLE_GLOBAL_FIELD_UID)
9494 globalFields : {
95- seo : process . env . GLOBAL_FIELD_SIMPLE || process . env . GLOBAL_FIELD_UID || process . env . SIMPLE_GLOBAL_FIELD_UID , // Simple global field
96- gallery : process . env . GLOBAL_FIELD_MEDIUM || process . env . MEDIUM_GLOBAL_FIELD_UID , // Medium complexity
97- content_block : process . env . GLOBAL_FIELD_COMPLEX || process . env . COMPLEX_GLOBAL_FIELD_UID , // Complex global field
98- video_experience : process . env . GLOBAL_FIELD_VIDEO , // Video field
99- referenced_data : 'referenced_data' , // Generic field name (optional)
100- nested : process . env . NESTED_GLOBAL_FIELD_UID // Nested global field (parent)
95+ seo : process . env . GLOBAL_FIELD_SIMPLE || process . env . GLOBAL_FIELD_UID || process . env . SIMPLE_GLOBAL_FIELD_UID , // Simple global field
96+ gallery : process . env . GLOBAL_FIELD_MEDIUM || process . env . MEDIUM_GLOBAL_FIELD_UID , // Medium complexity
97+ content_block : process . env . GLOBAL_FIELD_COMPLEX || process . env . COMPLEX_GLOBAL_FIELD_UID , // Complex global field
98+ video_experience : process . env . GLOBAL_FIELD_VIDEO , // Video field
99+ referenced_data : 'referenced_data' , // Generic field name (optional)
100+ nested : process . env . NESTED_GLOBAL_FIELD_UID // Nested global field (parent)
101101 } ,
102-
102+
103103 // Reference field name (generic/common field name)
104104 referenceFields : {
105105 author : 'author'
0 commit comments