1234567891011121314151617181920212223242526 |
- syntax = "proto2";
- message ForumPostReaction {
- enum Reaction {
- CANCEL = 0;
- LIKE = 1;
- }
- }
- message ForumPostMetadata {
- optional string text = 1;
- optional uint32 repliesTo = 2;
- }
- message ForumThreadMetadata {
- optional string title = 1;
- /**
- * Tags accociated with the thread.
- * Any update overrides all current tags.
- * Only the first {MAX_TAGS_PER_FORUM_THREAD} (const exposed via @joystream/metadata-protobuf/consts) tags are taken into account.
- * In order to unset current tags, [''] (array with empty string) must be provided as value.
- */
- repeated string tags = 2;
- }
|