File tree Expand file tree Collapse file tree
plugins/@sanity/orderable-document-list Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -796,6 +796,25 @@ export type Latex = {
796796 body ?: string
797797}
798798
799+ export type Issue1506TeamMember = {
800+ _id : string
801+ _type : 'issue1506TeamMember'
802+ _createdAt : string
803+ _updatedAt : string
804+ _rev : string
805+ orderRank ?: string
806+ name ?: string
807+ }
808+
809+ export type Issue1506Page = {
810+ _id : string
811+ _type : 'issue1506Page'
812+ _createdAt : string
813+ _updatedAt : string
814+ _rev : string
815+ title ?: string
816+ }
817+
799818export type OrderableProject = {
800819 _id : string
801820 _type : 'orderableProject'
@@ -1672,6 +1691,8 @@ export type AllSanitySchemaTypes =
16721691 | Lesson
16731692 | LatexTest
16741693 | Latex
1694+ | Issue1506TeamMember
1695+ | Issue1506Page
16751696 | OrderableProject
16761697 | OrderableCategory
16771698 | HotspotArrayDemo
Original file line number Diff line number Diff line change @@ -86,7 +86,9 @@ export default defineConfig({
8686
8787 // ... all other desk items, e.g. all other document types not already included
8888 // @see https://www.sanity.io/docs/studio/structure-builder-cheat-sheet#k4eb3b1891dc2
89- ... S .documentTypeListItems ().filter ((item ) => ! ([' category' , ' project' ].includes (item .getId ())))
89+ ... S .documentTypeListItems ().filter (
90+ (item ) => ! [' category' , ' project' ].includes (item .getId ()),
91+ ),
9092 ])
9193 },
9294 }),
@@ -194,7 +196,6 @@ Uses [kvandakes](https://github.com/kvandake)'s [TypeScript implementation](http
194196
195197Put simply it updates the position of an individual – or many – Documents in an ordered list without updating any others. It's fast.
196198
197-
198199## License
199200
200201[MIT](LICENSE) © Sanity.io
You can’t perform that action at this time.
0 commit comments