@focus-reactive/payload-plugin-translator 0.1.4 → 0.1.6
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 +86 -95
- package/dist/client/app/cache/CacheProvider.d.ts +1 -2
- package/dist/client/app/cache/CacheProvider.export.d.ts +0 -1
- package/dist/client/app/config/TranslateKitConfigContext.d.ts +1 -2
- package/dist/client/app/config/index.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useCancelCollectionTranslations.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useCancelDocumentTranslation.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useQueueDocumentTranslation.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useQueueDocumentTranslations.d.ts +0 -1
- package/dist/client/entities/translation/api/mutations/useRunDocumentTranslation.d.ts +0 -1
- package/dist/client/entities/translation/api/queries/useCollectionTranslationStatus.d.ts +7 -72
- package/dist/client/entities/translation/api/queries/useDocumentTranslation.d.ts +7 -72
- package/dist/client/entities/translation/index.d.ts +0 -1
- package/dist/client/entities/translation/model/enums.d.ts +0 -1
- package/dist/client/entities/translation/model/enums.js +3 -3
- package/dist/client/entities/translation/model/types.d.ts +0 -1
- package/dist/client/entities/translation/ui/CompletedTranslationStatus/CompletedTranslationStatus.d.ts +1 -2
- package/dist/client/entities/translation/ui/CompletedTranslationStatus/index.d.ts +0 -1
- package/dist/client/entities/translation/ui/FailedTranslationStatus/FailedTranslationStatus.d.ts +1 -2
- package/dist/client/entities/translation/ui/FailedTranslationStatus/index.d.ts +0 -1
- package/dist/client/entities/translation/ui/PendingTranslationStatus/PendingTranslationStatus.d.ts +1 -2
- package/dist/client/entities/translation/ui/PendingTranslationStatus/index.d.ts +0 -1
- package/dist/client/entities/translation/ui/RunningTranslationStatus/RunningTranslationStatus.d.ts +1 -2
- package/dist/client/entities/translation/ui/RunningTranslationStatus/index.d.ts +0 -1
- package/dist/client/entities/translation/ui/TranslationDirection/TranslationDirection.d.ts +1 -2
- package/dist/client/entities/translation/ui/TranslationDirection/index.d.ts +0 -1
- package/dist/client/features/collection-translation-form/index.client.d.ts +0 -1
- package/dist/client/features/collection-translation-form/index.d.ts +0 -1
- package/dist/client/features/collection-translation-form/model/constants.d.ts +0 -1
- package/dist/client/features/collection-translation-form/model/form-model.d.ts +0 -1
- package/dist/client/features/collection-translation-form/model/index.d.ts +0 -1
- package/dist/client/features/collection-translation-form/model/schema.d.ts +0 -1
- package/dist/client/features/collection-translation-form/ui/CollectionTranslationForm.d.ts +1 -2
- package/dist/client/features/collection-translation-form/ui/index.d.ts +0 -1
- package/dist/client/features/collection-translation-popup/index.d.ts +0 -1
- package/dist/client/features/collection-translation-popup/ui/CollectionTranslationPopup.d.ts +1 -2
- package/dist/client/features/collection-translation-progress/index.d.ts +0 -1
- package/dist/client/features/collection-translation-progress/ui/CollectionTranslationProgress.d.ts +1 -2
- package/dist/client/features/document-translation-progress-failed/index.d.ts +0 -1
- package/dist/client/features/document-translation-progress-failed/ui/DocumentTranslationProgressFailed.d.ts +1 -2
- package/dist/client/features/document-translation-progress-pending/index.d.ts +0 -1
- package/dist/client/features/document-translation-progress-pending/ui/DocumentTranslationProgressPending.d.ts +1 -2
- package/dist/client/features/document-translation-progress-running/index.d.ts +0 -1
- package/dist/client/features/document-translation-progress-running/ui/DocumentTranslationProgressRunning.d.ts +1 -2
- package/dist/client/features/open-document-translation-popup/index.d.ts +0 -1
- package/dist/client/features/open-document-translation-popup/ui/OpenDocumentTranslationPopup.d.ts +1 -2
- package/dist/client/features/translate-document-form/index.client.d.ts +0 -1
- package/dist/client/features/translate-document-form/index.d.ts +0 -1
- package/dist/client/features/translate-document-form/model/constants.d.ts +0 -1
- package/dist/client/features/translate-document-form/model/form-model.d.ts +0 -1
- package/dist/client/features/translate-document-form/model/index.d.ts +0 -1
- package/dist/client/features/translate-document-form/model/schema.d.ts +0 -1
- package/dist/client/features/translate-document-form/ui/DocumentTranslationForm.d.ts +1 -2
- package/dist/client/features/translate-document-form/ui/index.d.ts +0 -1
- package/dist/client/shared/lib/assets/icons/LanguageTranslateIcon.d.ts +1 -2
- package/dist/client/shared/lib/assets/icons/QuestionCircleIcon.d.ts +1 -2
- package/dist/client/shared/lib/assets/icons/ReloadIcon.d.ts +1 -2
- package/dist/client/shared/lib/errors/handleApiError.d.ts +0 -1
- package/dist/client/shared/lib/errors/handleApiError.js +3 -1
- package/dist/client/shared/lib/forms/handle-form-error.d.ts +0 -1
- package/dist/client/shared/lib/payload/hooks/useCollectionDashboardUrlParams.d.ts +0 -1
- package/dist/client/shared/lib/payload/hooks/useCollectionDocumentUrlParams.d.ts +0 -1
- package/dist/client/shared/lib/payload/hooks/useLocaleOptions.d.ts +0 -1
- package/dist/client/shared/lib/utils/errors/handleApiError.d.ts +0 -1
- package/dist/client/shared/lib/utils/errors/handleApiError.js +3 -1
- package/dist/client/shared/lib/utils/react/useToggle.d.ts +0 -1
- package/dist/client/shared/providers/CacheClientProvider/CacheClientProvider.factory.d.ts +0 -1
- package/dist/client/shared/providers/CacheClientProvider/index.d.ts +0 -1
- package/dist/client/shared/types/AccessGuard.d.ts +0 -1
- package/dist/client/shared/types/PayloadComponentExport.d.ts +0 -1
- package/dist/client/shared/ui/Alert/Alert.d.ts +0 -1
- package/dist/client/shared/ui/Alert/index.d.ts +0 -1
- package/dist/client/shared/ui/Button/Button.d.ts +0 -1
- package/dist/client/shared/ui/Button/index.d.ts +0 -1
- package/dist/client/shared/ui/Checkbox/Checkbox.d.ts +0 -1
- package/dist/client/shared/ui/Checkbox/index.d.ts +0 -1
- package/dist/client/shared/ui/ColorIndicator/ColorIndicator.d.ts +1 -2
- package/dist/client/shared/ui/ColorIndicator/index.d.ts +0 -1
- package/dist/client/shared/ui/Description/Description.d.ts +1 -2
- package/dist/client/shared/ui/Description/index.d.ts +0 -1
- package/dist/client/shared/ui/Divider/Divider.d.ts +0 -1
- package/dist/client/shared/ui/Divider/index.d.ts +0 -1
- package/dist/client/shared/ui/Label/Label.d.ts +0 -1
- package/dist/client/shared/ui/Label/index.d.ts +0 -1
- package/dist/client/shared/ui/Loading/Loading.d.ts +1 -2
- package/dist/client/shared/ui/Loading/index.d.ts +0 -1
- package/dist/client/shared/ui/Popup/Popup.d.ts +1 -2
- package/dist/client/shared/ui/Popup/index.d.ts +0 -1
- package/dist/client/shared/ui/ProgressBar/ProgressBar.d.ts +1 -2
- package/dist/client/shared/ui/ProgressBar/index.d.ts +0 -1
- package/dist/client/shared/ui/Select/Select.d.ts +2 -3
- package/dist/client/shared/ui/Select/index.d.ts +0 -1
- package/dist/client/shared/ui/StatusCounter/StatusCounter.d.ts +1 -2
- package/dist/client/shared/ui/StatusCounter/index.d.ts +0 -1
- package/dist/client/shared/ui/StatusIndicator/StatusIndicator.d.ts +1 -2
- package/dist/client/shared/ui/StatusIndicator/index.d.ts +0 -1
- package/dist/client/shared/ui/Tooltip/Tooltip.d.ts +1 -2
- package/dist/client/shared/ui/Tooltip/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormCheckbox/FormCheckbox.d.ts +1 -2
- package/dist/client/shared/ui/form/FormCheckbox/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormCheckboxPublish/FormCheckboxPublish.d.ts +1 -2
- package/dist/client/shared/ui/form/FormCheckboxPublish/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormSelect/FormSelect.d.ts +1 -2
- package/dist/client/shared/ui/form/FormSelect/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormSelectLocale/FormSelectLocale.d.ts +1 -2
- package/dist/client/shared/ui/form/FormSelectLocale/index.d.ts +0 -1
- package/dist/client/shared/ui/form/FormSelectStrategy/FormSelectStrategy.d.ts +1 -2
- package/dist/client/shared/ui/form/FormSelectStrategy/index.d.ts +0 -1
- package/dist/client/shared/utils/componentPath.d.ts +0 -1
- package/dist/client/widgets/bulk-translation-dashboard/index.d.ts +0 -1
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.d.ts +1 -2
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.export.d.ts +0 -1
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.export.js +2 -1
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.server.d.ts +1 -2
- package/dist/client/widgets/bulk-translation-dashboard/ui/index.d.ts +0 -1
- package/dist/client/widgets/translate-document/index.d.ts +0 -1
- package/dist/client/widgets/translate-document/ui/TranslateDocument.d.ts +1 -2
- package/dist/client/widgets/translate-document/ui/TranslateDocument.export.d.ts +0 -1
- package/dist/client/widgets/translate-document/ui/TranslateDocument.export.js +2 -1
- package/dist/client/widgets/translate-document/ui/TranslateDocument.server.d.ts +1 -2
- package/dist/client/widgets/translate-document/ui/index.d.ts +0 -1
- package/dist/field-config.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/plugin.d.ts +0 -1
- package/dist/server/features/_lib/collection-utils.d.ts +0 -1
- package/dist/server/features/_lib/index.d.ts +0 -1
- package/dist/server/features/cancel/handler.d.ts +0 -1
- package/dist/server/features/cancel/index.d.ts +0 -1
- package/dist/server/features/cancel/model.d.ts +4 -5
- package/dist/server/features/cancel/model.js +4 -3
- package/dist/server/features/cancel/route.d.ts +0 -1
- package/dist/server/features/cancel-by-collection/handler.d.ts +0 -1
- package/dist/server/features/cancel-by-collection/index.d.ts +0 -1
- package/dist/server/features/cancel-by-collection/model.d.ts +0 -1
- package/dist/server/features/cancel-by-collection/route.d.ts +0 -1
- package/dist/server/features/enqueue-translation/handler.d.ts +0 -1
- package/dist/server/features/enqueue-translation/index.d.ts +0 -1
- package/dist/server/features/enqueue-translation/model.d.ts +0 -1
- package/dist/server/features/enqueue-translation/route.d.ts +0 -1
- package/dist/server/features/get-collection-status/handler.d.ts +0 -1
- package/dist/server/features/get-collection-status/index.d.ts +0 -1
- package/dist/server/features/get-collection-status/model.d.ts +0 -1
- package/dist/server/features/get-collection-status/route.d.ts +0 -1
- package/dist/server/features/get-document-status/handler.d.ts +0 -1
- package/dist/server/features/get-document-status/index.d.ts +0 -1
- package/dist/server/features/get-document-status/model.d.ts +10 -7
- package/dist/server/features/get-document-status/model.js +8 -5
- package/dist/server/features/get-document-status/route.d.ts +0 -1
- package/dist/server/features/index.d.ts +0 -1
- package/dist/server/features/run-translation/handler.d.ts +0 -1
- package/dist/server/features/run-translation/index.d.ts +0 -1
- package/dist/server/features/run-translation/model.d.ts +8 -5
- package/dist/server/features/run-translation/model.js +8 -3
- package/dist/server/features/run-translation/route.d.ts +0 -1
- package/dist/server/features/translate-document/handler.d.ts +0 -1
- package/dist/server/features/translate-document/index.d.ts +0 -1
- package/dist/server/features/translate-document/model.d.ts +0 -1
- package/dist/server/features/translate-document/task.d.ts +0 -1
- package/dist/server/index.d.ts +0 -1
- package/dist/server/modules/index.d.ts +0 -1
- package/dist/server/modules/task-runner/TaskRunner.interface.d.ts +0 -1
- package/dist/server/modules/task-runner/TaskRunnerProvider.interface.d.ts +3 -4
- package/dist/server/modules/task-runner/index.d.ts +0 -1
- package/dist/server/modules/task-runner/payload-jobs-runner/PayloadJobsRunnerProvider.d.ts +1 -2
- package/dist/server/modules/task-runner/payload-jobs-runner/PayloadJobsTaskRunner.d.ts +80 -5
- package/dist/server/modules/task-runner/payload-jobs-runner/PayloadJobsTaskRunner.js +98 -38
- package/dist/server/modules/task-runner/payload-jobs-runner/index.d.ts +0 -1
- package/dist/server/modules/task-runner/payload-jobs-runner/normalizeJob.d.ts +0 -1
- package/dist/server/modules/task-runner/payload-jobs-runner/types.d.ts +0 -1
- package/dist/server/modules/task-runner/sync-runner/SyncRunnerProvider.d.ts +0 -1
- package/dist/server/modules/task-runner/sync-runner/SyncTaskRunner.d.ts +0 -1
- package/dist/server/modules/task-runner/sync-runner/index.d.ts +0 -1
- package/dist/server/modules/task-runner/sync-runner/types.d.ts +0 -1
- package/dist/server/modules/task-runner/types.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/TranslationPipeline.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/data-reconciler/DataReconciler.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/data-reconciler/DataReconciler.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/data-reconciler/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/field-collector/FieldChunkCollector.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/field-collector/FieldChunkCollector.js +2 -1
- package/dist/server/modules/translation-pipeline/stages/field-collector/FieldChunkCollector.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/field-collector/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/PlainTextExpander.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/RichTextExpander.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/TextChunkExpander.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/TextChunkExpander.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/TextExpander.interface.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/text-expander/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation/Translation.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation-applicator/TranslationMutator.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation-applicator/TranslationMutator.stage.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/stages/translation-applicator/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/strategies/Overwrite.strategy.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/strategies/SkipExisting.strategy.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/strategies/TranslationStrategy.interface.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/strategies/index.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/FieldChunk.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/Pipeline.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/PipelineContext.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/TextChunk.d.ts +0 -1
- package/dist/server/modules/translation-pipeline/types/index.d.ts +0 -1
- package/dist/server/modules/translation-providers/OpenAITranslation.provider.d.ts +1 -2
- package/dist/server/modules/translation-providers/TranslationProvider.interface.d.ts +0 -1
- package/dist/server/modules/translation-providers/index.d.ts +0 -1
- package/dist/server/shared/access/AnyAccessGuard.d.ts +0 -1
- package/dist/server/shared/access/handler.d.ts +1 -2
- package/dist/server/shared/access/index.d.ts +0 -1
- package/dist/server/shared/access/types.d.ts +0 -1
- package/dist/server/shared/field-config/getFieldConfig.d.ts +0 -1
- package/dist/server/shared/field-config/index.d.ts +0 -1
- package/dist/server/shared/field-config/types.d.ts +0 -1
- package/dist/server/shared/guards/collection-guards.d.ts +0 -1
- package/dist/server/shared/guards/field-guards.d.ts +0 -1
- package/dist/server/shared/guards/index.d.ts +0 -1
- package/dist/server/shared/http/ServerResponse.d.ts +0 -1
- package/dist/server/shared/http/index.d.ts +0 -1
- package/dist/server/shared/http/withAccessCheck.d.ts +0 -1
- package/dist/server/shared/http/withErrorHandler.d.ts +0 -1
- package/dist/server/shared/index.d.ts +11 -11
- package/dist/server/shared/index.js +8 -6
- package/dist/server/shared/lexical/collectTextNodes.d.ts +0 -1
- package/dist/server/shared/lexical/guards.d.ts +0 -1
- package/dist/server/shared/lexical/index.d.ts +0 -1
- package/dist/server/shared/lexical/isEmptyRichText.d.ts +0 -1
- package/dist/server/shared/lexical/traverseLexicalTree.d.ts +0 -1
- package/dist/server/shared/lexical/types.d.ts +0 -1
- package/dist/server/shared/utils/LazyMap.d.ts +0 -1
- package/dist/server/shared/utils/filterLocalizedFields.d.ts +0 -1
- package/dist/server/shared/utils/getByPath.d.ts +0 -1
- package/dist/server/shared/utils/index.d.ts +0 -1
- package/dist/server/shared/utils/isEmpty.d.ts +0 -1
- package/dist/server/shared/utils/isObject.d.ts +0 -1
- package/dist/server/shared/utils/normalizePath.d.ts +0 -1
- package/dist/server/shared/utils/pipe.d.ts +0 -1
- package/dist/server/shared/utils/setByPath.d.ts +0 -1
- package/dist/server/shared/validation/index.d.ts +1 -0
- package/dist/server/shared/validation/index.js +3 -0
- package/dist/server/shared/validation/jobId.d.ts +17 -0
- package/dist/server/shared/validation/jobId.js +23 -0
- package/dist/types/AccessGuard.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/package.json +33 -32
- package/dist/client/app/cache/CacheProvider.jsx +0 -11
- package/dist/client/app/config/TranslateKitConfigContext.jsx +0 -13
- package/dist/client/entities/translation/ui/CompletedTranslationStatus/CompletedTranslationStatus.jsx +0 -25
- package/dist/client/entities/translation/ui/FailedTranslationStatus/FailedTranslationStatus.jsx +0 -24
- package/dist/client/entities/translation/ui/PendingTranslationStatus/PendingTranslationStatus.jsx +0 -38
- package/dist/client/entities/translation/ui/RunningTranslationStatus/RunningTranslationStatus.jsx +0 -32
- package/dist/client/entities/translation/ui/TranslationDirection/TranslationDirection.jsx +0 -16
- package/dist/client/features/collection-translation-form/ui/CollectionTranslationForm.jsx +0 -25
- package/dist/client/features/collection-translation-popup/ui/CollectionTranslationPopup.jsx +0 -23
- package/dist/client/features/collection-translation-progress/ui/CollectionTranslationProgress.jsx +0 -47
- package/dist/client/features/document-translation-progress-failed/ui/DocumentTranslationProgressFailed.jsx +0 -19
- package/dist/client/features/document-translation-progress-pending/ui/DocumentTranslationProgressPending.jsx +0 -34
- package/dist/client/features/document-translation-progress-running/ui/DocumentTranslationProgressRunning.jsx +0 -19
- package/dist/client/features/open-document-translation-popup/ui/OpenDocumentTranslationPopup.jsx +0 -15
- package/dist/client/features/translate-document-form/ui/DocumentTranslationForm.jsx +0 -24
- package/dist/client/shared/lib/assets/icons/LanguageTranslateIcon.jsx +0 -4
- package/dist/client/shared/lib/assets/icons/QuestionCircleIcon.jsx +0 -3
- package/dist/client/shared/lib/assets/icons/ReloadIcon.jsx +0 -3
- package/dist/client/shared/ui/Alert/Alert.jsx +0 -33
- package/dist/client/shared/ui/Button/Button.jsx +0 -35
- package/dist/client/shared/ui/Checkbox/Checkbox.jsx +0 -6
- package/dist/client/shared/ui/ColorIndicator/ColorIndicator.jsx +0 -7
- package/dist/client/shared/ui/Description/Description.jsx +0 -7
- package/dist/client/shared/ui/Divider/Divider.jsx +0 -7
- package/dist/client/shared/ui/Label/Label.jsx +0 -9
- package/dist/client/shared/ui/Loading/Loading.jsx +0 -11
- package/dist/client/shared/ui/Popup/Popup.jsx +0 -13
- package/dist/client/shared/ui/ProgressBar/ProgressBar.jsx +0 -11
- package/dist/client/shared/ui/Select/Select.jsx +0 -41
- package/dist/client/shared/ui/StatusCounter/StatusCounter.jsx +0 -26
- package/dist/client/shared/ui/StatusIndicator/StatusIndicator.jsx +0 -10
- package/dist/client/shared/ui/Tooltip/Tooltip.jsx +0 -16
- package/dist/client/shared/ui/form/FormCheckbox/FormCheckbox.jsx +0 -24
- package/dist/client/shared/ui/form/FormCheckboxPublish/FormCheckboxPublish.jsx +0 -21
- package/dist/client/shared/ui/form/FormSelect/FormSelect.jsx +0 -44
- package/dist/client/shared/ui/form/FormSelectLocale/FormSelectLocale.jsx +0 -6
- package/dist/client/shared/ui/form/FormSelectStrategy/FormSelectStrategy.jsx +0 -25
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.export.jsx +0 -11
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.jsx +0 -55
- package/dist/client/widgets/bulk-translation-dashboard/ui/BulkTranslationDashboard.server.jsx +0 -17
- package/dist/client/widgets/translate-document/ui/TranslateDocument.jsx +0 -55
- package/dist/client/widgets/translate-document/ui/TranslateDocument.server.jsx +0 -16
- package/dist/vitest-env.d.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CollectionSlug, Config, Payload } from 'payload';
|
|
2
|
-
import { TaskRunner } from './TaskRunner.interface';
|
|
3
|
-
import { TranslationStrategyName } from '../translation-pipeline/strategies';
|
|
1
|
+
import type { CollectionSlug, Config, Payload } from 'payload';
|
|
2
|
+
import type { TaskRunner } from './TaskRunner.interface';
|
|
3
|
+
import type { TranslationStrategyName } from '../translation-pipeline/strategies';
|
|
4
4
|
/**
|
|
5
5
|
* Input for task handler callback
|
|
6
6
|
*/
|
|
@@ -43,4 +43,3 @@ export interface TaskRunnerProvider {
|
|
|
43
43
|
*/
|
|
44
44
|
configure(context: TaskRunnerContext): (config: Config) => Config;
|
|
45
45
|
}
|
|
46
|
-
//# sourceMappingURL=TaskRunnerProvider.interface.d.ts.map
|
|
@@ -4,4 +4,3 @@ export { createPayloadJobsRunner } from './payload-jobs-runner';
|
|
|
4
4
|
export type { PayloadJobsRunnerOptions } from './payload-jobs-runner';
|
|
5
5
|
export { createSyncRunner } from './sync-runner';
|
|
6
6
|
export type { TaskRunner } from './TaskRunner.interface';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Config, Payload } from 'payload';
|
|
2
2
|
import type { TaskRunner } from '../TaskRunner.interface';
|
|
3
3
|
import type { PayloadJobsRunnerOptions } from './types';
|
|
4
|
-
import { TaskRunnerContext, TaskRunnerProvider } from '../TaskRunnerProvider.interface';
|
|
4
|
+
import type { TaskRunnerContext, TaskRunnerProvider } from '../TaskRunnerProvider.interface';
|
|
5
5
|
/**
|
|
6
6
|
* TaskRunnerProvider implementation using Payload Jobs.
|
|
7
7
|
*
|
|
@@ -17,4 +17,3 @@ export declare class PayloadJobsRunnerProvider implements TaskRunnerProvider {
|
|
|
17
17
|
* Creates a TaskRunnerProvider that uses Payload Jobs for task execution.
|
|
18
18
|
*/
|
|
19
19
|
export declare function createPayloadJobsRunner(options?: PayloadJobsRunnerOptions): TaskRunnerProvider;
|
|
20
|
-
//# sourceMappingURL=PayloadJobsRunnerProvider.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Payload, CollectionSlug } from
|
|
2
|
-
import type { TaskRunner } from
|
|
3
|
-
import type { Task, TaskInput, RunResult } from
|
|
4
|
-
import type { PayloadJobsRunnerConfig } from
|
|
1
|
+
import type { Payload, CollectionSlug } from "payload";
|
|
2
|
+
import type { TaskRunner } from "../TaskRunner.interface";
|
|
3
|
+
import type { Task, TaskInput, RunResult } from "../types";
|
|
4
|
+
import type { PayloadJobsRunnerConfig } from "./types";
|
|
5
5
|
/**
|
|
6
6
|
* TaskRunner implementation using Payload Jobs.
|
|
7
7
|
*
|
|
@@ -14,6 +14,82 @@ export declare class PayloadJobsTaskRunner implements TaskRunner {
|
|
|
14
14
|
enqueue(tasks: TaskInput[]): Promise<void>;
|
|
15
15
|
cancel(taskIds: string[]): Promise<void>;
|
|
16
16
|
run(taskId: string): Promise<RunResult>;
|
|
17
|
+
/**
|
|
18
|
+
* Find translation jobs for a collection, optionally narrowed by document IDs.
|
|
19
|
+
*
|
|
20
|
+
* IMPORTANT — why we filter `collection.value` in memory instead of in WHERE
|
|
21
|
+
* ------------------------------------------------------------------------
|
|
22
|
+
* The "natural" implementation would be a single `payload.find` with the
|
|
23
|
+
* full where clause:
|
|
24
|
+
*
|
|
25
|
+
* where: {
|
|
26
|
+
* and: [
|
|
27
|
+
* { 'input.collection.relationTo': { equals: collectionSlug } },
|
|
28
|
+
* { 'input.collection.value': { in: documentIds } },
|
|
29
|
+
* ],
|
|
30
|
+
* }
|
|
31
|
+
*
|
|
32
|
+
* This DOES NOT work on SQLite (and is unreliable on any adapter) because
|
|
33
|
+
* of two compounding bugs in Payload's drizzle layer.
|
|
34
|
+
*
|
|
35
|
+
* 1. The `input` field on `payload-jobs` is declared `type: 'json'`. The
|
|
36
|
+
* drizzle path resolver (`@payloadcms/drizzle/queries/getTableColumnFromPath`)
|
|
37
|
+
* has no `case 'json'` branch, so the value is left as a raw column and
|
|
38
|
+
* the path segments are passed through to `parseParams.js`, which on
|
|
39
|
+
* SQLite builds raw SQL using `convertPathToJSONTraversal` — generating
|
|
40
|
+
* expressions like `input->>'collection'->>'value'`.
|
|
41
|
+
*
|
|
42
|
+
* 2. When `parseParams.js` formats the right-hand side of `in`/`not_in`
|
|
43
|
+
* (and even `equals` when `!isNaN(val)`), it inlines values via JS
|
|
44
|
+
* template literals WITHOUT wrapping strings in quotes. The string
|
|
45
|
+
* `'1'` from our WHERE becomes raw `1` in the SQL. Drizzle therefore
|
|
46
|
+
* emits queries like:
|
|
47
|
+
*
|
|
48
|
+
* WHERE input->>'collection'->>'value' IN (1)
|
|
49
|
+
*
|
|
50
|
+
* even though the caller passed `['1']` (an array of strings).
|
|
51
|
+
*
|
|
52
|
+
* On SQLite, `->>` preserves the JSON value's type — if the stored JSON
|
|
53
|
+
* has `"value": "1"` (a JSON string), `->>` returns SQLite TEXT `'1'`;
|
|
54
|
+
* if the JSON has `"value": 1` (a JSON number), `->>` returns INTEGER `1`.
|
|
55
|
+
* SQLite's `IN (...)` does NOT coerce between TEXT and INTEGER. So:
|
|
56
|
+
*
|
|
57
|
+
* TEXT '1' IN (1) → false (text vs integer, no match)
|
|
58
|
+
* INTEGER 1 IN ('1') → false (integer vs text, no match)
|
|
59
|
+
*
|
|
60
|
+
* Combined with bug #2 above, any value passed by the caller — even if
|
|
61
|
+
* we normalize it to a string on write — gets re-coerced to a number in
|
|
62
|
+
* the generated SQL and never matches the stored JSON.
|
|
63
|
+
*
|
|
64
|
+
* Postgres avoids most of this because `jsonb_path_query` returns text
|
|
65
|
+
* uniformly and PG's type coercion is more permissive, but the same
|
|
66
|
+
* un-quoted-string bug technically affects it too.
|
|
67
|
+
*
|
|
68
|
+
* Why we don't fix it upstream / patch the dep
|
|
69
|
+
* --------------------------------------------
|
|
70
|
+
* - This plugin is published to npm. Consumers install it with their own
|
|
71
|
+
* Payload version and would not receive any local `bun patch` /
|
|
72
|
+
* `patch-package` overrides on `@payloadcms/drizzle`. The plugin must
|
|
73
|
+
* work against vanilla Payload.
|
|
74
|
+
* - A PR to Payload core is the proper long-term fix, but the plugin
|
|
75
|
+
* cannot block on its merge/release cycle.
|
|
76
|
+
* - Forcing a non-numeric prefix on the stored ID (e.g., `"id:1"`) would
|
|
77
|
+
* work around bug #2, but bloats the data shape and breaks anything
|
|
78
|
+
* that reads `input.collection.value` expecting a plain id.
|
|
79
|
+
*
|
|
80
|
+
* Why in-memory filtering is acceptable here
|
|
81
|
+
* ------------------------------------------
|
|
82
|
+
* We narrow the SQL query to `taskSlug + relationTo` (both string
|
|
83
|
+
* equality, which Payload quotes correctly), then filter the result set
|
|
84
|
+
* by `collection.value` in JavaScript. Per-collection job sets are
|
|
85
|
+
* small (typically <100 rows; the plugin actively cancels superseded
|
|
86
|
+
* jobs so they don't accumulate), so a Set-membership check in JS is
|
|
87
|
+
* effectively free.
|
|
88
|
+
*
|
|
89
|
+
* If/when the upstream drizzle bug is fixed (or this plugin gains a
|
|
90
|
+
* mirror collection with indexed flat columns), this method can collapse
|
|
91
|
+
* back to a single SQL query.
|
|
92
|
+
*/
|
|
17
93
|
findByCollection(collectionSlug: CollectionSlug, documentIds?: Array<string | number>): Promise<Task[]>;
|
|
18
94
|
/**
|
|
19
95
|
* Group tasks by collection slug
|
|
@@ -28,4 +104,3 @@ export declare class PayloadJobsTaskRunner implements TaskRunner {
|
|
|
28
104
|
*/
|
|
29
105
|
private findJobsInternal;
|
|
30
106
|
}
|
|
31
|
-
//# sourceMappingURL=PayloadJobsTaskRunner.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { normalizeJob } from
|
|
1
|
+
import { normalizeJob } from "./normalizeJob";
|
|
2
2
|
/**
|
|
3
3
|
* TaskRunner implementation using Payload Jobs.
|
|
4
4
|
*
|
|
@@ -13,21 +13,8 @@ import { normalizeJob } from './normalizeJob';
|
|
|
13
13
|
async enqueue(tasks) {
|
|
14
14
|
const byCollection = this.groupByCollection(tasks);
|
|
15
15
|
for (const [collectionSlug, items] of byCollection){
|
|
16
|
-
const documentIds = items.map((t)=>t.collectionId);
|
|
17
|
-
const existing = await this.
|
|
18
|
-
and: [
|
|
19
|
-
{
|
|
20
|
-
'input.collection.relationTo': {
|
|
21
|
-
equals: collectionSlug
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
'input.collection.value': {
|
|
26
|
-
in: documentIds
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
});
|
|
16
|
+
const documentIds = items.map((t)=>String(t.collectionId));
|
|
17
|
+
const existing = await this.findByCollection(collectionSlug, documentIds);
|
|
31
18
|
if (existing.length > 0) {
|
|
32
19
|
await this.cancelInternal(existing.map((t)=>t.id));
|
|
33
20
|
}
|
|
@@ -37,6 +24,15 @@ import { normalizeJob } from './normalizeJob';
|
|
|
37
24
|
queue: this.config.queueName,
|
|
38
25
|
input: {
|
|
39
26
|
collection: {
|
|
27
|
+
// Pass `value` through verbatim. The Payload Jobs `input` schema
|
|
28
|
+
// declares this as a `relationship` field, which validates the
|
|
29
|
+
// value's type against the target collection's ID type (number
|
|
30
|
+
// for autoincrement, string for uuid). Coercing to string here
|
|
31
|
+
// would silently fail validation for number-id collections and
|
|
32
|
+
// leave jobs stuck in processing without ever invoking the
|
|
33
|
+
// task handler. `findByCollection` reads back via in-memory
|
|
34
|
+
// filtering and normalizes both sides with String(...) for the
|
|
35
|
+
// comparison, so it does not need write-side normalization.
|
|
40
36
|
relationTo: task.collectionSlug,
|
|
41
37
|
value: task.collectionId
|
|
42
38
|
},
|
|
@@ -63,19 +59,19 @@ import { normalizeJob } from './normalizeJob';
|
|
|
63
59
|
if (!task) {
|
|
64
60
|
return {
|
|
65
61
|
success: false,
|
|
66
|
-
error:
|
|
62
|
+
error: "not_found"
|
|
67
63
|
};
|
|
68
64
|
}
|
|
69
65
|
if (task.completedAt) {
|
|
70
66
|
return {
|
|
71
67
|
success: false,
|
|
72
|
-
error:
|
|
68
|
+
error: "already_completed"
|
|
73
69
|
};
|
|
74
70
|
}
|
|
75
|
-
if (task.status ===
|
|
71
|
+
if (task.status === "running") {
|
|
76
72
|
return {
|
|
77
73
|
success: false,
|
|
78
|
-
error:
|
|
74
|
+
error: "already_running"
|
|
79
75
|
};
|
|
80
76
|
}
|
|
81
77
|
this.payload.jobs.runByID({
|
|
@@ -85,28 +81,92 @@ import { normalizeJob } from './normalizeJob';
|
|
|
85
81
|
success: true
|
|
86
82
|
};
|
|
87
83
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
84
|
+
/**
|
|
85
|
+
* Find translation jobs for a collection, optionally narrowed by document IDs.
|
|
86
|
+
*
|
|
87
|
+
* IMPORTANT — why we filter `collection.value` in memory instead of in WHERE
|
|
88
|
+
* ------------------------------------------------------------------------
|
|
89
|
+
* The "natural" implementation would be a single `payload.find` with the
|
|
90
|
+
* full where clause:
|
|
91
|
+
*
|
|
92
|
+
* where: {
|
|
93
|
+
* and: [
|
|
94
|
+
* { 'input.collection.relationTo': { equals: collectionSlug } },
|
|
95
|
+
* { 'input.collection.value': { in: documentIds } },
|
|
96
|
+
* ],
|
|
97
|
+
* }
|
|
98
|
+
*
|
|
99
|
+
* This DOES NOT work on SQLite (and is unreliable on any adapter) because
|
|
100
|
+
* of two compounding bugs in Payload's drizzle layer.
|
|
101
|
+
*
|
|
102
|
+
* 1. The `input` field on `payload-jobs` is declared `type: 'json'`. The
|
|
103
|
+
* drizzle path resolver (`@payloadcms/drizzle/queries/getTableColumnFromPath`)
|
|
104
|
+
* has no `case 'json'` branch, so the value is left as a raw column and
|
|
105
|
+
* the path segments are passed through to `parseParams.js`, which on
|
|
106
|
+
* SQLite builds raw SQL using `convertPathToJSONTraversal` — generating
|
|
107
|
+
* expressions like `input->>'collection'->>'value'`.
|
|
108
|
+
*
|
|
109
|
+
* 2. When `parseParams.js` formats the right-hand side of `in`/`not_in`
|
|
110
|
+
* (and even `equals` when `!isNaN(val)`), it inlines values via JS
|
|
111
|
+
* template literals WITHOUT wrapping strings in quotes. The string
|
|
112
|
+
* `'1'` from our WHERE becomes raw `1` in the SQL. Drizzle therefore
|
|
113
|
+
* emits queries like:
|
|
114
|
+
*
|
|
115
|
+
* WHERE input->>'collection'->>'value' IN (1)
|
|
116
|
+
*
|
|
117
|
+
* even though the caller passed `['1']` (an array of strings).
|
|
118
|
+
*
|
|
119
|
+
* On SQLite, `->>` preserves the JSON value's type — if the stored JSON
|
|
120
|
+
* has `"value": "1"` (a JSON string), `->>` returns SQLite TEXT `'1'`;
|
|
121
|
+
* if the JSON has `"value": 1` (a JSON number), `->>` returns INTEGER `1`.
|
|
122
|
+
* SQLite's `IN (...)` does NOT coerce between TEXT and INTEGER. So:
|
|
123
|
+
*
|
|
124
|
+
* TEXT '1' IN (1) → false (text vs integer, no match)
|
|
125
|
+
* INTEGER 1 IN ('1') → false (integer vs text, no match)
|
|
126
|
+
*
|
|
127
|
+
* Combined with bug #2 above, any value passed by the caller — even if
|
|
128
|
+
* we normalize it to a string on write — gets re-coerced to a number in
|
|
129
|
+
* the generated SQL and never matches the stored JSON.
|
|
130
|
+
*
|
|
131
|
+
* Postgres avoids most of this because `jsonb_path_query` returns text
|
|
132
|
+
* uniformly and PG's type coercion is more permissive, but the same
|
|
133
|
+
* un-quoted-string bug technically affects it too.
|
|
134
|
+
*
|
|
135
|
+
* Why we don't fix it upstream / patch the dep
|
|
136
|
+
* --------------------------------------------
|
|
137
|
+
* - This plugin is published to npm. Consumers install it with their own
|
|
138
|
+
* Payload version and would not receive any local `bun patch` /
|
|
139
|
+
* `patch-package` overrides on `@payloadcms/drizzle`. The plugin must
|
|
140
|
+
* work against vanilla Payload.
|
|
141
|
+
* - A PR to Payload core is the proper long-term fix, but the plugin
|
|
142
|
+
* cannot block on its merge/release cycle.
|
|
143
|
+
* - Forcing a non-numeric prefix on the stored ID (e.g., `"id:1"`) would
|
|
144
|
+
* work around bug #2, but bloats the data shape and breaks anything
|
|
145
|
+
* that reads `input.collection.value` expecting a plain id.
|
|
146
|
+
*
|
|
147
|
+
* Why in-memory filtering is acceptable here
|
|
148
|
+
* ------------------------------------------
|
|
149
|
+
* We narrow the SQL query to `taskSlug + relationTo` (both string
|
|
150
|
+
* equality, which Payload quotes correctly), then filter the result set
|
|
151
|
+
* by `collection.value` in JavaScript. Per-collection job sets are
|
|
152
|
+
* small (typically <100 rows; the plugin actively cancels superseded
|
|
153
|
+
* jobs so they don't accumulate), so a Set-membership check in JS is
|
|
154
|
+
* effectively free.
|
|
155
|
+
*
|
|
156
|
+
* If/when the upstream drizzle bug is fixed (or this plugin gains a
|
|
157
|
+
* mirror collection with indexed flat columns), this method can collapse
|
|
158
|
+
* back to a single SQL query.
|
|
159
|
+
*/ async findByCollection(collectionSlug, documentIds) {
|
|
160
|
+
const tasks = await this.findJobsInternal({
|
|
161
|
+
"input.collection.relationTo": {
|
|
104
162
|
equals: collectionSlug
|
|
105
163
|
}
|
|
106
|
-
}
|
|
107
|
-
return this.findJobsInternal(where, {
|
|
164
|
+
}, {
|
|
108
165
|
pagination: false
|
|
109
166
|
});
|
|
167
|
+
if (!documentIds?.length) return tasks;
|
|
168
|
+
const wanted = new Set(documentIds.map(String));
|
|
169
|
+
return tasks.filter((t)=>wanted.has(String(t.input.collectionId)));
|
|
110
170
|
}
|
|
111
171
|
/**
|
|
112
172
|
* Group tasks by collection slug
|
|
@@ -22,4 +22,3 @@ export declare class SyncRunnerProvider implements TaskRunnerProvider {
|
|
|
22
22
|
* Results are stored in memory and lost on server restart.
|
|
23
23
|
*/
|
|
24
24
|
export declare function createSyncRunner(options?: SyncRunnerOptions): TaskRunnerProvider;
|
|
25
|
-
//# sourceMappingURL=SyncRunnerProvider.d.ts.map
|
package/dist/server/modules/translation-pipeline/stages/field-collector/FieldChunkCollector.js
CHANGED
|
@@ -18,13 +18,14 @@ import { hasFields, isBlockItem, isLocalizedField, isObject, isTabsField, isTran
|
|
|
18
18
|
sourceData;
|
|
19
19
|
targetData;
|
|
20
20
|
strategy;
|
|
21
|
-
chunks
|
|
21
|
+
chunks;
|
|
22
22
|
constructor(schema, filteredData, sourceData, targetData, strategy){
|
|
23
23
|
this.schema = schema;
|
|
24
24
|
this.filteredData = filteredData;
|
|
25
25
|
this.sourceData = sourceData;
|
|
26
26
|
this.targetData = targetData;
|
|
27
27
|
this.strategy = strategy;
|
|
28
|
+
this.chunks = [];
|
|
28
29
|
}
|
|
29
30
|
/**
|
|
30
31
|
* Collects translatable field chunks that need translation.
|
|
@@ -4,4 +4,3 @@ export { TextChunkExpander, PlainTextExpander, RichTextExpander, TextChunkExpand
|
|
|
4
4
|
export type { TextExpansionResult, TextExpander, ExpansionResult } from './text-expander';
|
|
5
5
|
export { TranslationStage } from './translation';
|
|
6
6
|
export { TranslationMutator, TranslationMutatorStage } from './translation-applicator';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,4 +4,3 @@ export type { TextExpander, ExpansionResult } from './TextExpander.interface';
|
|
|
4
4
|
export { PlainTextExpander } from './PlainTextExpander';
|
|
5
5
|
export { RichTextExpander } from './RichTextExpander';
|
|
6
6
|
export { TextChunkExpanderStage } from './TextChunkExpander.stage';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,4 +11,3 @@ export type TranslationStrategyName = 'overwrite' | 'skip_existing';
|
|
|
11
11
|
* Creates a TranslationStrategy instance by name.
|
|
12
12
|
*/
|
|
13
13
|
export declare function createTranslationStrategy(name: TranslationStrategyName): TranslationStrategy;
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,4 +3,3 @@ export type { PlainTextChunk, RichTextChunk, TextChunk } from './TextChunk';
|
|
|
3
3
|
export { isPlainTextChunk, isRichTextChunk } from './TextChunk';
|
|
4
4
|
export type { PipelineConfig, PipelineResult } from './Pipeline';
|
|
5
5
|
export type { PipelineContext, PipelineStage } from './PipelineContext';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TranslationProvider, TranslationInput, TranslationOutput } from './TranslationProvider.interface';
|
|
2
|
-
import { ChatModel } from 'openai/resources/index.mjs';
|
|
2
|
+
import type { ChatModel } from 'openai/resources/index.mjs';
|
|
3
3
|
/**
|
|
4
4
|
* Function to transform text in dry run mode.
|
|
5
5
|
* Receives the original text and returns the transformed text.
|
|
@@ -125,4 +125,3 @@ export declare class OpenAITranslationProvider implements TranslationProvider {
|
|
|
125
125
|
*/
|
|
126
126
|
export declare function createOpenAIProvider(config: OpenAIProviderConfig): OpenAITranslationProvider;
|
|
127
127
|
export {};
|
|
128
|
-
//# sourceMappingURL=OpenAITranslation.provider.d.ts.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export type { TranslationProvider, TranslationInput, TranslationOutput, TranslationIndex, } from './TranslationProvider.interface';
|
|
2
2
|
export { OpenAITranslationProvider, createOpenAIProvider, type OpenAIProviderConfig, type DryRunConfig, type SystemPromptContext, } from './OpenAITranslation.provider';
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Payload } from 'payload';
|
|
1
|
+
import type { Payload } from 'payload';
|
|
2
2
|
/**
|
|
3
3
|
* Base handler interface for all feature handlers
|
|
4
4
|
*/
|
|
5
5
|
export interface Handler<TInput, TOutput> {
|
|
6
6
|
handle(payload: Payload, input: TInput): Promise<TOutput>;
|
|
7
7
|
}
|
|
8
|
-
//# sourceMappingURL=handler.d.ts.map
|
|
@@ -18,4 +18,3 @@ export declare const getTranslateKitFieldConfig: typeof getFieldTranslationConfi
|
|
|
18
18
|
* @returns true if the field has `translateKit.exclude: true`
|
|
19
19
|
*/
|
|
20
20
|
export declare function isFieldExcludedFromTranslation(field: Field): boolean;
|
|
21
|
-
//# sourceMappingURL=getFieldConfig.d.ts.map
|