type ProposalDiscussionPostCreatedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}" id: ID! "Hash of the extrinsic which caused the event to be emitted" inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in" network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "The created post" post: ProposalDiscussionPost! "Initial post text" text: String! } type ProposalDiscussionPostUpdatedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}" id: ID! "Hash of the extrinsic which caused the event to be emitted" inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in" network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "The updated post" post: ProposalDiscussionPost! "New post text" text: String! } type ProposalDiscussionThreadModeChangedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}" id: ID! "Hash of the extrinsic which caused the event to be emitted" inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in" network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "The thread in question" thread: ProposalDiscussionThread! "The new thread mode" newMode: ProposalDiscussionThreadMode! "The member that changed the thread mode (either proposal creator or council member)" actor: Membership! } type ProposalDiscussionPostDeletedEvent implements Event @entity { ### GENERIC DATA ### "(network}-{blockNumber}-{indexInBlock}" id: ID! "Hash of the extrinsic which caused the event to be emitted" inExtrinsic: String "Blocknumber of the block in which the event was emitted." inBlock: Int! "Network the block was produced in" network: Network! "Index of event in block from which it was emitted." indexInBlock: Int! ### SPECIFIC DATA ### "The post in question" post: ProposalDiscussionPost! "The member that deleted/locked the post" actor: Membership! }