Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:sparkles: Add database location fields https://github.com/siyuan-note/siyuan/issues/20325

Daniel73fcb65cf14b
diff --git a/app/appearance/langs/ar.json b/app/appearance/langs/ar.json
index 58ba36f9a4..287b4af500 100644
--- a/app/appearance/langs/ar.json
+++ b/app/appearance/langs/ar.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "نظام الإحداثيات الافتراضي للإدخال الجديد",
+ "defaultCoordinateSystemTip": "ينطبق على الإدخال الجديد فقط؛ تحتفظ المواقع الحالية بأنظمة إحداثياتها",
+ "locationPasteInEditor": "الصق أزواج الإحداثيات في محرر الموقع، حيث يُوضَّح ترتيب خط العرض ثم خط الطول ونظام الإحداثيات",
+ "location": "الموقع",
+ "locationName": "الاسم (اختياري)",
+ "latitude": "خط العرض",
+ "longitude": "خط الطول",
+ "coordinateSystem": "نظام الإحداثيات",
+ "coordinateSystemUnknown": "غير معروف",
+ "pasteCoordinates": "لصق الإحداثيات",
+ "coordinateOrderTip": "إحداثيات عشرية بترتيب خط العرض ثم خط الطول؛ لا يتم تبديل الترتيب تلقائيًا",
+ "invalidCoordinates": "أدخل خط عرض محدودًا من -90 إلى 90 وخط طول من -180 إلى 180، أو اترك كليهما فارغًا",
+ "invalidCoordinateSystem": "اختر نظام إحداثيات مدعومًا",
+ "coordinateSystemTip": "تغيير تسمية نظام الإحداثيات لا يحوّل الإحداثيات",
"pageScrollUp": "الشاشة السابقة",
"pageScrollDown": "الشاشة التالية",
"showPageScrollButtons": "إظهار أزرار التمرير بملء الشاشة",
diff --git a/app/appearance/langs/de.json b/app/appearance/langs/de.json
index 994899a4fc..b7b755e378 100644
--- a/app/appearance/langs/de.json
+++ b/app/appearance/langs/de.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Standardkoordinatensystem für neue Eingaben",
+ "defaultCoordinateSystemTip": "Gilt nur für neue Eingaben; vorhandene Standorte behalten ihr Koordinatensystem",
+ "locationPasteInEditor": "Koordinatenpaare im Standorteditor einfügen, wo die Reihenfolge Breitengrad, Längengrad und das Koordinatensystem ausdrücklich angegeben sind",
+ "location": "Standort",
+ "locationName": "Name (optional)",
+ "latitude": "Breitengrad",
+ "longitude": "Längengrad",
+ "coordinateSystem": "Koordinatensystem",
+ "coordinateSystemUnknown": "Unbekannt",
+ "pasteCoordinates": "Koordinaten einfügen",
+ "coordinateOrderTip": "Dezimalgrad in der Reihenfolge Breitengrad, Längengrad; die Reihenfolge wird nie vertauscht",
+ "invalidCoordinates": "Endlichen Breitengrad von -90 bis 90 und Längengrad von -180 bis 180 eingeben oder beide leer lassen",
+ "invalidCoordinateSystem": "Ein unterstütztes Koordinatensystem auswählen",
+ "coordinateSystemTip": "Das Ändern der Koordinatensystembezeichnung rechnet die Koordinaten nicht um",
"pageScrollUp": "Vorheriger Bildschirm",
"pageScrollDown": "Nächster Bildschirm",
"showPageScrollButtons": "Schaltflächen zum seitenweisen Scrollen anzeigen",
diff --git a/app/appearance/langs/en.json b/app/appearance/langs/en.json
index a3c82b4341..47bc5d43ac 100644
--- a/app/appearance/langs/en.json
+++ b/app/appearance/langs/en.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Default coordinate system for new input",
+ "defaultCoordinateSystemTip": "Applies only to new input; existing locations keep their coordinate systems",
+ "locationPasteInEditor": "Paste coordinate pairs in the location editor, where latitude, longitude order and the coordinate system are explicit",
+ "location": "Location",
+ "locationName": "Name (optional)",
+ "latitude": "Latitude",
+ "longitude": "Longitude",
+ "coordinateSystem": "Coordinate system",
+ "coordinateSystemUnknown": "Unknown",
+ "pasteCoordinates": "Paste coordinates",
+ "coordinateOrderTip": "Decimal coordinates in latitude, longitude order; coordinates are never swapped",
+ "invalidCoordinates": "Enter a finite latitude from -90 to 90 and longitude from -180 to 180, or leave both empty",
+ "invalidCoordinateSystem": "Choose a supported coordinate system",
+ "coordinateSystemTip": "Changing the coordinate system label does not convert coordinates",
"pageScrollUp": "Previous screen",
"pageScrollDown": "Next screen",
"showPageScrollButtons": "Show page scroll buttons",
diff --git a/app/appearance/langs/es.json b/app/appearance/langs/es.json
index d2180b500a..1c8b7d838e 100644
--- a/app/appearance/langs/es.json
+++ b/app/appearance/langs/es.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Sistema de coordenadas predeterminado para nuevas entradas",
+ "defaultCoordinateSystemTip": "Solo se aplica a nuevas entradas; las ubicaciones existentes conservan su sistema de coordenadas",
+ "locationPasteInEditor": "Pega los pares de coordenadas en el editor de ubicación, donde se indican el orden latitud, longitud y el sistema de coordenadas",
+ "location": "Ubicación",
+ "locationName": "Nombre (opcional)",
+ "latitude": "Latitud",
+ "longitude": "Longitud",
+ "coordinateSystem": "Sistema de coordenadas",
+ "coordinateSystemUnknown": "Desconocido",
+ "pasteCoordinates": "Pegar coordenadas",
+ "coordinateOrderTip": "Coordenadas decimales en orden latitud, longitud; nunca se intercambia el orden",
+ "invalidCoordinates": "Introduce una latitud finita entre -90 y 90 y una longitud entre -180 y 180, o deja ambas vacías",
+ "invalidCoordinateSystem": "Elige un sistema de coordenadas compatible",
+ "coordinateSystemTip": "Cambiar la etiqueta del sistema de coordenadas no convierte las coordenadas",
"pageScrollUp": "Pantalla anterior",
"pageScrollDown": "Pantalla siguiente",
"showPageScrollButtons": "Mostrar botones de desplazamiento por pantalla",
diff --git a/app/appearance/langs/fr.json b/app/appearance/langs/fr.json
index 6d0fdd3939..be7fed72c9 100644
--- a/app/appearance/langs/fr.json
+++ b/app/appearance/langs/fr.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Système de coordonnées par défaut des nouvelles saisies",
+ "defaultCoordinateSystemTip": "S’applique uniquement aux nouvelles saisies ; les lieux existants conservent leur système de coordonnées",
+ "locationPasteInEditor": "Collez les paires de coordonnées dans l’éditeur de lieu, où l’ordre latitude, longitude et le système de coordonnées sont précisés",
+ "location": "Lieu",
+ "locationName": "Nom (facultatif)",
+ "latitude": "Latitude",
+ "longitude": "Longitude",
+ "coordinateSystem": "Système de coordonnées",
+ "coordinateSystemUnknown": "Inconnu",
+ "pasteCoordinates": "Coller les coordonnées",
+ "coordinateOrderTip": "Coordonnées décimales dans l’ordre latitude, longitude ; cet ordre n’est jamais inversé",
+ "invalidCoordinates": "Saisissez une latitude finie entre -90 et 90 et une longitude entre -180 et 180, ou laissez les deux vides",
+ "invalidCoordinateSystem": "Choisissez un système de coordonnées pris en charge",
+ "coordinateSystemTip": "Changer l’étiquette du système de coordonnées ne convertit pas les coordonnées",
"pageScrollUp": "Écran précédent",
"pageScrollDown": "Écran suivant",
"showPageScrollButtons": "Afficher les boutons de défilement par écran",
diff --git a/app/appearance/langs/he.json b/app/appearance/langs/he.json
index db37844e72..8c8599e75b 100644
--- a/app/appearance/langs/he.json
+++ b/app/appearance/langs/he.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "מערכת קואורדינטות כברירת מחדל לקלט חדש",
+ "defaultCoordinateSystemTip": "חל רק על קלט חדש; מיקומים קיימים שומרים על מערכת הקואורדינטות שלהם",
+ "locationPasteInEditor": "יש להדביק זוגות קואורדינטות בעורך המיקום, שבו סדר קו הרוחב וקו האורך ומערכת הקואורדינטות מצוינים במפורש",
+ "location": "מיקום",
+ "locationName": "שם (רשות)",
+ "latitude": "קו רוחב",
+ "longitude": "קו אורך",
+ "coordinateSystem": "מערכת קואורדינטות",
+ "coordinateSystemUnknown": "לא ידועה",
+ "pasteCoordinates": "הדבקת קואורדינטות",
+ "coordinateOrderTip": "קואורדינטות עשרוניות בסדר קו רוחב, קו אורך; הסדר לעולם לא מוחלף אוטומטית",
+ "invalidCoordinates": "יש להזין קו רוחב סופי בין ‎-90 ל-90 וקו אורך בין ‎-180 ל-180, או להשאיר את שניהם ריקים",
+ "invalidCoordinateSystem": "יש לבחור מערכת קואורדינטות נתמכת",
+ "coordinateSystemTip": "שינוי תווית מערכת הקואורדינטות אינו ממיר את הקואורדינטות",
"pageScrollUp": "המסך הקודם",
"pageScrollDown": "המסך הבא",
"showPageScrollButtons": "הצגת כפתורי גלילה לפי מסך",
diff --git a/app/appearance/langs/hi.json b/app/appearance/langs/hi.json
index 3939848fe9..a0f924a130 100644
--- a/app/appearance/langs/hi.json
+++ b/app/appearance/langs/hi.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "नए इनपुट के लिए डिफ़ॉल्ट निर्देशांक प्रणाली",
+ "defaultCoordinateSystemTip": "केवल नए इनपुट पर लागू होता है; मौजूदा स्थान अपनी निर्देशांक प्रणाली बनाए रखते हैं",
+ "locationPasteInEditor": "निर्देशांक जोड़े स्थान संपादक में पेस्ट करें, जहाँ अक्षांश, देशांतर का क्रम और निर्देशांक प्रणाली स्पष्ट हैं",
+ "location": "स्थान",
+ "locationName": "नाम (वैकल्पिक)",
+ "latitude": "अक्षांश",
+ "longitude": "देशांतर",
+ "coordinateSystem": "निर्देशांक प्रणाली",
+ "coordinateSystemUnknown": "अज्ञात",
+ "pasteCoordinates": "निर्देशांक पेस्ट करें",
+ "coordinateOrderTip": "दशमलव निर्देशांक अक्षांश, देशांतर के क्रम में दें; क्रम कभी अपने आप नहीं बदलेगा",
+ "invalidCoordinates": "-90 से 90 तक सीमित अक्षांश और -180 से 180 तक सीमित देशांतर दर्ज करें, या दोनों खाली छोड़ें",
+ "invalidCoordinateSystem": "समर्थित निर्देशांक प्रणाली चुनें",
+ "coordinateSystemTip": "निर्देशांक प्रणाली का लेबल बदलने से निर्देशांक परिवर्तित नहीं होते",
"pageScrollUp": "पिछली स्क्रीन",
"pageScrollDown": "अगली स्क्रीन",
"showPageScrollButtons": "एक स्क्रीन स्क्रॉल करने के बटन दिखाएँ",
diff --git a/app/appearance/langs/id.json b/app/appearance/langs/id.json
index a25971625a..d391156267 100644
--- a/app/appearance/langs/id.json
+++ b/app/appearance/langs/id.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Sistem koordinat bawaan untuk masukan baru",
+ "defaultCoordinateSystemTip": "Hanya berlaku untuk masukan baru; lokasi yang ada mempertahankan sistem koordinatnya",
+ "locationPasteInEditor": "Tempel pasangan koordinat di editor lokasi, tempat urutan lintang, bujur dan sistem koordinat ditentukan dengan jelas",
+ "location": "Lokasi",
+ "locationName": "Nama (opsional)",
+ "latitude": "Lintang",
+ "longitude": "Bujur",
+ "coordinateSystem": "Sistem koordinat",
+ "coordinateSystemUnknown": "Tidak diketahui",
+ "pasteCoordinates": "Tempel koordinat",
+ "coordinateOrderTip": "Koordinat desimal dalam urutan lintang, bujur; urutan tidak pernah ditukar otomatis",
+ "invalidCoordinates": "Masukkan lintang terhingga dari -90 hingga 90 dan bujur dari -180 hingga 180, atau kosongkan keduanya",
+ "invalidCoordinateSystem": "Pilih sistem koordinat yang didukung",
+ "coordinateSystemTip": "Mengubah label sistem koordinat tidak mengonversi koordinat",
"pageScrollUp": "Layar sebelumnya",
"pageScrollDown": "Layar berikutnya",
"showPageScrollButtons": "Tampilkan tombol gulir per layar",
diff --git a/app/appearance/langs/it.json b/app/appearance/langs/it.json
index f56dd0949f..df9a8651f1 100644
--- a/app/appearance/langs/it.json
+++ b/app/appearance/langs/it.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Sistema di coordinate predefinito per nuovi inserimenti",
+ "defaultCoordinateSystemTip": "Si applica solo ai nuovi inserimenti; le posizioni esistenti mantengono il proprio sistema di coordinate",
+ "locationPasteInEditor": "Incolla le coppie di coordinate nell’editor della posizione, dove sono indicati l’ordine latitudine, longitudine e il sistema di coordinate",
+ "location": "Posizione",
+ "locationName": "Nome (facoltativo)",
+ "latitude": "Latitudine",
+ "longitude": "Longitudine",
+ "coordinateSystem": "Sistema di coordinate",
+ "coordinateSystemUnknown": "Sconosciuto",
+ "pasteCoordinates": "Incolla coordinate",
+ "coordinateOrderTip": "Coordinate decimali nell’ordine latitudine, longitudine; l’ordine non viene mai invertito",
+ "invalidCoordinates": "Inserisci una latitudine finita da -90 a 90 e una longitudine da -180 a 180, oppure lascia entrambe vuote",
+ "invalidCoordinateSystem": "Scegli un sistema di coordinate supportato",
+ "coordinateSystemTip": "Cambiare l’etichetta del sistema di coordinate non converte le coordinate",
"pageScrollUp": "Schermata precedente",
"pageScrollDown": "Schermata successiva",
"showPageScrollButtons": "Mostra i pulsanti di scorrimento per schermata",
diff --git a/app/appearance/langs/ja.json b/app/appearance/langs/ja.json
index 79f7c7010a..faa27ed508 100644
--- a/app/appearance/langs/ja.json
+++ b/app/appearance/langs/ja.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "新規入力の既定の座標系",
+ "defaultCoordinateSystemTip": "新規入力にのみ適用され、既存の位置の座標系は変わりません",
+ "locationPasteInEditor": "緯度、経度の順序と座標系を確認できる位置エディターで座標の組を貼り付けてください",
+ "location": "位置",
+ "locationName": "名前(任意)",
+ "latitude": "緯度",
+ "longitude": "経度",
+ "coordinateSystem": "座標系",
+ "coordinateSystemUnknown": "不明",
+ "pasteCoordinates": "座標を貼り付け",
+ "coordinateOrderTip": "緯度、経度の順に十進度で入力します。順序は自動で入れ替わりません",
+ "invalidCoordinates": "緯度は -90 から 90、経度は -180 から 180 の有限値を入力するか、両方を空欄にしてください",
+ "invalidCoordinateSystem": "対応する座標系を選択してください",
+ "coordinateSystemTip": "座標系のラベルを変更しても座標は変換されません",
"pageScrollUp": "前の画面",
"pageScrollDown": "次の画面",
"showPageScrollButtons": "画面単位のスクロールボタンを表示",
diff --git a/app/appearance/langs/ko.json b/app/appearance/langs/ko.json
index ec9cd05a5e..c5714d90b0 100644
--- a/app/appearance/langs/ko.json
+++ b/app/appearance/langs/ko.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "새 입력의 기본 좌표계",
+ "defaultCoordinateSystemTip": "새 입력에만 적용되며 기존 위치는 각자의 좌표계를 유지합니다",
+ "locationPasteInEditor": "위도, 경도 순서와 좌표계가 명확하게 표시된 위치 편집기에 좌표 쌍을 붙여넣으세요",
+ "location": "위치",
+ "locationName": "이름(선택 사항)",
+ "latitude": "위도",
+ "longitude": "경도",
+ "coordinateSystem": "좌표계",
+ "coordinateSystemUnknown": "알 수 없음",
+ "pasteCoordinates": "좌표 붙여넣기",
+ "coordinateOrderTip": "위도, 경도 순서로 십진수 좌표를 입력하며 순서는 자동으로 바뀌지 않습니다",
+ "invalidCoordinates": "위도는 -90~90, 경도는 -180~180 사이의 유한한 값을 입력하거나 둘 다 비워 두세요",
+ "invalidCoordinateSystem": "지원되는 좌표계를 선택하세요",
+ "coordinateSystemTip": "좌표계 표시를 변경해도 좌표는 변환되지 않습니다",
"pageScrollUp": "이전 화면",
"pageScrollDown": "다음 화면",
"showPageScrollButtons": "화면 단위 스크롤 버튼 표시",
diff --git a/app/appearance/langs/nl.json b/app/appearance/langs/nl.json
index 572a0511be..04f2bcb5e6 100644
--- a/app/appearance/langs/nl.json
+++ b/app/appearance/langs/nl.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Standaardcoördinatenstelsel voor nieuwe invoer",
+ "defaultCoordinateSystemTip": "Geldt alleen voor nieuwe invoer; bestaande locaties behouden hun coördinatenstelsel",
+ "locationPasteInEditor": "Plak coördinatenparen in de locatie-editor, waar de volgorde breedtegraad, lengtegraad en het coördinatenstelsel expliciet zijn aangegeven",
+ "location": "Locatie",
+ "locationName": "Naam (optioneel)",
+ "latitude": "Breedtegraad",
+ "longitude": "Lengtegraad",
+ "coordinateSystem": "Coördinatenstelsel",
+ "coordinateSystemUnknown": "Onbekend",
+ "pasteCoordinates": "Coördinaten plakken",
+ "coordinateOrderTip": "Decimale coördinaten in de volgorde breedtegraad, lengtegraad; de volgorde wordt nooit omgewisseld",
+ "invalidCoordinates": "Voer een eindige breedtegraad van -90 tot 90 en lengtegraad van -180 tot 180 in, of laat beide leeg",
+ "invalidCoordinateSystem": "Kies een ondersteund coördinatenstelsel",
+ "coordinateSystemTip": "Het wijzigen van het label van het coördinatenstelsel converteert de coördinaten niet",
"pageScrollUp": "Vorig scherm",
"pageScrollDown": "Volgend scherm",
"showPageScrollButtons": "Knoppen voor scrollen per scherm tonen",
diff --git a/app/appearance/langs/pl.json b/app/appearance/langs/pl.json
index 4fd7ab654e..69028c9d65 100644
--- a/app/appearance/langs/pl.json
+++ b/app/appearance/langs/pl.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Domyślny układ współrzędnych dla nowych wpisów",
+ "defaultCoordinateSystemTip": "Dotyczy tylko nowych wpisów; istniejące lokalizacje zachowują swoje układy współrzędnych",
+ "locationPasteInEditor": "Wklej pary współrzędnych w edytorze lokalizacji, w którym określono kolejność szerokość, długość geograficzna oraz układ współrzędnych",
+ "location": "Lokalizacja",
+ "locationName": "Nazwa (opcjonalna)",
+ "latitude": "Szerokość geograficzna",
+ "longitude": "Długość geograficzna",
+ "coordinateSystem": "Układ współrzędnych",
+ "coordinateSystemUnknown": "Nieznany",
+ "pasteCoordinates": "Wklej współrzędne",
+ "coordinateOrderTip": "Współrzędne dziesiętne w kolejności szerokość, długość geograficzna; kolejność nie jest automatycznie zamieniana",
+ "invalidCoordinates": "Podaj skończoną szerokość od -90 do 90 i długość od -180 do 180 lub pozostaw oba pola puste",
+ "invalidCoordinateSystem": "Wybierz obsługiwany układ współrzędnych",
+ "coordinateSystemTip": "Zmiana etykiety układu współrzędnych nie przelicza współrzędnych",
"pageScrollUp": "Poprzedni ekran",
"pageScrollDown": "Następny ekran",
"showPageScrollButtons": "Pokaż przyciski przewijania o jeden ekran",
diff --git a/app/appearance/langs/pt-BR.json b/app/appearance/langs/pt-BR.json
index 31293a6e66..3637476ed7 100644
--- a/app/appearance/langs/pt-BR.json
+++ b/app/appearance/langs/pt-BR.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Sistema de coordenadas padrão para novas entradas",
+ "defaultCoordinateSystemTip": "Aplica-se apenas a novas entradas; as localizações existentes mantêm seus sistemas de coordenadas",
+ "locationPasteInEditor": "Cole os pares de coordenadas no editor de localização, onde a ordem latitude, longitude e o sistema de coordenadas são explícitos",
+ "location": "Localização",
+ "locationName": "Nome (opcional)",
+ "latitude": "Latitude",
+ "longitude": "Longitude",
+ "coordinateSystem": "Sistema de coordenadas",
+ "coordinateSystemUnknown": "Desconhecido",
+ "pasteCoordinates": "Colar coordenadas",
+ "coordinateOrderTip": "Coordenadas decimais na ordem latitude, longitude; a ordem nunca é invertida",
+ "invalidCoordinates": "Insira uma latitude finita de -90 a 90 e uma longitude de -180 a 180, ou deixe ambas vazias",
+ "invalidCoordinateSystem": "Escolha um sistema de coordenadas compatível",
+ "coordinateSystemTip": "Alterar o rótulo do sistema de coordenadas não converte as coordenadas",
"pageScrollUp": "Tela anterior",
"pageScrollDown": "Próxima tela",
"showPageScrollButtons": "Mostrar botões de rolagem por tela",
diff --git a/app/appearance/langs/ru.json b/app/appearance/langs/ru.json
index 8e2b37530c..e5aa95d34b 100644
--- a/app/appearance/langs/ru.json
+++ b/app/appearance/langs/ru.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Система координат по умолчанию для новых данных",
+ "defaultCoordinateSystemTip": "Применяется только к новым данным; существующие местоположения сохраняют свои системы координат",
+ "locationPasteInEditor": "Вставляйте пары координат в редакторе местоположения, где явно указаны порядок широта, долгота и система координат",
+ "location": "Местоположение",
+ "locationName": "Название (необязательно)",
+ "latitude": "Широта",
+ "longitude": "Долгота",
+ "coordinateSystem": "Система координат",
+ "coordinateSystemUnknown": "Неизвестна",
+ "pasteCoordinates": "Вставить координаты",
+ "coordinateOrderTip": "Десятичные координаты в порядке широта, долгота; порядок никогда не меняется автоматически",
+ "invalidCoordinates": "Введите конечную широту от -90 до 90 и долготу от -180 до 180 или оставьте оба поля пустыми",
+ "invalidCoordinateSystem": "Выберите поддерживаемую систему координат",
+ "coordinateSystemTip": "Изменение метки системы координат не преобразует координаты",
"pageScrollUp": "Предыдущий экран",
"pageScrollDown": "Следующий экран",
"showPageScrollButtons": "Показывать кнопки прокрутки на один экран",
diff --git a/app/appearance/langs/sk.json b/app/appearance/langs/sk.json
index 8b8a3ec126..a25c0225eb 100644
--- a/app/appearance/langs/sk.json
+++ b/app/appearance/langs/sk.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Predvolený súradnicový systém pre nové údaje",
+ "defaultCoordinateSystemTip": "Platí iba pre nové údaje; existujúce polohy si zachovajú svoj súradnicový systém",
+ "locationPasteInEditor": "Dvojice súradníc vkladajte v editore polohy, kde je uvedené poradie šírka, dĺžka a súradnicový systém",
+ "location": "Poloha",
+ "locationName": "Názov (voliteľný)",
+ "latitude": "Zemepisná šírka",
+ "longitude": "Zemepisná dĺžka",
+ "coordinateSystem": "Súradnicový systém",
+ "coordinateSystemUnknown": "Neznámy",
+ "pasteCoordinates": "Vložiť súradnice",
+ "coordinateOrderTip": "Desatinné súradnice v poradí šírka, dĺžka; poradie sa nikdy automaticky nevymieňa",
+ "invalidCoordinates": "Zadajte konečnú šírku od -90 do 90 a dĺžku od -180 do 180 alebo nechajte obe polia prázdne",
+ "invalidCoordinateSystem": "Vyberte podporovaný súradnicový systém",
+ "coordinateSystemTip": "Zmena označenia súradnicového systému neprepočíta súradnice",
"pageScrollUp": "Predchádzajúca obrazovka",
"pageScrollDown": "Nasledujúca obrazovka",
"showPageScrollButtons": "Zobraziť tlačidlá posúvania o jednu obrazovku",
diff --git a/app/appearance/langs/sr.json b/app/appearance/langs/sr.json
index cb361eb8d4..3f28f514b1 100644
--- a/app/appearance/langs/sr.json
+++ b/app/appearance/langs/sr.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Подразумевани координатни систем за нове уносе",
+ "defaultCoordinateSystemTip": "Примењује се само на нове уносе; постојеће локације задржавају своје координатне системе",
+ "locationPasteInEditor": "Налепите парове координата у уређивачу локације, где су јасно наведени редослед ширина, дужина и координатни систем",
+ "location": "Локација",
+ "locationName": "Назив (опционо)",
+ "latitude": "Географска ширина",
+ "longitude": "Географска дужина",
+ "coordinateSystem": "Координатни систем",
+ "coordinateSystemUnknown": "Непознат",
+ "pasteCoordinates": "Налепи координате",
+ "coordinateOrderTip": "Децималне координате редом ширина, дужина; редослед се никада аутоматски не мења",
+ "invalidCoordinates": "Унесите коначну ширину од -90 до 90 и дужину од -180 до 180 или оставите оба поља празна",
+ "invalidCoordinateSystem": "Изаберите подржани координатни систем",
+ "coordinateSystemTip": "Промена ознаке координатног система не претвара координате",
"pageScrollUp": "Претходни екран",
"pageScrollDown": "Следећи екран",
"showPageScrollButtons": "Прикажи дугмад за померање за један екран",
diff --git a/app/appearance/langs/th.json b/app/appearance/langs/th.json
index 0166a8ce5f..43e5e3976c 100644
--- a/app/appearance/langs/th.json
+++ b/app/appearance/langs/th.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "ระบบพิกัดเริ่มต้นสำหรับข้อมูลใหม่",
+ "defaultCoordinateSystemTip": "ใช้กับข้อมูลใหม่เท่านั้น ตำแหน่งเดิมจะคงระบบพิกัดของตนไว้",
+ "locationPasteInEditor": "วางคู่พิกัดในตัวแก้ไขตำแหน่ง ซึ่งระบุลำดับละติจูด ลองจิจูด และระบบพิกัดไว้อย่างชัดเจน",
+ "location": "ตำแหน่ง",
+ "locationName": "ชื่อ (ไม่บังคับ)",
+ "latitude": "ละติจูด",
+ "longitude": "ลองจิจูด",
+ "coordinateSystem": "ระบบพิกัด",
+ "coordinateSystemUnknown": "ไม่ทราบ",
+ "pasteCoordinates": "วางพิกัด",
+ "coordinateOrderTip": "พิกัดทศนิยมเรียงตามละติจูด ลองจิจูด โดยจะไม่สลับลำดับอัตโนมัติ",
+ "invalidCoordinates": "ป้อนละติจูดที่เป็นจำนวนจำกัดตั้งแต่ -90 ถึง 90 และลองจิจูดตั้งแต่ -180 ถึง 180 หรือเว้นว่างทั้งคู่",
+ "invalidCoordinateSystem": "เลือกระบบพิกัดที่รองรับ",
+ "coordinateSystemTip": "การเปลี่ยนป้ายกำกับระบบพิกัดจะไม่แปลงพิกัด",
"pageScrollUp": "หน้าจอก่อนหน้า",
"pageScrollDown": "หน้าจอถัดไป",
"showPageScrollButtons": "แสดงปุ่มเลื่อนทีละหน้าจอ",
diff --git a/app/appearance/langs/tr.json b/app/appearance/langs/tr.json
index 6503e0af51..8652e30b60 100644
--- a/app/appearance/langs/tr.json
+++ b/app/appearance/langs/tr.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Yeni girişler için varsayılan koordinat sistemi",
+ "defaultCoordinateSystemTip": "Yalnızca yeni girişlere uygulanır; mevcut konumlar kendi koordinat sistemlerini korur",
+ "locationPasteInEditor": "Koordinat çiftlerini enlem, boylam sırasının ve koordinat sisteminin açıkça belirtildiği konum düzenleyicisine yapıştırın",
+ "location": "Konum",
+ "locationName": "Ad (isteğe bağlı)",
+ "latitude": "Enlem",
+ "longitude": "Boylam",
+ "coordinateSystem": "Koordinat sistemi",
+ "coordinateSystemUnknown": "Bilinmiyor",
+ "pasteCoordinates": "Koordinatları yapıştır",
+ "coordinateOrderTip": "Enlem, boylam sırasında ondalık koordinatlar; sıra hiçbir zaman otomatik değiştirilmez",
+ "invalidCoordinates": "-90 ile 90 arasında sonlu bir enlem ve -180 ile 180 arasında bir boylam girin veya ikisini de boş bırakın",
+ "invalidCoordinateSystem": "Desteklenen bir koordinat sistemi seçin",
+ "coordinateSystemTip": "Koordinat sistemi etiketini değiştirmek koordinatları dönüştürmez",
"pageScrollUp": "Önceki ekran",
"pageScrollDown": "Sonraki ekran",
"showPageScrollButtons": "Ekranlık kaydırma düğmelerini göster",
diff --git a/app/appearance/langs/uk.json b/app/appearance/langs/uk.json
index b9a0ccb572..1016e9ebb9 100644
--- a/app/appearance/langs/uk.json
+++ b/app/appearance/langs/uk.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "Типова система координат для нових даних",
+ "defaultCoordinateSystemTip": "Застосовується лише до нових даних; наявні розташування зберігають свої системи координат",
+ "locationPasteInEditor": "Вставляйте пари координат у редакторі розташування, де явно вказано порядок широта, довгота та систему координат",
+ "location": "Розташування",
+ "locationName": "Назва (необов’язково)",
+ "latitude": "Широта",
+ "longitude": "Довгота",
+ "coordinateSystem": "Система координат",
+ "coordinateSystemUnknown": "Невідома",
+ "pasteCoordinates": "Вставити координати",
+ "coordinateOrderTip": "Десяткові координати в порядку широта, довгота; порядок ніколи не змінюється автоматично",
+ "invalidCoordinates": "Введіть скінченну широту від -90 до 90 і довготу від -180 до 180 або залиште обидва поля порожніми",
+ "invalidCoordinateSystem": "Виберіть підтримувану систему координат",
+ "coordinateSystemTip": "Зміна позначки системи координат не перетворює координати",
"pageScrollUp": "Попередній екран",
"pageScrollDown": "Наступний екран",
"showPageScrollButtons": "Показувати кнопки прокручування на один екран",
diff --git a/app/appearance/langs/zh-CN.json b/app/appearance/langs/zh-CN.json
index da7589e9c1..ae8a294cd6 100644
--- a/app/appearance/langs/zh-CN.json
+++ b/app/appearance/langs/zh-CN.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "新录入默认坐标系",
+ "defaultCoordinateSystemTip": "仅影响新录入,已有位置保留各自的坐标系",
+ "locationPasteInEditor": "请在位置编辑器中粘贴坐标对,明确纬度、经度顺序和坐标系",
+ "location": "位置",
+ "locationName": "名称(可选)",
+ "latitude": "纬度",
+ "longitude": "经度",
+ "coordinateSystem": "坐标系",
+ "coordinateSystemUnknown": "未知",
+ "pasteCoordinates": "粘贴坐标",
+ "coordinateOrderTip": "按纬度、经度顺序输入十进制度坐标,不会自动交换顺序",
+ "invalidCoordinates": "请输入 -90 至 90 的有限纬度和 -180 至 180 的有限经度,或同时留空",
+ "invalidCoordinateSystem": "请选择支持的坐标系",
+ "coordinateSystemTip": "更改坐标系标签不会转换坐标",
"pageScrollUp": "上一屏",
"pageScrollDown": "下一屏",
"showPageScrollButtons": "显示翻屏按钮",
diff --git a/app/appearance/langs/zh-TW.json b/app/appearance/langs/zh-TW.json
index 11738a1189..42f6075bf2 100644
--- a/app/appearance/langs/zh-TW.json
+++ b/app/appearance/langs/zh-TW.json
@@ -1,4 +1,18 @@
{
+ "defaultCoordinateSystem": "新輸入預設座標系",
+ "defaultCoordinateSystemTip": "僅影響新輸入,既有位置保留各自的座標系",
+ "locationPasteInEditor": "請在位置編輯器中貼上座標對,明確緯度、經度順序和座標系",
+ "location": "位置",
+ "locationName": "名稱(選填)",
+ "latitude": "緯度",
+ "longitude": "經度",
+ "coordinateSystem": "座標系",
+ "coordinateSystemUnknown": "未知",
+ "pasteCoordinates": "貼上座標",
+ "coordinateOrderTip": "依緯度、經度順序輸入十進位度數座標,不會自動交換順序",
+ "invalidCoordinates": "請輸入 -90 至 90 的有限緯度和 -180 至 180 的有限經度,或同時留空",
+ "invalidCoordinateSystem": "請選擇支援的座標系",
+ "coordinateSystemTip": "變更座標系標籤不會轉換座標",
"pageScrollUp": "上一屏",
"pageScrollDown": "下一屏",
"showPageScrollButtons": "顯示翻屏按鈕",
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na.sy
index 2a1db27c82..9a013f425e 100644
--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na.sy
+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20240208172514-9dsv6na.sy
@@ -7,7 +7,7 @@
"id": "20240208172514-9dsv6na",
"title": "Database",
"type": "doc",
- "updated": "20261007101857"
+ "updated": "20261009040533"
},
"Children": [
{
@@ -68,6 +68,94 @@
}
]
},
+ {
+ "ID": "20261009034010-6kd9rk5",
+ "Type": "NodeHeading",
+ "HeadingLevel": 2,
+ "Properties": {
+ "id": "20261009034010-6kd9rk5",
+ "updated": "20261009040533"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "Location field"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-0yhiv8g",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-0yhiv8g",
+ "updated": "20261009035322"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "Add a field of type Location, then click a cell to edit its name and coordinates. The name is optional. Enter both latitude and longitude in decimal degrees. Latitude ranges from -90 to 90 and longitude from -180 to 180; zero is a valid value. Leave both coordinates blank to save only a name. In the field settings, Default coordinate system for new input only presets new input; existing locations, including Unknown, stay unchanged, each value can choose its own coordinate system, and copied or imported locations retain their saved coordinate system."
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-h9vridq",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-h9vridq",
+ "updated": "20261009034224"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "To import coordinates, enter a pair such as 39.9042, 116.4074 in Paste coordinates and click Confirm. The order is latitude, longitude; SiYuan never swaps the values. Choose Unknown, WGS84, GCJ-02, or BD-09 for the coordinate system; this label does not convert coordinates. Imported text is retained unchanged as source metadata. Manually changing the coordinates or coordinate system clears that source text."
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-dub50kq",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-dub50kq",
+ "updated": "20261009040533"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "Click Save to apply edits or Cancel to discard them. Clear removes the location value. Text filters and sorting use the combined name, coordinates, and coordinate-system label. This field does not load maps or contact external location services."
+ },
+ {
+ "Type": "NodeText",
+ "Data": " Press "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Ctrl+Enter"
+ },
+ {
+ "Type": "NodeText",
+ "Data": " ("
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Cmd+Enter"
+ },
+ {
+ "Type": "NodeText",
+ "Data": " on macOS) to save, or "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Esc"
+ },
+ {
+ "Type": "NodeText",
+ "Data": " to cancel. Update SiYuan to a compatible version on every device before using a database with Location fields; older kernels cannot open these databases."
+ }
+ ]
+ },
{
"ID": "20260929105001-jav2qb7",
"Type": "NodeHeading",
diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq.sy
index b2d4a22d1c..8acab904b4 100644
--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq.sy
+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20240208113259-nykkvaq.sy
@@ -7,7 +7,7 @@
"id": "20240208113259-nykkvaq",
"title": "数据库",
"type": "doc",
- "updated": "20261007101857"
+ "updated": "20261009040533"
},
"Children": [
{
@@ -68,6 +68,94 @@
}
]
},
+ {
+ "ID": "20261009034010-m7nwg3o",
+ "Type": "NodeHeading",
+ "HeadingLevel": 2,
+ "Properties": {
+ "id": "20261009034010-m7nwg3o",
+ "updated": "20261009040533"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "位置字段"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-8ihp92l",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-8ihp92l",
+ "updated": "20261009035322"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "添加类型为「位置」的字段后,点击单元格编辑名称和坐标。名称可留空。纬度和经度须成对填写,使用十进制度数。纬度范围为 -90 到 90,经度范围为 -180 到 180,零是有效值。将两个坐标都留空时,可仅保存名称。字段设置中的「新录入默认坐标系」仅用于新录入的位置;已有位置(包括「未知」)保持不变,每个值仍可单独选择坐标系,复制或导入的位置保留其已保存的坐标系。"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-grvs8hv",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-grvs8hv",
+ "updated": "20261009034224"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "导入坐标时,在「粘贴坐标」中输入 39.9042, 116.4074 这样的坐标对,再点击「确定」。顺序为纬度、经度,思源不会自动交换两者。坐标系可选择「未知」、WGS84、GCJ-02 或 BD-09;此标记不进行坐标转换。导入的原始文本会原样保留为来源信息,手动修改坐标或坐标系会清除该来源文本。"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-kag8uox",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-kag8uox",
+ "updated": "20261009040533"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "点击「保存」应用修改,点击「取消」放弃修改,「清空」会移除位置值。文本过滤和排序使用名称、坐标及坐标系标记组合后的文本。此字段不加载地图,也不调用外部位置服务。"
+ },
+ {
+ "Type": "NodeText",
+ "Data": "也可按 "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Ctrl+Enter"
+ },
+ {
+ "Type": "NodeText",
+ "Data": "(macOS 上为 "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Cmd+Enter"
+ },
+ {
+ "Type": "NodeText",
+ "Data": ")保存,按 "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Esc"
+ },
+ {
+ "Type": "NodeText",
+ "Data": " 取消。使用包含「位置」字段的数据库前,请将所有设备上的思源更新到兼容版本;旧版内核无法打开此类数据库。"
+ }
+ ]
+ },
{
"ID": "20260929105001-kyrojkr",
"Type": "NodeHeading",
diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno.sy
index f71c6ae8d5..863b288b09 100644
--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno.sy
+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20240208171522-y7dxcno.sy
@@ -7,7 +7,7 @@
"id": "20240208171522-y7dxcno",
"title": "資料庫",
"type": "doc",
- "updated": "20261007101857"
+ "updated": "20261009040533"
},
"Children": [
{
@@ -68,6 +68,94 @@
}
]
},
+ {
+ "ID": "20261009034010-5oq6h7a",
+ "Type": "NodeHeading",
+ "HeadingLevel": 2,
+ "Properties": {
+ "id": "20261009034010-5oq6h7a",
+ "updated": "20261009040533"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "位置欄位"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-m2e4n60",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-m2e4n60",
+ "updated": "20261009035322"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "新增類型為「位置」的欄位後,點擊儲存格編輯名稱和座標。名稱可留空。緯度和經度須成對填寫,使用十進位度數。緯度範圍為 -90 到 90,經度範圍為 -180 到 180,零是有效值。將兩個座標都留空時,可僅保存名稱。欄位設定中的「新輸入預設座標系」僅用於新輸入的位置;既有位置(包括「未知」)保持不變,每個值仍可單獨選擇座標系,複製或匯入的位置保留其已保存的座標系。"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-ue87c6m",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-ue87c6m",
+ "updated": "20261009034224"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "匯入座標時,在「貼上座標」中輸入 39.9042, 116.4074 這樣的座標對,再點擊「確定」。順序為緯度、經度,思源不會自動交換兩者。座標系可選擇「未知」、WGS84、GCJ-02 或 BD-09;此標記不進行座標轉換。匯入的原始文字會原樣保留為來源資訊,手動修改座標或座標系會清除該來源文字。"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-g7jsd2p",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-g7jsd2p",
+ "updated": "20261009040533"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "點擊「保存」套用修改,點擊「取消」放棄修改,「清空」會移除位置值。文字過濾和排序使用名稱、座標及座標系標記組合後的文字。此欄位不載入地圖,也不呼叫外部位置服務。"
+ },
+ {
+ "Type": "NodeText",
+ "Data": "也可按 "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Ctrl+Enter"
+ },
+ {
+ "Type": "NodeText",
+ "Data": "(macOS 上為 "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Cmd+Enter"
+ },
+ {
+ "Type": "NodeText",
+ "Data": ")保存,按 "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Esc"
+ },
+ {
+ "Type": "NodeText",
+ "Data": " 取消。使用包含「位置」欄位的資料庫前,請將所有裝置上的思源更新到相容版本;舊版核心無法開啟此類資料庫。"
+ }
+ ]
+ },
{
"ID": "20260929105001-ao0pcy0",
"Type": "NodeHeading",
diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp.sy
index cf68f7bea7..9e3a660d14 100644
--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp.sy
+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-3eaevtp.sy
@@ -8,7 +8,7 @@
"id": "20240530101000-3eaevtp",
"title": "データベース",
"type": "doc",
- "updated": "20261007101857"
+ "updated": "20261009040533"
},
"Children": [
{
@@ -69,6 +69,94 @@
}
]
},
+ {
+ "ID": "20261009034010-6j4iniw",
+ "Type": "NodeHeading",
+ "HeadingLevel": 2,
+ "Properties": {
+ "id": "20261009034010-6j4iniw",
+ "updated": "20261009040533"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "位置フィールド"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-x0x9tob",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-x0x9tob",
+ "updated": "20261009035322"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "「位置」タイプのフィールドを追加し、セルをクリックして名前と座標を編集します。名前は省略できます。緯度と経度は十進数の度数で、必ず両方を指定します。緯度は -90 から 90、経度は -180 から 180 の範囲で、ゼロも有効な値です。両方の座標を空欄にすると、名前だけを保存できます。フィールド設定の「新規入力の既定の座標系」は新しく入力する位置にのみ適用され、「不明」を含む既存の位置は変更されず、各値の座標系は個別に選択でき、コピーまたはインポートした位置では保存済みの座標系が維持されます。"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-1609sdo",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-1609sdo",
+ "updated": "20261009034224"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "座標を取り込むには、「座標を貼り付け」に 39.9042, 116.4074 のような座標の組を入力し、「確認」をクリックします。順序は緯度、経度で、SiYuan は自動で入れ替えません。座標系には「不明」、WGS84、GCJ-02、BD-09 を選択できますが、このラベルを変更しても座標は変換されません。取り込んだ元のテキストは出典情報としてそのまま保持されます。座標または座標系を手動で変更すると、この出典テキストは消去されます。"
+ }
+ ]
+ },
+ {
+ "ID": "20261009034010-fry67po",
+ "Type": "NodeParagraph",
+ "Properties": {
+ "id": "20261009034010-fry67po",
+ "updated": "20261009040533"
+ },
+ "Children": [
+ {
+ "Type": "NodeText",
+ "Data": "「保存」で変更を適用し、「キャンセル」で変更を破棄します。「消去」は位置の値を削除します。テキストのフィルターとソートには、名前、座標、座標系のラベルを組み合わせたテキストを使用します。このフィールドは地図を読み込まず、外部の位置情報サービスにも接続しません。"
+ },
+ {
+ "Type": "NodeText",
+ "Data": "保存には "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Ctrl+Enter"
+ },
+ {
+ "Type": "NodeText",
+ "Data": "(macOS では "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Cmd+Enter"
+ },
+ {
+ "Type": "NodeText",
+ "Data": ")、キャンセルには "
+ },
+ {
+ "Type": "NodeTextMark",
+ "TextMarkType": "kbd",
+ "TextMarkTextContent": "Esc"
+ },
+ {
+ "Type": "NodeText",
+ "Data": " も使用できます。「位置」フィールドを含むデータベースを使用する前に、すべての端末の SiYuan を対応バージョンに更新してください。古いカーネルでは、このデータベースを開けません。"
+ }
+ ]
+ },
{
"ID": "20260929105001-sfv8f41",
"Type": "NodeHeading",
diff --git a/app/src/mobile/util/openReference.test.ts b/app/src/mobile/util/openReference.test.ts
index 08647e2989..ad7e583e76 100644
--- a/app/src/mobile/util/openReference.test.ts
+++ b/app/src/mobile/util/openReference.test.ts
@@ -94,9 +94,10 @@ const setup = (readonly = false) => {
const viewport = {top: 0, bottom: 800};
const document = {activeElement: new ElementMock(), createElement: () => new ElementMock(),
querySelectorAll: (selector: string) => {
- assert.ok([".av__mask", ".av__mask:not(.av__richtext-mask)"].includes(selector));
+ assert.ok([".av__mask, [data-av-location-editor]",
+ ".av__mask:not(.av__richtext-mask), [data-av-location-editor]"].includes(selector));
return cellMasks.filter(mask => mask.isConnected &&
- (selector === ".av__mask" || !mask.classList.contains("av__richtext-mask")));
+ (selector.startsWith(".av__mask,") || !mask.classList.contains("av__richtext-mask")));
}};
const window = Object.assign(new EventTargetMock(), {
innerHeight: 800,
diff --git a/app/src/protyle/render/av/attributePanel.ts b/app/src/protyle/render/av/attributePanel.ts
index fbbb1ebf8f..f610566ce6 100644
--- a/app/src/protyle/render/av/attributePanel.ts
+++ b/app/src/protyle/render/av/attributePanel.ts
@@ -21,6 +21,7 @@ const refreshActions = new Set<TOperation>([
"setAttrViewColIcon",
"setAttrViewColDesc",
"setAttrViewColAttributePanelVisibility",
+ "setAttrViewColLocationDefaultCoordinateSystem",
"setAttrViewName",
"setAttrViewCustomColors",
"updateAttrViewColTemplate",
diff --git a/app/src/protyle/render/av/attributeValue.ts b/app/src/protyle/render/av/attributeValue.ts
index dc0f1883a5..8350ffc7bf 100644
--- a/app/src/protyle/render/av/attributeValue.ts
+++ b/app/src/protyle/render/av/attributeValue.ts
@@ -13,6 +13,7 @@ import {
import {getAVColorStyle} from "./color";
import {getHostCapabilities} from "../../../util/hostCapabilities";
import {getAVRichTextPreviewHTML, getAVTextSource} from "./richText";
+import {getAVLocationText} from "./locationValue";
export {createEmptyAVValue} from "./cellValue";
@@ -92,6 +93,9 @@ const genAVRollupHTML = (value: IAVCellValue) => {
case "text":
html = escapeHtml(value.text.content);
break;
+ case "location":
+ html = escapeHtml(getAVLocationText(value.location));
+ break;
case "number":
html = value.number.formattedContent || value.number.content.toString();
break;
@@ -145,6 +149,9 @@ export const genAVValueHTML = (value: IAVCellValue, dateFormat: TAVDateFormat =
}
break;
}
+ case "location":
+ html = `<div class="av__celltext fn__flex-1" data-cell-value="${escapeAttr(encodeURIComponent(JSON.stringify(cloneAVCellValueSnapshot(value))))}" placeholder="${window.siyuan.languages.empty}">${escapeHtml(getAVLocationText(value.location))}</div>`;
+ break;
case "number":
html = `<span class="av__celltext" data-content="${value.number.isNotEmpty ? value.number.content : ""}" placeholder="${window.siyuan.languages.empty}">${value.number.formattedContent || (value.number.isNotEmpty ? value.number.content : "")}</span>`;
break;
diff --git a/app/src/protyle/render/av/automation.ts b/app/src/protyle/render/av/automation.ts
index c6b91c2ed3..9a8c91e81f 100644
--- a/app/src/protyle/render/av/automation.ts
+++ b/app/src/protyle/render/av/automation.ts
@@ -5,7 +5,8 @@ import {escapeAttr, escapeHtml} from "../../../util/escape";
import {fetchSyncPost} from "../../../util/fetch";
import {transaction} from "../../wysiwyg/transaction";
import {bindInlineFilterEvents, genEmptyFilterValue, getFiltersHTML} from "./filter";
-import {bindFieldLunarDates, genFieldValue, getRelationOptions, getSelectedOptionsHTML, getValueInputHTML, openFieldRelationMenu, openFieldSelectMenu, renderRelationFieldValue} from "./fieldValueEditor";
+import {bindFieldLunarDates, genFieldValue, getRelationOptions, getSelectedOptionsHTML, getValueInputHTML, openFieldRelationMenu, openFieldSelectMenu, renderRelationFieldValue, openFieldLocationEditor} from "./fieldValueEditor";
+import {createAVLocationReplacement} from "./locationValue";
import {openSearchAV} from "./relation";
interface AutomationValue extends Omit<AVAutomationValueInput, "value"> {
@@ -23,6 +24,10 @@ interface AutomationRule extends Omit<AVAutomationRuleInput, "actions" | "condit
}
const clone = <T>(value: T): T => JSON.parse(JSON.stringify(value));
+const newFieldValue = (field: IAVColumn): IAVCellValue => field.type === "location" ? {
+ type: "location",
+ location: createAVLocationReplacement({coordinateSystem: field.location?.defaultCoordinateSystem || "unknown"}),
+} : genEmptyFilterValue(field).value;
const fieldsOf = (database: AVAttributeViewData): IAVColumn[] => (database?.keyValues || [])
.filter(item => item?.key && hasAVCapability(item.key.type, "editable"))
.map(item => ({...item.key, renderTemplate: ""}));
@@ -267,6 +272,8 @@ export const openAutomationMenu = async (options: {
update();
save();
});
+ } else if (field.type === "location") {
+ input.addEventListener("click", () => openFieldLocationEditor(input));
} else if (field.type === "relation") {
getRelationOptions(field, choices => renderRelationFieldValue(input, choices));
input.addEventListener("click", () => openFieldRelationMenu(input, field));
@@ -402,7 +409,7 @@ ${field ? `<div class="av__automation-row"><select class="b3-select" data-mode a
if (value.mode === "source") {
value.keyID = compatibleFields(database, field)[0]?.id;
} else if (value.mode === "static" && !value.value) {
- value.value = genEmptyFilterValue(field).value;
+ value.value = newFieldValue(field);
}
} else if (target.matches("[data-source-field]")) {
action.fields[target.closest<HTMLElement>("[data-field-id]").dataset.fieldId].keyID = target.value;
@@ -461,7 +468,7 @@ ${field ? `<div class="av__automation-row"><select class="b3-select" data-mode a
break;
case "add-field":
chooseField(target, fieldsOf(databases.get(targetID(action))).filter(field => !action.fields[field.id]), field => {
- action.fields[field.id] = {mode: "static", value: genEmptyFilterValue(field).value};
+ action.fields[field.id] = {mode: "static", value: newFieldValue(field)};
save();
void render();
});
diff --git a/app/src/protyle/render/av/batchEdit.ts b/app/src/protyle/render/av/batchEdit.ts
index 1c55730c5b..8a4a46b993 100644
--- a/app/src/protyle/render/av/batchEdit.ts
+++ b/app/src/protyle/render/av/batchEdit.ts
@@ -148,6 +148,9 @@ const createBatchEditContext = (options: {
const value = cell?.value ?
cloneValue(cell.value) :
createEmptyAVValue(options.field.id, options.field.type, itemID);
+ if (options.field.type === "location" && !cell?.value) {
+ value.location.coordinateSystem = options.field.location?.defaultCoordinateSystem || "unknown";
+ }
value.id = value.id || cell?.id;
value.keyID = options.field.id;
value.blockID = itemID;
diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts
index 8e9a89d2a6..312b6ca4a1 100644
--- a/app/src/protyle/render/av/blockAttr.ts
+++ b/app/src/protyle/render/av/blockAttr.ts
@@ -157,6 +157,9 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle: IPr
createEmptyAVValue(item.key.id, item.key.type, primaryValue?.blockID),
item.values?.[0] || {}
);
+ if (item.key.type === "location" && !item.values?.[0]) {
+ value.location.coordinateSystem = item.key.location?.defaultCoordinateSystem || "unknown";
+ }
innerHTML += genAVAttributeRowHTML({
nodeID: id,
avID: table.avID,
@@ -722,6 +725,11 @@ const openEdit = (protyle: IProtyle, element: HTMLElement, event: MouseEvent) =>
event.stopPropagation();
event.preventDefault();
break;
+ } else if (type === "location") {
+ popTextCell(protyle, [target], "location");
+ event.stopPropagation();
+ event.preventDefault();
+ break;
} else if (type === "date") {
popTextCell(protyle, [target], "date");
event.stopPropagation();
diff --git a/app/src/protyle/render/av/capabilities.generated.ts b/app/src/protyle/render/av/capabilities.generated.ts
index 4214591068..9c0676b5ac 100644
--- a/app/src/protyle/render/av/capabilities.generated.ts
+++ b/app/src/protyle/render/av/capabilities.generated.ts
@@ -2,7 +2,7 @@
import type {AVKeyType, AVKeyCapability, AVFilterProfile, AVFilterCapability, AVCalcOperator} from "../../../types/av";
-export const AV_KEY_TYPES: readonly AVKeyType[] = ["block","text","number","date","select","mSelect","url","email","phone","mAsset","template","created","updated","checkbox","relation","rollup","lineNumber"];
+export const AV_KEY_TYPES: readonly AVKeyType[] = ["block","text","number","date","select","mSelect","url","email","phone","mAsset","template","created","updated","checkbox","relation","rollup","lineNumber","location"];
export const AV_KEY_CAPABILITIES: Readonly<Record<AVKeyType, AVKeyCapability>> = {
"block": {"groups":["richText","link","scalarContent"],"filterProfile":"text","valueKind":"text","editable":true,"filterable":true,"sortable":true,"groupable":true,"defaultOperator":"Contains"},
@@ -22,6 +22,7 @@ export const AV_KEY_CAPABILITIES: Readonly<Record<AVKeyType, AVKeyCapability>> =
"relation": {"groups":["rollupCell","newItemTemplate","rollupForeignRender"],"filterProfile":"relation","valueKind":"relation","editable":true,"filterable":true,"sortable":true,"groupable":true,"defaultOperator":"Contains any item"},
"rollup": {"groups":["noFilterDefault","renderDependentFilter","skipRowCopy"],"filterProfile":"rollup","valueKind":"rollup","editable":false,"filterable":true,"sortable":true,"groupable":false,"defaultOperator":"Contains"},
"lineNumber": {"groups":["none"],"filterProfile":"none","valueKind":"lineNumber","editable":false,"filterable":false,"sortable":false,"groupable":false,"defaultOperator":""},
+ "location": {"groups":["attributePlaceholder","rollupCell","newItemTemplate","noFilterDefault"],"filterProfile":"text","valueKind":"location","editable":true,"filterable":true,"sortable":true,"groupable":false,"defaultOperator":"Contains"},
};
export const AV_FILTER_CAPABILITIES: Readonly<Record<AVFilterProfile, AVFilterCapability>> = {
diff --git a/app/src/protyle/render/av/capabilities.test.ts b/app/src/protyle/render/av/capabilities.test.ts
index 08c2638a92..e9044056df 100644
--- a/app/src/protyle/render/av/capabilities.test.ts
+++ b/app/src/protyle/render/av/capabilities.test.ts
@@ -20,9 +20,9 @@ test("field capability groups preserve supported field behavior", () => {
["rich text", isAVRichTextType, ["text", "block", "email", "phone", "template"]],
["link", isAVLinkType, ["block", "url", "email", "phone"]],
["scalar content", hasAVScalarContent, ["number", "text", "block", "url", "phone", "email", "template", "mAsset"]],
- ["attribute placeholder", hasAVAttributePlaceholder, ["text", "number", "date", "url", "phone", "template", "email"]],
- ["rollup cell", usesAVRollupCellRenderer, ["template", "select", "mSelect", "mAsset", "relation"]],
- ["template fields", isAVNewItemTemplateType, ["text", "number", "date", "select", "mSelect", "url", "email", "phone", "mAsset", "checkbox", "relation"]],
+ ["attribute placeholder", hasAVAttributePlaceholder, ["text", "number", "date", "url", "phone", "template", "email", "location"]],
+ ["rollup cell", usesAVRollupCellRenderer, ["template", "select", "mSelect", "mAsset", "relation", "location"]],
+ ["template fields", isAVNewItemTemplateType, ["text", "number", "date", "select", "mSelect", "url", "email", "phone", "mAsset", "checkbox", "relation", "location"]],
];
for (const [name, predicate, expected] of groups) {
for (const type of [...AV_KEY_TYPES, "unknown", undefined, null]) {
@@ -35,7 +35,7 @@ test("field capability groups preserve supported field behavior", () => {
assert.equal(hasAVCapability(type, "editable"), !computed, type);
assert.equal(hasAVCapability(type, "filterable"), type !== "lineNumber", type);
assert.equal(hasAVCapability(type, "sortable"), type !== "lineNumber", type);
- assert.equal(hasAVCapability(type, "groupable"), type !== "lineNumber" && type !== "rollup", type);
+ assert.equal(hasAVCapability(type, "groupable"), type !== "lineNumber" && type !== "rollup" && type !== "location", type);
const expected = type === "lineNumber" ? undefined : type === "relation" ? "Contains any item" :
["select", "number", "date", "created", "updated", "checkbox"].includes(type) ? "=" : "Contains";
assert.equal(getAVDefaultFilterOperator(type), expected, type);
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index 0e136ae0d1..9a50ce1984 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -38,6 +38,7 @@ import {
genRelationAVCellValue,
getAVBlockRefSubtype,
getConvertedEmptyAVCellValue,
+ hasAVCachedCellType,
hasAVRenderTemplateResult,
updateAVCachedCellValue,
} from "./cellValue";
@@ -60,9 +61,12 @@ import {
} from "./richText";
import {openAVRichTextEditor} from "./richTextEditor";
import {getAVData, getAVPrimaryCell} from "./virtualScroll";
-import {AV_CELL_EDITOR_CLOSE_EVENT} from "./cellEditor";
+import {AV_CELL_EDITOR_CLOSE_EVENT, getAVCellEditorOwner} from "./cellEditor";
import {getAVBlockIconHTML, renderAVBlockIcon} from "./blockIcon";
import {bindAVCellInputPosition} from "./cellInputPosition";
+import {createAVLocationFromText, createAVLocationReplacement, getAVLocationText, isAVLocationCoordinateInput, isAVLocationEmpty} from "./locationValue";
+import {openAVLocationEditor} from "./locationEditor";
+import {showMessage} from "../../../dialog/message";
export {cellValueIsEmpty} from "./cellValue";
@@ -227,6 +231,8 @@ export const genCellValueByElement = (colType: TAVCol, cellElement: HTMLElement)
cellValue.mAsset = [];
} else if ((colType === "mSelect" || colType === "select") && !cellValue.mSelect) {
cellValue.mSelect = [];
+ } else if (colType === "location") {
+ cellValue.location = createAVLocationReplacement(cellValue.location);
}
return cellValue;
}
@@ -234,7 +240,9 @@ export const genCellValueByElement = (colType: TAVCol, cellElement: HTMLElement)
type: colType,
id: cellElement.dataset.id,
};
- if (colType === "number") {
+ if (colType === "location") {
+ cellValue.location = createAVLocationReplacement();
+ } else if (colType === "number") {
const value = (cellElement.querySelector("input") as HTMLInputElement)?.value ||
cellElement.querySelector(".av__celltext")?.getAttribute("data-content");
cellValue.number = {
@@ -315,6 +323,9 @@ export const genCellValueByElement = (colType: TAVCol, cellElement: HTMLElement)
};
const getCellValueContent = (value: IAVCellValue): string => {
+ if (value.type === "location") {
+ return getAVLocationText(value.location);
+ }
if (hasAVScalarContent(value.type)) {
return value[value.type as "text"].content;
}
@@ -322,7 +333,7 @@ const getCellValueContent = (value: IAVCellValue): string => {
return value.mSelect[0].content;
}
if (value.type === "rollup") {
- return getCellValueContent(value.relation.contents[0]);
+ return value.rollup?.contents?.[0] ? getCellValueContent(value.rollup.contents[0]) : "";
}
if (value.type === "checkbox") {
return value.checkbox.checked ? "true" : "false";
@@ -349,7 +360,9 @@ const transformCellValue = (colType: TAVCol, value: IAVCellValue): IAVCellValue
const newValue: IAVCellValue = {
type: colType,
};
- if (colType === "number") {
+ if (colType === "location") {
+ newValue.location = createAVLocationFromText(getCellValueContent(value) || "");
+ } else if (colType === "number") {
if (isAVDateType(value.type)) {
newValue.number = {
content: value[value.type as "date"].content,
@@ -416,7 +429,9 @@ export const genCellValue = (colType: TAVCol, value: string | any, dateFormat: T
[colType === "select" ? "mSelect" : colType]: value as IAVCellDateValue
};
if (typeof value === "string" && value) {
- if (colType === "number") {
+ if (colType === "location") {
+ cellValue = {type: colType, location: createAVLocationFromText(value)};
+ } else if (colType === "number") {
cellValue = {
type: colType,
number: {
@@ -471,6 +486,9 @@ export const genCellValue = (colType: TAVCol, value: string | any, dateFormat: T
} else if (typeof value === "undefined" || !value) {
cellValue = genEmptyAVCellValue(colType);
}
+ if (colType === "location") {
+ cellValue.location = createAVLocationReplacement(cellValue.location);
+ }
if (colType === "block") {
if (typeof value === "object" && value && value.id) {
cellValue.isDetached = false;
@@ -617,7 +635,7 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
if (!type) {
type = getTypeByCellElement(cellElements[0]);
}
- if (type === "updated" || type === "created" || document.querySelector(".av__mask")) {
+ if (type === "updated" || type === "created" || document.querySelector(".av__mask, [data-av-location-editor]")) {
options?.destroyCallback?.();
return;
}
@@ -636,6 +654,55 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type
let html = "";
const cssStyle = getComputedStyle(cellElements[0]);
const storedCellValue = getStoredCellValueByElement(cellElements[0]);
+ if (type === "location") {
+ const ownerElement = getAVCellEditorOwner(blockElement);
+ const avID = blockElement.dataset.avId;
+ const blockID = blockElement.dataset.nodeId;
+ const rootID = protyle.block.rootID;
+ const locationCells: IAVSelectedCell[] = cellElements.map(element => {
+ const value = cloneAVCellValueSnapshot(genCellValueByElement("location", element));
+ return {
+ groupID: element.closest<HTMLElement>(".av__body")?.dataset.groupId || "",
+ rowID: getFieldIdByCellElement(element, viewType),
+ colID: getColId(element, viewType),
+ rowIndex: 0,
+ colIndex: -1,
+ cell: {id: value.id || element.dataset.id || "", color: "", bgColor: "", value, valueType: "location"},
+ column: {id: getColId(element, viewType), type: "location"} as IAVColumn,
+ };
+ });
+ const isCurrentTarget = () => {
+ if (!blockElement.isConnected || !ownerElement.contains(blockElement) ||
+ blockElement.dataset.avId !== avID || blockElement.dataset.nodeId !== blockID ||
+ protyle.block.rootID !== rootID) {
+ return false;
+ }
+ const data = getAVData(blockElement);
+ return locationCells.every(item => data ?
+ hasAVCachedCellType(data.view, item.rowID, item.colID, "location") :
+ !!blockElement.querySelector(`[data-row-id="${item.rowID}"][data-col-id="${item.colID}"][data-type="location"]`));
+ };
+ if (!options?.keepMenuOpen) {
+ window.siyuan.menus.menu.remove();
+ }
+ openAVLocationEditor({
+ value: (storedCellValue || genCellValueByElement(type, cellElements[0])).location,
+ ownerElement,
+ avBlockID: blockID,
+ isValid: isCurrentTarget,
+ onSave: async value => {
+ if (!isCurrentTarget() || protyle.disabled || window.siyuan.config.readonly || window.siyuan.isPublish ||
+ protyle.options.history?.created || protyle.options.history?.snapshot) {
+ return;
+ }
+ const batchCells = cellElements[0].dataset.avBatchOriginalValue ? cellElements : undefined;
+ await updateCellsValue(protyle, blockElement, value, batchCells, undefined, undefined,
+ false, false, false, locationCells);
+ },
+ onDestroy: options?.destroyCallback,
+ });
+ return;
+ }
const hasRenderedTemplate = cellElements[0].matches(".av__celltext--template") ||
Boolean(cellElements[0].querySelector(":scope > .av__celltext--template, :scope > .av__cellprimary > .av__celltext--template"));
if (type === "text" && !hasRenderedTemplate) {
@@ -1046,6 +1113,9 @@ export const updateCellsValue = async (protyle: IProtyle, nodeElement: HTMLEleme
continue;
}
const oldValue = cloneAVCellValueSnapshot(sourceOldValue);
+ if (oldValue.type === "location") {
+ oldValue.location = createAVLocationReplacement(oldValue.location);
+ }
if (type === "block") {
oldValue.block.icon = oldValue.block.icon || "";
}
@@ -1074,6 +1144,14 @@ export const updateCellsValue = async (protyle: IProtyle, nodeElement: HTMLEleme
continue;
}
let newValue = value;
+ if (type === "location" && (typeof newValue === "string" ||
+ (newValue?.type && newValue.type !== "location" && !cellValueIsEmpty(newValue)))) {
+ const content = typeof newValue === "string" ? newValue : getCellValueContent(newValue) || "";
+ if (isAVLocationCoordinateInput(content)) {
+ showMessage(window.siyuan.languages.locationPasteInEditor, 6000, "error");
+ continue;
+ }
+ }
// relation 为全部更新,以下类型为添加
if (type === "mAsset") {
if (Array.isArray(value)) {
@@ -1190,6 +1268,9 @@ export const updateCellsValue = async (protyle: IProtyle, nodeElement: HTMLEleme
continue;
}
}
+ if (cellValue.type === "location") {
+ cellValue.location = createAVLocationReplacement(cellValue.location);
+ }
if (type === "block" && typeof cellValue.block.icon === "undefined") {
cellValue.block.icon = oldValue.block.icon || "";
}
@@ -1397,6 +1478,8 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0, showIcon = tru
} else {
text = `<span class="av__celltext">${cellValue ? escapeHtmlTextAndAttr(cellValue.text.content || "") : ""}</span>`;
}
+ } else if (cellValue.type === "location") {
+ text = `<span class="av__celltext" data-cell-value="${escapeAttr(encodeURIComponent(JSON.stringify(cloneAVCellValueSnapshot(cellValue))))}">${escapeHtmlTextAndAttr(getAVLocationText(cellValue.location))}</span>`;
} else if ((cellValue.type === "email" || cellValue.type === "phone")) {
text = `<span class="av__celltext av__celltext--url" data-type="${cellValue.type}">${cellValue ? escapeHtmlTextAndAttr(cellValue[cellValue.type as "email"].content || "") : ""}</span>`;
} else if ("url" === cellValue.type) {
@@ -1491,7 +1574,7 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0, showIcon = tru
if (showCopy && cellValue.type === "rollup" && text) {
text += `<button class="av__cell-action ariaLabel" type="button" data-position="4north" aria-label="${window.siyuan.languages.copy}" data-type="copy" data-rollup-value="${escapeAttr(encodeURIComponent(JSON.stringify(cellValue.rollup?.contents || [])))}"><svg><use xlink:href="#iconCopy"></use></svg></button>`;
} else if (showCopy && ((((isAVTextType(cellValue.type) && cellValue.type !== "block") || isAVDateType(cellValue.type)) && cellValue[cellValue.type as "url"]?.content) ||
- cellValue.type === "lineNumber" ||
+ cellValue.type === "lineNumber" || (cellValue.type === "location" && !isAVLocationEmpty(cellValue.location)) ||
(cellValue.type === "number" && cellValue.number?.isNotEmpty) ||
(cellValue.type === "block" && cellValue.block?.content))) {
text += `<button class="av__cell-action ariaLabel" type="button" data-position="4north" aria-label="${window.siyuan.languages.copy}" data-type="copy"><svg><use xlink:href="#iconCopy"></use></svg></button>`;
diff --git a/app/src/protyle/render/av/cellEditor.test.ts b/app/src/protyle/render/av/cellEditor.test.ts
index fac1dbcf34..ecb0b2ef5b 100644
--- a/app/src/protyle/render/av/cellEditor.test.ts
+++ b/app/src/protyle/render/av/cellEditor.test.ts
@@ -4,6 +4,7 @@ import {describe, it} from "node:test";
import {runInNewContext} from "node:vm";
import {ModuleKind, ScriptTarget, transpileModule} from "typescript";
import {isTableLikeView} from "./viewType";
+import {getAVCellEditorOwner} from "./cellEditor";
const source = readFileSync("src/protyle/render/av/cell.ts", "utf8");
const compiled = transpileModule(source.slice(source.indexOf("const updateCellValueByInput ="),
@@ -52,6 +53,42 @@ const createEditor = (changed: boolean, viewType = "table") => {
};
describe("database cell editor navigation", () => {
+ it("owns ordinary Attributes dialogs, row panels and inline databases by their actual container", () => {
+ for (const container of [{kind: "attributes-dialog"}, {kind: "row-panel"}, {kind: "custom-attributes"}, null]) {
+ const block = {closest: (selector: string) => {
+ assert.equal(selector, ".protyle-db-row, .b3-dialog__container, .custom-attr");
+ return container;
+ }} as unknown as HTMLElement;
+ assert.equal(getAVCellEditorOwner(block), container || block);
+ }
+ });
+ it("dispatches cancel-only lifecycle events for owned location dialogs on save and discard closes", () => {
+ const api = {} as typeof import("./cellEditor");
+ let closed = 0;
+ const dialog = {
+ dataset: {avLocationEditor: "true", avBlockId: "database-block"},
+ dispatchEvent: (event: Event) => {
+ assert.equal(event.type, "siyuan-av-cell-editor-close");
+ closed++;
+ },
+ remove: () => assert.fail("the Dialog must clean up its own session and listeners"),
+ };
+ runInNewContext(transpileModule(readFileSync("src/protyle/render/av/cellEditor.ts", "utf8"), {
+ compilerOptions: {module: ModuleKind.CommonJS, target: ScriptTarget.ES2020},
+ }).outputText, {
+ exports: api,
+ CustomEvent,
+ document: {querySelectorAll: (selector: string) => {
+ assert.match(selector, /\[data-av-location-editor\]/);
+ return [dialog];
+ }},
+ });
+ const owner = {querySelectorAll: () => [{dataset: {nodeId: "database-block"}}]} as unknown as HTMLElement;
+ api.closeAVCellEditor(owner, true);
+ api.closeAVCellEditor(owner, false);
+ api.closeAVCellEditor({querySelectorAll: (): HTMLElement[] => []} as unknown as HTMLElement);
+ assert.equal(closed, 2);
+ });
it("submits list property edits using the row identity and restores focus", () => {
const editor = createEditor(true, "list");
editor.close(true);
diff --git a/app/src/protyle/render/av/cellEditor.ts b/app/src/protyle/render/av/cellEditor.ts
index cbc6690d90..d62b8b2941 100644
--- a/app/src/protyle/render/av/cellEditor.ts
+++ b/app/src/protyle/render/av/cellEditor.ts
@@ -1,11 +1,20 @@
export const AV_CELL_EDITOR_CLOSE_EVENT = "siyuan-av-cell-editor-close";
+export const getAVCellEditorOwner = (blockElement: HTMLElement) =>
+ blockElement.closest<HTMLElement>(".protyle-db-row, .b3-dialog__container, .custom-attr") || blockElement;
+
export const closeAVCellEditor = (owner?: HTMLElement, save = true) => {
- document.querySelectorAll<HTMLElement>(save ? ".av__mask:not(.av__richtext-mask)" : ".av__mask").forEach(element => {
+ document.querySelectorAll<HTMLElement>(save ? ".av__mask:not(.av__richtext-mask), [data-av-location-editor]" :
+ ".av__mask, [data-av-location-editor]").forEach(element => {
if (owner && !Array.from(owner.querySelectorAll<HTMLElement>("[data-node-id]"))
.some(block => block.dataset.nodeId === element.dataset.avBlockId)) {
return;
}
+ if (element.dataset.avLocationEditor === "true") {
+ // 位置对话框只允许显式保存,导航、锁定与父面板关闭均取消未提交的输入。
+ element.dispatchEvent(new CustomEvent(AV_CELL_EDITOR_CLOSE_EVENT));
+ return;
+ }
if (!save) {
// 锁定或删除所属内容时立即清除浮层,不再向已失效的目标提交草稿。
element.remove();
diff --git a/app/src/protyle/render/av/cellValue.ts b/app/src/protyle/render/av/cellValue.ts
index 6b3d4f6c3b..82089f5f39 100644
--- a/app/src/protyle/render/av/cellValue.ts
+++ b/app/src/protyle/render/av/cellValue.ts
@@ -1,5 +1,18 @@
import {isAVDateType, isAVSelectType, isAVTextType} from "./capabilities";
import type {IAVSelectedCell} from "./selectionState";
+import {createAVLocationReplacement, isAVLocationEmpty} from "./locationValue";
+
+// 编辑器按条目和原始字段验证目标,包含隐藏字段以及批量代理未携带分组标识的情况。
+export const hasAVCachedCellType = (view: IAVView, rowID: string, colID: string, type: TAVCol): boolean => {
+ const columns = (view as IAVTable).columns || (view as IAVGallery).fields || [];
+ const index = columns.findIndex(column => column.id === colID && column.type === type);
+ const items: Array<IAVRow | IAVGalleryItem> = (view as IAVTable).rows || (view as IAVGallery).cards || [];
+ if (index >= 0 && items.some(item => item.id === rowID &&
+ !!("cells" in item ? item.cells : item.values)[index])) {
+ return true;
+ }
+ return view.groups?.some(group => hasAVCachedCellType(group, rowID, colID, type)) || false;
+};
// 按行和字段同步已加载的数据,供后续编辑读取,不依赖选区或单元格是否已渲染。
export const updateAVCachedCellValue = (view: IAVView, rowID: string, colID: string, value: IAVCellValue) => {
@@ -31,6 +44,7 @@ export const createEmptyAVValue = (keyID: string, type: TAVCol, blockID?: string
url: {content: ""},
phone: {content: ""},
email: {content: ""},
+ ...(type === "location" ? {location: createAVLocationReplacement()} : {}),
template: {content: ""},
date: {isNotEmpty: false, isNotEmpty2: false},
created: {isNotEmpty: false},
@@ -53,6 +67,9 @@ export const cellValueIsEmpty = (value: IAVCellValue, useRenderedContent = false
if (value.type === "checkbox") {
return false;
}
+ if (value.type === "location") {
+ return isAVLocationEmpty(value.location);
+ }
if (isAVTextType(value.type)) {
return !value[value.type as "text"]?.content;
}
@@ -87,7 +104,9 @@ export const genEmptyAVCellValue = (colType: TAVCol): IAVCellValue => {
const cellValue: IAVCellValue = {
type: colType,
};
- if (colType === "number") {
+ if (colType === "location") {
+ cellValue.location = createAVLocationReplacement();
+ } else if (colType === "number") {
cellValue.number = {
content: 0,
isNotEmpty: false,
@@ -136,6 +155,8 @@ export const cloneAVCellValueSnapshot = (value: IAVCellValue): IAVCellValue => {
snapshot.mSelect = [];
} else if (snapshot.type === "mAsset" && !snapshot.mAsset) {
snapshot.mAsset = [];
+ } else if (snapshot.type === "location") {
+ snapshot.location = createAVLocationReplacement(snapshot.location);
}
return snapshot;
};
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index a239324b94..1b8f41cfd5 100644
--- a/app/src/protyle/render/av/col.ts
+++ b/app/src/protyle/render/av/col.ts
@@ -1,5 +1,6 @@
import {hasAVCapability, isAVReadonlyType, isAVSelectType, isAVTimestampType} from "./capabilities";
import {isTableLikeView} from "./viewType";
+import {bindLocationDefaultCoordinateSystem} from "./locationColumn";
import {isAVRenderData} from "./renderData";
import {Menu} from "../../../plugin/Menu";
import {MenuItem} from "../../../menus/Menu";
@@ -161,6 +162,12 @@ export const getEditHTML = (options: {
colData.options.forEach(item => {
html += getColOptionHTML(item);
});
+ } else if (colData.type === "location") {
+ html += `<button class="b3-menu__separator" data-id="separator_2"></button>
+<button class="b3-menu__item" data-type="locationDefaultCoordinateSystem">
+ <span class="b3-menu__label">${window.siyuan.languages.defaultCoordinateSystem}</span>
+ <svg class="b3-menu__icon b3-menu__icon--small"><use xlink:href="#iconRight"></use></svg>
+</button>`;
} else if (colData.type === "number") {
html += `<button class="b3-menu__separator" data-id="separator_2"></button>
<button class="b3-menu__item" data-type="numberFormat" data-format="${colData.numberFormat}">
@@ -286,6 +293,7 @@ export const getEditHTML = (options: {
${genUpdateColItem("url", colData.type)}
${genUpdateColItem("email", colData.type)}
${genUpdateColItem("phone", colData.type)}
+ ${genUpdateColItem("location", colData.type)}
${genUpdateColItem("template", colData.type)}
${genUpdateColItem("relation", colData.type)}
${genUpdateColItem("rollup", colData.type)}
@@ -306,6 +314,21 @@ export const bindEditEvent = (options: {
const colId = options.menuElement.querySelector(".b3-menu__item").getAttribute("data-col-id");
const colData = getFieldsByData(options.data).find((item: IAVColumn) => item.id === colId);
bindDateCalendarMenu(options.protyle, avID, colData, options.menuElement);
+ if (colData.type === "location") {
+ bindLocationDefaultCoordinateSystem({
+ menuElement: options.menuElement,
+ column: colData,
+ onChange: system => {
+ const previous = colData.location?.defaultCoordinateSystem || "unknown";
+ transaction(options.protyle, [{
+ action: "setAttrViewColLocationDefaultCoordinateSystem", id: colId, avID, data: system,
+ }], [{
+ action: "setAttrViewColLocationDefaultCoordinateSystem", id: colId, avID, data: previous,
+ }]);
+ colData.location = {...colData.location, defaultCoordinateSystem: system};
+ },
+ });
+ }
const visibilityElement = options.menuElement.querySelector('[data-type="attributePanelVisibility"]');
if (visibilityElement) {
const choices: Array<[IAVColumn["attributePanelVisibility"], string]> = [
@@ -697,6 +720,7 @@ export const getColNameByType = (type: TAVCol) => {
case "date":
case "phone":
case "email":
+ case "location":
case "template":
return window.siyuan.languages[type];
case "mSelect":
@@ -751,6 +775,8 @@ export const getColIconByType = (type: TAVCol) => {
return "iconEmail";
case "phone":
return "iconPhone";
+ case "location":
+ return "iconPin";
case "template":
return "iconMath";
case "checkbox":
@@ -2093,6 +2119,46 @@ export const addCol = (protyle: IProtyle, blockElement: Element, previousID?: st
blockElement.setAttribute("updated", newUpdated);
}
});
+ menu.addItem({
+ id: "location",
+ icon: "iconPin",
+ label: window.siyuan.languages.location,
+ click() {
+ const id = Lute.NewNodeID();
+ const newUpdated = dayjs().format("YYYYMMDDHHmmss");
+ transaction(protyle, [{
+ action: "addAttrViewCol",
+ blockID: blockId,
+ viewID: blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW) || "",
+ name: window.siyuan.languages.location,
+ avID,
+ type: "location",
+ id,
+ previousID,
+ }, {
+ action: "doUpdateUpdated",
+ id: blockId,
+ data: newUpdated,
+ }], [{
+ action: "removeAttrViewCol",
+ id,
+ avID,
+ }, {
+ action: "doUpdateUpdated",
+ id: blockId,
+ data: blockElement.getAttribute("updated"),
+ }]);
+ addAttrViewColAnimation({
+ blockElement,
+ protyle,
+ type: "location",
+ name: window.siyuan.languages.location,
+ id,
+ previousID,
+ });
+ blockElement.setAttribute("updated", newUpdated);
+ },
+ });
menu.addItem({
id: "template",
icon: "iconMath",
diff --git a/app/src/protyle/render/av/dragFillValue.ts b/app/src/protyle/render/av/dragFillValue.ts
index d3117483db..310eef8652 100644
--- a/app/src/protyle/render/av/dragFillValue.ts
+++ b/app/src/protyle/render/av/dragFillValue.ts
@@ -1,3 +1,5 @@
+import {createAVLocationReplacement} from "./locationValue";
+
interface IAVCellValueTarget {
id: string;
keyID: string;
@@ -13,6 +15,9 @@ export const rebindAVCellValue = (source: IAVCellValue, target: IAVCellValueTarg
value.id = target.id;
value.keyID = target.keyID;
value.blockID = target.blockID;
+ if (value.type === "location") {
+ value.location = createAVLocationReplacement(value.location);
+ }
delete value.createdAt;
delete value.updatedAt;
return value;
diff --git a/app/src/protyle/render/av/fieldValueEditor.ts b/app/src/protyle/render/av/fieldValueEditor.ts
index d3131da629..65ad86468b 100644
--- a/app/src/protyle/render/av/fieldValueEditor.ts
+++ b/app/src/protyle/render/av/fieldValueEditor.ts
@@ -11,6 +11,8 @@ import {getFileTreeIconHTML} from "../../../emoji/fileTreeIcon";
import {renderAVBlockIcon} from "./blockIcon";
import {formatDateValue} from "./dateFormat";
import {bindLunarDateEditor, getLunarDateHTML} from "./lunarDate";
+import {createAVLocationReplacement, getAVLocationText} from "./locationValue";
+import {openAVLocationEditor} from "./locationEditor";
export const getSelectedOptionNames = (element: HTMLElement) => {
try {
@@ -104,6 +106,8 @@ export const genFieldValue = (column: IAVColumn, input: HTMLElement, previousVal
return {type: column.type, email: {content}};
case "phone":
return {type: column.type, phone: {content}};
+ case "location":
+ return {type: "location", location: createAVLocationReplacement(JSON.parse(decodeURIComponent(input.dataset.location || "%7B%7D")))};
case "mAsset":
return {
type: column.type,
@@ -131,6 +135,11 @@ export const getValueInputHTML = (column: IAVColumn, fieldValue?: IAVNewItemFiel
const date = value?.date || {isNotEmpty: false, isNotTime: !column.date?.fillSpecificTime};
return `<button type="button" class="b3-button b3-button--cancel${fieldValue?.mode === "currentTime" ? " fn__none" : ""}" data-role="field-value" data-value-type="lunarDate" data-lunar-value="${escapeAttr(JSON.stringify(date))}">${escapeHtml(formatDateValue(date, "lunar") || window.siyuan.languages.select)}</button>`;
}
+ if (column.type === "location") {
+ const location = value ? value.location || {coordinateSystem: "unknown"} :
+ {coordinateSystem: column.location?.defaultCoordinateSystem || "unknown"};
+ return `<button type="button" class="b3-button b3-button--cancel fn__flex-1" data-role="field-value" data-value-type="location" data-location="${escapeAttr(encodeURIComponent(JSON.stringify(location)))}">${escapeHtml(getAVLocationText(location) || window.siyuan.languages.empty)}</button>`;
+ }
if (column.type === "checkbox") {
const checked = value?.checkbox?.checked || false;
return `<button class="fn__flex-center" data-role="field-value" data-value-type="checkbox" aria-label="${escapeAttr(column.name || window.siyuan.languages.checkbox)}" aria-pressed="${checked}" type="button" style="background:transparent;border:0;color:inherit;padding:0"><svg class="av__checkbox"><use xlink:href="#icon${checked ? "Check" : "Uncheck"}"></use></svg></button>`;
@@ -181,6 +190,22 @@ export const bindFieldLunarDates = (host: HTMLElement) => {
}));
};
+export const openFieldLocationEditor = (target: HTMLElement) => {
+ openAVLocationEditor({
+ value: JSON.parse(decodeURIComponent(target.dataset.location || "%7B%7D")),
+ ownerElement: target,
+ avBlockID: target.closest<HTMLElement>("[data-node-id]")?.dataset.nodeId,
+ onSave: value => {
+ if (!target.isConnected) {
+ return;
+ }
+ target.dataset.location = encodeURIComponent(JSON.stringify(value));
+ target.textContent = getAVLocationText(value) || window.siyuan.languages.empty;
+ target.dispatchEvent(new Event("change", {bubbles: true}));
+ },
+ });
+};
+
export const openFieldSelectMenu = (target: HTMLElement, column: IAVColumn) => {
const menu = new Menu("av-new-item-template-field-value");
if (menu.isOpen) {
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.ts
index f5b2019393..99c93aa372 100644
--- a/app/src/protyle/render/av/filter.ts
+++ b/app/src/protyle/render/av/filter.ts
@@ -592,6 +592,8 @@ const genInlineFilterHTML = (filter: IAVFilter, colData: IAVColumn, path: string
const content = valueType === "template" && filterValue && filterValue.type !== "template" ?
getCellValueText(filterValue) : filterValue?.[valueType as "text"]?.content || "";
valueHTML = `<input class="b3-text-field b3-text-field--text fn__flex-1" value="${escapeFilterValue(content)}" data-type="filterValue" data-path="${path}">`;
+ } else if (valueType === "location") {
+ valueHTML = `<input class="b3-text-field b3-text-field--text fn__flex-1" value="${escapeFilterValue(filterValue?.text?.content || "")}" data-type="filterValue" data-path="${path}">`;
} else if (valueType === "mAsset") {
const content = filterValue?.mAsset?.[0]?.content || "";
valueHTML = `<input class="b3-text-field b3-text-field--text fn__flex-1" value="${escapeFilterValue(content)}" data-type="filterValue" data-path="${path}">`;
@@ -797,6 +799,9 @@ const readInlineValue = (rowElement: HTMLElement, valueType: TAVCol, operator: s
const input = rowElement.querySelector('[data-type="filterValue"]') as HTMLInputElement;
newValue = input?.value ? genCellValue("relation", input.value) : genEmptyCellValue("relation");
}
+ } else if (valueType === "location") {
+ const input = rowElement.querySelector<HTMLInputElement>('[data-type="filterValue"]');
+ newValue = {type: "location", text: {content: input?.value || ""}};
} else if (hasAVScalarContent(valueType)) {
const input = rowElement.querySelector('[data-type="filterValue"]') as HTMLInputElement;
const val = input?.value || "";
diff --git a/app/src/protyle/render/av/locationColumn.test.ts b/app/src/protyle/render/av/locationColumn.test.ts
new file mode 100644
index 0000000000..c3b121b44a
--- /dev/null
+++ b/app/src/protyle/render/av/locationColumn.test.ts
@@ -0,0 +1,100 @@
+import * as assert from "node:assert/strict";
+import {readFileSync} from "node:fs";
+import {test} from "node:test";
+import {runInNewContext} from "node:vm";
+import {ModuleKind, ScriptTarget, transpileModule} from "typescript";
+
+const compiled = transpileModule(readFileSync("src/protyle/render/av/locationColumn.ts", "utf8"), {
+ compilerOptions: {module: ModuleKind.CommonJS, target: ScriptTarget.ES2020},
+}).outputText;
+
+test("location default CRS uses checked submenus on desktop and mobile", () => {
+ for (const mobile of [false, true]) {
+ const items: IMenu[] = [];
+ const mobileItems: IMenu[] = [];
+ const changes: string[] = [];
+ const listeners = new Map<string, (event: any) => void>();
+ let shown = 0;
+ let closed = 0;
+ let focused = false;
+ const submenu = {querySelector: () => ({focus: () => focused = true})};
+ const element = {
+ dataset: {}, setAttribute() {}, focus() {},
+ classList: {add() {}, remove() {}},
+ querySelector: () => submenu,
+ addEventListener: (type: string, handler: (event: any) => void) => listeners.set(type, handler),
+ getBoundingClientRect: () => ({left: 0, bottom: 20, height: 20}),
+ contains: (target: unknown) => target === submenu,
+ };
+ const api = {} as typeof import("./locationColumn");
+ runInNewContext(compiled, {
+ exports: api,
+ window: {siyuan: {languages: {coordinateSystemUnknown: "Unknown", defaultCoordinateSystem: "Default", defaultCoordinateSystemTip: "New input only"},
+ menus: {menu: {showSubMenu: () => shown++}}}},
+ require: (name: string) => ({
+ "../../../util/functions": {isMobile: () => mobile},
+ "../../../menus/Menu": {MenuItem: class {
+ element = element;
+ constructor(options: IMenu) { items.push(...options.submenu); }
+ }},
+ "../../../plugin/Menu": {Menu: class {
+ addItem(item: IMenu) { mobileItems.push(item); }
+ open() { shown++; }
+ }},
+ })[name],
+ });
+ const column = {id: "location", type: "location", location: {defaultCoordinateSystem: "gcj02"}} as IAVColumn;
+ api.bindLocationDefaultCoordinateSystem({
+ column,
+ menuElement: {
+ querySelector: () => ({replaceWith: (replacement: unknown) => assert.equal(replacement, element)}),
+ addEventListener() {},
+ closest: () => ({remove: () => closed++}),
+ } as unknown as HTMLElement,
+ onChange: system => changes.push(system),
+ });
+ assert.deepEqual(items.map(item => item.label), ["Unknown", "WGS84", "GCJ-02", "BD-09"]);
+ assert.deepEqual(items.map(item => item.checked), [false, false, true, false]);
+ const event = {preventDefault() {}, stopPropagation() {}};
+ if (mobile) {
+ assert.equal(listeners.has("mouseenter"), false);
+ listeners.get("click")(event);
+ assert.equal(mobileItems.length, 4);
+ } else {
+ listeners.get("mouseenter")(event);
+ listeners.get("keydown")({...event, key: "ArrowRight"});
+ assert.equal(focused, true);
+ }
+ assert.ok(shown > 0);
+ items[2].click({} as HTMLElement, {} as MouseEvent);
+ assert.equal(changes.length, 0);
+ items[1].click({} as HTMLElement, {} as MouseEvent);
+ assert.deepEqual(changes, ["wgs84"]);
+ assert.equal(closed, 2);
+ assert.equal(column.location.defaultCoordinateSystem, "gcj02");
+ }
+});
+
+test("location default CRS setting constructs symmetric do and undo operations", () => {
+ const source = readFileSync("src/protyle/render/av/col.ts", "utf8");
+ const start = source.indexOf("export const bindEditEvent =");
+ const end = source.indexOf(" const visibilityElement =", start);
+ const api: {bindEditEvent?: (options: unknown) => void} = {};
+ const changes: unknown[] = [];
+ const column = {id: "key", type: "location", location: {defaultCoordinateSystem: "unknown"}} as IAVColumn;
+ runInNewContext(transpileModule(source.slice(start, end) + "};", {
+ compilerOptions: {module: ModuleKind.CommonJS, target: ScriptTarget.ES2020},
+ }).outputText, {
+ exports: api,
+ getFieldsByData: () => [column],
+ bindDateCalendarMenu: () => {},
+ bindLocationDefaultCoordinateSystem: (options: {onChange: (system: string) => void}) => options.onChange("bd09"),
+ transaction: (_protyle: unknown, doOperations: unknown, undoOperations: unknown) => changes.push([doOperations, undoOperations]),
+ });
+ api.bindEditEvent({data: {id: "database"}, menuElement: {querySelector: () => ({getAttribute: () => "key"})}});
+ assert.deepEqual(JSON.parse(JSON.stringify(changes)), [[
+ [{action: "setAttrViewColLocationDefaultCoordinateSystem", id: "key", avID: "database", data: "bd09"}],
+ [{action: "setAttrViewColLocationDefaultCoordinateSystem", id: "key", avID: "database", data: "unknown"}],
+ ]]);
+ assert.equal(column.location.defaultCoordinateSystem, "bd09");
+});
diff --git a/app/src/protyle/render/av/locationColumn.ts b/app/src/protyle/render/av/locationColumn.ts
new file mode 100644
index 0000000000..5507642e8f
--- /dev/null
+++ b/app/src/protyle/render/av/locationColumn.ts
@@ -0,0 +1,72 @@
+import {MenuItem} from "../../../menus/Menu";
+import {Menu} from "../../../plugin/Menu";
+import {isMobile} from "../../../util/functions";
+
+export const bindLocationDefaultCoordinateSystem = (options: {
+ menuElement: HTMLElement;
+ column: IAVColumn;
+ onChange: (system: IAVCellLocationValue["coordinateSystem"]) => void;
+}) => {
+ const target = options.menuElement.querySelector('[data-type="locationDefaultCoordinateSystem"]');
+ if (!target) {
+ return;
+ }
+ const systems: Array<[IAVCellLocationValue["coordinateSystem"], string]> = [
+ ["unknown", window.siyuan.languages.coordinateSystemUnknown], ["wgs84", "WGS84"],
+ ["gcj02", "GCJ-02"], ["bd09", "BD-09"],
+ ];
+ const items: IMenu[] = systems.map(([system, label]) => ({
+ label,
+ iconHTML: "",
+ checked: (options.column.location?.defaultCoordinateSystem || "unknown") === system,
+ click: () => {
+ if (system !== (options.column.location?.defaultCoordinateSystem || "unknown")) {
+ options.onChange(system);
+ }
+ options.menuElement.closest(".av__panel")?.remove();
+ },
+ }));
+ const item = new MenuItem({icon: "iconPin", label: window.siyuan.languages.defaultCoordinateSystem, submenu: items});
+ target.replaceWith(item.element);
+ item.element.dataset.type = "locationDefaultCoordinateSystem";
+ item.element.setAttribute("title", window.siyuan.languages.defaultCoordinateSystemTip);
+ const submenu = item.element.querySelector<HTMLElement>(".b3-menu__submenu");
+ const show = () => {
+ item.element.classList.add("b3-menu__item--show");
+ window.siyuan.menus.menu.showSubMenu(submenu);
+ };
+ if (!isMobile()) {
+ item.element.addEventListener("mouseenter", show);
+ item.element.addEventListener("keydown", event => {
+ if (event.key === "ArrowRight") {
+ event.preventDefault();
+ event.stopPropagation();
+ show();
+ submenu.querySelector<HTMLButtonElement>(".b3-menu__item").focus();
+ } else if (event.key === "ArrowLeft" || event.key === "Escape") {
+ event.preventDefault();
+ event.stopPropagation();
+ item.element.classList.remove("b3-menu__item--show");
+ item.element.focus();
+ }
+ });
+ options.menuElement.addEventListener("mouseover", event => {
+ const hovered = (event.target as Element).closest(".b3-menu__item");
+ if (hovered && !item.element.contains(hovered)) {
+ item.element.classList.remove("b3-menu__item--show");
+ }
+ });
+ }
+ item.element.addEventListener("click", event => {
+ event.preventDefault();
+ event.stopPropagation();
+ if (isMobile()) {
+ const menu = new Menu(undefined, undefined, true);
+ items.forEach(choice => menu.addItem(choice));
+ const rect = item.element.getBoundingClientRect();
+ menu.open({x: rect.left, y: rect.bottom, h: rect.height});
+ } else {
+ show();
+ }
+ });
+};
diff --git a/app/src/protyle/render/av/locationEditor.test.ts b/app/src/protyle/render/av/locationEditor.test.ts
new file mode 100644
index 0000000000..76f4fcfc70
--- /dev/null
+++ b/app/src/protyle/render/av/locationEditor.test.ts
@@ -0,0 +1,366 @@
+import * as assert from "node:assert/strict";
+import {readFileSync} from "node:fs";
+import {describe, it} from "node:test";
+import {runInNewContext} from "node:vm";
+import {ModuleKind, ScriptTarget, transpileModule} from "typescript";
+import * as locationValue from "./locationValue";
+
+const compiled = transpileModule(readFileSync("src/protyle/render/av/locationEditor.ts", "utf8"), {
+ compilerOptions: {module: ModuleKind.CommonJS, target: ScriptTarget.ES2020},
+}).outputText;
+
+class Control {
+ value = "";
+ disabled = false;
+ textContent = "";
+ style: Record<string, string> = {};
+ dataset: Record<string, string> = {};
+ listeners = new Map<string, (event: any) => void>();
+ classes = new Set<string>();
+ classList = {
+ toggle: (name: string, enabled: boolean) => enabled ? this.classes.add(name) : this.classes.delete(name),
+ };
+ focused = false;
+ focus() {
+ this.focused = true;
+ }
+ appendChild() {}
+ addEventListener(name: string, handler: (event: any) => void) {
+ this.listeners.set(name, handler);
+ }
+ dispatch(name: string, event = {}) {
+ this.listeners.get(name)?.(event);
+ }
+}
+
+const createEditor = (options: {
+ value?: IAVCellLocationValue;
+ mobile?: boolean;
+ isValid?: () => boolean;
+ alreadyOpen?: boolean;
+ save?: (value: IAVCellLocationValue) => Promise<void>;
+} = {}) => {
+ const fields = Object.fromEntries(["name", "latitude", "longitude", "coordinateSystem", "paste"]
+ .map(name => [name, new Control()]));
+ const buttons = Object.fromEntries(["save", "clear", "cancel", "parse"].map(name => [name, new Control()]));
+ const container = new Control();
+ const error = new Control();
+ const lifecycle: string[] = [];
+ const saved: IAVCellLocationValue[] = [];
+ const owner = {isConnected: true};
+ const root = Object.assign(new Control(), {
+ contains: () => true,
+ querySelector: (selector: string) => {
+ if (selector === ".b3-dialog__container") {
+ return container;
+ }
+ if (selector === '[data-role="error"]') {
+ return error;
+ }
+ const field = selector.match(/data-field="(\w+)"/);
+ const action = selector.match(/data-action="(\w+)"/);
+ return field ? fields[field[1]] : buttons[action[1]];
+ },
+ querySelectorAll: () => [...Object.values(fields), ...Object.values(buttons)],
+ });
+ let markup = "";
+ let ownerChanged: () => void;
+ let closeSheet: () => Promise<void>;
+ class MockDialog {
+ element = root;
+ options: {destroyCallback: () => void};
+ constructor(settings: {content: string; destroyCallback: () => void}) {
+ markup = settings.content;
+ this.options = settings;
+ }
+ destroy() {
+ lifecycle.push("destroy");
+ this.options.destroyCallback();
+ }
+ }
+ const methods = {} as typeof import("./locationEditor");
+ const modules: Record<string, unknown> = {
+ "../../../dialog": {Dialog: MockDialog},
+ "../../../util/escape": {escapeHtml: (text: string) => text},
+ "../../../util/functions": {isMobile: () => !!options.mobile},
+ "../../../mobile/util/bindBottomSheetDialog": {bindBottomSheetDialog: (_dialog: unknown, close: () => Promise<void>) => {
+ closeSheet = close;
+ lifecycle.push("sheet");
+ return () => lifecycle.push("dispose-sheet");
+ }},
+ "../../../mobile/util/keyboardToolbar": {activeBlur: () => lifecycle.push("blur")},
+ "./editorSession": {beginAVEditorSession: () => {
+ lifecycle.push("session");
+ return () => lifecycle.push("end-session");
+ }},
+ "./locationValue": locationValue,
+ "./cellEditor": {AV_CELL_EDITOR_CLOSE_EVENT: "siyuan-av-cell-editor-close"},
+ };
+ runInNewContext(compiled, {
+ exports: methods,
+ require: (name: string) => modules[name],
+ Error,
+ window: {siyuan: {languages: new Proxy({}, {get: (_target, property) => String(property)})}},
+ document: {body: {}, activeElement: null, createElement: () => new Control(),
+ querySelector: () => options.alreadyOpen ? {} : null},
+ MutationObserver: class {
+ constructor(callback: () => void) {
+ ownerChanged = callback;
+ }
+ observe() {}
+ disconnect() {
+ lifecycle.push("disconnect");
+ }
+ },
+ });
+ const dialog = methods.openAVLocationEditor({
+ value: options.value,
+ ownerElement: owner as HTMLElement,
+ avBlockID: "database-block",
+ isValid: options.isValid,
+ onSave: async value => {
+ saved.push(JSON.parse(JSON.stringify(value)));
+ await options.save?.(value);
+ },
+ onDestroy: () => lifecycle.push("on-destroy"),
+ });
+ return {
+ fields, buttons, error, root, lifecycle, saved, owner, dialog, markup,
+ ownerChanged: () => ownerChanged(),
+ closeSheet: () => closeSheet(),
+ settle: () => new Promise<void>(resolve => setImmediate(resolve)),
+ key: (key: string, extra: Record<string, unknown> = {}) => root.dispatch("keydown", {
+ key, preventDefault() {}, stopPropagation() {}, ...extra,
+ }),
+ };
+};
+
+describe("database location editor", () => {
+ it("does not create overlapping editors on repeated open events", () => {
+ const editor = createEditor({alreadyOpen: true});
+ assert.equal(editor.dialog, undefined);
+ assert.deepEqual(editor.lifecycle, ["on-destroy"]);
+ assert.equal(editor.markup, "");
+ });
+ it("cancels on navigation even when the reused editor owner remains connected", async () => {
+ const editor = createEditor();
+ editor.fields.name.value = "Unsaved";
+ editor.root.dispatch("siyuan-av-cell-editor-close");
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.saved.length, 0);
+ assert.equal(editor.owner.isConnected, true);
+ assert.equal(editor.lifecycle.filter(item => item === "destroy").length, 1);
+ });
+
+ it("rejects a stale block or row identity without waiting for the owner to disconnect", async () => {
+ let current = true;
+ const editor = createEditor({isValid: () => current});
+ editor.fields.name.value = "Unsaved";
+ current = false;
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.saved.length, 0);
+ assert.equal(editor.owner.isConnected, true);
+ assert.equal(editor.lifecycle.includes("destroy"), true);
+ });
+
+ it("keeps raw invalid coordinate input visible after Save", async () => {
+ const editor = createEditor();
+ for (const [latitude, longitude] of [["oops", "0"], ["0", ""], ["91", "0"], ["0", "181"], ["1e2", "0"]]) {
+ editor.fields.latitude.value = latitude;
+ editor.fields.longitude.value = longitude;
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.error.textContent, "invalidCoordinates");
+ assert.equal(editor.fields.latitude.value, latitude);
+ assert.equal(editor.fields.longitude.value, longitude);
+ }
+ assert.equal(editor.saved.length, 0);
+ assert.equal(editor.lifecycle.includes("destroy"), false);
+ });
+
+ it("preserves exact provenance when only the name changes", async () => {
+ const initial = {name: "Old", latitude: 0, longitude: 0, originalInput: " 0.00, +0 "};
+ const editor = createEditor({value: initial});
+ assert.equal(editor.fields.paste.value, initial.originalInput);
+ editor.fields.name.value = "New";
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.deepEqual(editor.saved, [{...initial, name: "New", coordinateSystem: "unknown"}]);
+ assert.equal(initial.name, "Old");
+ });
+
+ it("clears provenance on manual coordinates or CRS changes", async () => {
+ for (const field of ["latitude", "longitude", "coordinateSystem"]) {
+ const editor = createEditor({value: {latitude: 0, longitude: 0, originalInput: "0,0"}});
+ editor.fields[field].value = field === "coordinateSystem" ? "gcj02" : "1";
+ editor.fields[field].dispatch(field === "coordinateSystem" ? "change" : "input");
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.saved.length, 1);
+ assert.equal(editor.saved[0].originalInput, "");
+ assert.equal(editor.fields.paste.value, "");
+ }
+ });
+
+ it("keeps failed imports and existing coordinates untouched, then saves an exact re-paste", async () => {
+ const editor = createEditor({value: {latitude: 0, longitude: 0, originalInput: "0,0"}});
+ editor.fields.paste.value = "121,31";
+ editor.buttons.parse.dispatch("click");
+ assert.equal(editor.error.textContent, "invalidCoordinates");
+ assert.equal(editor.fields.paste.value, "121,31");
+ assert.equal(editor.fields.latitude.value, "0");
+ assert.equal(editor.fields.longitude.value, "0");
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.saved.length, 0);
+ assert.equal(editor.lifecycle.includes("destroy"), false);
+ const source = " +0.00, 0.000\n";
+ editor.fields.paste.value = source;
+ editor.buttons.parse.dispatch("click");
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.saved.length, 1);
+ assert.equal(editor.saved[0].originalInput, source);
+ assert.equal(editor.fields.paste.value, source);
+ });
+
+ it("keeps valid pending imports until explicitly confirmed and removes both old coordinates", async () => {
+ const editor = createEditor({value: {name: "Office", latitude: 31, longitude: 121, originalInput: "31,121"}});
+ editor.fields.paste.value = "0,0";
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.saved.length, 0);
+ assert.equal(editor.buttons.parse.focused, true);
+ assert.equal(editor.fields.paste.value, "0,0");
+ editor.fields.paste.value = "";
+ editor.fields.latitude.value = "";
+ editor.fields.longitude.value = "";
+ editor.fields.latitude.dispatch("input");
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.deepEqual(editor.saved, [{name: "Office", latitude: null, longitude: null,
+ coordinateSystem: "unknown", originalInput: ""}]);
+ });
+
+ it("opens very small stored decimal coordinates without invalid exponent notation", async () => {
+ const editor = createEditor({value: {latitude: 1e-7, longitude: -1e-8}});
+ assert.equal(editor.fields.latitude.value, "0.0000001");
+ assert.equal(editor.fields.longitude.value, "-0.00000001");
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.saved.length, 0);
+ assert.equal(editor.lifecycle.includes("destroy"), true);
+ });
+
+ it("discards edits on Cancel and Escape and produces no unchanged-save transaction", async () => {
+ for (const action of ["cancel", "escape", "save"]) {
+ const editor = createEditor({value: {name: "Office"}});
+ if (action !== "save") {
+ editor.fields.name.value = "Changed";
+ }
+ if (action === "escape") {
+ editor.key("Escape");
+ } else {
+ editor.buttons[action].dispatch("click");
+ }
+ await editor.settle();
+ assert.deepEqual(editor.saved, []);
+ assert.equal(editor.lifecycle.filter(item => item === "end-session").length, 1);
+ assert.equal(editor.lifecycle.filter(item => item === "on-destroy").length, 1);
+ }
+ });
+
+ it("clears a value only through the explicit Clear action", async () => {
+ const editor = createEditor({value: {name: "Office", latitude: 0, longitude: 0, originalInput: "Office"}});
+ editor.buttons.clear.dispatch("click");
+ await editor.settle();
+ assert.deepEqual(editor.saved, [{name: "", latitude: null, longitude: null, coordinateSystem: "unknown", originalInput: ""}]);
+ });
+
+ it("prevents repeated submissions while saving", async () => {
+ let complete: () => void;
+ const editor = createEditor({save: () => new Promise<void>(resolve => complete = resolve)});
+ editor.fields.name.value = "Office";
+ editor.buttons.save.dispatch("click");
+ editor.buttons.save.dispatch("click");
+ editor.buttons.clear.dispatch("click");
+ assert.equal(editor.saved.length, 1);
+ assert.equal(editor.buttons.save.disabled, true);
+ complete();
+ await editor.settle();
+ assert.equal(editor.lifecycle.filter(item => item === "destroy").length, 1);
+ });
+
+ it("retains fields and enables retry after a rejected save", async () => {
+ let fail = true;
+ const editor = createEditor({save: async () => {
+ if (fail) {
+ throw new Error("save failed");
+ }
+ }});
+ editor.fields.name.value = "Office";
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.error.textContent, "save failed");
+ assert.equal(editor.fields.name.value, "Office");
+ assert.equal(editor.buttons.save.disabled, false);
+ assert.equal(editor.lifecycle.includes("destroy"), false);
+ fail = false;
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.lifecycle.includes("destroy"), true);
+ });
+
+ it("does not submit or cancel during IME composition", async () => {
+ const editor = createEditor();
+ editor.fields.name.value = "Office";
+ editor.root.dispatch("compositionstart");
+ editor.key("Escape");
+ editor.key("Enter", {ctrlKey: true});
+ editor.buttons.save.dispatch("click");
+ assert.equal(editor.lifecycle.includes("destroy"), false);
+ assert.equal(editor.saved.length, 0);
+ editor.root.dispatch("compositionend");
+ editor.key("Escape", {isComposing: true});
+ editor.key("Escape", {keyCode: 229});
+ assert.equal(editor.lifecycle.includes("destroy"), false);
+ editor.key("Enter", {ctrlKey: true});
+ await editor.settle();
+ assert.equal(editor.saved.length, 1);
+ });
+
+ it("discards and cleans up when its owner disconnects", async () => {
+ const editor = createEditor({mobile: true});
+ editor.fields.name.value = "Unsaved";
+ assert.equal(editor.root.dataset.avBlockId, "database-block");
+ assert.equal(editor.lifecycle.includes("sheet"), true);
+ editor.owner.isConnected = false;
+ editor.ownerChanged();
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.saved.length, 0);
+ assert.equal(editor.lifecycle.filter(item => item === "dispose-sheet").length, 1);
+ assert.equal(editor.lifecycle.filter(item => item === "end-session").length, 1);
+ assert.equal(editor.lifecycle.filter(item => item === "on-destroy").length, 1);
+ });
+
+ it("uses mobile sheet dismissal as cancel without opening the keyboard eagerly", async () => {
+ const editor = createEditor({mobile: true});
+ assert.equal(editor.fields.name.focused, false);
+ editor.fields.name.value = "Unsaved";
+ await editor.closeSheet();
+ assert.equal(editor.saved.length, 0);
+ assert.equal(editor.lifecycle.includes("blur"), true);
+ });
+
+ it("requires an explicit valid coordinate system instead of silently guessing", async () => {
+ const editor = createEditor({value: {coordinateSystem: "custom" as IAVCellLocationValue["coordinateSystem"]}});
+ assert.equal(editor.fields.coordinateSystem.value, "custom");
+ editor.buttons.save.dispatch("click");
+ await editor.settle();
+ assert.equal(editor.error.textContent, "invalidCoordinateSystem");
+ assert.equal(editor.saved.length, 0);
+ });
+});
diff --git a/app/src/protyle/render/av/locationEditor.ts b/app/src/protyle/render/av/locationEditor.ts
new file mode 100644
index 0000000000..50cca43327
--- /dev/null
+++ b/app/src/protyle/render/av/locationEditor.ts
@@ -0,0 +1,265 @@
+import {Dialog} from "../../../dialog";
+import {escapeHtml} from "../../../util/escape";
+import {isMobile} from "../../../util/functions";
+import {bindBottomSheetDialog} from "../../../mobile/util/bindBottomSheetDialog";
+/// #if MOBILE
+import {activeBlur} from "../../../mobile/util/keyboardToolbar";
+/// #endif
+import {beginAVEditorSession} from "./editorSession";
+import {AV_CELL_EDITOR_CLOSE_EVENT} from "./cellEditor";
+import {
+ areAVLocationsEqual,
+ createAVLocationReplacement,
+ formatAVLocationCoordinate,
+ isAVLocationCoordinateSystem,
+ parseAVLocationCoordinate,
+ parseAVLocationCoordinates,
+ validateAVLocation,
+} from "./locationValue";
+
+interface AVLocationEditorOptions {
+ value?: IAVCellLocationValue;
+ onSave: (value: IAVCellLocationValue) => void | Promise<void>;
+ onDestroy?: () => void;
+ ownerElement?: HTMLElement;
+ avBlockID?: string;
+ isValid?: () => boolean;
+}
+
+export const openAVLocationEditor = (options: AVLocationEditorOptions) => {
+ if (document.querySelector('[data-av-location-editor]:not([data-dialog-closing="true"])')) {
+ options.onDestroy?.();
+ return;
+ }
+ const initial = createAVLocationReplacement(options.value);
+ const mobile = isMobile();
+ const languages = window.siyuan.languages;
+ let originalInput = initial.originalInput;
+ let parsedInput: string | undefined;
+ let saving = false;
+ let closing = false;
+ let composing = false;
+ let disposeSheet: (() => void) | undefined;
+ let ownerObserver: MutationObserver | undefined;
+ const endEditorSession = options.ownerElement ? beginAVEditorSession(options.ownerElement) : undefined;
+ const dialog = new Dialog({
+ title: escapeHtml(languages.location),
+ width: mobile ? "100vw" : "480px",
+ content: `<div class="b3-dialog__content">
+ <label class="fn__block">${escapeHtml(languages.locationName)}<input class="b3-text-field fn__block" data-field="name" type="text" style="width:100%"></label>
+ <div class="fn__hr"></div>
+ <label class="fn__block">${escapeHtml(languages.latitude)}<input class="b3-text-field fn__block" data-field="latitude" type="text" inputmode="decimal" spellcheck="false" style="width:100%"></label>
+ <div class="fn__hr"></div>
+ <label class="fn__block">${escapeHtml(languages.longitude)}<input class="b3-text-field fn__block" data-field="longitude" type="text" inputmode="decimal" spellcheck="false" style="width:100%"></label>
+ <div class="fn__hr"></div>
+ <label class="fn__block">${escapeHtml(languages.coordinateSystem)}<select class="b3-select fn__block" data-field="coordinateSystem" style="width:100%">
+ <option value="unknown">${escapeHtml(languages.coordinateSystemUnknown)}</option>
+ <option value="wgs84">WGS84</option><option value="gcj02">GCJ-02</option><option value="bd09">BD-09</option>
+ </select></label>
+ <div class="b3-label__text">${escapeHtml(languages.coordinateSystemTip)}</div>
+ <div class="fn__hr"></div>
+ <label class="fn__block">${escapeHtml(languages.pasteCoordinates)} (${escapeHtml(languages.latitude)}, ${escapeHtml(languages.longitude)})<textarea class="b3-text-field fn__block" data-field="paste" rows="2" spellcheck="false" style="width:100%"></textarea></label>
+ <div class="b3-label__text">${escapeHtml(languages.coordinateOrderTip)}</div>
+ <button type="button" class="b3-button b3-button--outline" data-action="parse">${escapeHtml(languages.confirm)}</button>
+ <div class="ft__error fn__none" data-role="error" role="alert" aria-live="polite"></div>
+</div>
+<div class="b3-dialog__action">
+ <button type="button" class="b3-button b3-button--text" data-action="clear">${escapeHtml(languages.clear)}</button>
+ <span class="fn__flex-1"></span>
+ <button type="button" class="b3-button b3-button--cancel" data-action="cancel">${escapeHtml(languages.cancel)}</button>
+ <span class="fn__space"></span>
+ <button type="button" class="b3-button b3-button--text" data-action="save">${escapeHtml(languages.save)}</button>
+</div>`,
+ destroyCallback: () => options.onDestroy?.(),
+ });
+ const root = dialog.element;
+ root.dataset.avLocationEditor = "true";
+ if (options.avBlockID) {
+ root.dataset.avBlockId = options.avBlockID;
+ }
+ const container = root.querySelector<HTMLElement>(".b3-dialog__container");
+ container.style.maxHeight = mobile ? "min(80vh, 100%)" : "90vh";
+ const nameInput = root.querySelector<HTMLInputElement>('[data-field="name"]');
+ const latitudeInput = root.querySelector<HTMLInputElement>('[data-field="latitude"]');
+ const longitudeInput = root.querySelector<HTMLInputElement>('[data-field="longitude"]');
+ const systemInput = root.querySelector<HTMLSelectElement>('[data-field="coordinateSystem"]');
+ const pasteInput = root.querySelector<HTMLTextAreaElement>('[data-field="paste"]');
+ const errorElement = root.querySelector<HTMLElement>('[data-role="error"]');
+ const controls = root.querySelectorAll<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | HTMLButtonElement>(
+ "input, select, textarea, button");
+ nameInput.value = initial.name || "";
+ latitudeInput.value = initial.latitude == null ? "" : formatAVLocationCoordinate(initial.latitude);
+ longitudeInput.value = initial.longitude == null ? "" : formatAVLocationCoordinate(initial.longitude);
+ pasteInput.value = initial.originalInput || "";
+ parsedInput = pasteInput.value;
+ const initialSystem = initial.coordinateSystem || "unknown";
+ // 无法识别的旧值保持可见,由用户明确选择后再保存。
+ if (!isAVLocationCoordinateSystem(initialSystem)) {
+ const option = document.createElement("option");
+ option.value = initialSystem;
+ option.textContent = initialSystem;
+ systemInput.appendChild(option);
+ }
+ systemInput.value = initialSystem;
+
+ const setError = (message = "") => {
+ errorElement.textContent = message;
+ errorElement.classList.toggle("fn__none", !message);
+ };
+ const destroy = dialog.destroy.bind(dialog);
+ dialog.destroy = (destroyOptions?: IObject) => {
+ if (closing) {
+ return;
+ }
+ closing = true;
+ ownerObserver?.disconnect();
+ disposeSheet?.();
+ /// #if MOBILE
+ if (mobile && root.contains(document.activeElement)) {
+ activeBlur(true);
+ }
+ /// #endif
+ destroy(destroyOptions);
+ endEditorSession?.();
+ };
+
+ const isOwnerConnected = () => (!options.ownerElement || options.ownerElement.isConnected) &&
+ (!options.isValid || options.isValid());
+ const submit = async (clear = false) => {
+ if (saving || closing || composing) {
+ return;
+ }
+ if (!isOwnerConnected()) {
+ dialog.destroy();
+ return;
+ }
+ let value: IAVCellLocationValue = {coordinateSystem: "unknown"};
+ if (!clear) {
+ if (!isAVLocationCoordinateSystem(systemInput.value)) {
+ setError(languages.invalidCoordinateSystem);
+ systemInput.focus();
+ return;
+ }
+ // 未确认的导入文本不能在保存时被静默丢弃,错误输入也保持原样可编辑。
+ if (pasteInput.value.trim() && pasteInput.value !== parsedInput) {
+ const valid = parseAVLocationCoordinates(pasteInput.value, systemInput.value);
+ setError(valid ? `${languages.pasteCoordinates}: ${languages.confirm}` : languages.invalidCoordinates);
+ if (valid) {
+ root.querySelector<HTMLButtonElement>('[data-action="parse"]').focus();
+ } else {
+ pasteInput.focus();
+ }
+ return;
+ }
+ value = {name: nameInput.value.trim(), coordinateSystem: systemInput.value};
+ if (latitudeInput.value.trim() || longitudeInput.value.trim()) {
+ value.latitude = parseAVLocationCoordinate(latitudeInput.value);
+ value.longitude = parseAVLocationCoordinate(longitudeInput.value);
+ if (value.latitude === undefined || value.longitude === undefined) {
+ setError(languages.invalidCoordinates);
+ return;
+ }
+ }
+ if (originalInput !== undefined) {
+ value.originalInput = originalInput;
+ }
+ if (!validateAVLocation(value)) {
+ setError(languages.invalidCoordinates);
+ return;
+ }
+ }
+ value = createAVLocationReplacement(value);
+ // 保存来源变化,但普通关闭与未修改的保存不产生事务。
+ if (areAVLocationsEqual(initial, value) && initial.originalInput === value.originalInput) {
+ dialog.destroy();
+ return;
+ }
+ saving = true;
+ controls.forEach(control => control.disabled = true);
+ setError();
+ try {
+ await options.onSave(value);
+ dialog.destroy();
+ } catch (error) {
+ if (!closing) {
+ setError(error instanceof Error ? error.message : languages.invalid);
+ }
+ } finally {
+ saving = false;
+ if (!closing) {
+ controls.forEach(control => control.disabled = false);
+ }
+ }
+ };
+
+ const clearProvenance = () => {
+ originalInput = undefined;
+ if (pasteInput.value === parsedInput) {
+ pasteInput.value = "";
+ parsedInput = undefined;
+ }
+ setError();
+ };
+ [latitudeInput, longitudeInput].forEach(input => input.addEventListener("input", clearProvenance));
+ systemInput.addEventListener("change", clearProvenance);
+ root.addEventListener("compositionstart", () => composing = true);
+ root.addEventListener("compositionend", () => composing = false);
+ root.addEventListener("keydown", (event: KeyboardEvent) => {
+ if (event.isComposing || composing || event.keyCode === 229) {
+ // 输入法候选确认与取消不得触发对话框提交或全局 Escape 处理。
+ event.stopPropagation();
+ return;
+ }
+ if (event.key === "Escape") {
+ event.preventDefault();
+ event.stopPropagation();
+ if (!saving) {
+ dialog.destroy();
+ }
+ } else if (event.key === "Enter" && (event.ctrlKey || event.metaKey) && !event.repeat) {
+ event.preventDefault();
+ event.stopPropagation();
+ void submit();
+ }
+ }, true);
+ root.querySelector('[data-action="cancel"]').addEventListener("click", () => dialog.destroy());
+ root.addEventListener(AV_CELL_EDITOR_CLOSE_EVENT, () => dialog.destroy());
+ root.querySelector('[data-action="clear"]').addEventListener("click", () => void submit(true));
+ root.querySelector('[data-action="save"]').addEventListener("click", () => void submit());
+ root.querySelector('[data-action="parse"]').addEventListener("click", () => {
+ if (saving || closing || composing) {
+ return;
+ }
+ if (!isAVLocationCoordinateSystem(systemInput.value)) {
+ setError(languages.invalidCoordinateSystem);
+ return;
+ }
+ const parsed = parseAVLocationCoordinates(pasteInput.value, systemInput.value);
+ if (!parsed) {
+ setError(languages.invalidCoordinates);
+ return;
+ }
+ latitudeInput.value = formatAVLocationCoordinate(parsed.latitude);
+ longitudeInput.value = formatAVLocationCoordinate(parsed.longitude);
+ originalInput = parsed.originalInput;
+ parsedInput = pasteInput.value;
+ setError();
+ });
+ if (mobile) {
+ disposeSheet = bindBottomSheetDialog(dialog, async () => dialog.destroy());
+ } else {
+ nameInput.focus();
+ }
+ if (options.ownerElement) {
+ ownerObserver = new MutationObserver(() => {
+ if (!isOwnerConnected()) {
+ dialog.destroy();
+ }
+ });
+ ownerObserver.observe(document.body, {childList: true, subtree: true});
+ if (!isOwnerConnected()) {
+ dialog.destroy();
+ }
+ }
+ return dialog;
+};
diff --git a/app/src/protyle/render/av/locationIntegration.test.ts b/app/src/protyle/render/av/locationIntegration.test.ts
new file mode 100644
index 0000000000..92a1cf3556
--- /dev/null
+++ b/app/src/protyle/render/av/locationIntegration.test.ts
@@ -0,0 +1,220 @@
+import * as assert from "node:assert/strict";
+import {readFileSync} from "node:fs";
+import {test} from "node:test";
+import {runInNewContext} from "node:vm";
+import {ModuleKind, ScriptTarget, transpileModule} from "typescript";
+import * as capabilities from "./capabilities";
+import * as cellValue from "./cellValue";
+import * as locationValue from "./locationValue";
+import * as batchValue from "./batchValue";
+import * as dragFillValue from "./dragFillValue";
+import * as escape from "../../../util/escape";
+import {genAVDragFillValue} from "./dragFillValue";
+import {inferAVPasteColumnType} from "./paste";
+
+const loadModule = <T>(file: string, extra: Record<string, unknown> = {}) => {
+ const methods = {} as T;
+ runInNewContext(transpileModule(readFileSync(`src/protyle/render/av/${file}.ts`, "utf8"), {
+ compilerOptions: {module: ModuleKind.CommonJS, target: ScriptTarget.ES2022},
+ }).outputText, {
+ exports: methods,
+ window: {siyuan: {languages: {empty: "Empty", copy: "Copy", locationPasteInEditor: "Use the location editor"}}},
+ require: (name: string) => ({
+ "./capabilities": capabilities,
+ "./cellValue": cellValue,
+ "./locationValue": locationValue,
+ "./batchValue": batchValue,
+ "./dragFillValue": dragFillValue,
+ "../../../util/functions": {objEquals: (left: unknown, right: unknown) => JSON.stringify(left) === JSON.stringify(right)},
+ "../../../util/escape": escape,
+ ...extra,
+ })[name] || {},
+ });
+ return methods;
+};
+
+const cell = loadModule<typeof import("./cell")>("cell");
+
+test("location cells render the same escaped canonical value in all layouts and row attributes", () => {
+ const value: IAVCellValue = {type: "location", location: {
+ name: "<Home>", latitude: 0, longitude: 180, coordinateSystem: "wgs84", originalInput: "untrusted raw",
+ }};
+ for (const type of ["table", "list", "gallery", "kanban"] as TAVView[]) {
+ const html = cell.renderCell(value, 0, false, type);
+ assert.match(html, /&lt;Home&gt;; 0, 180 \[WGS84\]/);
+ assert.doesNotMatch(html, /<Home>/);
+ const data = /data-cell-value="([^"]+)"/.exec(html)?.[1];
+ assert.deepEqual(JSON.parse(decodeURIComponent(data)), value);
+ assert.match(html, /data-type="copy"/);
+ }
+ const attr = loadModule<typeof import("./attributeValue")>("attributeValue");
+ const html = attr.genAVValueHTML(value);
+ assert.match(html, /&lt;Home>; 0, 180 \[WGS84\]/);
+ assert.match(html, /data-cell-value=/);
+ const rollupHTML = cell.renderCell({type: "rollup", rollup: {contents: [value]}}, 0, false, "table");
+ assert.match(rollupHTML, /0, 180 \[WGS84\]/);
+});
+
+test("location generic paste keeps place names and rejects coordinates without guessing", () => {
+ const raw = " Home ";
+ const value = cell.genCellValue("location", raw);
+ assert.equal(value.location.name, raw.trim());
+ assert.equal(value.location.originalInput, raw);
+ assert.equal(value.location.coordinateSystem, "unknown");
+ assert.equal(value.location.latitude, null);
+ assert.equal(value.location.longitude, null);
+ for (const text of ["31.20, 121.40", "91, 0", "Home; 0, 0 [unknown]"]) {
+ assert.throws(() => cell.genCellValue("location", text));
+ }
+ assert.equal(inferAVPasteColumnType(["31.20, 121.40", "0, 0"]), "text");
+ assert.deepEqual(cell.genCellValue("location", "").location, locationValue.createAVLocationReplacement());
+});
+
+test("location snapshots, drag fill and empty values retain structured zero coordinates", () => {
+ const value: IAVCellValue = {type: "location", keyID: "key", blockID: "row", location: {
+ name: "Origin", latitude: 0, longitude: 0, coordinateSystem: "unknown", originalInput: "+0.0, -0.0",
+ }};
+ assert.equal(cellValue.cellValueIsEmpty(value), false);
+ const cloned = genAVDragFillValue(value, {id: "next", keyID: "other", blockID: "other-row"});
+ assert.deepEqual(cloned.location, value.location);
+ assert.notEqual(cloned.location, value.location);
+ assert.equal(cloned.keyID, "other");
+ assert.equal(cellValue.cellValueIsEmpty({type: "location", location: {originalInput: "raw only"}}), true);
+ assert.equal(cellValue.cellValueIsEmpty(cellValue.genEmptyAVCellValue("location")), true);
+ assert.equal(cellValue.cellValueIsEmpty(cellValue.createEmptyAVValue("key", "location")), true);
+ for (const type of ["text", "number", "date", "checkbox"] as TAVCol[]) {
+ assert.equal(cellValue.createEmptyAVValue("key", type).location, undefined, type);
+ }
+});
+
+test("location batch editor target validation includes hidden fields and every group", () => {
+ const column = {id: "location", type: "location", hidden: true} as IAVColumn;
+ const cell = {value: {type: "location", location: {name: "Place"}}} as IAVCell;
+ const view = {groups: [
+ {id: "group-a", columns: [column], rows: [{id: "row-a", cells: [cell]}]},
+ {id: "group-b", fields: [column], cards: [{id: "row-b", values: [cell]}]},
+ ]} as unknown as IAVView;
+ for (const rowID of ["row-a", "row-b"]) {
+ assert.equal(cellValue.hasAVCachedCellType(view, rowID, "location", "location"), true);
+ assert.equal(cellValue.hasAVCachedCellType(view, rowID, "location", "text"), false);
+ assert.equal(cellValue.hasAVCachedCellType(view, rowID, "removed-field", "location"), false);
+ }
+ assert.equal(cellValue.hasAVCachedCellType(view, "removed-row", "location", "location"), false);
+});
+
+test("location update, clear, structured paste and undo send full replacement payloads", async () => {
+ const warnings: string[] = [];
+ const cells = loadModule<typeof import("./cell")>("cell", {
+ "../../../dialog/message": {showMessage: (message: string) => warnings.push(message)},
+ });
+ const block = {dataset: {avId: "av", nodeId: "block"}, getAttribute: () => "table"} as unknown as HTMLElement;
+ const oldLocation: IAVCellLocationValue = {name: "Old", latitude: 0, longitude: 0, coordinateSystem: "wgs84", originalInput: "0,0"};
+ const selected = (location?: IAVCellLocationValue): import("./selectionState").IAVSelectedCell[] => [{
+ rowID: "row", colID: "key", groupID: "", colIndex: 0, rowIndex: 0,
+ cell: {id: "value", color: "", bgColor: "", valueType: "location", value: {type: "location", location}},
+ column: {id: "key", type: "location"} as IAVColumn,
+ }];
+ const update = (value: unknown, location: IAVCellLocationValue = oldLocation) => cells.updateCellsValue(
+ {} as IProtyle, block, value, undefined, undefined, undefined, true, false, false, selected(location), false,
+ );
+ for (const input of [undefined, {type: "location", location: {}}, {type: "location", location: {name: "New"}}]) {
+ const result = await update(input);
+ const operation = result.doOperations[0];
+ assert.equal(operation.action, "updateAttrViewCell");
+ if (operation.action !== "updateAttrViewCell") {
+ assert.fail("expected cell update");
+ }
+ assert.equal(operation.data.location.latitude, null);
+ assert.equal(operation.data.location.longitude, null);
+ assert.equal(operation.data.location.originalInput, "");
+ assert.equal(operation.data.location.coordinateSystem, "unknown");
+ const undo = result.undoOperations[0];
+ assert.equal(undo.action, "updateAttrViewCell");
+ if (undo.action !== "updateAttrViewCell") {
+ assert.fail("expected cell undo");
+ }
+ assert.deepEqual(JSON.parse(JSON.stringify(undo.data.location)), oldLocation);
+ }
+ const fromEmpty = await update({type: "location", location: oldLocation}, {});
+ const undo = fromEmpty.undoOperations[0];
+ assert.equal(undo.action, "updateAttrViewCell");
+ if (undo.action === "updateAttrViewCell") {
+ assert.deepEqual(JSON.parse(JSON.stringify(undo.data.location)), locationValue.createAVLocationReplacement());
+ }
+ for (const input of ["91, 0", "31,", "Home; 0, 0 [WGS84]"]) {
+ const result = await update(input);
+ assert.equal(result.doOperations.length, 0);
+ }
+ assert.equal(warnings.length, 3);
+});
+
+test("template and automation value buttons preserve the structured location until explicitly edited", () => {
+ const editor = loadModule<typeof import("./fieldValueEditor")>("fieldValueEditor");
+ const location: IAVCellLocationValue = {latitude: -90, longitude: -180, coordinateSystem: "gcj02", originalInput: "-90, -180"};
+ const column = {type: "location"} as IAVColumn;
+ const html = editor.getValueInputHTML(column, {mode: "static", value: {type: "location", location}});
+ assert.match(html, /data-value-type="location"/);
+ assert.match(html, /-90, -180 \[GCJ-02\]/);
+ const input = {dataset: {location: encodeURIComponent(JSON.stringify(location))}} as unknown as HTMLElement;
+ assert.deepEqual(JSON.parse(JSON.stringify(editor.genFieldValue(column, input))), {
+ type: "location", location: locationValue.createAVLocationReplacement(location),
+ });
+});
+
+test("new template and automation locations use the field default without changing existing unknown values", () => {
+ const editor = loadModule<typeof import("./fieldValueEditor")>("fieldValueEditor");
+ const column = {type: "location", location: {defaultCoordinateSystem: "gcj02"}} as IAVColumn;
+ const readValue = (value?: IAVNewItemFieldValue) => {
+ const html = editor.getValueInputHTML(column, value);
+ return JSON.parse(decodeURIComponent(/data-location="([^"]+)"/.exec(html)[1])) as IAVCellLocationValue;
+ };
+ assert.equal(readValue().coordinateSystem, "gcj02");
+ assert.equal(readValue({mode: "static", value: {type: "location"}}).coordinateSystem, "unknown");
+ assert.equal(readValue({mode: "static", value: {type: "location", location: null}}).coordinateSystem, "unknown");
+ for (const location of [{coordinateSystem: "unknown"}, {name: "Existing"}, {coordinateSystem: "wgs84"}]) {
+ const value = {mode: "static", value: {type: "location", location}} as IAVNewItemFieldValue;
+ assert.deepEqual(readValue(value), location);
+ assert.deepEqual(value.value.location, location);
+ }
+});
+
+test("template and automation location editors are cancelled with their source control", () => {
+ let opened: Parameters<typeof import("./locationEditor").openAVLocationEditor>[0];
+ const editor = loadModule<typeof import("./fieldValueEditor")>("fieldValueEditor", {
+ "./locationEditor": {openAVLocationEditor: (options: typeof opened) => opened = options},
+ });
+ let changes = 0;
+ const target = {
+ dataset: {location: encodeURIComponent(JSON.stringify({name: "Original"}))},
+ isConnected: true,
+ closest: (): HTMLElement => undefined,
+ dispatchEvent: () => changes++,
+ } as unknown as HTMLElement;
+ editor.openFieldLocationEditor(target);
+ assert.equal(opened.ownerElement, target);
+ Object.defineProperty(target, "isConnected", {value: false});
+ opened.onSave({name: "Stale callback"});
+ assert.equal(changes, 0);
+ assert.equal(JSON.parse(decodeURIComponent(target.dataset.location)).name, "Original");
+});
+
+test("location filter input uses text.content and never generates a location value from a search", () => {
+ const source = readFileSync("src/protyle/render/av/filter.ts", "utf8");
+ const start = source.indexOf("const readInlineValue =");
+ const end = source.indexOf("\n};", start) + 3;
+ const compiled = transpileModule(source.slice(start, end) + "\nexports.readInlineValue = readInlineValue;", {
+ compilerOptions: {module: ModuleKind.CommonJS, target: ScriptTarget.ES2022},
+ }).outputText;
+ const methods: {readInlineValue?: (...args: unknown[]) => {newValue: IAVCellValue}} = {};
+ runInNewContext(compiled, {
+ exports: methods,
+ genEmptyCellValue: (type: TAVCol) => ({type}),
+ wrapFilterCellValue: (_filter: IAVFilter, value: IAVCellValue) => value,
+ });
+ const row = {querySelector: () => ({value: "Home"})};
+ const {newValue} = methods.readInlineValue(row, "location", "Contains", {}, {});
+ assert.deepEqual(JSON.parse(JSON.stringify(newValue)), {type: "location", text: {content: "Home"}});
+ const empty = methods.readInlineValue(row, "location", "Is empty", {}, {});
+ assert.equal(empty.newValue.type, "location");
+ assert.equal(empty.newValue.location, undefined);
+});
diff --git a/app/src/protyle/render/av/locationValue.test.ts b/app/src/protyle/render/av/locationValue.test.ts
new file mode 100644
index 0000000000..654bef1183
--- /dev/null
+++ b/app/src/protyle/render/av/locationValue.test.ts
@@ -0,0 +1,105 @@
+import * as assert from "node:assert/strict";
+import {describe, it} from "node:test";
+import {
+ areAVLocationsEqual,
+ createAVLocationFromText,
+ createAVLocationReplacement,
+ formatAVLocationCoordinate,
+ getAVLocationText,
+ isAVLocationCoordinateInput,
+ isAVLocationEmpty,
+ parseAVLocationCoordinates,
+ validateAVLocation,
+} from "./locationValue";
+
+describe("database location values", () => {
+ it("keeps ordinary text as names without inference and replaces stale coordinates", () => {
+ for (const text of [" Office ", "https://maps.example.com/?lat=31&lon=121", "geo:31,121"]) {
+ assert.deepEqual(createAVLocationFromText(text), {
+ name: text.trim(), latitude: null, longitude: null, coordinateSystem: "unknown", originalInput: text,
+ });
+ }
+ });
+
+ it("requires the explicit import flow for coordinate-looking or canonical pasted text", () => {
+ for (const source of ["31.2,121.5", "31,", ",121", "31,121,0", "181,91", "1e-7,-1e-7", "NaN,Infinity", "0,0 [unknown]",
+ "Office; 0, 0 [GCJ-02]", "Office; 0, 0 [BD-09]"]) {
+ assert.equal(isAVLocationCoordinateInput(source), true, source);
+ assert.throws(() => createAVLocationFromText(source));
+ }
+ assert.equal(isAVLocationCoordinateInput("Cafe, 12 Main Street"), false);
+ assert.equal(isAVLocationCoordinateInput("Paris, France"), false);
+ assert.equal(isAVLocationCoordinateInput("Office; Cafe"), false);
+ });
+
+ it("produces complete replacement payloads for clearing merged backend values", () => {
+ assert.deepEqual(createAVLocationReplacement(), {
+ name: "", latitude: null, longitude: null, coordinateSystem: "unknown", originalInput: "",
+ });
+ assert.deepEqual(createAVLocationReplacement({name: "Office", latitude: 0, longitude: 0}), {
+ name: "Office", latitude: 0, longitude: 0, coordinateSystem: "unknown", originalInput: "",
+ });
+ });
+
+ it("validates name-only values and paired, finite coordinates including zero and boundaries", () => {
+ for (const value of [undefined, {}, {name: "Office"}, {coordinateSystem: "" as const}, {latitude: null, longitude: null},
+ {latitude: 0, longitude: 0}, {latitude: -90, longitude: 180}, {latitude: 90, longitude: -180}]) {
+ assert.equal(validateAVLocation(value), true);
+ }
+ for (const value of [{latitude: 0}, {longitude: 0}, {latitude: null, longitude: 0},
+ {latitude: 90.001, longitude: 0}, {latitude: -90.001, longitude: 0},
+ {latitude: 0, longitude: 180.001}, {latitude: 0, longitude: -180.001},
+ {latitude: NaN, longitude: 0}, {latitude: 0, longitude: Infinity},
+ {coordinateSystem: "WGS84"}, {latitude: "0", longitude: 0}]) {
+ assert.equal(validateAVLocation(value as IAVCellLocationValue), false);
+ }
+ });
+
+ it("imports only the explicitly specified latitude, longitude order and exact source", () => {
+ const source = " +31.23040, 121.47370\n";
+ assert.deepEqual(parseAVLocationCoordinates(source), {
+ latitude: 31.2304, longitude: 121.4737, coordinateSystem: "unknown", originalInput: source,
+ });
+ assert.deepEqual(parseAVLocationCoordinates("0, -0", "gcj02"), {
+ latitude: 0, longitude: -0, coordinateSystem: "gcj02", originalInput: "0, -0",
+ });
+ assert.equal(parseAVLocationCoordinates("121.4737,31.2304"), undefined);
+ assert.equal(parseAVLocationCoordinates(".5,-.25", "bd09")?.latitude, .5);
+ });
+
+ it("rejects malformed, out-of-range, partial, nondecimal, and service-link imports", () => {
+ for (const source of ["", "31", "31,", ",121", "31,121,0", "90.1,0", "0,-180.1",
+ "1e1,2e1", "0x10,20", "NaN,0", "Infinity,0", "31 121", "31;121", "31\u00b0N,121\u00b0E",
+ "geo:31,121", "https://example.com/?lat=31&lon=121"]) {
+ assert.equal(parseAVLocationCoordinates(source), undefined, source);
+ }
+ assert.equal(parseAVLocationCoordinates("0,0", "wgs84x" as IAVCellLocationValue["coordinateSystem"]), undefined);
+ });
+
+ it("renders the canonical text without interpreting the coordinate system", () => {
+ assert.equal(getAVLocationText(), "");
+ assert.equal(getAVLocationText({name: " Office "}), "Office");
+ assert.equal(getAVLocationText({latitude: 0, longitude: 0}), "0, 0 [unknown]");
+ for (const system of ["unknown", "wgs84", "gcj02", "bd09"] as const) {
+ assert.equal(getAVLocationText({name: "Office", latitude: 31.2, longitude: 121.5, coordinateSystem: system}),
+ `Office; 31.2, 121.5 [${{unknown: "unknown", wgs84: "WGS84", gcj02: "GCJ-02", bd09: "BD-09"}[system]}]`);
+ }
+ assert.equal(getAVLocationText({latitude: 1e-7, longitude: -1e-8}), "0.0000001, -0.00000001 [unknown]");
+ assert.equal(formatAVLocationCoordinate(1.234e-7), "0.0000001234");
+ assert.equal(formatAVLocationCoordinate(1e21), "1000000000000000000000");
+ assert.equal(formatAVLocationCoordinate(-0), "0");
+ });
+
+ it("excludes provenance from emptiness, display, and semantic equality", () => {
+ const sourceOnly = {originalInput: "private imported source", coordinateSystem: "wgs84" as const};
+ assert.equal(isAVLocationEmpty(sourceOnly), true);
+ assert.equal(getAVLocationText(sourceOnly), "");
+ assert.equal(isAVLocationEmpty({name: " "}), true);
+ assert.equal(isAVLocationEmpty({latitude: 0, longitude: 0}), false);
+ assert.equal(isAVLocationEmpty({name: "Office"}), false);
+ assert.equal(areAVLocationsEqual({name: "Office", originalInput: "a"},
+ {name: "Office", coordinateSystem: "unknown", originalInput: "b"}), true);
+ assert.equal(areAVLocationsEqual({latitude: 0, longitude: 0},
+ {latitude: 0, longitude: 0, coordinateSystem: "wgs84"}), false);
+ });
+});
diff --git a/app/src/protyle/render/av/locationValue.ts b/app/src/protyle/render/av/locationValue.ts
new file mode 100644
index 0000000000..8304b0d0c8
--- /dev/null
+++ b/app/src/protyle/render/av/locationValue.ts
@@ -0,0 +1,116 @@
+const coordinateSystems = new Set(["unknown", "wgs84", "gcj02", "bd09"]);
+const decimalCoordinate = /^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;
+const coordinateInputNumber = "[+-]?(?:(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?|Infinity|NaN)";
+const coordinateInput = new RegExp(`^${coordinateInputNumber}$`, "i");
+const canonicalInput = new RegExp(`(?:^|;\\s*)${coordinateInputNumber}\\s*,\\s*${coordinateInputNumber}\\s*\\[[^\\]]+\\]\\s*$`, "i");
+
+export const isAVLocationCoordinateSystem = (value: string): value is IAVCellLocationValue["coordinateSystem"] => {
+ return coordinateSystems.has(value);
+};
+
+export const hasAVLocationCoordinates = (location?: IAVCellLocationValue) => {
+ return typeof location?.latitude === "number" && Number.isFinite(location.latitude) &&
+ location.latitude >= -90 && location.latitude <= 90 &&
+ typeof location.longitude === "number" && Number.isFinite(location.longitude) &&
+ location.longitude >= -180 && location.longitude <= 180;
+};
+
+export const validateAVLocation = (location?: IAVCellLocationValue) => {
+ if (!location) {
+ return true;
+ }
+ if (location.coordinateSystem !== undefined && location.coordinateSystem !== "" &&
+ !isAVLocationCoordinateSystem(location.coordinateSystem)) {
+ return false;
+ }
+ if ((location.name !== undefined && typeof location.name !== "string") ||
+ (location.originalInput !== undefined && typeof location.originalInput !== "string")) {
+ return false;
+ }
+ return (location.latitude == null && location.longitude == null) || hasAVLocationCoordinates(location);
+};
+
+export const isAVLocationEmpty = (location?: IAVCellLocationValue) => {
+ return !location?.name?.trim() && !hasAVLocationCoordinates(location);
+};
+
+export const formatAVLocationCoordinate = (value: number) => {
+ const text = String(value);
+ if (!text.includes("e")) {
+ return text;
+ }
+ const negative = text.startsWith("-");
+ const [mantissa, exponent] = (negative ? text.slice(1) : text).split("e");
+ const [whole, fraction = ""] = mantissa.split(".");
+ const digits = whole + fraction;
+ const position = whole.length + Number(exponent);
+ const expanded = position <= 0 ? "0." + "0".repeat(-position) + digits :
+ position >= digits.length ? digits + "0".repeat(position - digits.length) :
+ digits.slice(0, position) + "." + digits.slice(position);
+ return (negative ? "-" : "") + expanded;
+};
+
+export const getAVLocationText = (location?: IAVCellLocationValue) => {
+ const name = location?.name?.trim() || "";
+ if (!hasAVLocationCoordinates(location)) {
+ return name;
+ }
+ const system = location.coordinateSystem || "unknown";
+ const label = {unknown: "unknown", wgs84: "WGS84", gcj02: "GCJ-02", bd09: "BD-09"}[system] || "unknown";
+ return `${name ? name + "; " : ""}${formatAVLocationCoordinate(location.latitude)}, ${formatAVLocationCoordinate(location.longitude)} [${label}]`;
+};
+
+// 事务按字段合并,删除旧坐标或来源时必须显式发送空值。
+export const createAVLocationReplacement = (location?: IAVCellLocationValue): IAVCellLocationValue => ({
+ name: location?.name?.trim() || "",
+ latitude: location?.latitude ?? null,
+ longitude: location?.longitude ?? null,
+ coordinateSystem: location?.coordinateSystem || "unknown",
+ originalInput: location?.originalInput ?? "",
+});
+
+export const isAVLocationCoordinateInput = (text: string) => {
+ const parts = text.split(",").map(part => part.trim());
+ return (parts.length > 1 && parts.some(part => part !== "") &&
+ parts.every(part => part === "" || coordinateInput.test(part))) || canonicalInput.test(text);
+};
+
+// 普通粘贴只记录地点名称;坐标文本必须使用明确标注顺序的导入入口。
+export const createAVLocationFromText = (text: string): IAVCellLocationValue => {
+ if (isAVLocationCoordinateInput(text)) {
+ throw new Error("Location coordinates require explicit latitude, longitude input");
+ }
+ return createAVLocationReplacement({name: text.trim(), originalInput: text});
+};
+
+export const parseAVLocationCoordinate = (text: string) => {
+ const value = text.trim();
+ if (!decimalCoordinate.test(value)) {
+ return undefined;
+ }
+ const number = Number(value);
+ return Number.isFinite(number) ? number : undefined;
+};
+
+// 仅用于明确标注“纬度, 经度”的导入入口,不尝试交换坐标或解析地图服务链接。
+export const parseAVLocationCoordinates = (text: string,
+ coordinateSystem: IAVCellLocationValue["coordinateSystem"] = "unknown"):
+ IAVCellLocationValue | undefined => {
+ coordinateSystem = coordinateSystem || "unknown";
+ const parts = text.split(",");
+ if (parts.length !== 2 || !isAVLocationCoordinateSystem(coordinateSystem)) {
+ return undefined;
+ }
+ const latitude = parseAVLocationCoordinate(parts[0]);
+ const longitude = parseAVLocationCoordinate(parts[1]);
+ const value = {latitude, longitude, coordinateSystem, originalInput: text};
+ return hasAVLocationCoordinates(value) ? value : undefined;
+};
+
+// 原始输入仅为来源记录,不参与值的语义比较。
+export const areAVLocationsEqual = (left?: IAVCellLocationValue, right?: IAVCellLocationValue) => {
+ return (left?.name?.trim() || "") === (right?.name?.trim() || "") &&
+ (left?.latitude ?? null) === (right?.latitude ?? null) &&
+ (left?.longitude ?? null) === (right?.longitude ?? null) &&
+ (left?.coordinateSystem || "unknown") === (right?.coordinateSystem || "unknown");
+};
diff --git a/app/src/protyle/render/av/newItemTemplate.ts b/app/src/protyle/render/av/newItemTemplate.ts
index 8c506914ec..c503c1bf1a 100644
--- a/app/src/protyle/render/av/newItemTemplate.ts
+++ b/app/src/protyle/render/av/newItemTemplate.ts
@@ -1,5 +1,6 @@
import {isAVNewItemTemplateType, isAVSelectType} from "./capabilities";
-import {bindFieldLunarDates, genFieldValue, getValueInputHTML, openFieldSelectMenu, getRelationOptions, renderRelationFieldValue, openFieldRelationMenu} from "./fieldValueEditor";
+import {bindFieldLunarDates, genFieldValue, getValueInputHTML, openFieldSelectMenu, getRelationOptions, renderRelationFieldValue, openFieldRelationMenu, openFieldLocationEditor} from "./fieldValueEditor";
+import {isAVLocationEmpty} from "./locationValue";
import {getCalendarCreationDate} from "./calendar/state";
import {Constants} from "../../../constants";
import {Dialog} from "../../../dialog";
@@ -71,6 +72,8 @@ const getPrimaryKeyHTML = (primaryKey: IAVColumn | undefined, itemTemplate: IAVN
const hasFieldValue = (column: IAVColumn, value: IAVCellValue) => {
switch (column.type) {
+ case "location":
+ return !isAVLocationEmpty(value.location);
case "number":
return value.number?.isNotEmpty;
case "date":
@@ -447,7 +450,9 @@ export const openNewItemTemplateDialog = (options: {
}
const column = fields.find(field => field.id === item.closest<HTMLElement>("[data-field-id]")?.dataset.fieldId);
if (column) {
- if (column.type === "relation") {
+ if (column.type === "location") {
+ openFieldLocationEditor(item);
+ } else if (column.type === "relation") {
openFieldRelationMenu(item, column);
} else {
openFieldSelectMenu(item, column);
diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.ts
index 9926c81da4..8cd280b018 100644
--- a/app/src/protyle/util/insertHTML.ts
+++ b/app/src/protyle/util/insertHTML.ts
@@ -26,6 +26,8 @@ import {
} from "./selection";
import {focusByRange, getSelectionOffset, setLastNodeRange} from "./selectionOffsets";
import {Constants} from "../../constants";
+import {showMessage} from "../../dialog/message";
+import {createAVLocationReplacement, isAVLocationCoordinateInput} from "../render/av/locationValue";
import {highlightRender} from "../render/highlightRender";
import {scrollCenter} from "../../util/highlightById";
import {updateAttrViewCellAnimation, updateAVName} from "../render/av/action";
@@ -358,6 +360,20 @@ const pasteAVMatrix = async (options: {
return;
}
const availableColumns = visibleColumns.slice(startColumnIndex);
+ const requiresLocationEditor = availableColumns.some((column, index) => column.type === "location" &&
+ !(options.header && inferableKeyIDs.has(column.id)) && options.values.some(row => {
+ const value = row[index];
+ if (typeof value === "undefined") {
+ return false;
+ }
+ const pasteValue = getAVPasteValueForType(value, "location");
+ const text = typeof pasteValue === "string" ? pasteValue : pasteValue.type === "text" ? pasteValue.text?.content : "";
+ return isAVLocationCoordinateInput(text || "");
+ }));
+ if (requiresLocationEditor) {
+ showMessage(window.siyuan.languages.locationPasteInEditor, 6000, "error");
+ return;
+ }
const usedNames = new Set(options.columns.map(column => column.name));
const changedCellColumnIDs = new Set<string>();
const targetColumns: IAVPasteTargetColumn[] = [];
@@ -588,6 +604,9 @@ const pasteAVMatrix = async (options: {
if (hasCellUpdate && !isNewRow && !targetColumn.isNew) {
const originalValue = originalCellValues.get(`${pasteRows[i].id}:${targetColumn.column.id}`);
if (originalValue) {
+ if (originalValue.type === "location") {
+ originalValue.location = createAVLocationReplacement(originalValue.location);
+ }
cellUndoOperations.push({
action: "updateAttrViewCell",
id: originalValue.id || cellElement.dataset.id,
diff --git a/app/src/protyle/util/transactionContract.ts b/app/src/protyle/util/transactionContract.ts
index df8b6f3e51..80f77f5eec 100644
--- a/app/src/protyle/util/transactionContract.ts
+++ b/app/src/protyle/util/transactionContract.ts
@@ -41,6 +41,7 @@ const transactionActions: Record<IOperation["action"], true> = {
"setAttrViewColIcon": true,
"setAttrViewColDesc": true,
"setAttrViewColAttributePanelVisibility": true,
+ "setAttrViewColLocationDefaultCoordinateSystem": true,
"insertAttrViewBlock": true,
"removeAttrViewBlock": true,
"addAttrViewCol": true,
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts
index bef6c5fdf7..7f5cc1725d 100644
--- a/app/src/protyle/wysiwyg/transaction.ts
+++ b/app/src/protyle/wysiwyg/transaction.ts
@@ -1490,7 +1490,7 @@ export const onTransaction = (protyle: IProtyle, operations: IOperation[], isUnd
"replaceAttrViewBlock", "updateAttrViewColTemplate", "setAttrViewColPin", "addAttrViewView", "setAttrViewColIcon",
"removeAttrViewView", "setAttrViewViewName", "setAttrViewViewIcon", "duplicateAttrViewView", "duplicateAttrViewRow", "sortAttrViewView",
"updateAttrViewColRelation", "setAttrViewColRelationFilters", "setAttrViewPageSize", "updateAttrViewColRollup",
- "setAttrViewColRollupFilters", "sortAttrViewKey", "setAttrViewColDesc", "setAttrViewColAttributePanelVisibility",
+ "setAttrViewColRollupFilters", "sortAttrViewKey", "setAttrViewColDesc", "setAttrViewColAttributePanelVisibility", "setAttrViewColLocationDefaultCoordinateSystem",
"duplicateAttrViewKey", "setAttrViewViewDesc", "setAttrViewCoverFrom", "setAttrViewCoverFromAssetKeyID", "setAttrViewCardCoverPosition",
"setAttrViewBlockView", "setAttrViewBlockVisibleViews", "setAttrViewContextFilter", "setAttrViewCardSize", "setAttrViewCardWidth", "setAttrViewCardAspectRatio",
"setAttrViewConditionalColors", "setAttrViewCalendar", "setAttrViewCardAspectRatioValue", "setAttrViewCardLayout", "setAttrViewColFullRow", "hideAttrViewName", "setAttrViewShowIcon",
diff --git a/app/src/types/api/index.d.ts b/app/src/types/api/index.d.ts
index be07905871..4776be0317 100644
--- a/app/src/types/api/index.d.ts
+++ b/app/src/types/api/index.d.ts
@@ -322,9 +322,9 @@ export type AVGallery = { "cardAspectRatio": number; "cardAspectRatioValue": num
export type AVGalleryCard = { "conditionalColors"?: AVItemConditionalColors; "coverContent": string; "coverPosition"?: AVCardCoverPosition; "coverURL": string; "id": string; "values": Array<AVGalleryFieldValue | null> | null; };
-export type AVGalleryField = { "calc": AVFieldCalc | null; "created"?: AVCreated; "date"?: AVDate; "dateFormat"?: "" | "full" | "month-day-year" | "day-month-year" | "year-month-day" | "lunar"; "desc": string; "fullRow": boolean; "hidden": boolean; "icon": string; "id": string; "name": string; "numberFormat": string; "options"?: Array<AVSelectOption | null>; "relation"?: AVRelation; "renderTemplate"?: string; "rollup"?: AVRollup; "template": string; "type": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVUpdated; "wrap": boolean; } | ({ "fullRow": boolean; } & { "calc"?: never; "created"?: never; "date"?: never; "dateFormat"?: never; "desc"?: never; "hidden"?: never; "icon"?: never; "id"?: never; "name"?: never; "numberFormat"?: never; "options"?: never; "relation"?: never; "renderTemplate"?: never; "rollup"?: never; "template"?: never; "type"?: never; "updated"?: never; "wrap"?: never; });
+export type AVGalleryField = { "calc": AVFieldCalc | null; "created"?: AVCreated; "date"?: AVDate; "dateFormat"?: "" | "full" | "month-day-year" | "day-month-year" | "year-month-day" | "lunar"; "desc": string; "fullRow": boolean; "hidden": boolean; "icon": string; "id": string; "location"?: AVLocation; "name": string; "numberFormat": string; "options"?: Array<AVSelectOption | null>; "relation"?: AVRelation; "renderTemplate"?: string; "rollup"?: AVRollup; "template": string; "type": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVUpdated; "wrap": boolean; } | ({ "fullRow": boolean; } & { "calc"?: never; "created"?: never; "date"?: never; "dateFormat"?: never; "desc"?: never; "hidden"?: never; "icon"?: never; "id"?: never; "location"?: never; "name"?: never; "numberFormat"?: never; "options"?: never; "relation"?: never; "renderTemplate"?: never; "rollup"?: never; "template"?: never; "type"?: never; "updated"?: never; "wrap"?: never; });
-export type AVGalleryFieldValue = { "id": string; "value": AVValue | null; "valueType": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; } | (Record<string, never> & { "id"?: never; "value"?: never; "valueType"?: never; });
+export type AVGalleryFieldValue = { "id": string; "value": AVValue | null; "valueType": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; } | (Record<string, never> & { "id"?: never; "value"?: never; "valueType"?: never; });
export type AVGroupCalc = { "calc": AVFieldCalc | null; "field": string; };
@@ -342,11 +342,11 @@ export type AVKanban = { "cardAspectRatio": number; "cardAspectRatioValue": numb
export type AVKanbanCard = { "conditionalColors"?: AVItemConditionalColors; "coverContent": string; "coverPosition"?: AVCardCoverPosition; "coverURL": string; "id": string; "values": Array<AVKanbanFieldValue | null> | null; };
-export type AVKanbanField = { "calc": AVFieldCalc | null; "created"?: AVCreated; "date"?: AVDate; "dateFormat"?: "" | "full" | "month-day-year" | "day-month-year" | "year-month-day" | "lunar"; "desc": string; "fullRow": boolean; "hidden": boolean; "icon": string; "id": string; "name": string; "numberFormat": string; "options"?: Array<AVSelectOption | null>; "relation"?: AVRelation; "renderTemplate"?: string; "rollup"?: AVRollup; "template": string; "type": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVUpdated; "wrap": boolean; } | ({ "fullRow": boolean; } & { "calc"?: never; "created"?: never; "date"?: never; "dateFormat"?: never; "desc"?: never; "hidden"?: never; "icon"?: never; "id"?: never; "name"?: never; "numberFormat"?: never; "options"?: never; "relation"?: never; "renderTemplate"?: never; "rollup"?: never; "template"?: never; "type"?: never; "updated"?: never; "wrap"?: never; });
+export type AVKanbanField = { "calc": AVFieldCalc | null; "created"?: AVCreated; "date"?: AVDate; "dateFormat"?: "" | "full" | "month-day-year" | "day-month-year" | "year-month-day" | "lunar"; "desc": string; "fullRow": boolean; "hidden": boolean; "icon": string; "id": string; "location"?: AVLocation; "name": string; "numberFormat": string; "options"?: Array<AVSelectOption | null>; "relation"?: AVRelation; "renderTemplate"?: string; "rollup"?: AVRollup; "template": string; "type": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVUpdated; "wrap": boolean; } | ({ "fullRow": boolean; } & { "calc"?: never; "created"?: never; "date"?: never; "dateFormat"?: never; "desc"?: never; "hidden"?: never; "icon"?: never; "id"?: never; "location"?: never; "name"?: never; "numberFormat"?: never; "options"?: never; "relation"?: never; "renderTemplate"?: never; "rollup"?: never; "template"?: never; "type"?: never; "updated"?: never; "wrap"?: never; });
-export type AVKanbanFieldValue = { "id": string; "value": AVValue | null; "valueType": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; } | (Record<string, never> & { "id"?: never; "value"?: never; "valueType"?: never; });
+export type AVKanbanFieldValue = { "id": string; "value": AVValue | null; "valueType": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; } | (Record<string, never> & { "id"?: never; "value"?: never; "valueType"?: never; });
-export type AVKey = { "attributePanelVisibility"?: "" | "always" | "hide-empty" | "hide"; "created"?: AVCreated; "date"?: AVDate; "dateFormat"?: "" | "full" | "month-day-year" | "day-month-year" | "year-month-day" | "lunar"; "desc": string; "icon": string; "id": string; "name": string; "numberFormat": string; "options"?: Array<AVSelectOption | null>; "relation"?: AVRelation; "renderTemplate"?: string; "rollup"?: AVRollup; "template": string; "type": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVUpdated; };
+export type AVKey = { "attributePanelVisibility"?: "" | "always" | "hide-empty" | "hide"; "created"?: AVCreated; "date"?: AVDate; "dateFormat"?: "" | "full" | "month-day-year" | "day-month-year" | "year-month-day" | "lunar"; "desc": string; "icon": string; "id": string; "location"?: AVLocation; "name": string; "numberFormat": string; "options"?: Array<AVSelectOption | null>; "relation"?: AVRelation; "renderTemplate"?: string; "rollup"?: AVRollup; "template": string; "type": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVUpdated; };
export type AVKeyValues = { "key": AVKey | null; "values"?: Array<AVValue | null>; };
@@ -360,6 +360,8 @@ export type AVLayoutKanban = { "cardAspectRatio": number; "cardAspectRatioValue"
export type AVLayoutTable = { "columns": Array<AVViewTableColumn | null> | null; "filters"?: Array<AVViewFilter | null>; "id": string; "pageSize"?: number; "rowIds": Array<string> | null; "showIcon": boolean; "sorts"?: Array<AVViewSort | null>; "spec": number; "wrapField": boolean; } | ({ "columns": Array<AVViewTableColumn | null> | null; "rowIds": Array<string> | null; } & { "filters"?: never; "id"?: never; "pageSize"?: never; "showIcon"?: never; "sorts"?: never; "spec"?: never; "wrapField"?: never; });
+export type AVLocation = { "defaultCoordinateSystem"?: "" | "unknown" | "wgs84" | "gcj02" | "bd09"; };
+
export type AVNewItemFieldValue = { "mode": "static" | "currentTime"; "value"?: AVValue; };
export type AVNewItemFieldValueInput = { "mode"?: "static" | "currentTime"; "value"?: AVValueInput | null; };
@@ -424,9 +426,9 @@ export type AVSelectOptionInput = { "color"?: string | null; "desc"?: string | n
export type AVTable = { "calendar"?: AVCalendarSettings; "calendarRange"?: AVCalendarRange; "calendarTargetDate"?: number; "columns": Array<AVTableColumn | null> | null; "conditionalColors": Array<AVConditionalColorRule | null> | null; "desc": string; "filters": Array<AVViewFilter | null> | null; "group": AVViewGroup | null; "groupCalc"?: AVGroupCalc; "groupFolded": boolean; "groupHidden": number; "groupKey"?: AVKey; "groupValue"?: AVValue; "groups"?: Array<AVViewInstance>; "hideAttrViewName": boolean; "icon": string; "id": string; "name": string; "pageSize": number; "rowCount": number; "rows": Array<AVTableRow | null> | null; "showIcon": boolean; "sorts": Array<AVViewSort | null> | null; "wrapField": boolean; } | ({ "calendar"?: AVCalendarSettings; "calendarRange"?: AVCalendarRange; "calendarTargetDate"?: number; "columns": Array<AVTableColumn | null> | null; "rowCount": number; "rows": Array<AVTableRow | null> | null; } & { "conditionalColors"?: never; "desc"?: never; "filters"?: never; "group"?: never; "groupCalc"?: never; "groupFolded"?: never; "groupHidden"?: never; "groupKey"?: never; "groupValue"?: never; "groups"?: never; "hideAttrViewName"?: never; "icon"?: never; "id"?: never; "name"?: never; "pageSize"?: never; "showIcon"?: never; "sorts"?: never; "wrapField"?: never; });
-export type AVTableCell = { "bgColor": string; "color": string; "id": string; "value": AVValue | null; "valueType": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; } | ({ "bgColor": string; "color": string; } & { "id"?: never; "value"?: never; "valueType"?: never; });
+export type AVTableCell = { "bgColor": string; "color": string; "id": string; "value": AVValue | null; "valueType": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; } | ({ "bgColor": string; "color": string; } & { "id"?: never; "value"?: never; "valueType"?: never; });
-export type AVTableColumn = { "align": "" | "left" | "center" | "right"; "calc": AVFieldCalc | null; "created"?: AVCreated; "date"?: AVDate; "dateFormat"?: "" | "full" | "month-day-year" | "day-month-year" | "year-month-day" | "lunar"; "desc": string; "hidden": boolean; "icon": string; "id": string; "name": string; "numberFormat": string; "options"?: Array<AVSelectOption | null>; "pin": boolean; "relation"?: AVRelation; "renderTemplate"?: string; "rollup"?: AVRollup; "template": string; "type": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVUpdated; "width": string; "wrap": boolean; } | ({ "align": "" | "left" | "center" | "right"; "pin": boolean; "width": string; } & { "calc"?: never; "created"?: never; "date"?: never; "dateFormat"?: never; "desc"?: never; "hidden"?: never; "icon"?: never; "id"?: never; "name"?: never; "numberFormat"?: never; "options"?: never; "relation"?: never; "renderTemplate"?: never; "rollup"?: never; "template"?: never; "type"?: never; "updated"?: never; "wrap"?: never; });
+export type AVTableColumn = { "align": "" | "left" | "center" | "right"; "calc": AVFieldCalc | null; "created"?: AVCreated; "date"?: AVDate; "dateFormat"?: "" | "full" | "month-day-year" | "day-month-year" | "year-month-day" | "lunar"; "desc": string; "hidden": boolean; "icon": string; "id": string; "location"?: AVLocation; "name": string; "numberFormat": string; "options"?: Array<AVSelectOption | null>; "pin": boolean; "relation"?: AVRelation; "renderTemplate"?: string; "rollup"?: AVRollup; "template": string; "type": "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVUpdated; "width": string; "wrap": boolean; } | ({ "align": "" | "left" | "center" | "right"; "pin": boolean; "width": string; } & { "calc"?: never; "created"?: never; "date"?: never; "dateFormat"?: never; "desc"?: never; "hidden"?: never; "icon"?: never; "id"?: never; "location"?: never; "name"?: never; "numberFormat"?: never; "options"?: never; "relation"?: never; "renderTemplate"?: never; "rollup"?: never; "template"?: never; "type"?: never; "updated"?: never; "wrap"?: never; });
export type AVTableRow = { "cells": Array<AVTableCell | null> | null; "conditionalColors"?: AVItemConditionalColors; "id": string; };
@@ -434,7 +436,7 @@ export type AVUnavailableNotebook = { "unavailableNotebook": true; };
export type AVUpdated = { "includeTime": boolean; };
-export type AVValue = { "block"?: AVValueBlock; "blockID"?: string; "checkbox"?: AVValueCheckbox; "created"?: AVValueCreated; "createdAt"?: number; "date"?: AVValueDate; "email"?: AVValueEmail; "hasRenderTemplate"?: boolean; "id"?: string; "isDetached"?: boolean; "keyID"?: string; "mAsset"?: Array<AVValueAsset | null>; "mSelect"?: Array<AVValueSelect | null>; "number"?: AVValueNumber; "phone"?: AVValuePhone; "relation"?: AVValueRelation; "renderedContent"?: string; "rollup"?: AVValueRollup; "template"?: AVValueTemplate; "text"?: AVValueText; "type"?: "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVValueUpdated; "updatedAt"?: number; "url"?: AVValueURL; };
+export type AVValue = { "block"?: AVValueBlock; "blockID"?: string; "checkbox"?: AVValueCheckbox; "created"?: AVValueCreated; "createdAt"?: number; "date"?: AVValueDate; "email"?: AVValueEmail; "hasRenderTemplate"?: boolean; "id"?: string; "isDetached"?: boolean; "keyID"?: string; "location"?: AVValueLocation; "mAsset"?: Array<AVValueAsset | null>; "mSelect"?: Array<AVValueSelect | null>; "number"?: AVValueNumber; "phone"?: AVValuePhone; "relation"?: AVValueRelation; "renderedContent"?: string; "rollup"?: AVValueRollup; "template"?: AVValueTemplate; "text"?: AVValueText; "type"?: "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVValueUpdated; "updatedAt"?: number; "url"?: AVValueURL; };
export type AVValueAsset = { "content": string; "name": string; "type": "file" | "image"; };
@@ -462,7 +464,11 @@ export type AVValueEmail = { "content": string; };
export type AVValueEmailInput = { "content"?: string | null; };
-export type AVValueInput = { "block"?: AVValueBlockInput | null; "blockID"?: string | null; "checkbox"?: AVValueCheckboxInput | null; "created"?: AVValueCreatedInput | null; "createdAt"?: number | null; "date"?: AVValueDateInput | null; "email"?: AVValueEmailInput | null; "hasRenderTemplate"?: boolean | null; "id"?: string | null; "isDetached"?: boolean | null; "keyID"?: string | null; "mAsset"?: Array<AVValueAssetInput | null> | null; "mSelect"?: Array<AVValueSelectInput | null> | null; "number"?: AVValueNumberInput | null; "phone"?: AVValuePhoneInput | null; "relation"?: AVValueRelationInput | null; "renderedContent"?: string | null; "rollup"?: AVValueRollupInput | null; "template"?: AVValueTemplateInput | null; "text"?: AVValueTextInput | null; "type"?: "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVValueUpdatedInput | null; "updatedAt"?: number | null; "url"?: AVValueURLInput | null; };
+export type AVValueInput = { "block"?: AVValueBlockInput | null; "blockID"?: string | null; "checkbox"?: AVValueCheckboxInput | null; "created"?: AVValueCreatedInput | null; "createdAt"?: number | null; "date"?: AVValueDateInput | null; "email"?: AVValueEmailInput | null; "hasRenderTemplate"?: boolean | null; "id"?: string | null; "isDetached"?: boolean | null; "keyID"?: string | null; "location"?: AVValueLocationInput | null; "mAsset"?: Array<AVValueAssetInput | null> | null; "mSelect"?: Array<AVValueSelectInput | null> | null; "number"?: AVValueNumberInput | null; "phone"?: AVValuePhoneInput | null; "relation"?: AVValueRelationInput | null; "renderedContent"?: string | null; "rollup"?: AVValueRollupInput | null; "template"?: AVValueTemplateInput | null; "text"?: AVValueTextInput | null; "type"?: "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "updated"?: AVValueUpdatedInput | null; "updatedAt"?: number | null; "url"?: AVValueURLInput | null; };
+
+export type AVValueLocation = { "coordinateSystem"?: "" | "unknown" | "wgs84" | "gcj02" | "bd09"; "latitude"?: number; "longitude"?: number; "name"?: string; "originalInput"?: string; };
+
+export type AVValueLocationInput = { "coordinateSystem"?: "" | "unknown" | "wgs84" | "gcj02" | "bd09"; "latitude"?: number | null; "longitude"?: number | null; "name"?: string | null; "originalInput"?: string | null; };
export type AVValueNumber = { "content": number; "format": string; "formattedContent": string; "isNotEmpty": boolean; };
@@ -2380,9 +2386,9 @@ export type TransactionListConversionResultInput = { "focusID": string; "removed
export type TransactionNewItemTemplatesInput = { "defaultTemplateID"?: string | null; "templates"?: Array<AVNewItemTemplateInput | null> | null; };
-export type TransactionOperation = { "action": "updateAttrs"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionAttributeChangeInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "create"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "restoreCreatedDoc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeCreatedDoc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "update"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "insert"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "delete"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": BlockDeleteDataInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "move"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "swapBlockRef"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionBlockSwapInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": Array<string> | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "convertList"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionListConversionInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": TransactionListConversionResult | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "moveOutlineHeading"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "append"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "appendInsert"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "prependInsert"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "foldHeading"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "unfoldHeading"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrs"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "doUpdateUpdated"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "addFlashcards"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeFlashcards"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewName"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewNewItemTemplates"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionNewItemTemplatesInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewAutomations"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVAutomationConfigInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewConditionalColors"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVConditionalColorRuleInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewFilters"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVViewFilterInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewContextFilter"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColRelationFilters"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVViewFilterInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColRollupFilters"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVViewFilterInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewSorts"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVViewSortInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewPageSize"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColWidth"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColsWidth"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Record<string, string> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColAlign"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColWrap"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColHidden"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColPin"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColIcon"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColDesc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColAttributePanelVisibility"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "insertAttrViewBlock"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": TransactionInsertedItems | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewBlock"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "addAttrViewCol"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewCol"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewCol"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewRow"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVRowOrderChangeInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewCol"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewKey"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewBinding"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewCell"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVValueInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewCells"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColOptions"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVSelectOptionInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewColOption"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColOption"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionOptionChangeInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColOptionDesc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionOptionDescriptionInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCustomColors"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionCustomColorsInput | Array<AVAttributeViewCustomColorInput | null> | null | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColCalc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVFieldCalcInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColNumberFormat"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColDateFormat"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "replaceAttrViewBlock"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": TransactionReplacedItem | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColTemplate"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "addAttrViewView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": string | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewViewName"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewViewIcon"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewViewDesc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "duplicateAttrViewView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "duplicateAttrViewRow"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColRelation"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColRollup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionRollupInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "hideAttrViewName"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColDateFillCreated"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColDateFillSpecificTime"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCreatedIncludeTime"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewUpdatedIncludeTime"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "duplicateAttrViewKey"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCoverFrom"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCoverFromAssetKeyID"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardCoverPosition"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionCardCoverPositionInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardSize"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardWidth"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCalendar"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVCalendarSettingsInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardLayout"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColFullRow"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewFitImage"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewDisplayFieldName"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewDisplayEmptyFields"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewFillColBackgroundColor"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewShowIcon"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewWrapField"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "changeAttrViewLayout"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewBlockView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewBlockVisibleViews"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardAspectRatio"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardAspectRatioValue"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVViewGroupInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "hideAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "hideAttrViewAllGroups"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "foldAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "foldAttrViewGroups"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Record<string, boolean> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "syncAttrViewTableColWidth"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": UnknownTransactionAction; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": JSONValue; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": JSONValue; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; };
+export type TransactionOperation = { "action": "updateAttrs"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionAttributeChangeInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "create"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "restoreCreatedDoc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeCreatedDoc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "update"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "insert"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "delete"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": BlockDeleteDataInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "move"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "swapBlockRef"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionBlockSwapInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": Array<string> | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "convertList"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionListConversionInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": TransactionListConversionResult | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "moveOutlineHeading"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "append"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "appendInsert"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "prependInsert"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "foldHeading"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "unfoldHeading"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrs"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null | string | Array<string>; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "doUpdateUpdated"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "addFlashcards"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeFlashcards"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewName"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewNewItemTemplates"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionNewItemTemplatesInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewAutomations"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVAutomationConfigInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewConditionalColors"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVConditionalColorRuleInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewFilters"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVViewFilterInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewContextFilter"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColRelationFilters"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVViewFilterInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColRollupFilters"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVViewFilterInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewSorts"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVViewSortInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewPageSize"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColWidth"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColsWidth"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Record<string, string> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColAlign"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColWrap"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColHidden"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColPin"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColIcon"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColDesc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColAttributePanelVisibility"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColLocationDefaultCoordinateSystem"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "insertAttrViewBlock"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": TransactionInsertedItems | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewBlock"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "addAttrViewCol"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewCol"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewCol"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewRow"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVRowOrderChangeInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewCol"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewKey"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewBinding"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewCell"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVValueInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewCells"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColOptions"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Array<AVSelectOptionInput | null> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewColOption"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColOption"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionOptionChangeInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColOptionDesc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionOptionDescriptionInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCustomColors"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionCustomColorsInput | Array<AVAttributeViewCustomColorInput | null> | null | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColCalc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVFieldCalcInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColNumberFormat"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColDateFormat"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "replaceAttrViewBlock"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": TransactionReplacedItem | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColTemplate"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "addAttrViewView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": string | null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewViewName"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewViewIcon"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewViewDesc"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "duplicateAttrViewView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "duplicateAttrViewRow"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": string | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColRelation"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "updateAttrViewColRollup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionRollupInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "hideAttrViewName"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColDateFillCreated"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColDateFillSpecificTime"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCreatedIncludeTime"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewUpdatedIncludeTime"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "duplicateAttrViewKey"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCoverFrom"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCoverFromAssetKeyID"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardCoverPosition"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": TransactionCardCoverPositionInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardSize"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardWidth"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCalendar"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVCalendarSettingsInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardLayout"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewColFullRow"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewFitImage"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewDisplayFieldName"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewDisplayEmptyFields"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewFillColBackgroundColor"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewShowIcon"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewWrapField"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "changeAttrViewLayout"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewBlockView"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewBlockVisibleViews"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardAspectRatio"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewCardAspectRatioValue"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "setAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": AVViewGroupInput | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "hideAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": number | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "hideAttrViewAllGroups"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "foldAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": boolean | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "foldAttrViewGroups"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": Record<string, boolean> | null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "syncAttrViewTableColWidth"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "removeAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": "sortAttrViewGroup"; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": null; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": null; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; } | { "action": UnknownTransactionAction; "avID": string; "backRelationKeyID": string; "blockID": string; "blockIDs": Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdate | null>; "context": TransactionContext; "data": JSONValue; "deckID": string; "format": string; "groupID": string; "id": string; "ignoreDefaultFill": boolean; "isDetached": boolean; "isTwoWay": boolean; "keyID": string; "layout": string; "name": string; "nextID": string; "parentID": string; "previousID": string; "removeDest": boolean; "retData": JSONValue; "rootID": string; "rowID": string; "srcIDs": Array<string> | null; "srcs": Array<TransactionSourceFieldsInput | null> | null; "targetGroupID": string; "type": "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID": string; "viewIDs"?: Array<string>; };
-export type TransactionOperationRequest = { "action": "updateAttrs"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionAttributeChangeInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "create"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "restoreCreatedDoc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeCreatedDoc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "update"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "insert"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "delete"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: BlockDeleteDataInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "move"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "swapBlockRef"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionBlockSwapInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: Array<string> | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "convertList"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionListConversionInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: TransactionListConversionResultInput | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "moveOutlineHeading"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "append"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "appendInsert"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "prependInsert"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "foldHeading"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "unfoldHeading"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrs"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "doUpdateUpdated"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "addFlashcards"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeFlashcards"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewName"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewNewItemTemplates"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionNewItemTemplatesInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewAutomations"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVAutomationConfigInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewConditionalColors"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVConditionalColorRuleInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewFilters"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVViewFilterInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewContextFilter"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColRelationFilters"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVViewFilterInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColRollupFilters"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVViewFilterInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewSorts"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVViewSortInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewPageSize"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColWidth"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColsWidth"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Record<string, string> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColAlign"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColWrap"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColHidden"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColPin"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColIcon"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColDesc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColAttributePanelVisibility"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "insertAttrViewBlock"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: TransactionInsertedItemsInput | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewBlock"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "addAttrViewCol"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewCol"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewCol"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewRow"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVRowOrderChangeInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewCol"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewKey"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewBinding"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewCell"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVValueInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewCells"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColOptions"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVSelectOptionInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewColOption"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColOption"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionOptionChangeInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColOptionDesc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionOptionDescriptionInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCustomColors"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionCustomColorsInput | Array<AVAttributeViewCustomColorInput | null> | null | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColCalc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVFieldCalcInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColNumberFormat"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColDateFormat"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "replaceAttrViewBlock"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: TransactionReplacedItemInput | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColTemplate"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "addAttrViewView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: string | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewViewName"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewViewIcon"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewViewDesc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "duplicateAttrViewView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "duplicateAttrViewRow"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColRelation"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColRollup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionRollupInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "hideAttrViewName"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColDateFillCreated"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColDateFillSpecificTime"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCreatedIncludeTime"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewUpdatedIncludeTime"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "duplicateAttrViewKey"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCoverFrom"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCoverFromAssetKeyID"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardCoverPosition"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionCardCoverPositionInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardSize"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardWidth"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCalendar"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVCalendarSettingsInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardLayout"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColFullRow"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewFitImage"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewDisplayFieldName"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewDisplayEmptyFields"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewFillColBackgroundColor"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewShowIcon"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewWrapField"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "changeAttrViewLayout"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewBlockView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewBlockVisibleViews"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardAspectRatio"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardAspectRatioValue"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVViewGroupInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "hideAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "hideAttrViewAllGroups"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "foldAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "foldAttrViewGroups"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Record<string, boolean> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "syncAttrViewTableColWidth"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": UnknownTransactionAction; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: JSONValue; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: JSONValue; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; };
+export type TransactionOperationRequest = { "action": "updateAttrs"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionAttributeChangeInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "create"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "restoreCreatedDoc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeCreatedDoc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "update"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "insert"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "delete"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: BlockDeleteDataInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "move"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "swapBlockRef"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionBlockSwapInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: Array<string> | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "convertList"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionListConversionInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: TransactionListConversionResultInput | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "moveOutlineHeading"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "append"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "appendInsert"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "prependInsert"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "foldHeading"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "unfoldHeading"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrs"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null | string | Array<string>; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "doUpdateUpdated"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "addFlashcards"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeFlashcards"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewName"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewNewItemTemplates"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionNewItemTemplatesInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewAutomations"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVAutomationConfigInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewConditionalColors"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVConditionalColorRuleInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewFilters"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVViewFilterInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewContextFilter"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColRelationFilters"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVViewFilterInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColRollupFilters"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVViewFilterInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewSorts"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVViewSortInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewPageSize"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColWidth"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColsWidth"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Record<string, string> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColAlign"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColWrap"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColHidden"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColPin"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColIcon"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColDesc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColAttributePanelVisibility"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColLocationDefaultCoordinateSystem"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "insertAttrViewBlock"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: TransactionInsertedItemsInput | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewBlock"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "addAttrViewCol"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewCol"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewCol"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewRow"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVRowOrderChangeInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewCol"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewKey"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewBinding"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewCell"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVValueInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewCells"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColOptions"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Array<AVSelectOptionInput | null> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewColOption"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColOption"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionOptionChangeInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColOptionDesc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionOptionDescriptionInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCustomColors"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionCustomColorsInput | Array<AVAttributeViewCustomColorInput | null> | null | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColCalc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVFieldCalcInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColNumberFormat"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColDateFormat"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "replaceAttrViewBlock"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: TransactionReplacedItemInput | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColTemplate"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "addAttrViewView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: string | null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewViewName"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewViewIcon"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewViewDesc"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "duplicateAttrViewView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "duplicateAttrViewRow"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: string | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColRelation"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "updateAttrViewColRollup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionRollupInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "hideAttrViewName"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColDateFillCreated"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColDateFillSpecificTime"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCreatedIncludeTime"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewUpdatedIncludeTime"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "duplicateAttrViewKey"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCoverFrom"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCoverFromAssetKeyID"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardCoverPosition"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: TransactionCardCoverPositionInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardSize"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardWidth"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCalendar"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVCalendarSettingsInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardLayout"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewColFullRow"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewFitImage"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewDisplayFieldName"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewDisplayEmptyFields"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewFillColBackgroundColor"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewShowIcon"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewWrapField"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "changeAttrViewLayout"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewBlockView"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewBlockVisibleViews"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardAspectRatio"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewCardAspectRatioValue"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "setAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: AVViewGroupInput | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "hideAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: number | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "hideAttrViewAllGroups"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "foldAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: boolean | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "foldAttrViewGroups"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: Record<string, boolean> | null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "syncAttrViewTableColWidth"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "removeAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": "sortAttrViewGroup"; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: null; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: null; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; } | { "action": UnknownTransactionAction; "avID"?: string | null; "backRelationKeyID"?: string | null; "blockID"?: string | null; "blockIDs"?: Array<string> | null; "cellUpdates"?: Array<TransactionCellUpdateInput | null> | null; "context"?: TransactionContext | null; "data"?: JSONValue; "deckID"?: string | null; "format"?: string | null; "groupID"?: string | null; "id"?: string | null; "ignoreDefaultFill"?: boolean | null; "isDetached"?: boolean | null; "isTwoWay"?: boolean | null; "keyID"?: string | null; "layout"?: string | null; "name"?: string | null; "nextID"?: string | null; "parentID"?: string | null; "previousID"?: string | null; "removeDest"?: boolean | null; "retData"?: JSONValue; "rootID"?: string | null; "rowID"?: string | null; "srcIDs"?: Array<string> | null; "srcs"?: Array<TransactionSourceFieldsInput | null> | null; "targetGroupID"?: string | null; "type"?: "" | "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "location" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber"; "viewID"?: string | null; "viewIDs"?: Array<string> | null; };
export type TransactionOptionChangeInput = { "newColor": string; "newDesc": string; "newName": string; "oldColor"?: string | null; "oldName": string; };
diff --git a/app/src/types/av/index.d.ts b/app/src/types/av/index.d.ts
index 6fcec3f15d..39227597c8 100644
--- a/app/src/types/av/index.d.ts
+++ b/app/src/types/av/index.d.ts
@@ -1,6 +1,6 @@
// 此文件由内核字段能力声明生成,请运行 pnpm run api:generate 更新。
-export type AVKeyType = "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber";
+export type AVKeyType = "block" | "text" | "number" | "date" | "select" | "mSelect" | "url" | "email" | "phone" | "mAsset" | "template" | "created" | "updated" | "checkbox" | "relation" | "rollup" | "lineNumber" | "location";
export type AVFilterOperator = "=" | "!=" | ">" | ">=" | "<" | "<=" | "Contains" | "Does not contains" | "Contains any item" | "Does not contain any item" | "Is empty" | "Is not empty" | "Starts with" | "Ends with" | "Is between" | "Is true" | "Is false";
export type AVKeyGroup = "none" | "richText" | "link" | "scalarContent" | "attributePlaceholder" | "rollupCell" | "newItemTemplate" | "noFilterDefault" | "renderDependentFilter" | "skipRowCopy" | "renderAutoFill" | "rollupAlwaysRender" | "rollupForeignRender";
@@ -20,7 +20,7 @@ export interface AVKeyCapability {
readonly groups?: readonly AVKeyGroup[];
/** 用于选择接受与呈现的算子集合,保留旧调用方构造基础能力对象的兼容性 */
readonly filterProfile?: AVFilterProfile;
- readonly valueKind: "assets" | "checkbox" | "date" | "lineNumber" | "number" | "options" | "relation" | "rollup" | "text" | "timestamp";
+ readonly valueKind: "assets" | "checkbox" | "date" | "lineNumber" | "location" | "number" | "options" | "relation" | "rollup" | "text" | "timestamp";
readonly editable: boolean;
readonly filterable: boolean;
readonly sortable: boolean;
diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts
index e8755b7132..29c57884ab 100644
--- a/app/src/types/index.d.ts
+++ b/app/src/types/index.d.ts
@@ -1376,6 +1376,8 @@ interface IAVColumn {
type?: TAVCol,
numberFormat?: string,
dateFormat?: TAVDateFormat,
+ /** 仅用于新录入,不覆盖已有位置的坐标系。 */
+ location?: {defaultCoordinateSystem?: IAVCellLocationValue["coordinateSystem"]},
template?: string,
renderTemplate?: string,
calc?: IAVCalc,
@@ -1466,6 +1468,7 @@ interface IAVCellValue {
phone?: {
content: string
}
+ location?: IAVCellLocationValue
email?: {
content: string
}
@@ -1485,6 +1488,19 @@ interface IAVCellValue {
updated?: IAVCellDateValue
}
+/**
+ * 坐标按原坐标系保存,不自动转换;文本顺序为纬度、经度。未知坐标系不能当作 WGS84 使用。
+ * 位置字段的文本筛选条件使用 IAVCellValue.text.content,不把查询词解析成坐标。
+ */
+interface IAVCellLocationValue {
+ name?: string;
+ latitude?: number | null;
+ longitude?: number | null;
+ coordinateSystem?: "" | "unknown" | "wgs84" | "gcj02" | "bd09";
+ /** 原始坐标输入仅作为来源信息,不参与判空、筛选和排序。 */
+ originalInput?: string;
+}
+
interface IAVCellRelationValue {
blockIDs: string[];
contents?: IAVCellValue[];
diff --git a/docs/API.ja.md b/docs/API.ja.md
index 30f2973e0a..4a4bc2e705 100644
--- a/docs/API.ja.md
+++ b/docs/API.ja.md
@@ -1917,6 +1917,7 @@ if (response.code === 0 && response.data) {
| `url` | URL |
| `email` | メール |
| `phone` | 電話 |
+| `location` | 位置 |
| `mAsset` | アセット |
| `template` | テンプレート |
| `created` | 作成日時 |
@@ -2341,12 +2342,17 @@ if (response.code === 0 && response.data) {
| `url` | `{"url": {"content": "https://siyuan.com"}}` |
| `email` | `{"email": {"content": "[email protected]"}}` |
| `phone` | `{"phone": {"content": "1234567890"}}` |
+| `location` | `{"location":{"name":"Home","latitude":0,"longitude":0,"coordinateSystem":"unknown","originalInput":"0, 0"}}` |
| `checkbox` | `{"checkbox": {"checked": true}}` |
> ⚠️ `itemID` は**アイテム ID**、つまり[レンダリング](#レンダリング)が返すアイテムの `id` です。表形式では `rows[].id`、ギャラリーとカンバンでは `cards[].id` であり、グループ化が有効な場合は `groups[]` 内の対応するビューインスタンスにあります。また、主キー値の `value.blockID` とも同じです。紐づくアイテムの場合、紐づくブロック ID は主キー値の `value.block.id` にあります。両者は異なる概念であり、同一であると仮定してはいけません。誤った ID を渡すと、値はレンダリングされたセルに現れない孤立データとして保存されます。
リッチテキストでは、`text.rich.content` が正規の Kramdown ソースです。カーネルはサポート対象の構造を検証して `text.content` のプレーンテキスト表現を生成するため、呼び出し側が指定したプレーンテキスト表現は無視されます。既存の API クライアントとの互換性を保つため、`text.rich` を省略した場合、`text.content` が変わっていなければ保存済みのリッチテキストを維持し、変わっていればプレーンテキストで置き換えます。プレーンテキスト表現が同じ場合でも、`"rich": null` を送信すると書式を明示的に削除できます。リッチテキストを含むデータベースはストレージ仕様 9 を使用するため、それより前のデータベース仕様だけをサポートするカーネルでは開けません。
+`location` の `name` は省略できます。`latitude` と `longitude` は両方とも省略または null にするか、それぞれ [-90, 90] と [-180, 180] の範囲内の有限数値を指定します。ゼロは有効な座標です。`coordinateSystem` は `unknown`、`wgs84`、`gcj02`、`bd09` に対応し、省略または空の場合は不明として扱います。座標は変換せずに保存します。`originalInput` は入力元のテキストを保持し、フィルターと並べ替えには使用しません。更新時に省略したメンバーは既存の値を保持します。位置を消去するには `{"location":null}` を送信するか、名前を空にして両方の座標を null にします。座標または有効な座標系が変わると、省略された `originalInput` は自動的に消去されます。明示的に指定した入力元のテキストは保持されます。テキストフィルターは `{"type":"location","text":{"content":"検索語"}}` を使用し、名前、座標、座標系を照合します。位置フィールドはデータベースのストレージ仕様 11 を使用するため、古いカーネルでは開けません。位置フィールドを使用しないデータベースの仕様は変わりません。
+
+フィールドの任意の `location.defaultCoordinateSystem` 設定は、新しい手動入力にのみ既定の座標系を提供します。保存済みの各位置は `unknown` を含む独自の座標系を保持し、設定の変更で既存、コピー、インポートされた値は書き換わりません。API 書き込みで値の座標系を省略した場合も不明を意味し、入力元と無関係な可能性があるフィールドの既定値は継承しません。
+
* `/api/av/setAttributeViewBlockAttr`
* パラメータ
@@ -2700,7 +2706,7 @@ if (response.code === 0 && response.data) {
* `avID`: データベース ID
* `keyID`: 新しいフィールドの ID。`Lute.NewNodeID()` で生成された有効なノード ID(14 桁のタイムスタンプ + `-` + 7 文字のランダム英数字、例:`20240118120204-abc1234`)である必要があります
* `keyName`: フィールドの表示名
- * `keyType`: フィールドタイプ——`text`、`number`、`date`、`select`、`mSelect`、`url`、`email`、`phone`、`mAsset`、`template`、`created`、`updated`、`checkbox`、`relation`、`rollup`、`lineNumber` のいずれか。`block`(主キー)はこのエンドポイントから追加できません
+ * `keyType`: フィールドタイプ——`text`、`number`、`date`、`select`、`mSelect`、`url`、`email`、`phone`、`location`、`mAsset`、`template`、`created`、`updated`、`checkbox`、`relation`、`rollup`、`lineNumber` のいずれか。`block`(主キー)はこのエンドポイントから追加できません
* `keyIcon`: 任意のフィールドアイコン(emoji または空文字列)
* `previousKeyID`: このフィールド ID の後に新しい列を挿入。空文字列の場合はレイアウトのデフォルト位置(テーブルは先頭、ギャラリー/カンバンは末尾)を使用
* 戻り値
diff --git a/docs/API.md b/docs/API.md
index 5e1d26cbda..70ae979a39 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -1927,6 +1927,7 @@ The field types (`keyType`) are:
| `url` | URL |
| `email` | Email |
| `phone` | Phone |
+| `location` | Location |
| `mAsset` | Asset |
| `template` | Template |
| `created` | Creation time |
@@ -2351,6 +2352,7 @@ Updates a single cell (one field of one row). This is the primary write endpoint
| `url` | `{"url": {"content": "https://siyuan.com"}}` |
| `email` | `{"email": {"content": "[email protected]"}}` |
| `phone` | `{"phone": {"content": "1234567890"}}` |
+| `location` | `{"location":{"name":"Home","latitude":0,"longitude":0,"coordinateSystem":"unknown","originalInput":"0, 0"}}` |
| `mAsset` | `{"mAsset": [{"type": "image", "name": "", "content": "https://example.com/image"}]}` |
| `checkbox` | `{"checkbox": {"checked": true}}` |
@@ -2360,6 +2362,10 @@ For `mAsset`, each item uses `type: "image"` to render an image or `type: "file"
For rich text, `text.rich.content` is the authoritative Kramdown source. The kernel validates its supported structure and derives `text.content` as the plain-text projection; a caller-provided plain-text projection is ignored. For compatibility with existing API clients, omitting `text.rich` preserves the stored rich-text payload when `text.content` is unchanged, but replaces it with plain text when `text.content` changes. Send `"rich": null` to explicitly remove rich formatting even when the plain-text projection is unchanged. Attribute views containing rich text use storage spec 9 and cannot be opened by kernels that only support earlier attribute-view specs.
+For `location`, `name` is optional. `latitude` and `longitude` must both be absent/null or both be finite numbers in [-90, 90] and [-180, 180], respectively; zero is valid. `coordinateSystem` is `unknown`, `wgs84`, `gcj02`, or `bd09`, with missing/empty values treated as unknown. Coordinates are stored without conversion. `originalInput` retains source text and is excluded from filtering and sorting. Omitted update members preserve existing values; to clear a location send `{"location":null}`, or explicitly clear the name and set both coordinates to null. When coordinates or their effective system change, omitted `originalInput` is cleared automatically; an explicitly supplied source is retained. Text filters use `{"type":"location","text":{"content":"query"}}` and match the name, coordinates, and system. Location fields use attribute-view storage spec 11; older kernels cannot open them. Unrelated databases retain their existing storage spec.
+
+The key’s optional `location.defaultCoordinateSystem` setting supplies a default only for new manual input. Each stored value retains its own system, including `unknown`; changing the setting does not rewrite existing, copied, or imported values. API writes that omit the value’s coordinate system still mean unknown, rather than inheriting a potentially unrelated field default.
+
* `/api/av/setAttributeViewBlockAttr`
* Parameters
@@ -2717,7 +2723,7 @@ Adds a new field (column). The field is appended to every view (table/list/galle
* `avID`: Database ID
* `keyID`: ID for the new field. Must be a valid node ID generated by `Lute.NewNodeID()` (14-digit timestamp + `-` + 7-char random alphanumerics, e.g. `20240118120204-abc1234`)
* `keyName`: Field display name
- * `keyType`: Field type — one of `text`, `number`, `date`, `select`, `mSelect`, `url`, `email`, `phone`, `mAsset`, `template`, `created`, `updated`, `checkbox`, `relation`, `rollup`, `lineNumber`. `block` (primary key) cannot be added through this endpoint
+ * `keyType`: Field type — one of `text`, `number`, `date`, `select`, `mSelect`, `url`, `email`, `phone`, `location`, `mAsset`, `template`, `created`, `updated`, `checkbox`, `relation`, `rollup`, `lineNumber`. `block` (primary key) cannot be added through this endpoint
* `keyIcon`: Optional field icon (emoji or empty string)
* `previousKeyID`: Insert the new column after this field ID. Empty string uses the layout default (first column for table, last for list/gallery/kanban)
* Return value
diff --git a/docs/API.zh-CN.md b/docs/API.zh-CN.md
index 978c31016f..87709ad35f 100644
--- a/docs/API.zh-CN.md
+++ b/docs/API.zh-CN.md
@@ -1923,6 +1923,7 @@ if (response.code === 0 && response.data) {
| `url` | URL |
| `email` | 邮箱 |
| `phone` | 电话 |
+| `location` | 位置 |
| `mAsset` | 资源 |
| `template` | 模板 |
| `created` | 创建时间 |
@@ -2347,12 +2348,17 @@ if (response.code === 0 && response.data) {
| `url` | `{"url": {"content": "https://siyuan.com"}}` |
| `email` | `{"email": {"content": "[email protected]"}}` |
| `phone` | `{"phone": {"content": "1234567890"}}` |
+| `location` | `{"location":{"name":"Home","latitude":0,"longitude":0,"coordinateSystem":"unknown","originalInput":"0, 0"}}` |
| `checkbox` | `{"checkbox": {"checked": true}}` |
> ⚠️ `itemID` 是**条目 ID**,即[渲染](#渲染)返回的条目 `id`:表格和列表为 `rows[].id`,卡片和看板为 `cards[].id`,启用分组时位于 `groups[]` 的对应视图实例中。它也等于主键值的 `value.blockID`。对于绑定条目,绑定块 ID 位于主键值的 `value.block.id`;二者是不同概念,不能假设相等。传入错误的 ID 会把值存为孤儿数据,不会出现在渲染后的单元格中。
对于富文本,`text.rich.content` 是权威的 Kramdown 源。内核会校验其受支持的结构并派生 `text.content` 纯文本投影;调用方提供的纯文本投影会被忽略。为兼容现有 API 客户端,省略 `text.rich` 时,如果 `text.content` 未改变则保留已存储的富文本载荷,如果 `text.content` 改变则以纯文本替换。即使纯文本投影未改变,也可以发送 `"rich": null` 明确移除富文本格式。包含富文本的数据库使用存储规范 9,无法由仅支持更早数据库规范的内核打开。
+`location` 的 `name` 可选。`latitude` 和 `longitude` 必须同时缺省或为 null,或者同时为有限数值,范围分别为 [-90, 90] 和 [-180, 180];零是有效坐标。`coordinateSystem` 支持 `unknown`、`wgs84`、`gcj02` 和 `bd09`,省略或空值按未知处理。坐标不自动转换。`originalInput` 保留来源文本,不参与筛选和排序。更新时省略成员会保留已有值;清空位置可发送 `{"location":null}`,或显式清空名称并将两个坐标都设为 null。坐标或有效坐标系变化时,省略的 `originalInput` 会自动清空;显式提供的来源文本会被保留。文本筛选使用 `{"type":"location","text":{"content":"查询词"}}`,匹配名称、坐标及坐标系。位置字段使用数据库存储版本 11,旧版内核无法打开;未使用位置字段的数据库保留原有存储版本。
+
+字段可选的 `location.defaultCoordinateSystem` 设置仅为新的手动录入提供默认坐标系。每条已存位置保留各自的坐标系,包括 `unknown`;更改设置不会重写已有、复制或导入的值。API 写入省略值的坐标系时仍表示未知,不继承可能与来源无关的字段默认值。
+
* `/api/av/setAttributeViewBlockAttr`
* 参数
@@ -2708,7 +2714,7 @@ if (response.code === 0 && response.data) {
* `avID`: 数据库 ID
* `keyID`: 新字段 ID。需为 `Lute.NewNodeID()` 生成的合法节点 ID(14 位时间戳 + `-` + 7 位随机字母数字,如 `20240118120204-abc1234`)
* `keyName`: 字段显示名
- * `keyType`: 字段类型——`text`、`number`、`date`、`select`、`mSelect`、`url`、`email`、`phone`、`mAsset`、`template`、`created`、`updated`、`checkbox`、`relation`、`rollup`、`lineNumber` 之一。`block`(主键)不能通过该接口添加
+ * `keyType`: 字段类型——`text`、`number`、`date`、`select`、`mSelect`、`url`、`email`、`phone`、`location`、`mAsset`、`template`、`created`、`updated`、`checkbox`、`relation`、`rollup`、`lineNumber` 之一。`block`(主键)不能通过该接口添加
* `keyIcon`: 可选字段图标(emoji 或空字符串)
* `previousKeyID`: 在此字段 ID 之后插入新列。为空字符串时使用布局默认位置(表格插入到首位,列表/卡片/看板插入到末尾)
* 返回值
diff --git a/kernel/apicontract/av_test.go b/kernel/apicontract/av_test.go
index da71afeac1..fc44d8ed97 100644
--- a/kernel/apicontract/av_test.go
+++ b/kernel/apicontract/av_test.go
@@ -50,7 +50,10 @@ func TestAVRelationItemNameChoiceCompatibility(t *testing.T) {
}
func TestAVValuePatchPresence(t *testing.T) {
- for _, patch := range []string{`{}`, `{"text":{}}`, `{"text":{"content":""}}`, `{"text":null}`, `{"TEXT":{"CONTENT":"x"},"unknown":{"keep":true}}`} {
+ for _, patch := range []string{`{}`, `{"text":{}}`, `{"text":{"content":""}}`, `{"text":null}`, `{"TEXT":{"CONTENT":"x"},"unknown":{"keep":true}}`,
+ `{"location":{}}`, `{"location":null}`, `{"location":{"name":"Home"}}`,
+ `{"location":{"latitude":null,"longitude":null}}`,
+ `{"location":{"latitude":0,"longitude":0,"coordinateSystem":"unknown","originalInput":" 0.0, +0 "}}`} {
request, err := SetAttributeViewBlockAttr.Decode(strings.NewReader(`{"avID":"av","keyID":"key","itemID":"item","value":` + patch + `}`))
if err != nil {
t.Fatal(err)
@@ -83,6 +86,46 @@ func TestAVValuePatchPresence(t *testing.T) {
}
}
+func TestAVLocationContract(t *testing.T) {
+ for _, patch := range []string{
+ `{"location":{"latitude":"0","longitude":0}}`,
+ `{"location":{"latitude":0,"longitude":false}}`,
+ `{"location":{"originalInput":123}}`,
+ } {
+ if _, err := SetAttributeViewBlockAttr.Decode(strings.NewReader(`{"avID":"av","keyID":"key","value":` + patch + `}`)); err == nil {
+ t.Fatalf("invalid location structure accepted: %s", patch)
+ }
+ }
+ filters, err := SetAttrViewFilters.Decode(strings.NewReader(`{"avID":"av","blockID":"block","data":[{"column":"key","operator":"Contains","value":{"type":"location","text":{"content":"Home"}}}]}`))
+ if err != nil || len(filters.Data) != 1 || filters.Data[0].Value.Text.Content != "Home" {
+ t.Fatalf("location text filter: %+v %v", filters, err)
+ }
+ bundle, err := BuildBundle()
+ if err != nil {
+ t.Fatal(err)
+ }
+ for _, value := range []string{
+ `{"type":"location","location":{"name":"Home","latitude":0,"longitude":0,"coordinateSystem":"wgs84","originalInput":"0,0"}}`,
+ `{"type":"location","location":{"name":"Home"}}`,
+ `{"type":"location"}`,
+ `{"type":"rollup","rollup":{"contents":[{"type":"location","location":{"latitude":-90,"longitude":180,"coordinateSystem":"unknown"}}]}}`,
+ } {
+ body := []byte(`{"code":0,"msg":"","data":{"values":{"key":` + value + `}}}`)
+ if err := bundle.ValidateResponse("POST", "/api/av/getAttributeViewAddingBlockDefaultValues", body); err != nil {
+ t.Fatalf("location response rejected: %s %v", value, err)
+ }
+ }
+ keyData, err := json.Marshal(map[string]any{"code": 0, "msg": "", "data": []*AVKey{{
+ ID: "location-key", Type: "location", Location: &AVLocation{DefaultCoordinateSystem: "gcj02"},
+ }}})
+ if err != nil {
+ t.Fatal(err)
+ }
+ if err := bundle.ValidateResponse("POST", "/api/av/getAttributeViewKeysByID", keyData); err != nil {
+ t.Fatalf("location field settings rejected: %v", err)
+ }
+}
+
func TestAVResponseSchemas(t *testing.T) {
bundle, err := BuildBundle()
if err != nil {
diff --git a/kernel/apicontract/av_types.go b/kernel/apicontract/av_types.go
index 1fe2665d8a..ead7ee9909 100644
--- a/kernel/apicontract/av_types.go
+++ b/kernel/apicontract/av_types.go
@@ -52,7 +52,7 @@ type AVValue struct {
ID string `json:"id,omitempty" api:"optional,nullable"`
KeyID string `json:"keyID,omitempty" api:"optional,nullable"`
BlockID string `json:"blockID,omitempty" api:"optional,nullable"`
- Type string `json:"type,omitempty" api:"optional,nullable,enum=block|text|number|date|select|mSelect|url|email|phone|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
+ Type string `json:"type,omitempty" api:"optional,nullable,enum=block|text|number|date|select|mSelect|url|email|phone|location|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
IsDetached bool `json:"isDetached,omitempty" api:"optional,nullable"`
CreatedAt int64 `json:"createdAt,omitempty" api:"optional,nullable"`
UpdatedAt int64 `json:"updatedAt,omitempty" api:"optional,nullable"`
@@ -64,6 +64,7 @@ type AVValue struct {
URL *AVValueURL `json:"url,omitempty" api:"optional,nullable"`
Email *AVValueEmail `json:"email,omitempty" api:"optional,nullable"`
Phone *AVValuePhone `json:"phone,omitempty" api:"optional,nullable"`
+ Location *AVValueLocation `json:"location,omitempty" api:"optional,nullable"`
MAsset []*AVValueAsset `json:"mAsset,omitempty" api:"optional,nullable"`
Template *AVValueTemplate `json:"template,omitempty" api:"optional,nullable"`
Created *AVValueCreated `json:"created,omitempty" api:"optional,nullable"`
@@ -143,6 +144,22 @@ type AVValuePhone struct {
Content string `json:"content" api:"optional,nullable"`
}
+// AVValueLocation 保存单个位置的原始坐标,不执行坐标系转换。
+// API 使用具名成员;界面、粘贴和文本导出统一为“纬度, 经度”,不接受无标签的坐标数组。
+// 纬度和经度必须同时为空或同时提供,范围分别为 [-90,90] 和 [-180,180],零是有效坐标。
+// 更新时省略成员保留原值,显式 null 同时清空两个坐标;名称可以独立存在。
+// 坐标系省略或为空时按 unknown 处理,不推断 WGS84;其他非枚举值会被拒绝。
+// 后续地图适配必须显式选择坐标顺序与转换规则,未知坐标系不能直接视为 WGS84。
+// 位置字段的文本筛选条件放在 AVValue.Text.Content,不将搜索词解析成坐标。
+type AVValueLocation struct {
+ Name string `json:"name,omitempty" api:"optional,nullable"`
+ Latitude *float64 `json:"latitude,omitempty" api:"optional,nullable"`
+ Longitude *float64 `json:"longitude,omitempty" api:"optional,nullable"`
+ CoordinateSystem string `json:"coordinateSystem,omitempty" api:"optional,nullable,enum=|unknown|wgs84|gcj02|bd09"`
+ // 来源文本不参与判空、筛选和排序。仅修改名称时保留;修改坐标或有效坐标系时若省略则清空。
+ OriginalInput string `json:"originalInput,omitempty" api:"optional,nullable"`
+}
+
type AVValueAsset struct {
Type string `json:"type" api:"optional,nullable,enum=file|image"`
Name string `json:"name" api:"optional,nullable"`
@@ -215,7 +232,7 @@ type AVKey struct {
AttributePanelVisibility string `json:"attributePanelVisibility,omitempty" api:"optional,nullable,enum=|always|hide-empty|hide"`
ID string `json:"id" api:"optional,nullable"`
Name string `json:"name" api:"optional,nullable"`
- Type string `json:"type" api:"optional,nullable,enum=block|text|number|date|select|mSelect|url|email|phone|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
+ Type string `json:"type" api:"optional,nullable,enum=block|text|number|date|select|mSelect|url|email|phone|location|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
Icon string `json:"icon" api:"optional,nullable"`
Desc string `json:"desc" api:"optional,nullable"`
Options []*AVSelectOption `json:"options,omitempty" api:"optional,nullable"`
@@ -228,6 +245,7 @@ type AVKey struct {
Relation *AVRelation `json:"relation,omitempty" api:"optional,nullable"`
Rollup *AVRollup `json:"rollup,omitempty" api:"optional,nullable"`
Date *AVDate `json:"date,omitempty" api:"optional,nullable"`
+ Location *AVLocation `json:"location,omitempty" api:"optional,nullable"`
Created *AVCreated `json:"created,omitempty" api:"optional,nullable"`
Updated *AVUpdated `json:"updated,omitempty" api:"optional,nullable"`
}
@@ -239,6 +257,12 @@ type AVSelectOption struct {
ResolvedColor *AVAttributeViewColor `json:"resolvedColor,omitempty" api:"optional,nullable"`
}
+// AVLocation 的默认坐标系仅供新录入使用,不改变任何已存位置或复制、导入的值。
+// 每个 AVValueLocation 的坐标系独立保存,显式 unknown 不是等待应用默认值的空值。
+type AVLocation struct {
+ DefaultCoordinateSystem string `json:"defaultCoordinateSystem,omitempty" api:"optional,nullable,enum=|unknown|wgs84|gcj02|bd09"`
+}
+
type AVRelation struct {
AvID string `json:"avID" api:"optional,nullable"`
IsTwoWay bool `json:"isTwoWay" api:"optional,nullable"`
@@ -292,7 +316,7 @@ type AVTableColumn struct {
type AVBaseInstanceField struct {
ID string `json:"id" api:"optional,nullable"`
Name string `json:"name" api:"optional,nullable"`
- Type string `json:"type" api:"optional,nullable,enum=block|text|number|date|select|mSelect|url|email|phone|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
+ Type string `json:"type" api:"optional,nullable,enum=block|text|number|date|select|mSelect|url|email|phone|location|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
Icon string `json:"icon" api:"optional,nullable"`
Wrap bool `json:"wrap" api:"optional,nullable"`
Hidden bool `json:"hidden" api:"optional,nullable"`
@@ -307,6 +331,7 @@ type AVBaseInstanceField struct {
Relation *AVRelation `json:"relation,omitempty" api:"optional,nullable"`
Rollup *AVRollup `json:"rollup,omitempty" api:"optional,nullable"`
Date *AVDate `json:"date,omitempty" api:"optional,nullable"`
+ Location *AVLocation `json:"location,omitempty" api:"optional,nullable"`
Created *AVCreated `json:"created,omitempty" api:"optional,nullable"`
Updated *AVUpdated `json:"updated,omitempty" api:"optional,nullable"`
}
@@ -326,7 +351,7 @@ type AVTableCell struct {
type AVBaseValue struct {
ID string `json:"id" api:"optional,nullable"`
Value *AVValue `json:"value" api:"optional,nullable"`
- ValueType string `json:"valueType" api:"optional,nullable,enum=block|text|number|date|select|mSelect|url|email|phone|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
+ ValueType string `json:"valueType" api:"optional,nullable,enum=block|text|number|date|select|mSelect|url|email|phone|location|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
}
type AVGallery struct {
diff --git a/kernel/apicontract/schema.json b/kernel/apicontract/schema.json
index 76f27ee7e5..457b45317b 100644
--- a/kernel/apicontract/schema.json
+++ b/kernel/apicontract/schema.json
@@ -8145,6 +8145,9 @@
"id": {
"type": "string"
},
+ "location": {
+ "$ref": "#/$defs/AVLocation"
+ },
"name": {
"type": "string"
},
@@ -8188,6 +8191,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -8264,6 +8268,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -8848,6 +8853,9 @@
"id": {
"type": "string"
},
+ "location": {
+ "$ref": "#/$defs/AVLocation"
+ },
"name": {
"type": "string"
},
@@ -8891,6 +8899,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -8967,6 +8976,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -9029,6 +9039,9 @@
"id": {
"type": "string"
},
+ "location": {
+ "$ref": "#/$defs/AVLocation"
+ },
"name": {
"type": "string"
},
@@ -9072,6 +9085,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -9842,6 +9856,22 @@
}
]
},
+ "AVLocation": {
+ "type": "object",
+ "properties": {
+ "defaultCoordinateSystem": {
+ "type": "string",
+ "enum": [
+ "",
+ "unknown",
+ "wgs84",
+ "gcj02",
+ "bd09"
+ ]
+ }
+ },
+ "additionalProperties": false
+ },
"AVNewItemFieldValue": {
"type": "object",
"properties": {
@@ -11590,6 +11620,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -11681,6 +11712,9 @@
"id": {
"type": "string"
},
+ "location": {
+ "$ref": "#/$defs/AVLocation"
+ },
"name": {
"type": "string"
},
@@ -11727,6 +11761,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -11891,6 +11926,9 @@
"keyID": {
"type": "string"
},
+ "location": {
+ "$ref": "#/$defs/AVValueLocation"
+ },
"mAsset": {
"type": "array",
"items": {
@@ -11950,6 +11988,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -12521,6 +12560,16 @@
}
]
},
+ "location": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AVValueLocationInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
"mAsset": {
"anyOf": [
{
@@ -12642,6 +12691,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -12693,6 +12743,97 @@
},
"additionalProperties": false
},
+ "AVValueLocation": {
+ "type": "object",
+ "properties": {
+ "coordinateSystem": {
+ "type": "string",
+ "enum": [
+ "",
+ "unknown",
+ "wgs84",
+ "gcj02",
+ "bd09"
+ ]
+ },
+ "latitude": {
+ "type": "number"
+ },
+ "longitude": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "originalInput": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "AVValueLocationInput": {
+ "type": "object",
+ "properties": {
+ "coordinateSystem": {
+ "enum": [
+ "",
+ "unknown",
+ "wgs84",
+ "gcj02",
+ "bd09"
+ ],
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "latitude": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "longitude": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "originalInput": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false
+ },
"AVValueNumber": {
"type": "object",
"properties": {
@@ -53170,6 +53311,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -53373,6 +53515,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -53576,6 +53719,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -53779,6 +53923,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -54002,6 +54147,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -54225,6 +54371,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -54448,6 +54595,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -54658,6 +54806,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -54878,6 +55027,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -55095,6 +55245,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -55311,6 +55462,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -55521,6 +55673,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -55744,6 +55897,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -55967,6 +56121,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -56183,6 +56338,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -56406,6 +56562,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -56629,6 +56786,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -56839,6 +56997,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -57042,6 +57201,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -57245,6 +57405,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -57455,6 +57616,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -57665,6 +57827,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -57875,6 +58038,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -58095,6 +58259,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -58315,6 +58480,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -58518,6 +58684,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -58738,6 +58905,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -58958,6 +59126,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -59178,6 +59347,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -59388,6 +59558,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -59598,6 +59769,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -59811,6 +59983,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -60021,6 +60194,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -60231,6 +60405,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -60441,6 +60616,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -60651,6 +60827,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -60861,6 +61038,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -61071,6 +61249,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -61281,6 +61460,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -61340,7 +61520,7 @@
"action": {
"type": "string",
"enum": [
- "insertAttrViewBlock"
+ "setAttrViewColLocationDefaultCoordinateSystem"
]
},
"avID": {
@@ -61382,7 +61562,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -61427,14 +61614,7 @@
"type": "boolean"
},
"retData": {
- "anyOf": [
- {
- "$ref": "#/$defs/TransactionInsertedItems"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"rootID": {
"type": "string"
@@ -61491,6 +61671,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -61550,7 +61731,7 @@
"action": {
"type": "string",
"enum": [
- "removeAttrViewBlock"
+ "insertAttrViewBlock"
]
},
"avID": {
@@ -61637,7 +61818,14 @@
"type": "boolean"
},
"retData": {
- "type": "null"
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionInsertedItems"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"rootID": {
"type": "string"
@@ -61694,6 +61882,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -61753,7 +61942,7 @@
"action": {
"type": "string",
"enum": [
- "addAttrViewCol"
+ "removeAttrViewBlock"
]
},
"avID": {
@@ -61795,14 +61984,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -61904,6 +62086,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -61963,7 +62146,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewCol"
+ "addAttrViewCol"
]
},
"avID": {
@@ -62005,7 +62188,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -62107,6 +62297,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -62166,7 +62357,7 @@
"action": {
"type": "string",
"enum": [
- "removeAttrViewCol"
+ "updateAttrViewCol"
]
},
"avID": {
@@ -62310,6 +62501,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -62369,7 +62561,7 @@
"action": {
"type": "string",
"enum": [
- "sortAttrViewRow"
+ "removeAttrViewCol"
]
},
"avID": {
@@ -62411,14 +62603,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "$ref": "#/$defs/AVRowOrderChangeInput"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -62520,6 +62705,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -62579,7 +62765,7 @@
"action": {
"type": "string",
"enum": [
- "sortAttrViewCol"
+ "sortAttrViewRow"
]
},
"avID": {
@@ -62621,7 +62807,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AVRowOrderChangeInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -62723,6 +62916,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -62782,7 +62976,7 @@
"action": {
"type": "string",
"enum": [
- "sortAttrViewKey"
+ "sortAttrViewCol"
]
},
"avID": {
@@ -62926,6 +63120,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -62985,7 +63180,7 @@
"action": {
"type": "string",
"enum": [
- "sortAttrViewBinding"
+ "sortAttrViewKey"
]
},
"avID": {
@@ -63129,6 +63324,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -63188,7 +63384,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewCell"
+ "sortAttrViewBinding"
]
},
"avID": {
@@ -63230,14 +63426,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "$ref": "#/$defs/AVValueInput"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -63339,6 +63528,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -63398,7 +63588,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewCells"
+ "updateAttrViewCell"
]
},
"avID": {
@@ -63440,7 +63630,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AVValueInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -63542,6 +63739,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -63601,7 +63799,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewColOptions"
+ "updateAttrViewCells"
]
},
"avID": {
@@ -63643,24 +63841,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/$defs/AVSelectOptionInput"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -63762,6 +63943,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -63821,7 +64003,7 @@
"action": {
"type": "string",
"enum": [
- "removeAttrViewColOption"
+ "updateAttrViewColOptions"
]
},
"avID": {
@@ -63865,7 +64047,17 @@
"data": {
"anyOf": [
{
- "type": "string"
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AVSelectOptionInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
},
{
"type": "null"
@@ -63972,6 +64164,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -64031,7 +64224,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewColOption"
+ "removeAttrViewColOption"
]
},
"avID": {
@@ -64075,7 +64268,7 @@
"data": {
"anyOf": [
{
- "$ref": "#/$defs/TransactionOptionChangeInput"
+ "type": "string"
},
{
"type": "null"
@@ -64182,6 +64375,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -64241,7 +64435,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColOptionDesc"
+ "updateAttrViewColOption"
]
},
"avID": {
@@ -64285,7 +64479,7 @@
"data": {
"anyOf": [
{
- "$ref": "#/$defs/TransactionOptionDescriptionInput"
+ "$ref": "#/$defs/TransactionOptionChangeInput"
},
{
"type": "null"
@@ -64392,6 +64586,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -64451,7 +64646,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCustomColors"
+ "setAttrViewColOptionDesc"
]
},
"avID": {
@@ -64495,31 +64690,7 @@
"data": {
"anyOf": [
{
- "anyOf": [
- {
- "$ref": "#/$defs/TransactionCustomColorsInput"
- },
- {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/$defs/AVAttributeViewCustomColorInput"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- {
- "type": "null"
- }
- ]
- }
- ]
+ "$ref": "#/$defs/TransactionOptionDescriptionInput"
},
{
"type": "null"
@@ -64626,6 +64797,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -64685,7 +64857,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColCalc"
+ "setAttrViewCustomColors"
]
},
"avID": {
@@ -64729,7 +64901,31 @@
"data": {
"anyOf": [
{
- "$ref": "#/$defs/AVFieldCalcInput"
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionCustomColorsInput"
+ },
+ {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AVAttributeViewCustomColorInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ ]
},
{
"type": "null"
@@ -64836,6 +65032,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -64895,7 +65092,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewColNumberFormat"
+ "setAttrViewColCalc"
]
},
"avID": {
@@ -64937,7 +65134,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AVFieldCalcInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -65039,6 +65243,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -65098,7 +65303,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColDateFormat"
+ "updateAttrViewColNumberFormat"
]
},
"avID": {
@@ -65242,6 +65447,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -65301,7 +65507,7 @@
"action": {
"type": "string",
"enum": [
- "replaceAttrViewBlock"
+ "setAttrViewColDateFormat"
]
},
"avID": {
@@ -65388,14 +65594,7 @@
"type": "boolean"
},
"retData": {
- "anyOf": [
- {
- "$ref": "#/$defs/TransactionReplacedItem"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"rootID": {
"type": "string"
@@ -65452,6 +65651,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -65511,7 +65711,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewColTemplate"
+ "replaceAttrViewBlock"
]
},
"avID": {
@@ -65553,14 +65753,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -65605,7 +65798,14 @@
"type": "boolean"
},
"retData": {
- "type": "null"
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionReplacedItem"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"rootID": {
"type": "string"
@@ -65662,6 +65862,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -65721,7 +65922,7 @@
"action": {
"type": "string",
"enum": [
- "addAttrViewView"
+ "updateAttrViewColTemplate"
]
},
"avID": {
@@ -65763,7 +65964,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -65865,6 +66073,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -65924,7 +66133,7 @@
"action": {
"type": "string",
"enum": [
- "removeAttrViewView"
+ "addAttrViewView"
]
},
"avID": {
@@ -66011,14 +66220,7 @@
"type": "boolean"
},
"retData": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"rootID": {
"type": "string"
@@ -66075,6 +66277,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -66134,7 +66337,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewViewName"
+ "removeAttrViewView"
]
},
"avID": {
@@ -66176,14 +66379,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -66228,7 +66424,14 @@
"type": "boolean"
},
"retData": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"rootID": {
"type": "string"
@@ -66285,6 +66488,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -66344,7 +66548,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewViewIcon"
+ "setAttrViewViewName"
]
},
"avID": {
@@ -66495,6 +66699,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -66554,7 +66759,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewViewDesc"
+ "setAttrViewViewIcon"
]
},
"avID": {
@@ -66705,6 +66910,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -66764,7 +66970,7 @@
"action": {
"type": "string",
"enum": [
- "duplicateAttrViewView"
+ "setAttrViewViewDesc"
]
},
"avID": {
@@ -66806,7 +67012,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -66908,6 +67121,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -66967,7 +67181,7 @@
"action": {
"type": "string",
"enum": [
- "duplicateAttrViewRow"
+ "duplicateAttrViewView"
]
},
"avID": {
@@ -67111,6 +67325,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -67170,7 +67385,7 @@
"action": {
"type": "string",
"enum": [
- "sortAttrViewView"
+ "duplicateAttrViewRow"
]
},
"avID": {
@@ -67212,14 +67427,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -67321,6 +67529,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -67380,7 +67589,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewColRelation"
+ "sortAttrViewView"
]
},
"avID": {
@@ -67422,7 +67631,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -67524,6 +67740,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -67583,7 +67800,7 @@
"action": {
"type": "string",
"enum": [
- "updateAttrViewColRollup"
+ "updateAttrViewColRelation"
]
},
"avID": {
@@ -67625,14 +67842,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "$ref": "#/$defs/TransactionRollupInput"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -67734,6 +67944,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -67793,7 +68004,7 @@
"action": {
"type": "string",
"enum": [
- "hideAttrViewName"
+ "updateAttrViewColRollup"
]
},
"avID": {
@@ -67837,7 +68048,7 @@
"data": {
"anyOf": [
{
- "type": "boolean"
+ "$ref": "#/$defs/TransactionRollupInput"
},
{
"type": "null"
@@ -67944,6 +68155,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -68003,7 +68215,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColDateFillCreated"
+ "hideAttrViewName"
]
},
"avID": {
@@ -68154,6 +68366,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -68213,7 +68426,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColDateFillSpecificTime"
+ "setAttrViewColDateFillCreated"
]
},
"avID": {
@@ -68364,6 +68577,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -68423,7 +68637,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCreatedIncludeTime"
+ "setAttrViewColDateFillSpecificTime"
]
},
"avID": {
@@ -68574,6 +68788,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -68633,7 +68848,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewUpdatedIncludeTime"
+ "setAttrViewCreatedIncludeTime"
]
},
"avID": {
@@ -68784,6 +68999,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -68843,7 +69059,7 @@
"action": {
"type": "string",
"enum": [
- "duplicateAttrViewKey"
+ "setAttrViewUpdatedIncludeTime"
]
},
"avID": {
@@ -68885,7 +69101,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -68987,6 +69210,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -69046,7 +69270,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCoverFrom"
+ "duplicateAttrViewKey"
]
},
"avID": {
@@ -69088,14 +69312,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -69197,6 +69414,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -69256,7 +69474,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCoverFromAssetKeyID"
+ "setAttrViewCoverFrom"
]
},
"avID": {
@@ -69298,7 +69516,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -69400,6 +69625,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -69459,7 +69685,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCardCoverPosition"
+ "setAttrViewCoverFromAssetKeyID"
]
},
"avID": {
@@ -69501,14 +69727,7 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "anyOf": [
- {
- "$ref": "#/$defs/TransactionCardCoverPositionInput"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"type": "string"
@@ -69610,6 +69829,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -69669,7 +69889,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCardSize"
+ "setAttrViewCardCoverPosition"
]
},
"avID": {
@@ -69713,7 +69933,7 @@
"data": {
"anyOf": [
{
- "type": "number"
+ "$ref": "#/$defs/TransactionCardCoverPositionInput"
},
{
"type": "null"
@@ -69820,6 +70040,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -69879,7 +70100,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCardWidth"
+ "setAttrViewCardSize"
]
},
"avID": {
@@ -70030,6 +70251,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -70089,7 +70311,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCalendar"
+ "setAttrViewCardWidth"
]
},
"avID": {
@@ -70133,7 +70355,7 @@
"data": {
"anyOf": [
{
- "$ref": "#/$defs/AVCalendarSettingsInput"
+ "type": "number"
},
{
"type": "null"
@@ -70240,6 +70462,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -70299,7 +70522,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewCardLayout"
+ "setAttrViewCalendar"
]
},
"avID": {
@@ -70343,7 +70566,7 @@
"data": {
"anyOf": [
{
- "type": "number"
+ "$ref": "#/$defs/AVCalendarSettingsInput"
},
{
"type": "null"
@@ -70450,6 +70673,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -70509,7 +70733,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColFullRow"
+ "setAttrViewCardLayout"
]
},
"avID": {
@@ -70553,7 +70777,7 @@
"data": {
"anyOf": [
{
- "type": "boolean"
+ "type": "number"
},
{
"type": "null"
@@ -70660,6 +70884,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -70719,7 +70944,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewFitImage"
+ "setAttrViewColFullRow"
]
},
"avID": {
@@ -70870,6 +71095,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -70929,7 +71155,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewDisplayFieldName"
+ "setAttrViewFitImage"
]
},
"avID": {
@@ -71080,6 +71306,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -71139,7 +71366,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewDisplayEmptyFields"
+ "setAttrViewDisplayFieldName"
]
},
"avID": {
@@ -71290,6 +71517,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -71349,7 +71577,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewFillColBackgroundColor"
+ "setAttrViewDisplayEmptyFields"
]
},
"avID": {
@@ -71500,6 +71728,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -71559,7 +71788,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewShowIcon"
+ "setAttrViewFillColBackgroundColor"
]
},
"avID": {
@@ -71710,6 +71939,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -71769,7 +71999,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewWrapField"
+ "setAttrViewShowIcon"
]
},
"avID": {
@@ -71920,6 +72150,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -71979,7 +72210,7 @@
"action": {
"type": "string",
"enum": [
- "changeAttrViewLayout"
+ "setAttrViewWrapField"
]
},
"avID": {
@@ -72021,7 +72252,14 @@
"$ref": "#/$defs/TransactionContext"
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"type": "string"
@@ -72123,6 +72361,211 @@
"url",
"email",
"phone",
+ "location",
+ "mAsset",
+ "template",
+ "created",
+ "updated",
+ "checkbox",
+ "relation",
+ "rollup",
+ "lineNumber"
+ ]
+ },
+ "viewID": {
+ "type": "string"
+ },
+ "viewIDs": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "action",
+ "id",
+ "rootID",
+ "parentID",
+ "previousID",
+ "nextID",
+ "blockIDs",
+ "blockID",
+ "deckID",
+ "avID",
+ "srcIDs",
+ "srcs",
+ "isDetached",
+ "name",
+ "type",
+ "format",
+ "keyID",
+ "rowID",
+ "isTwoWay",
+ "backRelationKeyID",
+ "removeDest",
+ "layout",
+ "groupID",
+ "targetGroupID",
+ "viewID",
+ "ignoreDefaultFill",
+ "context",
+ "data",
+ "retData"
+ ],
+ "additionalProperties": false
+ },
+ {
+ "type": "object",
+ "properties": {
+ "action": {
+ "type": "string",
+ "enum": [
+ "changeAttrViewLayout"
+ ]
+ },
+ "avID": {
+ "type": "string"
+ },
+ "backRelationKeyID": {
+ "type": "string"
+ },
+ "blockID": {
+ "type": "string"
+ },
+ "blockIDs": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "cellUpdates": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionCellUpdate"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "context": {
+ "$ref": "#/$defs/TransactionContext"
+ },
+ "data": {
+ "type": "null"
+ },
+ "deckID": {
+ "type": "string"
+ },
+ "format": {
+ "type": "string"
+ },
+ "groupID": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "ignoreDefaultFill": {
+ "type": "boolean"
+ },
+ "isDetached": {
+ "type": "boolean"
+ },
+ "isTwoWay": {
+ "type": "boolean"
+ },
+ "keyID": {
+ "type": "string"
+ },
+ "layout": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "nextID": {
+ "type": "string"
+ },
+ "parentID": {
+ "type": "string"
+ },
+ "previousID": {
+ "type": "string"
+ },
+ "removeDest": {
+ "type": "boolean"
+ },
+ "retData": {
+ "type": "null"
+ },
+ "rootID": {
+ "type": "string"
+ },
+ "rowID": {
+ "type": "string"
+ },
+ "srcIDs": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "srcs": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionSourceFieldsInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "targetGroupID": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "",
+ "block",
+ "text",
+ "number",
+ "date",
+ "select",
+ "mSelect",
+ "url",
+ "email",
+ "phone",
+ "location",
"mAsset",
"template",
"created",
@@ -72326,6 +72769,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -72529,6 +72973,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -72739,6 +73184,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -72949,6 +73395,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -73159,6 +73606,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -73369,6 +73817,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -73579,6 +74028,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -73789,6 +74239,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -74002,6 +74453,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -74205,6 +74657,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -74408,6 +74861,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -74611,6 +75065,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -74811,6 +75266,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -75178,6 +75634,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -75528,6 +75985,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -75878,6 +76336,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -76228,6 +76687,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -76598,6 +77058,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -76968,6 +77429,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -77338,6 +77800,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -77695,6 +78158,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -77977,10 +78441,375 @@
"retData": {
"anyOf": [
{
- "type": "array",
- "items": {
- "type": "string"
- }
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "rootID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "rowID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "srcIDs": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "srcs": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionSourceFieldsInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "targetGroupID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "enum": [
+ "",
+ "block",
+ "text",
+ "number",
+ "date",
+ "select",
+ "mSelect",
+ "url",
+ "email",
+ "phone",
+ "location",
+ "mAsset",
+ "template",
+ "created",
+ "updated",
+ "checkbox",
+ "relation",
+ "rollup",
+ "lineNumber"
+ ],
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "viewID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "viewIDs": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "additionalProperties": false
+ },
+ {
+ "type": "object",
+ "properties": {
+ "action": {
+ "type": "string",
+ "enum": [
+ "convertList"
+ ]
+ },
+ "avID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "backRelationKeyID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "blockID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "blockIDs": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "cellUpdates": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionCellUpdateInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "context": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionContext"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "data": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionListConversionInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "deckID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "format": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "groupID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ignoreDefaultFill": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "isDetached": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "isTwoWay": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "keyID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "layout": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "nextID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "parentID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "previousID": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "removeDest": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retData": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/TransactionListConversionResultInput"
},
{
"type": "null"
@@ -78062,6 +78891,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -78115,7 +78945,7 @@
"action": {
"type": "string",
"enum": [
- "convertList"
+ "moveOutlineHeading"
]
},
"avID": {
@@ -78192,14 +79022,7 @@
]
},
"data": {
- "anyOf": [
- {
- "$ref": "#/$defs/TransactionListConversionInput"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"anyOf": [
@@ -78344,10 +79167,16 @@
"retData": {
"anyOf": [
{
- "$ref": "#/$defs/TransactionListConversionResultInput"
+ "type": "null"
},
{
- "type": "null"
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
]
},
@@ -78426,6 +79255,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -78479,7 +79309,7 @@
"action": {
"type": "string",
"enum": [
- "moveOutlineHeading"
+ "append"
]
},
"avID": {
@@ -78556,7 +79386,14 @@
]
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"anyOf": [
@@ -78699,20 +79536,7 @@
]
},
"retData": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- ]
+ "type": "null"
},
"rootID": {
"anyOf": [
@@ -78789,6 +79613,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -78842,7 +79667,7 @@
"action": {
"type": "string",
"enum": [
- "append"
+ "appendInsert"
]
},
"avID": {
@@ -79069,7 +79894,20 @@
]
},
"retData": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ ]
},
"rootID": {
"anyOf": [
@@ -79146,6 +79984,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -79199,7 +80038,7 @@
"action": {
"type": "string",
"enum": [
- "appendInsert"
+ "prependInsert"
]
},
"avID": {
@@ -79516,6 +80355,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -79569,7 +80409,7 @@
"action": {
"type": "string",
"enum": [
- "prependInsert"
+ "foldHeading"
]
},
"avID": {
@@ -79646,14 +80486,7 @@
]
},
"data": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"anyOf": [
@@ -79886,6 +80719,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -79939,7 +80773,7 @@
"action": {
"type": "string",
"enum": [
- "foldHeading"
+ "unfoldHeading"
]
},
"avID": {
@@ -80016,7 +80850,14 @@
]
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"anyOf": [
@@ -80249,6 +81090,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -80302,7 +81144,7 @@
"action": {
"type": "string",
"enum": [
- "unfoldHeading"
+ "setAttrs"
]
},
"avID": {
@@ -80619,6 +81461,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -80672,7 +81515,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrs"
+ "doUpdateUpdated"
]
},
"avID": {
@@ -80899,20 +81742,7 @@
]
},
"retData": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- ]
+ "type": "null"
},
"rootID": {
"anyOf": [
@@ -80989,6 +81819,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -81042,7 +81873,7 @@
"action": {
"type": "string",
"enum": [
- "doUpdateUpdated"
+ "addFlashcards"
]
},
"avID": {
@@ -81119,14 +81950,7 @@
]
},
"data": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"anyOf": [
@@ -81346,6 +82170,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -81399,7 +82224,7 @@
"action": {
"type": "string",
"enum": [
- "addFlashcards"
+ "removeFlashcards"
]
},
"avID": {
@@ -81696,6 +82521,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -81749,7 +82575,7 @@
"action": {
"type": "string",
"enum": [
- "removeFlashcards"
+ "setAttrViewName"
]
},
"avID": {
@@ -81826,7 +82652,14 @@
]
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"anyOf": [
@@ -82046,6 +82879,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -82099,7 +82933,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewName"
+ "setAttrViewNewItemTemplates"
]
},
"avID": {
@@ -82178,7 +83012,7 @@
"data": {
"anyOf": [
{
- "type": "string"
+ "$ref": "#/$defs/TransactionNewItemTemplatesInput"
},
{
"type": "null"
@@ -82403,6 +83237,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -82456,7 +83291,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewNewItemTemplates"
+ "setAttrViewAutomations"
]
},
"avID": {
@@ -82535,7 +83370,7 @@
"data": {
"anyOf": [
{
- "$ref": "#/$defs/TransactionNewItemTemplatesInput"
+ "$ref": "#/$defs/AVAutomationConfigInput"
},
{
"type": "null"
@@ -82760,6 +83595,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -82813,7 +83649,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewAutomations"
+ "setAttrViewConditionalColors"
]
},
"avID": {
@@ -82892,7 +83728,17 @@
"data": {
"anyOf": [
{
- "$ref": "#/$defs/AVAutomationConfigInput"
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AVConditionalColorRuleInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
},
{
"type": "null"
@@ -83117,6 +83963,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -83170,7 +84017,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewConditionalColors"
+ "setAttrViewFilters"
]
},
"avID": {
@@ -83253,7 +84100,7 @@
"items": {
"anyOf": [
{
- "$ref": "#/$defs/AVConditionalColorRuleInput"
+ "$ref": "#/$defs/AVViewFilterInput"
},
{
"type": "null"
@@ -83484,6 +84331,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -83537,7 +84385,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewFilters"
+ "setAttrViewContextFilter"
]
},
"avID": {
@@ -83614,24 +84462,7 @@
]
},
"data": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/$defs/AVViewFilterInput"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- {
- "type": "null"
- }
- ]
+ "type": "null"
},
"deckID": {
"anyOf": [
@@ -83851,6 +84682,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -83904,7 +84736,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewContextFilter"
+ "setAttrViewColRelationFilters"
]
},
"avID": {
@@ -83981,7 +84813,24 @@
]
},
"data": {
- "type": "null"
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/AVViewFilterInput"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
},
"deckID": {
"anyOf": [
@@ -84201,6 +85050,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -84254,7 +85104,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColRelationFilters"
+ "setAttrViewColRollupFilters"
]
},
"avID": {
@@ -84568,6 +85418,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -84621,7 +85472,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColRollupFilters"
+ "setAttrViewSorts"
]
},
"avID": {
@@ -84704,7 +85555,7 @@
"items": {
"anyOf": [
{
- "$ref": "#/$defs/AVViewFilterInput"
+ "$ref": "#/$defs/AVViewSortInput"
},
{
"type": "null"
@@ -84935,6 +85786,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -84988,7 +85840,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewSorts"
+ "setAttrViewPageSize"
]
},
"avID": {
@@ -85067,17 +85919,7 @@
"data": {
"anyOf": [
{
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/$defs/AVViewSortInput"
- },
- {
- "type": "null"
- }
- ]
- }
+ "type": "number"
},
{
"type": "null"
@@ -85302,6 +86144,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -85355,7 +86198,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewPageSize"
+ "setAttrViewColWidth"
]
},
"avID": {
@@ -85434,7 +86277,7 @@
"data": {
"anyOf": [
{
- "type": "number"
+ "type": "string"
},
{
"type": "null"
@@ -85659,6 +86502,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -85712,7 +86556,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColWidth"
+ "setAttrViewColsWidth"
]
},
"avID": {
@@ -85791,7 +86635,10 @@
"data": {
"anyOf": [
{
- "type": "string"
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
},
{
"type": "null"
@@ -86016,6 +86863,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -86069,7 +86917,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColsWidth"
+ "setAttrViewColAlign"
]
},
"avID": {
@@ -86148,10 +86996,7 @@
"data": {
"anyOf": [
{
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
+ "type": "string"
},
{
"type": "null"
@@ -86376,6 +87221,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -86429,7 +87275,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColAlign"
+ "setAttrViewColWrap"
]
},
"avID": {
@@ -86508,7 +87354,7 @@
"data": {
"anyOf": [
{
- "type": "string"
+ "type": "boolean"
},
{
"type": "null"
@@ -86733,6 +87579,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -86786,7 +87633,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColWrap"
+ "setAttrViewColHidden"
]
},
"avID": {
@@ -87090,6 +87937,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -87143,7 +87991,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColHidden"
+ "setAttrViewColPin"
]
},
"avID": {
@@ -87447,6 +88295,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -87500,7 +88349,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColPin"
+ "setAttrViewColIcon"
]
},
"avID": {
@@ -87579,7 +88428,7 @@
"data": {
"anyOf": [
{
- "type": "boolean"
+ "type": "string"
},
{
"type": "null"
@@ -87804,6 +88653,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -87857,7 +88707,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColIcon"
+ "setAttrViewColDesc"
]
},
"avID": {
@@ -88161,6 +89011,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -88214,7 +89065,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColDesc"
+ "setAttrViewColAttributePanelVisibility"
]
},
"avID": {
@@ -88518,6 +89369,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -88571,7 +89423,7 @@
"action": {
"type": "string",
"enum": [
- "setAttrViewColAttributePanelVisibility"
+ "setAttrViewColLocationDefaultCoordinateSystem"
]
},
"avID": {
@@ -88875,6 +89727,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -89232,6 +90085,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -89582,6 +90436,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -89939,6 +90794,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -90289,6 +91145,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -90639,6 +91496,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -90996,6 +91854,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -91346,6 +92205,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -91696,6 +92556,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -92046,6 +92907,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -92403,6 +93265,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -92753,6 +93616,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -93120,6 +93984,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -93477,6 +94342,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -93834,6 +94700,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -94191,6 +95058,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -94572,6 +95440,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -94929,6 +95798,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -95279,6 +96149,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -95629,6 +96500,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -95986,6 +96858,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -96343,6 +97216,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -96693,6 +97567,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -97050,6 +97925,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -97407,6 +98283,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -97764,6 +98641,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -98121,6 +98999,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -98471,6 +99350,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -98821,6 +99701,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -99178,6 +100059,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -99528,6 +100410,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -99885,6 +100768,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -100242,6 +101126,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -100599,6 +101484,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -100956,6 +101842,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -101313,6 +102200,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -101670,6 +102558,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -102020,6 +102909,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -102377,6 +103267,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -102727,6 +103618,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -103084,6 +103976,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -103441,6 +104334,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -103798,6 +104692,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -104155,6 +105050,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -104512,6 +105408,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -104869,6 +105766,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -105226,6 +106124,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -105583,6 +106482,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -105940,6 +106840,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -106297,6 +107198,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -106654,6 +107556,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -107011,6 +107914,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -107361,6 +108265,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -107711,6 +108616,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -108061,6 +108967,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -108418,6 +109325,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -108775,6 +109683,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -109132,6 +110041,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -109489,6 +110399,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -109846,6 +110757,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -110203,6 +111115,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -110563,6 +111476,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -110913,6 +111827,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -111263,6 +112178,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -111613,6 +112529,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -111960,6 +112877,7 @@
"url",
"email",
"phone",
+ "location",
"mAsset",
"template",
"created",
@@ -112572,6 +113490,7 @@
"setAttrViewColIcon",
"setAttrViewColDesc",
"setAttrViewColAttributePanelVisibility",
+ "setAttrViewColLocationDefaultCoordinateSystem",
"insertAttrViewBlock",
"removeAttrViewBlock",
"addAttrViewCol",
diff --git a/kernel/apicontract/transaction_schema.go b/kernel/apicontract/transaction_schema.go
index c9adac23fe..bac9f8ed63 100644
--- a/kernel/apicontract/transaction_schema.go
+++ b/kernel/apicontract/transaction_schema.go
@@ -48,6 +48,8 @@ var transactionActionPayloads = []transactionActionPayload{
{"setAttrViewColDesc", reflect.TypeFor[string](), reflect.TypeFor[Null]()},
// 仅修改属性面板可见性;data 支持空字符串、always、hide-empty、hide,不影响数据库视图的字段显隐。
{"setAttrViewColAttributePanelVisibility", reflect.TypeFor[string](), reflect.TypeFor[Null]()},
+ // 仅设置位置字段的新录入默认坐标系,data 为 unknown、wgs84、gcj02 或 bd09,不改写已有位置。
+ {"setAttrViewColLocationDefaultCoordinateSystem", reflect.TypeFor[string](), reflect.TypeFor[Null]()},
{"insertAttrViewBlock", reflect.TypeFor[Null](), reflect.TypeFor[TransactionInsertedItems]()},
{"removeAttrViewBlock", reflect.TypeFor[Null](), reflect.TypeFor[Null]()},
{"addAttrViewCol", reflect.TypeFor[string](), reflect.TypeFor[Null]()},
diff --git a/kernel/apicontract/transaction_test.go b/kernel/apicontract/transaction_test.go
index 6108365418..fd882c6027 100644
--- a/kernel/apicontract/transaction_test.go
+++ b/kernel/apicontract/transaction_test.go
@@ -50,6 +50,7 @@ func TestTransactionFiniteActionSchemas(t *testing.T) {
}
for _, fixture := range []struct{ action, data string }{
{"setAttrViewColAttributePanelVisibility", `"hide-empty"`},
+ {"setAttrViewColLocationDefaultCoordinateSystem", `"wgs84"`},
{"update", `"<div>content</div>"`},
{"append", `"<div>content</div>"`},
{"move", `"<div>content</div>"`},
diff --git a/kernel/apicontract/transaction_types.go b/kernel/apicontract/transaction_types.go
index f62ca175d1..a9a2207119 100644
--- a/kernel/apicontract/transaction_types.go
+++ b/kernel/apicontract/transaction_types.go
@@ -72,7 +72,7 @@ type TransactionOperationFields struct {
Srcs []*TransactionSource `json:"srcs" api:"optional,nullable"`
IsDetached bool `json:"isDetached" api:"optional,nullable"`
Name string `json:"name" api:"optional,nullable"`
- Typ string `json:"type" api:"optional,nullable,enum=|block|text|number|date|select|mSelect|url|email|phone|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
+ Typ string `json:"type" api:"optional,nullable,enum=|block|text|number|date|select|mSelect|url|email|phone|location|mAsset|template|created|updated|checkbox|relation|rollup|lineNumber"`
Format string `json:"format" api:"optional,nullable"`
KeyID string `json:"keyID" api:"optional,nullable"`
RowID string `json:"rowID" api:"optional,nullable"`
diff --git a/kernel/av/automation.go b/kernel/av/automation.go
index 7011fe3599..965474abd8 100644
--- a/kernel/av/automation.go
+++ b/kernel/av/automation.go
@@ -149,6 +149,10 @@ func ValidateAutomationFilters(view *AttributeView, filters []*ViewFilter) error
if filter.Value == nil || filter.Value.Type != key.Type || filter.ValueSource != "" && filter.ValueSource != ValueSourceStored {
return fmt.Errorf("invalid automation condition value [%s]", filter.Column)
}
+ if KeyTypeLocation == key.Type && (!IsFilterOperatorAllowed(key.Type, filter.Operator) ||
+ filter.Operator != FilterOperatorIsEmpty && filter.Operator != FilterOperatorIsNotEmpty && nil == filter.Value.Text) {
+ return fmt.Errorf("invalid automation location condition [%s]", filter.Column)
+ }
switch filter.Operator {
case FilterOperatorIsEqual, FilterOperatorIsNotEqual, FilterOperatorIsGreater, FilterOperatorIsGreaterOrEqual,
FilterOperatorIsLess, FilterOperatorIsLessOrEqual, FilterOperatorContains, FilterOperatorDoesNotContain,
@@ -193,6 +197,10 @@ func NormalizeAutomationValue(value *Value) *Value {
if value.Email == nil {
value.Email = &ValueEmail{}
}
+ case KeyTypeLocation:
+ if value.Location == nil {
+ value.Location = &ValueLocation{}
+ }
case KeyTypePhone:
if value.Phone == nil {
value.Phone = &ValuePhone{}
diff --git a/kernel/av/av.go b/kernel/av/av.go
index 31aee89686..dbb2512572 100644
--- a/kernel/av/av.go
+++ b/kernel/av/av.go
@@ -166,6 +166,7 @@ const (
KeyTypeURL KeyType = "url" // URL
KeyTypeEmail KeyType = "email" // Email
KeyTypePhone KeyType = "phone" // 电话
+ KeyTypeLocation KeyType = "location" // 位置
KeyTypeMAsset KeyType = "mAsset" // 资源
KeyTypeTemplate KeyType = "template" // 模板
KeyTypeCreated KeyType = "created" // 创建时间
@@ -209,7 +210,8 @@ type Key struct {
Rollup *Rollup `json:"rollup,omitempty"` // 汇总信息
// 日期
- Date *Date `json:"date,omitempty"` // 日期设置
+ Date *Date `json:"date,omitempty"` // 日期设置
+ Location *Location `json:"location,omitempty"` // 新输入位置的默认坐标系
// 创建时间
Created *Created `json:"created,omitempty"` // 创建时间设置
@@ -945,6 +947,9 @@ func ParseAttributeViewData(avID string, data []byte) (ret *AttributeView, err e
if nil == err {
err = ret.NormalizeRichText()
}
+ if nil == err {
+ err = ret.NormalizeLocations()
+ }
return
}
@@ -961,6 +966,9 @@ func SaveAttributeViewIfUnchanged(av *AttributeView, original []byte) error {
}
func saveAttributeView(av *AttributeView, original []byte) (err error) {
+ if av.Spec > CurrentSpec {
+ return ErrSpecTooNew
+ }
if !ast.IsNodeIDPattern(av.ID) {
err = ErrInvalidAttributeViewID
logging.LogErrorf("save attribute view failed: %s", err)
@@ -972,6 +980,9 @@ func saveAttributeView(av *AttributeView, original []byte) (err error) {
}
}()
+ if err = av.NormalizeLocations(); nil != err {
+ return
+ }
if err = av.ValidateListLayouts(); nil != err {
return
}
@@ -1420,6 +1431,7 @@ var (
ErrInvalidColumnAlign = errors.New("invalid column align")
ErrSpecTooNew = errors.New("attribute view spec is too new")
ErrRichTextSpecMismatch = errors.New("attribute view rich text requires storage spec 9")
+ ErrLocationSpecMismatch = errors.New("attribute view location requires storage spec 11")
ErrFilterTooDeep = errors.New("filter nesting depth exceeds the maximum allowed")
)
diff --git a/kernel/av/av_fix.go b/kernel/av/av_fix.go
index 7a4029b14d..1d40d634ab 100644
--- a/kernel/av/av_fix.go
+++ b/kernel/av/av_fix.go
@@ -26,9 +26,10 @@ import (
)
const (
- CurrentSpec = 10
+ CurrentSpec = 11
PlainTextSpec = 8
RichTextSpec = 9
+ LocationSpec = 11
)
const MaxFilterNestingDepth = 3
@@ -48,6 +49,9 @@ func UpgradeSpec(av *AttributeView) {
upgradeSpec8(av)
upgradeSpec9(av)
upgradeSpec10(av)
+ if av.HasLocation() {
+ av.Spec = LocationSpec
+ }
}
// upgradeSpec10 仅为包含列表或日历配置的数据库升级,保留其他数据库的旧版兼容性。
@@ -84,6 +88,9 @@ func CheckSpec(av *AttributeView) (err error) {
err = ErrSpecTooNew
return
}
+ if av.Spec < LocationSpec && av.HasLocation() {
+ return ErrLocationSpecMismatch
+ }
if av.Spec < RichTextSpec && av.HasRichText() {
logging.LogErrorf("attribute view [%s] rich text requires spec [%d], current is [%d]", av.ID, RichTextSpec, av.Spec)
err = ErrRichTextSpecMismatch
diff --git a/kernel/av/calc.go b/kernel/av/calc.go
index 338f4eea09..4261406985 100644
--- a/kernel/av/calc.go
+++ b/kernel/av/calc.go
@@ -114,6 +114,8 @@ func calcField(collection Collection, field Field, fieldIndex int, attrView *Att
calcFieldURL(collection, field, fieldIndex)
case KeyTypeEmail:
calcFieldEmail(collection, field, fieldIndex)
+ case KeyTypeLocation:
+ calcFieldLocation(collection, field, fieldIndex)
case KeyTypePhone:
calcFieldPhone(collection, field, fieldIndex)
case KeyTypeMAsset:
diff --git a/kernel/av/capabilities.go b/kernel/av/capabilities.go
index 57c193ac70..73f804a82e 100644
--- a/kernel/av/capabilities.go
+++ b/kernel/av/capabilities.go
@@ -97,6 +97,11 @@ var keyCapabilities = map[KeyType]KeyCapability{
FilterProfile: FilterProfileRollup,
order: 15, ValueKind: "rollup", Editable: false, Filterable: true,
Sortable: true, Groupable: false, DefaultOperator: FilterOperatorContains},
+ KeyTypeLocation: {
+ Groups: KeyGroupAttributePlaceholder | KeyGroupRollupCell | KeyGroupNewItemTemplate | KeyGroupNoFilterDefault,
+ FilterProfile: FilterProfileText,
+ order: 17, ValueKind: "location", Editable: true, Filterable: true,
+ Sortable: true, Groupable: false, DefaultOperator: FilterOperatorContains},
KeyTypeLineNumber: {
Groups: KeyGroupNone,
FilterProfile: FilterProfileNone,
diff --git a/kernel/av/capabilities_test.go b/kernel/av/capabilities_test.go
index 0c45637198..b361bdd9c5 100644
--- a/kernel/av/capabilities_test.go
+++ b/kernel/av/capabilities_test.go
@@ -113,7 +113,7 @@ func TestKeyCapabilityBehavior(t *testing.T) {
t.Fatalf("select behavior changed for %s", typ)
}
if capability.Filterable != (typ != KeyTypeLineNumber) || capability.Sortable != (typ != KeyTypeLineNumber) ||
- capability.Groupable != (typ != KeyTypeLineNumber && typ != KeyTypeRollup) {
+ capability.Groupable != (typ != KeyTypeLineNumber && typ != KeyTypeRollup && typ != KeyTypeLocation) {
t.Fatalf("filter, sort, or group behavior changed for %s", typ)
}
}
diff --git a/kernel/av/filter.go b/kernel/av/filter.go
index 56866d058c..4dcc22cbe4 100644
--- a/kernel/av/filter.go
+++ b/kernel/av/filter.go
@@ -326,6 +326,9 @@ func resolveFilterValueSource(filter *ViewFilter) *ViewFilter {
ret := *filter
content := filter.Value.String(false)
+ if KeyTypeLocation == filter.Value.Type && nil != filter.Value.Text {
+ content = filter.Value.Text.Content
+ }
if KeyTypeNumber == filter.Value.Type && nil != filter.Value.Number && filter.Value.Number.IsNotEmpty {
content = strconv.FormatFloat(filter.Value.Number.Content, 'f', -1, 64)
}
@@ -747,7 +750,7 @@ func (value *Value) Filter(filter *ViewFilter, attrView *AttributeView, itemID s
}
for _, c := range value.Rollup.Contents {
- if v := c.GetValByType(c.Type); nil == v || reflect.ValueOf(v).IsNil() {
+ if isRollupStoredValueEmpty(c) {
return true
}
}
@@ -758,7 +761,7 @@ func (value *Value) Filter(filter *ViewFilter, attrView *AttributeView, itemID s
}
for _, c := range value.Rollup.Contents {
- if v := c.GetValByType(c.Type); nil != v && !reflect.ValueOf(v).IsNil() {
+ if !isRollupStoredValueEmpty(c) {
return true
}
}
@@ -789,7 +792,7 @@ func (value *Value) Filter(filter *ViewFilter, attrView *AttributeView, itemID s
}
for _, c := range value.Rollup.Contents {
- if v := c.GetValByType(c.Type); nil != v && !reflect.ValueOf(v).IsNil() {
+ if !isRollupStoredValueEmpty(c) {
return false
}
}
@@ -804,7 +807,7 @@ func (value *Value) Filter(filter *ViewFilter, attrView *AttributeView, itemID s
}
for _, c := range value.Rollup.Contents {
- if v := c.GetValByType(c.Type); nil == v || reflect.ValueOf(v).IsNil() {
+ if isRollupStoredValueEmpty(c) {
return false
}
}
@@ -836,7 +839,7 @@ func (value *Value) Filter(filter *ViewFilter, attrView *AttributeView, itemID s
}
for _, c := range value.Rollup.Contents {
- if v := c.GetValByType(c.Type); nil == v || reflect.ValueOf(v).IsNil() {
+ if isRollupStoredValueEmpty(c) {
return false
}
}
@@ -847,7 +850,7 @@ func (value *Value) Filter(filter *ViewFilter, attrView *AttributeView, itemID s
}
for _, c := range value.Rollup.Contents {
- if v := c.GetValByType(c.Type); nil != v && !reflect.ValueOf(v).IsNil() {
+ if !isRollupStoredValueEmpty(c) {
return false
}
}
@@ -1074,11 +1077,22 @@ func (value *Value) Filter(filter *ViewFilter, attrView *AttributeView, itemID s
}
// isRollupFilterValueEmpty 判断汇总筛选是否缺少比较值,相对日期仅依赖相对时间配置。
+func isRollupStoredValueEmpty(value *Value) bool {
+ if nil == value || KeyTypeLocation == value.Type {
+ return value.IsEmpty()
+ }
+ v := value.GetValByType(value.Type)
+ return nil == v || reflect.ValueOf(v).IsNil()
+}
+
func isRollupFilterValueEmpty(filter *ViewFilter) bool {
valueType := filter.Value.Rollup.Contents[0].Type
if nil != filter.RelativeDate && (IsDateKeyType(valueType)) {
return false
}
+ if KeyTypeLocation == valueType {
+ return nil == filter.Value.Rollup.Contents[0].Text
+ }
v := filter.Value.GetValByType(valueType)
return nil == v || reflect.ValueOf(v).IsNil()
}
@@ -1230,6 +1244,10 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDa
if nil != value.Email && nil != other && nil != other.Email {
return filterTextContent(operator, value.Email.Content, other.Email.Content)
}
+ case KeyTypeLocation:
+ if nil != other && nil != other.Text {
+ return filterTextContent(operator, value.String(false), other.Text.Content)
+ }
case KeyTypePhone:
if nil != value.Phone && nil != other && nil != other.Phone {
return filterTextContent(operator, value.Phone.Content, other.Phone.Content)
@@ -1631,6 +1649,9 @@ func (filter *ViewFilter) IsValid() bool {
}
if FilterOperatorIsEmpty != filter.Operator && FilterOperatorIsNotEmpty != filter.Operator {
+ if KeyTypeLocation == filter.Value.Type {
+ return nil != filter.Value.Text && "" != strings.TrimSpace(filter.Value.Text.Content)
+ }
if KeyTypeRelation == filter.Value.Type {
return nil != filter.Value.Relation &&
(0 < len(filter.Value.Relation.BlockIDs) || 0 < len(filter.Value.Relation.Contents))
diff --git a/kernel/av/filter_capabilities_test.go b/kernel/av/filter_capabilities_test.go
index df4c49b5d5..a05b5a16ed 100644
--- a/kernel/av/filter_capabilities_test.go
+++ b/kernel/av/filter_capabilities_test.go
@@ -73,7 +73,7 @@ func TestFilterCapabilityAcceptedBaseline(t *testing.T) {
func TestKeyGroupPhaseBehavior(t *testing.T) {
groups := map[KeyGroup][]KeyType{
- KeyGroupNoFilterDefault: {KeyTypeTemplate, KeyTypeRollup, KeyTypeCreated, KeyTypeUpdated},
+ KeyGroupNoFilterDefault: {KeyTypeTemplate, KeyTypeRollup, KeyTypeCreated, KeyTypeUpdated, KeyTypeLocation},
KeyGroupRenderDependentFilter: {KeyTypeTemplate, KeyTypeRollup, KeyTypeMAsset, KeyTypeCreated, KeyTypeUpdated},
KeyGroupSkipRowCopy: {KeyTypeRollup, KeyTypeCreated, KeyTypeUpdated},
KeyGroupRenderAutoFill: {KeyTypeTemplate, KeyTypeCreated, KeyTypeUpdated},
diff --git a/kernel/av/layout.go b/kernel/av/layout.go
index 2b3f79a6cd..286cbc49d1 100644
--- a/kernel/av/layout.go
+++ b/kernel/av/layout.go
@@ -164,6 +164,7 @@ type BaseInstanceField struct {
Relation *Relation `json:"relation,omitempty"` // 关联字段
Rollup *Rollup `json:"rollup,omitempty"` // 汇总字段
Date *Date `json:"date,omitempty"` // 日期设置
+ Location *Location `json:"location,omitempty"` // 新输入位置的默认坐标系
Created *Created `json:"created,omitempty"` // 创建时间设置
Updated *Updated `json:"updated,omitempty"` // 更新时间设置
}
diff --git a/kernel/av/new_item_template.go b/kernel/av/new_item_template.go
index 3ec43d8f7e..1322808fbb 100644
--- a/kernel/av/new_item_template.go
+++ b/kernel/av/new_item_template.go
@@ -354,6 +354,12 @@ func (av *AttributeView) normalizeNewItemTemplateFieldValues(itemTemplate *NewIt
func normalizeNewItemTemplateValue(value *Value, key *Key) (*Value, error) {
value = value.Clone()
+ if nil == value {
+ return nil, errors.New("invalid template value")
+ }
+ if KeyTypeLocation != key.Type {
+ value.Location = nil
+ }
switch key.Type {
case KeyTypeText:
if nil == value.Text {
@@ -392,6 +398,14 @@ func normalizeNewItemTemplateValue(value *Value, key *Key) (*Value, error) {
return nil, errors.New("email value is missing")
}
value.Text, value.Number, value.Date, value.MSelect, value.URL, value.Phone, value.MAsset, value.Checkbox, value.Relation = nil, nil, nil, nil, nil, nil, nil, nil, nil
+ case KeyTypeLocation:
+ if nil == value.Location {
+ return nil, errors.New("location value is missing")
+ }
+ if err := value.Location.Normalize(); nil != err {
+ return nil, err
+ }
+ value.Text, value.Number, value.Date, value.MSelect, value.URL, value.Email, value.Phone, value.MAsset, value.Checkbox, value.Relation = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
case KeyTypePhone:
if nil == value.Phone {
return nil, errors.New("phone value is missing")
diff --git a/kernel/av/render_template.go b/kernel/av/render_template.go
index 24af3e96ec..48a651f1cf 100644
--- a/kernel/av/render_template.go
+++ b/kernel/av/render_template.go
@@ -166,6 +166,11 @@ func visitViewValues(view *View, visitValue func(*Value)) {
visitKeyValues(view.GroupKey, visitValue)
visitValue(view.GroupVal)
visitFilterValues(view.Filters, visitValue)
+ for _, rule := range view.ConditionalColors {
+ if nil != rule {
+ visitFilterValues([]*ViewFilter{rule.Filter}, visitValue)
+ }
+ }
if nil != view.GroupCalc && nil != view.GroupCalc.FieldCalc {
visitValue(view.GroupCalc.FieldCalc.Result)
}
diff --git a/kernel/av/sort.go b/kernel/av/sort.go
index ac303d9fb0..6dedbcc615 100644
--- a/kernel/av/sort.go
+++ b/kernel/av/sort.go
@@ -346,6 +346,18 @@ func (value *Value) compare(other *Value, optionSort map[string]int, dateEndpoin
}
return strings.Compare(value.Email.Content, other.Email.Content)
}
+ case KeyTypeLocation:
+ left, right := value.String(false), other.String(false)
+ if left == right {
+ return 0
+ }
+ if "" == left {
+ return 1
+ }
+ if "" == right {
+ return -1
+ }
+ return strings.Compare(left, right)
case KeyTypePhone:
if nil != value.Phone && nil != other.Phone {
if "" == value.Phone.Content {
diff --git a/kernel/av/testdata/filter-accepted.json b/kernel/av/testdata/filter-accepted.json
index 36e243ccbe..2314022055 100644
--- a/kernel/av/testdata/filter-accepted.json
+++ b/kernel/av/testdata/filter-accepted.json
@@ -125,6 +125,27 @@
"Starts with": false,
"invalid": false
},
+ "location": {
+ "": false,
+ "!=": true,
+ "\u003c": false,
+ "\u003c=": false,
+ "=": true,
+ "\u003e": false,
+ "\u003e=": false,
+ "Contains": true,
+ "Contains any item": false,
+ "Does not contain any item": false,
+ "Does not contains": true,
+ "Ends with": true,
+ "Is between": false,
+ "Is empty": true,
+ "Is false": false,
+ "Is not empty": true,
+ "Is true": false,
+ "Starts with": true,
+ "invalid": false
+ },
"mAsset": {
"": false,
"!=": true,
diff --git a/kernel/av/value.go b/kernel/av/value.go
index c6fe6e8622..898edd2f0c 100644
--- a/kernel/av/value.go
+++ b/kernel/av/value.go
@@ -60,6 +60,7 @@ type Value struct {
URL *ValueURL `json:"url,omitempty"`
Email *ValueEmail `json:"email,omitempty"`
Phone *ValuePhone `json:"phone,omitempty"`
+ Location *ValueLocation `json:"location,omitempty"`
MAsset []*ValueAsset `json:"mAsset,omitempty"`
Template *ValueTemplate `json:"template,omitempty"`
Created *ValueCreated `json:"created,omitempty"`
@@ -139,6 +140,8 @@ func (value *Value) String(format bool) string {
return ""
}
return strings.TrimSpace(value.Email.Content)
+ case KeyTypeLocation:
+ return value.Location.String()
case KeyTypePhone:
if nil == value.Phone {
return ""
@@ -276,6 +279,8 @@ func (value *Value) IsBlank() bool {
return true
}
return "" == strings.TrimSpace(value.Email.Content)
+ case KeyTypeLocation:
+ return value.Location.IsEmpty()
case KeyTypePhone:
if nil == value.Phone {
return true
@@ -354,6 +359,8 @@ func (value *Value) IsEmpty() bool {
return true
}
return "" == value.Email.Content
+ case KeyTypeLocation:
+ return value.Location.IsEmpty()
case KeyTypePhone:
if nil == value.Phone {
return true
@@ -407,6 +414,8 @@ func (value *Value) SetValByType(typ KeyType, val any) {
value.URL = val.(*ValueURL)
case KeyTypeEmail:
value.Email = val.(*ValueEmail)
+ case KeyTypeLocation:
+ value.Location = val.(*ValueLocation)
case KeyTypePhone:
value.Phone = val.(*ValuePhone)
case KeyTypeMAsset:
@@ -452,6 +461,8 @@ func (value *Value) GetValByType(typ KeyType) (ret any) {
return value.URL
case KeyTypeEmail:
return value.Email
+ case KeyTypeLocation:
+ return value.Location
case KeyTypePhone:
return value.Phone
case KeyTypeMAsset:
@@ -3295,6 +3306,8 @@ func GetAttributeViewDefaultValue(valueID, keyID, blockID string, typ KeyType, k
ret.URL = &ValueURL{}
case KeyTypeEmail:
ret.Email = &ValueEmail{}
+ case KeyTypeLocation:
+ ret.Location = &ValueLocation{}
case KeyTypePhone:
ret.Phone = &ValuePhone{}
case KeyTypeMAsset:
diff --git a/kernel/av/value_location.go b/kernel/av/value_location.go
new file mode 100644
index 0000000000..0966839992
--- /dev/null
+++ b/kernel/av/value_location.go
@@ -0,0 +1,227 @@
+package av
+
+import (
+ "fmt"
+ "math"
+ "strconv"
+ "strings"
+)
+
+// ValueLocation 保留位置名称、原始坐标系和输入来源,不推断或转换坐标。
+// 空指针表示坐标缺省;零是有效坐标,经纬度必须同时存在或同时为空。
+type ValueLocation struct {
+ Name string `json:"name,omitempty"`
+ Latitude *float64 `json:"latitude,omitempty"`
+ Longitude *float64 `json:"longitude,omitempty"`
+ CoordinateSystem string `json:"coordinateSystem,omitempty"`
+ OriginalInput string `json:"originalInput,omitempty"`
+}
+
+// Location 仅为尚未存储的新输入提供坐标系默认值,不修改已有坐标的含义。
+type Location struct {
+ DefaultCoordinateSystem string `json:"defaultCoordinateSystem,omitempty"`
+}
+
+func IsLocationCoordinateSystem(value string) bool {
+ switch value {
+ case "", "unknown", "wgs84", "gcj02", "bd09":
+ return true
+ }
+ return false
+}
+
+func (location *ValueLocation) IsEmpty() bool {
+ return nil == location || "" == strings.TrimSpace(location.Name) &&
+ (nil == location.Latitude || nil == location.Longitude)
+}
+
+// Normalize 仅校验数值和坐标系,缺省坐标系保持为未知,原始输入不参与值语义。
+func (location *ValueLocation) Normalize() error {
+ if nil == location {
+ return nil
+ }
+ if (nil == location.Latitude) != (nil == location.Longitude) {
+ return fmt.Errorf("location latitude and longitude must both be present or null")
+ }
+ if !IsLocationCoordinateSystem(location.CoordinateSystem) {
+ return fmt.Errorf("invalid location coordinate system [%s]", location.CoordinateSystem)
+ }
+ if nil == location.Latitude {
+ return nil
+ }
+ latitude, longitude := *location.Latitude, *location.Longitude
+ if math.IsNaN(latitude) || math.IsInf(latitude, 0) || latitude < -90 || latitude > 90 {
+ return fmt.Errorf("location latitude must be finite and between -90 and 90")
+ }
+ if math.IsNaN(longitude) || math.IsInf(longitude, 0) || longitude < -180 || longitude > 180 {
+ return fmt.Errorf("location longitude must be finite and between -180 and 180")
+ }
+ if "" == location.CoordinateSystem {
+ location.CoordinateSystem = "unknown"
+ }
+ return nil
+}
+
+func (location *ValueLocation) String() string {
+ if nil == location {
+ return ""
+ }
+ name := strings.TrimSpace(location.Name)
+ if nil == location.Latitude || nil == location.Longitude {
+ return name
+ }
+ crs := map[string]string{"wgs84": "WGS84", "gcj02": "GCJ-02", "bd09": "BD-09"}[location.CoordinateSystem]
+ if "" == crs {
+ crs = "unknown"
+ }
+ formatCoordinate := func(value float64) string {
+ if 0 == value {
+ return "0"
+ }
+ return strconv.FormatFloat(value, 'f', -1, 64)
+ }
+ coordinates := formatCoordinate(*location.Latitude) + ", " + formatCoordinate(*location.Longitude) + " [" + crs + "]"
+ if "" == name {
+ return coordinates
+ }
+ return name + "; " + coordinates
+}
+
+// HasLocation 检查字段及所有持久化值,包含筛选、模板和嵌套汇总。
+func (view *AttributeView) HasLocation() bool {
+ if nil == view {
+ return false
+ }
+ for _, values := range view.KeyValues {
+ if nil != values && nil != values.Key && (KeyTypeLocation == values.Key.Type || nil != values.Key.Location) {
+ return true
+ }
+ }
+ var hasLocationKey func(*View) bool
+ hasLocationKey = func(current *View) bool {
+ if nil == current {
+ return false
+ }
+ if nil != current.GroupKey && (KeyTypeLocation == current.GroupKey.Type || nil != current.GroupKey.Location) {
+ return true
+ }
+ for _, group := range current.Groups {
+ if hasLocationKey(group) {
+ return true
+ }
+ }
+ return false
+ }
+ for _, current := range view.Views {
+ if hasLocationKey(current) {
+ return true
+ }
+ }
+ found := false
+ view.visitPersistedValues(func(value *Value) {
+ if KeyTypeLocation == value.Type || nil != value.Location {
+ found = true
+ }
+ })
+ return found
+}
+
+// NormalizeLocations 先检查全部位置,再应用缺省坐标系,避免失败时部分修改数据库。
+func (view *AttributeView) NormalizeLocations() (err error) {
+ if nil == view {
+ return nil
+ }
+ validateKey := func(key *Key) error {
+ if nil != key && nil != key.Location && !IsLocationCoordinateSystem(key.Location.DefaultCoordinateSystem) {
+ return fmt.Errorf("invalid location default coordinate system [%s]", key.Location.DefaultCoordinateSystem)
+ }
+ return nil
+ }
+ for _, values := range view.KeyValues {
+ if nil != values {
+ if err = validateKey(values.Key); nil != err {
+ return
+ }
+ }
+ }
+ var validateView func(*View) error
+ validateView = func(current *View) error {
+ if nil == current {
+ return nil
+ }
+ if err := validateKey(current.GroupKey); nil != err {
+ return err
+ }
+ for _, group := range current.Groups {
+ if err := validateView(group); nil != err {
+ return err
+ }
+ }
+ return nil
+ }
+ for _, current := range view.Views {
+ if err = validateView(current); nil != err {
+ return
+ }
+ }
+ var locations []*ValueLocation
+ view.visitPersistedValues(func(value *Value) {
+ if nil != err || nil == value.Location {
+ return
+ }
+ candidate := *value.Location
+ if err = candidate.Normalize(); nil == err {
+ locations = append(locations, value.Location)
+ }
+ })
+ if nil != err {
+ return err
+ }
+ for _, location := range locations {
+ _ = location.Normalize()
+ }
+ return nil
+}
+
+func calcFieldLocation(collection Collection, field Field, fieldIndex int) {
+ calc := field.GetCalc()
+ if CalcOperatorTemplate == calc.Operator {
+ calcFieldByTemplate(collection, field, fieldIndex)
+ return
+ }
+ total, nonEmpty := len(collection.GetItems()), 0
+ unique := map[string]bool{}
+ for _, item := range collection.GetItems() {
+ value := item.GetValues()[fieldIndex]
+ if !value.IsEmpty() {
+ nonEmpty++
+ unique[value.String(false)] = true
+ }
+ }
+ count, percent := 0, false
+ switch calc.Operator {
+ case CalcOperatorCountAll:
+ count = total
+ case CalcOperatorCountValues, CalcOperatorCountNotEmpty:
+ count = nonEmpty
+ case CalcOperatorCountUniqueValues:
+ count = len(unique)
+ case CalcOperatorCountEmpty:
+ count = total - nonEmpty
+ case CalcOperatorPercentEmpty:
+ count, percent = total-nonEmpty, true
+ case CalcOperatorPercentNotEmpty:
+ count, percent = nonEmpty, true
+ case CalcOperatorPercentUniqueValues:
+ count, percent = len(unique), true
+ default:
+ return
+ }
+ if percent {
+ if total > 0 {
+ calc.Result = &Value{Number: NewFormattedValueNumber(float64(count)/float64(total), NumberFormatPercent)}
+ }
+ } else {
+ calc.Result = &Value{Number: NewFormattedValueNumber(float64(count), NumberFormatNone)}
+ }
+}
diff --git a/kernel/av/value_location_test.go b/kernel/av/value_location_test.go
new file mode 100644
index 0000000000..26560b6774
--- /dev/null
+++ b/kernel/av/value_location_test.go
@@ -0,0 +1,224 @@
+package av
+
+import (
+ "encoding/json"
+ "math"
+ "reflect"
+ "testing"
+)
+
+func locationCoordinate(value float64) *float64 { return &value }
+
+func TestLocationValueValidationAndDisplay(t *testing.T) {
+ for _, test := range []struct {
+ name string
+ location *ValueLocation
+ want string
+ empty bool
+ invalid bool
+ }{
+ {"missing", nil, "", true, false},
+ {"name", &ValueLocation{Name: " Home "}, "Home", false, false},
+ {"raw only", &ValueLocation{OriginalInput: "source", CoordinateSystem: "wgs84"}, "", true, false},
+ {"zero unknown", &ValueLocation{Latitude: locationCoordinate(0), Longitude: locationCoordinate(0)}, "0, 0 [unknown]", false, false},
+ {"negative zero", &ValueLocation{Latitude: locationCoordinate(math.Copysign(0, -1)), Longitude: locationCoordinate(math.Copysign(0, -1))}, "0, 0 [unknown]", false, false},
+ {"named zero", &ValueLocation{Name: "Home", Latitude: locationCoordinate(0), Longitude: locationCoordinate(0), CoordinateSystem: "wgs84"}, "Home; 0, 0 [WGS84]", false, false},
+ {"bounds", &ValueLocation{Latitude: locationCoordinate(-90), Longitude: locationCoordinate(180), CoordinateSystem: "gcj02"}, "-90, 180 [GCJ-02]", false, false},
+ {"bd09", &ValueLocation{Latitude: locationCoordinate(90), Longitude: locationCoordinate(-180), CoordinateSystem: "bd09"}, "90, -180 [BD-09]", false, false},
+ {"latitude missing", &ValueLocation{Longitude: locationCoordinate(0)}, "", false, true},
+ {"longitude missing", &ValueLocation{Latitude: locationCoordinate(0)}, "", false, true},
+ {"latitude range", &ValueLocation{Latitude: locationCoordinate(90.001), Longitude: locationCoordinate(0)}, "", false, true},
+ {"longitude range", &ValueLocation{Latitude: locationCoordinate(0), Longitude: locationCoordinate(-180.001)}, "", false, true},
+ {"nan", &ValueLocation{Latitude: locationCoordinate(math.NaN()), Longitude: locationCoordinate(0)}, "", false, true},
+ {"infinity", &ValueLocation{Latitude: locationCoordinate(0), Longitude: locationCoordinate(math.Inf(1))}, "", false, true},
+ {"unknown spelling", &ValueLocation{Name: "Home", CoordinateSystem: "WGS84"}, "", false, true},
+ } {
+ t.Run(test.name, func(t *testing.T) {
+ if err := test.location.Normalize(); (err != nil) != test.invalid {
+ t.Fatalf("validation: %v", err)
+ }
+ if test.invalid {
+ return
+ }
+ value := &Value{Type: KeyTypeLocation, Location: test.location}
+ if value.String(false) != test.want || value.String(true) != test.want || value.IsEmpty() != test.empty || value.IsBlank() != test.empty {
+ t.Fatalf("display %q, empty %v", value.String(false), value.IsEmpty())
+ }
+ if cloned := value.Clone(); !reflect.DeepEqual(value, cloned) {
+ t.Fatalf("clone changed location: %#v", cloned)
+ }
+ })
+ }
+}
+
+func TestLocationFilterSortAndStatistics(t *testing.T) {
+ value := &Value{Type: KeyTypeLocation, Location: &ValueLocation{Name: "Home", Latitude: locationCoordinate(0), Longitude: locationCoordinate(0), CoordinateSystem: "wgs84", OriginalInput: "private provenance"}}
+ for _, test := range []struct {
+ operator FilterOperator
+ text string
+ want bool
+ }{
+ {FilterOperatorContains, "home", true},
+ {FilterOperatorContains, "WGS84", true},
+ {FilterOperatorContains, "0, 0", true},
+ {FilterOperatorContains, "private", false},
+ {FilterOperatorDoesNotContain, "private", true},
+ {FilterOperatorIsEqual, "Home; 0, 0 [WGS84]", true},
+ {FilterOperatorIsNotEqual, "Home", true},
+ {FilterOperatorStartsWith, "Home;", true},
+ {FilterOperatorEndsWith, "[WGS84]", true},
+ {FilterOperatorIsEmpty, "", false},
+ {FilterOperatorIsNotEmpty, "", true},
+ } {
+ filter := &ViewFilter{Operator: test.operator, Value: &Value{Type: KeyTypeLocation, Text: &ValueText{Content: test.text}}}
+ if got := value.Filter(filter, nil, "", nil, nil); got != test.want {
+ t.Fatalf("operator %s with %q: %v", test.operator, test.text, got)
+ }
+ if !filter.IsValid() {
+ t.Fatalf("valid location filter rejected: %s", test.operator)
+ }
+ }
+ other := value.Clone()
+ other.Location.OriginalInput = "different source"
+ if value.Compare(other, nil) != 0 {
+ t.Fatal("provenance affected sort order")
+ }
+ other.Location.CoordinateSystem = "gcj02"
+ if value.Compare(other, nil) == 0 {
+ t.Fatal("coordinate system did not distinguish values")
+ }
+ for _, names := range [][2]string{{"Home", "home"}, {"Home", "🏠Home"}, {"A", "B"}, {"", "Home"}} {
+ left := &Value{Type: KeyTypeLocation, Location: &ValueLocation{Name: names[0]}}
+ right := &Value{Type: KeyTypeLocation, Location: &ValueLocation{Name: names[1]}}
+ if left.Compare(right, nil) != -right.Compare(left, nil) {
+ t.Fatalf("location sort is not antisymmetric: %v", names)
+ }
+ }
+ filter := &ViewFilter{Value: &Value{Type: KeyTypeRollup, Rollup: &ValueRollup{Contents: []*Value{{Type: KeyTypeLocation, Text: &ValueText{Content: "Home"}}}}}}
+ if isRollupFilterValueEmpty(filter) {
+ t.Fatal("rollup discarded textual location operand")
+ }
+ filter.Value.Rollup.Contents[0].Text = nil
+ if !isRollupFilterValueEmpty(filter) {
+ t.Fatal("missing location operand accepted")
+ }
+ rollup := &ValueRollup{Contents: []*Value{value, value.Clone(), other}}
+ rollup.calcContents(&RollupCalc{Operator: CalcOperatorUniqueValues}, &Key{Type: KeyTypeLocation})
+ if len(rollup.Contents) != 2 {
+ t.Fatalf("unique locations: %d", len(rollup.Contents))
+ }
+ column := &TableColumn{BaseInstanceField: &BaseInstanceField{Calc: &FieldCalc{Operator: CalcOperatorCountUniqueValues}}}
+ table := &Table{Rows: []*TableRow{
+ {Cells: []*TableCell{{BaseValue: &BaseValue{Value: value}}}},
+ {Cells: []*TableCell{{BaseValue: &BaseValue{Value: value.Clone()}}}},
+ {Cells: []*TableCell{{BaseValue: &BaseValue{Value: other}}}},
+ {Cells: []*TableCell{{BaseValue: &BaseValue{Value: &Value{Type: KeyTypeLocation}}}}},
+ }}
+ calcFieldLocation(table, column, 0)
+ if column.Calc.Result.Number.Content != 2 {
+ t.Fatalf("unique count: %v", column.Calc.Result)
+ }
+}
+
+func TestLocationPersistedSpecAndValidation(t *testing.T) {
+ location := func() *Value {
+ return &Value{Type: KeyTypeLocation, Location: &ValueLocation{Latitude: locationCoordinate(0), Longitude: locationCoordinate(0)}}
+ }
+ for _, test := range []struct {
+ name string
+ view *AttributeView
+ }{
+ {"key", &AttributeView{KeyValues: []*KeyValues{{Key: &Key{Type: KeyTypeLocation}}}}},
+ {"value", &AttributeView{KeyValues: []*KeyValues{{Values: []*Value{location()}}}}},
+ {"filter", &AttributeView{Views: []*View{{Filters: []*ViewFilter{{Combination: FilterCombinationAnd, Filters: []*ViewFilter{{Value: &Value{Type: KeyTypeLocation, Text: &ValueText{Content: "Home"}}}}}}}}}},
+ {"color", &AttributeView{Views: []*View{{ConditionalColors: []*ConditionalColorRule{{Filter: &ViewFilter{Value: location()}}}}}}},
+ {"template", &AttributeView{NewItemTemplates: []*NewItemTemplate{{FieldValues: map[string]*NewItemFieldValue{"location": {Value: location()}}}}}},
+ {"automation", &AttributeView{Automations: &AutomationConfig{Spec: 1, Rules: []*AutomationRule{{Actions: []*AutomationAction{{Fields: map[string]*AutomationValue{"location": {Value: location()}}}}}}}}},
+ {"nested rollup", &AttributeView{KeyValues: []*KeyValues{{Values: []*Value{{Type: KeyTypeRollup, Rollup: &ValueRollup{Contents: []*Value{{Type: KeyTypeRollup, Rollup: &ValueRollup{Contents: []*Value{location()}}}}}}}}}}},
+ } {
+ t.Run(test.name, func(t *testing.T) {
+ test.view.Spec = PlainTextSpec
+ if CheckSpec(test.view) != ErrLocationSpecMismatch {
+ t.Fatal("location payload with old specification accepted")
+ }
+ UpgradeSpec(test.view)
+ if test.view.Spec != LocationSpec {
+ t.Fatalf("location specification: %d", test.view.Spec)
+ }
+ if err := test.view.NormalizeLocations(); err != nil {
+ t.Fatal(err)
+ }
+ data, _ := json.Marshal(test.view)
+ if _, err := ParseAttributeViewData("location", data); err != nil {
+ t.Fatal(err)
+ }
+ })
+ }
+ legacy := &AttributeView{Spec: PlainTextSpec}
+ UpgradeSpec(legacy)
+ if legacy.Spec != PlainTextSpec {
+ t.Fatal("legacy database was unnecessarily upgraded")
+ }
+ valid := location()
+ invalid := location()
+ invalid.Location.Latitude = locationCoordinate(91)
+ view := &AttributeView{Spec: LocationSpec, KeyValues: []*KeyValues{{Values: []*Value{valid, invalid}}}}
+ if view.NormalizeLocations() == nil || valid.Location.CoordinateSystem != "" {
+ t.Fatal("invalid location partially normalized the database")
+ }
+ data, _ := json.Marshal(view)
+ if _, err := ParseAttributeViewData("location", data); err == nil {
+ t.Fatal("invalid imported location accepted")
+ }
+}
+
+func TestLocationConditionalColorsAndAutomationFilters(t *testing.T) {
+ value := &Value{Type: KeyTypeLocation, Location: &ValueLocation{Name: "Home"}, BlockID: "row"}
+ filter := &ViewFilter{Column: "location", Operator: FilterOperatorContains, Value: &Value{Type: KeyTypeLocation, Text: &ValueText{Content: "Home"}}}
+ view := &AttributeView{KeyValues: []*KeyValues{{Key: &Key{ID: "location", Type: KeyTypeLocation}, Values: []*Value{value}}}}
+ if err := ValidateAutomationFilters(view, []*ViewFilter{filter}); err != nil {
+ t.Fatal(err)
+ }
+ if matched, err := view.MatchesAutomationFilters("row", []*ViewFilter{filter}, nil); err != nil || !matched {
+ t.Fatalf("automation filter: %v, %v", matched, err)
+ }
+ row := &TableRow{ID: "row", Cells: []*TableCell{{BaseValue: &BaseValue{Value: value}}}}
+ table := &Table{Columns: []*TableColumn{{BaseInstanceField: &BaseInstanceField{ID: "location", Type: KeyTypeLocation}}}, Rows: []*TableRow{row}}
+ rule := &ConditionalColorRule{ID: "color", Target: "item", Color: &ValueSelect{Color: "3"}, Filter: filter}
+ RenderConditionalColors(table, &View{LayoutType: LayoutTypeTable, ConditionalColors: []*ConditionalColorRule{rule}}, view, nil, nil)
+ if row.ConditionalColors == nil || row.ConditionalColors.Background.Color != "3" {
+ t.Fatal("location condition did not apply color")
+ }
+ filter.ValueSource = ValueSourceRendered
+ if resolved := resolveFilterValueSource(filter); resolved.Value.Template.Content != "Home" {
+ t.Fatal("rendered location filter lost text operand")
+ }
+ capability := GetKeyCapability(KeyTypeLocation)
+ if !capability.Editable || !capability.Filterable || !capability.Sortable || capability.Groupable ||
+ capability.ValueKind != "location" || HasKeyGroup(KeyTypeLocation, KeyGroupScalarContent) {
+ t.Fatalf("invalid location capability: %+v", capability)
+ }
+}
+
+func TestLocationColumnConfigurationAndTemplatePreservation(t *testing.T) {
+ key := &Key{ID: "location", Type: KeyTypeLocation, Location: &Location{DefaultCoordinateSystem: "gcj02"}}
+ value := &Value{Type: KeyTypeLocation, Location: &ValueLocation{Name: "Home", Latitude: locationCoordinate(0), Longitude: locationCoordinate(0), CoordinateSystem: "unknown", OriginalInput: "source"}}
+ view := &AttributeView{Spec: LocationSpec, KeyValues: []*KeyValues{{Key: key, Values: []*Value{value}}}}
+ if err := view.NormalizeLocations(); err != nil || value.Location.CoordinateSystem != "unknown" {
+ t.Fatalf("column default reinterpreted stored value: %v", err)
+ }
+ copy, err := normalizeNewItemTemplateValue(value, key)
+ if err != nil || !reflect.DeepEqual(copy.Location, value.Location) {
+ t.Fatalf("template changed location provenance or coordinate system: %v", err)
+ }
+ key.Location.DefaultCoordinateSystem = "invalid"
+ if view.NormalizeLocations() == nil {
+ t.Fatal("invalid column coordinate system accepted")
+ }
+ key.Location.DefaultCoordinateSystem = "wgs84"
+ key.Type = KeyTypeText
+ view.Spec = PlainTextSpec
+ if !view.HasLocation() || CheckSpec(view) != ErrLocationSpecMismatch {
+ t.Fatal("converted key location configuration bypassed format gate")
+ }
+}
diff --git a/kernel/cli/cmd/database.go b/kernel/cli/cmd/database.go
index f6d9b672f7..650dd9becb 100644
--- a/kernel/cli/cmd/database.go
+++ b/kernel/cli/cmd/database.go
@@ -542,7 +542,7 @@ func init() {
databaseKeyAddCmd.Flags().String("av", "", "attribute view ID (required)")
databaseKeyAddCmd.Flags().String("name", "", "key name (required)")
- databaseKeyAddCmd.Flags().String("type", "", "key type (required): text/number/date/select/mSelect/url/email/phone/mAsset/template/created/updated/checkbox/relation/rollup/lineNumber")
+ databaseKeyAddCmd.Flags().String("type", "", "key type (required): text/number/date/select/mSelect/url/email/phone/location/mAsset/template/created/updated/checkbox/relation/rollup/lineNumber")
databaseKeyAddCmd.Flags().String("icon", "", "key icon (optional)")
databaseKeyAddCmd.Flags().String("prev", "", "previous key ID for ordering (optional)")
diff --git a/kernel/filesys/stat.go b/kernel/filesys/stat.go
index e3bb0623d9..1d3955af57 100644
--- a/kernel/filesys/stat.go
+++ b/kernel/filesys/stat.go
@@ -206,6 +206,8 @@ func StatNodes(tree *parse.Tree, nodes []*ast.Node) (ret *util.BlockStatResult)
continue
}
content.WriteString(v.Email.Content)
+ case av.KeyTypeLocation:
+ content.WriteString(v.String(false))
case av.KeyTypePhone:
if v.IsBlank() {
continue
diff --git a/kernel/mcp/tools/database.go b/kernel/mcp/tools/database.go
index 0ffe3751d4..7678913ce1 100644
--- a/kernel/mcp/tools/database.go
+++ b/kernel/mcp/tools/database.go
@@ -34,7 +34,7 @@ var databaseActions = []string{
}
var databaseKeyTypes = []string{
- "text", "number", "date", "select", "mSelect", "url", "email", "phone", "mAsset", "template", "created", "updated",
+ "text", "number", "date", "select", "mSelect", "url", "email", "phone", "location", "mAsset", "template", "created", "updated",
"checkbox", "relation", "rollup", "lineNumber",
}
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index c73749ef30..7b8e2d0315 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -8200,7 +8200,7 @@ func updateAttributeViewValue0(tx *Transaction, attrView *av.AttributeView, keyI
} else {
val = context.values[keyID][itemID]
}
- if nil != val {
+ if nil != val && av.KeyTypeLocation != keyValues.Key.Type {
val.Type = keyValues.Key.Type
}
@@ -8211,7 +8211,7 @@ func updateAttributeViewValue0(tx *Transaction, attrView *av.AttributeView, keyI
}
valueID := val.ID
- valueType := val.Type
+ valueType := keyValues.Key.Type
valueCreatedAt := val.CreatedAt
oldText := val.Text
@@ -8230,8 +8230,8 @@ func updateAttributeViewValue0(tx *Transaction, attrView *av.AttributeView, keyI
return
}
updatedVal := val
- // 文本和主键值先在副本上合并和校验,避免校验失败污染原值,并保留部分更新语义。
- if av.KeyTypeText == valueType || av.KeyTypeBlock == valueType {
+ // 文本、位置和主键值先在副本上合并和校验,避免校验失败污染原值,并保留部分更新语义。
+ if av.KeyTypeText == valueType || av.KeyTypeBlock == valueType || av.KeyTypeLocation == valueType {
updatedVal = val.Clone()
if nil == updatedVal {
err = fmt.Errorf("clone attribute view text value [%s] failed", valueID)
@@ -8273,6 +8273,12 @@ func updateAttributeViewValue0(tx *Transaction, attrView *av.AttributeView, keyI
return
}
}
+ if av.KeyTypeLocation == valueType {
+ if err = updatedVal.Location.Normalize(); nil != err {
+ return
+ }
+ normalizeAttributeViewLocationProvenance(val.Location, updatedVal.Location, data)
+ }
if updatedVal != val {
*val = *updatedVal
}
diff --git a/kernel/model/attribute_view_automation.go b/kernel/model/attribute_view_automation.go
index 550c40bd78..54189a1563 100644
--- a/kernel/model/attribute_view_automation.go
+++ b/kernel/model/attribute_view_automation.go
@@ -311,6 +311,9 @@ func equalAutomationValues(left, right *av.Value) bool {
return nil
}
value = value.Clone()
+ if value.Type == av.KeyTypeLocation {
+ return value.String(false)
+ }
value.ID, value.KeyID, value.BlockID = "", "", ""
value.CreatedAt, value.UpdatedAt = 0, 0
value.RenderedContent, value.HasRenderTemplate = "", false
@@ -527,6 +530,15 @@ func automationValuePatch(value *av.Value) map[string]any {
if _, ok := ret[field]; !ok {
ret[field] = nil
}
+ if av.KeyTypeLocation == value.Type {
+ location := value.Location
+ if nil == location {
+ location = &av.ValueLocation{}
+ }
+ ret[field] = map[string]any{"name": location.Name, "latitude": location.Latitude,
+ "longitude": location.Longitude, "coordinateSystem": location.CoordinateSystem,
+ "originalInput": location.OriginalInput}
+ }
for _, key := range []string{"id", "keyID", "blockID", "createdAt", "updatedAt", "renderedContent", "hasRenderTemplate"} {
delete(ret, key)
}
@@ -608,6 +620,9 @@ func (tx *Transaction) doSetAttrViewAutomations(op *Operation) *TxErr {
if config.Spec != 1 || len(config.Rules) > 100 {
return fail(fmt.Errorf("unsupported automation configuration"))
}
+ if err = (&av.AttributeView{Automations: &config}).NormalizeLocations(); nil != err {
+ return fail(err)
+ }
_, boxID := av.FindAttributeViewPath(view.ID)
seen := map[string]bool{}
for _, rule := range config.Rules {
diff --git a/kernel/model/attribute_view_fields_fts5_test.go b/kernel/model/attribute_view_fields_fts5_test.go
index 5aee503185..17b9d32b7a 100644
--- a/kernel/model/attribute_view_fields_fts5_test.go
+++ b/kernel/model/attribute_view_fields_fts5_test.go
@@ -23,7 +23,7 @@ import (
func TestAttributeViewFieldsUndoRedo(t *testing.T) {
for _, typ := range []av.KeyType{av.KeyTypeText, av.KeyTypeNumber, av.KeyTypeDate, av.KeyTypeSelect,
- av.KeyTypeMSelect, av.KeyTypeMAsset, av.KeyTypeCheckbox, av.KeyTypeURL, av.KeyTypeEmail, av.KeyTypePhone} {
+ av.KeyTypeMSelect, av.KeyTypeMAsset, av.KeyTypeCheckbox, av.KeyTypeURL, av.KeyTypeEmail, av.KeyTypePhone, av.KeyTypeLocation} {
t.Run(string(typ), func(t *testing.T) {
fixture, before, tx := setupAttributeViewFieldsTest(t, typ)
if err := PerformTxSync(tx); err != nil {
diff --git a/kernel/model/attribute_view_items_fts5_test.go b/kernel/model/attribute_view_items_fts5_test.go
index fa2bd98b07..9aeb76e595 100644
--- a/kernel/model/attribute_view_items_fts5_test.go
+++ b/kernel/model/attribute_view_items_fts5_test.go
@@ -453,6 +453,7 @@ func setupAttributeViewItemsTest(t *testing.T, bound bool) (*fileOperationTestFi
`{"type":"url","url":{"content":"https://example.com"}}`,
`{"type":"email","email":{"content":"[email protected]"}}`,
`{"type":"phone","phone":{"content":"12345"}}`,
+ `{"type":"location","location":{"name":"Home","latitude":0,"longitude":120,"coordinateSystem":"gcj02","originalInput":"source"}}`,
} {
var value av.Value
if err := json.Unmarshal([]byte(payload), &value); err != nil {
diff --git a/kernel/model/attribute_view_location.go b/kernel/model/attribute_view_location.go
new file mode 100644
index 0000000000..082cd1b8dc
--- /dev/null
+++ b/kernel/model/attribute_view_location.go
@@ -0,0 +1,102 @@
+package model
+
+import (
+ "bytes"
+ "encoding/json"
+ "errors"
+ "strings"
+
+ "github.com/siyuan-note/siyuan/kernel/av"
+)
+
+func (tx *Transaction) doSetAttrViewColLocationDefaultCoordinateSystem(operation *Operation) *TxErr {
+ if err := setAttrViewColLocationDefaultCoordinateSystem(operation); nil != err {
+ return &TxErr{code: TxErrHandleAttributeView, id: operation.AvID, msg: err.Error()}
+ }
+ return nil
+}
+
+func setAttrViewColLocationDefaultCoordinateSystem(operation *Operation) error {
+ coordinateSystem, ok := operation.Data.(string)
+ if !ok || "" == coordinateSystem || !av.IsLocationCoordinateSystem(coordinateSystem) {
+ return errors.New("invalid location default coordinate system")
+ }
+ view, err := av.ParseAttributeView(operation.AvID)
+ if nil != err {
+ return err
+ }
+ view, err = cloneAttributeViewForFieldMutation(view)
+ if nil != err {
+ return err
+ }
+ key, err := view.GetKey(operation.ID)
+ if nil != err {
+ return err
+ }
+ if av.KeyTypeLocation != key.Type {
+ return errors.New("default coordinate system requires a location field")
+ }
+ key.Location = &av.Location{DefaultCoordinateSystem: coordinateSystem}
+ return av.SaveAttributeView(view)
+}
+
+// 更新坐标或坐标系后清除过期来源;名称更新及显式提供的来源保持不变。
+func normalizeAttributeViewLocationProvenance(previous, updated *av.ValueLocation, patch []byte) {
+ if nil == updated {
+ return
+ }
+ if present, clear := attributeViewLocationOriginalInputPresent(patch); present {
+ if clear {
+ updated.OriginalInput = ""
+ }
+ return
+ }
+ if nil == previous {
+ previous = &av.ValueLocation{}
+ }
+ equalCoordinate := func(left, right *float64) bool {
+ return nil == left && nil == right || nil != left && nil != right && *left == *right
+ }
+ coordinateSystem := func(value string) string {
+ if "" == value {
+ return "unknown"
+ }
+ return value
+ }
+ if !equalCoordinate(previous.Latitude, updated.Latitude) || !equalCoordinate(previous.Longitude, updated.Longitude) ||
+ coordinateSystem(previous.CoordinateSystem) != coordinateSystem(updated.CoordinateSystem) {
+ updated.OriginalInput = ""
+ }
+}
+
+func attributeViewLocationOriginalInputPresent(patch []byte) (present, clear bool) {
+ value := json.NewDecoder(bytes.NewReader(patch))
+ if token, err := value.Token(); nil != err || token != json.Delim('{') {
+ return
+ }
+ for value.More() {
+ name, err := value.Token()
+ var raw json.RawMessage
+ if nil != err || nil != value.Decode(&raw) {
+ return
+ }
+ if field, ok := name.(string); !ok || !strings.EqualFold(field, "location") {
+ continue
+ }
+ location := json.NewDecoder(bytes.NewReader(raw))
+ if token, err := location.Token(); nil != err || token != json.Delim('{') {
+ continue
+ }
+ for location.More() {
+ name, err := location.Token()
+ var original json.RawMessage
+ if nil != err || nil != location.Decode(&original) {
+ return
+ }
+ if field, ok := name.(string); ok && strings.EqualFold(field, "originalInput") {
+ present, clear = true, bytes.Equal(bytes.TrimSpace(original), []byte("null"))
+ }
+ }
+ }
+ return
+}
diff --git a/kernel/model/attribute_view_location_config_fts5_test.go b/kernel/model/attribute_view_location_config_fts5_test.go
new file mode 100644
index 0000000000..50cacbdc7c
--- /dev/null
+++ b/kernel/model/attribute_view_location_config_fts5_test.go
@@ -0,0 +1,89 @@
+//go:build fts5
+
+package model
+
+import (
+ "bytes"
+ "encoding/json"
+ "os"
+ "testing"
+
+ "github.com/siyuan-note/siyuan/kernel/av"
+)
+
+func TestAttributeViewLocationDefaultPersistenceAndReplay(t *testing.T) {
+ fixture, before, _, _ := setupAttributeViewItemsTest(t, false)
+ var locations *av.KeyValues
+ for _, values := range before.KeyValues {
+ if values.Key.Type == av.KeyTypeLocation {
+ locations = values
+ break
+ }
+ }
+ if locations == nil {
+ t.Fatal("location fixture missing")
+ }
+ locations.Values[0].Location.CoordinateSystem = "unknown"
+ locations.Values[1].Location = &av.ValueLocation{Name: "Named", OriginalInput: "name source"}
+ if err := av.SaveAttributeView(before); err != nil {
+ t.Fatal(err)
+ }
+ previousValues, _ := json.Marshal(locations.Values)
+ keyID := locations.Key.ID
+ for _, crs := range []string{"gcj02", "wgs84", "bd09", "unknown"} {
+ tx := &Transaction{fromAPI: true,
+ DoOperations: []*Operation{{Action: "setAttrViewColLocationDefaultCoordinateSystem", AvID: before.ID, ID: keyID, BlockID: fixture.sourceID, Data: crs}},
+ UndoOperations: []*Operation{{Action: "setAttrViewColLocationDefaultCoordinateSystem", AvID: before.ID, ID: keyID, BlockID: fixture.sourceID, Data: "unknown"}},
+ }
+ if err := PerformTxSync(tx); err != nil {
+ t.Fatal(err)
+ }
+ current := readAttributeViewItemsTest(t, before.ID)
+ values, _ := current.GetKeyValues(keyID)
+ actualValues, _ := json.Marshal(values.Values)
+ if values.Key.Location == nil || values.Key.Location.DefaultCoordinateSystem != crs || !bytes.Equal(previousValues, actualValues) {
+ t.Fatalf("default changed existing values: %+v", values.Key.Location)
+ }
+ data, _ := json.Marshal(current)
+ imported, err := isolateImportedAttributeViewBindings(data, nil, true)
+ if err != nil || !bytes.Equal(data, imported) {
+ t.Fatalf("import reinterpreted location defaults or coordinates: %v", err)
+ }
+ if clone, err := cloneAttributeViewForFieldMutation(current); err != nil {
+ t.Fatal(err)
+ } else if copied, _ := json.Marshal(clone.KeyValues); !bytes.Equal(copied, mustLocationKeyValuesJSON(t, current.KeyValues)) {
+ t.Fatal("copy changed location configuration")
+ }
+ if err := PerformTxSync(&Transaction{DoOperations: tx.UndoOperations, isReplay: true}); err != nil {
+ t.Fatal(err)
+ }
+ current = readAttributeViewItemsTest(t, before.ID)
+ key, _ := current.GetKey(keyID)
+ if key.Location.DefaultCoordinateSystem != "unknown" {
+ t.Fatal("undo did not restore coordinate system default")
+ }
+ }
+ path := av.GetAttributeViewDataPath(before.ID)
+ prior, _ := os.ReadFile(path)
+ for _, data := range []any{"", "WGS84", "invalid", true, nil} {
+ if err := setAttrViewColLocationDefaultCoordinateSystem(&Operation{AvID: before.ID, ID: keyID, Data: data}); err == nil {
+ t.Fatalf("invalid column default accepted: %v", data)
+ }
+ after, _ := os.ReadFile(path)
+ if !bytes.Equal(prior, after) {
+ t.Fatal("invalid default rewrote database")
+ }
+ }
+ if err := setAttrViewColLocationDefaultCoordinateSystem(&Operation{AvID: before.ID, ID: before.GetBlockKey().ID, Data: "wgs84"}); err == nil {
+ t.Fatal("non-location field accepted location settings")
+ }
+}
+
+func mustLocationKeyValuesJSON(t *testing.T, values []*av.KeyValues) []byte {
+ t.Helper()
+ data, err := json.Marshal(values)
+ if err != nil {
+ t.Fatal(err)
+ }
+ return data
+}
diff --git a/kernel/model/attribute_view_location_export_test.go b/kernel/model/attribute_view_location_export_test.go
new file mode 100644
index 0000000000..02a08c8341
--- /dev/null
+++ b/kernel/model/attribute_view_location_export_test.go
@@ -0,0 +1,100 @@
+package model
+
+import (
+ "archive/zip"
+ "encoding/csv"
+ "io"
+ "net/url"
+ "path/filepath"
+ "strings"
+ "testing"
+
+ "github.com/88250/lute/ast"
+ "github.com/88250/lute/render"
+ "github.com/siyuan-note/siyuan/kernel/av"
+ "github.com/siyuan-note/siyuan/kernel/conf"
+ "github.com/siyuan-note/siyuan/kernel/treenode"
+ "github.com/siyuan-note/siyuan/kernel/util"
+)
+
+func TestAttributeViewLocationCSVAndMarkdownExport(t *testing.T) {
+ const boxID, avID, docID, blockID, rowID = "20261009010000-box0001", "20261009010001-av00001", "20261009010002-doc0001", "20261009010003-avnode1", "20261009010004-row0001"
+ setupExportRelatedTest(t, boxID)
+ Conf.Editor = conf.NewEditor()
+ Conf.Search = conf.NewSearch()
+ oldLang, oldLangs := util.Lang, util.AttrViewLangs
+ util.Lang = "en"
+ util.AttrViewLangs = map[string]map[string]any{"en": {"key": "Key", "select": "Select", "table": "Table"}}
+ t.Cleanup(func() { util.Lang, util.AttrViewLangs = oldLang, oldLangs })
+ view := av.NewAttributeView(avID)
+ view.Name = "Location export"
+ primary := view.GetBlockKeyValues()
+ primary.Values = []*av.Value{{ID: ast.NewNodeID(), KeyID: primary.Key.ID, BlockID: rowID, Type: av.KeyTypeBlock, IsDetached: true, Block: &av.ValueBlock{Content: "Entry"}}}
+ key := av.NewKey(ast.NewNodeID(), "Location", "", av.KeyTypeLocation)
+ view.KeyValues = append(view.KeyValues, &av.KeyValues{Key: key, Values: []*av.Value{{ID: ast.NewNodeID(), KeyID: key.ID, BlockID: rowID, Type: av.KeyTypeLocation,
+ Location: &av.ValueLocation{Name: "Home", Latitude: modelLocationCoordinate(0), Longitude: modelLocationCoordinate(0), CoordinateSystem: "wgs84", OriginalInput: "private provenance"}}}})
+ view.Views[0].ItemIDs = []string{rowID}
+ view.Views[0].Table.Columns = []*av.ViewTableColumn{{BaseField: &av.BaseField{ID: primary.Key.ID}}, {BaseField: &av.BaseField{ID: key.ID}}}
+ for _, test := range []struct{ name, template, want string }{
+ {"stored", "", "Home; 0, 0 [WGS84]"},
+ {"display template", "Display override", "Display override"},
+ } {
+ t.Run(test.name, func(t *testing.T) {
+ key.RenderTemplate = test.template
+ if err := av.SaveAttributeView(view); err != nil {
+ t.Fatal(err)
+ }
+ tree := treenode.NewTree(boxID, "/"+docID+".sy", "/Export", "Export")
+ database := &ast.Node{Type: ast.NodeAttributeView, ID: blockID, AttributeViewID: avID, AttributeViewType: string(av.LayoutTypeTable)}
+ database.SetIALAttr("id", blockID)
+ database.SetIALAttr(av.NodeAttrView, view.Views[0].ID)
+ tree.Root.AppendChild(database)
+ writeExportRelatedTestTree(t, tree)
+ zipURL, err := ExportAv2CSV(avID, blockID)
+ if err != nil {
+ t.Fatal(err)
+ }
+ zipPath, err := url.PathUnescape(strings.TrimPrefix(zipURL, "/"))
+ if err != nil {
+ t.Fatal(err)
+ }
+ archive, err := zip.OpenReader(filepath.Join(util.TempDir, filepath.FromSlash(zipPath)))
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer archive.Close()
+ found := false
+ for _, file := range archive.File {
+ if !strings.HasSuffix(file.Name, ".csv") {
+ continue
+ }
+ reader, err := file.Open()
+ if err != nil {
+ t.Fatal(err)
+ }
+ data, err := io.ReadAll(reader)
+ reader.Close()
+ if err != nil {
+ t.Fatal(err)
+ }
+ rows, err := csv.NewReader(strings.NewReader(strings.TrimPrefix(string(data), "\xef\xbb\xbf"))).ReadAll()
+ if err != nil || len(rows) != 2 || len(rows[1]) != 2 || rows[1][1] != test.want || strings.Contains(string(data), "private provenance") {
+ t.Fatalf("CSV export: %s, %v", data, err)
+ }
+ found = true
+ }
+ if !found {
+ t.Fatal("CSV file missing from export")
+ }
+ exported, err := exportTree(tree, treeExportOptions{Config: *Conf.Export, WYSIWYG: false})
+ if err != nil {
+ t.Fatal(err)
+ }
+ engine := NewLute()
+ content := string(render.NewFormatRenderer(exported, engine.RenderOptions, engine.ParseOptions).Render())
+ if !strings.Contains(content, test.want) || strings.Contains(content, "private provenance") {
+ t.Fatalf("Markdown export: %s", content)
+ }
+ })
+ }
+}
diff --git a/kernel/model/attribute_view_location_import_empty_test.go b/kernel/model/attribute_view_location_import_empty_test.go
new file mode 100644
index 0000000000..56edbe1653
--- /dev/null
+++ b/kernel/model/attribute_view_location_import_empty_test.go
@@ -0,0 +1,71 @@
+package model
+
+import (
+ "bytes"
+ "encoding/json"
+ "github.com/88250/lute/ast"
+ "github.com/siyuan-note/siyuan/kernel/av"
+ "github.com/siyuan-note/siyuan/kernel/util"
+ "testing"
+)
+
+func TestAttributeViewLocationImportOmittedValues(t *testing.T) {
+ setupAttributeViewValidationTest(t)
+ setAttributeViewListTestLangs()
+ util.AttrViewLangs["en"]["calendar"] = "Calendar"
+ for _, scenario := range []struct {
+ name string
+ layout av.LayoutType
+ loc bool
+ }{
+ {"location", av.LayoutTypeTable, true},
+ {"legacy table", av.LayoutTypeTable, false},
+ {"legacy calendar", av.LayoutTypeCalendar, false},
+ } {
+ t.Run(scenario.name, func(t *testing.T) {
+ database := newAttributeViewWithLayout(ast.NewNodeID(), scenario.layout)
+ if scenario.loc {
+ database.KeyValues = append(database.KeyValues, &av.KeyValues{Key: av.NewKey(ast.NewNodeID(), "Location", "", av.KeyTypeLocation)})
+ }
+ if err := av.SaveAttributeView(database); err != nil {
+ t.Fatal(err)
+ }
+ data, err := json.Marshal(database)
+ if err != nil {
+ t.Fatal(err)
+ }
+ var root map[string]json.RawMessage
+ if err = json.Unmarshal(data, &root); err != nil {
+ t.Fatal(err)
+ }
+ var keyValues []map[string]json.RawMessage
+ if err = json.Unmarshal(root["keyValues"], &keyValues); err != nil {
+ t.Fatal(err)
+ }
+ for _, values := range []string{"", "null", "[]", "{}", `"invalid"`} {
+ delete(keyValues[0], "values")
+ if values != "" {
+ keyValues[0]["values"] = json.RawMessage(values)
+ }
+ root["keyValues"], err = json.Marshal(keyValues)
+ if err != nil {
+ t.Fatal(err)
+ }
+ input, err := json.Marshal(root)
+ if err != nil {
+ t.Fatal(err)
+ }
+ for _, encrypted := range []bool{false, true} {
+ got, importErr := isolateImportedAttributeViewBindings(input, nil, encrypted)
+ wantSuccess := values == "null" || values == "[]" || values == ""
+ if wantSuccess && (importErr != nil || !bytes.Equal(got, input)) {
+ t.Fatalf("values=%q encrypted=%t rejected or rewrote valid empty data: %v", values, encrypted, importErr)
+ }
+ if !wantSuccess && importErr == nil {
+ t.Fatalf("values=%q encrypted=%t accepted malformed data", values, encrypted)
+ }
+ }
+ }
+ })
+ }
+}
diff --git a/kernel/model/attribute_view_location_test.go b/kernel/model/attribute_view_location_test.go
new file mode 100644
index 0000000000..0ebd94633c
--- /dev/null
+++ b/kernel/model/attribute_view_location_test.go
@@ -0,0 +1,271 @@
+package model
+
+import (
+ "bytes"
+ "encoding/json"
+ "os"
+ "path/filepath"
+ "reflect"
+ "strconv"
+ "testing"
+ "time"
+
+ "github.com/siyuan-note/siyuan/kernel/av"
+ "github.com/siyuan-note/siyuan/kernel/cache"
+ "github.com/siyuan-note/siyuan/kernel/util"
+)
+
+func modelLocationCoordinate(value float64) *float64 { return &value }
+
+func TestUpdateAttributeViewLocationPartialAndInvalid(t *testing.T) {
+ const keyID, itemID = "20261009000001-locakey", "20261009000002-locarow"
+ value := &av.Value{ID: "20261009000003-locaval", KeyID: keyID, BlockID: itemID,
+ Type: av.KeyTypeLocation, CreatedAt: 100, UpdatedAt: 200,
+ Location: &av.ValueLocation{Name: "Home", Latitude: modelLocationCoordinate(0),
+ Longitude: modelLocationCoordinate(120), CoordinateSystem: "gcj02", OriginalInput: "original"}}
+ view := &av.AttributeView{ID: "20261009000000-locatav", KeyValues: []*av.KeyValues{
+ {Key: &av.Key{ID: "20261009000004-locabky", Type: av.KeyTypeBlock}, Values: []*av.Value{{
+ BlockID: itemID, Type: av.KeyTypeBlock, IsDetached: true, Block: &av.ValueBlock{Content: "Entry"}}}},
+ {Key: &av.Key{ID: keyID, Type: av.KeyTypeLocation}, Values: []*av.Value{value}},
+ }}
+ update := func(payload map[string]any) error {
+ _, err := updateAttributeViewValue0(nil, view, keyID, itemID, payload, false, nil)
+ return err
+ }
+ for _, patch := range []map[string]any{
+ {"location": map[string]any{"name": "Changed", "latitude": 91}},
+ {"location": map[string]any{"latitude": nil}},
+ {"location": map[string]any{"longitude": -181}},
+ {"location": map[string]any{"coordinateSystem": "WGS84"}},
+ {"location": map[string]any{"latitude": "wrong"}},
+ } {
+ before, _ := json.Marshal(view)
+ if err := update(patch); err == nil {
+ t.Fatalf("invalid patch accepted: %v", patch)
+ }
+ after, _ := json.Marshal(view)
+ if !bytes.Equal(before, after) {
+ t.Fatalf("failed save=false patch mutated cached database: %s", after)
+ }
+ }
+ if err := update(map[string]any{"location": map[string]any{"name": "Office"}}); err != nil {
+ t.Fatal(err)
+ }
+ if value.Location.Name != "Office" || *value.Location.Latitude != 0 || *value.Location.Longitude != 120 ||
+ value.Location.CoordinateSystem != "gcj02" || value.Location.OriginalInput != "original" || value.CreatedAt != 100 {
+ t.Fatalf("partial update lost location data: %+v", value)
+ }
+ if err := update(map[string]any{"location": map[string]any{"latitude": 0}}); err != nil || value.Location.OriginalInput != "original" {
+ t.Fatalf("no-op coordinate patch removed provenance: %v", err)
+ }
+ if err := update(map[string]any{"location": map[string]any{"latitude": 1}}); err != nil || value.Location.OriginalInput != "" || *value.Location.Longitude != 120 {
+ t.Fatalf("changed coordinate retained stale provenance or lost partner: %v", err)
+ }
+ if err := update(map[string]any{"location": map[string]any{"latitude": 2, "originalInput": "new source"}}); err != nil || value.Location.OriginalInput != "new source" {
+ t.Fatalf("explicit provenance replacement: %v", err)
+ }
+ if err := update(map[string]any{"location": map[string]any{"coordinateSystem": "wgs84"}}); err != nil || value.Location.OriginalInput != "" {
+ t.Fatalf("coordinate system change retained stale provenance: %v", err)
+ }
+ if err := update(map[string]any{"LOCATION": map[string]any{"latitude": 3, "ORIGINALINPUT": "uppercase source"}}); err != nil || value.Location.OriginalInput != "uppercase source" {
+ t.Fatalf("case-insensitive provenance member: %v", err)
+ }
+ if err := update(map[string]any{"LOCATION": map[string]any{"ORIGINALINPUT": nil}}); err != nil || value.Location.OriginalInput != "" {
+ t.Fatalf("explicit null did not clear provenance: %v", err)
+ }
+ if err := update(map[string]any{"location": map[string]any{"originalInput": "cleared with coordinates"}}); err != nil {
+ t.Fatal(err)
+ }
+ if err := update(map[string]any{"location": map[string]any{"latitude": nil, "longitude": nil}}); err != nil {
+ t.Fatal(err)
+ }
+ if value.Location.Latitude != nil || value.Location.Longitude != nil || value.Location.OriginalInput != "" || value.String(false) != "Office" {
+ t.Fatalf("explicit null coordinate pair did not clear: %+v", value.Location)
+ }
+ if err := update(map[string]any{"location": nil}); err != nil || !value.IsEmpty() {
+ t.Fatalf("clearing location: %v, %+v", err, value)
+ }
+}
+
+func TestAttributeViewLocationUnknownProvenance(t *testing.T) {
+ previous := &av.ValueLocation{Latitude: modelLocationCoordinate(0), Longitude: modelLocationCoordinate(0), OriginalInput: "source"}
+ updated := *previous
+ updated.CoordinateSystem = "unknown"
+ normalizeAttributeViewLocationProvenance(previous, &updated, []byte(`{"location":{"coordinateSystem":"unknown"}}`))
+ if updated.OriginalInput != "source" {
+ t.Fatal("equivalent unknown coordinate system cleared provenance")
+ }
+}
+
+func TestAttributeViewLocationAutomationReplacement(t *testing.T) {
+ previous := &av.Value{Type: av.KeyTypeLocation, Location: &av.ValueLocation{Name: "Home", Latitude: modelLocationCoordinate(0), Longitude: modelLocationCoordinate(0), CoordinateSystem: "wgs84", OriginalInput: "original"}}
+ next := previous.Clone()
+ next.Location.OriginalInput = "different provenance"
+ if !equalAutomationValues(previous, next) {
+ t.Fatal("provenance triggered an automation value change")
+ }
+ next.Location.CoordinateSystem = "gcj02"
+ if equalAutomationValues(previous, next) {
+ t.Fatal("coordinate system change was ignored")
+ }
+ for _, desired := range []*av.Value{
+ {Type: av.KeyTypeLocation},
+ {Type: av.KeyTypeLocation, Location: &av.ValueLocation{Name: "Office"}},
+ {Type: av.KeyTypeLocation, Location: &av.ValueLocation{Latitude: modelLocationCoordinate(0), Longitude: modelLocationCoordinate(0)}},
+ } {
+ merged := previous.Clone()
+ data, _ := json.Marshal(automationValuePatch(desired))
+ if err := json.Unmarshal(data, merged); err != nil {
+ t.Fatal(err)
+ }
+ if !equalAutomationValues(merged, desired) || merged.Location.OriginalInput != "" {
+ t.Fatalf("replacement retained old location fields: %s", data)
+ }
+ }
+}
+
+func TestAttributeViewLocationEncryptedRecovery(t *testing.T) {
+ fixture, err := os.ReadFile("../av/testdata/spec9-layouts.json")
+ if err != nil {
+ t.Fatal(err)
+ }
+ const avID, locationKeyID = "20260921000000-layouts", "20261009000001-locakey"
+ for _, encrypted := range []bool{false, true} {
+ name := "ordinary"
+ if encrypted {
+ name = "encrypted"
+ }
+ t.Run(name, func(t *testing.T) {
+ setupAttributeViewValidationTest(t)
+ boxID := ""
+ legacySource := append([]byte(nil), fixture...)
+ if encrypted {
+ boxID = "20261009000000-cryptob"
+ t.Cleanup(prepareEncryptedBoxLifecycleTest(t, boxID))
+ av.SetAVBoxID(avID, boxID)
+ t.Cleanup(func() { av.SetAVBoxID(avID, "") })
+ legacySource, err = av.EncryptAVData(boxID, avID, fixture)
+ if err != nil {
+ t.Fatal(err)
+ }
+ }
+ path := filepath.Join(util.DataDir, boxID, "storage", "av", avID+".json")
+ if err = os.MkdirAll(filepath.Dir(path), 0755); err != nil {
+ t.Fatal(err)
+ }
+ if err = os.WriteFile(path, legacySource, 0600); err != nil {
+ t.Fatal(err)
+ }
+ view, err := av.ParseAttributeViewForIndexInBox(avID, boxID)
+ if err != nil || view.Spec != 9 {
+ t.Fatalf("legacy authenticated read: %v", err)
+ }
+ value := &av.Value{ID: "20261009000002-locaval", KeyID: locationKeyID, BlockID: "20260921000003-example", Type: av.KeyTypeLocation,
+ Location: &av.ValueLocation{Name: "Home", Latitude: modelLocationCoordinate(0), Longitude: modelLocationCoordinate(0), CoordinateSystem: "wgs84", OriginalInput: "original"}}
+ view.KeyValues = append(view.KeyValues, &av.KeyValues{Key: &av.Key{ID: locationKeyID, Name: "Location", Type: av.KeyTypeLocation}, Values: []*av.Value{value}})
+ if err = av.SaveAttributeView(view); err != nil {
+ t.Fatal(err)
+ }
+ cache.ClearAVCache()
+ stored, _ := os.ReadFile(path)
+ if encrypted && !util.IsCiphertext(stored) {
+ t.Fatal("location upgrade removed encryption")
+ }
+ reloaded, err := av.ParseAttributeViewForIndexInBox(avID, boxID)
+ if err != nil || reloaded.Spec != av.LocationSpec || !reflect.DeepEqual(value.Location, reloaded.GetValue(locationKeyID, value.BlockID).Location) {
+ t.Fatalf("location round trip: %v", err)
+ }
+ plain, err := decryptHistoricalAttributeView(boxID, avID, stored)
+ if err != nil {
+ t.Fatal(err)
+ }
+ recovered, err := av.ParseAttributeViewData(avID, plain)
+ if err != nil || recovered.GetValue(locationKeyID, value.BlockID).String(false) != "Home; 0, 0 [WGS84]" {
+ t.Fatalf("historical location recovery: %v", err)
+ }
+ legacyPlain, err := decryptHistoricalAttributeView(boxID, avID, legacySource)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if legacy, err := av.ParseAttributeViewData(avID, legacyPlain); err != nil || legacy.Spec != 9 {
+ t.Fatalf("old historical format no longer readable: %v", err)
+ }
+ if encrypted {
+ corrupt := append([]byte(nil), stored...)
+ corrupt[len(corrupt)-1] ^= 1
+ if _, err = decryptHistoricalAttributeView(boxID, avID, corrupt); err == nil {
+ t.Fatal("unauthenticated location history accepted")
+ }
+ current, _ := os.ReadFile(path)
+ if !bytes.Equal(stored, current) {
+ t.Fatal("authentication failure modified source")
+ }
+ }
+ })
+ }
+}
+
+func TestAttributeViewLocationImportHistoryValidation(t *testing.T) {
+ setupAttributeViewValidationTest(t)
+ previousHistoryDir := util.HistoryDir
+ util.HistoryDir = t.TempDir()
+ t.Cleanup(func() { util.HistoryDir = previousHistoryDir })
+ const avID = "20261009000000-locatav"
+ created := time.Unix(1791514800, 0)
+ path := filepath.Join(util.HistoryDir, created.Format("2006-01-02-150405")+"-update", "storage", "av", avID+".json")
+ if err := os.MkdirAll(filepath.Dir(path), 0755); err != nil {
+ t.Fatal(err)
+ }
+ for _, payload := range []string{
+ `{"latitude":91,"longitude":0}`,
+ `{"latitude":0,"longitude":181}`,
+ `{"latitude":0}`,
+ `{"latitude":0,"longitude":0,"coordinateSystem":"invalid"}`,
+ } {
+ data := []byte(`{"spec":11,"id":"` + avID + `","keyValues":[{"key":{"type":"location"},"values":[{"type":"location","location":` + payload + `}]}]}`)
+ for _, encryptedTarget := range []bool{false, true} {
+ if _, err := isolateImportedAttributeViewBindings(data, nil, encryptedTarget); err == nil {
+ t.Fatalf("invalid location imported: %s", payload)
+ }
+ }
+ if _, err := parseHistoricalAttributeViewData(avID, data); err == nil {
+ t.Fatalf("invalid history/snapshot location accepted: %s", payload)
+ }
+ if err := os.WriteFile(path, data, 0600); err != nil {
+ t.Fatal(err)
+ }
+ if _, _, err := RenderHistoryAttributeView(avID, "", "", "", 1, -1, nil, strconv.FormatInt(created.Unix(), 10)); err == nil {
+ t.Fatalf("history preview accepted invalid location: %s", payload)
+ }
+ after, _ := os.ReadFile(path)
+ if !bytes.Equal(data, after) {
+ t.Fatal("invalid history source was rewritten")
+ }
+ }
+}
+
+func TestAttributeViewLocationSaveRejectsInvalidAndFuture(t *testing.T) {
+ setupAttributeViewValidationTest(t)
+ const avID = "20261009000000-locatav"
+ path := filepath.Join(util.DataDir, "storage", "av", avID+".json")
+ if err := os.MkdirAll(filepath.Dir(path), 0755); err != nil {
+ t.Fatal(err)
+ }
+ original := []byte(`{"spec":8,"id":"` + avID + `","keyValues":[],"views":[]}`)
+ if err := os.WriteFile(path, original, 0600); err != nil {
+ t.Fatal(err)
+ }
+ for _, spec := range []int{av.LocationSpec, av.CurrentSpec + 1} {
+ view := &av.AttributeView{ID: avID, Spec: spec, KeyValues: []*av.KeyValues{{
+ Key: &av.Key{Type: av.KeyTypeLocation}, Values: []*av.Value{{Type: av.KeyTypeLocation,
+ Location: &av.ValueLocation{Latitude: modelLocationCoordinate(91), Longitude: modelLocationCoordinate(0)}}},
+ }}}
+ if err := av.SaveAttributeView(view); err == nil || spec > av.CurrentSpec && err != av.ErrSpecTooNew {
+ t.Fatalf("invalid/future save result: %v", err)
+ }
+ after, _ := os.ReadFile(path)
+ if !bytes.Equal(original, after) {
+ t.Fatal("rejected save changed existing database")
+ }
+ }
+}
diff --git a/kernel/model/attribute_view_render.go b/kernel/model/attribute_view_render.go
index 3223f34a90..98f52669e6 100644
--- a/kernel/model/attribute_view_render.go
+++ b/kernel/model/attribute_view_render.go
@@ -1410,12 +1410,8 @@ func RenderRepoSnapshotAttributeView(indexID, avID, viewID, carrierViewID string
return
}
- attrView = av.NewAttributeView(avID)
- if err = gulu.JSON.UnmarshalJSON(data, attrView); err != nil {
- logging.LogErrorf("unmarshal attribute view [%s] failed: %s", avID, err)
- return
- }
- if err = av.CheckSpec(attrView); nil != err {
+ attrView, err = parseHistoricalAttributeViewData(avID, data)
+ if nil != err {
return
}
var snapshotColors []*av.AttributeViewCustomColor
@@ -1513,12 +1509,8 @@ func RenderHistoryAttributeView(avID, viewID, carrierViewID, query string, page,
return
}
- attrView = av.NewAttributeView(avID)
- if err = gulu.JSON.UnmarshalJSON(data, attrView); err != nil {
- logging.LogErrorf("unmarshal attribute view [%s] failed: %s", avID, err)
- return
- }
- if err = av.CheckSpec(attrView); nil != err {
+ attrView, err = parseHistoricalAttributeViewData(avID, data)
+ if nil != err {
return
}
attrView.CustomColorRenderContext = newHistoryAttributeViewCustomColorRenderContext(source.historyDir)
@@ -1528,6 +1520,21 @@ func RenderHistoryAttributeView(avID, viewID, carrierViewID, query string, page,
return
}
+// 历史和仓库快照完成认证后共用字段校验,不重写历史源数据。
+func parseHistoricalAttributeViewData(avID string, data []byte) (*av.AttributeView, error) {
+ view := av.NewAttributeView(avID)
+ if err := gulu.JSON.UnmarshalJSON(data, view); nil != err {
+ return nil, err
+ }
+ if err := av.CheckSpec(view); nil != err {
+ return nil, err
+ }
+ if err := view.NormalizeLocations(); nil != err {
+ return nil, err
+ }
+ return view, nil
+}
+
func decryptHistoricalAttributeView(boxID, avID string, data []byte) ([]byte, error) {
ciphertext := util.IsCiphertext(data)
if boxID == "" {
diff --git a/kernel/model/import_attribute_view.go b/kernel/model/import_attribute_view.go
index 01fcaef254..5f73a71cfe 100644
--- a/kernel/model/import_attribute_view.go
+++ b/kernel/model/import_attribute_view.go
@@ -18,6 +18,9 @@ func isolateImportedAttributeViewBindings(data []byte, importedBlockIDs map[stri
if err := av.CheckSpec(&attrView); err != nil {
return nil, err
}
+ if err := attrView.NormalizeLocations(); err != nil {
+ return nil, err
+ }
var root map[string]json.RawMessage
if err := json.Unmarshal(data, &root); err != nil {
return nil, err
@@ -37,6 +40,10 @@ func isolateImportedAttributeViewBindings(data []byte, importedBlockIDs map[stri
if key.Type != av.KeyTypeBlock {
continue
}
+ if _, exists := kv["values"]; !exists {
+ // 空主键值可由 omitempty 合法省略,不补写字段,保持原始 JSON。
+ continue
+ }
var values []map[string]json.RawMessage
if err := json.Unmarshal(kv["values"], &values); err != nil {
return nil, err
diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go
index ca58bf79e1..62902256a5 100644
--- a/kernel/model/transaction.go
+++ b/kernel/model/transaction.go
@@ -401,6 +401,8 @@ func performTx(tx *Transaction) (ret *TxErr) {
ret = tx.doSetAttrViewColumnDesc(op)
case "setAttrViewColAttributePanelVisibility":
ret = tx.doSetAttrViewColAttributePanelVisibility(op)
+ case "setAttrViewColLocationDefaultCoordinateSystem":
+ ret = tx.doSetAttrViewColLocationDefaultCoordinateSystem(op)
case "insertAttrViewBlock":
ret = tx.doInsertAttrViewBlock(op)
case "removeAttrViewBlock":
diff --git a/kernel/sql/av.go b/kernel/sql/av.go
index 8d3ca1b8d9..c1d73bf9dd 100644
--- a/kernel/sql/av.go
+++ b/kernel/sql/av.go
@@ -561,7 +561,7 @@ func filterNotFoundAttrViewItems(keyValuesMap map[string][]*av.KeyValues) {
}
func fillAttributeViewBaseValue(baseValue *av.BaseValue, fieldID, itemID string, fieldNumberFormat av.NumberFormat,
- fieldDateFormat av.DateDisplayFormat, fieldTemplate string, fieldDateIsTime bool) {
+ fieldDateFormat av.DateDisplayFormat, fieldTemplate string, fieldDateIsTime bool, fieldLocation *av.Location) {
switch baseValue.ValueType {
case av.KeyTypeNumber: // 格式化数字
if nil != baseValue.Value && nil != baseValue.Value.Number && baseValue.Value.Number.IsNotEmpty {
@@ -582,6 +582,9 @@ func fillAttributeViewBaseValue(baseValue *av.BaseValue, fieldID, itemID string,
if nil == baseValue.Value {
baseValue.Value = av.GetAttributeViewDefaultValue(baseValue.ID, fieldID, itemID, baseValue.ValueType, fieldDateIsTime)
+ if av.KeyTypeLocation == baseValue.ValueType && nil != fieldLocation {
+ baseValue.Value.Location.CoordinateSystem = fieldLocation.DefaultCoordinateSystem
+ }
} else {
FillAttributeViewNilValue(baseValue.Value, baseValue.ValueType)
}
@@ -1155,6 +1158,10 @@ func FillAttributeViewNilValue(value *av.Value, typ av.KeyType) {
if nil == value.Email {
value.Email = &av.ValueEmail{}
}
+ case av.KeyTypeLocation:
+ if nil == value.Location {
+ value.Location = &av.ValueLocation{}
+ }
case av.KeyTypePhone:
if nil == value.Phone {
value.Phone = &av.ValuePhone{}
diff --git a/kernel/sql/av_gallery.go b/kernel/sql/av_gallery.go
index dcf5540f43..1b23e4f6b4 100644
--- a/kernel/sql/av_gallery.go
+++ b/kernel/sql/av_gallery.go
@@ -73,6 +73,7 @@ func renderAttributeViewGallery(attrView *av.AttributeView, view *av.View, query
Relation: key.Relation,
Rollup: key.Rollup,
Date: key.Date,
+ Location: key.Location,
Created: key.Created,
Updated: key.Updated,
},
@@ -137,7 +138,7 @@ func renderAttributeViewGallery(attrView *av.AttributeView, view *av.View, query
filedDateIsTime = field.Date.FillSpecificTime
}
fillAttributeViewBaseValue(fieldValue.BaseValue, field.ID, cardID, field.NumberFormat, field.DateFormat,
- field.Template, filedDateIsTime)
+ field.Template, filedDateIsTime, field.Location)
galleryCard.Values = append(galleryCard.Values, fieldValue)
}
diff --git a/kernel/sql/av_kanban.go b/kernel/sql/av_kanban.go
index 127b675347..ea2c9f7be5 100644
--- a/kernel/sql/av_kanban.go
+++ b/kernel/sql/av_kanban.go
@@ -67,6 +67,7 @@ func renderAttributeViewKanban(attrView *av.AttributeView, view *av.View, query
Relation: key.Relation,
Rollup: key.Rollup,
Date: key.Date,
+ Location: key.Location,
Created: key.Created,
Updated: key.Updated,
},
@@ -131,7 +132,7 @@ func renderAttributeViewKanban(attrView *av.AttributeView, view *av.View, query
filedDateIsTime = field.Date.FillSpecificTime
}
fillAttributeViewBaseValue(fieldValue.BaseValue, field.ID, cardID, field.NumberFormat, field.DateFormat,
- field.Template, filedDateIsTime)
+ field.Template, filedDateIsTime, field.Location)
kanbanCard.Values = append(kanbanCard.Values, fieldValue)
}
diff --git a/kernel/sql/av_location_test.go b/kernel/sql/av_location_test.go
new file mode 100644
index 0000000000..1856c7929e
--- /dev/null
+++ b/kernel/sql/av_location_test.go
@@ -0,0 +1,34 @@
+package sql
+
+import (
+ "testing"
+
+ "github.com/siyuan-note/siyuan/kernel/av"
+)
+
+func TestLocationColumnDefaultOnlyFillsMissingCells(t *testing.T) {
+ for _, test := range []struct {
+ name string
+ value *av.Value
+ want string
+ }{
+ {"missing", nil, "gcj02"},
+ {"nil payload", &av.Value{Type: av.KeyTypeLocation}, ""},
+ {"empty", &av.Value{Type: av.KeyTypeLocation, Location: &av.ValueLocation{}}, ""},
+ {"name only", &av.Value{Type: av.KeyTypeLocation, Location: &av.ValueLocation{Name: "Home"}}, ""},
+ {"unknown", &av.Value{Type: av.KeyTypeLocation, Location: &av.ValueLocation{CoordinateSystem: "unknown"}}, "unknown"},
+ {"explicit", &av.Value{Type: av.KeyTypeLocation, Location: &av.ValueLocation{CoordinateSystem: "wgs84"}}, "wgs84"},
+ } {
+ t.Run(test.name, func(t *testing.T) {
+ base := &av.BaseValue{ID: "20261009000000-locaval", ValueType: av.KeyTypeLocation, Value: test.value}
+ fillAttributeViewBaseValue(base, "location", "20261009000000-locarow", "", "", "", false, &av.Location{DefaultCoordinateSystem: "gcj02"})
+ if base.Value.Location.CoordinateSystem != test.want {
+ t.Fatalf("default overwrote existing location: %+v", base.Value.Location)
+ }
+ fillAttributeViewBaseValue(base, "location", "20261009000000-locarow", "", "", "", false, &av.Location{DefaultCoordinateSystem: "bd09"})
+ if base.Value.Location.CoordinateSystem != test.want {
+ t.Fatal("changing the column default reinterpreted existing cell")
+ }
+ })
+ }
+}
diff --git a/kernel/sql/av_rollup_target_test.go b/kernel/sql/av_rollup_target_test.go
index 797bcadabd..8ecbd38d17 100644
--- a/kernel/sql/av_rollup_target_test.go
+++ b/kernel/sql/av_rollup_target_test.go
@@ -9,7 +9,7 @@ import (
)
func TestNestedRollupRefreshWithoutRenderingIntermediate(t *testing.T) {
- for _, typ := range []av.KeyType{av.KeyTypeText, av.KeyTypeNumber, av.KeyTypeBlock} {
+ for _, typ := range []av.KeyType{av.KeyTypeText, av.KeyTypeNumber, av.KeyTypeBlock, av.KeyTypeLocation} {
for _, stale := range []bool{false, true} {
for _, levels := range []int{3, 4} {
t.Run(fmt.Sprintf("%s/stale=%v/levels=%d", typ, stale, levels), func(t *testing.T) {
@@ -34,6 +34,8 @@ func TestNestedRollupRefreshWithoutRenderingIntermediate(t *testing.T) {
value.Number.Content = float64(update*10 + row + 1)
case av.KeyTypeBlock:
value.Block.Content = fmt.Sprintf("updated-%d-%d", update, row)
+ case av.KeyTypeLocation:
+ value.Location.Name = fmt.Sprintf("updated-%d-%d", update, row)
}
}
collection := renderNestedRollupTestView(t, outer, cache)
@@ -349,6 +351,8 @@ func newNestedRollupTestLeaf(typ av.KeyType) (*av.AttributeView, *av.Key) {
value := &av.Value{ID: block.BlockID + "-value", KeyID: key.ID, BlockID: block.BlockID, Type: typ}
if typ == av.KeyTypeNumber {
value.Number = &av.ValueNumber{Content: float64(row + 1), IsNotEmpty: true}
+ } else if typ == av.KeyTypeLocation {
+ value.Location = &av.ValueLocation{Name: fmt.Sprintf("fresh-%d", row), CoordinateSystem: "unknown", OriginalInput: "source"}
} else {
value.Text = &av.ValueText{Content: fmt.Sprintf("fresh-%d", row)}
}
diff --git a/kernel/sql/av_table.go b/kernel/sql/av_table.go
index 1abdcc4511..eeb6acfaf1 100644
--- a/kernel/sql/av_table.go
+++ b/kernel/sql/av_table.go
@@ -73,6 +73,7 @@ func renderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
Relation: key.Relation,
Rollup: key.Rollup,
Date: key.Date,
+ Location: key.Location,
Created: key.Created,
Updated: key.Updated,
},
@@ -127,7 +128,7 @@ func renderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
filedDateIsTime = col.Date.FillSpecificTime
}
fillAttributeViewBaseValue(tableCell.BaseValue, col.ID, rowID, col.NumberFormat, col.DateFormat, col.Template,
- filedDateIsTime)
+ filedDateIsTime, col.Location)
tableRow.Cells = append(tableRow.Cells, tableCell)
}
ret.Rows = append(ret.Rows, &tableRow)