mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 22:25:24 +00:00
chore: rename the plugin sdk to @termix-ssh/plugin-sdk
This commit is contained in:
1 parent
0c4f673318
commit
e608505b39
132 files changed
+250
-1336
No files matched your search
@@ -3,7 +3,7 @@ import type {
|
||||
Disposer,
|
||||
PluginManifest,
|
||||
TermixApp,
|
||||
} from "@termix/plugin-sdk/frontend";
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import {
|
||||
PLUGIN_SETTINGS_CHANGED_EVENT,
|
||||
type PluginContributions,
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { ComponentType } from "react";
|
||||
import type {
|
||||
LoginMethodUIProps,
|
||||
SecondFactorUIProps,
|
||||
} from "@termix/plugin-sdk/frontend";
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import { createRegistry } from "@/lib/registry";
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
type PluginHostRecord,
|
||||
type SettingsScope,
|
||||
type SettingsState,
|
||||
} from "@termix/plugin-sdk/frontend";
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import { usePermissions } from "@/hooks/use-permissions";
|
||||
import { useTheme } from "@/components/theme-provider";
|
||||
import { createPluginApi, pluginApiFor } from "@/lib/plugin-transport";
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { ResourceKey } from "i18next";
|
||||
import type {
|
||||
FrontendModule,
|
||||
PluginManifest,
|
||||
} from "@termix/plugin-sdk/frontend";
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import i18n, { setPluginLocaleResolver } from "@/i18n/i18n";
|
||||
import { getPlugins, type PluginSummary } from "@/api/plugins-api";
|
||||
import { getBackendUrl } from "@/main-axios";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @termix/plugin-sdk/ui: the shell's components, for plugins.
|
||||
* @termix-ssh/plugin-sdk/ui: the shell's components, for plugins.
|
||||
*
|
||||
* Everything exported here is public API. A plugin builds its UI from these
|
||||
* so it looks like the rest of the app and picks up theme changes, and it
|
||||
@@ -244,7 +244,7 @@ export { remoteServerUrl as linkedServerUrl } from "@/plugin-host/desktop";
|
||||
|
||||
// Dashboard reads. The calls a plugin makes on the user's behalf (recent
|
||||
// activity, sudo autofill, open tabs, keybindings) are typed in
|
||||
// @termix/plugin-sdk/frontend instead.
|
||||
// @termix-ssh/plugin-sdk/frontend instead.
|
||||
export {
|
||||
getRecentActivity,
|
||||
getUptime,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* The Termix side of @termix/plugin-sdk/testing's renderWithApp.
|
||||
* The Termix side of @termix-ssh/plugin-sdk/testing's renderWithApp.
|
||||
*
|
||||
* Activates a plugin against the real registries, the real app object and
|
||||
* the real SDK bridge, then renders whatever it registered with Testing
|
||||
@@ -12,13 +12,13 @@ import { render } from "@testing-library/react";
|
||||
import type {
|
||||
HostActionContribution,
|
||||
PluginManifest,
|
||||
} from "@termix/plugin-sdk/frontend";
|
||||
} from "@termix-ssh/plugin-sdk/frontend";
|
||||
import type {
|
||||
FrontendPluginModule,
|
||||
RenderWithAppOptions,
|
||||
RenderedPluginApp,
|
||||
ShellCall,
|
||||
} from "@termix/plugin-sdk/testing";
|
||||
} from "@termix-ssh/plugin-sdk/testing";
|
||||
import i18n from "@/i18n/i18n";
|
||||
import type { PluginSummary } from "@/api/plugins-api";
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
|
||||
Reference in new issue
Block a user