How to use the @webiny/api-i18n/entities.i18nLocaleFactory function in @webiny/api-i18n

To help you get started, we’ve selected a few @webiny/api-i18n examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github webiny / webiny-js / packages / api-i18n / src / plugins / entities.js View on Github external
// @flow
import { type EntityPluginType } from "@webiny/api/types";
import * as entities from "@webiny/api-i18n/entities";

const i18nLocale: EntityPluginType = {
    name: "entity-i18n-locale",
    type: "entity",
    entity: entities.i18nLocaleFactory
};

export default [i18nLocale];

@webiny/api-i18n

The API for the Webiny I18N app.

MIT
Latest version published 13 days ago

Package Health Score

84 / 100
Full package analysis

Similar packages