-
Notifications
You must be signed in to change notification settings - Fork 3
/
Audience.cs
49 lines (42 loc) · 1.44 KB
/
Audience.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// ReSharper disable UnusedMember.Global
namespace ToSic.Eav.DataSource.VisualQuery;
/// <summary>
/// Marks a DataSource to be for a specific audience - `Default` or `Advanced`.
/// Used to hide advanced data sources in the Visual Query editor.
/// </summary>
[PublicApi]
public enum Audience
{
/// <summary>
/// Audience not defined, avoid using
/// </summary>
[PrivateApi]
[System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
Undefined = 0,
/// <summary>
/// Everyone - ATM not in use, avoid using for now
/// </summary>
[PrivateApi]
[System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
Everyone = 10,
/// <summary>
/// Default audience - nothing special configured
/// </summary>
Default = 100,
/// <summary>
/// Advanced audience - this will be hidden to most normal users in Visual Query
/// </summary>
Advanced = 200,
/// <summary>
/// Admins only - ATM not in use, avoid using for now.
/// </summary>
[PrivateApi]
[System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
Admin = 1000,
/// <summary>
/// System level only - ATM not in use, avoid using for now
/// </summary>
[PrivateApi]
[System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
System = 10000
}