Skip to content

PromptScript API


Interface: SuggestionCondition

Defined in: core/src/types/manifest.ts:87

Condition for triggering a suggestion rule.

Properties

always?

optional always: boolean

Defined in: core/src/types/manifest.ts:89

Always match


dependencies?

optional dependencies: string[]

Defined in: core/src/types/manifest.ts:93

Match if any of these dependencies are present


files?

optional files: string[]

Defined in: core/src/types/manifest.ts:91

Match if any of these files exist


frameworks?

optional frameworks: string[]

Defined in: core/src/types/manifest.ts:97

Match if any of these frameworks are detected


languages?

optional languages: string[]

Defined in: core/src/types/manifest.ts:95

Match if any of these languages are detected