@fern-api/go-dynamic-snippets 1.33.5 → 1.34.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/dist/index.d.cts CHANGED
@@ -113,6 +113,16 @@ declare class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGen
113
113
  }): go.TypeReference;
114
114
  getEnvironmentTypeReferenceFromID(environmentID: string): go.TypeReference | undefined;
115
115
  private getEnvironmentTypeReference;
116
+ /**
117
+ * Builds an effective FernGeneratorExec.GeneratorConfig by incorporating
118
+ * Go-specific publish info from the dynamic IR's generatorConfig.
119
+ *
120
+ * The dynamic IR contains the authoritative generator config (including
121
+ * repoUrl and version for Go). This method ensures the snippet generator
122
+ * uses that config directly, rather than depending on an external conversion
123
+ * layer (e.g. FDR) to correctly populate the FernGeneratorExec config.
124
+ */
125
+ private buildEffectiveConfig;
116
126
  static chainMethods(baseFunc: go.FuncInvocation, ...methods: Omit<go.MethodInvocation.Args, "on">[]): go.MethodInvocation;
117
127
  }
118
128
 
package/dist/index.d.ts CHANGED
@@ -113,6 +113,16 @@ declare class DynamicSnippetsGeneratorContext extends AbstractDynamicSnippetsGen
113
113
  }): go.TypeReference;
114
114
  getEnvironmentTypeReferenceFromID(environmentID: string): go.TypeReference | undefined;
115
115
  private getEnvironmentTypeReference;
116
+ /**
117
+ * Builds an effective FernGeneratorExec.GeneratorConfig by incorporating
118
+ * Go-specific publish info from the dynamic IR's generatorConfig.
119
+ *
120
+ * The dynamic IR contains the authoritative generator config (including
121
+ * repoUrl and version for Go). This method ensures the snippet generator
122
+ * uses that config directly, rather than depending on an external conversion
123
+ * layer (e.g. FDR) to correctly populate the FernGeneratorExec config.
124
+ */
125
+ private buildEffectiveConfig;
116
126
  static chainMethods(baseFunc: go.FuncInvocation, ...methods: Omit<go.MethodInvocation.Args, "on">[]): go.MethodInvocation;
117
127
  }
118
128