@crowdin/app-project-module 0.98.0-cf-0 → 0.98.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 +6 -17
- package/out/middlewares/integration-credentials.js +1 -4
- package/out/middlewares/render-ui-module.d.ts +3 -3
- package/out/middlewares/render-ui-module.js +13 -9
- package/out/middlewares/ui-module.js +1 -4
- package/out/modules/about.d.ts +1 -1
- package/out/modules/about.js +2 -8
- package/out/modules/ai-prompt-provider/index.js +2 -4
- package/out/modules/ai-provider/index.js +2 -4
- package/out/modules/ai-tools/index.js +1 -1
- package/out/modules/context-menu/index.js +2 -2
- package/out/modules/custom-mt/index.js +1 -3
- package/out/modules/custom-spell-check/index.js +4 -4
- package/out/modules/editor-right-panel/index.js +1 -1
- package/out/modules/external-qa-check/index.js +2 -2
- package/out/modules/integration/handlers/crowdin-files.js +6 -4
- package/out/modules/integration/handlers/crowdin-update.js +18 -4
- package/out/modules/integration/handlers/integration-data.js +17 -13
- package/out/modules/integration/handlers/main.js +3 -13
- package/out/modules/integration/handlers/oauth-login.js +2 -10
- package/out/modules/integration/index.js +21 -27
- package/out/modules/integration/types.d.ts +11 -1
- package/out/modules/integration/util/defaults.js +51 -45
- package/out/modules/integration/util/files.d.ts +1 -0
- package/out/modules/integration/util/files.js +52 -4
- package/out/modules/integration/util/job.d.ts +1 -1
- package/out/modules/integration/util/job.js +3 -2
- package/out/modules/integration/util/types.d.ts +2 -0
- package/out/modules/modal/index.js +2 -2
- package/out/modules/organization-menu/index.js +4 -6
- package/out/modules/organization-settings-menu/index.js +4 -6
- package/out/modules/profile-resources-menu/index.js +4 -6
- package/out/modules/profile-settings-menu/index.js +4 -6
- package/out/modules/project-menu/index.js +1 -1
- package/out/modules/project-menu-crowdsource/index.js +1 -1
- package/out/modules/project-reports/index.js +2 -4
- package/out/modules/project-tools/index.js +2 -4
- package/out/modules/workflow-step-type/index.js +2 -3
- package/out/storage/index.js +1 -8
- package/out/storage/mysql.d.ts +1 -1
- package/out/storage/mysql.js +9 -1
- package/out/storage/postgre.d.ts +1 -1
- package/out/storage/postgre.js +11 -4
- package/out/storage/sqlite.d.ts +1 -1
- package/out/storage/sqlite.js +10 -4
- package/out/types.d.ts +0 -10
- package/out/util/handlebars.d.ts +1 -0
- package/out/util/handlebars.js +46 -0
- package/out/util/index.d.ts +0 -1
- package/out/util/index.js +2 -8
- package/out/views/about.handlebars +102 -0
- package/out/views/error.handlebars +54 -0
- package/out/views/form.handlebars +30 -0
- package/out/views/install.handlebars +16 -0
- package/out/views/login.handlebars +331 -0
- package/out/views/main.handlebars +1901 -0
- package/out/views/oauth.handlebars +11 -0
- package/out/views/partials/head.handlebars +53 -0
- package/out/views/subscription.handlebars +26 -0
- package/package.json +11 -12
- package/out/storage/d1.d.ts +0 -99
- package/out/storage/d1.js +0 -769
- package/out/util/jsx-renderer.d.ts +0 -6
- package/out/util/jsx-renderer.js +0 -13
- package/out/util/static-files.d.ts +0 -19
- package/out/util/static-files.js +0 -80
- package/out/views/AboutPage.d.ts +0 -9
- package/out/views/AboutPage.js +0 -79
- package/out/views/ErrorPage.d.ts +0 -18
- package/out/views/ErrorPage.js +0 -56
- package/out/views/FormPage.d.ts +0 -13
- package/out/views/FormPage.js +0 -27
- package/out/views/InstallPage.d.ts +0 -10
- package/out/views/InstallPage.js +0 -22
- package/out/views/LoginPage.d.ts +0 -33
- package/out/views/LoginPage.js +0 -199
- package/out/views/MainPage.d.ts +0 -79
- package/out/views/MainPage.js +0 -1613
- package/out/views/OAuthPage.d.ts +0 -7
- package/out/views/OAuthPage.js +0 -17
- package/out/views/SubscriptionPage.d.ts +0 -7
- package/out/views/SubscriptionPage.js +0 -26
- package/out/views/index.d.ts +0 -13
- package/out/views/index.js +0 -25
- package/out/views/layout/Head.d.ts +0 -9
- package/out/views/layout/Head.js +0 -54
package/out/views/MainPage.d.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
interface ConfigField {
|
|
3
|
-
key?: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
labelHtml?: string;
|
|
6
|
-
helpText?: string;
|
|
7
|
-
helpTextHtml?: string;
|
|
8
|
-
type?: string;
|
|
9
|
-
defaultValue?: any;
|
|
10
|
-
dependencySettings?: string;
|
|
11
|
-
isMulti?: boolean;
|
|
12
|
-
isSearchable?: boolean;
|
|
13
|
-
options?: Array<{
|
|
14
|
-
value: string;
|
|
15
|
-
label: string;
|
|
16
|
-
}>;
|
|
17
|
-
noticeType?: string;
|
|
18
|
-
noIcon?: boolean;
|
|
19
|
-
}
|
|
20
|
-
interface ConfigurationTab {
|
|
21
|
-
name: string;
|
|
22
|
-
fields: ConfigField[];
|
|
23
|
-
}
|
|
24
|
-
interface Notice {
|
|
25
|
-
title: string;
|
|
26
|
-
content: string;
|
|
27
|
-
type?: string;
|
|
28
|
-
icon?: boolean;
|
|
29
|
-
close?: boolean;
|
|
30
|
-
}
|
|
31
|
-
interface InfoModal {
|
|
32
|
-
title: string;
|
|
33
|
-
content: string;
|
|
34
|
-
}
|
|
35
|
-
interface MainPageProps {
|
|
36
|
-
name: string;
|
|
37
|
-
userId?: string;
|
|
38
|
-
notice?: Notice;
|
|
39
|
-
checkSubscription?: boolean;
|
|
40
|
-
isManager?: boolean;
|
|
41
|
-
isOwner?: boolean;
|
|
42
|
-
infoModal?: InfoModal;
|
|
43
|
-
configurationFields?: ConfigurationTab[];
|
|
44
|
-
config?: string;
|
|
45
|
-
syncNewElements?: {
|
|
46
|
-
crowdin?: boolean;
|
|
47
|
-
integration?: boolean;
|
|
48
|
-
};
|
|
49
|
-
withCronSync?: {
|
|
50
|
-
crowdin?: boolean;
|
|
51
|
-
integration?: boolean;
|
|
52
|
-
};
|
|
53
|
-
webhooks?: {
|
|
54
|
-
crowdin?: boolean;
|
|
55
|
-
integration?: boolean;
|
|
56
|
-
};
|
|
57
|
-
integrationOneLevelFetching?: boolean;
|
|
58
|
-
integrationSearchListener?: boolean;
|
|
59
|
-
integrationPagination?: boolean;
|
|
60
|
-
uploadTranslations?: boolean;
|
|
61
|
-
excludedTargetLanguages?: boolean;
|
|
62
|
-
forcePushTranslations?: boolean;
|
|
63
|
-
filtering?: {
|
|
64
|
-
crowdinLanguages?: boolean;
|
|
65
|
-
integrationFilterConfig?: string;
|
|
66
|
-
};
|
|
67
|
-
hasOrganization?: boolean;
|
|
68
|
-
zenModeUrl?: string;
|
|
69
|
-
asyncProgress?: {
|
|
70
|
-
checkInterval: number;
|
|
71
|
-
};
|
|
72
|
-
reloadOnConfigSave?: boolean;
|
|
73
|
-
sentryData?: {
|
|
74
|
-
dsn: string;
|
|
75
|
-
appIdentifier: string;
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
export declare const MainPage: FC<MainPageProps>;
|
|
79
|
-
export {};
|