mirror of
https://github.com/outline/outline.git
synced 2026-12-06 11:12:32 +03:00
* fix: Polish UI copy, casing, and punctuation across the app * fix: Remove duplicate period in API key scope hint
21 lines
716 B
TypeScript
21 lines
716 B
TypeScript
import { UserRole } from "@shared/types";
|
|
import { createLazyComponent } from "~/components/LazyLoad";
|
|
import { Hook, PluginManager } from "~/utils/PluginManager";
|
|
import config from "../plugin.json";
|
|
import Icon from "./Icon";
|
|
|
|
PluginManager.add([
|
|
{
|
|
...config,
|
|
type: Hook.Settings,
|
|
value: {
|
|
group: "Integrations",
|
|
icon: Icon,
|
|
description:
|
|
"Gain privacy-first insights into how your team consumes docs. Inject your self-hosted Umami script across Outline pages to track views and engagement while retaining full control of your data.",
|
|
component: createLazyComponent(() => import("./Settings")),
|
|
enabled: (_, user) => user.role === UserRole.Admin,
|
|
},
|
|
},
|
|
]);
|