Skip to content

Commit

Permalink
Move DeviceGroup to correct namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Aug 1, 2023
1 parent 4cb129b commit 45845e8
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion Server/API/OrganizationManagementController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using Remotely.Server.Extensions;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using Remotely.Shared.Models;
using Remotely.Shared.ViewModels;
using System;
using System.Text;
Expand Down
1 change: 0 additions & 1 deletion Server/Components/Devices/DeviceCard.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using Remotely.Shared.Enums;
using Remotely.Shared.Models;
using Remotely.Shared.Utilities;
using Remotely.Shared.ViewModels;
using System;
Expand Down
1 change: 0 additions & 1 deletion Server/Components/Devices/DevicesFrame.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Remotely.Server.Services;
using Remotely.Shared.Attributes;
using Remotely.Shared.Entities;
using Remotely.Shared.Models;
using Remotely.Shared.Utilities;
using System;
using System.Collections;
Expand Down
1 change: 0 additions & 1 deletion Server/Components/ModalContents/EditDeviceGroup.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Microsoft.AspNetCore.Components;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using Remotely.Shared.Models;
using System.Linq;
using System.Threading.Tasks;

Expand Down
1 change: 0 additions & 1 deletion Server/Components/Scripts/RunScript.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using Remotely.Shared.Enums;
using Remotely.Shared.Models;
using Remotely.Shared.Utilities;
using System;
using System.Collections.Generic;
Expand Down
1 change: 0 additions & 1 deletion Server/Components/Scripts/ScriptSchedules.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Remotely.Server.Pages;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using Remotely.Shared.Models;
using Remotely.Shared.Utilities;
using System;
using System.Collections.Generic;
Expand Down
1 change: 0 additions & 1 deletion Server/Pages/ManageOrganization.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Remotely.Server.Components.ModalContents;
using Remotely.Server.Services;
using Remotely.Shared.Entities;
using Remotely.Shared.Models;
using Remotely.Shared.ViewModels;
using System;
using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
using Remotely.Shared.Entities;

namespace Remotely.Shared.Models;
namespace Remotely.Shared.Entities;

public class DeviceGroup
{
Expand Down
2 changes: 1 addition & 1 deletion Shared/Entities/Organization.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Immense.RemoteControl.Shared.Models;
using Remotely.Shared.Enums;
using Remotely.Shared.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
Expand All @@ -15,6 +14,7 @@ public class Organization
public ICollection<ApiToken> ApiTokens { get; set; } = new List<ApiToken>();

public BrandingInfo? BrandingInfo { get; set; }
public string? BrandingInfoId { get; set; }

public ICollection<ScriptResult> ScriptResults { get; set; } = new List<ScriptResult>();

Expand Down
1 change: 0 additions & 1 deletion Shared/Entities/ScriptSchedule.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Remotely.Shared.Enums;
using Remotely.Shared.Models;
using Remotely.Shared.Utilities;
using System;
using System.Collections.Generic;
Expand Down

0 comments on commit 45845e8

Please sign in to comment.