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: Fix Introspection GitHub Action Workflow by Removing Deprecated Code #1500

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
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
Loading