@@ -17,10 +17,9 @@ import Image from "next/image";
1717import { Application , ApplicationService } from "@edition/application/services/Application.service" ;
1818import { useUserSession } from "@edition/user/hooks/User.session.hook" ;
1919import { OrganizationView } from "@edition/organization/services/Organization.view" ;
20- import { MemberView } from "@edition/member/services/Member.view" ;
2120import { RoleView } from "@edition/role/services/Role.view" ;
2221import { Layout } from "@code0-tech/pictor/dist/components/layout/Layout" ;
23- import { Namespace , NamespaceProject , Runtime , User } from "@code0-tech/sagittarius-graphql-types" ;
22+ import { Namespace , NamespaceMember , NamespaceProject , Runtime , User } from "@code0-tech/sagittarius-graphql-types" ;
2423import { ApplicationMiddlewareComponent } from "@edition/application/components/ApplicationMiddlewareComponent" ;
2524
2625interface ApplicationLayoutProps {
@@ -39,7 +38,7 @@ const ApplicationLayout: React.FC<ApplicationLayoutProps> = ({children, bar, tab
3938
4039 const user = usePersistentReactiveArrayService < User , UserService > ( `dashboard::users::${ currentSession ?. id } ` , ( store ) => new UserService ( graphqlClient , store ) )
4140 const organization = usePersistentReactiveArrayService < OrganizationView , OrganizationService > ( `dashboard::organizations::${ currentSession ?. id } ` , ( store ) => new OrganizationService ( graphqlClient , store ) )
42- const member = usePersistentReactiveArrayService < MemberView , MemberService > ( `dashboard::members::${ currentSession ?. id } ` , ( store ) => new MemberService ( graphqlClient , store ) )
41+ const member = usePersistentReactiveArrayService < NamespaceMember , MemberService > ( `dashboard::members::${ currentSession ?. id } ` , ( store ) => new MemberService ( graphqlClient , store ) )
4342 const namespace = usePersistentReactiveArrayService < Namespace , NamespaceService > ( `dashboard::namespaces::${ currentSession ?. id } ` , ( store ) => new NamespaceService ( graphqlClient , store ) )
4443 const runtime = usePersistentReactiveArrayService < Runtime , RuntimeService > ( `dashboard::global_runtimes::${ currentSession ?. id } ` , ( store ) => new RuntimeService ( graphqlClient , store ) )
4544 const project = usePersistentReactiveArrayService < NamespaceProject , ProjectService > ( `dashboard::projects::${ currentSession ?. id } ` , ( store ) => new ProjectService ( graphqlClient , store ) )
0 commit comments