@arcgis/languages-sdk-spec 4.32.0-next.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +13 -0
- package/README.md +21 -0
- package/dist/index.d.ts +422 -0
- package/dist/index.js +0 -0
- package/dist/schemas/api-category.schema.json +40 -0
- package/dist/schemas/api-item.schema.json +666 -0
- package/dist/schemas/arcade-api-item.schema.json +444 -0
- package/dist/schemas/arcade-profiles.schema.json +178 -0
- package/dist/schemas/profiles.schema.json +241 -0
- package/dist/schemas/sql-api-item.schema.json +427 -0
- package/dist/schemas/sql-profiles.schema.json +136 -0
- package/package.json +22 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/SqlSdkPredefinedProfiles",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"SqlSdkPredefinedProfiles": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"$ref": "#/definitions/BaseSdkPredefinedProfile<SqlProfileId,SqlBundleType>"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"BaseSdkPredefinedProfile<SqlProfileId,SqlBundleType>": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"name": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Profile name for UI"
|
|
17
|
+
},
|
|
18
|
+
"id": {
|
|
19
|
+
"$ref": "#/definitions/SqlProfileId",
|
|
20
|
+
"description": "Profile id for docs"
|
|
21
|
+
},
|
|
22
|
+
"bundles": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"$ref": "#/definitions/SqlBundleType"
|
|
26
|
+
},
|
|
27
|
+
"description": "Function bundles enabled for this profile"
|
|
28
|
+
},
|
|
29
|
+
"variables": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"$ref": "#/definitions/SdkVariable"
|
|
33
|
+
},
|
|
34
|
+
"description": "Variable describing name, type, and providing description"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": [
|
|
38
|
+
"name",
|
|
39
|
+
"id",
|
|
40
|
+
"bundles",
|
|
41
|
+
"variables"
|
|
42
|
+
],
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"description": "Describes a profile"
|
|
45
|
+
},
|
|
46
|
+
"SqlProfileId": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"const": "field-calculation",
|
|
49
|
+
"description": "The list of supported profiles"
|
|
50
|
+
},
|
|
51
|
+
"SqlBundleType": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"const": "core",
|
|
54
|
+
"description": "Supported function bundles"
|
|
55
|
+
},
|
|
56
|
+
"SdkVariable": {
|
|
57
|
+
"anyOf": [
|
|
58
|
+
{
|
|
59
|
+
"$ref": "#/definitions/SdkDictionaryVariable"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"$ref": "#/definitions/SdkValueVariable"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"description": "Profile variable"
|
|
66
|
+
},
|
|
67
|
+
"SdkDictionaryVariable": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"name": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "Name of the variable."
|
|
73
|
+
},
|
|
74
|
+
"type": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"const": "dictionary",
|
|
77
|
+
"description": "Type of the variable."
|
|
78
|
+
},
|
|
79
|
+
"description": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "Description of the variable."
|
|
82
|
+
},
|
|
83
|
+
"properties": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"items": {
|
|
86
|
+
"$ref": "#/definitions/SdkVariable"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"name",
|
|
92
|
+
"properties",
|
|
93
|
+
"type"
|
|
94
|
+
],
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"description": "A dictionary variable"
|
|
97
|
+
},
|
|
98
|
+
"SdkValueVariable": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"name": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Name of the variable."
|
|
104
|
+
},
|
|
105
|
+
"type": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"enum": [
|
|
108
|
+
"array",
|
|
109
|
+
"boolean",
|
|
110
|
+
"date",
|
|
111
|
+
"dateOnly",
|
|
112
|
+
"feature",
|
|
113
|
+
"featureSet",
|
|
114
|
+
"featureSetCollection",
|
|
115
|
+
"geometry",
|
|
116
|
+
"knowledgeGraph",
|
|
117
|
+
"number",
|
|
118
|
+
"text",
|
|
119
|
+
"time"
|
|
120
|
+
],
|
|
121
|
+
"description": "Type of the variable."
|
|
122
|
+
},
|
|
123
|
+
"description": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Description of the variable."
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"required": [
|
|
129
|
+
"name",
|
|
130
|
+
"type"
|
|
131
|
+
],
|
|
132
|
+
"additionalProperties": false,
|
|
133
|
+
"description": "A variable that represents a simple type (boolean, number, feature, etc.)"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@arcgis/languages-sdk-spec",
|
|
3
|
+
"version": "4.32.0-next.82",
|
|
4
|
+
"description": "ArcGIS languages types and schemas for design a language sdk",
|
|
5
|
+
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"module": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./dist/index.js",
|
|
12
|
+
"./dist/schemas/*.schema.json": "./dist/schemas/*.schema.json"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist/"
|
|
16
|
+
],
|
|
17
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"tslib": "^2.7.0",
|
|
20
|
+
"vscode-languageserver-types": "^3.17.5"
|
|
21
|
+
}
|
|
22
|
+
}
|