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

refactor(web): replace the UsersClient with queries #1492

Merged
merged 5 commits into from
Jul 23, 2024
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 web/src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { ManagerClient } from "./manager";
import { Monitor } from "./monitor";
import { ProductClient, SoftwareClient } from "./software";
import { StorageClient } from "./storage";
import { UsersClient } from "./users";
import phase from "./phase";
import { QuestionsClient } from "./questions";
import { NetworkClient } from "./network";
Expand All @@ -41,7 +40,6 @@ import { HTTPClient, WSClient } from "./http";
* @property {ProductClient} product - product client.
* @property {SoftwareClient} software - software client.
* @property {StorageClient} storage - storage client.
* @property {UsersClient} users - users client.
* @property {QuestionsClient} questions - questions client.
* @property {() => WSClient} ws - Agama WebSocket client.
* @property {() => boolean} isConnected - determines whether the client is connected
Expand All @@ -68,7 +66,6 @@ const createClient = (url) => {
const network = new NetworkClient(client);
const software = new SoftwareClient(client);
const storage = new StorageClient(client);
const users = new UsersClient(client);
const questions = new QuestionsClient(client);

const isConnected = () => client.ws().isConnected() || false;
Expand All @@ -82,7 +79,6 @@ const createClient = (url) => {
network,
software,
storage,
users,
questions,
isConnected,
isRecoverable,
Expand Down
184 changes: 0 additions & 184 deletions web/src/client/users.js

This file was deleted.

Loading
Loading