@crowdin/app-project-module 0.58.4 → 0.59.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/out/index.js +0 -2
- package/out/modules/integration/util/cron.js +31 -19
- package/out/modules/manifest.js +0 -7
- package/out/static/js/form.js +13 -13
- package/out/types.d.ts +0 -5
- package/package.json +9 -9
- package/out/modules/editor-themes/index.d.ts +0 -6
- package/out/modules/editor-themes/index.js +0 -11
- package/out/modules/editor-themes/types.d.ts +0 -17
- package/out/modules/editor-themes/types.js +0 -2
package/out/types.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { ContextModule } 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';
|
|
8
|
-
import { EditorThemes } from './modules/editor-themes/types';
|
|
9
8
|
import { CustomFileFormatLogic, FilePostExportLogic, FilePostImportLogic, FilePreExportLogic, FilePreImportLogic } from './modules/file-processing/types';
|
|
10
9
|
import { IntegrationLogic } from './modules/integration/types';
|
|
11
10
|
import { MySQLStorageConfig } from './storage/mysql';
|
|
@@ -113,10 +112,6 @@ export interface ClientConfig extends ImagePath {
|
|
|
113
112
|
* editor-right-panel module
|
|
114
113
|
*/
|
|
115
114
|
editorRightPanel?: EditorPanels & Environments;
|
|
116
|
-
/**
|
|
117
|
-
* editor-themes module
|
|
118
|
-
*/
|
|
119
|
-
editorThemes?: EditorThemes & ImagePath & Environments;
|
|
120
115
|
/**
|
|
121
116
|
* project menu module
|
|
122
117
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crowdin/app-project-module",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0",
|
|
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",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"uuid": "^8.3.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@babel/preset-react": "^7.24.
|
|
41
|
-
"@emotion/react": "^11.
|
|
40
|
+
"@babel/preset-react": "^7.24.7",
|
|
41
|
+
"@emotion/react": "^11.13.0",
|
|
42
42
|
"@emotion/styled": "^11.11.5",
|
|
43
|
-
"@mui/icons-material": "^5.
|
|
44
|
-
"@mui/material": "^5.
|
|
45
|
-
"@rjsf/core": "^5.
|
|
46
|
-
"@rjsf/mui": "^5.
|
|
43
|
+
"@mui/icons-material": "^5.16.6",
|
|
44
|
+
"@mui/material": "^5.16.6",
|
|
45
|
+
"@rjsf/core": "^5.19.4",
|
|
46
|
+
"@rjsf/mui": "^5.19.4",
|
|
47
47
|
"@rjsf/utils": "^5.18.4",
|
|
48
|
-
"@rjsf/validator-ajv8": "^5.
|
|
48
|
+
"@rjsf/validator-ajv8": "^5.19.4",
|
|
49
49
|
"@rollup/plugin-babel": "^6.0.4",
|
|
50
50
|
"@rollup/plugin-commonjs": "^24.1.0",
|
|
51
51
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"react": "^18.3.1",
|
|
75
75
|
"react-dom": "^18.3.1",
|
|
76
76
|
"rollup": "^3.29.4",
|
|
77
|
-
"ts-jest": "^29.
|
|
77
|
+
"ts-jest": "^29.2.4",
|
|
78
78
|
"typescript": "^4.9.5"
|
|
79
79
|
},
|
|
80
80
|
"repository": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.register = void 0;
|
|
4
|
-
const util_1 = require("../../util");
|
|
5
|
-
function register({ config, app }) {
|
|
6
|
-
if (!config.editorThemes) {
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
app.get((0, util_1.getLogoUrl)(config.editorThemes, '/editor-themes'), (req, res) => { var _a; return res.sendFile(((_a = config.editorThemes) === null || _a === void 0 ? void 0 : _a.imagePath) || config.imagePath); });
|
|
10
|
-
}
|
|
11
|
-
exports.register = register;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EditorMode } from '../../types';
|
|
2
|
-
export interface EditorThemes {
|
|
3
|
-
/**
|
|
4
|
-
* Module name
|
|
5
|
-
*/
|
|
6
|
-
name?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Defines a set of CSS custom variables for theming purposes
|
|
9
|
-
*/
|
|
10
|
-
styles: {
|
|
11
|
-
[key: string]: string;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* The Editor's mode list where the module will be available.
|
|
15
|
-
*/
|
|
16
|
-
modes: EditorMode[];
|
|
17
|
-
}
|