@@ -87,7 +87,7 @@ export const farmerApi = apiWithTag.injectEndpoints({
87
87
providesTags : ( plots ) =>
88
88
plots
89
89
? [
90
- ...plots . map ( ( { plotId } ) => ( { type : 'HarvesterPlots' , plotId } as const ) ) ,
90
+ ...plots . map ( ( { plotId } ) => ( { type : 'HarvesterPlots' , plotId } ) as const ) ,
91
91
{ type : 'HarvesterPlots' , id : 'LIST' } ,
92
92
]
93
93
: [ { type : 'HarvesterPlots' , id : 'LIST' } ] ,
@@ -106,7 +106,7 @@ export const farmerApi = apiWithTag.injectEndpoints({
106
106
providesTags : ( plots ) =>
107
107
plots
108
108
? [
109
- ...plots . map ( ( filename ) => ( { type : 'HarvesterPlotsInvalid' , filename } as const ) ) ,
109
+ ...plots . map ( ( filename ) => ( { type : 'HarvesterPlotsInvalid' , filename } ) as const ) ,
110
110
{ type : 'HarvesterPlotsInvalid' , id : 'LIST' } ,
111
111
]
112
112
: [ { type : 'HarvesterPlotsInvalid' , id : 'LIST' } ] ,
@@ -125,7 +125,7 @@ export const farmerApi = apiWithTag.injectEndpoints({
125
125
providesTags : ( plots ) =>
126
126
plots
127
127
? [
128
- ...plots . map ( ( filename ) => ( { type : 'HarvesterPlotsKeysMissing' , filename } as const ) ) ,
128
+ ...plots . map ( ( filename ) => ( { type : 'HarvesterPlotsKeysMissing' , filename } ) as const ) ,
129
129
{ type : 'HarvesterPlotsKeysMissing' , id : 'LIST' } ,
130
130
]
131
131
: [ { type : 'HarvesterPlotsKeysMissing' , id : 'LIST' } ] ,
@@ -144,7 +144,7 @@ export const farmerApi = apiWithTag.injectEndpoints({
144
144
providesTags : ( plots ) =>
145
145
plots
146
146
? [
147
- ...plots . map ( ( filename ) => ( { type : 'HarvesterPlotsDuplicates' , filename } as const ) ) ,
147
+ ...plots . map ( ( filename ) => ( { type : 'HarvesterPlotsDuplicates' , filename } ) as const ) ,
148
148
{ type : 'HarvesterPlotsDuplicates' , id : 'LIST' } ,
149
149
]
150
150
: [ { type : 'HarvesterPlotsDuplicates' , id : 'LIST' } ] ,
@@ -171,7 +171,7 @@ export const farmerApi = apiWithTag.injectEndpoints({
171
171
providesTags : ( connections ) =>
172
172
connections
173
173
? [
174
- ...connections . map ( ( { nodeId } ) => ( { type : 'FarmerConnections' , id : nodeId } as const ) ) ,
174
+ ...connections . map ( ( { nodeId } ) => ( { type : 'FarmerConnections' , id : nodeId } ) as const ) ,
175
175
{ type : 'FarmerConnections' , id : 'LIST' } ,
176
176
]
177
177
: [ { type : 'FarmerConnections' , id : 'LIST' } ] ,
@@ -212,7 +212,7 @@ export const farmerApi = apiWithTag.injectEndpoints({
212
212
providesTags : ( signagePoints ) =>
213
213
signagePoints
214
214
? [
215
- ...signagePoints . map ( ( { challengeHash } ) => ( { type : 'SignagePoints' , id : challengeHash } as const ) ) ,
215
+ ...signagePoints . map ( ( { challengeHash } ) => ( { type : 'SignagePoints' , id : challengeHash } ) as const ) ,
216
216
{ type : 'SignagePoints' , id : 'LIST' } ,
217
217
]
218
218
: [ { type : 'SignagePoints' , id : 'LIST' } ] ,
@@ -235,7 +235,7 @@ export const farmerApi = apiWithTag.injectEndpoints({
235
235
providesTags : ( poolsList ) =>
236
236
poolsList
237
237
? [
238
- ...poolsList . map ( ( { p2SingletonPuzzleHash } ) => ( { type : 'Pools' , id : p2SingletonPuzzleHash } as const ) ) ,
238
+ ...poolsList . map ( ( { p2SingletonPuzzleHash } ) => ( { type : 'Pools' , id : p2SingletonPuzzleHash } ) as const ) ,
239
239
{ type : 'Pools' , id : 'LIST' } ,
240
240
]
241
241
: [ { type : 'Pools' , id : 'LIST' } ] ,
0 commit comments