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)]
28#[serde(rename_all = "camelCase")]
29pub struct PageForm<'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 PageView<'a> {
49 #[serde(skip_serializing_if = "std::option::Option::is_none")]
50 #[serde(borrow)]
51 pub content: std::option::Option<jacquard_common::CowStr<'a>>,
52 #[serde(skip_serializing_if = "std::option::Option::is_none")]
53 #[serde(borrow)]
54 pub cuid: std::option::Option<jacquard_common::CowStr<'a>>,
55 #[serde(skip_serializing_if = "std::option::Option::is_none")]
56 #[serde(borrow)]
57 pub name: std::option::Option<jacquard_common::CowStr<'a>>,
58 #[serde(skip_serializing_if = "std::option::Option::is_none")]
59 pub public: std::option::Option<bool>,
60}