Optional
aliasThe alias?:boolean;
property in the IQueryPartsFilter
interface is defining an optional
property called alias
of type boolean
. The ?
symbol indicates that the property is optional,
meaning it can be omitted when using the interface. The boolean
type indicates that the value of
alias
can be either true
or false
.
Optional
NameThe Name?:string;
property in the IQueryPartsFilter
interface is defining an optional property
called Name
of type string
. The ?
symbol indicates that the property is optional, meaning it
can be omitted when using the interface. The string
type indicates that the value of Name
should be a string.
The
export interface IQueryPartsFilter
is defining an interface in TypeScript. It specifies the structure of thefilters
parameter that can be passed to theget
method in theIQueryParts
interface.