@osdk/generator 1.8.0 → 1.9.0

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.
@@ -1584,11 +1584,18 @@ function __UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst(interfaceDef, v2 = false
1584
1584
  }
1585
1585
  async function generateOntologyMetadataFile(ontology, userAgent, fs, outDir) {
1586
1586
  fs.writeFile(path15__default.join(outDir, "OntologyMetadata.ts"), await formatTs(`
1587
- export const OntologyMetadata = {
1587
+ import {OntologyMetadata as OM} from "@osdk/api";
1588
+
1589
+ export interface OntologyMetadata extends OM<"${"0.15.0"}"> {
1590
+ expectsClientVersion: "${"0.15.0"}",
1591
+ };
1592
+
1593
+ export const OntologyMetadata: OntologyMetadata = {
1594
+ expectsClientVersion: "${"0.15.0"}",
1588
1595
  ontologyRid: "${ontology.ontology.rid}",
1589
1596
  ontologyApiName: "${ontology.ontology.apiName}",
1590
1597
  userAgent: "${userAgent}",
1591
- }
1598
+ };
1592
1599
  `));
1593
1600
  }
1594
1601