Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

73 lines
1.6 KiB

/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {
HelpComponent,
SqxFrameworkModule,
SqxSharedModule
} from '@app/shared';
import {
AssetChangedTriggerComponent,
ContentChangedTriggerComponent,
GenericActionComponent,
RuleComponent,
RuleElementComponent,
RuleEventBadgeClassPipe,
RuleEventsPageComponent,
RuleIconComponent,
RulesPageComponent,
RuleWizardComponent,
SchemaChangedTriggerComponent,
UsageTriggerComponent
} from './declarations';
const routes: Routes = [
{
path: '',
component: RulesPageComponent,
children: [
{
path: 'events',
component: RuleEventsPageComponent
},
{
path: 'help',
component: HelpComponent,
data: {
helpPage: '05-integrated/rules'
}
}
]
}
];
@NgModule({
imports: [
SqxFrameworkModule,
SqxSharedModule,
RouterModule.forChild(routes)
],
declarations: [
AssetChangedTriggerComponent,
ContentChangedTriggerComponent,
GenericActionComponent,
RuleComponent,
RuleElementComponent,
RuleEventBadgeClassPipe,
RuleEventsPageComponent,
RuleIconComponent,
RulesPageComponent,
RuleWizardComponent,
SchemaChangedTriggerComponent,
UsageTriggerComponent
]
})
export class SqxFeatureRulesModule {}