@lokalise/harmony 2.0.4 → 2.0.6
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 +2 -165
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +3 -166
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +16 -42
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +16 -42
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +75 -13
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +75 -13
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +10 -10
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +10 -10
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +35 -13
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +34 -12
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +9 -3
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +9 -3
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +41 -12
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +43 -14
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +9 -76
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +8 -75
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +10 -10
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +10 -10
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +13 -35
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +12 -34
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +10 -8
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +11 -9
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +21 -47
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +20 -46
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +166 -9
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +165 -8
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +44 -11
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +44 -11
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +14 -21
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +13 -20
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +98 -6
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +82 -7
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +6 -16
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +7 -17
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +16 -7
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +16 -7
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +3 -3
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +3 -3
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +7 -14
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +7 -14
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +15 -20
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +15 -20
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +20 -87
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +20 -87
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +10 -31
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +9 -30
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +11 -98
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +11 -81
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +15 -9
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +14 -8
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +13 -6
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +15 -8
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +7 -12
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +9 -14
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +20 -13
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +22 -15
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +9 -7
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +11 -9
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +30 -18
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +32 -20
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony136.cjs +6 -6
- package/dist/harmony136.cjs.map +1 -1
- package/dist/harmony136.mjs +6 -6
- package/dist/harmony136.mjs.map +1 -1
- package/dist/harmony137.cjs +13 -29
- package/dist/harmony137.cjs.map +1 -1
- package/dist/harmony137.mjs +14 -30
- package/dist/harmony137.mjs.map +1 -1
- package/dist/harmony138.cjs +31 -7
- package/dist/harmony138.cjs.map +1 -1
- package/dist/harmony138.mjs +32 -8
- package/dist/harmony138.mjs.map +1 -1
- package/dist/harmony139.cjs +21 -22
- package/dist/harmony139.cjs.map +1 -1
- package/dist/harmony139.mjs +20 -21
- package/dist/harmony139.mjs.map +1 -1
- package/dist/harmony140.cjs +15 -30
- package/dist/harmony140.cjs.map +1 -1
- package/dist/harmony140.mjs +17 -32
- package/dist/harmony140.mjs.map +1 -1
- package/dist/harmony141.cjs +3 -18
- package/dist/harmony141.cjs.map +1 -1
- package/dist/harmony141.mjs +3 -18
- package/dist/harmony141.mjs.map +1 -1
- package/dist/harmony142.cjs +15 -21
- package/dist/harmony142.cjs.map +1 -1
- package/dist/harmony142.mjs +14 -20
- package/dist/harmony142.mjs.map +1 -1
- package/dist/harmony143.cjs +87 -6
- package/dist/harmony143.cjs.map +1 -1
- package/dist/harmony143.mjs +86 -5
- package/dist/harmony143.mjs.map +1 -1
- package/dist/harmony144.cjs +31 -16
- package/dist/harmony144.cjs.map +1 -1
- package/dist/harmony144.mjs +30 -15
- package/dist/harmony144.mjs.map +1 -1
- package/dist/harmony145.cjs +6 -4
- package/dist/harmony145.cjs.map +1 -1
- package/dist/harmony145.mjs +5 -3
- package/dist/harmony145.mjs.map +1 -1
- package/dist/harmony146.cjs +6 -4
- package/dist/harmony146.cjs.map +1 -1
- package/dist/harmony146.mjs +5 -3
- package/dist/harmony146.mjs.map +1 -1
- package/dist/harmony147.cjs +3 -3
- package/dist/harmony147.cjs.map +1 -1
- package/dist/harmony147.mjs +3 -3
- package/dist/harmony147.mjs.map +1 -1
- package/dist/harmony148.cjs +3 -14
- package/dist/harmony148.cjs.map +1 -1
- package/dist/harmony148.mjs +3 -14
- package/dist/harmony148.mjs.map +1 -1
- package/dist/harmony149.cjs +3 -14
- package/dist/harmony149.cjs.map +1 -1
- package/dist/harmony149.mjs +3 -14
- 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 +15 -6
- package/dist/harmony151.cjs.map +1 -1
- package/dist/harmony151.mjs +14 -5
- package/dist/harmony151.mjs.map +1 -1
- package/dist/harmony152.cjs +4 -6
- package/dist/harmony152.cjs.map +1 -1
- package/dist/harmony152.mjs +3 -5
- package/dist/harmony152.mjs.map +1 -1
- package/dist/harmony153.cjs +96 -10
- package/dist/harmony153.cjs.map +1 -1
- package/dist/harmony153.mjs +96 -10
- package/dist/harmony153.mjs.map +1 -1
- package/dist/harmony154.cjs +14 -10
- package/dist/harmony154.cjs.map +1 -1
- package/dist/harmony154.mjs +13 -9
- package/dist/harmony154.mjs.map +1 -1
- package/dist/harmony155.cjs +15 -7
- package/dist/harmony155.cjs.map +1 -1
- package/dist/harmony155.mjs +14 -6
- package/dist/harmony155.mjs.map +1 -1
- package/dist/harmony156.cjs +37 -10
- package/dist/harmony156.cjs.map +1 -1
- package/dist/harmony156.mjs +36 -9
- package/dist/harmony156.mjs.map +1 -1
- package/dist/harmony157.cjs +29 -25
- package/dist/harmony157.cjs.map +1 -1
- package/dist/harmony157.mjs +28 -24
- package/dist/harmony157.mjs.map +1 -1
- package/dist/harmony158.cjs +6 -3
- package/dist/harmony158.cjs.map +1 -1
- package/dist/harmony158.mjs +6 -3
- package/dist/harmony158.mjs.map +1 -1
- package/dist/harmony159.cjs +3 -9
- package/dist/harmony159.cjs.map +1 -1
- package/dist/harmony159.mjs +3 -9
- package/dist/harmony159.mjs.map +1 -1
- package/dist/harmony160.cjs +6 -3
- package/dist/harmony160.cjs.map +1 -1
- package/dist/harmony160.mjs +6 -3
- package/dist/harmony160.mjs.map +1 -1
- package/dist/harmony161.cjs +24 -32
- package/dist/harmony161.cjs.map +1 -1
- package/dist/harmony161.mjs +23 -31
- package/dist/harmony161.mjs.map +1 -1
- package/dist/harmony162.cjs +7 -97
- package/dist/harmony162.cjs.map +1 -1
- package/dist/harmony162.mjs +6 -96
- package/dist/harmony162.mjs.map +1 -1
- package/dist/harmony163.cjs +13 -14
- package/dist/harmony163.cjs.map +1 -1
- package/dist/harmony163.mjs +12 -13
- package/dist/harmony163.mjs.map +1 -1
- package/dist/harmony164.cjs +7 -15
- package/dist/harmony164.cjs.map +1 -1
- package/dist/harmony164.mjs +6 -14
- package/dist/harmony164.mjs.map +1 -1
- package/dist/harmony165.cjs +10 -36
- package/dist/harmony165.cjs.map +1 -1
- package/dist/harmony165.mjs +10 -36
- package/dist/harmony165.mjs.map +1 -1
- package/dist/harmony166.cjs +31 -27
- package/dist/harmony166.cjs.map +1 -1
- package/dist/harmony166.mjs +31 -27
- package/dist/harmony166.mjs.map +1 -1
- package/dist/harmony167.cjs +1 -1
- package/dist/harmony167.mjs +1 -1
- package/dist/harmony168.cjs +1 -1
- package/dist/harmony168.mjs +1 -1
- package/dist/harmony169.cjs +2 -2
- package/dist/harmony169.mjs +2 -2
- package/dist/harmony17.cjs +1 -1
- package/dist/harmony17.mjs +1 -1
- package/dist/harmony170.cjs +11 -4
- package/dist/harmony170.cjs.map +1 -1
- package/dist/harmony170.mjs +11 -4
- package/dist/harmony170.mjs.map +1 -1
- package/dist/harmony171.cjs +15 -10
- package/dist/harmony171.cjs.map +1 -1
- package/dist/harmony171.mjs +15 -10
- package/dist/harmony171.mjs.map +1 -1
- package/dist/harmony172.cjs +18 -13
- package/dist/harmony172.cjs.map +1 -1
- package/dist/harmony172.mjs +18 -13
- package/dist/harmony172.mjs.map +1 -1
- package/dist/harmony173.cjs +10 -19
- package/dist/harmony173.cjs.map +1 -1
- package/dist/harmony173.mjs +10 -19
- package/dist/harmony173.mjs.map +1 -1
- package/dist/harmony174.cjs +4 -12
- package/dist/harmony174.cjs.map +1 -1
- package/dist/harmony174.mjs +4 -12
- package/dist/harmony174.mjs.map +1 -1
- package/dist/harmony20.cjs +1 -1
- package/dist/harmony20.mjs +1 -1
- package/dist/harmony28.cjs +1 -1
- package/dist/harmony28.mjs +1 -1
- package/dist/harmony29.cjs +1 -1
- package/dist/harmony29.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/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/harmony94.cjs +1 -1
- package/dist/harmony94.mjs +1 -1
- package/dist/harmony96.cjs +2 -2
- package/dist/harmony96.mjs +2 -2
- package/dist/harmony98.cjs +2 -2
- package/dist/harmony98.mjs +2 -2
- package/dist/types/src/features/permissions/types.d.ts +5 -1
- 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/package.json +1 -1
|
@@ -1739,40 +1739,40 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
|
1739
1739
|
project_id: import('zod').ZodString;
|
|
1740
1740
|
project_uuid: import('zod').ZodString;
|
|
1741
1741
|
permissions: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1742
|
-
id: import('zod').
|
|
1742
|
+
id: import('zod').ZodUnion<[import('zod').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"]>, import('zod').ZodEnum<["glossary", "create_branches"]>]>;
|
|
1743
1743
|
scope: import('zod').ZodUnion<[import('zod').ZodLiteral<"project">, import('zod').ZodLiteral<"team">, import('zod').ZodLiteral<"user">]>;
|
|
1744
1744
|
title: import('zod').ZodString;
|
|
1745
1745
|
group: import('zod').ZodString;
|
|
1746
1746
|
description: import('zod').ZodNullable<import('zod').ZodString>;
|
|
1747
|
-
dependentPermissions: import('zod').ZodOptional<import('zod').ZodArray<import('zod').
|
|
1747
|
+
dependentPermissions: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodUnion<[import('zod').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"]>, import('zod').ZodEnum<["glossary", "create_branches"]>]>, "many">>;
|
|
1748
1748
|
doesSetAllReadOnlyLanguages: import('zod').ZodBoolean;
|
|
1749
1749
|
newPermission: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
1750
1750
|
isHidden: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
1751
1751
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1752
|
-
id:
|
|
1752
|
+
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";
|
|
1753
1753
|
title: string;
|
|
1754
1754
|
group: string;
|
|
1755
1755
|
scope: "project" | "team" | "user";
|
|
1756
1756
|
description: string | null;
|
|
1757
1757
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1758
|
-
dependentPermissions?:
|
|
1758
|
+
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;
|
|
1759
1759
|
newPermission?: boolean | undefined;
|
|
1760
1760
|
isHidden?: boolean | undefined;
|
|
1761
1761
|
}, {
|
|
1762
|
-
id:
|
|
1762
|
+
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";
|
|
1763
1763
|
title: string;
|
|
1764
1764
|
group: string;
|
|
1765
1765
|
scope: "project" | "team" | "user";
|
|
1766
1766
|
description: string | null;
|
|
1767
1767
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1768
|
-
dependentPermissions?:
|
|
1768
|
+
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;
|
|
1769
1769
|
newPermission?: boolean | undefined;
|
|
1770
1770
|
isHidden?: boolean | undefined;
|
|
1771
1771
|
}>, "many">;
|
|
1772
1772
|
roles: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1773
1773
|
id: import('zod').ZodNumber;
|
|
1774
1774
|
role: import('zod').ZodString;
|
|
1775
|
-
permissions: import('zod').ZodArray<import('zod').
|
|
1775
|
+
permissions: import('zod').ZodArray<import('zod').ZodUnion<[import('zod').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"]>, import('zod').ZodEnum<["glossary", "create_branches"]>]>, "many">;
|
|
1776
1776
|
description: import('zod').ZodNullable<import('zod').ZodString>;
|
|
1777
1777
|
tag: import('zod').ZodNullable<import('zod').ZodString>;
|
|
1778
1778
|
tagColor: import('zod').ZodNullable<import('zod').ZodString>;
|
|
@@ -1784,7 +1784,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
|
1784
1784
|
role: string;
|
|
1785
1785
|
tag: string | null;
|
|
1786
1786
|
description: string | null;
|
|
1787
|
-
permissions:
|
|
1787
|
+
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")[];
|
|
1788
1788
|
tagColor: string | null;
|
|
1789
1789
|
tagInfo: string | null;
|
|
1790
1790
|
isForMarketingProjects: boolean;
|
|
@@ -1794,7 +1794,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
|
1794
1794
|
role: string;
|
|
1795
1795
|
tag: string | null;
|
|
1796
1796
|
description: string | null;
|
|
1797
|
-
permissions:
|
|
1797
|
+
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")[];
|
|
1798
1798
|
tagColor: string | null;
|
|
1799
1799
|
tagInfo: string | null;
|
|
1800
1800
|
isForMarketingProjects: boolean;
|
|
@@ -1802,13 +1802,13 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
|
1802
1802
|
}>, "many">;
|
|
1803
1803
|
}, "strip", import('zod').ZodTypeAny, {
|
|
1804
1804
|
permissions: {
|
|
1805
|
-
id:
|
|
1805
|
+
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";
|
|
1806
1806
|
title: string;
|
|
1807
1807
|
group: string;
|
|
1808
1808
|
scope: "project" | "team" | "user";
|
|
1809
1809
|
description: string | null;
|
|
1810
1810
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1811
|
-
dependentPermissions?:
|
|
1811
|
+
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;
|
|
1812
1812
|
newPermission?: boolean | undefined;
|
|
1813
1813
|
isHidden?: boolean | undefined;
|
|
1814
1814
|
}[];
|
|
@@ -1817,7 +1817,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
|
1817
1817
|
role: string;
|
|
1818
1818
|
tag: string | null;
|
|
1819
1819
|
description: string | null;
|
|
1820
|
-
permissions:
|
|
1820
|
+
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")[];
|
|
1821
1821
|
tagColor: string | null;
|
|
1822
1822
|
tagInfo: string | null;
|
|
1823
1823
|
isForMarketingProjects: boolean;
|
|
@@ -1827,13 +1827,13 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
|
1827
1827
|
project_uuid: string;
|
|
1828
1828
|
}, {
|
|
1829
1829
|
permissions: {
|
|
1830
|
-
id:
|
|
1830
|
+
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";
|
|
1831
1831
|
title: string;
|
|
1832
1832
|
group: string;
|
|
1833
1833
|
scope: "project" | "team" | "user";
|
|
1834
1834
|
description: string | null;
|
|
1835
1835
|
doesSetAllReadOnlyLanguages: boolean;
|
|
1836
|
-
dependentPermissions?:
|
|
1836
|
+
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;
|
|
1837
1837
|
newPermission?: boolean | undefined;
|
|
1838
1838
|
isHidden?: boolean | undefined;
|
|
1839
1839
|
}[];
|
|
@@ -1842,7 +1842,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
|
1842
1842
|
role: string;
|
|
1843
1843
|
tag: string | null;
|
|
1844
1844
|
description: string | null;
|
|
1845
|
-
permissions:
|
|
1845
|
+
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")[];
|
|
1846
1846
|
tagColor: string | null;
|
|
1847
1847
|
tagInfo: string | null;
|
|
1848
1848
|
isForMarketingProjects: boolean;
|
|
@@ -243,29 +243,29 @@ export declare const getTeamUserPermissions: import('@lokalise/api-contracts').P
|
|
|
243
243
|
[x: string]: 0 | 1 | undefined;
|
|
244
244
|
}, {
|
|
245
245
|
[x: string]: 0 | 1 | undefined;
|
|
246
|
-
}>, import('zod').ZodArray<import('zod').ZodEnum<["
|
|
246
|
+
}>, import('zod').ZodArray<import('zod').ZodUnion<[import('zod').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"]>, import('zod').ZodEnum<["glossary", "create_branches"]>]>, "many">]>;
|
|
247
247
|
}, "strip", import('zod').ZodTypeAny, {
|
|
248
248
|
id: string;
|
|
249
|
-
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")[] | {
|
|
249
|
+
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")[] | {
|
|
250
250
|
[x: string]: 0 | 1 | undefined;
|
|
251
251
|
};
|
|
252
252
|
}, {
|
|
253
253
|
id: string;
|
|
254
|
-
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")[] | {
|
|
254
|
+
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")[] | {
|
|
255
255
|
[x: string]: 0 | 1 | undefined;
|
|
256
256
|
};
|
|
257
257
|
}>, "many">;
|
|
258
258
|
}, "strip", import('zod').ZodTypeAny, {
|
|
259
259
|
projects: {
|
|
260
260
|
id: string;
|
|
261
|
-
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")[] | {
|
|
261
|
+
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")[] | {
|
|
262
262
|
[x: string]: 0 | 1 | undefined;
|
|
263
263
|
};
|
|
264
264
|
}[];
|
|
265
265
|
}, {
|
|
266
266
|
projects: {
|
|
267
267
|
id: string;
|
|
268
|
-
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")[] | {
|
|
268
|
+
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")[] | {
|
|
269
269
|
[x: string]: 0 | 1 | undefined;
|
|
270
270
|
};
|
|
271
271
|
}[];
|
|
@@ -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
|
}[];
|