File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,15 @@ import type {
1919 SelectArg ,
2020} from "../object/FetchPageArgs.js" ;
2121
22- import type { PropertyKeys } from "../ontology/ObjectOrInterface.js" ;
23- import type { ObjectTypeDefinition } from "../ontology/ObjectTypeDefinition.js" ;
22+ import type {
23+ ObjectOrInterfaceDefinition ,
24+ PropertyKeys ,
25+ } from "../ontology/ObjectOrInterface.js" ;
2426import type { ExtractOptions , Osdk } from "../OsdkObjectFrom.js" ;
2527import type { Experiment } from "./Experiment.js" ;
2628
2729type fetchOneByRidFn = <
28- Q extends ObjectTypeDefinition ,
30+ Q extends ObjectOrInterfaceDefinition ,
2931 const L extends PropertyKeys < Q > ,
3032 const R extends boolean ,
3133 const S extends false | "throw" = NullabilityAdherence . Default ,
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ export function createClientFromContext(clientCtx: MinimalClient) {
185185 case __EXPERIMENTAL__NOT_SUPPORTED_YET__fetchOneByRid . name :
186186 return {
187187 fetchOneByRid : async <
188- Q extends ObjectTypeDefinition ,
188+ Q extends ObjectOrInterfaceDefinition ,
189189 const L extends PropertyKeys < Q > ,
190190 const R extends boolean ,
191191 const S extends false | "throw" = NullabilityAdherence . Default ,
You can’t perform that action at this time.
0 commit comments