Skip to content

PromptScript API


Interface: SuggestionCondition

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

Condition for triggering a suggestion rule.

Properties

always?

optional always: boolean

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

Always match


dependencies?

optional dependencies: string[]

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

Match if any of these dependencies are present


files?

optional files: string[]

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

Match if any of these files exist


frameworks?

optional frameworks: string[]

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

Match if any of these frameworks are detected


languages?

optional languages: string[]

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

Match if any of these languages are detected