The ICreateNaviagationProps interface is defining the structure of the properties that can be used when creating a new navigation node. It includes the following properties:

interface ICreateNaviagationProps {
    Children: ICreateNaviagationProps[];
    Title: string;
    Url: string;
    Visible?: boolean;
}

Properties

The Children property in the ICreateNaviagationProps interface is used to specify the child navigation nodes when creating a new navigation node. It is an array of ICreateNaviagationProps objects, which represent the properties of the child navigation nodes. Each ICreateNaviagationProps object in the Children array can have its own Title, Url, Visible, and Children properties, allowing for nested navigation nodes. This allows for the creation of a hierarchical navigation structure with parent and child nodes.

Title: string

The Title:string; property in the IQueryNavigationsFilter interface is defining an optional property called Title of type string. This property can be used as a filter when querying navigation nodes. If a value is provided for Title, it will filter the navigation nodes based on their title. If Title is not provided or set to null, it will not apply any filter based on the title.

Url: string

The Url:string; property in the ICreateNaviagationProps interface is used to specify the URL of the navigation node when creating a new navigation node. It is a required property and must be provided when creating a new navigation node.

Visible?: boolean

The Visible?:boolean; property in the ICreateNaviagationProps interface is an optional property that can be used when creating a new navigation node. It specifies whether the navigation node should be visible or hidden. If the Visible property is set to true, the navigation node will be visible. If it is set to false or not provided, the navigation node will be hidden.