houdini 1.0.6 → 1.0.7

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.
@@ -75961,6 +75961,12 @@ function inlineType({
75961
75961
  includeFragments,
75962
75962
  allOptional
75963
75963
  });
75964
+ const hasIncludeOrSkipDirective = selection2.directives && selection2.directives.filter(
75965
+ (directive) => directive.name.value === "include" || directive.name.value === "skip"
75966
+ ).length > 0;
75967
+ if (hasIncludeOrSkipDirective) {
75968
+ attributeType = AST10.tsUnionType([attributeType, AST10.tsUndefinedKeyword()]);
75969
+ }
75964
75970
  const prop = readonlyProperty(
75965
75971
  AST10.tsPropertySignature(
75966
75972
  AST10.identifier(attributeName),
@@ -78735,8 +78741,8 @@ async function updatePackageJSON(targetPath) {
78735
78741
  }
78736
78742
  packageJSON.devDependencies = {
78737
78743
  ...packageJSON.devDependencies,
78738
- houdini: "^1.0.6",
78739
- "houdini-svelte": "^1.0.6"
78744
+ houdini: "^1.0.7",
78745
+ "houdini-svelte": "^1.0.7"
78740
78746
  };
78741
78747
  await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
78742
78748
  }
@@ -75966,6 +75966,12 @@ function inlineType({
75966
75966
  includeFragments,
75967
75967
  allOptional
75968
75968
  });
75969
+ const hasIncludeOrSkipDirective = selection2.directives && selection2.directives.filter(
75970
+ (directive) => directive.name.value === "include" || directive.name.value === "skip"
75971
+ ).length > 0;
75972
+ if (hasIncludeOrSkipDirective) {
75973
+ attributeType = AST10.tsUnionType([attributeType, AST10.tsUndefinedKeyword()]);
75974
+ }
75969
75975
  const prop = readonlyProperty(
75970
75976
  AST10.tsPropertySignature(
75971
75977
  AST10.identifier(attributeName),
@@ -78740,8 +78746,8 @@ async function updatePackageJSON(targetPath) {
78740
78746
  }
78741
78747
  packageJSON.devDependencies = {
78742
78748
  ...packageJSON.devDependencies,
78743
- houdini: "^1.0.6",
78744
- "houdini-svelte": "^1.0.6"
78749
+ houdini: "^1.0.7",
78750
+ "houdini-svelte": "^1.0.7"
78745
78751
  };
78746
78752
  await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
78747
78753
  }
@@ -59714,6 +59714,12 @@ function inlineType({
59714
59714
  includeFragments,
59715
59715
  allOptional
59716
59716
  });
59717
+ const hasIncludeOrSkipDirective = selection2.directives && selection2.directives.filter(
59718
+ (directive) => directive.name.value === "include" || directive.name.value === "skip"
59719
+ ).length > 0;
59720
+ if (hasIncludeOrSkipDirective) {
59721
+ attributeType = AST10.tsUnionType([attributeType, AST10.tsUndefinedKeyword()]);
59722
+ }
59717
59723
  const prop = readonlyProperty(
59718
59724
  AST10.tsPropertySignature(
59719
59725
  AST10.identifier(attributeName),
@@ -59712,6 +59712,12 @@ function inlineType({
59712
59712
  includeFragments,
59713
59713
  allOptional
59714
59714
  });
59715
+ const hasIncludeOrSkipDirective = selection2.directives && selection2.directives.filter(
59716
+ (directive) => directive.name.value === "include" || directive.name.value === "skip"
59717
+ ).length > 0;
59718
+ if (hasIncludeOrSkipDirective) {
59719
+ attributeType = AST10.tsUnionType([attributeType, AST10.tsUndefinedKeyword()]);
59720
+ }
59715
59721
  const prop = readonlyProperty(
59716
59722
  AST10.tsPropertySignature(
59717
59723
  AST10.identifier(attributeName),
@@ -60035,6 +60035,12 @@ function inlineType({
60035
60035
  includeFragments,
60036
60036
  allOptional
60037
60037
  });
60038
+ const hasIncludeOrSkipDirective = selection2.directives && selection2.directives.filter(
60039
+ (directive) => directive.name.value === "include" || directive.name.value === "skip"
60040
+ ).length > 0;
60041
+ if (hasIncludeOrSkipDirective) {
60042
+ attributeType = AST10.tsUnionType([attributeType, AST10.tsUndefinedKeyword()]);
60043
+ }
60038
60044
  const prop = readonlyProperty(
60039
60045
  AST10.tsPropertySignature(
60040
60046
  AST10.identifier(attributeName),
@@ -60030,6 +60030,12 @@ function inlineType({
60030
60030
  includeFragments,
60031
60031
  allOptional
60032
60032
  });
60033
+ const hasIncludeOrSkipDirective = selection2.directives && selection2.directives.filter(
60034
+ (directive) => directive.name.value === "include" || directive.name.value === "skip"
60035
+ ).length > 0;
60036
+ if (hasIncludeOrSkipDirective) {
60037
+ attributeType = AST10.tsUnionType([attributeType, AST10.tsUndefinedKeyword()]);
60038
+ }
60033
60039
  const prop = readonlyProperty(
60034
60040
  AST10.tsPropertySignature(
60035
60041
  AST10.identifier(attributeName),
@@ -72825,6 +72825,12 @@ function inlineType({
72825
72825
  includeFragments,
72826
72826
  allOptional
72827
72827
  });
72828
+ const hasIncludeOrSkipDirective = selection2.directives && selection2.directives.filter(
72829
+ (directive) => directive.name.value === "include" || directive.name.value === "skip"
72830
+ ).length > 0;
72831
+ if (hasIncludeOrSkipDirective) {
72832
+ attributeType = AST10.tsUnionType([attributeType, AST10.tsUndefinedKeyword()]);
72833
+ }
72828
72834
  const prop = readonlyProperty(
72829
72835
  AST10.tsPropertySignature(
72830
72836
  AST10.identifier(attributeName),
@@ -72819,6 +72819,12 @@ function inlineType({
72819
72819
  includeFragments,
72820
72820
  allOptional
72821
72821
  });
72822
+ const hasIncludeOrSkipDirective = selection2.directives && selection2.directives.filter(
72823
+ (directive) => directive.name.value === "include" || directive.name.value === "skip"
72824
+ ).length > 0;
72825
+ if (hasIncludeOrSkipDirective) {
72826
+ attributeType = AST10.tsUnionType([attributeType, AST10.tsUndefinedKeyword()]);
72827
+ }
72822
72828
  const prop = readonlyProperty(
72823
72829
  AST10.tsPropertySignature(
72824
72830
  AST10.identifier(attributeName),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "The disappearing GraphQL clients",
5
5
  "keywords": [
6
6
  "typescript",