gameflow-deck/scripts/sdk
2026-05-05 02:32:07 +03:00
..
package.json refactor: added type generation from schema for sdk with comments 2026-05-05 02:32:07 +03:00
README.md refactor: added type generation from schema for sdk with comments 2026-05-05 02:32:07 +03:00
sdk.ts refactor: Removed the use of d.ts files to support SDK generation for public plugins 2026-05-05 01:21:22 +03:00
sdk.tsconfig.json refactor: added type generation from schema for sdk with comments 2026-05-05 02:32:07 +03:00

Gameflow Deck SDK

This is the type definitions for Gameflow Deck plugins.

Developing a plugin

The plugin must have a default export class of type PluginType. It exposes the context and all the hooks to be tapped. Gameflow uses the Tapable Hooks.

The package must expose a main script gameflow will import and validate. It must implement the type fields on PluginDescriptionType.

Publishing

For the plugin to show up in the UI for download. It must be published to NPM with the gameflow-plugin keyword. Gameflow uses bun to install plugins as packages from npmjs.