We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DaffioRoute
1 parent 07a6955 commit 86b0973Copy full SHA for 86b0973
apps/daffio/src/app/core/router/route.type.ts
@@ -0,0 +1,15 @@
1
+import { Route } from '@angular/router';
2
+
3
+import { DaffDocKind } from '@daffodil/docs-utils';
4
+import { DaffRouteWithNamedViews } from '@daffodil/router';
5
6
+/**
7
+ * A route config that possibly contains different kinds of data used in the application.
8
+ */
9
+export interface DaffioRoute extends Route {
10
+ data?: Route['data']
11
+ & DaffRouteWithNamedViews['data']
12
+ & {
13
+ docKind?: DaffDocKind;
14
+ };
15
+}
0 commit comments