test(09-04): add failing tests for ordered list schemas
- Columns, actions, default sort, and page sizes must compile to typed JSON - Empty and single declarations stay arrays and keep source order - Unsupported keys, actions, defaults, and path escape fail activation
This commit is contained in:
20
cabana/testdata/list/all_columns.yaml
vendored
Normal file
20
cabana/testdata/list/all_columns.yaml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
columns:
|
||||
name:
|
||||
label: demo.lang.name
|
||||
type: text
|
||||
searchable: true
|
||||
sortable: true
|
||||
created_at:
|
||||
label: demo.lang.created
|
||||
type: datetime
|
||||
sortable: true
|
||||
active:
|
||||
label: demo.lang.active
|
||||
type: switch
|
||||
sortable: false
|
||||
genre:
|
||||
label: demo.lang.genre
|
||||
relation: genre
|
||||
select: name
|
||||
searchable: true
|
||||
sortable: false
|
||||
Reference in New Issue
Block a user