-
+
{() => JSON.stringify(page(), null, " ")}
);
diff --git a/app/src/protocol/pages.ts b/app/src/protocol/pages.ts
new file mode 100644
index 0000000..2174f8d
--- /dev/null
+++ b/app/src/protocol/pages.ts
@@ -0,0 +1,20 @@
+namespace Pages {
+ export type RequestContentPage = {
+ id?: number;
+ title: string;
+ text: string;
+ };
+
+ export type ResponsePage = {
+ id: number;
+ title: string;
+ text: string;
+ created: string;
+ updated: string;
+ };
+
+ export type RequestContent = Array