Skip to content

Commit 6bd04ee

Browse files
authored
Add API Resources for Sortable Attributes in README.MD
1 parent 8abd943 commit 6bd04ee

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,17 @@ Or using the index object:
516516
- Reset Filterable Attributes
517517
`index.resetFilterableAttributes(): Promise<EnqueuedUpdate>`
518518

519+
### Sortable Attributes <!-- omit in toc -->
520+
521+
- Get Sortable Attributes
522+
`index.getSortableAttributes(): Promise<string[]>`
523+
524+
- Update Sortable Attributes
525+
`index.updateSortableAttributes(sortableAttributes: string[] | null): Promise<EnqueuedUpdate>`
526+
527+
- Reset Sortable Attributes
528+
`index.resetSortableAttributes(): Promise<EnqueuedUpdate>`
529+
519530
### Keys <!-- omit in toc -->
520531

521532
- Get keys

0 commit comments

Comments
 (0)