Skip to main content

WrittenFile

@a16njs/models


@a16njs/models / WrittenFile

Interface: WrittenFile

Defined in: plugin.ts:17

Information about a file that was written.

Properties

path

path: string

Defined in: plugin.ts:19

Path to the written file


type

type: CustomizationType

Defined in: plugin.ts:21

Type of customization written


itemCount

itemCount: number

Defined in: plugin.ts:23

How many models went into this file (1 for 1:1, more if merged)


isNewFile

isNewFile: boolean

Defined in: plugin.ts:25

True if this file was created fresh; false if merged/edited existing


sourceItems?

optional sourceItems: AgentCustomization[]

Defined in: plugin.ts:31

Which source AgentCustomizations contributed to this output file. Optional for backwards compatibility. Enables accurate git-ignore conflict detection in match mode.