@@ -306,7 +306,7 @@ export class OrganizationModel {
306306 findFirst <S extends OrganizationSelect >(args : FindFirstArgs < S , OrganizationFilter , OrganizationsOrderBy > & {
307307 select: S ;
308308 } & StrictSelect < S , OrganizationSelect > ): QueryBuilder < {
309- organizationById : InferSelectResult < OrganizationWithRelations , S> | null;
309+ organization : InferSelectResult < OrganizationWithRelations , S> | null;
310310 }> {
311311 const {
312312 document ,
@@ -319,23 +319,23 @@ export class OrganizationModel {
319319 client: this .client ,
320320 operation: " query" ,
321321 operationName: " Organization" ,
322- fieldName: " organizationById " ,
322+ fieldName: " organization " ,
323323 document ,
324324 variables ,
325325 transform: (data : {
326326 allOrganizations?: {
327327 nodes?: InferSelectResult<OrganizationWithRelations , S >[];
328328 };
329329 }) => ({
330- " organizationById " : data .allOrganizations ? .nodes ? .[0 ] ?? null
330+ " organization " : data .allOrganizations ? .nodes ? .[0 ] ?? null
331331 })
332332 });
333333 }
334334 findOne <S extends OrganizationSelect >(args : {
335335 id: string ;
336336 select : S ;
337337 } & StrictSelect < S , OrganizationSelect > ): QueryBuilder < {
338- organizationById : InferSelectResult < OrganizationWithRelations , S> | null;
338+ organization : InferSelectResult < OrganizationWithRelations , S> | null;
339339 }> {
340340 const {
341341 document ,
@@ -345,7 +345,7 @@ export class OrganizationModel {
345345 client: this .client ,
346346 operation: " query" ,
347347 operationName: " Organization" ,
348- fieldName: " organizationById " ,
348+ fieldName: " organization " ,
349349 document ,
350350 variables
351351 });
0 commit comments