@crowdin/app-project-module 0.94.3 → 0.95.1

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/out/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import Crowdin from '@crowdin/crowdin-api-client';
2
2
  import { JwtPayload, VerifyOptions } from '@crowdin/crowdin-apps-functions';
3
3
  import { Request } from 'express';
4
- import { ContextModule } from './modules/context-menu/types';
4
+ import { ContextContent } from './modules/context-menu/types';
5
5
  import { CustomMTLogic } from './modules/custom-mt/types';
6
6
  import { CustomSpellcheckerModule } from './modules/custom-spell-check/types';
7
7
  import { EditorPanels } from './modules/editor-right-panel/types';
@@ -155,7 +155,7 @@ export interface ClientConfig extends ImagePath {
155
155
  /**
156
156
  * context menu module
157
157
  */
158
- contextMenu?: ContextModule & UiModule & Environments;
158
+ contextMenu?: ContextModule | ContextModule[];
159
159
  /**
160
160
  * modal module
161
161
  */
@@ -499,4 +499,6 @@ export declare enum storageFiles {
499
499
  }
500
500
  export interface ModalModule extends ModuleContent, UiModule, Environments {
501
501
  }
502
+ export interface ContextModule extends ContextContent, UiModule, Environments {
503
+ }
502
504
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.94.3",
3
+ "version": "0.95.1",
4
4
  "description": "Module that generates for you all common endpoints for serving standalone Crowdin App",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "@crowdin/logs-formatter": "^2.1.8",
26
26
  "@godaddy/terminus": "^4.12.1",
27
27
  "@monaco-editor/react": "^4.7.0",
28
- "amqplib": "^0.10.5",
28
+ "amqplib": "^0.10.8",
29
29
  "crypto-js": "^4.2.0",
30
30
  "express": "^4.21.2",
31
31
  "express-handlebars": "^5.3.5",
@@ -60,7 +60,7 @@
60
60
  "@rollup/plugin-node-resolve": "^15.3.1",
61
61
  "@rollup/plugin-replace": "^5.0.7",
62
62
  "@rollup/plugin-terser": "^0.4.4",
63
- "@types/amqplib": "^0.10.4",
63
+ "@types/amqplib": "^0.10.7",
64
64
  "@types/crypto-js": "^4.2.2",
65
65
  "@types/express": "4.17.21",
66
66
  "@types/express-handlebars": "^5.3.1",