Skip to content

Commit

Permalink
fix: Removed depriciated code (#1500)
Browse files Browse the repository at this point in the history
- Removed code related to features which are no longer supported
- Aims to fix the introspection github action failure.

Signed-off-by: Akhilender <[email protected]>
  • Loading branch information
akhilender-bongirwar authored Jan 26, 2024
1 parent 378248d commit 6430714
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 113 deletions.
65 changes: 0 additions & 65 deletions src/GraphQl/Mutations/EventTaskMutations.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/GraphQl/Mutations/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -550,10 +550,6 @@ export const REGISTER_EVENT = gql`
}
}
`;
// Changes the role of a event in an organization and add and remove the event from the organization
export { UPDATE_EVENT_PROJECT_TASK_MUTATION } from './EventTaskMutations';
export { DELETE_EVENT_TASK_MUTATION } from './EventTaskMutations';
export { SET_TASK_VOLUNTEERS_MUTATION } from './EventTaskMutations';

// Changes the role of a event in an organization and add and remove the event from the organization
export { ADD_EVENT_ATTENDEE } from './EventAttendeeMutations';
Expand Down
43 changes: 0 additions & 43 deletions src/GraphQl/Queries/PlugInQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,49 +93,6 @@ export const ORGANIZATION_EVENTS_CONNECTION = gql`
}
`;

/**
* GraphQL query to retrieve a list of tasks assigned to a user.
*
* @param id - The ID of the user for which assigned tasks are being retrieved.
* @returns The list of tasks assigned to the user with details such as ID, title, description, deadline, volunteers, creation date, completion status, associated event, and creator.
*/

export const USER_TASKS_LIST = gql`
query User($id: ID!) {
user(id: $id) {
_id
assignedTasks {
_id
title
description
deadline
volunteers {
_id
firstName
lastName
email
}
createdAt
completed
event {
_id
title
organization {
_id
name
image
}
}
creator {
_id
firstName
lastName
}
}
}
}
`;

/**
* GraphQL query to retrieve a list of direct chats based on user ID.
*
Expand Down
1 change: 0 additions & 1 deletion src/GraphQl/Queries/Queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,6 @@ export const MEMBERSHIP_REQUEST = gql`
export { PLUGIN_GET } from './PlugInQueries';
export { ADVERTISEMENTS_GET } from './PlugInQueries';
export { ORGANIZATION_EVENTS_CONNECTION } from './PlugInQueries';
export { USER_TASKS_LIST } from './PlugInQueries';
export { DIRECT_CHATS_LIST } from './PlugInQueries';
export { IS_SAMPLE_ORGANIZATION_QUERY } from './PlugInQueries';
export { ORGANIZATION_CUSTOM_FIELDS } from './PlugInQueries';
Expand Down

0 comments on commit 6430714

Please sign in to comment.