@lokalise/harmony 1.37.0 → 1.37.1-exp-epic2x.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.
- package/dist/harmony.css +110 -317
- package/dist/harmony100.cjs +10 -6
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +9 -5
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +22 -14
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +24 -16
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +14 -12
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +13 -11
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +34 -96
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +34 -79
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +12 -12
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +12 -12
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +22 -18
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +22 -18
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +35 -21
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +34 -20
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +21 -6
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +20 -5
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +19 -130
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +19 -130
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +3 -9
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +3 -9
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +16 -6
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +15 -5
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +6 -41
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +5 -40
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +6 -61
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +5 -60
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +9 -7
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +8 -6
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +3 -3
- package/dist/harmony114.mjs +3 -3
- package/dist/harmony115.cjs +9 -5
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +9 -5
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +24 -5
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +24 -5
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +7 -97
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +6 -96
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +13 -14
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +12 -13
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +7 -15
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +6 -14
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +94 -34
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +94 -34
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +11 -26
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +11 -26
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +12 -60
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +12 -60
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +36 -88
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +36 -88
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +29 -19
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +28 -18
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +1 -1
- package/dist/harmony125.mjs +1 -1
- package/dist/harmony126.cjs +1 -1
- package/dist/harmony126.mjs +1 -1
- package/dist/harmony127.cjs +2 -2
- package/dist/harmony127.mjs +2 -2
- package/dist/harmony128.cjs +11 -7
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +11 -7
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +15 -56
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +15 -56
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony13.cjs +1 -1
- package/dist/harmony13.mjs +1 -1
- package/dist/harmony130.cjs +20 -59
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +20 -59
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +13 -19
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +12 -18
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +5 -10
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +5 -10
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +11 -15
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +11 -15
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +28 -17
- package/dist/harmony134.cjs.map +1 -1
- package/dist/harmony134.mjs +28 -17
- package/dist/harmony134.mjs.map +1 -1
- package/dist/harmony135.cjs +12 -10
- package/dist/harmony135.cjs.map +1 -1
- package/dist/harmony135.mjs +12 -10
- package/dist/harmony135.mjs.map +1 -1
- package/dist/harmony16.cjs +1 -1
- package/dist/harmony16.mjs +1 -1
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- package/dist/harmony24.cjs +1 -1
- package/dist/harmony24.mjs +1 -1
- package/dist/harmony4.cjs +15 -24
- package/dist/harmony4.cjs.map +1 -1
- package/dist/harmony4.mjs +15 -24
- package/dist/harmony4.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony6.cjs +3 -3
- package/dist/harmony6.mjs +3 -3
- package/dist/harmony7.cjs +1 -1
- package/dist/harmony7.mjs +1 -1
- package/dist/harmony72.cjs +1 -1
- package/dist/harmony72.mjs +1 -1
- package/dist/harmony73.cjs +51 -6
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +50 -5
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +38 -8
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +39 -9
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +9 -18
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +8 -17
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +6 -21
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +8 -23
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +28 -4
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +28 -4
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +3 -32
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +3 -32
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +30 -29
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +31 -30
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +25 -17
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +25 -17
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +3 -31
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +3 -31
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +12 -53
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +14 -55
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +75 -9
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +74 -8
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +11 -7
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +12 -8
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +29 -28
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +29 -28
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +9 -3
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +9 -3
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +42 -28
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +44 -30
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +9 -12
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +8 -11
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +12 -13
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +11 -12
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +22 -12
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +21 -11
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +12 -21
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +11 -20
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +9 -3
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +9 -3
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +99 -9
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +81 -8
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +14 -9
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +13 -8
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +20 -57
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +20 -57
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +9 -42
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +8 -41
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +14 -5
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +14 -5
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +17 -9
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +16 -8
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +21 -24
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +20 -23
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/components/Sidebar/Sidebar.d.ts +15 -49
- package/dist/types/src/components/Sidebar/SidebarContent/SidebarContent.d.ts +7 -0
- package/dist/types/src/components/Sidebar/SidebarContext.d.ts +3 -0
- package/dist/types/src/components/Sidebar/SidebarProvider.d.ts +3 -0
- package/dist/types/src/components/Sidebar/Widgets/Avatar/Avatar.d.ts +5 -0
- package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/HelpMenu/HelpMenu.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/IconLink/IconLink.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Menu/Menu.d.ts +3 -2
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/BillingMenuItem/BillingMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.d.ts +17 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeam/CreateNewTeam.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.d.ts +17 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/CreateNewTeamPlaceholder/CreateNewTeamPlaceholder.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/DarkModeToggle/DarkModeToggle.d.ts +18 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.d.ts +11 -24
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenu.stories.d.ts +3 -5
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.d.ts +10 -35
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileSettingsMenuItem/ProfileSettingsMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProviderMenuItem/ProviderMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.d.ts +1 -3
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamMenuItem/TeamMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.d.ts +13 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSettingsMenuItem/TeamSettingsMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.d.ts +5 -7
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/TeamSwitch/TeamSwitch.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.d.ts +6 -9
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.test.d.ts +1 -0
- package/dist/types/src/components/Sidebar/Widgets/Tasks/utils/content.d.ts +4 -0
- package/dist/types/src/components/Sidebar/hooks/useSidebar.d.ts +1 -0
- package/dist/types/src/components/Sidebar/hooks/useSidebarDataLoader.d.ts +5 -0
- package/dist/types/src/components/Sidebar/types.d.ts +72 -0
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.d.ts +16 -10
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.fixture.d.ts +15 -11
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedSessionPayload.d.ts +7 -5
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useCreateProjectMutation.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListProjectsQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useRetrieveProjectQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useUpdateProjectMutation.d.ts +1 -1
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +4 -4
- package/dist/types/src/features/publicApi/projects.d.ts +18 -18
- package/dist/types/src/features/publicApi/teamUsers.d.ts +8 -8
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +6 -6
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +2 -2
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +18 -18
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +10 -10
- package/dist/types/src/utils/user/permissions.d.ts +9 -0
- package/dist/types/src/utils/user/permissions.test.d.ts +1 -0
- package/dist/types/tests/mocks/sidebar/sidebar.d.ts +19 -0
- package/dist/types/tests/utils/sidebar.d.ts +4 -0
- package/package.json +1 -1
- package/dist/harmony136.cjs +0 -9
- package/dist/harmony136.cjs.map +0 -1
- package/dist/harmony136.mjs +0 -9
- package/dist/harmony136.mjs.map +0 -1
- package/dist/harmony137.cjs +0 -15
- package/dist/harmony137.cjs.map +0 -1
- package/dist/harmony137.mjs +0 -15
- package/dist/harmony137.mjs.map +0 -1
- package/dist/harmony138.cjs +0 -35
- package/dist/harmony138.cjs.map +0 -1
- package/dist/harmony138.mjs +0 -35
- package/dist/harmony138.mjs.map +0 -1
- package/dist/harmony139.cjs +0 -17
- package/dist/harmony139.cjs.map +0 -1
- package/dist/harmony139.mjs +0 -17
- package/dist/harmony139.mjs.map +0 -1
- package/dist/harmony140.cjs +0 -49
- package/dist/harmony140.cjs.map +0 -1
- package/dist/harmony140.mjs +0 -49
- package/dist/harmony140.mjs.map +0 -1
- package/dist/harmony141.cjs +0 -15
- package/dist/harmony141.cjs.map +0 -1
- package/dist/harmony141.mjs +0 -15
- package/dist/harmony141.mjs.map +0 -1
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContent.d.ts +0 -6
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuContext.d.ts +0 -3
- package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/ProfileMenuProvider.d.ts +0 -7
- package/dist/types/src/components/Sidebar/utils/index.d.ts +0 -4
- /package/dist/types/src/components/Sidebar/Widgets/{ProfileMenu/ProfileMenu.test.d.ts → Avatar/Avatar.test.d.ts} +0 -0
- /package/dist/types/src/components/Sidebar/{UpgradeIcon → Widgets/ProfileMenu/UpgradeIcon}/UpgradeIcon.d.ts +0 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* A menu item component for navigating to the team settings page.
|
3
|
+
* It checks the current user's permissions using the Sidebar context
|
4
|
+
* and renders nothing if the user does not have access.
|
5
|
+
*
|
6
|
+
* @example
|
7
|
+
* ```
|
8
|
+
* <TeamSettingsMenuItem />
|
9
|
+
* ```
|
10
|
+
*
|
11
|
+
* @note This component must be used within a Sidebar Context.
|
12
|
+
*/
|
13
|
+
export declare const TeamSettingsMenuItem: () => import("react/jsx-runtime").JSX.Element | null;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,14 +1,10 @@
|
|
1
1
|
import { SidebarTeam } from '../../../types';
|
2
|
-
type TeamSwitchProps = {
|
3
|
-
/** Callback function triggered when a user selects a different team */
|
4
|
-
onSwitchTeam: (team: SidebarTeam) => void;
|
5
|
-
};
|
6
2
|
/**
|
7
3
|
* A component that displays a list of available teams for switching.
|
8
4
|
* It automatically excludes the current team from the list and renders
|
9
5
|
* nothing if there are no other teams available.
|
10
6
|
*
|
11
|
-
* Uses the
|
7
|
+
* Uses the Sidebar context to access the list of other teams and
|
12
8
|
* renders each team as a TeamMenuItem with click functionality.
|
13
9
|
*
|
14
10
|
* @example
|
@@ -21,8 +17,10 @@ type TeamSwitchProps = {
|
|
21
17
|
* />
|
22
18
|
* ```
|
23
19
|
*
|
24
|
-
* @note This component must be used within a
|
25
|
-
* as it requires access to the ProfileMenu context.
|
20
|
+
* @note This component must be used within a Sidebar Context
|
26
21
|
*/
|
22
|
+
type TeamSwitchProps = {
|
23
|
+
onSwitchTeam: (team: SidebarTeam) => void;
|
24
|
+
};
|
27
25
|
export declare const TeamSwitch: ({ onSwitchTeam }: TeamSwitchProps) => import("react/jsx-runtime").JSX.Element | null;
|
28
26
|
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/dist/types/src/components/Sidebar/Widgets/ProfileMenu/UpgradeMenuItem/UpgradeMenuItem.d.ts
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
type UpgradeMenuItemProps = {
|
2
|
-
/** URL to the upgrade page or pricing options */
|
3
|
-
upgradeOptionHref: string;
|
4
|
-
};
|
5
1
|
/**
|
6
2
|
* A menu item component that displays upgrade call-to-action information.
|
7
3
|
* Only renders when upgrade options should be shown (determined by context).
|
@@ -15,12 +11,13 @@ type UpgradeMenuItemProps = {
|
|
15
11
|
*
|
16
12
|
* @example
|
17
13
|
* ```tsx
|
18
|
-
* <UpgradeMenuItem
|
14
|
+
* <UpgradeMenuItem href="/pricing" />
|
19
15
|
* ```
|
20
16
|
*
|
21
|
-
* @note This component must be used within a
|
22
|
-
* as it requires access to the ProfileMenu context for plan information
|
23
|
-
* and visibility control.
|
17
|
+
* @note This component must be used within a Sidebar Context
|
24
18
|
*/
|
25
|
-
|
19
|
+
type UpgradeMenuItemProps = {
|
20
|
+
href: string;
|
21
|
+
};
|
22
|
+
export declare const UpgradeMenuItem: ({ href }: UpgradeMenuItemProps) => import("react/jsx-runtime").JSX.Element | null;
|
26
23
|
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -14,3 +14,7 @@ export declare const getTaskLanguages: (langs: SidebarTaskLanguage[]) => {
|
|
14
14
|
base_words_done: number;
|
15
15
|
}[];
|
16
16
|
export declare const isLanguageProgressCompleted: (task: SidebarTask, language: SidebarTaskLanguage) => boolean;
|
17
|
+
export declare const splitFileName: (fileName: string) => {
|
18
|
+
name: string;
|
19
|
+
extension: string;
|
20
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const useSidebar: () => import('../types').SidebarContextProps;
|
@@ -1,4 +1,72 @@
|
|
1
|
+
import { JwtTokenPayload } from '../../features/auth/core/types/jwtTokenPayload';
|
1
2
|
import { TypesFromMap } from '../../utils/node.ts';
|
3
|
+
import { ReactNode } from 'react';
|
4
|
+
type AvatarWidgetConfig = {
|
5
|
+
src: string;
|
6
|
+
href: string;
|
7
|
+
ariaLabel?: string;
|
8
|
+
alt?: string;
|
9
|
+
};
|
10
|
+
export type HelpMenuConfig = {
|
11
|
+
contactSupport?: {
|
12
|
+
onClick: () => void;
|
13
|
+
};
|
14
|
+
keyboardShortcuts?: {
|
15
|
+
label: ReactNode;
|
16
|
+
onClick: () => void;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
export type ProfileMenuConfig = {
|
20
|
+
upgradeMenuItem: {
|
21
|
+
href: string;
|
22
|
+
};
|
23
|
+
teamSwitch?: {
|
24
|
+
onSwitchTeam: (team: SidebarTeam) => void;
|
25
|
+
};
|
26
|
+
createTeam?: {
|
27
|
+
onCreateTeam: () => void;
|
28
|
+
};
|
29
|
+
createTeamPlaceholder?: {
|
30
|
+
onClick: () => void;
|
31
|
+
};
|
32
|
+
profileSettings?: {
|
33
|
+
onClick: () => void;
|
34
|
+
};
|
35
|
+
darkModeToggle?: {
|
36
|
+
onToggle: () => void;
|
37
|
+
isDarkMode: boolean;
|
38
|
+
};
|
39
|
+
};
|
40
|
+
export type SidebarWidgetsConfig = {
|
41
|
+
avatar: AvatarWidgetConfig;
|
42
|
+
profileMenu: ProfileMenuConfig;
|
43
|
+
helpMenu?: HelpMenuConfig;
|
44
|
+
};
|
45
|
+
export type SidebarConfig = {
|
46
|
+
widgets: SidebarWidgetsConfig;
|
47
|
+
getJWTPayload: () => Promise<JwtTokenPayload | null>;
|
48
|
+
getCurrentTeam: (props: {
|
49
|
+
teamId: number;
|
50
|
+
}) => Promise<SidebarTeamExtended | null>;
|
51
|
+
getUserTeams: () => Promise<SidebarTeam[] | null>;
|
52
|
+
};
|
53
|
+
export type SidebarProviderProps = {
|
54
|
+
config: Omit<SidebarConfig, 'widgets'>;
|
55
|
+
};
|
56
|
+
export type SidebarDataBase<T> = {
|
57
|
+
loading: boolean;
|
58
|
+
error: boolean;
|
59
|
+
result: T | null;
|
60
|
+
};
|
61
|
+
type SidebarData = {
|
62
|
+
jwt: SidebarDataBase<JwtTokenPayload>;
|
63
|
+
userTeams: SidebarDataBase<SidebarTeam[]>;
|
64
|
+
currentTeam: SidebarDataBase<SidebarTeamExtended>;
|
65
|
+
otherTeams: SidebarDataBase<SidebarTeam[]>;
|
66
|
+
};
|
67
|
+
export type SidebarContextProps = {
|
68
|
+
data: SidebarData;
|
69
|
+
};
|
2
70
|
export declare const SidebarTeamRoles: {
|
3
71
|
readonly member: "member";
|
4
72
|
readonly admin: "admin";
|
@@ -12,3 +80,7 @@ export type SidebarTeam = {
|
|
12
80
|
role: SidebarTeamRole;
|
13
81
|
logoUrl: string;
|
14
82
|
};
|
83
|
+
export type SidebarTeamExtended = SidebarTeam & {
|
84
|
+
trialDaysLeft: number;
|
85
|
+
};
|
86
|
+
export {};
|
@@ -12,34 +12,40 @@ export declare const JWT_TOKEN_PAYLOAD_SCHEMA: z.ZodObject<{
|
|
12
12
|
planName: z.ZodString;
|
13
13
|
isProviderAlpha: z.ZodBoolean;
|
14
14
|
isFullyAuthenticated: z.ZodBoolean;
|
15
|
+
isEndOfTrialActive: z.ZodBoolean;
|
16
|
+
isTeamSuspended: z.ZodBoolean;
|
15
17
|
exp: z.ZodNumber;
|
16
18
|
}, "strip", z.ZodTypeAny, {
|
17
|
-
isProviderAlpha: boolean;
|
18
|
-
isFullyAuthenticated: boolean;
|
19
|
-
planId: number;
|
20
|
-
userTeamRole: "member" | "admin" | "biller" | "owner";
|
21
|
-
userEmail: string;
|
22
19
|
userId: number;
|
23
20
|
userUuid: string;
|
24
21
|
teamId: number;
|
25
22
|
teamUuid: string;
|
23
|
+
userTeamRole: "owner" | "admin" | "biller" | "member";
|
24
|
+
userEmail: string;
|
26
25
|
userName: string;
|
27
26
|
userCurrentTeamId: number;
|
27
|
+
planId: number;
|
28
28
|
planName: string;
|
29
|
-
exp: number;
|
30
|
-
}, {
|
31
29
|
isProviderAlpha: boolean;
|
32
30
|
isFullyAuthenticated: boolean;
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
isEndOfTrialActive: boolean;
|
32
|
+
isTeamSuspended: boolean;
|
33
|
+
exp: number;
|
34
|
+
}, {
|
36
35
|
userId: number;
|
37
36
|
userUuid: string;
|
38
37
|
teamId: number;
|
39
38
|
teamUuid: string;
|
39
|
+
userTeamRole: "owner" | "admin" | "biller" | "member";
|
40
|
+
userEmail: string;
|
40
41
|
userName: string;
|
41
42
|
userCurrentTeamId: number;
|
43
|
+
planId: number;
|
42
44
|
planName: string;
|
45
|
+
isProviderAlpha: boolean;
|
46
|
+
isFullyAuthenticated: boolean;
|
47
|
+
isEndOfTrialActive: boolean;
|
48
|
+
isTeamSuspended: boolean;
|
43
49
|
exp: number;
|
44
50
|
}>;
|
45
51
|
export type JwtTokenPayload = z.infer<typeof JWT_TOKEN_PAYLOAD_SCHEMA>;
|
@@ -1,29 +1,33 @@
|
|
1
1
|
export declare const createMockJwtTokenPayload: (overrides?: {
|
2
|
-
isProviderAlpha?: boolean | undefined;
|
3
|
-
isFullyAuthenticated?: boolean | undefined;
|
4
|
-
planId?: number | undefined;
|
5
|
-
userTeamRole?: "member" | "admin" | "biller" | "owner" | undefined;
|
6
|
-
userEmail?: string | undefined;
|
7
2
|
userId?: number | undefined;
|
8
3
|
userUuid?: string | undefined;
|
9
4
|
teamId?: number | undefined;
|
10
5
|
teamUuid?: string | undefined;
|
6
|
+
userTeamRole?: "owner" | "admin" | "biller" | "member" | undefined;
|
7
|
+
userEmail?: string | undefined;
|
11
8
|
userName?: string | undefined;
|
12
9
|
userCurrentTeamId?: number | undefined;
|
10
|
+
planId?: number | undefined;
|
13
11
|
planName?: string | undefined;
|
12
|
+
isProviderAlpha?: boolean | undefined;
|
13
|
+
isFullyAuthenticated?: boolean | undefined;
|
14
|
+
isEndOfTrialActive?: boolean | undefined;
|
15
|
+
isTeamSuspended?: boolean | undefined;
|
14
16
|
exp?: number | undefined;
|
15
|
-
} | undefined, removeProperties?: ("
|
16
|
-
isProviderAlpha: boolean;
|
17
|
-
isFullyAuthenticated: boolean;
|
18
|
-
planId: number;
|
19
|
-
userTeamRole: "member" | "admin" | "biller" | "owner";
|
20
|
-
userEmail: string;
|
17
|
+
} | undefined, removeProperties?: ("userId" | "userUuid" | "teamId" | "teamUuid" | "userTeamRole" | "userEmail" | "userName" | "userCurrentTeamId" | "planId" | "planName" | "isProviderAlpha" | "isFullyAuthenticated" | "isEndOfTrialActive" | "isTeamSuspended" | "exp")[]) => {
|
21
18
|
userId: number;
|
22
19
|
userUuid: string;
|
23
20
|
teamId: number;
|
24
21
|
teamUuid: string;
|
22
|
+
userTeamRole: "owner" | "admin" | "biller" | "member";
|
23
|
+
userEmail: string;
|
25
24
|
userName: string;
|
26
25
|
userCurrentTeamId: number;
|
26
|
+
planId: number;
|
27
27
|
planName: string;
|
28
|
+
isProviderAlpha: boolean;
|
29
|
+
isFullyAuthenticated: boolean;
|
30
|
+
isEndOfTrialActive: boolean;
|
31
|
+
isTeamSuspended: boolean;
|
28
32
|
exp: number;
|
29
33
|
};
|
@@ -3,17 +3,19 @@
|
|
3
3
|
* If the token is updated or removed, the hook will update the state.
|
4
4
|
*/
|
5
5
|
export declare function useAuthenticatedSessionPayload(): {
|
6
|
-
isProviderAlpha: boolean;
|
7
|
-
isFullyAuthenticated: boolean;
|
8
|
-
planId: number;
|
9
|
-
userTeamRole: "member" | "admin" | "biller" | "owner";
|
10
|
-
userEmail: string;
|
11
6
|
userId: number;
|
12
7
|
userUuid: string;
|
13
8
|
teamId: number;
|
14
9
|
teamUuid: string;
|
10
|
+
userTeamRole: "owner" | "admin" | "biller" | "member";
|
11
|
+
userEmail: string;
|
15
12
|
userName: string;
|
16
13
|
userCurrentTeamId: number;
|
14
|
+
planId: number;
|
17
15
|
planName: string;
|
16
|
+
isProviderAlpha: boolean;
|
17
|
+
isFullyAuthenticated: boolean;
|
18
|
+
isEndOfTrialActive: boolean;
|
19
|
+
isTeamSuspended: boolean;
|
18
20
|
exp: number;
|
19
21
|
} | undefined;
|
@@ -11,7 +11,7 @@ import { Wretch } from 'wretch';
|
|
11
11
|
export declare function useAuthenticatedUser<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<TeamUserApiBaseHeaders>): import('@tanstack/react-query').UseQueryResult<{
|
12
12
|
team_id: number;
|
13
13
|
team_user: {
|
14
|
-
role: "
|
14
|
+
role: "owner" | "admin" | "biller" | "member";
|
15
15
|
email: string;
|
16
16
|
user_id: number;
|
17
17
|
fullname: string;
|
@@ -11,10 +11,10 @@ import { CreateProjectRequestBody, Project, ProjectApiBaseHeaders } from '../typ
|
|
11
11
|
*/
|
12
12
|
export declare function useCreateProjectMutation<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ProjectApiBaseHeaders>, overrides?: ApiMutationOverrides<Project, CreateProjectRequestBody>): import('@tanstack/react-query').UseMutationResult<{
|
13
13
|
name: string;
|
14
|
+
description: string;
|
14
15
|
created_at: string;
|
15
16
|
created_at_timestamp: number;
|
16
17
|
team_id: number;
|
17
|
-
description: string;
|
18
18
|
uuid: string;
|
19
19
|
project_id: string;
|
20
20
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -20,7 +20,7 @@ export declare function useGetProjectPermissionMetaQuery<T>(wretchClient: Wretch
|
|
20
20
|
title: string;
|
21
21
|
id: string;
|
22
22
|
group: string;
|
23
|
-
scope: "team" | "
|
23
|
+
scope: "team" | "user" | "project";
|
24
24
|
description: string | null;
|
25
25
|
doesSetAllReadOnlyLanguages: boolean;
|
26
26
|
dependentPermissions?: string[] | undefined;
|
@@ -32,8 +32,8 @@ export declare function useGetProjectPermissionMetaQuery<T>(wretchClient: Wretch
|
|
32
32
|
roles: {
|
33
33
|
role: string;
|
34
34
|
id: number;
|
35
|
-
tag: string | null;
|
36
35
|
description: string | null;
|
36
|
+
tag: string | null;
|
37
37
|
permissions: string[];
|
38
38
|
tagColor: string | null;
|
39
39
|
tagInfo: string | null;
|
@@ -18,7 +18,7 @@ export declare const getTeamUsersQueryKey: {
|
|
18
18
|
export declare const useGetTeamUsersQuery: <T>(wretchClient: Wretch<T>, headers: HeaderBuilder<TeamUserApiBaseHeaders>, overrides: ApiQueryOverrides<TeamUserResponse, typeof getTeamUsersQueryKey>) => import('@tanstack/react-query').UseQueryResult<{
|
19
19
|
team_id: number;
|
20
20
|
team_user: {
|
21
|
-
role: "
|
21
|
+
role: "owner" | "admin" | "biller" | "member";
|
22
22
|
email: string;
|
23
23
|
user_id: number;
|
24
24
|
fullname: string;
|
@@ -20,8 +20,8 @@ export declare const useListPermissionTemplatesQuery: <T>(wretchClient: Wretch<T
|
|
20
20
|
roles: {
|
21
21
|
role: string;
|
22
22
|
id: string;
|
23
|
-
tag: string | null;
|
24
23
|
description: string | null;
|
24
|
+
tag: string | null;
|
25
25
|
permissions: string[];
|
26
26
|
tagColor: string | null;
|
27
27
|
tagInfo: string | null;
|
@@ -26,10 +26,10 @@ export declare const listProjectsKey: {
|
|
26
26
|
export declare function useListProjectsQuery<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ProjectApiBaseHeaders>, overrides: ApiQueryOverrides<ListProjectsSuccessResponseBody, typeof listProjectsKey>): import('@tanstack/react-query').UseQueryResult<{
|
27
27
|
projects: {
|
28
28
|
name: string;
|
29
|
+
description: string;
|
29
30
|
created_at: string;
|
30
31
|
created_at_timestamp: number;
|
31
32
|
team_id: number;
|
32
|
-
description: string;
|
33
33
|
uuid: string;
|
34
34
|
project_id: string;
|
35
35
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -21,7 +21,7 @@ export declare const listTeamUsersKey: {
|
|
21
21
|
export declare function useListTeamUsersQuery<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ProjectApiBaseHeaders>, overrides: ApiQueryOverrides<ListTeamUsersResponse, typeof listTeamUsersKey>): import('@tanstack/react-query').UseQueryResult<{
|
22
22
|
team_id: number;
|
23
23
|
team_users: {
|
24
|
-
role: "
|
24
|
+
role: "owner" | "admin" | "biller" | "member";
|
25
25
|
email: string;
|
26
26
|
user_id: number;
|
27
27
|
fullname: string;
|
@@ -17,10 +17,10 @@ export declare const retrieveProjectQueryKey: {
|
|
17
17
|
*/
|
18
18
|
export declare function useRetrieveProjectQuery<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ProjectApiBaseHeaders>, overrides: ApiQueryOverrides<Project, typeof retrieveProjectQueryKey>): import('@tanstack/react-query').UseQueryResult<{
|
19
19
|
name: string;
|
20
|
+
description: string;
|
20
21
|
created_at: string;
|
21
22
|
created_at_timestamp: number;
|
22
23
|
team_id: number;
|
23
|
-
description: string;
|
24
24
|
uuid: string;
|
25
25
|
project_id: string;
|
26
26
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -12,10 +12,10 @@ import { Project, ProjectApiBaseHeaders, ProjectIdPathParam, UpdateProjectReques
|
|
12
12
|
*/
|
13
13
|
export declare function useUpdateProjectMutation<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ProjectApiBaseHeaders>, params: ProjectIdPathParam, overrides?: ApiMutationOverrides<Project, UpdateProjectRequestBody>): import('@tanstack/react-query').UseMutationResult<{
|
14
14
|
name: string;
|
15
|
+
description: string;
|
15
16
|
created_at: string;
|
16
17
|
created_at_timestamp: number;
|
17
18
|
team_id: number;
|
18
|
-
description: string;
|
19
19
|
uuid: string;
|
20
20
|
project_id: string;
|
21
21
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -17,8 +17,8 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
|
|
17
17
|
}, "strip", import('zod').ZodTypeAny, {
|
18
18
|
role: string;
|
19
19
|
id: string;
|
20
|
-
tag: string | null;
|
21
20
|
description: string | null;
|
21
|
+
tag: string | null;
|
22
22
|
permissions: string[];
|
23
23
|
tagColor: string | null;
|
24
24
|
tagInfo: string | null;
|
@@ -27,8 +27,8 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
|
|
27
27
|
}, {
|
28
28
|
role: string;
|
29
29
|
id: string;
|
30
|
-
tag: string | null;
|
31
30
|
description: string | null;
|
31
|
+
tag: string | null;
|
32
32
|
permissions: string[];
|
33
33
|
tagColor: string | null;
|
34
34
|
tagInfo: string | null;
|
@@ -39,8 +39,8 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
|
|
39
39
|
roles: {
|
40
40
|
role: string;
|
41
41
|
id: string;
|
42
|
-
tag: string | null;
|
43
42
|
description: string | null;
|
43
|
+
tag: string | null;
|
44
44
|
permissions: string[];
|
45
45
|
tagColor: string | null;
|
46
46
|
tagInfo: string | null;
|
@@ -51,8 +51,8 @@ export declare const listPermissionTemplates: import('@lokalise/api-contracts').
|
|
51
51
|
roles: {
|
52
52
|
role: string;
|
53
53
|
id: string;
|
54
|
-
tag: string | null;
|
55
54
|
description: string | null;
|
55
|
+
tag: string | null;
|
56
56
|
permissions: string[];
|
57
57
|
tagColor: string | null;
|
58
58
|
tagInfo: string | null;
|
@@ -234,10 +234,10 @@ export declare const createProject: import('@lokalise/api-contracts').PayloadRou
|
|
234
234
|
}>>;
|
235
235
|
}, "strip", import('zod').ZodTypeAny, {
|
236
236
|
name: string;
|
237
|
+
description: string;
|
237
238
|
created_at: string;
|
238
239
|
created_at_timestamp: number;
|
239
240
|
team_id: number;
|
240
|
-
description: string;
|
241
241
|
uuid: string;
|
242
242
|
project_id: string;
|
243
243
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -295,10 +295,10 @@ export declare const createProject: import('@lokalise/api-contracts').PayloadRou
|
|
295
295
|
} | undefined;
|
296
296
|
}, {
|
297
297
|
name: string;
|
298
|
+
description: string;
|
298
299
|
created_at: string;
|
299
300
|
created_at_timestamp: number;
|
300
301
|
team_id: number;
|
301
|
-
description: string;
|
302
302
|
uuid: string;
|
303
303
|
project_id: string;
|
304
304
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -610,10 +610,10 @@ export declare const listProjects: import('@lokalise/api-contracts').GetRouteDef
|
|
610
610
|
}>>;
|
611
611
|
}, "strip", import('zod').ZodTypeAny, {
|
612
612
|
name: string;
|
613
|
+
description: string;
|
613
614
|
created_at: string;
|
614
615
|
created_at_timestamp: number;
|
615
616
|
team_id: number;
|
616
|
-
description: string;
|
617
617
|
uuid: string;
|
618
618
|
project_id: string;
|
619
619
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -671,10 +671,10 @@ export declare const listProjects: import('@lokalise/api-contracts').GetRouteDef
|
|
671
671
|
} | undefined;
|
672
672
|
}, {
|
673
673
|
name: string;
|
674
|
+
description: string;
|
674
675
|
created_at: string;
|
675
676
|
created_at_timestamp: number;
|
676
677
|
team_id: number;
|
677
|
-
description: string;
|
678
678
|
uuid: string;
|
679
679
|
project_id: string;
|
680
680
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -734,10 +734,10 @@ export declare const listProjects: import('@lokalise/api-contracts').GetRouteDef
|
|
734
734
|
}, "strip", import('zod').ZodTypeAny, {
|
735
735
|
projects: {
|
736
736
|
name: string;
|
737
|
+
description: string;
|
737
738
|
created_at: string;
|
738
739
|
created_at_timestamp: number;
|
739
740
|
team_id: number;
|
740
|
-
description: string;
|
741
741
|
uuid: string;
|
742
742
|
project_id: string;
|
743
743
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -797,10 +797,10 @@ export declare const listProjects: import('@lokalise/api-contracts').GetRouteDef
|
|
797
797
|
}, {
|
798
798
|
projects: {
|
799
799
|
name: string;
|
800
|
+
description: string;
|
800
801
|
created_at: string;
|
801
802
|
created_at_timestamp: number;
|
802
803
|
team_id: number;
|
803
|
-
description: string;
|
804
804
|
uuid: string;
|
805
805
|
project_id: string;
|
806
806
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -1138,10 +1138,10 @@ export declare const retrieveProject: import('@lokalise/api-contracts').GetRoute
|
|
1138
1138
|
}>>;
|
1139
1139
|
}, "strip", import('zod').ZodTypeAny, {
|
1140
1140
|
name: string;
|
1141
|
+
description: string;
|
1141
1142
|
created_at: string;
|
1142
1143
|
created_at_timestamp: number;
|
1143
1144
|
team_id: number;
|
1144
|
-
description: string;
|
1145
1145
|
uuid: string;
|
1146
1146
|
project_id: string;
|
1147
1147
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -1199,10 +1199,10 @@ export declare const retrieveProject: import('@lokalise/api-contracts').GetRoute
|
|
1199
1199
|
} | undefined;
|
1200
1200
|
}, {
|
1201
1201
|
name: string;
|
1202
|
+
description: string;
|
1202
1203
|
created_at: string;
|
1203
1204
|
created_at_timestamp: number;
|
1204
1205
|
team_id: number;
|
1205
|
-
description: string;
|
1206
1206
|
uuid: string;
|
1207
1207
|
project_id: string;
|
1208
1208
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -1530,10 +1530,10 @@ export declare const updateProject: import('@lokalise/api-contracts').PayloadRou
|
|
1530
1530
|
}>>;
|
1531
1531
|
}, "strip", import('zod').ZodTypeAny, {
|
1532
1532
|
name: string;
|
1533
|
+
description: string;
|
1533
1534
|
created_at: string;
|
1534
1535
|
created_at_timestamp: number;
|
1535
1536
|
team_id: number;
|
1536
|
-
description: string;
|
1537
1537
|
uuid: string;
|
1538
1538
|
project_id: string;
|
1539
1539
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -1591,10 +1591,10 @@ export declare const updateProject: import('@lokalise/api-contracts').PayloadRou
|
|
1591
1591
|
} | undefined;
|
1592
1592
|
}, {
|
1593
1593
|
name: string;
|
1594
|
+
description: string;
|
1594
1595
|
created_at: string;
|
1595
1596
|
created_at_timestamp: number;
|
1596
1597
|
team_id: number;
|
1597
|
-
description: string;
|
1598
1598
|
uuid: string;
|
1599
1599
|
project_id: string;
|
1600
1600
|
project_type: "localization_files" | "paged_documents" | "marketing";
|
@@ -1730,7 +1730,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1730
1730
|
title: string;
|
1731
1731
|
id: string;
|
1732
1732
|
group: string;
|
1733
|
-
scope: "team" | "
|
1733
|
+
scope: "team" | "user" | "project";
|
1734
1734
|
description: string | null;
|
1735
1735
|
doesSetAllReadOnlyLanguages: boolean;
|
1736
1736
|
dependentPermissions?: string[] | undefined;
|
@@ -1740,7 +1740,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1740
1740
|
title: string;
|
1741
1741
|
id: string;
|
1742
1742
|
group: string;
|
1743
|
-
scope: "team" | "
|
1743
|
+
scope: "team" | "user" | "project";
|
1744
1744
|
description: string | null;
|
1745
1745
|
doesSetAllReadOnlyLanguages: boolean;
|
1746
1746
|
dependentPermissions?: string[] | undefined;
|
@@ -1760,8 +1760,8 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1760
1760
|
}, "strip", import('zod').ZodTypeAny, {
|
1761
1761
|
role: string;
|
1762
1762
|
id: number;
|
1763
|
-
tag: string | null;
|
1764
1763
|
description: string | null;
|
1764
|
+
tag: string | null;
|
1765
1765
|
permissions: string[];
|
1766
1766
|
tagColor: string | null;
|
1767
1767
|
tagInfo: string | null;
|
@@ -1770,8 +1770,8 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1770
1770
|
}, {
|
1771
1771
|
role: string;
|
1772
1772
|
id: number;
|
1773
|
-
tag: string | null;
|
1774
1773
|
description: string | null;
|
1774
|
+
tag: string | null;
|
1775
1775
|
permissions: string[];
|
1776
1776
|
tagColor: string | null;
|
1777
1777
|
tagInfo: string | null;
|
@@ -1783,7 +1783,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1783
1783
|
title: string;
|
1784
1784
|
id: string;
|
1785
1785
|
group: string;
|
1786
|
-
scope: "team" | "
|
1786
|
+
scope: "team" | "user" | "project";
|
1787
1787
|
description: string | null;
|
1788
1788
|
doesSetAllReadOnlyLanguages: boolean;
|
1789
1789
|
dependentPermissions?: string[] | undefined;
|
@@ -1795,8 +1795,8 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1795
1795
|
roles: {
|
1796
1796
|
role: string;
|
1797
1797
|
id: number;
|
1798
|
-
tag: string | null;
|
1799
1798
|
description: string | null;
|
1799
|
+
tag: string | null;
|
1800
1800
|
permissions: string[];
|
1801
1801
|
tagColor: string | null;
|
1802
1802
|
tagInfo: string | null;
|
@@ -1808,7 +1808,7 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1808
1808
|
title: string;
|
1809
1809
|
id: string;
|
1810
1810
|
group: string;
|
1811
|
-
scope: "team" | "
|
1811
|
+
scope: "team" | "user" | "project";
|
1812
1812
|
description: string | null;
|
1813
1813
|
doesSetAllReadOnlyLanguages: boolean;
|
1814
1814
|
dependentPermissions?: string[] | undefined;
|
@@ -1820,8 +1820,8 @@ export declare const getProjectPermissionMeta: import('@lokalise/api-contracts')
|
|
1820
1820
|
roles: {
|
1821
1821
|
role: string;
|
1822
1822
|
id: number;
|
1823
|
-
tag: string | null;
|
1824
1823
|
description: string | null;
|
1824
|
+
tag: string | null;
|
1825
1825
|
permissions: string[];
|
1826
1826
|
tagColor: string | null;
|
1827
1827
|
tagInfo: string | null;
|