@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.
@@ -1608,11 +1608,18 @@ function __UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst(interfaceDef, v2 = false
1608
1608
  }
1609
1609
  async function generateOntologyMetadataFile(ontology, userAgent, fs, outDir) {
1610
1610
  fs.writeFile(path15__namespace.default.join(outDir, "OntologyMetadata.ts"), await formatTs(`
1611
- export const OntologyMetadata = {
1611
+ import {OntologyMetadata as OM} from "@osdk/api";
1612
+
1613
+ export interface OntologyMetadata extends OM<"${"0.15.0"}"> {
1614
+ expectsClientVersion: "${"0.15.0"}",
1615
+ };
1616
+
1617
+ export const OntologyMetadata: OntologyMetadata = {
1618
+ expectsClientVersion: "${"0.15.0"}",
1612
1619
  ontologyRid: "${ontology.ontology.rid}",
1613
1620
  ontologyApiName: "${ontology.ontology.apiName}",
1614
1621
  userAgent: "${userAgent}",
1615
- }
1622
+ };
1616
1623
  `));
1617
1624
  }
1618
1625