@osdk/generator 1.13.0-beta.0 → 1.13.0-beta.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @osdk/generator
2
2
 
3
+ ## 1.13.0-beta.1
4
+
5
+ ### Minor Changes
6
+
7
+ - e2ab8db: Fix long aggregations in legacy-client
8
+
3
9
  ## 1.13.0-beta.0
4
10
 
5
11
  ### Minor Changes
@@ -55,7 +55,7 @@ function isReservedKeyword(name) {
55
55
  // src/v1.1/wireObjectTypeV2ToV1ObjectInterfaceString.ts
56
56
  function wireObjectTypeV2ToObjectInterfaceStringV1(objectTypeWithLinks, importExt = "") {
57
57
  const uniqueLinkTargets = new Set(objectTypeWithLinks.linkTypes.map((a) => a.objectTypeApiName).filter((a) => a !== objectTypeWithLinks.objectType.apiName));
58
- return `import type { OntologyObject, LocalDate, Timestamp, GeoShape, GeoPoint, Attachment, TimeSeries, MultiLink, SingleLink } from "@osdk/legacy-client";
58
+ return `import type { OntologyObject, LocalDate, Timestamp, GeoShape, GeoPoint, Attachment, TimeSeries, MultiLink, SingleLink, StringLong } from "@osdk/legacy-client";
59
59
  ${Array.from(uniqueLinkTargets).map((linkTarget) => `import type { ${linkTarget} } from "./${linkTarget}${importExt}";`).join("\n")}
60
60
 
61
61
  ${getDescriptionIfPresent(objectTypeWithLinks.objectType.description)}
@@ -111,7 +111,7 @@ function wirePropertyTypeV2ToTypeScriptType(property) {
111
111
  case "geoshape":
112
112
  return "GeoShape";
113
113
  case "long":
114
- return "string";
114
+ return "StringLong";
115
115
  case "short":
116
116
  return "number";
117
117
  case "timestamp":