zibri
    Preparing search index...
    NumberPropertyMetadata: BasePropertyMetadata & WithDefaultMetadata<number> & {
        max: number | undefined;
        min: number | undefined;
        primary: boolean;
        type: "number";
        unique: boolean;
    }

    Metadata for number properties.

    Type declaration

    • max: number | undefined

      The maximum value of the property.

    • min: number | undefined

      The minimum value of the property.

    • primary: boolean

      Whether or not the property is a primary key. Enabling this also sets 'unique' to true.

    • type: "number"

      The type of the property.

    • unique: boolean

      Whether or not the property should be unique.