1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: app.blebbit.authr.page.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_page;
9pub mod create_page_relationship;
10pub mod delete_page;
11pub mod delete_page_relationship;
12pub mod get_page;
13pub mod get_pages;
14pub mod record;
15pub mod update_page;
16pub mod update_page_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 Default
28)]
29#[serde(rename_all = "camelCase")]
30pub struct PageForm<'a> {
31 #[serde(skip_serializing_if = "std::option::Option::is_none")]
32 #[serde(borrow)]
33 pub name: std::option::Option<jacquard_common::CowStr<'a>>,
34 #[serde(skip_serializing_if = "std::option::Option::is_none")]
35 pub public: std::option::Option<bool>,
36}
37
38#[jacquard_derive::lexicon]
39#[derive(
40 serde::Serialize,
41 serde::Deserialize,
42 Debug,
43 Clone,
44 PartialEq,
45 Eq,
46 jacquard_derive::IntoStatic,
47 Default
48)]
49#[serde(rename_all = "camelCase")]
50pub struct PageView<'a> {
51 #[serde(skip_serializing_if = "std::option::Option::is_none")]
52 #[serde(borrow)]
53 pub content: std::option::Option<jacquard_common::CowStr<'a>>,
54 #[serde(skip_serializing_if = "std::option::Option::is_none")]
55 #[serde(borrow)]
56 pub cuid: std::option::Option<jacquard_common::CowStr<'a>>,
57 #[serde(skip_serializing_if = "std::option::Option::is_none")]
58 #[serde(borrow)]
59 pub name: std::option::Option<jacquard_common::CowStr<'a>>,
60 #[serde(skip_serializing_if = "std::option::Option::is_none")]
61 pub public: std::option::Option<bool>,
62}