Skip to content

Commit

Permalink
chore: add sdk languages (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld authored Mar 7, 2024
1 parent 2f18ac9 commit ce33a59
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 0 deletions.
88 changes: 88 additions & 0 deletions data/languages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"akamai": [
"JavaScript"
],
"android-client-sdk": [
"Java"
],
"apex-server-sdk": [
"Apex"
],
"cloudflare": [
"JavaScript"
],
"cpp-client-sdk": [
"C++",
"C"
],
"cpp-server-sdk": [
"C++",
"C"
],
"dotnet-client-sdk": [
"C#"
],
"dotnet-server-sdk": [
"C#"
],
"electron": [
"JavaScript"
],
"erlang-server-sdk": [
"Erlang"
],
"flutter-client-sdk": [
"Dart"
],
"go-server-sdk": [
"Go"
],
"haskell-server-sdk": [
"Haskell"
],
"ios-client-sdk": [
"Swift"
],
"java-server-sdk": [
"Java"
],
"javascript-client-sdk": [
"JavaScript"
],
"lua-server-sdk": [
"Lua"
],
"node-client-sdk": [
"JavaScript"
],
"node-server-sdk": [
"JavaScript"
],
"php-server-sdk": [
"PHP"
],
"python-server-sdk": [
"Python"
],
"react-client-sdk": [
"JavaScript"
],
"react-native-client-sdk": [
"JavaScript"
],
"roku-client-sdk": [
"BrightScript"
],
"ruby-server-sdk": [
"Ruby"
],
"rust-server-sdk": [
"Rust"
],
"vercel-client-sdk": [
"JavaScript"
],
"vue-client-sdk": [
"JavaScript"
]
}
20 changes: 20 additions & 0 deletions schemas/languages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://launchdarkly.com/sdk-meta/languages.json",
"title": "SDK Languages",
"description": "The programming languages associated with each SDK",
"type": "object",
"$defs": {
"SDKLanguage" : {
"type" : "string",
"description" : "Name of a programming language",
"pattern" : "^[+A-Za-z#]+$"
}
},
"patternProperties" : {
"^[a-z-]+$" : {
"type" : "array",
"items" : { "$ref" : "#/$defs/SDKLanguage" }
}
}
}
1 change: 1 addition & 0 deletions scripts/ci/check-json-schemas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ function runTest() {
runTest ./schemas/features.json ./data/features.json
runTest ./schemas/types.json ./data/types.json
runTest ./schemas/names.json ./data/names.json
runTest ./schemas/languages.json ./data/languages.json
File renamed without changes.

0 comments on commit ce33a59

Please sign in to comment.