@lokalise/harmony 1.32.1 → 1.33.0-exp-louis-27.0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/harmony104.cjs.map +1 -1
  2. package/dist/harmony104.mjs.map +1 -1
  3. package/dist/harmony58.cjs +1 -18
  4. package/dist/harmony58.cjs.map +1 -1
  5. package/dist/harmony58.mjs +1 -18
  6. package/dist/harmony58.mjs.map +1 -1
  7. package/dist/harmony70.cjs +1 -1
  8. package/dist/harmony70.mjs +1 -1
  9. package/dist/harmony71.cjs +1 -1
  10. package/dist/harmony71.mjs +1 -1
  11. package/dist/harmony72.cjs +1 -1
  12. package/dist/harmony72.mjs +1 -1
  13. package/dist/harmony73.cjs +2 -2
  14. package/dist/harmony73.mjs +2 -2
  15. package/dist/harmony74.cjs +2 -2
  16. package/dist/harmony74.mjs +2 -2
  17. package/dist/harmony75.cjs +2 -2
  18. package/dist/harmony75.mjs +2 -2
  19. package/dist/harmony76.cjs +2 -2
  20. package/dist/harmony76.mjs +2 -2
  21. package/dist/harmony77.cjs +3 -3
  22. package/dist/harmony77.mjs +3 -3
  23. package/dist/harmony81.cjs +2 -2
  24. package/dist/harmony81.mjs +2 -2
  25. package/dist/harmony83.cjs +2 -2
  26. package/dist/harmony83.mjs +2 -2
  27. package/dist/harmony84.cjs +6 -12
  28. package/dist/harmony84.cjs.map +1 -1
  29. package/dist/harmony84.mjs +5 -11
  30. package/dist/harmony84.mjs.map +1 -1
  31. package/dist/harmony85.cjs +6 -9
  32. package/dist/harmony85.cjs.map +1 -1
  33. package/dist/harmony85.mjs +6 -9
  34. package/dist/harmony85.mjs.map +1 -1
  35. package/dist/harmony86.cjs +10 -12
  36. package/dist/harmony86.cjs.map +1 -1
  37. package/dist/harmony86.mjs +9 -11
  38. package/dist/harmony86.mjs.map +1 -1
  39. package/dist/harmony87.cjs +57 -21
  40. package/dist/harmony87.cjs.map +1 -1
  41. package/dist/harmony87.mjs +56 -20
  42. package/dist/harmony87.mjs.map +1 -1
  43. package/dist/harmony88.cjs +42 -6
  44. package/dist/harmony88.cjs.map +1 -1
  45. package/dist/harmony88.mjs +41 -5
  46. package/dist/harmony88.mjs.map +1 -1
  47. package/dist/harmony89.cjs +6 -10
  48. package/dist/harmony89.cjs.map +1 -1
  49. package/dist/harmony89.mjs +5 -9
  50. package/dist/harmony89.mjs.map +1 -1
  51. package/dist/harmony90.cjs +6 -6
  52. package/dist/harmony90.mjs +6 -6
  53. package/dist/harmony91.cjs +24 -57
  54. package/dist/harmony91.cjs.map +1 -1
  55. package/dist/harmony91.mjs +23 -56
  56. package/dist/harmony91.mjs.map +1 -1
  57. package/dist/harmony92.cjs +6 -42
  58. package/dist/harmony92.cjs.map +1 -1
  59. package/dist/harmony92.mjs +5 -41
  60. package/dist/harmony92.mjs.map +1 -1
  61. package/dist/harmony93.cjs +21 -5
  62. package/dist/harmony93.cjs.map +1 -1
  63. package/dist/harmony93.mjs +21 -5
  64. package/dist/harmony93.mjs.map +1 -1
  65. package/dist/harmony94.cjs +7 -4
  66. package/dist/harmony94.cjs.map +1 -1
  67. package/dist/harmony94.mjs +7 -4
  68. package/dist/harmony94.mjs.map +1 -1
  69. package/dist/harmony95.cjs +12 -24
  70. package/dist/harmony95.cjs.map +1 -1
  71. package/dist/harmony95.mjs +11 -23
  72. package/dist/harmony95.mjs.map +1 -1
  73. package/dist/harmony96.cjs +9 -3
  74. package/dist/harmony96.cjs.map +1 -1
  75. package/dist/harmony96.mjs +9 -3
  76. package/dist/harmony96.mjs.map +1 -1
  77. package/dist/harmony97.cjs +9 -19
  78. package/dist/harmony97.cjs.map +1 -1
  79. package/dist/harmony97.mjs +11 -21
  80. package/dist/harmony97.mjs.map +1 -1
  81. package/dist/harmony98.cjs +20 -11
  82. package/dist/harmony98.cjs.map +1 -1
  83. package/dist/harmony98.mjs +20 -11
  84. package/dist/harmony98.mjs.map +1 -1
  85. package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +3 -3
  86. package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
  87. package/dist/types/src/features/publicApi/permissionTemplates.d.ts +5 -5
  88. package/dist/types/src/features/publicApi/projects.d.ts +15 -15
  89. package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +8 -8
  90. package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +4 -4
  91. package/dist/types/src/features/publicApi/types/projectTypes.d.ts +15 -15
  92. package/package.json +2 -2
