@@ -21,6 +21,7 @@ import {
21
21
Loader ,
22
22
type CodeRef ,
23
23
type Permissions ,
24
+ type Filter ,
24
25
} from ' @cardstack/runtime-common' ;
25
26
import type { ComponentLike } from ' @glint/template' ;
26
27
import { CardContainer } from ' @cardstack/boxel-ui/components' ;
@@ -37,7 +38,7 @@ export interface BoxComponentSignature {
37
38
Named: {
38
39
format? : Format ;
39
40
displayContainer? : boolean ;
40
- linksToType ? : CodeRef ;
41
+ addCardFilter ? : Filter ;
41
42
};
42
43
};
43
44
Blocks: {};
@@ -194,7 +195,7 @@ export function getBoxComponent(
194
195
Args: {
195
196
format? : Format ;
196
197
displayContainer? : boolean ;
197
- linksToType ? : CodeRef ;
198
+ addCardFilter ? : Filter ;
198
199
};
199
200
}> = <template >
200
201
<CardContextConsumer as | context | >
@@ -248,7 +249,7 @@ export function getBoxComponent(
248
249
( not field.computeVia )
249
250
permissions.canWrite
250
251
}}
251
- @ linksToType ={{@ linksToType }}
252
+ @ addCardFilter ={{@ addCardFilter }}
252
253
/>
253
254
</CardContainer >
254
255
</DefaultFormatsProvider >
@@ -276,7 +277,7 @@ export function getBoxComponent(
276
277
( not field.computeVia )
277
278
permissions.canWrite
278
279
}}
279
- @ linksToType ={{@ linksToType }}
280
+ @ addCardFilter ={{@ addCardFilter }}
280
281
/>
281
282
</div >
282
283
</DefaultFormatsProvider >
@@ -293,7 +294,7 @@ export function getBoxComponent(
293
294
@ fieldName ={{model.name }}
294
295
@ context ={{context }}
295
296
@ canEdit ={{and ( not field.computeVia ) permissions.canWrite }}
296
- @ linksToType ={{@ linksToType }}
297
+ @ addCardFilter ={{@ addCardFilter }}
297
298
...attributes
298
299
/>
299
300
</DefaultFormatsProvider >
0 commit comments