Interface: InkTextReplaceInfo
Defined in: src/vite/info-types.ts:16
Serializable representation of a registered TextReplaces handler, as exposed by the pixi-vn-ink Vite dev-server API.
Instances of this type are returned by
GET /__pixi-vn-ink/text-replaces
and accepted by
POST /__pixi-vn-ink/text-replaces.
See
https://pixi-vn.web.app/ink#vite-plugin
Properties
description?
> optional description?: string
Defined in: src/vite/info-types.ts:26
Human-readable description of what the handler does. Matches ReplaceHandlerOptions.description.
name
> name: string
Defined in: src/vite/info-types.ts:21
Unique name that identifies the handler. Matches ReplaceHandlerOptions.name.
type?
> optional type?: "before-translation" | "after-translation"
Defined in: src/vite/info-types.ts:36
When the handler runs relative to the translation step. Matches ReplaceHandlerOptions.type.
Default
"before-translation"
validation
> validation: InkValidationInfo
Defined in: src/vite/info-types.ts:30
Serializable form of ReplaceHandlerOptions.validation.