Skip to content

Commit

Permalink
upgrade meitrex common
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBredl committed Jun 5, 2024
1 parent 961eece commit fac35ad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ repositories {
}

dependencies {
implementation 'de.unistuttgart.iste.meitrex:meitrex-common:1.0.4'
implementation 'de.unistuttgart.iste.meitrex:gamification_engine:1.0.4b'
implementation 'de.unistuttgart.iste.meitrex:meitrex-common:1.0.5'
implementation 'de.unistuttgart.iste.meitrex:gamification_engine:1.0.5'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-graphql'
implementation 'org.springframework.boot:spring-boot-starter-validation'
Expand Down
17 changes: 9 additions & 8 deletions src/main/resources/graphql/gamification_engine/event.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ interface Event {

type DefaultEvent implements Event {
id: UUID!
eventType: EventType!
eventType: DefaultEventType!
visibility: EventVisibility!
userId: UUID
visibleToUserIds: [UUID!]!
projectId: UUID
timestamp: DateTime!
message: String!
mostRecentChildTimestamp: DateTime!
parent: Event
parent: DefaultEvent
eventData: [DefaultTemplateField!]!
children: [Event!]! @OnDemand
children: [DefaultEvent!]! @OnDemand
}

input CreateEventInput {
Expand All @@ -57,6 +57,7 @@ input CreateEventInput {
projectId: UUID
eventData: [TemplateFieldInput!]!
parentId: UUID
visibleToUserIds: [UUID!] = []
}

interface EventType {
Expand All @@ -71,34 +72,34 @@ type DefaultEventType implements EventType {
identifier: String!
description: String
defaultVisibility: EventVisibility!
eventSchema: SchemaDefinition!
eventSchema: DefaultSchemaDefinition!
messageTemplate: String!
}

interface TemplateField {
key: String!
type: AllowedDataType!
value: String!
value: String
}

type DefaultTemplateField implements TemplateField {
key: String!
type: AllowedDataType!
value: String!
value: String
}

input TemplateFieldInput {
key: String!
type: AllowedDataType!
value: String!
value: String
}

interface SchemaDefinition {
fields: [FieldSchemaDefinition!]!
}

type DefaultSchemaDefinition implements SchemaDefinition {
fields: [FieldSchemaDefinition!]!
fields: [DefaultFieldSchemaDefinition!]!
}

interface FieldSchemaDefinition {
Expand Down

0 comments on commit fac35ad

Please sign in to comment.