keystone
keystone copied to clipboard
Removes deprecated types (and ListSchemaConfig)
This pull request removes the unused first type parameter from ListConfig, ListAdminUIConfig types, and from the list and group function types.
This should allow developers to now use list<Lists.Post> instead of list<any, Lists.Post>.
This pull request also removes the ListSchemaConfig type, use Config['lists']' from .keystone/types(orKeystoneConfig['lists']from@keystone-6/core/types`).
Lastly, this pullr equest renames Lists.*.TypeInfo.all to Lists.*.TypeInfo.SchemaTypeInfo, to verbosely show where any circular types might be appearing from. (suspect for https://github.com/keystonejs/keystone/issues/8749)