LogoPixi’VN
viteInterfaces

Interface: InkTextReplaceInfo

Defined in: src/vite/info-types.ts:81

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:91

Human-readable description of what the handler does. Matches ReplaceHandlerOptions.description.


name

> name: string

Defined in: src/vite/info-types.ts:86

Unique name that identifies the handler. Matches ReplaceHandlerOptions.name.


type?

> optional type?: "before-translation" | "after-translation"

Defined in: src/vite/info-types.ts:101

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:95

Serializable form of ReplaceHandlerOptions.validation.