Skip to content

Commit

Permalink
feat: add tags for sdk source types (#1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs authored Dec 12, 2024
1 parent 52f9bf2 commit 1f4e1c5
Show file tree
Hide file tree
Showing 17 changed files with 70 additions and 16 deletions.
5 changes: 4 additions & 1 deletion src/configurations/sources/amp/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "AMP",
"displayName": "AMP",
"type": "amp"
"type": "amp",
"options": {
"sdkExecutionEnvironment": "client"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/android/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Android",
"displayName": "Android",
"type": "android"
"type": "android",
"options": {
"sdkExecutionEnvironment": "client"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/cordova/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Cordova",
"displayName": "Cordova",
"type": "cordova"
"type": "cordova",
"options": {
"sdkExecutionEnvironment": "client"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/dotnet/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "DotNet",
"displayName": ".Net",
"type": "cloud"
"type": "cloud",
"options": {
"sdkExecutionEnvironment": "server"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/flutter/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Flutter",
"displayName": "Flutter",
"type": "flutter"
"type": "flutter",
"options": {
"sdkExecutionEnvironment": "client"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/go/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Go",
"displayName": "Go",
"type": "cloud"
"type": "cloud",
"options": {
"sdkExecutionEnvironment": "server"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/ios/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "iOS",
"displayName": "iOS",
"type": "ios"
"type": "ios",
"options": {
"sdkExecutionEnvironment": "client"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/java/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Java",
"displayName": "Java",
"type": "cloud"
"type": "cloud",
"options": {
"sdkExecutionEnvironment": "server"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/javascript/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Javascript",
"displayName": "Javascript",
"type": "web"
"type": "web",
"options": {
"sdkExecutionEnvironment": "client"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/node/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Node",
"displayName": "Node",
"type": "cloud"
"type": "cloud",
"options": {
"sdkExecutionEnvironment": "server"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/php/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "PHP",
"displayName": "PHP",
"type": "cloud"
"type": "cloud",
"options": {
"sdkExecutionEnvironment": "server"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/python/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Python",
"displayName": "Python",
"type": "cloud"
"type": "cloud",
"options": {
"sdkExecutionEnvironment": "server"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/react_native/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "ReactNative",
"displayName": "React Native",
"type": "reactnative"
"type": "reactnative",
"options": {
"sdkExecutionEnvironment": "client"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/ruby/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Ruby",
"displayName": "Ruby",
"type": "cloud"
"type": "cloud",
"options": {
"sdkExecutionEnvironment": "server"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/rust/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Rust",
"displayName": "Rust",
"type": "cloud"
"type": "cloud",
"options": {
"sdkExecutionEnvironment": "server"
}
}
5 changes: 4 additions & 1 deletion src/configurations/sources/unity/db-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "Unity",
"displayName": "Unity",
"type": "unity"
"type": "unity",
"options": {
"sdkExecutionEnvironment": "client"
}
}
6 changes: 6 additions & 0 deletions src/schemas/sources/db-config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@
"type": "boolean",
"title": "Supports Destination Sync Mode",
"description": "TBD"
},
"sdkExecutionEnvironment": {
"type": "string",
"title": "SDK Execution Environment",
"description": "It denotes the environment in which the SDK is executed. The presence of this field also indicates that the source is an SDK source.",
"enum": ["server", "client"]
}
}
}
Expand Down

0 comments on commit 1f4e1c5

Please sign in to comment.