HOST_PROTOCOLS

tcmts.cli.roles.HOST_PROTOCOLS · #tt3e5uff · term · runs anywhere

The versions of tcm's host protocol this tcm serves: what a library reaching tcm's runtime (React's routes, links and data, the server API's tables and jobs) speaks, as its manifest's host says. 1 is the page's globals the runtime sets (__TCM_BASE__, __TCM_STATIC__, __TCM_STYLESHEETS__, __TCM_TREES__, __tcmPrefetch and __tcmUpdate) and the server host #tcm/host (createServerHost's exports).

export const HOST_PROTOCOLS: readonly number[] = [1]

used by