@osdk/generator 1.10.0-main-20240412174954 → 1.10.0-main-20240418183121

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/CHANGELOG.md CHANGED
@@ -1,18 +1,19 @@
1
1
  # @osdk/generator
2
2
 
3
- ## 1.10.0-main-20240412174954
3
+ ## 1.10.0-main-20240418183121
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - 11434b95: Deprecated bulk actions with renamed batchActions functionality
8
+ - 948c6340: Add pivot to functionality and deprecate searchAround calls
8
9
 
9
10
  ### Patch Changes
10
11
 
11
12
  - 9906a41e: Extract package generation
12
13
  - 9906a41e: Compatible version checks now use versions that are both embedded in the code and updated automatically as part of the release process.
13
14
  - f7287ae8: For 2.0, fixes codegen version matching in snapshot builds
14
- - @osdk/api@1.6.1-main-20240412174954
15
- - @osdk/generator-converters@0.4.1-main-20240412174954
15
+ - @osdk/api@1.6.1-main-20240418183121
16
+ - @osdk/generator-converters@0.4.1-main-20240418183121
16
17
 
17
18
  ## 1.1.1
18
19
 
@@ -84,7 +84,9 @@ ${Array.from(uniqueLinkTargets).map((linkTarget) => `import type { ${linkTarget}
84
84
  ${getDescriptionIfPresent(objectTypeWithLinks.objectType.description)}
85
85
  export interface ${objectTypeWithLinks.objectType.apiName} extends OntologyObject {
86
86
  /** @deprecated please migrate to $apiName instead */
87
- readonly __apiName: "${objectTypeWithLinks.objectType.apiName}";
87
+ readonly __apiName: "${objectTypeWithLinks.objectType.apiName}" & {${objectTypeWithLinks.linkTypes.map((linkType) => {
88
+ return `/** @deprecated please migrate to pivotTo(${linkType.apiName}) instead */ searchAround${linkType.apiName.charAt(0).toUpperCase() + linkType.apiName.slice(1)}?: never`;
89
+ })}};
88
90
  /** @deprecated please migrate to $primaryKey instead */
89
91
  readonly __primaryKey: ${wirePropertyTypeV2ToTypeScriptType(objectTypeWithLinks.objectType.properties[objectTypeWithLinks.objectType.primaryKey].dataType)};
90
92
  readonly $apiName: "${objectTypeWithLinks.objectType.apiName}";