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.

  • Parameters

    • baseUrl: string

      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.

    • clientId: TClientId

      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.

    • siteId: string

      The siteId parameter represents the ID of the site for which the columns are being queried, created, updated, or deleted.

    • pageId: string

      The pageId parameter represents the unique identifier of a page.

    • sectionOrder: number

      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.

    • columnOrder: number

      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.

    Returns IQueryColumns

    The function Columns returns an object of type IQueryColumns.