1 Commits

Author SHA1 Message Date
renovate[bot] 3106ae57c1 Update dependency typescript to v7 2026-08-18 17:53:15 +00:00
5 changed files with 6 additions and 12 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
"dist"
],
"license": "MIT",
"packageManager": "npm@12.0.2",
"packageManager": "npm@11.19.0",
"dependencies": {
"@angular/cdk": "22.1.2",
"@angular/common": "22.1.2",
@@ -55,7 +55,7 @@
"postcss": "8.5.26",
"prettier": "3.9.6",
"tailwindcss": "4.3.3",
"typescript": "6.0.3",
"typescript": "7.0.2",
"vitest": "4.1.11"
}
}
@@ -17,7 +17,7 @@
(cdkDropListDropped)="drop($event)"
[cdkDropListData]="routes()"
>
@for (route of routes(); track route.id; let i = $index) {
@for (route of routes(); track $index + (route.input || ''); let i = $index) {
<div class="m-2" cdkDrag>
<app-route
[id]="listService.pathToId(`routes/${i}`)"
+2 -2
View File
@@ -81,7 +81,7 @@
(cdkDropListDropped)="drop($event)"
[cdkDropListData]="route()?.processors"
>
@for (processor of processors(); track processor.id; let i = $index) {
@for (processor of processors(); track $index + processor.type; let i = $index) {
<div cdkDrag>
<app-processor
[path]="path() + '/processors/' + i"
@@ -237,7 +237,7 @@
(cdkDropListDropped)="drop($event)"
[cdkDropListData]="route()?.processors"
>
@for (processor of processors(); track processor.id; let i = $index) {
@for (processor of processors(); track $index + processor.type; let i = $index) {
<div cdkDrag>
<app-processor
[path]="path() + '/processors/' + i"
-2
View File
@@ -22,13 +22,11 @@ export type ModuleConfig = {
};
export type RouteConfig = {
id: string;
input?: string;
processors?: ProcessorConfig[];
};
export type ProcessorConfig = {
id: string;
type: string;
params?: Record<string, any>;
};
+1 -5
View File
@@ -139,16 +139,12 @@ export class SchemaService {
}
getSkeletonForRoute(): RouteConfig {
const template: RouteConfig = {
id: crypto.randomUUID(),
processors: [],
};
const template: RouteConfig = {};
return template;
}
getSkeletonForProcessor(processorType: string): ProcessorConfig {
const template: ProcessorConfig = {
id: crypto.randomUUID(),
type: processorType,
};
const itemInfo = this.processorTypes.find((itemInfo) => itemInfo.type === processorType);