import { jsx, jsxs } from "react/jsx-runtime";
import { Page, PageBody } from "@open-mercato/ui/backend/Page";
import { ContextHelp } from "@open-mercato/ui/backend/ContextHelp";
import UserEntitiesTable from "@open-mercato/core/modules/entities/components/UserEntitiesTable";
function UserEntitiesPage() {
  return /* @__PURE__ */ jsx(Page, { children: /* @__PURE__ */ jsxs(PageBody, { children: [
    /* @__PURE__ */ jsxs(ContextHelp, { bulb: true, title: "Design your own user entities", className: "mb-4", children: [
      /* @__PURE__ */ jsx("p", { className: "mb-2", children: "Create and manage user entities \u2014 your own data types, similar to custom database tables. Store records and work with them across the admin UI and APIs." }),
      /* @__PURE__ */ jsxs("ul", { className: "list-disc pl-5 space-y-1 text-muted-foreground", children: [
        /* @__PURE__ */ jsx("li", { children: "Define fields and forms once; they are automatically used for filters and inputs." }),
        /* @__PURE__ */ jsxs("li", { children: [
          "Use ",
          /* @__PURE__ */ jsx("strong", { children: "Create" }),
          " to add a new entity and then attach custom fields."
        ] }),
        /* @__PURE__ */ jsx("li", { children: "Programmatic access is available \u2014 see the cURL examples in the entity records page." })
      ] })
    ] }),
    /* @__PURE__ */ jsx(UserEntitiesTable, {})
  ] }) });
}
export {
  UserEntitiesPage as default
};
//# sourceMappingURL=page.js.map
