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
701 B
TypeScript
21 lines
701 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:
|
|
"Track your docs with a self-hosted, open-source analytics platform. Link Outline to Matomo for 100% data ownership, GDPR compliance, and deep usage insights on your own servers.",
|
|
component: createLazyComponent(() => import("./Settings")),
|
|
enabled: (_, user) => user.role === UserRole.Admin,
|
|
},
|
|
},
|
|
]);
|