Member Junction
    Preparing search index...

    Interface MJUserViewEntity_IUserViewProperty

    One declared property of a User View: a named, typed input that adds one predicate on a target field when a run gives it a value or it has a default.

    Stored as a JSON array in the Properties column of the User Views entity. The same shape is exported from @memberjunction/core as UserViewProperty, with the resolver that works out token defaults.

    interface MJUserViewEntity_IUserViewProperty {
        AllowOverride?: boolean;
        Default?: MJUserViewEntity_IUserViewPropertyDefault;
        Description?: string;
        IsRequired?: boolean;
        Name: string;
        Target: MJUserViewEntity_IUserViewPropertyTarget;
        Type: "string" | "number" | "boolean" | "date" | "uuid";
    }
    Index

    Properties

    AllowOverride?: boolean

    False: only server code may set it, and a client value is refused. Default true.

    Used when a run gives no value: a fixed value or a context token.

    Description?: string

    Shown to whoever sets the property.

    IsRequired?: boolean

    True: a run with no value and no default is refused.

    Name: string

    Unique within the view.

    The predicate the value drives.

    Type: "string" | "number" | "boolean" | "date" | "uuid"

    The value's type. A value of another type is refused.