Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
twschiller committed Jun 17, 2024
1 parent 66d4a5f commit 987ee80
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/bricks/renderers/customForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,20 @@ interface DatabaseResult {
data: unknown;
}

/**
* Mod variable / page state storage definition.
*/
export type StateStorage = {
type: "state";
namespace?: "extension" | "blueprint" | "shared";
};

/**
* The storage/data binding configuration for the form.
*
* @since 2.0.3 Removed support for `localStorage`
*/
export type Storage =
// Support for `localStorage` was removed in 2.0.3
// | { type: "localStorage"}
| {
type: "database";
databaseId: UUID;
Expand Down

0 comments on commit 987ee80

Please sign in to comment.