Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
heeckhau committed Sep 9, 2024
1 parent c7411bd commit 7d8a350
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/utils/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,24 +284,24 @@ export const makePlugin = async (
};

export type StepConfig = {
title: string; // Text for the step's title
description?: string; // Text for the step's description (optional)
cta: string; // Text for the step's call-to-action button
action: string; // The function name that this step will execute
prover?: boolean; // Boolean indicating if this step outputs a notarization (optional)
title: string; // Text for the step's title
description?: string; // Text for the step's description (optional)
cta: string; // Text for the step's call-to-action button
action: string; // The function name that this step will execute
prover?: boolean; // Boolean indicating if this step outputs a notarization (optional)
};

export type PluginConfig = {
title: string; // The name of the plugin
description: string; // A description of the plugin's purpose
icon?: string;// A base64-encoded image string representing the plugin's icon (optional)
steps?: StepConfig[];// An array describing the UI steps and behavior (see Step UI below) (optional)
hostFunctions?: string[];// Host functions that the plugin will have access to
cookies?: string[];// Cookies the plugin will have access to, cached by the extension from specified hosts (optional)
headers?: string[];// Headers the plugin will have access to, cached by the extension from specified hosts (optional)
requests: { method: string; url: string }[];// List of requests that the plugin is allowed to make
notaryUrls?: string[];// List of notary services that the plugin is allowed to use (optional)
proxyUrls?: string[];// List of websocket proxies that the plugin is allowed to use (optional)
icon?: string; // A base64-encoded image string representing the plugin's icon (optional)
steps?: StepConfig[]; // An array describing the UI steps and behavior (see Step UI below) (optional)
hostFunctions?: string[]; // Host functions that the plugin will have access to
cookies?: string[]; // Cookies the plugin will have access to, cached by the extension from specified hosts (optional)
headers?: string[]; // Headers the plugin will have access to, cached by the extension from specified hosts (optional)
requests: { method: string; url: string }[]; // List of requests that the plugin is allowed to make
notaryUrls?: string[]; // List of notary services that the plugin is allowed to use (optional)
proxyUrls?: string[]; // List of websocket proxies that the plugin is allowed to use (optional)
};

export type PluginMetadata = {
Expand Down

0 comments on commit 7d8a350

Please sign in to comment.