@lokalise/harmony 2.0.3 → 2.0.5
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/harmony.cjs +1 -1
- package/dist/harmony.mjs +3 -3
- package/dist/harmony102.cjs +1 -1
- package/dist/harmony102.mjs +1 -1
- package/dist/harmony103.cjs +7 -7
- package/dist/harmony103.mjs +7 -7
- package/dist/harmony105.cjs +2 -2
- package/dist/harmony105.mjs +2 -2
- package/dist/harmony106.cjs +1 -1
- package/dist/harmony106.mjs +1 -1
- package/dist/harmony107.cjs +1 -1
- package/dist/harmony107.mjs +1 -1
- package/dist/harmony109.cjs +11 -3
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +11 -3
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +21 -18
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +20 -17
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +3 -76
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +3 -76
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +17 -11
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +17 -11
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +76 -34
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +76 -34
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +12 -9
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +12 -9
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +34 -47
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +34 -47
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +10 -10
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +9 -9
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +44 -9
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +46 -11
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +6 -9
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +6 -9
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +10 -9
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +12 -11
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +11 -20
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +11 -20
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +2 -2
- package/dist/harmony121.mjs +2 -2
- package/dist/harmony122.cjs +87 -7
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +87 -7
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +30 -17
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +30 -17
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +6 -9
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +5 -8
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +6 -9
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +5 -8
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +20 -15
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +20 -15
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +7 -87
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +7 -87
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +17 -30
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +17 -30
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +8 -20
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +8 -20
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +8 -9
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +7 -8
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +14 -11
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +14 -11
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +9 -15
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +8 -14
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +6 -13
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +8 -15
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +12 -7
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +14 -9
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +13 -20
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +15 -22
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +7 -9
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +9 -11
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +18 -30
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +20 -32
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +6 -6
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +6 -6
- package/dist/harmony138.mjs.map +1 -1
- package/dist/harmony139.cjs +29 -13
- package/dist/harmony139.cjs.map +1 -1
- package/dist/harmony139.mjs +30 -14
- package/dist/harmony139.mjs.map +1 -1
- package/dist/harmony140.cjs +7 -31
- package/dist/harmony140.cjs.map +1 -1
- package/dist/harmony140.mjs +8 -32
- package/dist/harmony140.mjs.map +1 -1
- package/dist/harmony141.cjs +22 -21
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +21 -20
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +30 -15
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +32 -17
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +18 -3
- package/dist/harmony143.cjs.map +1 -1
- package/dist/harmony143.mjs +18 -3
- package/dist/harmony143.mjs.map +1 -1
- package/dist/harmony144.cjs +21 -15
- package/dist/harmony144.cjs.map +1 -1
- package/dist/harmony144.mjs +20 -14
- package/dist/harmony144.mjs.map +1 -1
- package/dist/harmony145.cjs +6 -5
- package/dist/harmony145.cjs.map +1 -1
- package/dist/harmony145.mjs +6 -5
- package/dist/harmony146.cjs +15 -5
- package/dist/harmony146.cjs.map +1 -1
- package/dist/harmony146.mjs +15 -5
- package/dist/harmony146.mjs.map +1 -1
- package/dist/harmony148.cjs +96 -3
- package/dist/harmony148.cjs.map +1 -1
- package/dist/harmony148.mjs +96 -3
- package/dist/harmony148.mjs.map +1 -1
- package/dist/harmony149.cjs +13 -3
- package/dist/harmony149.cjs.map +1 -1
- package/dist/harmony149.mjs +13 -3
- package/dist/harmony149.mjs.map +1 -1
- package/dist/harmony150.cjs +14 -3
- package/dist/harmony150.cjs.map +1 -1
- package/dist/harmony150.mjs +14 -3
- package/dist/harmony150.mjs.map +1 -1
- package/dist/harmony151.cjs +36 -14
- package/dist/harmony151.cjs.map +1 -1
- package/dist/harmony151.mjs +36 -14
- package/dist/harmony151.mjs.map +1 -1
- package/dist/harmony152.cjs +28 -14
- package/dist/harmony152.cjs.map +1 -1
- package/dist/harmony152.mjs +28 -14
- package/dist/harmony152.mjs.map +1 -1
- package/dist/harmony153.cjs +3 -3
- package/dist/harmony153.cjs.map +1 -1
- package/dist/harmony153.mjs +3 -3
- package/dist/harmony153.mjs.map +1 -1
- package/dist/harmony154.cjs +4 -10
- package/dist/harmony154.cjs.map +1 -1
- package/dist/harmony154.mjs +3 -9
- package/dist/harmony154.mjs.map +1 -1
- package/dist/harmony155.cjs +4 -7
- package/dist/harmony155.cjs.map +1 -1
- package/dist/harmony155.mjs +3 -6
- package/dist/harmony155.mjs.map +1 -1
- package/dist/harmony156.cjs +15 -10
- package/dist/harmony156.cjs.map +1 -1
- package/dist/harmony156.mjs +14 -9
- package/dist/harmony156.mjs.map +1 -1
- package/dist/harmony157.cjs +15 -25
- package/dist/harmony157.cjs.map +1 -1
- package/dist/harmony157.mjs +14 -24
- package/dist/harmony157.mjs.map +1 -1
- package/dist/harmony158.cjs +4 -7
- package/dist/harmony158.cjs.map +1 -1
- package/dist/harmony158.mjs +3 -6
- package/dist/harmony158.mjs.map +1 -1
- package/dist/harmony159.cjs +14 -13
- package/dist/harmony159.cjs.map +1 -1
- package/dist/harmony159.mjs +13 -12
- package/dist/harmony159.mjs.map +1 -1
- package/dist/harmony160.cjs +16 -7
- package/dist/harmony160.cjs.map +1 -1
- package/dist/harmony160.mjs +15 -6
- package/dist/harmony160.mjs.map +1 -1
- package/dist/harmony161.cjs +14 -94
- package/dist/harmony161.cjs.map +1 -1
- package/dist/harmony161.mjs +14 -94
- package/dist/harmony161.mjs.map +1 -1
- package/dist/harmony162.cjs +10 -14
- package/dist/harmony162.cjs.map +1 -1
- package/dist/harmony162.mjs +9 -13
- package/dist/harmony162.mjs.map +1 -1
- package/dist/harmony163.cjs +7 -15
- package/dist/harmony163.cjs.map +1 -1
- package/dist/harmony163.mjs +6 -14
- package/dist/harmony163.mjs.map +1 -1
- package/dist/harmony164.cjs +10 -37
- package/dist/harmony164.cjs.map +1 -1
- package/dist/harmony164.mjs +9 -36
- package/dist/harmony164.mjs.map +1 -1
- package/dist/harmony165.cjs +25 -29
- package/dist/harmony165.cjs.map +1 -1
- package/dist/harmony165.mjs +24 -28
- package/dist/harmony165.mjs.map +1 -1
- package/dist/harmony166.cjs +6 -32
- package/dist/harmony166.cjs.map +1 -1
- package/dist/harmony166.mjs +5 -31
- package/dist/harmony166.mjs.map +1 -1
- package/dist/harmony167.cjs +13 -14
- package/dist/harmony167.cjs.map +1 -1
- package/dist/harmony167.mjs +12 -13
- package/dist/harmony167.mjs.map +1 -1
- package/dist/harmony168.cjs +7 -16
- package/dist/harmony168.cjs.map +1 -1
- package/dist/harmony168.mjs +6 -15
- package/dist/harmony168.mjs.map +1 -1
- package/dist/harmony169.cjs +14 -14
- package/dist/harmony169.cjs.map +1 -1
- package/dist/harmony169.mjs +14 -14
- package/dist/harmony169.mjs.map +1 -1
- package/dist/harmony170.cjs +20 -10
- package/dist/harmony170.cjs.map +1 -1
- package/dist/harmony170.mjs +20 -10
- package/dist/harmony170.mjs.map +1 -1
- package/dist/harmony171.cjs +10 -14
- package/dist/harmony171.cjs.map +1 -1
- package/dist/harmony171.mjs +10 -14
- package/dist/harmony171.mjs.map +1 -1
- package/dist/harmony172.cjs +10 -20
- package/dist/harmony172.cjs.map +1 -1
- package/dist/harmony172.mjs +10 -20
- package/dist/harmony172.mjs.map +1 -1
- package/dist/harmony173.cjs +32 -12
- package/dist/harmony173.cjs.map +1 -1
- package/dist/harmony173.mjs +32 -12
- package/dist/harmony173.mjs.map +1 -1
- package/dist/harmony174.cjs +12 -4
- package/dist/harmony174.cjs.map +1 -1
- package/dist/harmony174.mjs +12 -4
- package/dist/harmony174.mjs.map +1 -1
- package/dist/harmony175.cjs +31 -5
- package/dist/harmony175.cjs.map +1 -1
- package/dist/harmony175.mjs +31 -5
- package/dist/harmony175.mjs.map +1 -1
- package/dist/harmony176.cjs +13 -11
- package/dist/harmony176.cjs.map +1 -1
- package/dist/harmony176.mjs +13 -11
- package/dist/harmony176.mjs.map +1 -1
- package/dist/harmony177.cjs +5 -31
- package/dist/harmony177.cjs.map +1 -1
- package/dist/harmony177.mjs +5 -31
- package/dist/harmony177.mjs.map +1 -1
- package/dist/harmony178.cjs +4 -14
- package/dist/harmony178.cjs.map +1 -1
- package/dist/harmony178.mjs +4 -14
- package/dist/harmony178.mjs.map +1 -1
- package/dist/harmony20.cjs +1 -1
- package/dist/harmony20.mjs +1 -1
- package/dist/harmony32.cjs +1 -1
- package/dist/harmony32.mjs +1 -1
- package/dist/harmony33.cjs +1 -1
- package/dist/harmony33.mjs +1 -1
- package/dist/harmony34.cjs +1 -1
- package/dist/harmony34.mjs +1 -1
- package/dist/harmony39.cjs +1 -1
- package/dist/harmony39.mjs +1 -1
- package/dist/harmony40.cjs +1 -1
- package/dist/harmony40.mjs +1 -1
- package/dist/harmony41.cjs +1 -1
- package/dist/harmony41.mjs +1 -1
- package/dist/harmony42.cjs +2 -2
- package/dist/harmony42.mjs +2 -2
- package/dist/harmony43.cjs +2 -2
- package/dist/harmony43.mjs +2 -2
- package/dist/harmony44.cjs +1 -1
- package/dist/harmony44.mjs +1 -1
- package/dist/harmony45.cjs +2 -0
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +2 -0
- package/dist/harmony45.mjs.map +1 -1
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony81.cjs +5 -20
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +5 -20
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +5 -1
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +5 -1
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony88.cjs +2 -1
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +3 -2
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony96.cjs +2 -2
- package/dist/harmony96.mjs +2 -2
- package/dist/types/src/features/auth/frontend/hooks/useGetPromotedClassicSessionJwtQuery.d.ts +1 -1
- package/dist/types/src/features/permissions/types.d.ts +2 -0
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +1 -26
- package/dist/types/src/features/publicApi/hooks/useGetScoreQuery.d.ts +1 -11
- package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -11
- package/dist/types/src/features/publicApi/hooks/useGetUserTokenQuery.d.ts +1 -4
- package/dist/types/src/features/publicApi/hooks/useListContributorsQuery.d.ts +1 -25
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -13
- package/dist/types/src/features/publicApi/hooks/useListProjectLanguagesQuery.d.ts +1 -13
- package/dist/types/src/features/publicApi/hooks/useListProjectsQuery.d.ts +1 -65
- package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -11
- package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +1 -14
- package/dist/types/src/features/publicApi/hooks/useRetrieveContributorQuery.d.ts +1 -25
- package/dist/types/src/features/publicApi/hooks/useRetrieveProjectQuery.d.ts +1 -63
- package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +1 -33
- package/dist/types/src/features/publicApi/hooks/useRetrieveUserPermissions.d.ts +1 -8
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +5 -5
- package/dist/types/src/features/publicApi/projects.d.ts +15 -15
- package/dist/types/src/features/publicApi/teamUsers.d.ts +5 -5
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +9 -10
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +4 -4
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +24 -24
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +8 -8
- package/dist/types/src/utils/types/apiQueryOverrides.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const PERMISSION_SCHEMA: z.ZodEnum<["review", "upload", "activity", "download", "settings", "statistics", "manage_keys", "screenshots", "contributors", "glossary_edit", "branches_merge", "branches_create", "glossary_delete", "manage_languages", "branches_main_modify", "custom_status_modify"]>;
|
|
2
|
+
export declare const PERMISSION_SCHEMA: z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>;
|
|
4
3
|
export type Permission = z.infer<typeof PERMISSION_SCHEMA>;
|
|
5
4
|
export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
|
|
6
5
|
id: z.ZodString;
|
|
7
6
|
role: z.ZodString;
|
|
8
|
-
permissions: z.ZodArray<z.
|
|
7
|
+
permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">;
|
|
9
8
|
description: z.ZodNullable<z.ZodString>;
|
|
10
9
|
tag: z.ZodNullable<z.ZodString>;
|
|
11
10
|
tagColor: z.ZodNullable<z.ZodString>;
|
|
@@ -17,7 +16,7 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
|
|
|
17
16
|
role: string;
|
|
18
17
|
tag: string | null;
|
|
19
18
|
description: string | null;
|
|
20
|
-
permissions:
|
|
19
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
21
20
|
tagColor: string | null;
|
|
22
21
|
tagInfo: string | null;
|
|
23
22
|
isForMarketingProjects: boolean;
|
|
@@ -27,7 +26,7 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
|
|
|
27
26
|
role: string;
|
|
28
27
|
tag: string | null;
|
|
29
28
|
description: string | null;
|
|
30
|
-
permissions:
|
|
29
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
31
30
|
tagColor: string | null;
|
|
32
31
|
tagInfo: string | null;
|
|
33
32
|
isForMarketingProjects: boolean;
|
|
@@ -46,7 +45,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
|
46
45
|
roles: z.ZodArray<z.ZodObject<{
|
|
47
46
|
id: z.ZodString;
|
|
48
47
|
role: z.ZodString;
|
|
49
|
-
permissions: z.ZodArray<z.
|
|
48
|
+
permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">;
|
|
50
49
|
description: z.ZodNullable<z.ZodString>;
|
|
51
50
|
tag: z.ZodNullable<z.ZodString>;
|
|
52
51
|
tagColor: z.ZodNullable<z.ZodString>;
|
|
@@ -58,7 +57,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
|
58
57
|
role: string;
|
|
59
58
|
tag: string | null;
|
|
60
59
|
description: string | null;
|
|
61
|
-
permissions:
|
|
60
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
62
61
|
tagColor: string | null;
|
|
63
62
|
tagInfo: string | null;
|
|
64
63
|
isForMarketingProjects: boolean;
|
|
@@ -68,7 +67,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
|
68
67
|
role: string;
|
|
69
68
|
tag: string | null;
|
|
70
69
|
description: string | null;
|
|
71
|
-
permissions:
|
|
70
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
72
71
|
tagColor: string | null;
|
|
73
72
|
tagInfo: string | null;
|
|
74
73
|
isForMarketingProjects: boolean;
|
|
@@ -80,7 +79,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
|
80
79
|
role: string;
|
|
81
80
|
tag: string | null;
|
|
82
81
|
description: string | null;
|
|
83
|
-
permissions:
|
|
82
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
84
83
|
tagColor: string | null;
|
|
85
84
|
tagInfo: string | null;
|
|
86
85
|
isForMarketingProjects: boolean;
|
|
@@ -92,7 +91,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
|
|
|
92
91
|
role: string;
|
|
93
92
|
tag: string | null;
|
|
94
93
|
description: string | null;
|
|
95
|
-
permissions:
|
|
94
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
96
95
|
tagColor: string | null;
|
|
97
96
|
tagInfo: string | null;
|
|
98
97
|
isForMarketingProjects: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const PERMISSION_ID_SCHEMA: z.
|
|
2
|
+
export declare const PERMISSION_ID_SCHEMA: z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>;
|
|
3
3
|
export type PermissionId = z.infer<typeof PERMISSION_ID_SCHEMA>;
|
|
4
4
|
export declare const PERMISSION_SCOPE_SCHEMA: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
|
|
5
5
|
export type PermissionScope = z.infer<typeof PERMISSION_SCOPE_SCHEMA>;
|
|
6
6
|
export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
|
|
7
|
-
id: z.
|
|
7
|
+
id: z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>;
|
|
8
8
|
scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
|
|
9
9
|
title: z.ZodString;
|
|
10
10
|
group: z.ZodString;
|
|
@@ -13,7 +13,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
|
|
|
13
13
|
does_set_all_read_only_languages: z.ZodBoolean;
|
|
14
14
|
is_hidden: z.ZodBoolean;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
id:
|
|
16
|
+
id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
|
|
17
17
|
title: string;
|
|
18
18
|
group: string;
|
|
19
19
|
scope: "project" | "team" | "user";
|
|
@@ -22,7 +22,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
|
|
|
22
22
|
does_set_all_read_only_languages: boolean;
|
|
23
23
|
is_hidden: boolean;
|
|
24
24
|
}, {
|
|
25
|
-
id:
|
|
25
|
+
id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
|
|
26
26
|
title: string;
|
|
27
27
|
group: string;
|
|
28
28
|
scope: "project" | "team" | "user";
|
|
@@ -1158,33 +1158,33 @@ export declare const UPDATE_PROJECT_REQUEST_BODY_SCHEMA: z.ZodObject<{
|
|
|
1158
1158
|
}>;
|
|
1159
1159
|
export type UpdateProjectRequestBody = z.infer<typeof UPDATE_PROJECT_REQUEST_BODY_SCHEMA>;
|
|
1160
1160
|
declare const PROJECT_PERMISSION_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1161
|
-
id: z.
|
|
1161
|
+
id: z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>;
|
|
1162
1162
|
scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
|
|
1163
1163
|
title: z.ZodString;
|
|
1164
1164
|
group: z.ZodString;
|
|
1165
1165
|
description: z.ZodNullable<z.ZodString>;
|
|
1166
|
-
dependentPermissions: z.ZodOptional<z.ZodArray<z.
|
|
1166
|
+
dependentPermissions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">>;
|
|
1167
1167
|
doesSetAllReadOnlyLanguages: z.ZodBoolean;
|
|
1168
1168
|
newPermission: z.ZodOptional<z.ZodBoolean>;
|
|
1169
1169
|
isHidden: z.ZodOptional<z.ZodBoolean>;
|
|
1170
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1171
|
-
id:
|
|
1171
|
+
id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
|
|
1172
1172
|
title: string;
|
|
1173
1173
|
group: string;
|
|
1174
1174
|
scope: "project" | "team" | "user";
|
|
1175
1175
|
description: string | null;
|
|
1176
1176
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1177
|
-
dependentPermissions?:
|
|
1177
|
+
dependentPermissions?: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | undefined;
|
|
1178
1178
|
newPermission?: boolean | undefined;
|
|
1179
1179
|
isHidden?: boolean | undefined;
|
|
1180
1180
|
}, {
|
|
1181
|
-
id:
|
|
1181
|
+
id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
|
|
1182
1182
|
title: string;
|
|
1183
1183
|
group: string;
|
|
1184
1184
|
scope: "project" | "team" | "user";
|
|
1185
1185
|
description: string | null;
|
|
1186
1186
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1187
|
-
dependentPermissions?:
|
|
1187
|
+
dependentPermissions?: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | undefined;
|
|
1188
1188
|
newPermission?: boolean | undefined;
|
|
1189
1189
|
isHidden?: boolean | undefined;
|
|
1190
1190
|
}>;
|
|
@@ -1192,7 +1192,7 @@ export type ProjectPermissionDetailsMeta = z.infer<typeof PROJECT_PERMISSION_DET
|
|
|
1192
1192
|
declare const PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
1193
1193
|
id: z.ZodNumber;
|
|
1194
1194
|
role: z.ZodString;
|
|
1195
|
-
permissions: z.ZodArray<z.
|
|
1195
|
+
permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">;
|
|
1196
1196
|
description: z.ZodNullable<z.ZodString>;
|
|
1197
1197
|
tag: z.ZodNullable<z.ZodString>;
|
|
1198
1198
|
tagColor: z.ZodNullable<z.ZodString>;
|
|
@@ -1204,7 +1204,7 @@ declare const PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
|
1204
1204
|
role: string;
|
|
1205
1205
|
tag: string | null;
|
|
1206
1206
|
description: string | null;
|
|
1207
|
-
permissions:
|
|
1207
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
1208
1208
|
tagColor: string | null;
|
|
1209
1209
|
tagInfo: string | null;
|
|
1210
1210
|
isForMarketingProjects: boolean;
|
|
@@ -1214,7 +1214,7 @@ declare const PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA: z.ZodObject<{
|
|
|
1214
1214
|
role: string;
|
|
1215
1215
|
tag: string | null;
|
|
1216
1216
|
description: string | null;
|
|
1217
|
-
permissions:
|
|
1217
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
1218
1218
|
tagColor: string | null;
|
|
1219
1219
|
tagInfo: string | null;
|
|
1220
1220
|
isForMarketingProjects: boolean;
|
|
@@ -1225,40 +1225,40 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
|
1225
1225
|
project_id: z.ZodString;
|
|
1226
1226
|
project_uuid: z.ZodString;
|
|
1227
1227
|
permissions: z.ZodArray<z.ZodObject<{
|
|
1228
|
-
id: z.
|
|
1228
|
+
id: z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>;
|
|
1229
1229
|
scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
|
|
1230
1230
|
title: z.ZodString;
|
|
1231
1231
|
group: z.ZodString;
|
|
1232
1232
|
description: z.ZodNullable<z.ZodString>;
|
|
1233
|
-
dependentPermissions: z.ZodOptional<z.ZodArray<z.
|
|
1233
|
+
dependentPermissions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">>;
|
|
1234
1234
|
doesSetAllReadOnlyLanguages: z.ZodBoolean;
|
|
1235
1235
|
newPermission: z.ZodOptional<z.ZodBoolean>;
|
|
1236
1236
|
isHidden: z.ZodOptional<z.ZodBoolean>;
|
|
1237
1237
|
}, "strip", z.ZodTypeAny, {
|
|
1238
|
-
id:
|
|
1238
|
+
id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
|
|
1239
1239
|
title: string;
|
|
1240
1240
|
group: string;
|
|
1241
1241
|
scope: "project" | "team" | "user";
|
|
1242
1242
|
description: string | null;
|
|
1243
1243
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1244
|
-
dependentPermissions?:
|
|
1244
|
+
dependentPermissions?: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | undefined;
|
|
1245
1245
|
newPermission?: boolean | undefined;
|
|
1246
1246
|
isHidden?: boolean | undefined;
|
|
1247
1247
|
}, {
|
|
1248
|
-
id:
|
|
1248
|
+
id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
|
|
1249
1249
|
title: string;
|
|
1250
1250
|
group: string;
|
|
1251
1251
|
scope: "project" | "team" | "user";
|
|
1252
1252
|
description: string | null;
|
|
1253
1253
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1254
|
-
dependentPermissions?:
|
|
1254
|
+
dependentPermissions?: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | undefined;
|
|
1255
1255
|
newPermission?: boolean | undefined;
|
|
1256
1256
|
isHidden?: boolean | undefined;
|
|
1257
1257
|
}>, "many">;
|
|
1258
1258
|
roles: z.ZodArray<z.ZodObject<{
|
|
1259
1259
|
id: z.ZodNumber;
|
|
1260
1260
|
role: z.ZodString;
|
|
1261
|
-
permissions: z.ZodArray<z.
|
|
1261
|
+
permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">;
|
|
1262
1262
|
description: z.ZodNullable<z.ZodString>;
|
|
1263
1263
|
tag: z.ZodNullable<z.ZodString>;
|
|
1264
1264
|
tagColor: z.ZodNullable<z.ZodString>;
|
|
@@ -1270,7 +1270,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
|
1270
1270
|
role: string;
|
|
1271
1271
|
tag: string | null;
|
|
1272
1272
|
description: string | null;
|
|
1273
|
-
permissions:
|
|
1273
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
1274
1274
|
tagColor: string | null;
|
|
1275
1275
|
tagInfo: string | null;
|
|
1276
1276
|
isForMarketingProjects: boolean;
|
|
@@ -1280,7 +1280,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
|
1280
1280
|
role: string;
|
|
1281
1281
|
tag: string | null;
|
|
1282
1282
|
description: string | null;
|
|
1283
|
-
permissions:
|
|
1283
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
1284
1284
|
tagColor: string | null;
|
|
1285
1285
|
tagInfo: string | null;
|
|
1286
1286
|
isForMarketingProjects: boolean;
|
|
@@ -1288,13 +1288,13 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
|
1288
1288
|
}>, "many">;
|
|
1289
1289
|
}, "strip", z.ZodTypeAny, {
|
|
1290
1290
|
permissions: {
|
|
1291
|
-
id:
|
|
1291
|
+
id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
|
|
1292
1292
|
title: string;
|
|
1293
1293
|
group: string;
|
|
1294
1294
|
scope: "project" | "team" | "user";
|
|
1295
1295
|
description: string | null;
|
|
1296
1296
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1297
|
-
dependentPermissions?:
|
|
1297
|
+
dependentPermissions?: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | undefined;
|
|
1298
1298
|
newPermission?: boolean | undefined;
|
|
1299
1299
|
isHidden?: boolean | undefined;
|
|
1300
1300
|
}[];
|
|
@@ -1303,7 +1303,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
|
1303
1303
|
role: string;
|
|
1304
1304
|
tag: string | null;
|
|
1305
1305
|
description: string | null;
|
|
1306
|
-
permissions:
|
|
1306
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
1307
1307
|
tagColor: string | null;
|
|
1308
1308
|
tagInfo: string | null;
|
|
1309
1309
|
isForMarketingProjects: boolean;
|
|
@@ -1313,13 +1313,13 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
|
1313
1313
|
project_uuid: string;
|
|
1314
1314
|
}, {
|
|
1315
1315
|
permissions: {
|
|
1316
|
-
id:
|
|
1316
|
+
id: "tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify";
|
|
1317
1317
|
title: string;
|
|
1318
1318
|
group: string;
|
|
1319
1319
|
scope: "project" | "team" | "user";
|
|
1320
1320
|
description: string | null;
|
|
1321
1321
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1322
|
-
dependentPermissions?:
|
|
1322
|
+
dependentPermissions?: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | undefined;
|
|
1323
1323
|
newPermission?: boolean | undefined;
|
|
1324
1324
|
isHidden?: boolean | undefined;
|
|
1325
1325
|
}[];
|
|
@@ -1328,7 +1328,7 @@ export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObje
|
|
|
1328
1328
|
role: string;
|
|
1329
1329
|
tag: string | null;
|
|
1330
1330
|
description: string | null;
|
|
1331
|
-
permissions:
|
|
1331
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[];
|
|
1332
1332
|
tagColor: string | null;
|
|
1333
1333
|
tagInfo: string | null;
|
|
1334
1334
|
isForMarketingProjects: boolean;
|
|
@@ -205,15 +205,15 @@ export declare const USER_PROJECTS_PERMISSIONS_SCHEMA: z.ZodObject<{
|
|
|
205
205
|
[x: string]: 0 | 1 | undefined;
|
|
206
206
|
}, {
|
|
207
207
|
[x: string]: 0 | 1 | undefined;
|
|
208
|
-
}>, z.ZodArray<z.ZodEnum<["
|
|
208
|
+
}>, z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">]>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
210
|
id: string;
|
|
211
|
-
permissions: ("contributors" | "download" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
211
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
212
212
|
[x: string]: 0 | 1 | undefined;
|
|
213
213
|
};
|
|
214
214
|
}, {
|
|
215
215
|
id: string;
|
|
216
|
-
permissions: ("contributors" | "download" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
216
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
217
217
|
[x: string]: 0 | 1 | undefined;
|
|
218
218
|
};
|
|
219
219
|
}>;
|
|
@@ -227,29 +227,29 @@ export declare const GET_TEAM_USER_PERMISSIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
|
227
227
|
[x: string]: 0 | 1 | undefined;
|
|
228
228
|
}, {
|
|
229
229
|
[x: string]: 0 | 1 | undefined;
|
|
230
|
-
}>, z.ZodArray<z.ZodEnum<["
|
|
230
|
+
}>, z.ZodArray<z.ZodUnion<[z.ZodEnum<["tasks", "upload", "activity", "download", "glossary_edit", "glossary_delete", "settings", "statistics", "manage_keys", "screenshots", "contributors", "branches_create", "branches_merge", "manage_languages", "review", "branches_main_modify", "custom_status_modify"]>, z.ZodEnum<["glossary", "create_branches"]>]>, "many">]>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
232
|
id: string;
|
|
233
|
-
permissions: ("contributors" | "download" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
233
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
234
234
|
[x: string]: 0 | 1 | undefined;
|
|
235
235
|
};
|
|
236
236
|
}, {
|
|
237
237
|
id: string;
|
|
238
|
-
permissions: ("contributors" | "download" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
238
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
239
239
|
[x: string]: 0 | 1 | undefined;
|
|
240
240
|
};
|
|
241
241
|
}>, "many">;
|
|
242
242
|
}, "strip", z.ZodTypeAny, {
|
|
243
243
|
projects: {
|
|
244
244
|
id: string;
|
|
245
|
-
permissions: ("contributors" | "download" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
245
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
246
246
|
[x: string]: 0 | 1 | undefined;
|
|
247
247
|
};
|
|
248
248
|
}[];
|
|
249
249
|
}, {
|
|
250
250
|
projects: {
|
|
251
251
|
id: string;
|
|
252
|
-
permissions: ("contributors" | "download" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
252
|
+
permissions: ("tasks" | "contributors" | "download" | "glossary" | "create_branches" | "upload" | "activity" | "glossary_edit" | "glossary_delete" | "settings" | "statistics" | "manage_keys" | "screenshots" | "branches_create" | "branches_merge" | "manage_languages" | "review" | "branches_main_modify" | "custom_status_modify")[] | {
|
|
253
253
|
[x: string]: 0 | 1 | undefined;
|
|
254
254
|
};
|
|
255
255
|
}[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { QueryKey, UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
export type ApiQueryOverrides<Data, QueryKeyFactory extends Record<string, (...args: any[]) => QueryKey>, SelectedData
|
|
2
|
+
export type ApiQueryOverrides<Data, QueryKeyFactory extends Record<string, (...args: any[]) => QueryKey>, SelectedData, Error = undefined> = Omit<UseQueryOptions<Data, Error, SelectedData, ReturnType<QueryKeyFactory[keyof QueryKeyFactory]>>, 'queryFn'>;
|