antd-crud-table API
    Preparing search index...

    Type Alias IdGenerator<T, K>

    IdGenerator: (existing: readonly T[]) => T[K]

    Produces the identity for a newly created record.

    Receives the existing records so a strategy can derive the next value (max + 1, a fresh UUID, a sequence). Supplying one replaces the built-in policy entirely.

    Type Parameters

    • T
    • K extends keyof T

    Type Declaration

      • (existing: readonly T[]): T[K]
      • Parameters

        • existing: readonly T[]

        Returns T[K]