Type Alias MutateBaseVariables<TPath, TFormData, TType, TExtraData>Not Exported

MutateBaseVariables<TPath, TFormData, TType, TExtraData>: TType extends "many"
    ? {
        apiClientParams?: Partial<ApiProps>;
        data: TFormData;
        extraData?: TExtraData;
        extraResources?: Resource<any>[];
        ids: (string | number)[];
        resource: Resource<TPath>;
    }
    : {
        apiClientParams?: Partial<ApiProps>;
        data: TFormData;
        extraData?: TExtraData;
        extraResources?: Resource<any>[];
        id: string | number;
        resource: Resource<TPath>;
    }

Type Parameters

  • TPath extends string
  • TFormData
  • TType
  • TExtraData