@@ -1,9 +1,15 @@
1
- const teamsContainer = "_teamsContainer_1ncrr_5";
1
+ const headerSortButton = "_headerSortButton_b5tlh_1";
2
+ const centeredCell = "_centeredCell_b5tlh_15";
3
+ const rightAlignedCell = "_rightAlignedCell_b5tlh_19";
2
4
  const styles = {
3
- teamsContainer
5
+ headerSortButton,
6
+ centeredCell,
7
+ rightAlignedCell
4
8
  };
5
9
  export {
10
+ centeredCell,
6
11
  styles as default,
7
- teamsContainer
12
+ headerSortButton,
13
+ rightAlignedCell
8
14
  };
9
15
  //# sourceMappingURL=harmony96.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony96.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"harmony96.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -2,23 +2,13 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("react/jsx-runtime");
4
4
  const louis = require("@lokalise/louis");
5
- const clsx = require("./harmony66.cjs");
6
- const UpgradeIcon_module = require("./harmony110.cjs");
7
- const UpgradeIcon = ({ className = "" }) => {
8
- return /* @__PURE__ */ jsxRuntime.jsx(
9
- "div",
10
- {
11
- "aria-label": "Upgrade Icon",
12
- className: clsx.clsx(
13
- UpgradeIcon_module.default.iconContainer,
14
- "flex-row",
15
- "items-center",
16
- "justify-center",
17
- className
18
- ),
19
- children: /* @__PURE__ */ jsxRuntime.jsx(louis.CaretUpIcon, {})
20
- }
21
- );
22
- };
23
- exports.UpgradeIcon = UpgradeIcon;
5
+ const styles_module = require("./harmony98.cjs");
6
+ const NavItemContents = ({ label, badge, novel }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-1", children: [
7
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
8
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: label }),
9
+ !!badge && /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles_module.default.badge, "aria-label": `${badge} items requiring attention`, children: badge > 9 ? "9+" : badge })
10
+ ] }),
11
+ !!novel && /* @__PURE__ */ jsxRuntime.jsx(louis.Tag, { className: styles_module.default.tag, children: novel })
12
+ ] });
13
+ exports.NavItemContents = NavItemContents;
24
14
  //# sourceMappingURL=harmony97.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony97.cjs","sources":["../src/components/Sidebar/UpgradeIcon/UpgradeIcon.tsx"],"sourcesContent":["import { CaretUpIcon } from '@lokalise/louis'\nimport clsx from 'clsx'\nimport styles from './UpgradeIcon.module.css'\n\ntype UpgradeIconProps = {\n\tclassName?: string\n}\n\nexport const UpgradeIcon = ({ className = '' }: UpgradeIconProps) => {\n\treturn (\n\t\t<div\n\t\t\taria-label={'Upgrade Icon'}\n\t\t\tclassName={clsx(\n\t\t\t\tstyles.iconContainer,\n\t\t\t\t'flex-row',\n\t\t\t\t'items-center',\n\t\t\t\t'justify-center',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<CaretUpIcon />\n\t\t</div>\n\t)\n}\n"],"names":["jsx","clsx","styles","CaretUpIcon"],"mappings":";;;;;;AAQO,MAAM,cAAc,CAAC,EAAE,YAAY,SAA2B;AAEnE,SAAAA,2BAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,cAAY;AAAA,MACZ,WAAWC,KAAA;AAAA,QACVC,mBAAAA,QAAO;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD;AAAA,MAEA,yCAACC,MAAAA,aAAY,CAAA,CAAA;AAAA,IAAA;AAAA,EACd;AAEF;;"}
