Add JsonSchema to container style and fix compile errors

This commit is contained in:
Mikayla Maki 2023-06-19 11:31:17 -07:00
parent ac42522987
commit 193ad64d18
No known key found for this signature in database
5 changed files with 23 additions and 26 deletions

View file

@ -25,6 +25,7 @@ use anyhow::{anyhow, bail, Result};
use async_task::Runnable;
pub use event::*;
use postage::oneshot;
use schemars::JsonSchema;
use serde::Deserialize;
use sqlez::{
bindable::{Bind, Column, StaticColumnCount},
@ -282,7 +283,7 @@ pub enum PromptLevel {
Critical,
}
#[derive(Copy, Clone, Debug, Deserialize)]
#[derive(Copy, Clone, Debug, Deserialize, JsonSchema)]
pub enum CursorStyle {
Arrow,
ResizeLeftRight,