@rebasepro/plugin-data-enhancement 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -78
- package/dist/admin/src/collection_editor/ui/collection_editor/PropertyEditView.d.ts +1 -0
- package/dist/admin/src/collection_editor/ui/collection_editor/templates/blog_template.d.ts +1 -1
- package/dist/admin/src/collection_editor/ui/collection_editor/templates/pages_template.d.ts +1 -1
- package/dist/admin/src/collection_editor/ui/collection_editor/templates/products_template.d.ts +1 -1
- package/dist/admin/src/collection_editor/ui/collection_editor/templates/users_template.d.ts +1 -1
- package/dist/common/src/util/permissions.d.ts +14 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/plugin-data-enhancement/src/components/DataEnhancementControllerProvider.d.ts +3 -3
- package/dist/plugin-data-enhancement/src/components/FormEnhanceAction.d.ts +0 -8
- package/dist/types/src/types/backend.d.ts +36 -1
- package/dist/types/src/types/collections.d.ts +21 -1
- package/dist/types/src/types/properties.d.ts +0 -8
- package/package.json +7 -7
- package/src/components/DataEnhancementControllerProvider.tsx +2 -2
- package/src/components/FormEnhanceAction.tsx +0 -9
- package/dist/plugin-data-enhancement/src/locales/de.d.ts +0 -21
- package/dist/plugin-data-enhancement/src/locales/en.d.ts +0 -21
- package/dist/plugin-data-enhancement/src/locales/es.d.ts +0 -21
- package/dist/plugin-data-enhancement/src/locales/fr.d.ts +0 -21
- package/dist/plugin-data-enhancement/src/locales/hi.d.ts +0 -21
- package/dist/plugin-data-enhancement/src/locales/it.d.ts +0 -21
- package/dist/plugin-data-enhancement/src/locales/pt.d.ts +0 -21
- package/src/locales/de.ts +0 -21
- package/src/locales/en.ts +0 -21
- package/src/locales/es.ts +0 -21
- package/src/locales/fr.ts +0 -21
- package/src/locales/hi.ts +0 -21
- package/src/locales/it.ts +0 -21
- package/src/locales/pt.ts +0 -21
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const dataEnhancementTranslationsFr: {
|
|
2
|
-
autofill: string;
|
|
3
|
-
autofill_current_content: string;
|
|
4
|
-
set_id_first: string;
|
|
5
|
-
provide_instructions: string;
|
|
6
|
-
fill_missing_fields: string;
|
|
7
|
-
translate_missing_content: string;
|
|
8
|
-
add_2_paragraphs_to: string;
|
|
9
|
-
use_openai_generate_content: string;
|
|
10
|
-
autofill_this_field: string;
|
|
11
|
-
autofill_property: string;
|
|
12
|
-
input_data_before_enhancing: string;
|
|
13
|
-
input_data_before_enhancing_property: string;
|
|
14
|
-
based_on_rest_of_entity: string;
|
|
15
|
-
this_field: string;
|
|
16
|
-
subscription_needed: string;
|
|
17
|
-
login_to_enhance: string;
|
|
18
|
-
no_fields_updated: string;
|
|
19
|
-
ask_ai_to_write: string;
|
|
20
|
-
instructions: string;
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const dataEnhancementTranslationsHi: {
|
|
2
|
-
autofill: string;
|
|
3
|
-
autofill_current_content: string;
|
|
4
|
-
set_id_first: string;
|
|
5
|
-
provide_instructions: string;
|
|
6
|
-
fill_missing_fields: string;
|
|
7
|
-
translate_missing_content: string;
|
|
8
|
-
add_2_paragraphs_to: string;
|
|
9
|
-
use_openai_generate_content: string;
|
|
10
|
-
autofill_this_field: string;
|
|
11
|
-
autofill_property: string;
|
|
12
|
-
input_data_before_enhancing: string;
|
|
13
|
-
input_data_before_enhancing_property: string;
|
|
14
|
-
based_on_rest_of_entity: string;
|
|
15
|
-
this_field: string;
|
|
16
|
-
subscription_needed: string;
|
|
17
|
-
login_to_enhance: string;
|
|
18
|
-
no_fields_updated: string;
|
|
19
|
-
ask_ai_to_write: string;
|
|
20
|
-
instructions: string;
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const dataEnhancementTranslationsIt: {
|
|
2
|
-
autofill: string;
|
|
3
|
-
autofill_current_content: string;
|
|
4
|
-
set_id_first: string;
|
|
5
|
-
provide_instructions: string;
|
|
6
|
-
fill_missing_fields: string;
|
|
7
|
-
translate_missing_content: string;
|
|
8
|
-
add_2_paragraphs_to: string;
|
|
9
|
-
use_openai_generate_content: string;
|
|
10
|
-
autofill_this_field: string;
|
|
11
|
-
autofill_property: string;
|
|
12
|
-
input_data_before_enhancing: string;
|
|
13
|
-
input_data_before_enhancing_property: string;
|
|
14
|
-
based_on_rest_of_entity: string;
|
|
15
|
-
this_field: string;
|
|
16
|
-
subscription_needed: string;
|
|
17
|
-
login_to_enhance: string;
|
|
18
|
-
no_fields_updated: string;
|
|
19
|
-
ask_ai_to_write: string;
|
|
20
|
-
instructions: string;
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const dataEnhancementTranslationsPt: {
|
|
2
|
-
autofill: string;
|
|
3
|
-
autofill_current_content: string;
|
|
4
|
-
set_id_first: string;
|
|
5
|
-
provide_instructions: string;
|
|
6
|
-
fill_missing_fields: string;
|
|
7
|
-
translate_missing_content: string;
|
|
8
|
-
add_2_paragraphs_to: string;
|
|
9
|
-
use_openai_generate_content: string;
|
|
10
|
-
autofill_this_field: string;
|
|
11
|
-
autofill_property: string;
|
|
12
|
-
input_data_before_enhancing: string;
|
|
13
|
-
input_data_before_enhancing_property: string;
|
|
14
|
-
based_on_rest_of_entity: string;
|
|
15
|
-
this_field: string;
|
|
16
|
-
subscription_needed: string;
|
|
17
|
-
login_to_enhance: string;
|
|
18
|
-
no_fields_updated: string;
|
|
19
|
-
ask_ai_to_write: string;
|
|
20
|
-
instructions: string;
|
|
21
|
-
};
|
package/src/locales/de.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const dataEnhancementTranslationsDe = {
|
|
2
|
-
autofill: "Automatisch ausfüllen",
|
|
3
|
-
autofill_current_content: "Basierend auf dem aktuellen Inhalt automatisch ausfüllen",
|
|
4
|
-
set_id_first: "Bitte zuerst eine ID festlegen",
|
|
5
|
-
provide_instructions: "Anweisungen für die Datenerweiterung angeben",
|
|
6
|
-
fill_missing_fields: "Fehlende Felder ausfüllen",
|
|
7
|
-
translate_missing_content: "Fehlenden Inhalt übersetzen",
|
|
8
|
-
add_2_paragraphs_to: "2 Absätze zum Inhalt hinzufügen",
|
|
9
|
-
use_openai_generate_content: "Verwenden Sie Google Vertex AI oder OpenAI, um Inhalte automatisch zu generieren.",
|
|
10
|
-
autofill_this_field: "Dieses Feld automatisch ausfüllen",
|
|
11
|
-
autofill_property: "Eigenschaft automatisch ausfüllen",
|
|
12
|
-
input_data_before_enhancing: "Vor der Erweiterung Daten eingeben",
|
|
13
|
-
input_data_before_enhancing_property: "Sie müssen Daten in anderen Eigenschaften eingeben, bevor Sie diese erweitern können.",
|
|
14
|
-
based_on_rest_of_entity: "Basierend auf dem Rest der Entität",
|
|
15
|
-
this_field: "dieses Feld",
|
|
16
|
-
subscription_needed: "Für die Nutzung dieser Funktion ist ein gültiges Abonnement erforderlich.",
|
|
17
|
-
login_to_enhance: "Sie müssen angemeldet sein, um Daten zu erweitern",
|
|
18
|
-
no_fields_updated: "Keine Felder wurden aktualisiert",
|
|
19
|
-
ask_ai_to_write: "KI zum Schreiben auffordern",
|
|
20
|
-
instructions: "Anweisungen"
|
|
21
|
-
};
|
package/src/locales/en.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const dataEnhancementTranslationsEn = {
|
|
2
|
-
autofill: "Autofill",
|
|
3
|
-
autofill_current_content: "Autofill based on current content",
|
|
4
|
-
set_id_first: "You must set an ID first",
|
|
5
|
-
provide_instructions: "Provide instructions to Data Enhancement",
|
|
6
|
-
fill_missing_fields: "Fill missing fields",
|
|
7
|
-
translate_missing_content: "Translate missing content",
|
|
8
|
-
add_2_paragraphs_to: "Add 2 paragraphs to the content",
|
|
9
|
-
use_openai_generate_content: "Use Google Vertex AI or OpenAI to generate content automatically.",
|
|
10
|
-
autofill_this_field: "Autofill this field",
|
|
11
|
-
autofill_property: "Autofill property",
|
|
12
|
-
input_data_before_enhancing: "Input some data before enhancing",
|
|
13
|
-
input_data_before_enhancing_property: "You need to input some data in other properties before enhancing this one.",
|
|
14
|
-
based_on_rest_of_entity: "Based on the rest of the entity",
|
|
15
|
-
this_field: "this field",
|
|
16
|
-
subscription_needed: "A valid subscription is needed in order to use this function.",
|
|
17
|
-
login_to_enhance: "You need to be logged in to enhance data",
|
|
18
|
-
no_fields_updated: "No fields were updated",
|
|
19
|
-
ask_ai_to_write: "Ask AI to write",
|
|
20
|
-
instructions: "Instructions"
|
|
21
|
-
};
|
package/src/locales/es.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const dataEnhancementTranslationsEs = {
|
|
2
|
-
autofill: "Autocompletar",
|
|
3
|
-
autofill_current_content: "Autocompletar basado en el contenido actual",
|
|
4
|
-
set_id_first: "Debes establecer un ID primero",
|
|
5
|
-
provide_instructions: "Proporcionar instrucciones para Mejora de datos",
|
|
6
|
-
fill_missing_fields: "Llenar campos faltantes",
|
|
7
|
-
translate_missing_content: "Traducir contenido faltante",
|
|
8
|
-
add_2_paragraphs_to: "Añadir 2 párrafos al contenido",
|
|
9
|
-
use_openai_generate_content: "Usa Google Vertex AI u OpenAI para generar contenido automáticamente.",
|
|
10
|
-
autofill_this_field: "Autocompletar este campo",
|
|
11
|
-
autofill_property: "Propiedad de autocompletado",
|
|
12
|
-
input_data_before_enhancing: "Introduce algunos datos antes de mejorar el contenido",
|
|
13
|
-
input_data_before_enhancing_property: "Necesitas ingresar datos en otras propiedades antes de mejorar esta.",
|
|
14
|
-
based_on_rest_of_entity: "Basado en el resto de la entidad",
|
|
15
|
-
this_field: "este campo",
|
|
16
|
-
subscription_needed: "Se necesita una suscripción válida para usar esta función.",
|
|
17
|
-
login_to_enhance: "Necesitas iniciar sesión para mejorar datos",
|
|
18
|
-
no_fields_updated: "No se actualizaron campos",
|
|
19
|
-
ask_ai_to_write: "Pídele a la IA que escriba",
|
|
20
|
-
instructions: "Instrucciones"
|
|
21
|
-
};
|
package/src/locales/fr.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const dataEnhancementTranslationsFr = {
|
|
2
|
-
autofill: "Remplissage automatique",
|
|
3
|
-
autofill_current_content: "Remplissage automatique basé sur le contenu actuel",
|
|
4
|
-
set_id_first: "Vous devez d'abord définir un identifiant",
|
|
5
|
-
provide_instructions: "Fournir des instructions pour l'amélioration des données",
|
|
6
|
-
fill_missing_fields: "Remplir les champs manquants",
|
|
7
|
-
translate_missing_content: "Traduire le contenu manquant",
|
|
8
|
-
add_2_paragraphs_to: "Ajouter 2 paragraphes au contenu",
|
|
9
|
-
use_openai_generate_content: "Utilisez Google Vertex AI ou OpenAI pour générer du contenu automatiquement.",
|
|
10
|
-
autofill_this_field: "Remplir automatiquement ce champ",
|
|
11
|
-
autofill_property: "Propriété de remplissage automatique",
|
|
12
|
-
input_data_before_enhancing: "Saisir des données avant l'amélioration",
|
|
13
|
-
input_data_before_enhancing_property: "Vous devez saisir des données dans d'autres propriétés avant d'améliorer celle-ci.",
|
|
14
|
-
based_on_rest_of_entity: "Basé sur le reste de l'entité",
|
|
15
|
-
this_field: "ce champ",
|
|
16
|
-
subscription_needed: "Un abonnement valide est nécessaire pour utiliser cette fonctionnalité.",
|
|
17
|
-
login_to_enhance: "Vous devez être connecté pour améliorer les données",
|
|
18
|
-
no_fields_updated: "Aucun champ n'a été mis à jour",
|
|
19
|
-
ask_ai_to_write: "Demander à l'IA d'écrire",
|
|
20
|
-
instructions: "Instructions"
|
|
21
|
-
};
|
package/src/locales/hi.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const dataEnhancementTranslationsHi = {
|
|
2
|
-
autofill: "ऑटोफ़िल",
|
|
3
|
-
autofill_current_content: "वर्तमान सामग्री के आधार पर ऑटोफ़िल करें",
|
|
4
|
-
set_id_first: "पहले एक ID सेट करना आवश्यक है",
|
|
5
|
-
provide_instructions: "डेटा एन्हांसमेंट के लिए निर्देश प्रदान करें",
|
|
6
|
-
fill_missing_fields: "अनुपस्थित फ़ील्ड भरें",
|
|
7
|
-
translate_missing_content: "अनुपस्थित सामग्री अनुवाद करें",
|
|
8
|
-
add_2_paragraphs_to: "सामग्री में 2 पैराग्राफ जोड़ें",
|
|
9
|
-
use_openai_generate_content: "सामग्री स्वचालित रूप से जनरेट करने के लिए Google Vertex AI या OpenAI का उपयोग करें।",
|
|
10
|
-
autofill_this_field: "इस फ़ील्ड को ऑटोफ़िल करें",
|
|
11
|
-
autofill_property: "ऑटोफ़िल प्रॉपर्टी",
|
|
12
|
-
input_data_before_enhancing: "एन्हांस करने से पहले कुछ डेटा दर्ज करें",
|
|
13
|
-
input_data_before_enhancing_property: "इस प्रॉपर्टी को एन्हांस करने से पहले आपको अन्य प्रॉपर्टीज़ में डेटा दर्ज करना होगा।",
|
|
14
|
-
based_on_rest_of_entity: "एंटिटी के बाकी भाग के आधार पर",
|
|
15
|
-
this_field: "यह फ़ील्ड",
|
|
16
|
-
subscription_needed: "इस फ़ंक्शन का उपयोग करने के लिए एक वैध सब्सक्रिप्शन आवश्यक है।",
|
|
17
|
-
login_to_enhance: "डेटा एन्हांस करने के लिए लॉग इन करना आवश्यक है",
|
|
18
|
-
no_fields_updated: "कोई फ़ील्ड अपडेट नहीं हुई",
|
|
19
|
-
ask_ai_to_write: "AI से लिखने के लिए कहें",
|
|
20
|
-
instructions: "निर्देश"
|
|
21
|
-
};
|
package/src/locales/it.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const dataEnhancementTranslationsIt = {
|
|
2
|
-
autofill: "Compilazione automatica",
|
|
3
|
-
autofill_current_content: "Compilazione automatica basata sul contenuto attuale",
|
|
4
|
-
set_id_first: "È necessario impostare prima un ID",
|
|
5
|
-
provide_instructions: "Fornisci istruzioni per il miglioramento dei dati",
|
|
6
|
-
fill_missing_fields: "Compila i campi mancanti",
|
|
7
|
-
translate_missing_content: "Traduci il contenuto mancante",
|
|
8
|
-
add_2_paragraphs_to: "Aggiungi 2 paragrafi al contenuto",
|
|
9
|
-
use_openai_generate_content: "Usa Google Vertex AI o OpenAI per generare contenuti automaticamente.",
|
|
10
|
-
autofill_this_field: "Compila automaticamente questo campo",
|
|
11
|
-
autofill_property: "Proprietà di compilazione automatica",
|
|
12
|
-
input_data_before_enhancing: "Inserisci alcuni dati prima di migliorare",
|
|
13
|
-
input_data_before_enhancing_property: "Devi inserire dati in altre proprietà prima di migliorare questa.",
|
|
14
|
-
based_on_rest_of_entity: "Basato sul resto dell'entità",
|
|
15
|
-
this_field: "questo campo",
|
|
16
|
-
subscription_needed: "È necessario un abbonamento valido per utilizzare questa funzione.",
|
|
17
|
-
login_to_enhance: "Devi essere connesso per migliorare i dati",
|
|
18
|
-
no_fields_updated: "Nessun campo è stato aggiornato",
|
|
19
|
-
ask_ai_to_write: "Chiedi all'IA di scrivere",
|
|
20
|
-
instructions: "Istruzioni"
|
|
21
|
-
};
|
package/src/locales/pt.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const dataEnhancementTranslationsPt = {
|
|
2
|
-
autofill: "Preenchimento automático",
|
|
3
|
-
autofill_current_content: "Preencher automaticamente com base no conteúdo atual",
|
|
4
|
-
set_id_first: "Deve definir primeiro um ID",
|
|
5
|
-
provide_instructions: "Forneça instruções ao Data Enhancement",
|
|
6
|
-
fill_missing_fields: "Preencher campos em falta",
|
|
7
|
-
translate_missing_content: "Traduzir conteúdo em falta",
|
|
8
|
-
add_2_paragraphs_to: "Adicionar 2 parágrafos ao conteúdo",
|
|
9
|
-
use_openai_generate_content: "Use o Google Vertex AI ou OpenAI para gerar conteúdo automaticamente.",
|
|
10
|
-
autofill_this_field: "Preencher automaticamente este campo",
|
|
11
|
-
autofill_property: "Preencher propriedade automaticamente",
|
|
12
|
-
input_data_before_enhancing: "Introduza alguns dados antes de melhorar",
|
|
13
|
-
input_data_before_enhancing_property: "Precisa de introduzir alguns dados noutras propriedades antes de melhorar esta.",
|
|
14
|
-
based_on_rest_of_entity: "Com base no resto da entidade",
|
|
15
|
-
this_field: "este campo",
|
|
16
|
-
subscription_needed: "É necessária uma subscrição válida para usar esta função.",
|
|
17
|
-
login_to_enhance: "Precisa de iniciar sessão para melhorar os dados",
|
|
18
|
-
no_fields_updated: "Nenhum campo foi atualizado",
|
|
19
|
-
ask_ai_to_write: "Pedir à IA para escrever",
|
|
20
|
-
instructions: "Instruções"
|
|
21
|
-
};
|