The baseUrl
parameter is a string that represents the base URL for the
API endpoint. It is used to construct the complete URL for the columns endpoint.
The clientId
parameter is of type TClientId
, which represents the
client ID. It is used to identify the client for whom the columns are being queried or created.
The siteId
parameter represents the ID of the site for which the columns
are being queried, created, updated, or deleted.
The pageId
parameter represents the unique identifier of a page.
The sectionOrder
parameter represents the order of the section
within a page. It is used to identify the specific section to which the column belongs.
The columnOrder
parameter is a number that represents the
order of the column within a section. It can also be null
if the column order is not specified.
The function Columns
returns an object of type IQueryColumns
.
The above function exports a TypeScript module that defines a Columns object with methods for retrieving, creating, updating, and deleting columns in a web application.