Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend/bpmn #5

Merged
merged 25 commits into from
Apr 1, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4a84986
Renamed skill to skill-card
aljoshakoecher Mar 29, 2022
552c325
Added a capability card to display capabilities
aljoshakoecher Mar 29, 2022
d6f9c6f
inputs and outputs are both direct children of capabilities
aljoshakoecher Mar 30, 2022
a90cbe6
Added deleteCapability functionality
aljoshakoecher Mar 30, 2022
067e589
Moved data classes that are not DTOs to frontend
aljoshakoecher Mar 30, 2022
fe524b8
Added a service locator that allows to get Angular services within da…
aljoshakoecher Mar 30, 2022
f67e600
Changed imports to new data classes
aljoshakoecher Mar 30, 2022
48447d6
Updated capability overview
aljoshakoecher Mar 30, 2022
5647ab3
Renamed skill processes to production processses
aljoshakoecher Mar 23, 2022
9a1abcb
Added type to inputs / outputs
aljoshakoecher Mar 30, 2022
e7cd0fd
Use propertyservice to get capability's properties
aljoshakoecher Mar 30, 2022
929946e
Created backend functionality to get properties
aljoshakoecher Mar 30, 2022
5a2bbd8
Defines a capability stored inside a BPMN capability task
aljoshakoecher Mar 30, 2022
0fcee0d
minor cosmetic changes
aljoshakoecher Mar 30, 2022
0e3618a
Added classes to model properties and propertyDTOs
aljoshakoecher Mar 30, 2022
7d1cc8a
Added getters for input / output properties
aljoshakoecher Mar 30, 2022
b98dfb7
Split DTO and Angular model class
aljoshakoecher Mar 30, 2022
50a6bab
Minor changes
aljoshakoecher Mar 30, 2022
afd1e96
Fixed property instance IRI
aljoshakoecher Mar 30, 2022
3b9f785
Fixed propblems on async loading
aljoshakoecher Apr 1, 2022
3808052
Removed comments
aljoshakoecher Apr 1, 2022
1dd54d7
Adds a distinction between DTO (serialized in BPMN)
aljoshakoecher Apr 1, 2022
145713e
Now getting existing values when revisiting task
aljoshakoecher Apr 1, 2022
afcaa1b
Allow passing capability type
aljoshakoecher Apr 1, 2022
5ad2e8d
Fixed skill-card component tag
aljoshakoecher Apr 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Split DTO and Angular model class
  • Loading branch information
aljoshakoecher committed Mar 30, 2022
commit b98dfb7af5322d84584d557fd8423e7c2acbcbd8
14 changes: 14 additions & 0 deletions frontend/src/shared/models/FpbElement.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { FpbElementDTO } from "@shared/models/fpb/FpbElementDTO";
import { RdfElement } from "@shared/models/RdfElement";
import { Property } from "./Property";

export class FpbElement extends RdfElement {
type: string;
properties = new Array<Property>();

constructor(elementDto: FpbElementDTO) {
super(elementDto.iri);
this.type = elementDto.type;
this.properties = elementDto.propertyDtos?.map(propDto => new Property(propDto));
}
}
26 changes: 0 additions & 26 deletions shared/models/fpb/FpbElement.ts

This file was deleted.

8 changes: 8 additions & 0 deletions shared/models/fpb/FpbElementDTO.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { PropertyDTO } from "../properties/PropertyDTO";

export class FpbElementDTO {
iri: string;
type: string;
propertyDtos: Array<PropertyDTO>
}