@mikuroxina/mini-fn
    Preparing search index...

    Type Alias Entity<S>

    Entity: S extends Record<string, Model.Model<any>>
        ? Struct<S> & {
            createdAt: DateUtc;
            deletedAt: Option.Option<DateUtc>;
            primaryKey: EntityPrimaryKey<Struct<S>>;
            updatedAt: DateUtc;
        }
        : never

    An entity type which has identifier and lifetime (created/updated/deleted).

    Type Parameters

    • S