Skip to content

Commit

Permalink
feature: Add correspondence resource type (#12822)
Browse files Browse the repository at this point in the history
* Add correspondence resource type

* Use file-scoped namespace
  • Loading branch information
oskogstad authored and Jondyr committed Jun 10, 2024
1 parent cf884a9 commit 0f41644
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions backend/src/Designer/Enums/ResourceType.cs
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@

namespace Altinn.Studio.Designer.Enums;

namespace Altinn.Studio.Designer.Enums
/// <summary>
/// Enum representation of the different types of resources supported by the resource registry
/// </summary>
public enum ResourceType
{
/// <summary>
/// Enum representation of the different types of resources supported by the resource registry
/// </summary>
public enum ResourceType
{

Default = 0,
Default = 0,

Systemresource = 1,
Systemresource = 1 << 0,

MaskinportenSchema = 2,
MaskinportenSchema = 1 << 1,

Altinn2Service = 1 << 2,

Altinn2Service = 4,
AltinnApp = 1 << 3,

GenericAccessResource = 1 << 4,

AltinnApp = 8,
BrokerService = 1 << 5,


GenericAccessResource = 16,


BrokerService = 32,
}
CorrespondenceService = 1 << 6,
}

0 comments on commit 0f41644

Please sign in to comment.