@@ -49,7 +49,7 @@ export const useTabService = () => {
4949 skip,
5050 // @ts -expect-error: populate is not in the strict type definition but supported by backend
5151 populate : [ 'artists' , 'rhythm' ] ,
52- projection : { ...defaultProjection , ...projection } ,
52+ select : { ...defaultProjection , ...projection } ,
5353 sort : sort
5454 } ,
5555 } )
@@ -76,7 +76,7 @@ export const useTabService = () => {
7676 options : {
7777 // @ts -expect-error: populate is not in the strict type definition but supported by backend
7878 populate : [ 'artists' , 'rhythm' ] ,
79- projection : {
79+ select : {
8080 'content.ckb-IR.title' : 1 ,
8181 'content.ckb-Latn.title' : 1 ,
8282 'content.kmr.title' : 1 ,
@@ -101,7 +101,7 @@ export const useTabService = () => {
101101 options : {
102102 limit : 10 ,
103103 // Explicitly project fields to ensure image is returned
104- projection : {
104+ select : {
105105 content : 1 ,
106106 chords : 1 ,
107107 image : 1 ,
@@ -314,7 +314,7 @@ export const useTabService = () => {
314314 limit,
315315 // @ts -expect-error: populate is not in the strict type definition but supported by backend
316316 populate : [ 'artists' , 'rhythm' ] ,
317- projection : {
317+ select : {
318318 'content.ckb-IR.title' : 1 ,
319319 'content.ckb-Latn.title' : 1 ,
320320 'content.kmr.title' : 1 ,
@@ -429,7 +429,7 @@ export const useTabService = () => {
429429 options : {
430430 // @ts -expect-error: populate is not in the strict type definition but supported by backend
431431 populate : [ 'artists' , 'rhythm' ] ,
432- projection : {
432+ select : {
433433 'content.ckb-IR.title' : 1 ,
434434 'content.ckb-Latn.title' : 1 ,
435435 'content.kmr.title' : 1 ,
@@ -511,7 +511,7 @@ export const useTabService = () => {
511511 options : {
512512 sort : sortObj ,
513513 // Explicitly project fields to ensure image is returned
514- projection : {
514+ select : {
515515 content : 1 ,
516516 chords : 1 ,
517517 image : 1 ,
@@ -540,7 +540,7 @@ export const useTabService = () => {
540540 options : {
541541 limit : 1 ,
542542 // Explicitly project fields to ensure image is returned
543- projection : {
543+ select : {
544544 content : 1 ,
545545 chords : 1 ,
546546 image : 1 ,
@@ -575,7 +575,7 @@ export const useTabService = () => {
575575 options : {
576576 // @ts -expect-error: populate is not in the strict type definition but supported by backend
577577 populate : [ 'artists' , 'rhythm' ] ,
578- projection : {
578+ select : {
579579 'content.ckb-IR.title' : 1 ,
580580 'content.ckb-Latn.title' : 1 ,
581581 'content.kmr.title' : 1 ,
0 commit comments