@sigma-file-manager/api 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +6 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -356,6 +356,12 @@ export interface PlatformInfo {
|
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
export interface SigmaExtensionAPI {
|
|
359
|
+
i18n: {
|
|
360
|
+
t(key: string, params?: Record<string, string | number>): string;
|
|
361
|
+
mergeMessages(messages: Record<string, Record<string, string>>): void;
|
|
362
|
+
mergeFromPath(basePath: string): Promise<void>;
|
|
363
|
+
extensionT(key: string, params?: Record<string, string | number>): string;
|
|
364
|
+
};
|
|
359
365
|
contextMenu: {
|
|
360
366
|
registerItem(
|
|
361
367
|
item: ExtensionContextMenuItem,
|