@@ -708,6 +708,108 @@ enum Role {
708708 VIEWER
709709}
710710
711+ type PublicPartnerInfo {
712+ partnerName : String
713+
714+ """Indicates if a partner logo exists"""
715+ hasPartnerLogo : Boolean !
716+ partnerUrl : String
717+
718+ """
719+ The path to the partner logo image on the flash drive, relative to the activation code file
720+ """
721+ partnerLogoUrl : String
722+ }
723+
724+ type ActivationCode {
725+ code : String
726+ partnerName : String
727+ partnerUrl : String
728+ serverName : String
729+ sysModel : String
730+ comment : String
731+ header : String
732+ headermetacolor : String
733+ background : String
734+ showBannerGradient : Boolean
735+ theme : String
736+ }
737+
738+ type Customization {
739+ activationCode : ActivationCode
740+ partnerInfo : PublicPartnerInfo
741+ theme : Theme !
742+ }
743+
744+ type ActivationOnboardingStep {
745+ """Identifier of the activation onboarding step"""
746+ id : ActivationOnboardingStepId !
747+
748+ """Indicates whether the step is required"""
749+ required : Boolean !
750+
751+ """Indicates whether the step has been completed for the current version"""
752+ completed : Boolean !
753+
754+ """Version of Unraid when this step was introduced"""
755+ introducedIn : String
756+ }
757+
758+ enum ActivationOnboardingStepId {
759+ WELCOME
760+ TIMEZONE
761+ PLUGINS
762+ ACTIVATION
763+ }
764+
765+ type ActivationOnboarding {
766+ """Indicates whether the system is currently in an upgrade state"""
767+ isUpgrade : Boolean !
768+
769+ """Previous OS version prior to the current upgrade"""
770+ previousVersion : String
771+
772+ """Current OS version detected by the system"""
773+ currentVersion : String
774+
775+ """Whether there are any remaining activation onboarding steps"""
776+ hasPendingSteps : Boolean !
777+
778+ """Activation onboarding steps relevant to the current system state"""
779+ steps : [ActivationOnboardingStep ! ]!
780+ }
781+
782+ type Theme {
783+ """The theme name"""
784+ name : ThemeName !
785+
786+ """Whether to show the header banner image"""
787+ showBannerImage : Boolean !
788+
789+ """Whether to show the banner gradient"""
790+ showBannerGradient : Boolean !
791+
792+ """Whether to show the description in the header"""
793+ showHeaderDescription : Boolean !
794+
795+ """The background color of the header"""
796+ headerBackgroundColor : String
797+
798+ """The text color of the header"""
799+ headerPrimaryTextColor : String
800+
801+ """The secondary text color of the header"""
802+ headerSecondaryTextColor : String
803+ }
804+
805+ """The theme name"""
806+ enum ThemeName {
807+ azure
808+ black
809+ gray
810+ white
811+ }
812+
711813type SsoSettings implements Node {
712814 id : PrefixedID !
713815
@@ -818,6 +920,26 @@ type PackageVersions {
818920 docker : String
819921}
820922
923+ type UpgradeStep {
924+ """Identifier of the onboarding step"""
925+ id : String !
926+
927+ """Whether the step is required to continue"""
928+ required : Boolean !
929+
930+ """Version of Unraid when this step was introduced"""
931+ introducedIn : String
932+
933+ """Display title for the onboarding step"""
934+ title : String !
935+
936+ """Display description for the onboarding step"""
937+ description : String !
938+
939+ """Icon identifier for the onboarding step"""
940+ icon : String
941+ }
942+
821943type UpgradeInfo {
822944 """Whether the OS version has changed since last boot"""
823945 isUpgrade : Boolean !
@@ -830,6 +952,9 @@ type UpgradeInfo {
830952
831953 """Onboarding step identifiers completed for the current OS version"""
832954 completedSteps : [String ! ]!
955+
956+ """Onboarding step definitions applicable to the current upgrade path"""
957+ steps : [UpgradeStep ! ]!
833958}
834959
835960type InfoVersions implements Node {
@@ -1055,7 +1180,7 @@ type OnboardingMutations {
10551180"""Input for marking an upgrade onboarding step as completed"""
10561181input CompleteUpgradeStepInput {
10571182 """Identifier of the onboarding step to mark completed"""
1058- stepId : String !
1183+ stepId : ActivationOnboardingStepId !
10591184}
10601185
10611186type Config implements Node {
@@ -1064,70 +1189,6 @@ type Config implements Node {
10641189 error : String
10651190}
10661191
1067- type PublicPartnerInfo {
1068- partnerName : String
1069-
1070- """Indicates if a partner logo exists"""
1071- hasPartnerLogo : Boolean !
1072- partnerUrl : String
1073-
1074- """
1075- The path to the partner logo image on the flash drive, relative to the activation code file
1076- """
1077- partnerLogoUrl : String
1078- }
1079-
1080- type ActivationCode {
1081- code : String
1082- partnerName : String
1083- partnerUrl : String
1084- serverName : String
1085- sysModel : String
1086- comment : String
1087- header : String
1088- headermetacolor : String
1089- background : String
1090- showBannerGradient : Boolean
1091- theme : String
1092- }
1093-
1094- type Customization {
1095- activationCode : ActivationCode
1096- partnerInfo : PublicPartnerInfo
1097- theme : Theme !
1098- }
1099-
1100- type Theme {
1101- """The theme name"""
1102- name : ThemeName !
1103-
1104- """Whether to show the header banner image"""
1105- showBannerImage : Boolean !
1106-
1107- """Whether to show the banner gradient"""
1108- showBannerGradient : Boolean !
1109-
1110- """Whether to show the description in the header"""
1111- showHeaderDescription : Boolean !
1112-
1113- """The background color of the header"""
1114- headerBackgroundColor : String
1115-
1116- """The text color of the header"""
1117- headerPrimaryTextColor : String
1118-
1119- """The secondary text color of the header"""
1120- headerSecondaryTextColor : String
1121- }
1122-
1123- """The theme name"""
1124- enum ThemeName {
1125- azure
1126- black
1127- gray
1128- white
1129- }
1130-
11311192type ExplicitStatusItem {
11321193 name : String !
11331194 updateStatus : UpdateStatus !
@@ -1878,7 +1939,6 @@ type ApiConfig {
18781939 sandbox : Boolean
18791940 ssoSubIds : [String ! ]!
18801941 plugins : [String ! ]!
1881- lastSeenOsVersion : String
18821942}
18831943
18841944type OidcAuthorizationRule {
@@ -2415,6 +2475,9 @@ type Query {
24152475 customization : Customization
24162476 publicPartnerInfo : PublicPartnerInfo
24172477 publicTheme : Theme !
2478+
2479+ """Activation onboarding steps derived from current system state"""
2480+ activationOnboarding : ActivationOnboarding !
24182481 docker : Docker !
24192482 disks : [Disk ! ]!
24202483 disk (id : PrefixedID ! ): Disk !
0 commit comments