@accelbyte/codegen 0.0.0-dev-20260408102041 → 0.0.0-dev-20260422072053

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.
@@ -84,13 +84,13 @@ var CodegenConfig = class _CodegenConfig {
84
84
  _CodegenConfig.config = loaded.default ?? loaded ?? {};
85
85
  }
86
86
  static shouldProduceIndexFiles() {
87
- return _CodegenConfig.config.unstable_shouldProduceIndexFiles ?? true;
87
+ return _CodegenConfig.config.shouldProduceIndexFiles ?? true;
88
88
  }
89
89
  static getBasePath() {
90
90
  return _CodegenConfig.config.basePath;
91
91
  }
92
92
  static getOverrideAsAny() {
93
- return _CodegenConfig.config.unstable_overrideAsAny;
93
+ return _CodegenConfig.config.overrideAsAny;
94
94
  }
95
95
  static splitOutputByServiceName() {
96
96
  return _CodegenConfig.config.unstable_splitOutputByServiceName ?? false;
@@ -861,6 +861,16 @@ var resolveConflicts = ({ path: path9, generatedMethod, testedGeneratedMethod, e
861
861
  _testedGenMethod += "_admin";
862
862
  }
863
863
  }
864
+ try {
865
+ testConflict(path9, _testedGenMethod, existingMethods);
866
+ } catch (e) {
867
+ const parentSegmentMatch = path9.match(/\/([^/{}]+)\/{[^}]+}\/[^/]*$/);
868
+ if (parentSegmentMatch) {
869
+ const suffix = "_By" + _.upperFirst(_.camelCase(parentSegmentMatch[1]));
870
+ generatedMethod += suffix;
871
+ _testedGenMethod += suffix;
872
+ }
873
+ }
864
874
  testConflict(path9, _testedGenMethod, existingMethods);
865
875
  return generatedMethod;
866
876
  };