@osdk/generator 2.7.0-beta.10 → 2.7.0-beta.11

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.
@@ -1007,11 +1007,14 @@ ${stringify(definition.links, {
1007
1007
  return `${imports}
1008
1008
  ${v2 ? getV2Types(forInternalUse) : ""}
1009
1009
 
1010
- export const ${interfaceDef.shortApiName}: ${interfaceDef.shortApiName} = {
1010
+ export const ${interfaceDef.shortApiName} = {
1011
1011
  type: "interface",
1012
1012
  apiName: "${interfaceDef.fullApiName}",
1013
1013
  osdkMetadata: $osdkMetadata,
1014
- };`;
1014
+ internalDoNotUseMetadata: {
1015
+ rid: "${definition.rid}",
1016
+ },
1017
+ } satisfies ${interfaceDef.shortApiName} & { internalDoNotUseMetadata: { rid: string } } as ${interfaceDef.shortApiName};`;
1015
1018
  }
1016
1019
 
1017
1020
  // src/v2.0/generatePerInterfaceDataFiles.ts