@@ -18,10 +18,9 @@ import {Application, ApplicationService} from "@edition/application/services/App
1818import { useUserSession } from "@edition/user/hooks/User.session.hook" ;
1919import { OrganizationView } from "@edition/organization/services/Organization.view" ;
2020import { MemberView } from "@edition/member/services/Member.view" ;
21- import { ProjectView } from "@edition/project/services/Project.view" ;
2221import { RoleView } from "@edition/role/services/Role.view" ;
2322import { Layout } from "@code0-tech/pictor/dist/components/layout/Layout" ;
24- import { Namespace , Runtime , User } from "@code0-tech/sagittarius-graphql-types" ;
23+ import { Namespace , NamespaceProject , Runtime , User } from "@code0-tech/sagittarius-graphql-types" ;
2524import { ApplicationMiddlewareComponent } from "@edition/application/components/ApplicationMiddlewareComponent" ;
2625
2726interface ApplicationLayoutProps {
@@ -43,7 +42,7 @@ const ApplicationLayout: React.FC<ApplicationLayoutProps> = ({children, bar, tab
4342 const member = usePersistentReactiveArrayService < MemberView , MemberService > ( `dashboard::members::${ currentSession ?. id } ` , ( store ) => new MemberService ( graphqlClient , store ) )
4443 const namespace = usePersistentReactiveArrayService < Namespace , NamespaceService > ( `dashboard::namespaces::${ currentSession ?. id } ` , ( store ) => new NamespaceService ( graphqlClient , store ) )
4544 const runtime = usePersistentReactiveArrayService < Runtime , RuntimeService > ( `dashboard::global_runtimes::${ currentSession ?. id } ` , ( store ) => new RuntimeService ( graphqlClient , store ) )
46- const project = usePersistentReactiveArrayService < ProjectView , ProjectService > ( `dashboard::projects::${ currentSession ?. id } ` , ( store ) => new ProjectService ( graphqlClient , store ) )
45+ const project = usePersistentReactiveArrayService < NamespaceProject , ProjectService > ( `dashboard::projects::${ currentSession ?. id } ` , ( store ) => new ProjectService ( graphqlClient , store ) )
4746 const role = usePersistentReactiveArrayService < RoleView , RoleService > ( `dashboard::roles::${ currentSession ?. id } ` , ( store ) => new RoleService ( graphqlClient , store ) )
4847 const application = usePersistentReactiveArrayService < Application , ApplicationService > ( `dashboard::application::${ currentSession ?. id } ` , ( store ) => new ApplicationService ( graphqlClient , store ) )
4948
0 commit comments