@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.
Files changed (2) hide show
  1. package/index.d.ts +6 -0
  2. 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigma-file-manager/api",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Type definitions and manifest schema for Sigma File Manager extensions",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {