@lokalise/harmony 1.39.3 → 1.40.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/dist/harmony100.cjs +6 -3
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +6 -3
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +57 -9
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +56 -8
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +42 -9
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +41 -8
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +5 -57
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +5 -57
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +9 -42
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +8 -41
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +25 -6
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +24 -5
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +3 -6
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +3 -6
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +21 -24
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +20 -23
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +9 -3
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +9 -3
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +9 -19
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +11 -21
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +20 -11
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +20 -11
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +166 -11
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +166 -11
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +44 -21
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +43 -20
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +96 -11
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +79 -11
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +14 -18
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +14 -18
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +19 -22
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +18 -21
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +21 -6
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +20 -5
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +5 -86
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +5 -86
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +131 -29
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +131 -29
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +12 -99
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +11 -81
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +5 -132
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +5 -132
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +40 -12
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +39 -11
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +59 -4
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +60 -5
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +6 -39
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +6 -39
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +6 -60
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +5 -59
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +6 -8
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +5 -7
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +5 -6
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +5 -6
- package/dist/harmony127.cjs +88 -6
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +87 -5
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +31 -6
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +30 -5
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +96 -10
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +96 -10
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +13 -62
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +12 -61
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +13 -87
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +13 -87
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +37 -19
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +36 -18
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +19 -87
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +19 -87
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +62 -13
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +61 -12
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +87 -13
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +87 -13
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +19 -37
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +18 -36
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +10 -28
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +10 -28
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +13 -7
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +13 -7
- package/dist/harmony138.mjs.map +1 -1
- package/dist/harmony139.cjs +15 -57
- package/dist/harmony139.cjs.map +1 -1
- package/dist/harmony139.mjs +15 -57
- package/dist/harmony139.mjs.map +1 -1
- package/dist/harmony14.cjs +1 -1
- package/dist/harmony14.mjs +1 -1
- package/dist/harmony140.cjs +15 -59
- package/dist/harmony140.cjs.map +1 -1
- package/dist/harmony140.mjs +15 -59
- package/dist/harmony140.mjs.map +1 -1
- package/dist/harmony141.cjs +7 -18
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +6 -17
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +57 -13
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +57 -13
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +59 -14
- package/dist/harmony143.cjs.map +1 -1
- package/dist/harmony143.mjs +59 -14
- package/dist/harmony143.mjs.map +1 -1
- package/dist/harmony144.cjs +19 -17
- package/dist/harmony144.cjs.map +1 -1
- package/dist/harmony144.mjs +18 -16
- package/dist/harmony144.mjs.map +1 -1
- package/dist/harmony145.cjs +1 -1
- package/dist/harmony145.mjs +1 -1
- package/dist/harmony147.cjs +3 -3
- package/dist/harmony147.mjs +3 -3
- package/dist/harmony149.cjs +6 -46
- package/dist/harmony149.cjs.map +1 -1
- package/dist/harmony149.mjs +6 -46
- package/dist/harmony149.mjs.map +1 -1
- package/dist/harmony150.cjs +13 -13
- package/dist/harmony150.cjs.map +1 -1
- package/dist/harmony150.mjs +12 -12
- package/dist/harmony150.mjs.map +1 -1
- package/dist/harmony151.cjs +31 -5
- package/dist/harmony151.cjs.map +1 -1
- package/dist/harmony151.mjs +31 -5
- package/dist/harmony151.mjs.map +1 -1
- package/dist/harmony152.cjs +13 -11
- package/dist/harmony152.cjs.map +1 -1
- package/dist/harmony152.mjs +13 -11
- package/dist/harmony152.mjs.map +1 -1
- package/dist/harmony153.cjs +45 -31
- package/dist/harmony153.cjs.map +1 -1
- package/dist/harmony153.mjs +45 -31
- package/dist/harmony153.mjs.map +1 -1
- package/dist/harmony154.cjs +13 -15
- package/dist/harmony154.cjs.map +1 -1
- package/dist/harmony154.mjs +12 -14
- package/dist/harmony154.mjs.map +1 -1
- package/dist/harmony17.cjs +1 -1
- package/dist/harmony17.mjs +1 -1
- package/dist/harmony25.cjs +1 -1
- package/dist/harmony25.mjs +1 -1
- package/dist/harmony26.cjs +1 -1
- package/dist/harmony26.mjs +1 -1
- package/dist/harmony67.cjs +2 -1
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +2 -1
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony71.cjs +1 -1
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +1 -1
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony75.cjs +1 -1
- package/dist/harmony75.mjs +1 -1
- package/dist/harmony77.cjs +1 -1
- package/dist/harmony77.mjs +1 -1
- package/dist/harmony78.cjs +1 -1
- package/dist/harmony78.mjs +1 -1
- package/dist/harmony79.cjs +1 -1
- package/dist/harmony79.mjs +1 -1
- package/dist/harmony80.cjs +2 -2
- package/dist/harmony80.mjs +2 -2
- package/dist/harmony81.cjs +2 -2
- package/dist/harmony81.mjs +2 -2
- package/dist/harmony82.cjs +2 -2
- package/dist/harmony82.mjs +2 -2
- package/dist/harmony83.cjs +2 -2
- package/dist/harmony83.mjs +2 -2
- package/dist/harmony84.cjs +3 -3
- package/dist/harmony84.mjs +3 -3
- package/dist/harmony85.cjs +6 -6
- package/dist/harmony85.mjs +6 -6
- package/dist/harmony88.cjs +2 -2
- package/dist/harmony88.mjs +2 -2
- package/dist/harmony92.cjs +2 -2
- package/dist/harmony92.mjs +2 -2
- package/dist/harmony98.cjs +6 -166
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +5 -165
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +9 -44
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +8 -43
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/hooks/useCreateScoreMutation.d.ts +1 -0
- package/dist/types/src/features/publicApi/hooks/useGetScoreQuery.d.ts +1 -0
- package/dist/types/src/features/publicApi/score.d.ts +10 -0
- package/dist/types/src/features/publicApi/teamUsers.d.ts +1 -1
- package/dist/types/src/features/publicApi/types/scoreTypes.d.ts +13 -0
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +1 -1
- package/package.json +1 -1
package/dist/harmony99.cjs
CHANGED
@@ -1,47 +1,12 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.
|
3
|
-
const
|
4
|
-
const
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
const nextgenUrl = navigationClient.getNextgenUrl();
|
9
|
-
const navigate = React.useCallback(
|
10
|
-
(path) => {
|
11
|
-
window.location.href = `${nextgenUrl}${path}`;
|
12
|
-
},
|
13
|
-
[nextgenUrl]
|
14
|
-
);
|
15
|
-
return React.useMemo(() => {
|
16
|
-
if (!enabled) {
|
17
|
-
return [];
|
18
|
-
}
|
19
|
-
const projectId = (project == null ? void 0 : project.project_id) || "";
|
20
|
-
const context = {
|
21
|
-
flags: {},
|
22
|
-
// TODO: getFeatureFlags(features),
|
23
|
-
pathname: window.location.pathname,
|
24
|
-
permissions: []
|
25
|
-
};
|
26
|
-
return navigationSchema.navigationItems.filter((item) => item.shouldShow ? item.shouldShow(context) : true).map((item) => {
|
27
|
-
const disabled = typeof item.disabled === "function" ? item.disabled(context) : !!item.disabled;
|
28
|
-
const badge = typeof item.badge === "function" ? item.badge(context) : item.badge;
|
29
|
-
const isActive = (input) => item.isActive ? item.isActive(input) : item.key === activeKey || input === item.key;
|
30
|
-
return {
|
31
|
-
key: item.key,
|
32
|
-
label: item.labelKey,
|
33
|
-
// You can apply translations here if needed
|
34
|
-
icon: item.icon,
|
35
|
-
visible: true,
|
36
|
-
badge,
|
37
|
-
disabled,
|
38
|
-
dropdown: item.dropdown,
|
39
|
-
isActive,
|
40
|
-
link: `${nextgenUrl}${item.path({ projectId })}`,
|
41
|
-
onClick: () => navigate(item.path({ projectId }))
|
42
|
-
};
|
43
|
-
});
|
44
|
-
}, [project, activeKey, enabled, navigate, contributor, nextgenUrl]);
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const link = "_link_18vhx_1";
|
4
|
+
const active = "_active_18vhx_18";
|
5
|
+
const styles = {
|
6
|
+
link,
|
7
|
+
active
|
45
8
|
};
|
46
|
-
exports.
|
9
|
+
exports.active = active;
|
10
|
+
exports.default = styles;
|
11
|
+
exports.link = link;
|
47
12
|
//# sourceMappingURL=harmony99.cjs.map
|
package/dist/harmony99.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony99.cjs","sources":[
|
1
|
+
{"version":3,"file":"harmony99.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/harmony99.mjs
CHANGED
@@ -1,47 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
const nextgenUrl = navigationClient.getNextgenUrl();
|
7
|
-
const navigate = useCallback(
|
8
|
-
(path) => {
|
9
|
-
window.location.href = `${nextgenUrl}${path}`;
|
10
|
-
},
|
11
|
-
[nextgenUrl]
|
12
|
-
);
|
13
|
-
return useMemo(() => {
|
14
|
-
if (!enabled) {
|
15
|
-
return [];
|
16
|
-
}
|
17
|
-
const projectId = (project == null ? void 0 : project.project_id) || "";
|
18
|
-
const context = {
|
19
|
-
flags: {},
|
20
|
-
// TODO: getFeatureFlags(features),
|
21
|
-
pathname: window.location.pathname,
|
22
|
-
permissions: []
|
23
|
-
};
|
24
|
-
return navigationItems.filter((item) => item.shouldShow ? item.shouldShow(context) : true).map((item) => {
|
25
|
-
const disabled = typeof item.disabled === "function" ? item.disabled(context) : !!item.disabled;
|
26
|
-
const badge = typeof item.badge === "function" ? item.badge(context) : item.badge;
|
27
|
-
const isActive = (input) => item.isActive ? item.isActive(input) : item.key === activeKey || input === item.key;
|
28
|
-
return {
|
29
|
-
key: item.key,
|
30
|
-
label: item.labelKey,
|
31
|
-
// You can apply translations here if needed
|
32
|
-
icon: item.icon,
|
33
|
-
visible: true,
|
34
|
-
badge,
|
35
|
-
disabled,
|
36
|
-
dropdown: item.dropdown,
|
37
|
-
isActive,
|
38
|
-
link: `${nextgenUrl}${item.path({ projectId })}`,
|
39
|
-
onClick: () => navigate(item.path({ projectId }))
|
40
|
-
};
|
41
|
-
});
|
42
|
-
}, [project, activeKey, enabled, navigate, contributor, nextgenUrl]);
|
1
|
+
const link = "_link_18vhx_1";
|
2
|
+
const active = "_active_18vhx_18";
|
3
|
+
const styles = {
|
4
|
+
link,
|
5
|
+
active
|
43
6
|
};
|
44
7
|
export {
|
45
|
-
|
8
|
+
active,
|
9
|
+
styles as default,
|
10
|
+
link
|
46
11
|
};
|
47
12
|
//# sourceMappingURL=harmony99.mjs.map
|
package/dist/harmony99.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony99.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony99.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
@@ -10,20 +10,24 @@ export declare const getScore: import('@lokalise/api-contracts').GetRouteDefinit
|
|
10
10
|
category: import('zod').ZodString;
|
11
11
|
comment: import('zod').ZodString;
|
12
12
|
severity: import('zod').ZodEnum<["critical", "major", "minor", "neutral"]>;
|
13
|
+
penalty: import('zod').ZodNumber;
|
13
14
|
}, "strip", import('zod').ZodTypeAny, {
|
14
15
|
category: string;
|
15
16
|
comment: string;
|
16
17
|
severity: "critical" | "major" | "minor" | "neutral";
|
18
|
+
penalty: number;
|
17
19
|
}, {
|
18
20
|
category: string;
|
19
21
|
comment: string;
|
20
22
|
severity: "critical" | "major" | "minor" | "neutral";
|
23
|
+
penalty: number;
|
21
24
|
}>, "many">;
|
22
25
|
}, "strip", import('zod').ZodTypeAny, {
|
23
26
|
issues: {
|
24
27
|
category: string;
|
25
28
|
comment: string;
|
26
29
|
severity: "critical" | "major" | "minor" | "neutral";
|
30
|
+
penalty: number;
|
27
31
|
}[];
|
28
32
|
score: number;
|
29
33
|
hasMajorIssue: boolean;
|
@@ -33,6 +37,7 @@ export declare const getScore: import('@lokalise/api-contracts').GetRouteDefinit
|
|
33
37
|
category: string;
|
34
38
|
comment: string;
|
35
39
|
severity: "critical" | "major" | "minor" | "neutral";
|
40
|
+
penalty: number;
|
36
41
|
}[];
|
37
42
|
score: number;
|
38
43
|
hasMajorIssue: boolean;
|
@@ -196,20 +201,24 @@ export declare const createScore: import('@lokalise/api-contracts').PayloadRoute
|
|
196
201
|
category: import('zod').ZodString;
|
197
202
|
comment: import('zod').ZodString;
|
198
203
|
severity: import('zod').ZodEnum<["critical", "major", "minor", "neutral"]>;
|
204
|
+
penalty: import('zod').ZodNumber;
|
199
205
|
}, "strip", import('zod').ZodTypeAny, {
|
200
206
|
category: string;
|
201
207
|
comment: string;
|
202
208
|
severity: "critical" | "major" | "minor" | "neutral";
|
209
|
+
penalty: number;
|
203
210
|
}, {
|
204
211
|
category: string;
|
205
212
|
comment: string;
|
206
213
|
severity: "critical" | "major" | "minor" | "neutral";
|
214
|
+
penalty: number;
|
207
215
|
}>, "many">;
|
208
216
|
}, "strip", import('zod').ZodTypeAny, {
|
209
217
|
issues: {
|
210
218
|
category: string;
|
211
219
|
comment: string;
|
212
220
|
severity: "critical" | "major" | "minor" | "neutral";
|
221
|
+
penalty: number;
|
213
222
|
}[];
|
214
223
|
score: number;
|
215
224
|
hasMajorIssue: boolean;
|
@@ -219,6 +228,7 @@ export declare const createScore: import('@lokalise/api-contracts').PayloadRoute
|
|
219
228
|
category: string;
|
220
229
|
comment: string;
|
221
230
|
severity: "critical" | "major" | "minor" | "neutral";
|
231
|
+
penalty: number;
|
222
232
|
}[];
|
223
233
|
score: number;
|
224
234
|
hasMajorIssue: boolean;
|
@@ -229,7 +229,7 @@ export declare const getTeamUserPermissions: import('@lokalise/api-contracts').P
|
|
229
229
|
userId: string | number;
|
230
230
|
teamId: string | number;
|
231
231
|
}, import('zod').ZodObject<{
|
232
|
-
projectIds: import('zod').ZodArray<import('zod').ZodString, "many">;
|
232
|
+
projectIds: import('zod').ZodArray<import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodString]>, "many">;
|
233
233
|
}, "strip", import('zod').ZodTypeAny, {
|
234
234
|
projectIds: string[];
|
235
235
|
}, {
|
@@ -5,14 +5,17 @@ export declare const ISSUE_SCHEMA: z.ZodObject<{
|
|
5
5
|
category: z.ZodString;
|
6
6
|
comment: z.ZodString;
|
7
7
|
severity: z.ZodEnum<["critical", "major", "minor", "neutral"]>;
|
8
|
+
penalty: z.ZodNumber;
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
9
10
|
category: string;
|
10
11
|
comment: string;
|
11
12
|
severity: "critical" | "major" | "minor" | "neutral";
|
13
|
+
penalty: number;
|
12
14
|
}, {
|
13
15
|
category: string;
|
14
16
|
comment: string;
|
15
17
|
severity: "critical" | "major" | "minor" | "neutral";
|
18
|
+
penalty: number;
|
16
19
|
}>;
|
17
20
|
export type Issue = z.infer<typeof ISSUE_SCHEMA>;
|
18
21
|
export declare const SCORE_REQUEST_QUERY_SCHEMA: z.ZodObject<{
|
@@ -37,20 +40,24 @@ export declare const GET_SCORE_RESPONSE_SCHEMA: z.ZodObject<{
|
|
37
40
|
category: z.ZodString;
|
38
41
|
comment: z.ZodString;
|
39
42
|
severity: z.ZodEnum<["critical", "major", "minor", "neutral"]>;
|
43
|
+
penalty: z.ZodNumber;
|
40
44
|
}, "strip", z.ZodTypeAny, {
|
41
45
|
category: string;
|
42
46
|
comment: string;
|
43
47
|
severity: "critical" | "major" | "minor" | "neutral";
|
48
|
+
penalty: number;
|
44
49
|
}, {
|
45
50
|
category: string;
|
46
51
|
comment: string;
|
47
52
|
severity: "critical" | "major" | "minor" | "neutral";
|
53
|
+
penalty: number;
|
48
54
|
}>, "many">;
|
49
55
|
}, "strip", z.ZodTypeAny, {
|
50
56
|
issues: {
|
51
57
|
category: string;
|
52
58
|
comment: string;
|
53
59
|
severity: "critical" | "major" | "minor" | "neutral";
|
60
|
+
penalty: number;
|
54
61
|
}[];
|
55
62
|
score: number;
|
56
63
|
hasMajorIssue: boolean;
|
@@ -60,6 +67,7 @@ export declare const GET_SCORE_RESPONSE_SCHEMA: z.ZodObject<{
|
|
60
67
|
category: string;
|
61
68
|
comment: string;
|
62
69
|
severity: "critical" | "major" | "minor" | "neutral";
|
70
|
+
penalty: number;
|
63
71
|
}[];
|
64
72
|
score: number;
|
65
73
|
hasMajorIssue: boolean;
|
@@ -87,20 +95,24 @@ export declare const CREATE_SCORE_RESPONSE_SCHEMA: z.ZodObject<{
|
|
87
95
|
category: z.ZodString;
|
88
96
|
comment: z.ZodString;
|
89
97
|
severity: z.ZodEnum<["critical", "major", "minor", "neutral"]>;
|
98
|
+
penalty: z.ZodNumber;
|
90
99
|
}, "strip", z.ZodTypeAny, {
|
91
100
|
category: string;
|
92
101
|
comment: string;
|
93
102
|
severity: "critical" | "major" | "minor" | "neutral";
|
103
|
+
penalty: number;
|
94
104
|
}, {
|
95
105
|
category: string;
|
96
106
|
comment: string;
|
97
107
|
severity: "critical" | "major" | "minor" | "neutral";
|
108
|
+
penalty: number;
|
98
109
|
}>, "many">;
|
99
110
|
}, "strip", z.ZodTypeAny, {
|
100
111
|
issues: {
|
101
112
|
category: string;
|
102
113
|
comment: string;
|
103
114
|
severity: "critical" | "major" | "minor" | "neutral";
|
115
|
+
penalty: number;
|
104
116
|
}[];
|
105
117
|
score: number;
|
106
118
|
hasMajorIssue: boolean;
|
@@ -110,6 +122,7 @@ export declare const CREATE_SCORE_RESPONSE_SCHEMA: z.ZodObject<{
|
|
110
122
|
category: string;
|
111
123
|
comment: string;
|
112
124
|
severity: "critical" | "major" | "minor" | "neutral";
|
125
|
+
penalty: number;
|
113
126
|
}[];
|
114
127
|
score: number;
|
115
128
|
hasMajorIssue: boolean;
|
@@ -190,7 +190,7 @@ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
190
190
|
}>;
|
191
191
|
export type ListTeamUsersResponse = z.infer<typeof LIST_TEAM_USERS_RESPONSE_SCHEMA>;
|
192
192
|
export declare const GET_TEAM_USER_PERMISSIONS_REQUEST_BODY_SCHEMA: z.ZodObject<{
|
193
|
-
projectIds: z.ZodArray<z.ZodString, "many">;
|
193
|
+
projectIds: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
195
195
|
projectIds: string[];
|
196
196
|
}, {
|