remane queries to query

This commit is contained in:
2026-06-06 17:03:35 +02:00
parent e649d0211a
commit c0e4b88c05
23 changed files with 33 additions and 26 deletions

View File

@@ -1 +0,0 @@
pub mod benutzer;

View File

@@ -0,0 +1,3 @@
pub mod benutzer;
pub use benutzer::BenutzerQuery;

View File

@@ -1,6 +1,7 @@
pub mod dataloader;
pub mod entity;
pub mod model;
pub mod queries;
pub mod mutation;
pub mod query;
pub mod repository;
pub mod service;

View File

@@ -0,0 +1,3 @@
pub mod gruppe;
pub use gruppe::GruppeMutation;

View File

@@ -1 +0,0 @@
pub mod gruppe;

View File

@@ -0,0 +1,3 @@
pub mod gruppe;
pub use gruppe::GruppeQuery;

View File

@@ -1,6 +1,6 @@
pub mod dataloader;
pub mod entity;
pub mod model;
pub mod queries;
pub mod query;
pub mod repository;
pub mod service;

View File

@@ -1 +0,0 @@
pub mod liegenschaft;

View File

@@ -0,0 +1,3 @@
pub mod liegenschaft;
pub use liegenschaft::LiegenschaftQuery;

View File

@@ -2,6 +2,6 @@ pub mod dataloader;
pub mod entity;
pub mod model;
pub mod mutation;
pub mod queries;
pub mod query;
pub mod repository;
pub mod service;

View File

@@ -1 +0,0 @@
pub mod rolle;

View File

@@ -0,0 +1,3 @@
pub mod rolle;
pub use rolle::RolleQuery;

View File

@@ -2,6 +2,6 @@ pub mod dataloader;
pub mod entity;
pub mod model;
pub mod mutation;
pub mod queries;
pub mod query;
pub mod repository;
pub mod service;

View File

@@ -1 +0,0 @@
pub mod typ;

3
src/domain/typ/query.rs Normal file
View File

@@ -0,0 +1,3 @@
pub mod typ;
pub use typ::TypQuery;

View File

@@ -1,12 +1,13 @@
// pub mod benutzer;
pub mod gruppe;
// pub mod hersteller;
// pub mod modell;
pub mod liegenschaft;
use async_graphql::MergedObject;
use crate::domain::{rolle::mutation::rolle, typ::mutation::TypMutation};
use crate::domain::{
gruppe::mutation::GruppeMutation, rolle::mutation::RolleMutation, typ::mutation::TypMutation,
};
#[derive(MergedObject, Default)]
pub struct Mutation(
@@ -14,7 +15,7 @@ pub struct Mutation(
// hersteller::HerstellerMutation,
// modell::ModellMutation,
// benutzer::BenutzerMutation,
gruppe::GruppeMutation,
rolle::RolleMutation,
GruppeMutation,
RolleMutation,
liegenschaft::LiegenschaftMutation,
);

View File

@@ -1,20 +1,12 @@
// pub mod hersteller;
// pub mod modell;
use crate::domain::{
// benutzer::queries::benutzer,
gruppe::queries::gruppe,
liegenschaft::queries::liegenschaft,
rolle::queries::rolle,
typ::queries::typ::TypQuery,
gruppe::query::GruppeQuery,
liegenschaft::query::LiegenschaftQuery,
rolle::query::RolleQuery,
typ::query::TypQuery,
};
use async_graphql::MergedObject;
#[derive(MergedObject, Default)]
pub struct Query(
TypQuery,
// benutzer::BenutzerQuery,
rolle::RolleQuery,
gruppe::GruppeQuery,
liegenschaft::LiegenschaftQuery, // modell::ModellQuery,
);
pub struct Query(TypQuery, RolleQuery, GruppeQuery, LiegenschaftQuery);