Skip to content

createPlugin

createPlugin(options?): object

Defined in: plugins/holocron-plugin-vercel/src/index.ts:75

Creates the Vercel plugin: connection and token probes and the deployment capability.

VercelPluginOptions = {}

object

capabilities: object

deployment: () => Deployment

Deployment

mintToken: (input) => Promise<MintTokenResult>

MintTokenInput

Promise<MintTokenResult>

name: string = "@theholocron/holocron-plugin-vercel"

probes: object

connection: Probe

token: Probe

readTokenId: () => Promise<string | undefined>

Promise<string | undefined>

revokeToken: (input) => Promise<RevokeTokenResult>

RevokeTokenInput

Promise<RevokeTokenResult>

whoami: ProviderAction