Workshop - Added release management

This commit is contained in:
RobertBeekman committed 2024-04-10 20:59:53 +02:00
1 parent 7030c7af2a
commit cac44d748d
18 files changed
+578 -174

No files matched your search

@@ -3,3 +3,16 @@ mutation UpdateEntry ($input: UpdateEntryInput!) {
id
}
}
mutation UpdateRelease($input: UpdateReleaseInput!) {
updateRelease(input: $input) {
id
}
}
mutation RemoveRelease($input: Long!) {
removeRelease(id: $input) {
id
}
}
@@ -14,5 +14,10 @@ query GetSubmittedEntryById($id: Long!) {
images {
...image
}
releases {
id
version
createdAt
}
}
}
@@ -2,10 +2,10 @@ namespace Artemis.WebClient.Workshop;
public static class WorkshopConstants
{
// public const string AUTHORITY_URL = "https://localhost:5001";
// public const string WORKSHOP_URL = "https://localhost:7281";
public const string AUTHORITY_URL = "https://identity.artemis-rgb.com";
public const string WORKSHOP_URL = "https://workshop.artemis-rgb.com";
public const string AUTHORITY_URL = "https://localhost:5001";
public const string WORKSHOP_URL = "https://localhost:7281";
// public const string AUTHORITY_URL = "https://identity.artemis-rgb.com";
// public const string WORKSHOP_URL = "https://workshop.artemis-rgb.com";
public const string IDENTITY_CLIENT_NAME = "IdentityApiClient";
public const string WORKSHOP_CLIENT_NAME = "WorkshopApiClient";
}
@@ -2,7 +2,7 @@ schema: schema.graphql
extensions:
endpoints:
Default GraphQL Endpoint:
url: https://workshop.artemis-rgb.com/graphql
url: https://localhost:7281/graphql
headers:
user-agent: JS GraphQL
introspect: true
@@ -100,6 +100,7 @@ type Mutation {
addLayoutInfo(input: CreateLayoutInfoInput!): LayoutInfo
removeEntry(id: Long!): Entry
removeLayoutInfo(id: Long!): LayoutInfo!
removeRelease(id: Long!): Release!
updateEntry(input: UpdateEntryInput!): Entry
updateEntryImage(input: UpdateEntryImageInput!): Image
updateRelease(input: UpdateReleaseInput!): Release