-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from RevealBi/dsi-objects
added initial DSI objects
- Loading branch information
Showing
30 changed files
with
407 additions
and
17 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
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
10 changes: 10 additions & 0 deletions
10
src/Reveal.Sdk.Dom/Data/DataSourceItems/AmazonAthenaDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class AmazonAthenaDataSourceItem : TableDataSourceItem | ||
{ | ||
public AmazonAthenaDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/Reveal.Sdk.Dom/Data/DataSourceItems/AmazonRedshiftDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class AmazonRedshiftDataSourceItem : FunctionDataSourceItem | ||
{ | ||
public AmazonRedshiftDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/AmazonS3DataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class AmazonS3DataSourceItem : DataSourceItem | ||
{ | ||
internal AmazonS3DataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string Path { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/BoxDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class BoxDataSourceItem : DataSourceItem | ||
{ | ||
internal BoxDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string Identifier { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/DropboxDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class DropboxDataSourceItem : DataSourceItem | ||
{ | ||
internal DropboxDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string Path { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/Reveal.Sdk.Dom/Data/DataSourceItems/GoogleAnalytics4DataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class GoogleAnalytics4DataSourceItem : DataSourceItem | ||
{ | ||
internal GoogleAnalytics4DataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string AccountId { get; set; } | ||
|
||
[JsonIgnore] | ||
public string PropertyId { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/Reveal.Sdk.Dom/Data/DataSourceItems/GoogleBigQueryDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class GoogleBigQueryDataSourceItem : TableDataSourceItem | ||
{ | ||
internal GoogleBigQueryDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string DataSetId { get; set; } | ||
|
||
[JsonIgnore] | ||
public string ProjectId { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/GoogleDriveDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class GoogleDriveDataSourceItem : DataSourceItem | ||
{ | ||
internal GoogleDriveDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string Identitifer { get; set; } | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
src/Reveal.Sdk.Dom/Data/DataSourceItems/GoogleSheetsDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class GoogleSheetsDataSourceItem : DataSourceItem | ||
{ | ||
internal GoogleSheetsDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public bool FirstRowContainsLabels { get; set; } | ||
|
||
[JsonIgnore] | ||
public string NamedRange { get; set; } | ||
|
||
[JsonIgnore] | ||
public string PivotTable { get; set; } | ||
|
||
//todo: this is a nested object | ||
//[JsonIgnore] | ||
//public object Range { get; set; } | ||
|
||
[JsonIgnore] | ||
public string Sheet { get; set; } | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/Reveal.Sdk.Dom/Data/DataSourceItems/MicrosoftAnalysisServicesDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class MicrosoftAnalysisServicesDataSourceItem : DataSourceItem | ||
{ | ||
internal MicrosoftAnalysisServicesDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string Catalog { get; set; } | ||
|
||
[JsonIgnore] | ||
public string Cube { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Reveal.Sdk.Dom/Data/DataSourceItems/MicrosoftAzureAnalysisServicesDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class MicrosoftAzureAnalysisServicesDataSourceItem : DataSourceItem | ||
{ | ||
internal MicrosoftAzureAnalysisServicesDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Reveal.Sdk.Dom/Data/DataSourceItems/MicrosoftAzureSqlDatabaseDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class MicrosoftAzureSqlDatabaseDataSourceItem : MicrosoftSqlServerDataSourceItem | ||
{ | ||
internal MicrosoftAzureSqlDatabaseDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Reveal.Sdk.Dom/Data/DataSourceItems/MicrosoftAzureSynapseAnalyticsDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class MicrosoftAzureSynapseAnalyticsDataSourceItem : MicrosoftSqlServerDataSourceItem | ||
{ | ||
public MicrosoftAzureSynapseAnalyticsDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/MicrosoftOneDriveDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class MicrosoftOneDriveDataSourceItem : DataSourceItem | ||
{ | ||
internal MicrosoftOneDriveDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string Identifier { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Reveal.Sdk.Dom/Data/DataSourceItems/MicrosoftSharePointDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class MicrosoftSharePointDataSourceItem : DataSourceItem | ||
{ | ||
internal MicrosoftSharePointDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
} | ||
} |
14 changes: 3 additions & 11 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/MicrosoftSqlServerDataSourceItem.cs
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
17 changes: 17 additions & 0 deletions
17
src/Reveal.Sdk.Dom/Data/DataSourceItems/MongoDbDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class MongoDbDataSourceItem : DataSourceItem | ||
{ | ||
public MongoDbDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string Collection { get; set; } | ||
|
||
[JsonIgnore] | ||
public bool ProcessDataOnServer { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/MySqlDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class MySqlDataSourceItem : ProcedureDataSourceItem | ||
{ | ||
public MySqlDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public bool ProcessDataOnServer { get; set; } | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/Reveal.Sdk.Dom/Data/DataSourceItems/ODataDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class ODataDataSourceItem : DataSourceItem | ||
{ | ||
internal ODataDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string EntityType { get; set; } | ||
|
||
[JsonIgnore] | ||
public string FunctionQName { get; set; } | ||
|
||
[JsonIgnore] | ||
public string Url { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Reveal.Sdk.Dom/Data/DataSourceItems/OracleDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class OracleDataSourceItem : ProcedureDataSourceItem | ||
{ | ||
public OracleDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/PostgreSqlDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
public class PostgreSqlDataSourceItem : FunctionDataSourceItem | ||
{ | ||
public PostgreSqlDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public bool ProcessDataOnServer { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/SnowflakeDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class SnowflakeDataSourceItem : SchemaDataSourceItem | ||
{ | ||
public SnowflakeDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public bool ProcessDataOnServer { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Reveal.Sdk.Dom/Data/DataSourceItems/WebServiceDataSourceItem.cs
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Reveal.Sdk.Dom.Data | ||
{ | ||
internal class WebServiceDataSourceItem : DataSourceItem | ||
{ | ||
internal WebServiceDataSourceItem(string title, DataSource dataSource) : | ||
base(title, dataSource) | ||
{ } | ||
|
||
[JsonIgnore] | ||
public string Url { get; set; } | ||
} | ||
} |
Oops, something went wrong.