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.
 
 
 
 
 

67 lines
1.5 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 'shared';
import {
AlgoliaActionComponent,
AssetChangedTriggerComponent,
AzureQueueActionComponent,
ContentChangedTriggerComponent,
RuleEventsPageComponent,
RulesPageComponent,
RuleWizardComponent,
SlackActionComponent,
WebhookActionComponent
} from './declarations';
const routes: Routes = [
{
path: '',
component: RulesPageComponent,
children: [
{
path: 'events',
component: RuleEventsPageComponent
},
{
path: 'help',
component: HelpComponent,
data: {
helpPage: '06-integrated/rules'
}
}
]
}
];
@NgModule({
imports: [
SqxFrameworkModule,
SqxSharedModule,
RouterModule.forChild(routes)
],
declarations: [
AlgoliaActionComponent,
AssetChangedTriggerComponent,
AzureQueueActionComponent,
ContentChangedTriggerComponent,
RuleEventsPageComponent,
RulesPageComponent,
RuleWizardComponent,
SlackActionComponent,
WebhookActionComponent
]
})
export class SqxFeatureRulesModule { }