FileRule
@a16njs/models / FileRule
Interface: FileRule
Defined in: types.ts:57
A rule that is triggered by file patterns. Examples: Cursor rules with globs
Extends
Properties
id
id:
string
Defined in: types.ts:24
Unique identifier for this item
Inherited from
sourcePath
sourcePath:
string
Defined in: types.ts:28
Original file path where this was discovered
Inherited from
content
content:
string
Defined in: types.ts:30
The actual prompt/rule content
Inherited from
metadata
metadata:
Record<string,unknown>
Defined in: types.ts:32
Tool-specific extras that don't fit the standard model
Inherited from
type
type:
FileRule
Defined in: types.ts:58
The type of customization
Overrides
globs
globs:
string[]
Defined in: types.ts:60
File patterns that trigger this rule