mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Workshop - Added indicator for official submissions
Router - Reload previous screen if navigation is cancelled Profile editor - Disable auto-update when editing workshop profiles
This commit is contained in:
1 parent
3b2d799bfc
commit
b00f5ca73a
14 files changed
+127
-42
No files matched your search
@@ -11,6 +11,7 @@ public class InstalledEntry : CorePropertyChanged, IEntrySummary
|
||||
private Dictionary<string, JsonNode> _metadata = new();
|
||||
private long _id;
|
||||
private string _author;
|
||||
private bool _isOfficial;
|
||||
private string _name;
|
||||
private string _summary;
|
||||
private EntryType _entryType;
|
||||
@@ -175,6 +176,7 @@ public class InstalledEntry : CorePropertyChanged, IEntrySummary
|
||||
{
|
||||
Id = entry.Id;
|
||||
Author = entry.Author;
|
||||
IsOfficial = entry.IsOfficial;
|
||||
Name = entry.Name;
|
||||
Summary = entry.Summary;
|
||||
EntryType = entry.EntryType;
|
||||
@@ -200,6 +202,13 @@ public class InstalledEntry : CorePropertyChanged, IEntrySummary
|
||||
private set => SetAndNotify(ref _author, value);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsOfficial
|
||||
{
|
||||
get => _isOfficial;
|
||||
private set => SetAndNotify(ref _isOfficial, value);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public string Name
|
||||
{
|
||||
|
||||
@@ -31,6 +31,7 @@ fragment submittedEntry on Entry {
|
||||
fragment entrySummary on Entry {
|
||||
id
|
||||
author
|
||||
isOfficial
|
||||
name
|
||||
summary
|
||||
entryType
|
||||
@@ -45,6 +46,7 @@ fragment entrySummary on Entry {
|
||||
fragment entryDetails on Entry {
|
||||
id
|
||||
author
|
||||
isOfficial
|
||||
name
|
||||
summary
|
||||
entryType
|
||||
|
||||
@@ -2,7 +2,7 @@ schema: schema.graphql
|
||||
extensions:
|
||||
endpoints:
|
||||
Default GraphQL Endpoint:
|
||||
url: https://localhost:7281/graphql
|
||||
url: https://workshop.artemis-rgb.com/graphql
|
||||
headers:
|
||||
user-agent: JS GraphQL
|
||||
introspect: true
|
||||
@@ -61,6 +61,7 @@ type Entry {
|
||||
iconId: UUID
|
||||
id: Long!
|
||||
images: [Image!]!
|
||||
isOfficial: Boolean!
|
||||
latestRelease: Release
|
||||
latestReleaseId: Long
|
||||
layoutInfo: [LayoutInfo!]!
|
||||
@@ -124,6 +125,7 @@ type PluginInfo {
|
||||
entry: Entry!
|
||||
entryId: Long!
|
||||
helpPage: String
|
||||
minmumVersion: String
|
||||
pluginGuid: UUID!
|
||||
repository: String
|
||||
requiresAdmin: Boolean!
|
||||
@@ -310,6 +312,7 @@ input EntryFilterInput {
|
||||
iconId: UuidOperationFilterInput
|
||||
id: LongOperationFilterInput
|
||||
images: ListFilterInputTypeOfImageFilterInput
|
||||
isOfficial: BooleanOperationFilterInput
|
||||
latestRelease: ReleaseFilterInput
|
||||
latestReleaseId: LongOperationFilterInput
|
||||
layoutInfo: ListFilterInputTypeOfLayoutInfoFilterInput
|
||||
@@ -331,6 +334,7 @@ input EntrySortInput {
|
||||
icon: ImageSortInput
|
||||
iconId: SortEnumType
|
||||
id: SortEnumType
|
||||
isOfficial: SortEnumType
|
||||
latestRelease: ReleaseSortInput
|
||||
latestReleaseId: SortEnumType
|
||||
name: SortEnumType
|
||||
@@ -479,6 +483,7 @@ input PluginInfoFilterInput {
|
||||
entry: EntryFilterInput
|
||||
entryId: LongOperationFilterInput
|
||||
helpPage: StringOperationFilterInput
|
||||
minmumVersion: StringOperationFilterInput
|
||||
or: [PluginInfoFilterInput!]
|
||||
pluginGuid: UuidOperationFilterInput
|
||||
repository: StringOperationFilterInput
|
||||
@@ -494,6 +499,7 @@ input PluginInfoSortInput {
|
||||
entry: EntrySortInput
|
||||
entryId: SortEnumType
|
||||
helpPage: SortEnumType
|
||||
minmumVersion: SortEnumType
|
||||
pluginGuid: SortEnumType
|
||||
repository: SortEnumType
|
||||
requiresAdmin: SortEnumType
|
||||
|
||||
Reference in new issue
Block a user