houdini-svelte 1.2.13 → 1.2.15

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.
@@ -78239,7 +78239,7 @@ var mutation = documentPlugin(ArtifactKind.Mutation, () => {
78239
78239
  }
78240
78240
  };
78241
78241
  });
78242
- var currentDir = global.__dirname || dirname((0, import_node_url.fileURLToPath)(import_meta.url));
78242
+ var currentDir = dirname((0, import_node_url.fileURLToPath)(import_meta.url));
78243
78243
  var DEFAULT_CONFIG_PATH = join2(process.cwd(), "houdini.config.js");
78244
78244
  var emptySchema = graphql2.buildSchema("type Query { hello: String }");
78245
78245
  var defaultDirectives = emptySchema.getDirectives().map((dir) => dir.name);
@@ -78582,6 +78582,8 @@ async function find_graphql(config22, parsedScript, walker) {
78582
78582
  }
78583
78583
  var conventions_exports = {};
78584
78584
  __export2(conventions_exports, {
78585
+ adapter_config_path: () => adapter_config_path,
78586
+ app_component_path: () => app_component_path,
78585
78587
  fallback_unit_path: () => fallback_unit_path,
78586
78588
  is_layout: () => is_layout,
78587
78589
  layout_unit_path: () => layout_unit_path,
@@ -78593,13 +78595,10 @@ __export2(conventions_exports, {
78593
78595
  read_layoutView: () => read_layoutView,
78594
78596
  read_pageQuery: () => read_pageQuery,
78595
78597
  read_pageView: () => read_pageView,
78596
- render_app_path: () => render_app_path,
78597
- render_client_path: () => render_client_path,
78598
- render_server_path: () => render_server_path,
78599
- render_yoga_path: () => render_yoga_path,
78600
78598
  router_index_path: () => router_index_path,
78601
78599
  router_path: () => router_path,
78602
- serialized_manifest_path: () => serialized_manifest_path
78600
+ serialized_manifest_path: () => serialized_manifest_path,
78601
+ server_adapter_path: () => server_adapter_path
78603
78602
  });
78604
78603
  function router_path(config22) {
78605
78604
  return path_exports.join(base_dir(config22), "Router.jsx");
@@ -78607,16 +78606,13 @@ function router_path(config22) {
78607
78606
  function page_entry_path(config22, id2, base) {
78608
78607
  return path_exports.join(page_entries_dir(config22, base), `${id2}.jsx`);
78609
78608
  }
78610
- function render_client_path(config22, base) {
78611
- return path_exports.join(units_dir(config22, base), "render", "client.jsx");
78612
- }
78613
- function render_server_path(config22, base) {
78609
+ function server_adapter_path(config22, base) {
78614
78610
  return path_exports.join(units_dir(config22, base), "render", "server.js");
78615
78611
  }
78616
- function render_yoga_path(config22, base) {
78617
- return path_exports.join(units_dir(config22, base), "render", "yoga.js");
78612
+ function adapter_config_path(config22, base) {
78613
+ return path_exports.join(units_dir(config22, base), "render", "config.js");
78618
78614
  }
78619
- function render_app_path(config22, base) {
78615
+ function app_component_path(config22, base) {
78620
78616
  return path_exports.join(units_dir(config22, base), "render", "App.jsx");
78621
78617
  }
78622
78618
  function page_unit_path(config22, id2, base) {
@@ -144080,7 +144076,7 @@ var mutation2 = documentPlugin2(ArtifactKind2.Mutation, () => {
144080
144076
  }
144081
144077
  };
144082
144078
  });
144083
- var currentDir2 = global.__dirname || dirname2((0, import_node_url3.fileURLToPath)(import_meta2.url));
144079
+ var currentDir2 = dirname2((0, import_node_url3.fileURLToPath)(import_meta2.url));
144084
144080
  var DEFAULT_CONFIG_PATH2 = join22(process.cwd(), "houdini.config.js");
144085
144081
  var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
144086
144082
  var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
@@ -144091,6 +144087,8 @@ var recast2 = __toESM3(require_main22(), 1);
144091
144087
  var AST2 = recast2.types.builders;
144092
144088
  var conventions_exports2 = {};
144093
144089
  __export3(conventions_exports2, {
144090
+ adapter_config_path: () => adapter_config_path2,
144091
+ app_component_path: () => app_component_path2,
144094
144092
  fallback_unit_path: () => fallback_unit_path2,
144095
144093
  is_layout: () => is_layout2,
144096
144094
  layout_unit_path: () => layout_unit_path2,
@@ -144102,13 +144100,10 @@ __export3(conventions_exports2, {
144102
144100
  read_layoutView: () => read_layoutView2,
144103
144101
  read_pageQuery: () => read_pageQuery2,
144104
144102
  read_pageView: () => read_pageView2,
144105
- render_app_path: () => render_app_path2,
144106
- render_client_path: () => render_client_path2,
144107
- render_server_path: () => render_server_path2,
144108
- render_yoga_path: () => render_yoga_path2,
144109
144103
  router_index_path: () => router_index_path2,
144110
144104
  router_path: () => router_path2,
144111
- serialized_manifest_path: () => serialized_manifest_path2
144105
+ serialized_manifest_path: () => serialized_manifest_path2,
144106
+ server_adapter_path: () => server_adapter_path2
144112
144107
  });
144113
144108
  function router_path2(config4) {
144114
144109
  return path_exports2.join(base_dir2(config4), "Router.jsx");
@@ -144116,16 +144111,13 @@ function router_path2(config4) {
144116
144111
  function page_entry_path2(config4, id2, base) {
144117
144112
  return path_exports2.join(page_entries_dir2(config4, base), `${id2}.jsx`);
144118
144113
  }
144119
- function render_client_path2(config4, base) {
144120
- return path_exports2.join(units_dir2(config4, base), "render", "client.jsx");
144121
- }
144122
- function render_server_path2(config4, base) {
144114
+ function server_adapter_path2(config4, base) {
144123
144115
  return path_exports2.join(units_dir2(config4, base), "render", "server.js");
144124
144116
  }
144125
- function render_yoga_path2(config4, base) {
144126
- return path_exports2.join(units_dir2(config4, base), "render", "yoga.js");
144117
+ function adapter_config_path2(config4, base) {
144118
+ return path_exports2.join(units_dir2(config4, base), "render", "config.js");
144127
144119
  }
144128
- function render_app_path2(config4, base) {
144120
+ function app_component_path2(config4, base) {
144129
144121
  return path_exports2.join(units_dir2(config4, base), "render", "App.jsx");
144130
144122
  }
144131
144123
  function page_unit_path2(config4, id2, base) {
@@ -144323,11 +144315,11 @@ var invalidNodeFieldMessage = `\u26A0\uFE0F Your project defines a Node interfa
144323
144315
  If you are trying to provide the Node interface and its field, they must look like the following:
144324
144316
 
144325
144317
  interface Node {
144326
- id: ID!
144318
+ id: ID!
144327
144319
  }
144328
144320
 
144329
144321
  extend type Query {
144330
- node(id: ID!): Node
144322
+ node(id: ID!): Node
144331
144323
  }
144332
144324
 
144333
144325
  For more information, please visit these links:
@@ -78230,7 +78230,7 @@ var mutation = documentPlugin(ArtifactKind.Mutation, () => {
78230
78230
  }
78231
78231
  };
78232
78232
  });
78233
- var currentDir = global.__dirname || dirname(fileURLToPath(import.meta.url));
78233
+ var currentDir = dirname(fileURLToPath(import.meta.url));
78234
78234
  var DEFAULT_CONFIG_PATH = join2(process.cwd(), "houdini.config.js");
78235
78235
  var emptySchema = graphql2.buildSchema("type Query { hello: String }");
78236
78236
  var defaultDirectives = emptySchema.getDirectives().map((dir) => dir.name);
@@ -78573,6 +78573,8 @@ async function find_graphql(config22, parsedScript, walker) {
78573
78573
  }
78574
78574
  var conventions_exports = {};
78575
78575
  __export(conventions_exports, {
78576
+ adapter_config_path: () => adapter_config_path,
78577
+ app_component_path: () => app_component_path,
78576
78578
  fallback_unit_path: () => fallback_unit_path,
78577
78579
  is_layout: () => is_layout,
78578
78580
  layout_unit_path: () => layout_unit_path,
@@ -78584,13 +78586,10 @@ __export(conventions_exports, {
78584
78586
  read_layoutView: () => read_layoutView,
78585
78587
  read_pageQuery: () => read_pageQuery,
78586
78588
  read_pageView: () => read_pageView,
78587
- render_app_path: () => render_app_path,
78588
- render_client_path: () => render_client_path,
78589
- render_server_path: () => render_server_path,
78590
- render_yoga_path: () => render_yoga_path,
78591
78589
  router_index_path: () => router_index_path,
78592
78590
  router_path: () => router_path,
78593
- serialized_manifest_path: () => serialized_manifest_path
78591
+ serialized_manifest_path: () => serialized_manifest_path,
78592
+ server_adapter_path: () => server_adapter_path
78594
78593
  });
78595
78594
  function router_path(config22) {
78596
78595
  return path_exports.join(base_dir(config22), "Router.jsx");
@@ -78598,16 +78597,13 @@ function router_path(config22) {
78598
78597
  function page_entry_path(config22, id2, base) {
78599
78598
  return path_exports.join(page_entries_dir(config22, base), `${id2}.jsx`);
78600
78599
  }
78601
- function render_client_path(config22, base) {
78602
- return path_exports.join(units_dir(config22, base), "render", "client.jsx");
78603
- }
78604
- function render_server_path(config22, base) {
78600
+ function server_adapter_path(config22, base) {
78605
78601
  return path_exports.join(units_dir(config22, base), "render", "server.js");
78606
78602
  }
78607
- function render_yoga_path(config22, base) {
78608
- return path_exports.join(units_dir(config22, base), "render", "yoga.js");
78603
+ function adapter_config_path(config22, base) {
78604
+ return path_exports.join(units_dir(config22, base), "render", "config.js");
78609
78605
  }
78610
- function render_app_path(config22, base) {
78606
+ function app_component_path(config22, base) {
78611
78607
  return path_exports.join(units_dir(config22, base), "render", "App.jsx");
78612
78608
  }
78613
78609
  function page_unit_path(config22, id2, base) {
@@ -144070,7 +144066,7 @@ var mutation2 = documentPlugin2(ArtifactKind2.Mutation, () => {
144070
144066
  }
144071
144067
  };
144072
144068
  });
144073
- var currentDir2 = global.__dirname || dirname2(fileURLToPath2(import.meta.url));
144069
+ var currentDir2 = dirname2(fileURLToPath2(import.meta.url));
144074
144070
  var DEFAULT_CONFIG_PATH2 = join22(process.cwd(), "houdini.config.js");
144075
144071
  var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
144076
144072
  var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
@@ -144081,6 +144077,8 @@ var recast2 = __toESM3(require_main22(), 1);
144081
144077
  var AST2 = recast2.types.builders;
144082
144078
  var conventions_exports2 = {};
144083
144079
  __export2(conventions_exports2, {
144080
+ adapter_config_path: () => adapter_config_path2,
144081
+ app_component_path: () => app_component_path2,
144084
144082
  fallback_unit_path: () => fallback_unit_path2,
144085
144083
  is_layout: () => is_layout2,
144086
144084
  layout_unit_path: () => layout_unit_path2,
@@ -144092,13 +144090,10 @@ __export2(conventions_exports2, {
144092
144090
  read_layoutView: () => read_layoutView2,
144093
144091
  read_pageQuery: () => read_pageQuery2,
144094
144092
  read_pageView: () => read_pageView2,
144095
- render_app_path: () => render_app_path2,
144096
- render_client_path: () => render_client_path2,
144097
- render_server_path: () => render_server_path2,
144098
- render_yoga_path: () => render_yoga_path2,
144099
144093
  router_index_path: () => router_index_path2,
144100
144094
  router_path: () => router_path2,
144101
- serialized_manifest_path: () => serialized_manifest_path2
144095
+ serialized_manifest_path: () => serialized_manifest_path2,
144096
+ server_adapter_path: () => server_adapter_path2
144102
144097
  });
144103
144098
  function router_path2(config4) {
144104
144099
  return path_exports2.join(base_dir2(config4), "Router.jsx");
@@ -144106,16 +144101,13 @@ function router_path2(config4) {
144106
144101
  function page_entry_path2(config4, id2, base) {
144107
144102
  return path_exports2.join(page_entries_dir2(config4, base), `${id2}.jsx`);
144108
144103
  }
144109
- function render_client_path2(config4, base) {
144110
- return path_exports2.join(units_dir2(config4, base), "render", "client.jsx");
144111
- }
144112
- function render_server_path2(config4, base) {
144104
+ function server_adapter_path2(config4, base) {
144113
144105
  return path_exports2.join(units_dir2(config4, base), "render", "server.js");
144114
144106
  }
144115
- function render_yoga_path2(config4, base) {
144116
- return path_exports2.join(units_dir2(config4, base), "render", "yoga.js");
144107
+ function adapter_config_path2(config4, base) {
144108
+ return path_exports2.join(units_dir2(config4, base), "render", "config.js");
144117
144109
  }
144118
- function render_app_path2(config4, base) {
144110
+ function app_component_path2(config4, base) {
144119
144111
  return path_exports2.join(units_dir2(config4, base), "render", "App.jsx");
144120
144112
  }
144121
144113
  function page_unit_path2(config4, id2, base) {
@@ -144313,11 +144305,11 @@ var invalidNodeFieldMessage = `\u26A0\uFE0F Your project defines a Node interfa
144313
144305
  If you are trying to provide the Node interface and its field, they must look like the following:
144314
144306
 
144315
144307
  interface Node {
144316
- id: ID!
144308
+ id: ID!
144317
144309
  }
144318
144310
 
144319
144311
  extend type Query {
144320
- node(id: ID!): Node
144312
+ node(id: ID!): Node
144321
144313
  }
144322
144314
 
144323
144315
  For more information, please visit these links:
@@ -81589,7 +81589,7 @@ var LogLevel = {
81589
81589
  ShortSummary: "short-summary",
81590
81590
  Quiet: "quiet"
81591
81591
  };
81592
- var currentDir = global.__dirname || dirname((0, import_node_url.fileURLToPath)(import_meta.url));
81592
+ var currentDir = dirname((0, import_node_url.fileURLToPath)(import_meta.url));
81593
81593
  var Config = class {
81594
81594
  filepath;
81595
81595
  rootDir;
@@ -82676,6 +82676,8 @@ async function find_graphql(config22, parsedScript, walker) {
82676
82676
  }
82677
82677
  var conventions_exports = {};
82678
82678
  __export2(conventions_exports, {
82679
+ adapter_config_path: () => adapter_config_path,
82680
+ app_component_path: () => app_component_path,
82679
82681
  fallback_unit_path: () => fallback_unit_path,
82680
82682
  is_layout: () => is_layout,
82681
82683
  layout_unit_path: () => layout_unit_path,
@@ -82687,13 +82689,10 @@ __export2(conventions_exports, {
82687
82689
  read_layoutView: () => read_layoutView,
82688
82690
  read_pageQuery: () => read_pageQuery,
82689
82691
  read_pageView: () => read_pageView,
82690
- render_app_path: () => render_app_path,
82691
- render_client_path: () => render_client_path,
82692
- render_server_path: () => render_server_path,
82693
- render_yoga_path: () => render_yoga_path,
82694
82692
  router_index_path: () => router_index_path,
82695
82693
  router_path: () => router_path,
82696
- serialized_manifest_path: () => serialized_manifest_path
82694
+ serialized_manifest_path: () => serialized_manifest_path,
82695
+ server_adapter_path: () => server_adapter_path
82697
82696
  });
82698
82697
  function router_path(config22) {
82699
82698
  return path_exports.join(base_dir(config22), "Router.jsx");
@@ -82701,16 +82700,13 @@ function router_path(config22) {
82701
82700
  function page_entry_path(config22, id2, base) {
82702
82701
  return path_exports.join(page_entries_dir(config22, base), `${id2}.jsx`);
82703
82702
  }
82704
- function render_client_path(config22, base) {
82705
- return path_exports.join(units_dir(config22, base), "render", "client.jsx");
82706
- }
82707
- function render_server_path(config22, base) {
82703
+ function server_adapter_path(config22, base) {
82708
82704
  return path_exports.join(units_dir(config22, base), "render", "server.js");
82709
82705
  }
82710
- function render_yoga_path(config22, base) {
82711
- return path_exports.join(units_dir(config22, base), "render", "yoga.js");
82706
+ function adapter_config_path(config22, base) {
82707
+ return path_exports.join(units_dir(config22, base), "render", "config.js");
82712
82708
  }
82713
- function render_app_path(config22, base) {
82709
+ function app_component_path(config22, base) {
82714
82710
  return path_exports.join(units_dir(config22, base), "render", "App.jsx");
82715
82711
  }
82716
82712
  function page_unit_path(config22, id2, base) {
@@ -175779,7 +175775,7 @@ var mutation2 = documentPlugin2(ArtifactKind2.Mutation, () => {
175779
175775
  }
175780
175776
  };
175781
175777
  });
175782
- var currentDir2 = global.__dirname || dirname2((0, import_node_url3.fileURLToPath)(import_meta2.url));
175778
+ var currentDir2 = dirname2((0, import_node_url3.fileURLToPath)(import_meta2.url));
175783
175779
  var DEFAULT_CONFIG_PATH2 = join22(process.cwd(), "houdini.config.js");
175784
175780
  var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
175785
175781
  var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
@@ -175790,6 +175786,8 @@ var recast2 = __toESM3(require_main22(), 1);
175790
175786
  var AST2 = recast2.types.builders;
175791
175787
  var conventions_exports2 = {};
175792
175788
  __export3(conventions_exports2, {
175789
+ adapter_config_path: () => adapter_config_path2,
175790
+ app_component_path: () => app_component_path2,
175793
175791
  fallback_unit_path: () => fallback_unit_path2,
175794
175792
  is_layout: () => is_layout2,
175795
175793
  layout_unit_path: () => layout_unit_path2,
@@ -175801,13 +175799,10 @@ __export3(conventions_exports2, {
175801
175799
  read_layoutView: () => read_layoutView2,
175802
175800
  read_pageQuery: () => read_pageQuery2,
175803
175801
  read_pageView: () => read_pageView2,
175804
- render_app_path: () => render_app_path2,
175805
- render_client_path: () => render_client_path2,
175806
- render_server_path: () => render_server_path2,
175807
- render_yoga_path: () => render_yoga_path2,
175808
175802
  router_index_path: () => router_index_path2,
175809
175803
  router_path: () => router_path2,
175810
- serialized_manifest_path: () => serialized_manifest_path2
175804
+ serialized_manifest_path: () => serialized_manifest_path2,
175805
+ server_adapter_path: () => server_adapter_path2
175811
175806
  });
175812
175807
  function router_path2(config42) {
175813
175808
  return path_exports2.join(base_dir2(config42), "Router.jsx");
@@ -175815,16 +175810,13 @@ function router_path2(config42) {
175815
175810
  function page_entry_path2(config42, id2, base) {
175816
175811
  return path_exports2.join(page_entries_dir2(config42, base), `${id2}.jsx`);
175817
175812
  }
175818
- function render_client_path2(config42, base) {
175819
- return path_exports2.join(units_dir2(config42, base), "render", "client.jsx");
175820
- }
175821
- function render_server_path2(config42, base) {
175813
+ function server_adapter_path2(config42, base) {
175822
175814
  return path_exports2.join(units_dir2(config42, base), "render", "server.js");
175823
175815
  }
175824
- function render_yoga_path2(config42, base) {
175825
- return path_exports2.join(units_dir2(config42, base), "render", "yoga.js");
175816
+ function adapter_config_path2(config42, base) {
175817
+ return path_exports2.join(units_dir2(config42, base), "render", "config.js");
175826
175818
  }
175827
- function render_app_path2(config42, base) {
175819
+ function app_component_path2(config42, base) {
175828
175820
  return path_exports2.join(units_dir2(config42, base), "render", "App.jsx");
175829
175821
  }
175830
175822
  function page_unit_path2(config42, id2, base) {
@@ -176022,11 +176014,11 @@ var invalidNodeFieldMessage = `\u26A0\uFE0F Your project defines a Node interfa
176022
176014
  If you are trying to provide the Node interface and its field, they must look like the following:
176023
176015
 
176024
176016
  interface Node {
176025
- id: ID!
176017
+ id: ID!
176026
176018
  }
176027
176019
 
176028
176020
  extend type Query {
176029
- node(id: ID!): Node
176021
+ node(id: ID!): Node
176030
176022
  }
176031
176023
 
176032
176024
  For more information, please visit these links:
@@ -81582,7 +81582,7 @@ var LogLevel = {
81582
81582
  ShortSummary: "short-summary",
81583
81583
  Quiet: "quiet"
81584
81584
  };
81585
- var currentDir = global.__dirname || dirname(fileURLToPath(import.meta.url));
81585
+ var currentDir = dirname(fileURLToPath(import.meta.url));
81586
81586
  var Config = class {
81587
81587
  filepath;
81588
81588
  rootDir;
@@ -82669,6 +82669,8 @@ async function find_graphql(config22, parsedScript, walker) {
82669
82669
  }
82670
82670
  var conventions_exports = {};
82671
82671
  __export(conventions_exports, {
82672
+ adapter_config_path: () => adapter_config_path,
82673
+ app_component_path: () => app_component_path,
82672
82674
  fallback_unit_path: () => fallback_unit_path,
82673
82675
  is_layout: () => is_layout,
82674
82676
  layout_unit_path: () => layout_unit_path,
@@ -82680,13 +82682,10 @@ __export(conventions_exports, {
82680
82682
  read_layoutView: () => read_layoutView,
82681
82683
  read_pageQuery: () => read_pageQuery,
82682
82684
  read_pageView: () => read_pageView,
82683
- render_app_path: () => render_app_path,
82684
- render_client_path: () => render_client_path,
82685
- render_server_path: () => render_server_path,
82686
- render_yoga_path: () => render_yoga_path,
82687
82685
  router_index_path: () => router_index_path,
82688
82686
  router_path: () => router_path,
82689
- serialized_manifest_path: () => serialized_manifest_path
82687
+ serialized_manifest_path: () => serialized_manifest_path,
82688
+ server_adapter_path: () => server_adapter_path
82690
82689
  });
82691
82690
  function router_path(config22) {
82692
82691
  return path_exports.join(base_dir(config22), "Router.jsx");
@@ -82694,16 +82693,13 @@ function router_path(config22) {
82694
82693
  function page_entry_path(config22, id2, base) {
82695
82694
  return path_exports.join(page_entries_dir(config22, base), `${id2}.jsx`);
82696
82695
  }
82697
- function render_client_path(config22, base) {
82698
- return path_exports.join(units_dir(config22, base), "render", "client.jsx");
82699
- }
82700
- function render_server_path(config22, base) {
82696
+ function server_adapter_path(config22, base) {
82701
82697
  return path_exports.join(units_dir(config22, base), "render", "server.js");
82702
82698
  }
82703
- function render_yoga_path(config22, base) {
82704
- return path_exports.join(units_dir(config22, base), "render", "yoga.js");
82699
+ function adapter_config_path(config22, base) {
82700
+ return path_exports.join(units_dir(config22, base), "render", "config.js");
82705
82701
  }
82706
- function render_app_path(config22, base) {
82702
+ function app_component_path(config22, base) {
82707
82703
  return path_exports.join(units_dir(config22, base), "render", "App.jsx");
82708
82704
  }
82709
82705
  function page_unit_path(config22, id2, base) {
@@ -175771,7 +175767,7 @@ var mutation2 = documentPlugin2(ArtifactKind2.Mutation, () => {
175771
175767
  }
175772
175768
  };
175773
175769
  });
175774
- var currentDir2 = global.__dirname || dirname2(fileURLToPath2(import.meta.url));
175770
+ var currentDir2 = dirname2(fileURLToPath2(import.meta.url));
175775
175771
  var DEFAULT_CONFIG_PATH2 = join22(process.cwd(), "houdini.config.js");
175776
175772
  var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
175777
175773
  var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
@@ -175782,6 +175778,8 @@ var recast2 = __toESM3(require_main22(), 1);
175782
175778
  var AST2 = recast2.types.builders;
175783
175779
  var conventions_exports2 = {};
175784
175780
  __export2(conventions_exports2, {
175781
+ adapter_config_path: () => adapter_config_path2,
175782
+ app_component_path: () => app_component_path2,
175785
175783
  fallback_unit_path: () => fallback_unit_path2,
175786
175784
  is_layout: () => is_layout2,
175787
175785
  layout_unit_path: () => layout_unit_path2,
@@ -175793,13 +175791,10 @@ __export2(conventions_exports2, {
175793
175791
  read_layoutView: () => read_layoutView2,
175794
175792
  read_pageQuery: () => read_pageQuery2,
175795
175793
  read_pageView: () => read_pageView2,
175796
- render_app_path: () => render_app_path2,
175797
- render_client_path: () => render_client_path2,
175798
- render_server_path: () => render_server_path2,
175799
- render_yoga_path: () => render_yoga_path2,
175800
175794
  router_index_path: () => router_index_path2,
175801
175795
  router_path: () => router_path2,
175802
- serialized_manifest_path: () => serialized_manifest_path2
175796
+ serialized_manifest_path: () => serialized_manifest_path2,
175797
+ server_adapter_path: () => server_adapter_path2
175803
175798
  });
175804
175799
  function router_path2(config42) {
175805
175800
  return path_exports2.join(base_dir2(config42), "Router.jsx");
@@ -175807,16 +175802,13 @@ function router_path2(config42) {
175807
175802
  function page_entry_path2(config42, id2, base) {
175808
175803
  return path_exports2.join(page_entries_dir2(config42, base), `${id2}.jsx`);
175809
175804
  }
175810
- function render_client_path2(config42, base) {
175811
- return path_exports2.join(units_dir2(config42, base), "render", "client.jsx");
175812
- }
175813
- function render_server_path2(config42, base) {
175805
+ function server_adapter_path2(config42, base) {
175814
175806
  return path_exports2.join(units_dir2(config42, base), "render", "server.js");
175815
175807
  }
175816
- function render_yoga_path2(config42, base) {
175817
- return path_exports2.join(units_dir2(config42, base), "render", "yoga.js");
175808
+ function adapter_config_path2(config42, base) {
175809
+ return path_exports2.join(units_dir2(config42, base), "render", "config.js");
175818
175810
  }
175819
- function render_app_path2(config42, base) {
175811
+ function app_component_path2(config42, base) {
175820
175812
  return path_exports2.join(units_dir2(config42, base), "render", "App.jsx");
175821
175813
  }
175822
175814
  function page_unit_path2(config42, id2, base) {
@@ -176014,11 +176006,11 @@ var invalidNodeFieldMessage = `\u26A0\uFE0F Your project defines a Node interfa
176014
176006
  If you are trying to provide the Node interface and its field, they must look like the following:
176015
176007
 
176016
176008
  interface Node {
176017
- id: ID!
176009
+ id: ID!
176018
176010
  }
176019
176011
 
176020
176012
  extend type Query {
176021
- node(id: ID!): Node
176013
+ node(id: ID!): Node
176022
176014
  }
176023
176015
 
176024
176016
  For more information, please visit these links:
@@ -78242,7 +78242,7 @@ var mutation = documentPlugin(ArtifactKind.Mutation, () => {
78242
78242
  }
78243
78243
  };
78244
78244
  });
78245
- var currentDir = global.__dirname || dirname((0, import_node_url.fileURLToPath)(import_meta.url));
78245
+ var currentDir = dirname((0, import_node_url.fileURLToPath)(import_meta.url));
78246
78246
  var DEFAULT_CONFIG_PATH = join2(process.cwd(), "houdini.config.js");
78247
78247
  var emptySchema = graphql2.buildSchema("type Query { hello: String }");
78248
78248
  var defaultDirectives = emptySchema.getDirectives().map((dir) => dir.name);
@@ -78585,6 +78585,8 @@ async function find_graphql(config22, parsedScript, walker) {
78585
78585
  }
78586
78586
  var conventions_exports = {};
78587
78587
  __export2(conventions_exports, {
78588
+ adapter_config_path: () => adapter_config_path,
78589
+ app_component_path: () => app_component_path,
78588
78590
  fallback_unit_path: () => fallback_unit_path,
78589
78591
  is_layout: () => is_layout,
78590
78592
  layout_unit_path: () => layout_unit_path,
@@ -78596,13 +78598,10 @@ __export2(conventions_exports, {
78596
78598
  read_layoutView: () => read_layoutView,
78597
78599
  read_pageQuery: () => read_pageQuery,
78598
78600
  read_pageView: () => read_pageView,
78599
- render_app_path: () => render_app_path,
78600
- render_client_path: () => render_client_path,
78601
- render_server_path: () => render_server_path,
78602
- render_yoga_path: () => render_yoga_path,
78603
78601
  router_index_path: () => router_index_path,
78604
78602
  router_path: () => router_path,
78605
- serialized_manifest_path: () => serialized_manifest_path
78603
+ serialized_manifest_path: () => serialized_manifest_path,
78604
+ server_adapter_path: () => server_adapter_path
78606
78605
  });
78607
78606
  function router_path(config22) {
78608
78607
  return path_exports.join(base_dir(config22), "Router.jsx");
@@ -78610,16 +78609,13 @@ function router_path(config22) {
78610
78609
  function page_entry_path(config22, id2, base) {
78611
78610
  return path_exports.join(page_entries_dir(config22, base), `${id2}.jsx`);
78612
78611
  }
78613
- function render_client_path(config22, base) {
78614
- return path_exports.join(units_dir(config22, base), "render", "client.jsx");
78615
- }
78616
- function render_server_path(config22, base) {
78612
+ function server_adapter_path(config22, base) {
78617
78613
  return path_exports.join(units_dir(config22, base), "render", "server.js");
78618
78614
  }
78619
- function render_yoga_path(config22, base) {
78620
- return path_exports.join(units_dir(config22, base), "render", "yoga.js");
78615
+ function adapter_config_path(config22, base) {
78616
+ return path_exports.join(units_dir(config22, base), "render", "config.js");
78621
78617
  }
78622
- function render_app_path(config22, base) {
78618
+ function app_component_path(config22, base) {
78623
78619
  return path_exports.join(units_dir(config22, base), "render", "App.jsx");
78624
78620
  }
78625
78621
  function page_unit_path(config22, id2, base) {
@@ -135359,7 +135355,7 @@ var LogLevel = {
135359
135355
  ShortSummary: "short-summary",
135360
135356
  Quiet: "quiet"
135361
135357
  };
135362
- var currentDir2 = global.__dirname || dirname2((0, import_node_url3.fileURLToPath)(import_meta2.url));
135358
+ var currentDir2 = dirname2((0, import_node_url3.fileURLToPath)(import_meta2.url));
135363
135359
  var DEFAULT_CONFIG_PATH2 = join3(process.cwd(), "houdini.config.js");
135364
135360
  var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
135365
135361
  var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
@@ -137100,7 +137096,7 @@ async function paginate(config22, documents) {
137100
137096
  value: "__typename"
137101
137097
  }
137102
137098
  },
137103
- ...(typeConfig?.keys || ["id"]).map((key) => ({
137099
+ ...(typeConfig?.keys || [config22.defaultKeys[0]]).map((key) => ({
137104
137100
  kind: graphql11.Kind.FIELD,
137105
137101
  name: {
137106
137102
  kind: graphql11.Kind.NAME,
@@ -140952,7 +140948,7 @@ function nodeDirectives(config22, directives) {
140952
140948
  }
140953
140949
  if (!possibleNodes.includes(definitionType)) {
140954
140950
  ctx.reportError(
140955
- new graphql26.GraphQLError(paginateOnNonNodeMessage(config22, node2.name.value))
140951
+ new graphql26.GraphQLError(paginateOnNonNodeMessage(node2.name.value))
140956
140952
  );
140957
140953
  }
140958
140954
  }
@@ -141087,45 +141083,45 @@ function getAndVerifyNodeInterface(config22) {
141087
141083
  return null;
141088
141084
  }
141089
141085
  if (!graphql26.isInterfaceType(nodeInterface)) {
141090
- displayInvalidNodeFieldMessage(config22.logLevel);
141086
+ displayInvalidNodeFieldMessage(config22);
141091
141087
  return null;
141092
141088
  }
141093
141089
  const queryType = schema2.getQueryType();
141094
141090
  if (!queryType) {
141095
- displayInvalidNodeFieldMessage(config22.logLevel);
141091
+ displayInvalidNodeFieldMessage(config22);
141096
141092
  return null;
141097
141093
  }
141098
141094
  const nodeField = queryType.getFields()["node"];
141099
141095
  if (!nodeField) {
141100
- displayInvalidNodeFieldMessage(config22.logLevel);
141096
+ displayInvalidNodeFieldMessage(config22);
141101
141097
  return null;
141102
141098
  }
141103
141099
  const args = nodeField.args;
141104
141100
  if (args.length === 0) {
141105
- displayInvalidNodeFieldMessage(config22.logLevel);
141101
+ displayInvalidNodeFieldMessage(config22);
141106
141102
  return null;
141107
141103
  }
141108
- const idArg = args.find((arg) => arg.name === "id");
141104
+ const idArg = args.find((arg) => arg.name === config22.defaultKeys[0]);
141109
141105
  if (!idArg) {
141110
- displayInvalidNodeFieldMessage(config22.logLevel);
141106
+ displayInvalidNodeFieldMessage(config22);
141111
141107
  return null;
141112
141108
  }
141113
141109
  const idType = unwrapType2(config22, idArg.type);
141114
141110
  if (idType.type.name !== "ID") {
141115
- displayInvalidNodeFieldMessage(config22.logLevel);
141111
+ displayInvalidNodeFieldMessage(config22);
141116
141112
  return null;
141117
141113
  }
141118
141114
  const fieldReturnType = unwrapType2(config22, nodeField.type);
141119
141115
  if (fieldReturnType.type.name !== "Node") {
141120
- displayInvalidNodeFieldMessage(config22.logLevel);
141116
+ displayInvalidNodeFieldMessage(config22);
141121
141117
  return null;
141122
141118
  }
141123
141119
  return nodeInterface;
141124
141120
  }
141125
141121
  var nbInvalidNodeFieldMessageDisplayed = 0;
141126
- function displayInvalidNodeFieldMessage(logLevel) {
141122
+ function displayInvalidNodeFieldMessage(config22) {
141127
141123
  if (nbInvalidNodeFieldMessageDisplayed === 0) {
141128
- if (logLevel === LogLevel.Full) {
141124
+ if (config22.logLevel === LogLevel.Full) {
141129
141125
  console.warn(invalidNodeFieldMessage);
141130
141126
  } else {
141131
141127
  console.warn(invalidNodeFieldMessageLight);
@@ -141139,18 +141135,18 @@ var invalidNodeFieldMessage = `\u26A0\uFE0F Your project defines a Node interfa
141139
141135
  If you are trying to provide the Node interface and its field, they must look like the following:
141140
141136
 
141141
141137
  interface Node {
141142
- id: ID!
141138
+ id: ID!
141143
141139
  }
141144
141140
 
141145
141141
  extend type Query {
141146
- node(id: ID!): Node
141142
+ node(id: ID!): Node
141147
141143
  }
141148
141144
 
141149
141145
  For more information, please visit these links:
141150
141146
  - https://graphql.org/learn/global-object-identification/
141151
141147
  - ${siteURL}/guides/caching-data#custom-ids
141152
141148
  `;
141153
- var paginateOnNonNodeMessage = (config22, directiveName) => `It looks like you are trying to use @${directiveName} on a document that does not have a valid type resolver.
141149
+ var paginateOnNonNodeMessage = (directiveName) => `It looks like you are trying to use @${directiveName} on a document that does not have a valid type resolver.
141154
141150
  If this is happening inside of a fragment, make sure that the fragment either implements the Node interface or you
141155
141151
  have defined a resolver entry for the fragment type.
141156
141152
 
@@ -197975,7 +197971,7 @@ var LogLevel2 = {
197975
197971
  ShortSummary: "short-summary",
197976
197972
  Quiet: "quiet"
197977
197973
  };
197978
- var currentDir3 = global.__dirname || dirname3((0, import_node_url4.fileURLToPath)(import_meta3.url));
197974
+ var currentDir3 = dirname3((0, import_node_url4.fileURLToPath)(import_meta3.url));
197979
197975
  var Config = class {
197980
197976
  filepath;
197981
197977
  rootDir;
@@ -198705,11 +198701,11 @@ var invalidNodeFieldMessage2 = `\u26A0\uFE0F Your project defines a Node interf
198705
198701
  If you are trying to provide the Node interface and its field, they must look like the following:
198706
198702
 
198707
198703
  interface Node {
198708
- id: ID!
198704
+ id: ID!
198709
198705
  }
198710
198706
 
198711
198707
  extend type Query {
198712
- node(id: ID!): Node
198708
+ node(id: ID!): Node
198713
198709
  }
198714
198710
 
198715
198711
  For more information, please visit these links:
@@ -264414,7 +264410,7 @@ var mutation4 = documentPlugin4(ArtifactKind4.Mutation, () => {
264414
264410
  }
264415
264411
  };
264416
264412
  });
264417
- var currentDir4 = global.__dirname || dirname4((0, import_node_url5.fileURLToPath)(import_meta4.url));
264413
+ var currentDir4 = dirname4((0, import_node_url5.fileURLToPath)(import_meta4.url));
264418
264414
  var DEFAULT_CONFIG_PATH4 = join22(process.cwd(), "houdini.config.js");
264419
264415
  var emptySchema4 = graphql211.buildSchema("type Query { hello: String }");
264420
264416
  var defaultDirectives4 = emptySchema4.getDirectives().map((dir) => dir.name);
@@ -264425,6 +264421,8 @@ var recast16 = __toESM5(require_main24(), 1);
264425
264421
  var AST16 = recast16.types.builders;
264426
264422
  var conventions_exports2 = {};
264427
264423
  __export5(conventions_exports2, {
264424
+ adapter_config_path: () => adapter_config_path2,
264425
+ app_component_path: () => app_component_path2,
264428
264426
  fallback_unit_path: () => fallback_unit_path2,
264429
264427
  is_layout: () => is_layout2,
264430
264428
  layout_unit_path: () => layout_unit_path2,
@@ -264436,13 +264434,10 @@ __export5(conventions_exports2, {
264436
264434
  read_layoutView: () => read_layoutView2,
264437
264435
  read_pageQuery: () => read_pageQuery2,
264438
264436
  read_pageView: () => read_pageView2,
264439
- render_app_path: () => render_app_path2,
264440
- render_client_path: () => render_client_path2,
264441
- render_server_path: () => render_server_path2,
264442
- render_yoga_path: () => render_yoga_path2,
264443
264437
  router_index_path: () => router_index_path2,
264444
264438
  router_path: () => router_path2,
264445
- serialized_manifest_path: () => serialized_manifest_path2
264439
+ serialized_manifest_path: () => serialized_manifest_path2,
264440
+ server_adapter_path: () => server_adapter_path2
264446
264441
  });
264447
264442
  function router_path2(config42) {
264448
264443
  return path_exports4.join(base_dir2(config42), "Router.jsx");
@@ -264450,16 +264445,13 @@ function router_path2(config42) {
264450
264445
  function page_entry_path2(config42, id2, base) {
264451
264446
  return path_exports4.join(page_entries_dir2(config42, base), `${id2}.jsx`);
264452
264447
  }
264453
- function render_client_path2(config42, base) {
264454
- return path_exports4.join(units_dir2(config42, base), "render", "client.jsx");
264455
- }
264456
- function render_server_path2(config42, base) {
264448
+ function server_adapter_path2(config42, base) {
264457
264449
  return path_exports4.join(units_dir2(config42, base), "render", "server.js");
264458
264450
  }
264459
- function render_yoga_path2(config42, base) {
264460
- return path_exports4.join(units_dir2(config42, base), "render", "yoga.js");
264451
+ function adapter_config_path2(config42, base) {
264452
+ return path_exports4.join(units_dir2(config42, base), "render", "config.js");
264461
264453
  }
264462
- function render_app_path2(config42, base) {
264454
+ function app_component_path2(config42, base) {
264463
264455
  return path_exports4.join(units_dir2(config42, base), "render", "App.jsx");
264464
264456
  }
264465
264457
  function page_unit_path2(config42, id2, base) {
@@ -264657,11 +264649,11 @@ var invalidNodeFieldMessage3 = `\u26A0\uFE0F Your project defines a Node interf
264657
264649
  If you are trying to provide the Node interface and its field, they must look like the following:
264658
264650
 
264659
264651
  interface Node {
264660
- id: ID!
264652
+ id: ID!
264661
264653
  }
264662
264654
 
264663
264655
  extend type Query {
264664
- node(id: ID!): Node
264656
+ node(id: ID!): Node
264665
264657
  }
264666
264658
 
264667
264659
  For more information, please visit these links:
@@ -78230,7 +78230,7 @@ var mutation = documentPlugin(ArtifactKind.Mutation, () => {
78230
78230
  }
78231
78231
  };
78232
78232
  });
78233
- var currentDir = global.__dirname || dirname(fileURLToPath(import.meta.url));
78233
+ var currentDir = dirname(fileURLToPath(import.meta.url));
78234
78234
  var DEFAULT_CONFIG_PATH = join2(process.cwd(), "houdini.config.js");
78235
78235
  var emptySchema = graphql2.buildSchema("type Query { hello: String }");
78236
78236
  var defaultDirectives = emptySchema.getDirectives().map((dir) => dir.name);
@@ -78573,6 +78573,8 @@ async function find_graphql(config22, parsedScript, walker) {
78573
78573
  }
78574
78574
  var conventions_exports = {};
78575
78575
  __export(conventions_exports, {
78576
+ adapter_config_path: () => adapter_config_path,
78577
+ app_component_path: () => app_component_path,
78576
78578
  fallback_unit_path: () => fallback_unit_path,
78577
78579
  is_layout: () => is_layout,
78578
78580
  layout_unit_path: () => layout_unit_path,
@@ -78584,13 +78586,10 @@ __export(conventions_exports, {
78584
78586
  read_layoutView: () => read_layoutView,
78585
78587
  read_pageQuery: () => read_pageQuery,
78586
78588
  read_pageView: () => read_pageView,
78587
- render_app_path: () => render_app_path,
78588
- render_client_path: () => render_client_path,
78589
- render_server_path: () => render_server_path,
78590
- render_yoga_path: () => render_yoga_path,
78591
78589
  router_index_path: () => router_index_path,
78592
78590
  router_path: () => router_path,
78593
- serialized_manifest_path: () => serialized_manifest_path
78591
+ serialized_manifest_path: () => serialized_manifest_path,
78592
+ server_adapter_path: () => server_adapter_path
78594
78593
  });
78595
78594
  function router_path(config22) {
78596
78595
  return path_exports.join(base_dir(config22), "Router.jsx");
@@ -78598,16 +78597,13 @@ function router_path(config22) {
78598
78597
  function page_entry_path(config22, id2, base) {
78599
78598
  return path_exports.join(page_entries_dir(config22, base), `${id2}.jsx`);
78600
78599
  }
78601
- function render_client_path(config22, base) {
78602
- return path_exports.join(units_dir(config22, base), "render", "client.jsx");
78603
- }
78604
- function render_server_path(config22, base) {
78600
+ function server_adapter_path(config22, base) {
78605
78601
  return path_exports.join(units_dir(config22, base), "render", "server.js");
78606
78602
  }
78607
- function render_yoga_path(config22, base) {
78608
- return path_exports.join(units_dir(config22, base), "render", "yoga.js");
78603
+ function adapter_config_path(config22, base) {
78604
+ return path_exports.join(units_dir(config22, base), "render", "config.js");
78609
78605
  }
78610
- function render_app_path(config22, base) {
78606
+ function app_component_path(config22, base) {
78611
78607
  return path_exports.join(units_dir(config22, base), "render", "App.jsx");
78612
78608
  }
78613
78609
  function page_unit_path(config22, id2, base) {
@@ -135346,7 +135342,7 @@ var LogLevel = {
135346
135342
  ShortSummary: "short-summary",
135347
135343
  Quiet: "quiet"
135348
135344
  };
135349
- var currentDir2 = global.__dirname || dirname2(fileURLToPath2(import.meta.url));
135345
+ var currentDir2 = dirname2(fileURLToPath2(import.meta.url));
135350
135346
  var DEFAULT_CONFIG_PATH2 = join3(process.cwd(), "houdini.config.js");
135351
135347
  var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
135352
135348
  var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
@@ -137087,7 +137083,7 @@ async function paginate(config22, documents) {
137087
137083
  value: "__typename"
137088
137084
  }
137089
137085
  },
137090
- ...(typeConfig?.keys || ["id"]).map((key) => ({
137086
+ ...(typeConfig?.keys || [config22.defaultKeys[0]]).map((key) => ({
137091
137087
  kind: graphql11.Kind.FIELD,
137092
137088
  name: {
137093
137089
  kind: graphql11.Kind.NAME,
@@ -140939,7 +140935,7 @@ function nodeDirectives(config22, directives) {
140939
140935
  }
140940
140936
  if (!possibleNodes.includes(definitionType)) {
140941
140937
  ctx.reportError(
140942
- new graphql26.GraphQLError(paginateOnNonNodeMessage(config22, node2.name.value))
140938
+ new graphql26.GraphQLError(paginateOnNonNodeMessage(node2.name.value))
140943
140939
  );
140944
140940
  }
140945
140941
  }
@@ -141074,45 +141070,45 @@ function getAndVerifyNodeInterface(config22) {
141074
141070
  return null;
141075
141071
  }
141076
141072
  if (!graphql26.isInterfaceType(nodeInterface)) {
141077
- displayInvalidNodeFieldMessage(config22.logLevel);
141073
+ displayInvalidNodeFieldMessage(config22);
141078
141074
  return null;
141079
141075
  }
141080
141076
  const queryType = schema2.getQueryType();
141081
141077
  if (!queryType) {
141082
- displayInvalidNodeFieldMessage(config22.logLevel);
141078
+ displayInvalidNodeFieldMessage(config22);
141083
141079
  return null;
141084
141080
  }
141085
141081
  const nodeField = queryType.getFields()["node"];
141086
141082
  if (!nodeField) {
141087
- displayInvalidNodeFieldMessage(config22.logLevel);
141083
+ displayInvalidNodeFieldMessage(config22);
141088
141084
  return null;
141089
141085
  }
141090
141086
  const args = nodeField.args;
141091
141087
  if (args.length === 0) {
141092
- displayInvalidNodeFieldMessage(config22.logLevel);
141088
+ displayInvalidNodeFieldMessage(config22);
141093
141089
  return null;
141094
141090
  }
141095
- const idArg = args.find((arg) => arg.name === "id");
141091
+ const idArg = args.find((arg) => arg.name === config22.defaultKeys[0]);
141096
141092
  if (!idArg) {
141097
- displayInvalidNodeFieldMessage(config22.logLevel);
141093
+ displayInvalidNodeFieldMessage(config22);
141098
141094
  return null;
141099
141095
  }
141100
141096
  const idType = unwrapType2(config22, idArg.type);
141101
141097
  if (idType.type.name !== "ID") {
141102
- displayInvalidNodeFieldMessage(config22.logLevel);
141098
+ displayInvalidNodeFieldMessage(config22);
141103
141099
  return null;
141104
141100
  }
141105
141101
  const fieldReturnType = unwrapType2(config22, nodeField.type);
141106
141102
  if (fieldReturnType.type.name !== "Node") {
141107
- displayInvalidNodeFieldMessage(config22.logLevel);
141103
+ displayInvalidNodeFieldMessage(config22);
141108
141104
  return null;
141109
141105
  }
141110
141106
  return nodeInterface;
141111
141107
  }
141112
141108
  var nbInvalidNodeFieldMessageDisplayed = 0;
141113
- function displayInvalidNodeFieldMessage(logLevel) {
141109
+ function displayInvalidNodeFieldMessage(config22) {
141114
141110
  if (nbInvalidNodeFieldMessageDisplayed === 0) {
141115
- if (logLevel === LogLevel.Full) {
141111
+ if (config22.logLevel === LogLevel.Full) {
141116
141112
  console.warn(invalidNodeFieldMessage);
141117
141113
  } else {
141118
141114
  console.warn(invalidNodeFieldMessageLight);
@@ -141126,18 +141122,18 @@ var invalidNodeFieldMessage = `\u26A0\uFE0F Your project defines a Node interfa
141126
141122
  If you are trying to provide the Node interface and its field, they must look like the following:
141127
141123
 
141128
141124
  interface Node {
141129
- id: ID!
141125
+ id: ID!
141130
141126
  }
141131
141127
 
141132
141128
  extend type Query {
141133
- node(id: ID!): Node
141129
+ node(id: ID!): Node
141134
141130
  }
141135
141131
 
141136
141132
  For more information, please visit these links:
141137
141133
  - https://graphql.org/learn/global-object-identification/
141138
141134
  - ${siteURL}/guides/caching-data#custom-ids
141139
141135
  `;
141140
- var paginateOnNonNodeMessage = (config22, directiveName) => `It looks like you are trying to use @${directiveName} on a document that does not have a valid type resolver.
141136
+ var paginateOnNonNodeMessage = (directiveName) => `It looks like you are trying to use @${directiveName} on a document that does not have a valid type resolver.
141141
141137
  If this is happening inside of a fragment, make sure that the fragment either implements the Node interface or you
141142
141138
  have defined a resolver entry for the fragment type.
141143
141139
 
@@ -197961,7 +197957,7 @@ var LogLevel2 = {
197961
197957
  ShortSummary: "short-summary",
197962
197958
  Quiet: "quiet"
197963
197959
  };
197964
- var currentDir3 = global.__dirname || dirname3(fileURLToPath3(import.meta.url));
197960
+ var currentDir3 = dirname3(fileURLToPath3(import.meta.url));
197965
197961
  var Config = class {
197966
197962
  filepath;
197967
197963
  rootDir;
@@ -198691,11 +198687,11 @@ var invalidNodeFieldMessage2 = `\u26A0\uFE0F Your project defines a Node interf
198691
198687
  If you are trying to provide the Node interface and its field, they must look like the following:
198692
198688
 
198693
198689
  interface Node {
198694
- id: ID!
198690
+ id: ID!
198695
198691
  }
198696
198692
 
198697
198693
  extend type Query {
198698
- node(id: ID!): Node
198694
+ node(id: ID!): Node
198699
198695
  }
198700
198696
 
198701
198697
  For more information, please visit these links:
@@ -264399,7 +264395,7 @@ var mutation4 = documentPlugin4(ArtifactKind4.Mutation, () => {
264399
264395
  }
264400
264396
  };
264401
264397
  });
264402
- var currentDir4 = global.__dirname || dirname4(fileURLToPath4(import.meta.url));
264398
+ var currentDir4 = dirname4(fileURLToPath4(import.meta.url));
264403
264399
  var DEFAULT_CONFIG_PATH4 = join22(process.cwd(), "houdini.config.js");
264404
264400
  var emptySchema4 = graphql211.buildSchema("type Query { hello: String }");
264405
264401
  var defaultDirectives4 = emptySchema4.getDirectives().map((dir) => dir.name);
@@ -264410,6 +264406,8 @@ var recast16 = __toESM5(require_main24(), 1);
264410
264406
  var AST16 = recast16.types.builders;
264411
264407
  var conventions_exports2 = {};
264412
264408
  __export4(conventions_exports2, {
264409
+ adapter_config_path: () => adapter_config_path2,
264410
+ app_component_path: () => app_component_path2,
264413
264411
  fallback_unit_path: () => fallback_unit_path2,
264414
264412
  is_layout: () => is_layout2,
264415
264413
  layout_unit_path: () => layout_unit_path2,
@@ -264421,13 +264419,10 @@ __export4(conventions_exports2, {
264421
264419
  read_layoutView: () => read_layoutView2,
264422
264420
  read_pageQuery: () => read_pageQuery2,
264423
264421
  read_pageView: () => read_pageView2,
264424
- render_app_path: () => render_app_path2,
264425
- render_client_path: () => render_client_path2,
264426
- render_server_path: () => render_server_path2,
264427
- render_yoga_path: () => render_yoga_path2,
264428
264422
  router_index_path: () => router_index_path2,
264429
264423
  router_path: () => router_path2,
264430
- serialized_manifest_path: () => serialized_manifest_path2
264424
+ serialized_manifest_path: () => serialized_manifest_path2,
264425
+ server_adapter_path: () => server_adapter_path2
264431
264426
  });
264432
264427
  function router_path2(config42) {
264433
264428
  return path_exports4.join(base_dir2(config42), "Router.jsx");
@@ -264435,16 +264430,13 @@ function router_path2(config42) {
264435
264430
  function page_entry_path2(config42, id2, base) {
264436
264431
  return path_exports4.join(page_entries_dir2(config42, base), `${id2}.jsx`);
264437
264432
  }
264438
- function render_client_path2(config42, base) {
264439
- return path_exports4.join(units_dir2(config42, base), "render", "client.jsx");
264440
- }
264441
- function render_server_path2(config42, base) {
264433
+ function server_adapter_path2(config42, base) {
264442
264434
  return path_exports4.join(units_dir2(config42, base), "render", "server.js");
264443
264435
  }
264444
- function render_yoga_path2(config42, base) {
264445
- return path_exports4.join(units_dir2(config42, base), "render", "yoga.js");
264436
+ function adapter_config_path2(config42, base) {
264437
+ return path_exports4.join(units_dir2(config42, base), "render", "config.js");
264446
264438
  }
264447
- function render_app_path2(config42, base) {
264439
+ function app_component_path2(config42, base) {
264448
264440
  return path_exports4.join(units_dir2(config42, base), "render", "App.jsx");
264449
264441
  }
264450
264442
  function page_unit_path2(config42, id2, base) {
@@ -264642,11 +264634,11 @@ var invalidNodeFieldMessage3 = `\u26A0\uFE0F Your project defines a Node interf
264642
264634
  If you are trying to provide the Node interface and its field, they must look like the following:
264643
264635
 
264644
264636
  interface Node {
264645
- id: ID!
264637
+ id: ID!
264646
264638
  }
264647
264639
 
264648
264640
  extend type Query {
264649
- node(id: ID!): Node
264641
+ node(id: ID!): Node
264650
264642
  }
264651
264643
 
264652
264644
  For more information, please visit these links:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-svelte",
3
- "version": "1.2.13",
3
+ "version": "1.2.15",
4
4
  "description": "The svelte plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",
@@ -32,7 +32,7 @@
32
32
  "rollup": "^3.7.4",
33
33
  "svelte": "^3.57.0",
34
34
  "vite": "^4.1.1",
35
- "houdini": "^1.2.13"
35
+ "houdini": "^1.2.15"
36
36
  },
37
37
  "files": [
38
38
  "build"