@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.
Files changed (86) hide show
  1. package/out/index.js +6 -17
  2. package/out/middlewares/integration-credentials.js +1 -4
  3. package/out/middlewares/render-ui-module.d.ts +3 -3
  4. package/out/middlewares/render-ui-module.js +13 -9
  5. package/out/middlewares/ui-module.js +1 -4
  6. package/out/modules/about.d.ts +1 -1
  7. package/out/modules/about.js +2 -8
  8. package/out/modules/ai-prompt-provider/index.js +2 -4
  9. package/out/modules/ai-provider/index.js +2 -4
  10. package/out/modules/ai-tools/index.js +1 -1
  11. package/out/modules/context-menu/index.js +2 -2
  12. package/out/modules/custom-mt/index.js +1 -3
  13. package/out/modules/custom-spell-check/index.js +4 -4
  14. package/out/modules/editor-right-panel/index.js +1 -1
  15. package/out/modules/external-qa-check/index.js +2 -2
  16. package/out/modules/integration/handlers/crowdin-files.js +6 -4
  17. package/out/modules/integration/handlers/crowdin-update.js +18 -4
  18. package/out/modules/integration/handlers/integration-data.js +17 -13
  19. package/out/modules/integration/handlers/main.js +3 -13
  20. package/out/modules/integration/handlers/oauth-login.js +2 -10
  21. package/out/modules/integration/index.js +21 -27
  22. package/out/modules/integration/types.d.ts +11 -1
  23. package/out/modules/integration/util/defaults.js +51 -45
  24. package/out/modules/integration/util/files.d.ts +1 -0
  25. package/out/modules/integration/util/files.js +52 -4
  26. package/out/modules/integration/util/job.d.ts +1 -1
  27. package/out/modules/integration/util/job.js +3 -2
  28. package/out/modules/integration/util/types.d.ts +2 -0
  29. package/out/modules/modal/index.js +2 -2
  30. package/out/modules/organization-menu/index.js +4 -6
  31. package/out/modules/organization-settings-menu/index.js +4 -6
  32. package/out/modules/profile-resources-menu/index.js +4 -6
  33. package/out/modules/profile-settings-menu/index.js +4 -6
  34. package/out/modules/project-menu/index.js +1 -1
  35. package/out/modules/project-menu-crowdsource/index.js +1 -1
  36. package/out/modules/project-reports/index.js +2 -4
  37. package/out/modules/project-tools/index.js +2 -4
  38. package/out/modules/workflow-step-type/index.js +2 -3
  39. package/out/storage/index.js +1 -8
  40. package/out/storage/mysql.d.ts +1 -1
  41. package/out/storage/mysql.js +9 -1
  42. package/out/storage/postgre.d.ts +1 -1
  43. package/out/storage/postgre.js +11 -4
  44. package/out/storage/sqlite.d.ts +1 -1
  45. package/out/storage/sqlite.js +10 -4
  46. package/out/types.d.ts +0 -10
  47. package/out/util/handlebars.d.ts +1 -0
  48. package/out/util/handlebars.js +46 -0
  49. package/out/util/index.d.ts +0 -1
  50. package/out/util/index.js +2 -8
  51. package/out/views/about.handlebars +102 -0
  52. package/out/views/error.handlebars +54 -0
  53. package/out/views/form.handlebars +30 -0
  54. package/out/views/install.handlebars +16 -0
  55. package/out/views/login.handlebars +331 -0
  56. package/out/views/main.handlebars +1901 -0
  57. package/out/views/oauth.handlebars +11 -0
  58. package/out/views/partials/head.handlebars +53 -0
  59. package/out/views/subscription.handlebars +26 -0
  60. package/package.json +11 -12
  61. package/out/storage/d1.d.ts +0 -99
  62. package/out/storage/d1.js +0 -769
  63. package/out/util/jsx-renderer.d.ts +0 -6
  64. package/out/util/jsx-renderer.js +0 -13
  65. package/out/util/static-files.d.ts +0 -19
  66. package/out/util/static-files.js +0 -80
  67. package/out/views/AboutPage.d.ts +0 -9
  68. package/out/views/AboutPage.js +0 -79
  69. package/out/views/ErrorPage.d.ts +0 -18
  70. package/out/views/ErrorPage.js +0 -56
  71. package/out/views/FormPage.d.ts +0 -13
  72. package/out/views/FormPage.js +0 -27
  73. package/out/views/InstallPage.d.ts +0 -10
  74. package/out/views/InstallPage.js +0 -22
  75. package/out/views/LoginPage.d.ts +0 -33
  76. package/out/views/LoginPage.js +0 -199
  77. package/out/views/MainPage.d.ts +0 -79
  78. package/out/views/MainPage.js +0 -1613
  79. package/out/views/OAuthPage.d.ts +0 -7
  80. package/out/views/OAuthPage.js +0 -17
  81. package/out/views/SubscriptionPage.d.ts +0 -7
  82. package/out/views/SubscriptionPage.js +0 -26
  83. package/out/views/index.d.ts +0 -13
  84. package/out/views/index.js +0 -25
  85. package/out/views/layout/Head.d.ts +0 -9
  86. package/out/views/layout/Head.js +0 -54
@@ -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 {};