@@ -112,16 +112,14 @@ type AgendaItem {
112
112
createdBy : User !
113
113
description : String
114
114
duration : String !
115
- isNote : Boolean !
116
- itemType : ItemType !
117
115
organization : Organization !
118
116
relatedEvent : Event
119
117
sequence : Int !
120
118
title : String !
121
119
updatedAt : Date !
122
120
updatedBy : User !
123
121
urls : [String ]
124
- user : String !
122
+ users : [ User ]
125
123
}
126
124
127
125
type AgendaSection {
@@ -290,14 +288,12 @@ input CreateAgendaItemInput {
290
288
categories : [ID ]
291
289
description : String
292
290
duration : String !
293
- isNote : Boolean !
294
- itemType : ItemType !
295
291
organizationId : ID !
296
292
relatedEventId : ID
297
293
sequence : Int !
298
- title : String !
294
+ title : String
299
295
urls : [String ]
300
- user : String
296
+ users : [ ID ]
301
297
}
302
298
303
299
input CreateAgendaSectionInput {
@@ -1071,6 +1067,7 @@ type Mutation {
1071
1067
createGroupChat (data : createGroupChatInput ! ): GroupChat !
1072
1068
createMember (input : UserAndOrganizationInput ! ): CreateMemberPayload !
1073
1069
createMessageChat (data : MessageChatInput ! ): MessageChat !
1070
+ createNote (data : NoteInput ! ): Note !
1074
1071
createOrganization (data : OrganizationInput , file : String ): Organization !
1075
1072
createPlugin (pluginCreatedBy : String ! , pluginDesc : String ! , pluginName : String ! , uninstalledOrgs : [ID ! ]): Plugin !
1076
1073
createPost (data : PostInput ! , file : String ): Post
@@ -1081,6 +1078,7 @@ type Mutation {
1081
1078
deleteAdvertisement (id : ID ! ): DeleteAdvertisementPayload
1082
1079
deleteAgendaCategory (id : ID ! ): ID !
1083
1080
deleteDonationById (id : ID ! ): DeletePayload !
1081
+ deleteNote (id : ID ! ): ID !
1084
1082
deleteVenue (id : ID ! ): Venue
1085
1083
editVenue (data : EditVenueInput ! ): Venue
1086
1084
forgotPassword (data : ForgotPasswordData ! ): Boolean !
@@ -1151,6 +1149,7 @@ type Mutation {
1151
1149
updateFundraisingCampaign (data : UpdateFundCampaignInput ! , id : ID ! ): FundraisingCampaign !
1152
1150
updateFundraisingCampaignPledge (data : UpdateFundCampaignPledgeInput ! , id : ID ! ): FundraisingCampaignPledge !
1153
1151
updateLanguage (languageCode : String ! ): User !
1152
+ updateNote (data : UpdateNoteInput ! , id : ID ! ): Note !
1154
1153
updateOrganization (data : UpdateOrganizationInput , file : String , id : ID ! ): Organization !
1155
1154
updatePluginStatus (id : ID ! , orgId : ID ! ): Plugin !
1156
1155
updatePost (data : PostUpdateInput , id : ID ! ): Post !
@@ -1160,6 +1159,21 @@ type Mutation {
1160
1159
updateUserTag (input : UpdateUserTagInput ! ): UserTag
1161
1160
}
1162
1161
1162
+ type Note {
1163
+ _id : ID !
1164
+ agendaItemId : ID !
1165
+ content : String !
1166
+ createdAt : DateTime !
1167
+ createdBy : User !
1168
+ updatedAt : DateTime !
1169
+ updatedBy : User !
1170
+ }
1171
+
1172
+ input NoteInput {
1173
+ agendaItemId : ID !
1174
+ content : String !
1175
+ }
1176
+
1163
1177
input OTPInput {
1164
1178
email : EmailAddress !
1165
1179
}
@@ -1434,6 +1448,7 @@ type Query {
1434
1448
getAgendaItem (id : ID ! ): AgendaItem
1435
1449
getAgendaSection (id : ID ! ): AgendaSection
1436
1450
getAllAgendaItems : [AgendaItem ]
1451
+ getAllNotesForAgendaItem (agendaItemId : ID ! ): [Note ]
1437
1452
getCommunityData : Community
1438
1453
getDonationById (id : ID ! ): Donation !
1439
1454
getDonationByOrgId (orgId : ID ! ): [Donation ]
@@ -1444,6 +1459,7 @@ type Query {
1444
1459
getFundById (id : ID ! ): Fund !
1445
1460
getFundraisingCampaignById (id : ID ! ): FundraisingCampaign !
1446
1461
getFundraisingCampaignPledgeById (id : ID ! ): FundraisingCampaignPledge !
1462
+ getNoteById (id : ID ! ): Note !
1447
1463
getPlugins : [Plugin ]
1448
1464
getVenueByOrgId (first : Int , orderBy : VenueOrderByInput , orgId : ID ! , skip : Int , where : VenueWhereInput ): [Venue ]
1449
1465
getlanguage (lang_code : String ! ): [Translation ]
@@ -1619,14 +1635,12 @@ input UpdateAgendaItemInput {
1619
1635
categories : [ID ]
1620
1636
description : String
1621
1637
duration : String
1622
- isNote : Boolean
1623
- itemType : ItemType
1624
1638
relatedEvent : ID
1625
1639
sequence : Int
1626
1640
title : String
1627
1641
updatedBy : ID !
1628
1642
urls : [String ]
1629
- user : String
1643
+ users : [ ID ]
1630
1644
}
1631
1645
1632
1646
input UpdateAgendaSectionInput {
@@ -1696,6 +1710,11 @@ input UpdateFundInput {
1696
1710
taxDeductible : Boolean
1697
1711
}
1698
1712
1713
+ input UpdateNoteInput {
1714
+ content : String
1715
+ updatedBy : ID !
1716
+ }
1717
+
1699
1718
input UpdateOrganizationInput {
1700
1719
address : AddressInput
1701
1720
description : String
0 commit comments