@sanity/orderable-document-list
2.0.92.0.10
README.md~
README.mdModified+3−2
Index: package/README.md
===================================================================
--- package/README.md
+++ package/README.md
@@ -85,9 +85,11 @@
}),
// ... all other desk items, e.g. all other document types not already included
// @see https://www.sanity.io/docs/studio/structure-builder-cheat-sheet#k4eb3b1891dc2
- ...S.documentTypeListItems().filter((item) => !(['category', 'project'].includes(item.getId())))
+ ...S.documentTypeListItems().filter(
+ (item) => !['category', 'project'].includes(item.getId()),
+ ),
])
},
}),
],
@@ -193,8 +195,7 @@
Uses [kvandakes](https://github.com/kvandake)'s [TypeScript implementation](https://github.com/kvandake/lexorank-ts) of [Jira's Lexorank](https://www.youtube.com/watch?v=OjQv9xMoFbg) to create a "lexographical" Document order.
Put simply it updates the position of an individual – or many – Documents in an ordered list without updating any others. It's fast.
-
## License
[MIT](LICENSE) © Sanity.io