|
9 | 9 | type GraphQLTypesForList, |
10 | 10 | type ListGraphQLTypes, |
11 | 11 | type ListHooks, |
12 | | - type __ResolvedKeystoneConfig, |
| 12 | + type ResolvedKeystoneConfig, |
13 | 13 | type MaybePromise, |
14 | 14 | type NextFieldType, |
15 | 15 | type FieldTypeFunc, |
@@ -143,7 +143,7 @@ function throwIfNotAFilter (x: unknown, listKey: string, fieldKey: string) { |
143 | 143 | ) |
144 | 144 | } |
145 | 145 |
|
146 | | -type ListConfigType = __ResolvedKeystoneConfig['lists'][string] |
| 146 | +type ListConfigType = ResolvedKeystoneConfig['lists'][string] |
147 | 147 | type FieldConfigType = ReturnType<FieldTypeFunc<any>> |
148 | 148 | type PartiallyInitialisedList1 = { graphql: { isEnabled: IsEnabled } } |
149 | 149 | type PartiallyInitialisedList2 = Omit<InitialisedList, 'lists' | 'resolvedDbFields'> |
@@ -351,7 +351,7 @@ function parseFieldHooks ( |
351 | 351 | } |
352 | 352 |
|
353 | 353 | function getListsWithInitialisedFields ( |
354 | | - { storage: configStorage, lists: listsConfig, db: { provider } }: __ResolvedKeystoneConfig, |
| 354 | + { storage: configStorage, lists: listsConfig, db: { provider } }: ResolvedKeystoneConfig, |
355 | 355 | listGraphqlTypes: Record<string, ListGraphQLTypes>, |
356 | 356 | intermediateLists: Record<string, PartiallyInitialisedList1> |
357 | 357 | ) { |
@@ -569,7 +569,7 @@ function graphqlForOutputField (field: InitialisedField) { |
569 | 569 | } |
570 | 570 |
|
571 | 571 | function getListGraphqlTypes ( |
572 | | - listsConfig: __ResolvedKeystoneConfig['lists'], |
| 572 | + listsConfig: ResolvedKeystoneConfig['lists'], |
573 | 573 | lists: Record<string, InitialisedList>, |
574 | 574 | intermediateLists: Record<string, { graphql: { isEnabled: IsEnabled } }> |
575 | 575 | ): Record<string, ListGraphQLTypes> { |
@@ -834,7 +834,7 @@ function getListGraphqlTypes ( |
834 | 834 | * 5. Handle relationships - ensure correct linking between two sides of all relationships (including one-sided relationships) |
835 | 835 | * 6. |
836 | 836 | */ |
837 | | -export function initialiseLists (config: __ResolvedKeystoneConfig): Record<string, InitialisedList> { |
| 837 | +export function initialiseLists (config: ResolvedKeystoneConfig): Record<string, InitialisedList> { |
838 | 838 | const listsConfig = config.lists |
839 | 839 |
|
840 | 840 | let intermediateLists |
|
0 commit comments