1
0
Fork 0
forked from alemi/upub
upub/src/model
alemi 5ae9a140b4
feat: show likes and shares and replies in objects
it's done with anonymous inline collections, which hold a "totalItems"
field. for replies it's perfect, for likes it's stretched ("audience",
used as a Collection) and for shares it's really stretched ("generator",
used as a Collection). also using audience and generator as collections
seems weird because they should be objects but collections are objects
so it should be fine? i haven't seen these fields used anyway so it
should be safe to "claim" it for ourselves?
2024-04-29 20:30:29 +02:00
..
activity.rs chore: refactor 2024-04-19 03:28:39 +02:00
addressing.rs fix: big refactor of timelines querying 2024-04-24 02:32:23 +02:00
application.rs feat: show pub key and created time for app actor 2024-03-26 00:48:37 +01:00
attachment.rs fix: big refactor of timelines querying 2024-04-24 02:32:23 +02:00
config.rs feat: default for config 2024-03-23 20:24:29 +01:00
credential.rs feat: added tables+entities for config, credentials 2024-03-23 05:02:39 +01:00
delivery.rs feat: simple delivery system + http signatures 2024-03-25 05:07:58 +01:00
faker.rs fix: always forget about this... 2024-04-24 05:21:04 +02:00
like.rs fix: datetime utc, also in likes 2024-03-23 04:40:39 +01:00
mod.rs feat: process and store remote attachment urls 2024-04-21 22:58:33 +02:00
object.rs feat: show likes and shares and replies in objects 2024-04-29 20:30:29 +02:00
README.md docs: some readmes 2024-04-06 17:20:14 +02:00
relation.rs feat: separated apb types into crate, reworked 2024-04-06 16:56:13 +02:00
session.rs fix: session id is session 2024-03-25 01:58:06 +01:00
share.rs fix: datetime utc, also in likes 2024-03-23 04:40:39 +01:00
user.rs fix: use preferred_username before using url 2024-04-21 21:15:58 +02:00

model

these are orm entities, with associated relations, constructors and sometimes utility functions