1
+ {"version":3,"file":"harmony97.cjs","sources":["../src/components/NavigationPanel/components/NavigationTabs/NavigationTabsItem/NavItemContents.tsx"],"sourcesContent":["import { Tag } from '@lokalise/louis'\n\nimport classes from './styles.module.css'\n\ninterface NavItemContentProps {\n\tlabel: string\n\tbadge?: number\n\tnovel?: string\n}\nexport const NavItemContents = ({ label, badge, novel }: NavItemContentProps) => (\n\t<div className=\"flex gap-1\">\n\t\t<div>\n\t\t\t<span>{label}</span>\n\t\t\t{!!badge && (\n\t\t\t\t<div className={classes.badge} aria-label={`${badge} items requiring attention`}>\n\t\t\t\t\t{badge > 9 ? '9+' : badge}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t\t{!!novel && <Tag className={classes.tag}>{novel}</Tag>}\n\t</div>\n)\n"],"names":["jsxs","jsx","classes","Tag"],"mappings":";;;;;AASa,MAAA,kBAAkB,CAAC,EAAE,OAAO,OAAO,YAC/CA,2BAAA,KAAC,OAAI,EAAA,WAAU,cACd,UAAA;AAAA,EAAAA,gCAAC,OACA,EAAA,UAAA;AAAA,IAAAC,2BAAAA,IAAC,UAAM,UAAM,MAAA,CAAA;AAAA,IACZ,CAAC,CAAC,SACFA,+BAAC,SAAI,WAAWC,cAAA,QAAQ,OAAO,cAAY,GAAG,KAAK,8BACjD,UAAQ,QAAA,IAAI,OAAO,MACrB,CAAA;AAAA,EAAA,GAEF;AAAA,EACC,CAAC,CAAC,SAASD,2BAAA,IAACE,aAAI,WAAWD,sBAAQ,KAAM,UAAM,MAAA,CAAA;AAAA,EACjD,CAAA;;"}
@@ -1,24 +1,14 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { CaretUpIcon } from "@lokalise/louis";
3
- import { clsx } from "./harmony66.mjs";
4
- import styles from "./harmony110.mjs";
5
- const UpgradeIcon = ({ className = "" }) => {
6
- return /* @__PURE__ */ jsx(
7
- "div",
8
- {
9
- "aria-label": "Upgrade Icon",
10
- className: clsx(
11
- styles.iconContainer,
12
- "flex-row",
13
- "items-center",
14
- "justify-center",
15
- className
16
- ),
17
- children: /* @__PURE__ */ jsx(CaretUpIcon, {})
18
- }
19
- );
20
- };
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { Tag } from "@lokalise/louis";
3
+ import classes from "./harmony98.mjs";
4
+ const NavItemContents = ({ label, badge, novel }) => /* @__PURE__ */ jsxs("div", { className: "flex gap-1", children: [
5
+ /* @__PURE__ */ jsxs("div", { children: [
6
+ /* @__PURE__ */ jsx("span", { children: label }),
7
+ !!badge && /* @__PURE__ */ jsx("div", { className: classes.badge, "aria-label": `${badge} items requiring attention`, children: badge > 9 ? "9+" : badge })
8
+ ] }),
9
+ !!novel && /* @__PURE__ */ jsx(Tag, { className: classes.tag, children: novel })
10
+ ] });
21
11
  export {
22
- UpgradeIcon
12
+ NavItemContents
23
13
  };
24
14
  //# sourceMappingURL=harmony97.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony97.mjs","sources":["../src/components/Sidebar/UpgradeIcon/UpgradeIcon.tsx"],"sourcesContent":["import { CaretUpIcon } from '@lokalise/louis'\nimport clsx from 'clsx'\nimport styles from './UpgradeIcon.module.css'\n\ntype UpgradeIconProps = {\n\tclassName?: string\n}\n\nexport const UpgradeIcon = ({ className = '' }: UpgradeIconProps) => {\n\treturn (\n\t\t<div\n\t\t\taria-label={'Upgrade Icon'}\n\t\t\tclassName={clsx(\n\t\t\t\tstyles.iconContainer,\n\t\t\t\t'flex-row',\n\t\t\t\t'items-center',\n\t\t\t\t'justify-center',\n\t\t\t\tclassName,\n\t\t\t)}\n\t\t>\n\t\t\t<CaretUpIcon />\n\t\t</div>\n\t)\n}\n"],"names":[],"mappings":";;;;AAQO,MAAM,cAAc,CAAC,EAAE,YAAY,SAA2B;AAEnE,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACA,cAAY;AAAA,MACZ,WAAW;AAAA,QACV,OAAO;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD;AAAA,MAEA,8BAAC,aAAY,CAAA,CAAA;AAAA,IAAA;AAAA,EACd;AAEF;"}
