Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(develop): remove plugin legacy code #3347

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ const config: CodegenConfig = {

Organization: "../models/Organization#InterfaceOrganization",

Plugin: "../models/Plugin#InterfacePlugin",

PluginField: "../models/PluginField#InterfacePluginField",

Post: "../models/Post#InterfacePost",

RecurrenceRule: "../models/RecurrenceRule#InterfaceRecurrenceRule",
Expand Down
14 changes: 0 additions & 14 deletions sample_data/appUserProfiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"createdEvents": [],
"createdOrganizations": ["6437904485008f171cf29924"],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": true,
Expand All @@ -22,7 +21,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -37,7 +35,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -52,7 +49,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -67,7 +63,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -82,7 +77,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -97,7 +91,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -112,7 +105,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -127,7 +119,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -142,7 +133,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -157,7 +147,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -172,7 +161,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -187,7 +175,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand All @@ -202,7 +189,6 @@
"createdEvents": [],
"createdOrganizations": [],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand Down
1 change: 0 additions & 1 deletion sample_data/defaultAppUserProfile.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"createdEvents": [],
"createdOrganizations": ["65ecb98712e5d1c5a4504ce4"],
"eventAdmin": [],
"pluginCreationAllowed": true,
"token": null,
"tokenVersion": 0,
"isSuperAdmin": false,
Expand Down
1 change: 0 additions & 1 deletion sample_data/defaultUser.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Default",
"lastName": "Admin",
"email": "defaultadmin@example.com",
Expand Down
15 changes: 0 additions & 15 deletions sample_data/users.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Wilt",
"lastName": "Shepherd",
"address": {
Expand All @@ -34,7 +33,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Vyvyan",
"lastName": "Kerry",
"address": {
Expand All @@ -61,7 +59,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Loyd",
"lastName": "Solomon",
"address": {
Expand All @@ -88,7 +85,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Darcy",
"lastName": "Wilf",
"address": {
Expand All @@ -115,7 +111,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Harve",
"lastName": "Lance",
"address": {
Expand All @@ -142,7 +137,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Praise",
"lastName": "Norris",
"address": {
Expand All @@ -169,7 +163,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Scott",
"lastName": "Tony",
"address": {
Expand Down Expand Up @@ -201,7 +194,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Teresa",
"lastName": "Bradley",
"address": {
Expand Down Expand Up @@ -233,7 +225,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Bruce",
"lastName": "Garza",
"address": {
Expand Down Expand Up @@ -265,7 +256,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Burton",
"lastName": "Sanders",
"address": {
Expand Down Expand Up @@ -297,7 +287,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Jeramy",
"lastName": "Garcia",
"address": {
Expand Down Expand Up @@ -329,7 +318,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Deanne",
"lastName": "Marks",
"address": {
Expand Down Expand Up @@ -361,7 +349,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Romeo",
"lastName": "Holland",
"address": {
Expand Down Expand Up @@ -393,7 +380,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Carla",
"lastName": "Nguyen",
"address": {
Expand Down Expand Up @@ -425,7 +411,6 @@
"membershipRequests": [],
"organizationsBlockedBy": [],
"status": "ACTIVE",
"pluginCreationAllowed": true,
"firstName": "Peggy",
"lastName": "Bowers",
"address": {
Expand Down
37 changes: 0 additions & 37 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ type AppUserProfile {
eventAdmin: [Event]
isSuperAdmin: Boolean!
pledges: [FundraisingCampaignPledge]
pluginCreationAllowed: Boolean!
userId: User!
}

Expand Down Expand Up @@ -1151,7 +1150,6 @@ type Mutation {
addUserToUserFamily(familyId: ID!, userId: ID!): UserFamily!
assignToUserTags(input: TagActionsInput!): UserTag
assignUserTag(input: ToggleUserTagAssignInput!): User
blockPluginCreationBySuperadmin(blockUser: Boolean!, userId: ID!): AppUserProfile!
blockUser(organizationId: ID!, userId: ID!): User!
cancelMembershipRequest(membershipRequestId: ID!): MembershipRequest!
checkIn(data: CheckInCheckOutInput!): CheckIn!
Expand All @@ -1175,7 +1173,6 @@ type Mutation {
createMember(input: UserAndOrganizationInput!): CreateMemberPayload!
createNote(data: NoteInput!): Note!
createOrganization(data: OrganizationInput, file: String): Organization!
createPlugin(pluginCreatedBy: String!, pluginDesc: String!, pluginName: String!, uninstalledOrgs: [ID!]): Plugin!
createPost(data: PostInput!, file: String): Post
createSampleOrganization: Boolean!
createUserFamily(data: createUserFamilyInput!): UserFamily!
Expand Down Expand Up @@ -1256,7 +1253,6 @@ type Mutation {
updateLanguage(languageCode: String!): User!
updateNote(data: UpdateNoteInput!, id: ID!): Note!
updateOrganization(data: UpdateOrganizationInput, file: String, id: ID!): Organization!
updatePluginStatus(id: ID!, orgId: ID!): Plugin!
updatePost(data: PostUpdateInput, id: ID!): Post!
updateSessionTimeout(timeout: Int!): Boolean!
updateUserPassword(data: UpdateUserPasswordInput!): UserData!
Expand Down Expand Up @@ -1432,34 +1428,6 @@ input PledgeWhereInput {
name_contains: String
}

type Plugin {
_id: ID!
pluginCreatedBy: String!
pluginDesc: String!
pluginName: String!
uninstalledOrgs: [ID!]
}

type PluginField {
createdAt: DateTime!
key: String!
status: Status!
value: String!
}

input PluginFieldInput {
key: String!
value: String!
}

input PluginInput {
fields: [PluginFieldInput]
orgId: ID!
pluginKey: String
pluginName: String!
pluginType: Type
}

scalar PositiveInt

type Post {
Expand Down Expand Up @@ -1555,7 +1523,6 @@ type Query {
actionItemsByEvent(eventId: ID!): [ActionItem]
actionItemsByOrganization(eventId: ID, orderBy: ActionItemsOrderByInput, organizationId: ID!, where: ActionItemWhereInput): [ActionItem]
actionItemsByUser(orderBy: ActionItemsOrderByInput, userId: ID!, where: ActionItemWhereInput): [ActionItem]
adminPlugin(orgId: ID!): [Plugin]
advertisementsConnection(after: String, before: String, first: PositiveInt, last: PositiveInt): AdvertisementsConnection
agendaCategory(id: ID!): AgendaCategory!
agendaItemByEvent(relatedEventId: ID!): [AgendaItem]
Expand Down Expand Up @@ -1590,7 +1557,6 @@ type Query {
getGroupChatsByUserId: [Chat]
getNoteById(id: ID!): Note!
getPledgesByUserId(orderBy: PledgeOrderByInput, userId: ID!, where: PledgeWhereInput): [FundraisingCampaignPledge]
getPlugins: [Plugin]
getRecurringEvents(baseRecurringEventId: ID!): [Event]
getUnreadChatsByUserId: [Chat]
getUserTag(id: ID!): UserTag
Expand All @@ -1606,7 +1572,6 @@ type Query {
organizations(first: Int, id: ID, orderBy: OrganizationOrderByInput, skip: Int, where: MembershipRequestsWhereInput): [Organization]
organizationsConnection(first: Int, orderBy: OrganizationOrderByInput, skip: Int, where: OrganizationWhereInput): [Organization]!
organizationsMemberConnection(first: Int, orderBy: UserOrderByInput, orgId: ID!, skip: Int, where: UserWhereInput): UserConnection!
plugin(orgId: ID!): [Plugin]
post(id: ID!): Post
registeredEventsByUser(id: ID, orderBy: EventOrderByInput): [Event]
registrantsByEvent(id: ID!): [User]
Expand Down Expand Up @@ -1700,7 +1665,6 @@ enum Status {

type Subscription {
messageSentToChat(userId: ID!): ChatMessage
onPluginUpdate: Plugin
}

input TagActionsInput {
Expand Down Expand Up @@ -1926,7 +1890,6 @@ type User {
membershipRequests: [MembershipRequest]
organizationsBlockedBy: [Organization]
phone: UserPhone
pluginCreationAllowed: Boolean!
posts(after: String, before: String, first: PositiveInt, last: PositiveInt): PostsConnection
registeredEvents: [Event]
tagsAssignedWith(after: String, before: String, first: PositiveInt, last: PositiveInt, organizationId: ID): UserTagsConnection
Expand Down
Loading
Loading