forked from VRK-YTI/yti-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from CSCfi/crosswalk-editor-demo3
Work in progress version of the crosswalk editor. Can be tested using skosrdf files. No saving functionality yet.
- Loading branch information
Showing
21 changed files
with
2,599 additions
and
5,696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127 changes: 76 additions & 51 deletions
127
mscr-ui/src/common/interfaces/crosswalk-connection.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,90 @@ | ||
export interface CrosswalkConnection { | ||
source: string; | ||
target: string | string[]; | ||
sourceTitle: string | undefined; | ||
targetTitle: string | undefined; | ||
sourceType: string | undefined; | ||
targetType: string | undefined; | ||
parentId: number | string; | ||
parentName: string | undefined; | ||
mappingType: string | undefined; | ||
notes: string | undefined; | ||
isSelected: boolean; | ||
sourceDescription: string | undefined; | ||
type: string | undefined; | ||
source: string; | ||
target: string | string[]; | ||
sourceTitle: string | undefined; | ||
targetTitle: string | undefined; | ||
sourceType: string | undefined; | ||
targetType: string | undefined; | ||
parentId: number | string; | ||
parentName: string | undefined; | ||
mappingType: string | undefined; | ||
notes: string | undefined; | ||
isSelected: boolean; | ||
sourceDescription: string | undefined; | ||
type: string | undefined; | ||
} | ||
|
||
export interface RenderTreeOld { | ||
idNumeric: number; | ||
id: string; | ||
name: string; | ||
isLinked: boolean; | ||
title?: string; | ||
type?: string; | ||
description?: string; | ||
required?: string; | ||
isMappable?: string; | ||
parentName?: string; | ||
jsonPath: string; | ||
parentId: number | string; | ||
children?: RenderTreeOld[]; | ||
} | ||
|
||
export interface RenderTree { | ||
idNumeric: number; | ||
id: string; | ||
name: string; | ||
isLinked: boolean; | ||
title?: string; | ||
type?: string; | ||
description?: string; | ||
required?: string; | ||
isMappable?: string; | ||
parentName?: string; | ||
jsonPath: string; | ||
parentId: number | string; | ||
children?: RenderTree[]; | ||
name: string; | ||
id: string; | ||
properties: any; | ||
elementPath: string; | ||
parentElementPath: string | undefined; | ||
children: RenderTree[]; | ||
} | ||
|
||
export interface CrosswalkConnectionOld { | ||
source: RenderTreeOld; | ||
target: RenderTreeOld; | ||
id: string; | ||
description: string | undefined; | ||
isSelected: boolean; | ||
isDraft: boolean; | ||
sourceJsonPath: string | undefined; | ||
targetJsonPath: string | undefined; | ||
sourcePredicate: string | undefined; | ||
sourceProcessing: string | undefined; | ||
targetPredicate: string | undefined; | ||
targetProcessing: string | undefined; | ||
} | ||
|
||
export interface CrosswalkConnectionNew { | ||
source: RenderTree; | ||
target: RenderTree; | ||
id: string; | ||
description: string | undefined; | ||
isSelected: boolean; | ||
isDraft: boolean; | ||
sourceJsonPath: string | undefined; | ||
targetJsonPath: string | undefined; | ||
sourcePredicate: string | undefined; | ||
sourceProcessing: string | undefined; | ||
targetPredicate: string | undefined; | ||
targetProcessing: string | undefined; | ||
source: RenderTree; | ||
target: RenderTree; | ||
id: string; | ||
description: string | undefined; | ||
isSelected: boolean; | ||
isDraft: boolean; | ||
sourceJsonPath: string | undefined; | ||
targetJsonPath: string | undefined; | ||
sourcePredicate: string | undefined; | ||
sourceProcessing: string | undefined; | ||
targetPredicate: string | undefined; | ||
targetProcessing: string | undefined; | ||
} | ||
|
||
export interface CrosswalkConnectionsNew { | ||
source: RenderTree[]; | ||
target: RenderTree[]; | ||
id: string; | ||
description: string | undefined; | ||
source: RenderTree[]; | ||
target: RenderTree[]; | ||
id: string; | ||
description: string | undefined; | ||
} | ||
|
||
export interface CrosswalkPayloadPrelim { | ||
sourceName: string; | ||
targetName: string; | ||
sourceJsonPath: string; | ||
targetJsonPath: string; | ||
id: string; | ||
description: string | undefined; | ||
filterFunction: string | undefined; | ||
sourceProcessing: string | undefined; | ||
targetProcessing: string | undefined; | ||
sourceName: string; | ||
targetName: string; | ||
sourceJsonPath: string; | ||
targetJsonPath: string; | ||
id: string; | ||
description: string | undefined; | ||
filterFunction: string | undefined; | ||
sourceProcessing: string | undefined; | ||
targetProcessing: string | undefined; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.