Directus / @directus/sdk / types / SingletonCollections
Type alias: SingletonCollections<Schema>
SingletonCollections<
Schema
>:{ [Key in keyof Schema]: Schema[Key] extends any[] ? never : Key }
[keyofSchema
]
Returns a list of singleton collections in the schema
Type parameters
• Schema extends object