refactor user details plugin interface

This commit is contained in:
Gary Sharp
2023-04-14 16:37:42 +10:00
parent 215e9863a2
commit 22dad072b9
22 changed files with 144 additions and 241 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
using Disco.Models.BI.Config;
using Disco.Models.Services.Documents;
using Disco.Models.Services.Jobs.JobLists;
using Disco.Models.Services.Plugins.Details;
using System.Collections.Generic;
namespace Disco.Models.UI.Device
@@ -21,7 +20,7 @@ namespace Disco.Models.UI.Device
List<Repository.DocumentTemplate> DocumentTemplates { get; set; }
List<DocumentTemplatePackage> DocumentTemplatePackages { get; set; }
DetailsResult AssignedUserDetails { get; set; }
Dictionary<string, string> AssignedUserDetails { get; set; }
bool HasAssignedUserPhoto { get; set; }
}
}
+1 -2
View File
@@ -1,7 +1,6 @@
using Disco.Models.Services.Documents;
using Disco.Models.Services.Job;
using Disco.Models.Services.Jobs.JobLists;
using Disco.Models.Services.Plugins.Details;
using System;
using System.Collections.Generic;
@@ -18,7 +17,7 @@ namespace Disco.Models.UI.Job
LocationModes LocationMode { get; set; }
List<JobLocationReference> LocationOptions { get; set; }
DetailsResult UserDetails { get; set; }
Dictionary<string, string> UserDetails { get; set; }
bool HasUserPhoto { get; set; }
}
}
+1 -2
View File
@@ -2,7 +2,6 @@
using Disco.Models.Services.Authorization;
using Disco.Models.Services.Documents;
using Disco.Models.Services.Jobs.JobLists;
using Disco.Models.Services.Plugins.Details;
using System.Collections.Generic;
namespace Disco.Models.UI.User
@@ -18,7 +17,7 @@ namespace Disco.Models.UI.User
IAuthorizationToken AuthorizationToken { get; set; }
IClaimNavigatorItem ClaimNavigator { get; set; }
DetailsResult UserDetails { get; set; }
Dictionary<string, string> UserDetails { get; set; }
bool HasUserPhoto { get; set; }
}
}