message: fix(index): change "fields" to use mongoose's "IndexDefinition" type
diff: +import mongoose from 'mongoose';
  import { DecoratorKeys } from './internal/constants';
  import { getName } from './internal/utils';
  import { logger } from './logSettings';
  @@ -13,10 +14,7 @@ import type { BeAnObject, IIndexArray, IndexOptions } from './types';
  * class ClassName {}
  * ```
  */
  -export function index<T extends BeAnObject = BeAnObject>(
  - fields: Partial<Record<keyof T, string | -1 | 1>>,
  - options?: IndexOptions<T>
  -): ClassDecorator {
  +export function index<T extends BeAnObject = BeAnObject>(fields: mongoose.IndexDefinition, options?: IndexOptions<T>): ClassDecorator {
  return (target: any) => {
  logger.info('Adding "%o" Indexes to %s', { fields, options }, getName(target));
  const indices: IIndexArray<any>[] = Array.from(Reflect.getMetadata(DecoratorKeys.Index, target) ?? []);
  