data-primals-engine 1.6.1 → 1.6.2-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -918,7 +918,8 @@ export const defaultModels = {
918
918
  "tags": ["system", "automation"],
919
919
  fields: [
920
920
  { name: 'name', type: 'string_t', required: true, hint: "Unique name for the workflow (e.g., 'Order Validation', 'Low Stock Notification')." },
921
- { name: 'description', type: 'richtext', hint: "Detailed explanation of the workflow's purpose." },
921
+ { name: 'description', type: 'richtext', hint: "Detailed explanation of the workflow's purpose."
922
+ },
922
923
  { name: 'startStep', type: 'relation', relation: 'workflowStep', required: false, hint: "The first step to execute when the workflow starts." }
923
924
  ]
924
925
  },
@@ -982,7 +983,8 @@ export const defaultModels = {
982
983
  "tags": ["system", "automation"],
983
984
  fields: [
984
985
  { name: 'workflow', type: 'relation', relation: 'workflow', required: true, hint: "The workflow this step belongs to." },
985
- { name: 'name', type: 'string_t', hint: "Optional descriptive name for the step (e.g., 'Check Inventory', 'Send Confirmation Email')." },
986
+ { name: 'name', type: 'string_t', hint: "Optional descriptive name for the step (e.g., 'Check Inventory', 'Send Confirmation Email')."
987
+ },
986
988
  { name: 'conditions', type: 'code', language: 'json', conditionBuilder: true, hint: "Optional conditions checked before executing the step's action." },
987
989
  { name: 'actions', type: 'relation', relation: 'workflowAction', multiple: true, required: true, hint: "The main actions performed by this step." },
988
990
  { name: 'onSuccessStep', type: 'relation', relation: 'workflowStep', hint: "Optional: The next step if this step's action succeeds." },
@@ -997,6 +999,7 @@ export const defaultModels = {
997
999
  "tags": ["system", "automation"],
998
1000
  fields: [
999
1001
  { name: 'name', type: 'string_t', required: true, hint: "Name of the action (e.g., 'Update Order Status', 'Send Email', 'Call Payment API')." },
1002
+ { name: 'workflow', type: 'relation', relation: 'workflow', required: false },
1000
1003
  {
1001
1004
  name: 'type',
1002
1005
  type: 'enum',
package/src/i18n.js CHANGED
@@ -5,6 +5,10 @@ import LanguageDetector from "i18next-browser-languagedetector";
5
5
  export const translations = {
6
6
  fr: {
7
7
  translation: {
8
+
9
+ "model_audience": "Audiences",
10
+ "model_deal": "Opportunités",
11
+
8
12
  "relationField.select.title": "Sélectionner {{modelName}}",
9
13
  "btns.validate": "Valider",
10
14
  "btns.create": "Créer",
@@ -1318,6 +1322,8 @@ export const translations = {
1318
1322
  },
1319
1323
  en: {
1320
1324
  translation: {
1325
+ "model_audience": "Audiences",
1326
+ "model_deal": "Opportunities",
1321
1327
  "relationField.select.title": "Select {{modelName}}",
1322
1328
  "btns.validate": "Validate",
1323
1329
  "btns.create": "Create",
@@ -2627,6 +2633,8 @@ export const translations = {
2627
2633
  },
2628
2634
  es: {
2629
2635
  translation: {
2636
+ "model_audience": "Audiencias",
2637
+ "model_deal": "Oportunidades",
2630
2638
  "relationField.select.title": "Seleccionar {{modelName}}",
2631
2639
  "btns.validate": "Validar",
2632
2640
  "btns.create": "Crear",
@@ -3973,6 +3981,10 @@ export const translations = {
3973
3981
  },
3974
3982
  pt: {
3975
3983
  translation: {
3984
+
3985
+ "model_audience": "Públicos",
3986
+ "model_campaign": "Campanhas de marketing",
3987
+ "model_deal": "Oportunidades",
3976
3988
  "relationField.select.title": "Selecionar {{modelName}}",
3977
3989
  "btns.validate": "Validar",
3978
3990
  "btns.create": "Criar",
@@ -4125,6 +4137,8 @@ export const translations = {
4125
4137
  },
4126
4138
  de: {
4127
4139
  translation: {
4140
+ "model_audience": "Zielgruppen",
4141
+ "model_deal": "Möglichkeiten",
4128
4142
  "relationField.select.title": "{{modelName}} auswählen",
4129
4143
  "btns.validate": "Validieren",
4130
4144
  "btns.create": "Erstellen",
@@ -5424,7 +5438,6 @@ export const translations = {
5424
5438
  "field_endpoint_isPublic_hint": "Se selezionato, questo endpoint sarà accessibile senza autenticazione. Lo script verrà eseguito con i permessi del proprietario dell'endpoint.",
5425
5439
  "field_endpoint_code": "Codice da eseguire",
5426
5440
  "field_endpoint_code_hint": "Lo script da eseguire. Deve restituire un valore o un oggetto che sarà la risposta JSON.",
5427
- "model_env": "Variabili d'Ambiente (env)",
5428
5441
  "datatable.advancedFilter.title": "Filtro avanzato (MongoDB)",
5429
5442
  "datatable.advancedFilter.desc": "Crea i tuoi filtri avanzati da zero, utilizzando gli operatori di aggregazione di MongoDB disponibili qui.",
5430
5443
  "editData": "Modifica in {{0}}",
@@ -5696,6 +5709,10 @@ export const translations = {
5696
5709
  "model_channel": "Canali di notifica",
5697
5710
  "model_message": "Messaggi",
5698
5711
  "model_kpi": "Indicatori KPI",
5712
+ "model_env": "Variabili d'Ambiente (env)",
5713
+ "model_audience": "Pubblici",
5714
+ "model_deal": "Opportunità",
5715
+
5699
5716
  "field_permission_name": "Nome",
5700
5717
  "field_permission_description": "Descrizione",
5701
5718
 
@@ -6628,6 +6645,9 @@ export const translations = {
6628
6645
  },
6629
6646
  cs: {
6630
6647
  translation: {
6648
+ "model_audience": "Publika",
6649
+ "model_campaign": "Marketingové kampaně",
6650
+ "model_deal": "Příležitosti",
6631
6651
  "relationField.select.title": "Vybrat {{modelName}}",
6632
6652
  "btns.validate": "Ověřit",
6633
6653
  "btns.create": "Vytvořit",
@@ -7553,6 +7573,8 @@ export const translations = {
7553
7573
  },
7554
7574
  ru: {
7555
7575
  translation: {
7576
+ "model_audience": "Аудитории",
7577
+ "model_deal": "Возможности",
7556
7578
  "relationField.select.title": "Выбрать {{modelName}}",
7557
7579
  "btns.validate": "Проверить",
7558
7580
  "btns.create": "Создать",
@@ -8832,6 +8854,8 @@ export const translations = {
8832
8854
  },
8833
8855
  ar: {
8834
8856
  translation: {
8857
+ "model_audience": "الجماهير",
8858
+ "model_deal": "الفرص",
8835
8859
  "relationField.select.title": "اختر {{modelName}}",
8836
8860
  "btns.validate": "تحقق",
8837
8861
  "btns.create": "إنشاء",
@@ -8901,7 +8925,7 @@ export const translations = {
8901
8925
  "field_endpoint_code": "الكود المنفذ",
8902
8926
  "field_endpoint_code_hint": "السكريبت الذي سيتم تنفيذه. يجب أن يعيد قيمة أو كائنًا سيكون استجابة JSON.",
8903
8927
  "model_env": "متغيرات البيئة (env)",
8904
-
8928
+
8905
8929
  "datatable.advancedFilter.title": "مرشح متقدم (MongoDB)",
8906
8930
  "datatable.advancedFilter.desc": "أنشئ مرشحاتك المتقدمة من الصفر، باستخدام عوامل تجميع MongoDB المتوفرة هنا",
8907
8931
  "editData": "تعديل في {{0}}",
@@ -10156,6 +10180,8 @@ export const translations = {
10156
10180
  },
10157
10181
  sv: {
10158
10182
  translation: {
10183
+ "model_audience": "Målgrupper",
10184
+ "model_deal": "Möjligheter",
10159
10185
  "relationField.select.title": "Välj {{modelName}}",
10160
10186
  "btns.validate": "Validera",
10161
10187
  "btns.create": "Skapa",
@@ -11316,7 +11342,7 @@ export const translations = {
11316
11342
  "no": "Nej",
11317
11343
  "true": "Sant",
11318
11344
  "false": "Falskt",
11319
-
11345
+
11320
11346
 
11321
11347
  "assistant.type": "Skriv ditt meddelande...",
11322
11348
  "assistant.welcome": "Hej! Hur kan jag hjälpa dig med din data?",
@@ -11383,6 +11409,10 @@ export const translations = {
11383
11409
  },
11384
11410
  el: {
11385
11411
  translation: {
11412
+ "model_audience": "Κοινά",
11413
+ "model_deal": "Ευκαιρίες",
11414
+ "model_endpoint": "Τελικά σημεία",
11415
+ "model_env": "Μεταβλητές Περιβάλλοντος",
11386
11416
  "relationField.select.title": "Επιλογή {{modelName}}",
11387
11417
  "btns.validate": "Επικύρωση",
11388
11418
  "btns.create": "Δημιουργία",
@@ -12586,6 +12616,8 @@ export const translations = {
12586
12616
  },
12587
12617
  fa: {
12588
12618
  translation: {
12619
+ "model_audience": "مخاطبان",
12620
+ "model_deal": "فرصت‌ها",
12589
12621
  "relationField.select.title": "{{modelName}} را انتخاب کنید",
12590
12622
  "btns.validate": "اعتبارسنجی",
12591
12623
  "btns.create": "ایجاد",