Skip to content

PromptScript API


Interface: ImportRoot

Defined in: validator/src/types.ts:149

Root directory of imported content for one lockfile dependency.

Properties

commit

commit: string

Defined in: validator/src/types.ts:153

Commit SHA the lockfile pins for the import


import

import: string

Defined in: validator/src/types.ts:151

Normalized import key (matches promptscript.lock dependency keys)


path

path: string

Defined in: validator/src/types.ts:155

Absolute path holding the import's resolved content