Type Alias ConditionalListQueries<Fields, SupportedTypes, Prefix, QueryFilter>

ConditionalListQueries<Fields, SupportedTypes, Prefix, QueryFilter>: {
    [FieldName in keyof ConditionalPick<Fields, SupportedTypes> as `${Prefix}.${string & FieldName}${QueryFilter}`]?: NonNullable<BaseOrArrayType<Fields[FieldName]>>[]
}

Type Parameters

  • Fields
  • SupportedTypes
  • Prefix extends string
  • QueryFilter extends string = ""