1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: app.blebbit.authr.folder.defs
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8pub mod create_folder;
9pub mod create_folder_relationship;
10pub mod delete_folder;
11pub mod delete_folder_relationship;
12pub mod get_folder;
13pub mod get_folders;
14pub mod record;
15pub mod update_folder;
16pub mod update_folder_relationship;
17
18#[jacquard_derive::lexicon]
19#[derive(
20 serde::Serialize,
21 serde::Deserialize,
22 Debug,
23 Clone,
24 PartialEq,
25 Eq,
26 jacquard_derive::IntoStatic
27)]
28#[serde(rename_all = "camelCase")]
29pub struct FolderForm<'a> {
30 #[serde(skip_serializing_if = "std::option::Option::is_none")]
31 #[serde(borrow)]
32 pub name: std::option::Option<jacquard_common::CowStr<'a>>,
33 #[serde(skip_serializing_if = "std::option::Option::is_none")]
34 pub public: std::option::Option<bool>,
35}
36
37#[jacquard_derive::lexicon]
38#[derive(
39 serde::Serialize,
40 serde::Deserialize,
41 Debug,
42 Clone,
43 PartialEq,
44 Eq,
45 jacquard_derive::IntoStatic
46)]
47#[serde(rename_all = "camelCase")]
48pub struct FolderView<'a> {
49 #[serde(skip_serializing_if = "std::option::Option::is_none")]
50 #[serde(borrow)]
51 pub cuid: std::option::Option<jacquard_common::CowStr<'a>>,
52 #[serde(skip_serializing_if = "std::option::Option::is_none")]
53 #[serde(borrow)]
54 pub name: std::option::Option<jacquard_common::CowStr<'a>>,
55 #[serde(skip_serializing_if = "std::option::Option::is_none")]
56 pub public: std::option::Option<bool>,
57}