1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Get latest posts from server

This commit is contained in:
2019-05-10 19:15:11 +02:00
parent 8d188373ce
commit ddbea1727b
9 changed files with 301 additions and 3 deletions

14
lib/enums/post_kind.dart Normal file
View File

@ -0,0 +1,14 @@
/// Different kinds of posts
///
/// @author Pierre HUBERT
enum PostKind {
TEXT,
IMAGE,
WEB_LINK,
PDF,
MOVIE,
COUNTDOWN,
SURVEY,
YOUTUBE
}

View File

@ -0,0 +1,5 @@
/// Post visibility level
///
/// @author Pierre HUBERT
enum PostVisibilityLevel { PUBLIC, FRIENDS, USER, GROUP_MEMBERS }

View File

@ -0,0 +1,5 @@
/// User access levels
///
/// @author Pierre HUBERT
enum UserAccessLevels { NONE, BASIC, INTERMEDIATE, FULL}