portainer/app/edge/react/views/index.ts

20 lines
705 B
TypeScript
Raw Normal View History

import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { withCurrentUser } from '@/react-tools/withCurrentUser';
import { withReactQuery } from '@/react-tools/withReactQuery';
import { withUIRouter } from '@/react-tools/withUIRouter';
import { WaitingRoomView } from '@/react/edge/edge-devices/WaitingRoomView';
import { ListView } from '@/react/edge/edge-stacks/ListView';
export const viewsModule = angular
.module('portainer.edge.react.views', [])
.component(
'waitingRoomView',
r2a(withUIRouter(withReactQuery(withCurrentUser(WaitingRoomView))), [])
)
.component(
'edgeStacksView',
r2a(withUIRouter(withCurrentUser(ListView)), [])
).name;