mirror of
https://github.com/unraid/api.git
synced 2026-01-08 09:39:49 -06:00
- Introduced a new `UnraidPlugins` module to manage plugin installations, including tracking installation progress and status updates. - Added GraphQL types and mutations for installing plugins, retrieving installation operations, and subscribing to installation updates. - Enhanced the `ActivationPluginsStep` component to support real-time feedback during plugin installations, displaying logs and status messages. - Updated localization files to include messages related to plugin installation processes. - Implemented unit tests for the new plugin installation service and component interactions, ensuring reliability and correctness. This update significantly enhances the user experience by providing a robust mechanism for managing plugin installations, improving the overall onboarding process.
17 lines
343 B
TypeScript
17 lines
343 B
TypeScript
import { graphql } from '~/composables/gql';
|
|
|
|
export const PLUGIN_INSTALL_OPERATION_QUERY = graphql(/* GraphQL */ `
|
|
query PluginInstallOperation($operationId: ID!) {
|
|
pluginInstallOperation(operationId: $operationId) {
|
|
id
|
|
url
|
|
name
|
|
status
|
|
createdAt
|
|
updatedAt
|
|
finishedAt
|
|
output
|
|
}
|
|
}
|
|
`);
|