API reference > @kontsedal/olas-entities > EntityOptions
EntityOptions type
What defineEntity takes.
Signature:
typescript
export type EntityOptions<T> = {
name: string;
idOf: (value: T) => string | null | undefined;
isCanonical?: (value: T) => boolean;
maxSlots?: number;
};