forked from alemi/upub
alemi
5ae9a140b4
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? |
||
---|---|---|
.. | ||
activity.rs | ||
addressing.rs | ||
application.rs | ||
attachment.rs | ||
config.rs | ||
credential.rs | ||
delivery.rs | ||
faker.rs | ||
like.rs | ||
mod.rs | ||
object.rs | ||
README.md | ||
relation.rs | ||
session.rs | ||
share.rs | ||
user.rs |
model
these are orm entities, with associated relations, constructors and sometimes utility functions