2022-07-13 04:16:33 +00:00
|
|
|
const Uuid = @import("util").Uuid;
|
|
|
|
|
2022-07-10 23:53:17 +00:00
|
|
|
pub const Note = struct {
|
2022-07-13 04:16:33 +00:00
|
|
|
id: Uuid,
|
2022-07-10 23:53:17 +00:00
|
|
|
content: []const u8,
|
2022-07-18 06:11:42 +00:00
|
|
|
author_id: Uuid,
|
2022-07-10 23:53:17 +00:00
|
|
|
};
|
2022-07-13 04:56:47 +00:00
|
|
|
|
|
|
|
pub const User = struct {
|
|
|
|
id: Uuid,
|
|
|
|
handle: []const u8,
|
|
|
|
};
|