1
+ {"version":3,"file":"harmony97.mjs","sources":["../src/components/NavigationPanel/components/NavigationTabs/NavigationTabsItem/NavItemContents.tsx"],"sourcesContent":["import { Tag } from '@lokalise/louis'\n\nimport classes from './styles.module.css'\n\ninterface NavItemContentProps {\n\tlabel: string\n\tbadge?: number\n\tnovel?: string\n}\nexport const NavItemContents = ({ label, badge, novel }: NavItemContentProps) => (\n\t<div className=\"flex gap-1\">\n\t\t<div>\n\t\t\t<span>{label}</span>\n\t\t\t{!!badge && (\n\t\t\t\t<div className={classes.badge} aria-label={`${badge} items requiring attention`}>\n\t\t\t\t\t{badge > 9 ? '9+' : badge}\n\t\t\t\t</div>\n\t\t\t)}\n\t\t</div>\n\t\t{!!novel && <Tag className={classes.tag}>{novel}</Tag>}\n\t</div>\n)\n"],"names":[],"mappings":";;;AASa,MAAA,kBAAkB,CAAC,EAAE,OAAO,OAAO,YAC/C,qBAAC,OAAI,EAAA,WAAU,cACd,UAAA;AAAA,EAAA,qBAAC,OACA,EAAA,UAAA;AAAA,IAAA,oBAAC,UAAM,UAAM,MAAA,CAAA;AAAA,IACZ,CAAC,CAAC,SACF,oBAAC,SAAI,WAAW,QAAQ,OAAO,cAAY,GAAG,KAAK,8BACjD,UAAQ,QAAA,IAAI,OAAO,MACrB,CAAA;AAAA,EAAA,GAEF;AAAA,EACC,CAAC,CAAC,SAAS,oBAAC,OAAI,WAAW,QAAQ,KAAM,UAAM,MAAA,CAAA;AAAA,EACjD,CAAA;"}
@@ -1,15 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const container = "_container_1u995_1";
4
- const planCta = "_planCta_1u995_15";
5
- const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
6
- const styles = {
7
- container,
8
- planCta,
9
- upgradeIconWrapper
3
+ const badge = "_badge_1pc1v_1";
4
+ const tag = "_tag_1pc1v_15";
5
+ const withNavLinkStyle = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21";
6
+ const disabled = "_disabled_1pc1v_57";
7
+ const projectNavigationItem = "_projectNavigationItem_1pc1v_61";
8
+ const projectNavigationItemDisabled = "_projectNavigationItemDisabled_1pc1v_67";
9
+ const classes = {
10
+ badge,
11
+ tag,
12
+ withNavLinkStyle,
13
+ disabled,
14
+ projectNavigationItem,
15
+ projectNavigationItemDisabled
10
16
  };
11
- exports.container = container;
12
- exports.default = styles;
13
- exports.planCta = planCta;
14
- exports.upgradeIconWrapper = upgradeIconWrapper;
17
+ exports.badge = badge;
18
+ exports.default = classes;
19
+ exports.disabled = disabled;
20
+ exports.projectNavigationItem = projectNavigationItem;
21
+ exports.projectNavigationItemDisabled = projectNavigationItemDisabled;
22
+ exports.tag = tag;
23
+ exports.withNavLinkStyle = withNavLinkStyle;
15
24
  //# sourceMappingURL=harmony98.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony98.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony98.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,15 +1,24 @@
1
- const container = "_container_1u995_1";
2
- const planCta = "_planCta_1u995_15";
3
- const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
4
- const styles = {
5
- container,
6
- planCta,
7
- upgradeIconWrapper
1
+ const badge = "_badge_1pc1v_1";
2
+ const tag = "_tag_1pc1v_15";
3
+ const withNavLinkStyle = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21";
4
+ const disabled = "_disabled_1pc1v_57";
5
+ const projectNavigationItem = "_projectNavigationItem_1pc1v_61";
6
+ const projectNavigationItemDisabled = "_projectNavigationItemDisabled_1pc1v_67";
7
+ const classes = {
8
+ badge,
9
+ tag,
10
+ withNavLinkStyle,
11
+ disabled,
12
+ projectNavigationItem,
13
+ projectNavigationItemDisabled
8
14
  };
9
15
  export {
10
- container,
11
- styles as default,
12
- planCta,
13
- upgradeIconWrapper
16
+ badge,
17
+ classes as default,
18
+ disabled,
19
+ projectNavigationItem,
20
+ projectNavigationItemDisabled,
21
+ tag,
22
+ withNavLinkStyle
14
23
  };
15
24
  //# sourceMappingURL=harmony98.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony98.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"harmony98.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -20,12 +20,12 @@ export declare function useGetProjectPermissionMetaQuery<T>(wretchClient: Wretch
20
20
  project_uuid: string;
21
21
  permissions: {
22
22
  title: string;
23
- id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
23
+ id: string;
24
24
  group: string;
25
25
  scope: "team" | "project" | "user";
26
26
  description: string | null;
27
27
  doesSetAllReadOnlyLanguages: boolean;
28
- dependentPermissions?: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[] | undefined;
28
+ dependentPermissions?: string[] | undefined;
29
29
  newPermission?: boolean | undefined;
30
30
  isHidden?: boolean | undefined;
31
31
  }[];
@@ -34,7 +34,7 @@ export declare function useGetProjectPermissionMetaQuery<T>(wretchClient: Wretch
34
34
  id: number;
35
35
  tag: string | null;
36
36
  description: string | null;
37
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
37
+ permissions: string[];
38
38
  tagColor: string | null;
39
39
  tagInfo: string | null;
40
40
  isForMarketingProjects: boolean;
@@ -22,7 +22,7 @@ export declare const useListPermissionTemplatesQuery: <T>(wretchClient: Wretch<T
22
22
  id: string;
23
23
  tag: string | null;
24
24
  description: string | null;
25
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
25
+ permissions: string[];
26
26
  tagColor: string | null;
27
27
  tagInfo: string | null;
28
28
  isForMarketingProjects: boolean;
@@ -7,7 +7,7 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
7
7
  roles: import('zod').ZodArray<import('zod').ZodObject<{
8
8
  id: import('zod').ZodString;
9
9
  role: import('zod').ZodString;
10
- permissions: import('zod').ZodArray<import('zod').ZodUnion<[import('zod').ZodLiteral<"activity">, import('zod').ZodLiteral<"branches_create">, import('zod').ZodLiteral<"branches_main_modify">, import('zod').ZodLiteral<"branches_merge">, import('zod').ZodLiteral<"contributors">, import('zod').ZodLiteral<"custom_status_modify">, import('zod').ZodLiteral<"download">, import('zod').ZodLiteral<"glossary_delete">, import('zod').ZodLiteral<"glossary_edit">, import('zod').ZodLiteral<"manage_keys">, import('zod').ZodLiteral<"manage_languages">, import('zod').ZodLiteral<"review">, import('zod').ZodLiteral<"screenshots">, import('zod').ZodLiteral<"settings">, import('zod').ZodLiteral<"statistics">, import('zod').ZodLiteral<"upload">]>, "many">;
10
+ permissions: import('zod').ZodArray<import('zod').ZodString, "many">;
11
11
  description: import('zod').ZodNullable<import('zod').ZodString>;
12
12
  tag: import('zod').ZodNullable<import('zod').ZodString>;
13
13
  tagColor: import('zod').ZodNullable<import('zod').ZodString>;
@@ -19,7 +19,7 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
19
19
  id: string;
20
20
  tag: string | null;
21
21
  description: string | null;
22
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
22
+ permissions: string[];
23
23
  tagColor: string | null;
24
24
  tagInfo: string | null;
25
25
  isForMarketingProjects: boolean;
@@ -29,7 +29,7 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
29
29
  id: string;
30
30
  tag: string | null;
31
31
  description: string | null;
32
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
32
+ permissions: string[];
33
33
  tagColor: string | null;
34
34
  tagInfo: string | null;
35
35
  isForMarketingProjects: boolean;
@@ -41,7 +41,7 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
41
41
  id: string;
42
42
  tag: string | null;
43
43
  description: string | null;
44
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
44
+ permissions: string[];
45
45
  tagColor: string | null;
46
46
  tagInfo: string | null;
47
47
  isForMarketingProjects: boolean;
@@ -53,7 +53,7 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
53
53
  id: string;
54
54
  tag: string | null;
55
55
  description: string | null;
56
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
56
+ permissions: string[];
57
57
  tagColor: string | null;
58
58
  tagInfo: string | null;
59
59
  isForMarketingProjects: boolean;
@@ -1717,40 +1717,40 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1717
1717
  project_id: import('zod').ZodString;
1718
1718
  project_uuid: import('zod').ZodString;
1719
1719
  permissions: import('zod').ZodArray<import('zod').ZodObject<{
1720
- id: import('zod').ZodUnion<[import('zod').ZodLiteral<"activity">, import('zod').ZodLiteral<"branches_create">, import('zod').ZodLiteral<"branches_main_modify">, import('zod').ZodLiteral<"branches_merge">, import('zod').ZodLiteral<"contributors">, import('zod').ZodLiteral<"custom_status_modify">, import('zod').ZodLiteral<"download">, import('zod').ZodLiteral<"glossary_delete">, import('zod').ZodLiteral<"glossary_edit">, import('zod').ZodLiteral<"manage_keys">, import('zod').ZodLiteral<"manage_languages">, import('zod').ZodLiteral<"review">, import('zod').ZodLiteral<"screenshots">, import('zod').ZodLiteral<"settings">, import('zod').ZodLiteral<"statistics">, import('zod').ZodLiteral<"upload">]>;
1720
+ id: import('zod').ZodString;
1721
1721
  scope: import('zod').ZodUnion<[import('zod').ZodLiteral<"project">, import('zod').ZodLiteral<"team">, import('zod').ZodLiteral<"user">]>;
1722
1722
  title: import('zod').ZodString;
1723
1723
  group: import('zod').ZodString;
1724
1724
  description: import('zod').ZodNullable<import('zod').ZodString>;
1725
- dependentPermissions: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodUnion<[import('zod').ZodLiteral<"activity">, import('zod').ZodLiteral<"branches_create">, import('zod').ZodLiteral<"branches_main_modify">, import('zod').ZodLiteral<"branches_merge">, import('zod').ZodLiteral<"contributors">, import('zod').ZodLiteral<"custom_status_modify">, import('zod').ZodLiteral<"download">, import('zod').ZodLiteral<"glossary_delete">, import('zod').ZodLiteral<"glossary_edit">, import('zod').ZodLiteral<"manage_keys">, import('zod').ZodLiteral<"manage_languages">, import('zod').ZodLiteral<"review">, import('zod').ZodLiteral<"screenshots">, import('zod').ZodLiteral<"settings">, import('zod').ZodLiteral<"statistics">, import('zod').ZodLiteral<"upload">]>, "many">>;
1725
+ dependentPermissions: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
1726
1726
  doesSetAllReadOnlyLanguages: import('zod').ZodBoolean;
1727
1727
  newPermission: import('zod').ZodOptional<import('zod').ZodBoolean>;
1728
1728
  isHidden: import('zod').ZodOptional<import('zod').ZodBoolean>;
1729
1729
  }, "strip", import('zod').ZodTypeAny, {
1730
1730
  title: string;
1731
- id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
1731
+ id: string;
1732
1732
  group: string;
1733
1733
  scope: "team" | "project" | "user";
1734
1734
  description: string | null;
1735
1735
  doesSetAllReadOnlyLanguages: boolean;
1736
- dependentPermissions?: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[] | undefined;
1736
+ dependentPermissions?: string[] | undefined;
1737
1737
  newPermission?: boolean | undefined;
1738
1738
  isHidden?: boolean | undefined;
1739
1739
  }, {
1740
1740
  title: string;
1741
- id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
1741
+ id: string;
1742
1742
  group: string;
1743
1743
  scope: "team" | "project" | "user";
1744
1744
  description: string | null;
1745
1745
  doesSetAllReadOnlyLanguages: boolean;
1746
- dependentPermissions?: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[] | undefined;
1746
+ dependentPermissions?: string[] | undefined;
1747
1747
  newPermission?: boolean | undefined;
1748
1748
  isHidden?: boolean | undefined;
1749
1749
  }>, "many">;
1750
1750
  roles: import('zod').ZodArray<import('zod').ZodObject<{
1751
1751
  id: import('zod').ZodNumber;
1752
1752
  role: import('zod').ZodString;
1753
- permissions: import('zod').ZodArray<import('zod').ZodUnion<[import('zod').ZodLiteral<"activity">, import('zod').ZodLiteral<"branches_create">, import('zod').ZodLiteral<"branches_main_modify">, import('zod').ZodLiteral<"branches_merge">, import('zod').ZodLiteral<"contributors">, import('zod').ZodLiteral<"custom_status_modify">, import('zod').ZodLiteral<"download">, import('zod').ZodLiteral<"glossary_delete">, import('zod').ZodLiteral<"glossary_edit">, import('zod').ZodLiteral<"manage_keys">, import('zod').ZodLiteral<"manage_languages">, import('zod').ZodLiteral<"review">, import('zod').ZodLiteral<"screenshots">, import('zod').ZodLiteral<"settings">, import('zod').ZodLiteral<"statistics">, import('zod').ZodLiteral<"upload">]>, "many">;
1753
+ permissions: import('zod').ZodArray<import('zod').ZodString, "many">;
1754
1754
  description: import('zod').ZodNullable<import('zod').ZodString>;
1755
1755
  tag: import('zod').ZodNullable<import('zod').ZodString>;
1756
1756
  tagColor: import('zod').ZodNullable<import('zod').ZodString>;
@@ -1762,7 +1762,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1762
1762
  id: number;
1763
1763
  tag: string | null;
1764
1764
  description: string | null;
1765
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
1765
+ permissions: string[];
1766
1766
  tagColor: string | null;
1767
1767
  tagInfo: string | null;
1768
1768
  isForMarketingProjects: boolean;
@@ -1772,7 +1772,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1772
1772
  id: number;
1773
1773
  tag: string | null;
1774
1774
  description: string | null;
1775
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
1775
+ permissions: string[];
1776
1776
  tagColor: string | null;
1777
1777
  tagInfo: string | null;
1778
1778
  isForMarketingProjects: boolean;
@@ -1783,12 +1783,12 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1783
1783
  project_uuid: string;
1784
1784
  permissions: {
1785
1785
  title: string;
1786
- id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
1786
+ id: string;
1787
1787
  group: string;
1788
1788
  scope: "team" | "project" | "user";
1789
1789
  description: string | null;
1790
1790
  doesSetAllReadOnlyLanguages: boolean;
1791
- dependentPermissions?: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[] | undefined;
1791
+ dependentPermissions?: string[] | undefined;
1792
1792
  newPermission?: boolean | undefined;
1793
1793
  isHidden?: boolean | undefined;
1794
1794
  }[];
@@ -1797,7 +1797,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1797
1797
  id: number;
1798
1798
  tag: string | null;
1799
1799
  description: string | null;
1800
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
1800
+ permissions: string[];
1801
1801
  tagColor: string | null;
1802
1802
  tagInfo: string | null;
1803
1803
  isForMarketingProjects: boolean;
@@ -1808,12 +1808,12 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1808
1808
  project_uuid: string;
1809
1809
  permissions: {
1810
1810
  title: string;
1811
- id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
1811
+ id: string;
1812
1812
  group: string;
1813
1813
  scope: "team" | "project" | "user";
1814
1814
  description: string | null;
1815
1815
  doesSetAllReadOnlyLanguages: boolean;
1816
- dependentPermissions?: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[] | undefined;
1816
+ dependentPermissions?: string[] | undefined;
1817
1817
  newPermission?: boolean | undefined;
1818
1818
  isHidden?: boolean | undefined;
1819
1819
  }[];
@@ -1822,7 +1822,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
1822
1822
  id: number;
1823
1823
  tag: string | null;
1824
1824
  description: string | null;
1825
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
1825
+ permissions: string[];
1826
1826
  tagColor: string | null;
1827
1827
  tagInfo: string | null;
1828
1828
  isForMarketingProjects: boolean;
@@ -4,7 +4,7 @@ export type Permission = z.infer<typeof PERMISSION_SCHEMA>;
4
4
  export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  role: z.ZodString;
7
- permissions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>, "many">;
7
+ permissions: z.ZodArray<z.ZodString, "many">;
8
8
  description: z.ZodNullable<z.ZodString>;
9
9
  tag: z.ZodNullable<z.ZodString>;
10
10
  tagColor: z.ZodNullable<z.ZodString>;
@@ -16,7 +16,7 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
16
16
  id: string;
17
17
  tag: string | null;
18
18
  description: string | null;
19
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
19
+ permissions: string[];
20
20
  tagColor: string | null;
21
21
  tagInfo: string | null;
22
22
  isForMarketingProjects: boolean;
@@ -26,7 +26,7 @@ export declare const PERMISSION_TEMPLATE_SCHEMA: z.ZodObject<{
26
26
  id: string;
27
27
  tag: string | null;
28
28
  description: string | null;
29
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
29
+ permissions: string[];
30
30
  tagColor: string | null;
31
31
  tagInfo: string | null;
32
32
  isForMarketingProjects: boolean;
@@ -45,7 +45,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
45
45
  roles: z.ZodArray<z.ZodObject<{
46
46
  id: z.ZodString;
47
47
  role: z.ZodString;
48
- permissions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>, "many">;
48
+ permissions: z.ZodArray<z.ZodString, "many">;
49
49
  description: z.ZodNullable<z.ZodString>;
50
50
  tag: z.ZodNullable<z.ZodString>;
51
51
  tagColor: z.ZodNullable<z.ZodString>;
@@ -57,7 +57,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
57
57
  id: string;
58
58
  tag: string | null;
59
59
  description: string | null;
60
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
60
+ permissions: string[];
61
61
  tagColor: string | null;
62
62
  tagInfo: string | null;
63
63
  isForMarketingProjects: boolean;
@@ -67,7 +67,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
67
67
  id: string;
68
68
  tag: string | null;
69
69
  description: string | null;
70
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
70
+ permissions: string[];
71
71
  tagColor: string | null;
72
72
  tagInfo: string | null;
73
73
  isForMarketingProjects: boolean;
@@ -79,7 +79,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
79
79
  id: string;
80
80
  tag: string | null;
81
81
  description: string | null;
82
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
82
+ permissions: string[];
83
83
  tagColor: string | null;
84
84
  tagInfo: string | null;
85
85
  isForMarketingProjects: boolean;
@@ -91,7 +91,7 @@ export declare const LIST_PERMISSION_TEMPLATES_RESPONSE: z.ZodObject<{
91
91
  id: string;
92
92
  tag: string | null;
93
93
  description: string | null;
94
- permissions: ("review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload")[];
94
+ permissions: string[];
95
95
  tagColor: string | null;
96
96
  tagInfo: string | null;
97
97
  isForMarketingProjects: boolean;
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
- export declare const PERMISSION_ID_SCHEMA: z.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>;
2
+ export declare const PERMISSION_ID_SCHEMA: z.ZodString;
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.ZodUnion<[z.ZodLiteral<"activity">, z.ZodLiteral<"branches_create">, z.ZodLiteral<"branches_main_modify">, z.ZodLiteral<"branches_merge">, z.ZodLiteral<"contributors">, z.ZodLiteral<"custom_status_modify">, z.ZodLiteral<"download">, z.ZodLiteral<"glossary_delete">, z.ZodLiteral<"glossary_edit">, z.ZodLiteral<"manage_keys">, z.ZodLiteral<"manage_languages">, z.ZodLiteral<"review">, z.ZodLiteral<"screenshots">, z.ZodLiteral<"settings">, z.ZodLiteral<"statistics">, z.ZodLiteral<"upload">]>;
7
+ id: z.ZodString;
8
8
  scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
9
9
  title: z.ZodString;
10
10
  group: z.ZodString;
@@ -14,7 +14,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
14
14
  is_hidden: z.ZodBoolean;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  title: string;
17
- id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
17
+ id: string;
18
18
  group: string;
19
19
  scope: "team" | "project" | "user";
20
20
  description: string | null;
@@ -23,7 +23,7 @@ export declare const PERMISSION_DETAILS_SCHEMA: z.ZodObject<{
23
23
  is_hidden: boolean;
24
24
  }, {
25
25
  title: string;
26
- id: "review" | "download" | "contributors" | "activity" | "branches_create" | "branches_main_modify" | "branches_merge" | "custom_status_modify" | "glossary_delete" | "glossary_edit" | "manage_keys" | "manage_languages" | "screenshots" | "settings" | "statistics" | "upload";
26
+ id: string;
27
27
  group: string;
28
28
  scope: "team" | "project" | "user";
29
29
  description: string | null;