@arcgis/arcade-languageservice 4.31.0-next.7 → 4.31.0-next.71
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/dist/assets/t9n/profile.t9n.ar.json +1 -1
- package/dist/assets/t9n/profile.t9n.bg.json +1 -1
- package/dist/assets/t9n/profile.t9n.bs.json +1 -1
- package/dist/assets/t9n/profile.t9n.ca.json +6 -6
- package/dist/assets/t9n/profile.t9n.cs.json +1 -1
- package/dist/assets/t9n/profile.t9n.da.json +1 -1
- package/dist/assets/t9n/profile.t9n.de.json +1 -1
- package/dist/assets/t9n/profile.t9n.el.json +1 -1
- package/dist/assets/t9n/profile.t9n.es.json +1 -1
- package/dist/assets/t9n/profile.t9n.et.json +1 -1
- package/dist/assets/t9n/profile.t9n.fi.json +1 -1
- package/dist/assets/t9n/profile.t9n.fr.json +1 -1
- package/dist/assets/t9n/profile.t9n.he.json +1 -1
- package/dist/assets/t9n/profile.t9n.hr.json +1 -1
- package/dist/assets/t9n/profile.t9n.id.json +1 -1
- package/dist/assets/t9n/profile.t9n.it.json +1 -1
- package/dist/assets/t9n/profile.t9n.ko.json +1 -1
- package/dist/assets/t9n/profile.t9n.nb.json +1 -1
- package/dist/assets/t9n/profile.t9n.nl.json +1 -1
- package/dist/assets/t9n/profile.t9n.pl.json +1 -1
- package/dist/assets/t9n/profile.t9n.pt-BR.json +1 -1
- package/dist/assets/t9n/profile.t9n.pt-PT.json +1 -1
- package/dist/assets/t9n/profile.t9n.ru.json +1 -1
- package/dist/assets/t9n/profile.t9n.sk.json +1 -1
- package/dist/assets/t9n/profile.t9n.sl.json +1 -1
- package/dist/assets/t9n/profile.t9n.sr.json +1 -1
- package/dist/assets/t9n/profile.t9n.sv.json +1 -1
- package/dist/assets/t9n/profile.t9n.th.json +1 -1
- package/dist/assets/t9n/profile.t9n.tr.json +1 -1
- package/dist/assets/t9n/profile.t9n.uk.json +5 -5
- package/dist/assets/t9n/profile.t9n.vi.json +1 -1
- package/dist/assets/t9n/profile.t9n.zh-CN.json +1 -1
- package/dist/assets/t9n/profile.t9n.zh-HK.json +1 -1
- package/dist/assets/t9n/profile.t9n.zh-TW.json +1 -1
- package/dist/esm/index.d.ts +14 -68
- package/dist/esm/index.js +19 -19
- package/package.json +10 -12
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "دالة",
|
|
31
31
|
"domainvalues": "قيم النطاق",
|
|
32
32
|
"subtypes": "الأنواع الفرعية",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - قيم النطاق للنوع
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - قيم النطاق للنوع \"{typeName}\"",
|
|
34
34
|
"domainvaluesbysubtypes": "قيم النطاق حسب الأنواع الفرعية"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Функция",
|
|
31
31
|
"domainvalues": "Стойности на домейн",
|
|
32
32
|
"subtypes": "Подтипове",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Стойности на домейн за тип
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Стойности на домейн за тип '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Стойности на домейни по подтипове"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funkcija",
|
|
31
31
|
"domainvalues": "Vrijednosti domene",
|
|
32
32
|
"subtypes": "Podtipovi",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Vrijednosti domene za tip
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Vrijednosti domene za tip '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Vrijednosti domene prema podtipovima"
|
|
35
35
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"layer": "Capa",
|
|
3
|
-
"featureservice": "Servei d
|
|
3
|
+
"featureservice": "Servei d'entitats",
|
|
4
4
|
"mapservice": "Servei de mapes",
|
|
5
5
|
"map": "Mapa web",
|
|
6
6
|
"webmap": "Mapa web",
|
|
7
7
|
"webscene": "Escena web",
|
|
8
8
|
"webmapformat": "Mapa web: {webMapTitle}",
|
|
9
9
|
"item": "Element",
|
|
10
|
-
"invoking": "S
|
|
10
|
+
"invoking": "S'està invocant",
|
|
11
11
|
"fields": "Noms de camp",
|
|
12
12
|
"values": "Valors",
|
|
13
13
|
"relationships": "Entitats relacionades",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"geometry": "Geometria",
|
|
17
17
|
"dictionary": "Diccionari",
|
|
18
18
|
"feature": "Component",
|
|
19
|
-
"featureset": "Conjunt d
|
|
20
|
-
"featuresetcollection": "Col·lecció de conjunts d
|
|
21
|
-
"oid": "ID de l
|
|
19
|
+
"featureset": "Conjunt d'entitats",
|
|
20
|
+
"featuresetcollection": "Col·lecció de conjunts d'entitats",
|
|
21
|
+
"oid": "ID de l'entitat",
|
|
22
22
|
"number": "Nombre",
|
|
23
23
|
"string": "Cadena",
|
|
24
24
|
"date": "Data",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funció",
|
|
31
31
|
"domainvalues": "Valors de domini",
|
|
32
32
|
"subtypes": "Subtipus",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Valors de domini per al tipus
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Valors de domini per al tipus \"{typeName}\"",
|
|
34
34
|
"domainvaluesbysubtypes": "Valors de domini per subtipus"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funkce",
|
|
31
31
|
"domainvalues": "Hodnoty domény",
|
|
32
32
|
"subtypes": "Podtypy",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} – Hodnoty domény pro typ
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} – Hodnoty domény pro typ '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Hodnoty domény podle podtypu"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funktion",
|
|
31
31
|
"domainvalues": "Domæneværdier",
|
|
32
32
|
"subtypes": "Undertyper",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} – domæneværdier for typen
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} – domæneværdier for typen '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Domæneværdier efter undertyper"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funktion",
|
|
31
31
|
"domainvalues": "Domänenwerte",
|
|
32
32
|
"subtypes": "Subtypes",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName}: Domänenwerte für Typ
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName}: Domänenwerte für Typ \"{typeName}\"",
|
|
34
34
|
"domainvaluesbysubtypes": "Domänenwerte nach Subtypes"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Λειτουργία",
|
|
31
31
|
"domainvalues": "Τιμές τομέα",
|
|
32
32
|
"subtypes": "Υπότυποι:",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Τιμές τομέα για τύπο
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Τιμές τομέα για τύπο ''{typeName}\"",
|
|
34
34
|
"domainvaluesbysubtypes": "Τιμές τομέα κατά υποτύπους"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Función",
|
|
31
31
|
"domainvalues": "Valores del dominio",
|
|
32
32
|
"subtypes": "Subtipos",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Valores de dominio para tipo
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Valores de dominio para tipo '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Valores de dominio por subtipos"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funktsioon",
|
|
31
31
|
"domainvalues": "Domeeni väärtused",
|
|
32
32
|
"subtypes": "Alamtüübid",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} – domeeni väärtused tüübile
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} – domeeni väärtused tüübile '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Domeeni väärtused alamtüüpide kaupa"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Toiminto",
|
|
31
31
|
"domainvalues": "Arvoalueen arvot",
|
|
32
32
|
"subtypes": "Alityypit",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Arvoalueen arvot tyypille
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Arvoalueen arvot tyypille '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Arvoalueen arvot alityypeittäin"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Fonction",
|
|
31
31
|
"domainvalues": "Valeurs de domaine",
|
|
32
32
|
"subtypes": "Sous-types",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Valeurs de domaine pour le type
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Valeurs de domaine pour le type '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Valeurs de domaine par sous-types"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "פונקציה",
|
|
31
31
|
"domainvalues": "ערכי דומיין",
|
|
32
32
|
"subtypes": "סוגי משנה",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - ערכי דומיין עבור סוג
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - ערכי דומיין עבור סוג '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "ערכי דומיין לפי סוגי משנה"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funkcija",
|
|
31
31
|
"domainvalues": "Vrijednosti domene",
|
|
32
32
|
"subtypes": "Podtipovi",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Vrijednosti domene za tip
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Vrijednosti domene za tip '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Vrijednosti domene prema podtipovima"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Fungsi",
|
|
31
31
|
"domainvalues": "Nilai domain",
|
|
32
32
|
"subtypes": "Subjenis",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Nilai domain unntuk jenis
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Nilai domain unntuk jenis '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Nilai domain berdasarkan subjenis"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funzione",
|
|
31
31
|
"domainvalues": "Valori di dominio",
|
|
32
32
|
"subtypes": "Sottotipi",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Valori di dominio per il tipo
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Valori di dominio per il tipo \"{typeName}\"",
|
|
34
34
|
"domainvaluesbysubtypes": "Valori di dominio per sottotipi"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "함수",
|
|
31
31
|
"domainvalues": "도메인 값",
|
|
32
32
|
"subtypes": "서브타입",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} -
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - '{typeName}' 유형에 대한 도메인 값",
|
|
34
34
|
"domainvaluesbysubtypes": "서브타입별 도메인 값"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funksjon",
|
|
31
31
|
"domainvalues": "Domeneverdier",
|
|
32
32
|
"subtypes": "Undertyper",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Domeneverdier for typen
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Domeneverdier for typen ''{typeName}\"",
|
|
34
34
|
"domainvaluesbysubtypes": "Domeneverdier etter undertyper"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Functie",
|
|
31
31
|
"domainvalues": "Domeinwaarden",
|
|
32
32
|
"subtypes": "Subtypen",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName}- Domeinwaarden voor type
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName}- Domeinwaarden voor type '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Domeinwaarden op subtypen"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funkcja",
|
|
31
31
|
"domainvalues": "Wartości domeny",
|
|
32
32
|
"subtypes": "Podtypy",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - wartości domeny dla typu
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - wartości domeny dla typu '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Wartości domeny według podtypów"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Função",
|
|
31
31
|
"domainvalues": "Valores de domínio",
|
|
32
32
|
"subtypes": "Subtipos",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Valores de domínio para tipo
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Valores de domínio para tipo '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Valores de domínio por subtipos"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Função",
|
|
31
31
|
"domainvalues": "Valores de domínio",
|
|
32
32
|
"subtypes": "Subtipos",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Valores de domínio por tipo
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Valores de domínio por tipo '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Valores de domínio por subtipos"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Функция",
|
|
31
31
|
"domainvalues": "Значения домена",
|
|
32
32
|
"subtypes": "Подтипы",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName}- Значения домена для типа
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName}- Значения домена для типа '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Значения домена по подтипам"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funkcia",
|
|
31
31
|
"domainvalues": "Doménové hodnoty",
|
|
32
32
|
"subtypes": "Subtypy",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Doménové hodnoty pre typ
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Doménové hodnoty pre typ '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Doménové hodnoty podľa subtypov"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funkcija",
|
|
31
31
|
"domainvalues": "Vrednosti domen",
|
|
32
32
|
"subtypes": "Podtipi",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Vrednosti domen za tip
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Vrednosti domen za tip '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Vrednosti domen po podtipih"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funkcija",
|
|
31
31
|
"domainvalues": "Vrednosti domena",
|
|
32
32
|
"subtypes": "Podtipovi",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Vrednosti domena za tip
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Vrednosti domena za tip '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Vrednosti domena prema podtipovima"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Funktion",
|
|
31
31
|
"domainvalues": "Domänvärden",
|
|
32
32
|
"subtypes": "Subtyper",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Domänvärden för typen
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Domänvärden för typen \"{typeName}\"",
|
|
34
34
|
"domainvaluesbysubtypes": "Domänvärden efter subtyper"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "ฟังก์ชัน",
|
|
31
31
|
"domainvalues": "ค่าโดเมน",
|
|
32
32
|
"subtypes": "ประเภทย่อย",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - ค่าโดเมนสำหรับประเภท
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - ค่าโดเมนสำหรับประเภท '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "ค่าโดเมนตามประเภทย่อย"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Fonksiyon",
|
|
31
31
|
"domainvalues": "Domain değerleri",
|
|
32
32
|
"subtypes": "Alt türler",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} -
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - '{typeName}' türü için domain değerleri",
|
|
34
34
|
"domainvaluesbysubtypes": "Alt türlere göre domain değerleri"
|
|
35
35
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"layer": "Шар",
|
|
3
|
-
"featureservice": "Сервіс
|
|
3
|
+
"featureservice": "Сервіс об'єктів",
|
|
4
4
|
"mapservice": "Картографічний сервіс",
|
|
5
5
|
"map": "Веб-карта",
|
|
6
6
|
"webmap": "Веб-карта",
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"invoking": "Виклик",
|
|
11
11
|
"fields": "Імена полів",
|
|
12
12
|
"values": "Значення",
|
|
13
|
-
"relationships": "Пов’язані
|
|
13
|
+
"relationships": "Пов’язані об'єкти",
|
|
14
14
|
"layers": "Шари",
|
|
15
15
|
"tables": "Таблиці",
|
|
16
16
|
"geometry": "Геометрія",
|
|
17
17
|
"dictionary": "Словник",
|
|
18
18
|
"feature": "Об’єкт",
|
|
19
|
-
"featureset": "Набір
|
|
19
|
+
"featureset": "Набір об'єктів",
|
|
20
20
|
"featuresetcollection": "Колекція набору об’єктів",
|
|
21
|
-
"oid": "ІД
|
|
21
|
+
"oid": "ІД об'єкта",
|
|
22
22
|
"number": "Номер",
|
|
23
23
|
"string": "Рядок",
|
|
24
24
|
"date": "Дата",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Функція",
|
|
31
31
|
"domainvalues": "Значення домену",
|
|
32
32
|
"subtypes": "Підтипи",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Значення домену для типу
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Значення домену для типу '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Значення домену за підтипами"
|
|
35
35
|
}
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"function": "Hàm",
|
|
31
31
|
"domainvalues": "Giá trị miền",
|
|
32
32
|
"subtypes": "Subtype",
|
|
33
|
-
"domainvaluesfortypeformat": "{fieldName} - Giá trị miền cho loại
|
|
33
|
+
"domainvaluesfortypeformat": "{fieldName} - Giá trị miền cho loại '{typeName}'",
|
|
34
34
|
"domainvaluesbysubtypes": "Giá trị miền theo subtype"
|
|
35
35
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -214,6 +214,17 @@ interface SdkFunction extends SdkItemBase {
|
|
|
214
214
|
*/
|
|
215
215
|
type SdkItem = SdkConstant | SdkFunction | SdkFunction[];
|
|
216
216
|
|
|
217
|
+
/**
|
|
218
|
+
* Represent items stored in the library
|
|
219
|
+
*/
|
|
220
|
+
type ApiItem = SdkConstant | SdkFunction;
|
|
221
|
+
/**
|
|
222
|
+
* Represent a category of api items in the api library
|
|
223
|
+
*/
|
|
224
|
+
interface ApiCategory extends SdkCategory {
|
|
225
|
+
items: ApiItem[];
|
|
226
|
+
}
|
|
227
|
+
|
|
217
228
|
/**
|
|
218
229
|
* The editor can be extended with custom snippets
|
|
219
230
|
*/
|
|
@@ -318,69 +329,11 @@ interface ApiValueVariable extends ApiVariableBase {
|
|
|
318
329
|
*/
|
|
319
330
|
type ApiVariable = ApiDictionaryVariable | ApiValueVariable;
|
|
320
331
|
|
|
321
|
-
/**
|
|
322
|
-
* Represent items stored in the library
|
|
323
|
-
*/
|
|
324
|
-
type ApiItem = SdkConstant | SdkFunction;
|
|
325
|
-
/**
|
|
326
|
-
* Represent a category of api items in the api library
|
|
327
|
-
*/
|
|
328
|
-
interface ApiCategory extends SdkCategory {
|
|
329
|
-
items: ApiItem[];
|
|
330
|
-
}
|
|
331
|
-
|
|
332
332
|
/**
|
|
333
333
|
* Language service settings
|
|
334
334
|
*/
|
|
335
335
|
interface LanguageServiceSettings {
|
|
336
|
-
|
|
337
|
-
* The path to the assets folder where the api files are stored
|
|
338
|
-
*/
|
|
339
|
-
assetsPath?: string;
|
|
340
|
-
/**
|
|
341
|
-
* A template string for constructing the path to the api definition
|
|
342
|
-
* example: `${assetsPath}/api/arcade-api.t9n.${locale}.json`
|
|
343
|
-
*/
|
|
344
|
-
apiPathTemplate: string;
|
|
345
|
-
/**
|
|
346
|
-
* The language id
|
|
347
|
-
*/
|
|
348
|
-
languageId: string;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
type ApiConstantNamespace = {
|
|
352
|
-
type: "namespace";
|
|
353
|
-
key: string;
|
|
354
|
-
members: SdkConstant[];
|
|
355
|
-
completion: CompletionItem;
|
|
356
|
-
};
|
|
357
|
-
type ApiConstantDefinition = SdkConstant | ApiConstantNamespace;
|
|
358
|
-
type ApiFunctionDefinition = {
|
|
359
|
-
type: "functionDefinition";
|
|
360
|
-
key: string;
|
|
361
|
-
overloads: SdkFunction[];
|
|
362
|
-
};
|
|
363
|
-
/**
|
|
364
|
-
* Describes the API properties
|
|
365
|
-
*/
|
|
366
|
-
interface ApiDatabase {
|
|
367
|
-
categories: ApiCategory[];
|
|
368
|
-
functionDefinitions: Map<string, ApiFunctionDefinition>;
|
|
369
|
-
constantDefinitions: Map<string, ApiConstantDefinition>;
|
|
370
|
-
}
|
|
371
|
-
declare class ApiService<TApiContext extends ApiContext = ApiContext> {
|
|
372
|
-
private _settings;
|
|
373
|
-
private sdkCategoriesCache;
|
|
374
|
-
constructor(_settings: LanguageServiceSettings);
|
|
375
|
-
/**
|
|
376
|
-
* Returns the API defintions for the given settings: definitions, constant definitions, and function definitons
|
|
377
|
-
*/
|
|
378
|
-
getApiDatabase(context: TApiContext): Promise<ApiDatabase>;
|
|
379
|
-
/**
|
|
380
|
-
* Returns the API definitions
|
|
381
|
-
*/
|
|
382
|
-
getApiLibrary(context: TApiContext): Promise<ApiCategory[]>;
|
|
383
|
-
private loadSdkApiLibrary;
|
|
336
|
+
getApiLibrary: (locale: string) => Promise<ApiCategory[]>;
|
|
384
337
|
}
|
|
385
338
|
|
|
386
339
|
/**
|
|
@@ -569,11 +522,6 @@ declare const DiagnosticMessages: {
|
|
|
569
522
|
readonly UnknownPropertyIdentifier: "Unknown property identifier '${identifier}'.";
|
|
570
523
|
};
|
|
571
524
|
|
|
572
|
-
type ArcadeLanguageServiceSettings = Pick<LanguageServiceSettings, "assetsPath">;
|
|
573
|
-
declare class ArcadeApiService extends ApiService {
|
|
574
|
-
constructor(settings: ArcadeLanguageServiceSettings);
|
|
575
|
-
}
|
|
576
|
-
|
|
577
525
|
declare function arcadeFormat(document: TextDocument, context?: ArcadeApiContext): TextEdit[];
|
|
578
526
|
/**
|
|
579
527
|
* Format code using options.
|
|
@@ -585,14 +533,12 @@ declare const ArcadeLiterals: ("false" | "null" | "true")[];
|
|
|
585
533
|
declare const ArcadeReservedKeywords: string[];
|
|
586
534
|
|
|
587
535
|
declare class ArcadeLanguageService {
|
|
588
|
-
private languageOptions;
|
|
589
536
|
private apiService;
|
|
590
|
-
configure(
|
|
537
|
+
configure(settings: LanguageServiceSettings): void;
|
|
591
538
|
doValidation(document: TextDocument, context: ArcadeApiContext): Promise<Diagnostic[]>;
|
|
592
539
|
doComplete(document: TextDocument, position: Position, context: ArcadeApiContext): Promise<CompletionList>;
|
|
593
|
-
getApiLibrary(context: ArcadeApiContext): Promise<ApiCategory[]>;
|
|
594
540
|
}
|
|
595
541
|
|
|
596
542
|
type ProfileStrings = typeof ProfileSettingsStrings;
|
|
597
543
|
|
|
598
|
-
export { type ApiCategory, type ApiContext, type ApiItem, type ApiProfile, type ApiSnippet, type ApiValueVariable, type ApiValueVariableType, type ApiVariable, type SdkVariableType as ApiVariableType, type ArcadeApiContext,
|
|
544
|
+
export { type ApiCategory, type ApiContext, type ApiItem, type ApiProfile, type ApiSnippet, type ApiValueVariable, type ApiValueVariableType, type ApiVariable, type SdkVariableType as ApiVariableType, type ArcadeApiContext, ArcadeKeywords, ArcadeLanguageService, ArcadeLiterals, ArcadeReservedKeywords, type BundleType, type Diagnostic, type DiagnosticCodes, type DiagnosticData, DiagnosticMessages, type LanguageServiceSettings, type ProfileId, type ProfileStrings, type SdkPredefinedProfile, ValidationDiagnosticCodes, arcadeFormat, format };
|