Evaluating

tcmts.cli.config.Evaluating · #m3p5uhj6 · type

What evaluating a stored definition needs of a codebase (configValue): its store, layout, definitions and cache modules. (An interface, not the codebase itself, so the codebase can ask for its roles without the two being hashed as one.)

import type { DefSource, Layout } from "#codebase/tcmts/loader";
import type { Store } from "#codebase/tcmts/store";

export interface Evaluating {
  readonly store: Store;
  readonly lay: Layout;
  source(): DefSource;
  modulePath(componentHash: string): string;
}

uses

used by