-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Add correspondence resource type (#12822)
* Add correspondence resource type * Use file-scoped namespace
- Loading branch information
Showing
1 changed file
with
13 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |