@lokalise/harmony 1.27.1 → 1.27.3-exp-fixTeamsTypes.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.cjs +21 -15
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +21 -15
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony100.cjs +4 -59
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +5 -60
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +39 -6
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +39 -6
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +60 -6
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +59 -5
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +8 -6
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +7 -5
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +6 -5
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +6 -5
- package/dist/harmony105.cjs +6 -63
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +5 -62
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +6 -89
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +5 -88
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +63 -19
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +62 -18
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +85 -93
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +85 -93
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +19 -14
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +18 -13
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +95 -13
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +95 -13
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +11 -34
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +11 -34
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +13 -27
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +13 -27
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +36 -7
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +36 -7
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +27 -56
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +27 -56
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +13 -60
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +13 -60
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +16 -19
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +15 -18
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +15 -12
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +15 -12
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +7 -15
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +7 -15
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +57 -16
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +57 -16
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +59 -45
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +59 -45
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +15 -9
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +15 -9
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony127.cjs +1 -1
- package/dist/harmony127.mjs +1 -1
- package/dist/harmony130.cjs +49 -0
- package/dist/harmony130.cjs.map +1 -0
- package/dist/harmony130.mjs +49 -0
- package/dist/harmony130.mjs.map +1 -0
- package/dist/harmony131.cjs +15 -0
- package/dist/harmony131.cjs.map +1 -0
- package/dist/harmony131.mjs +15 -0
- package/dist/harmony131.mjs.map +1 -0
- package/dist/harmony15.cjs +1 -1
- package/dist/harmony15.mjs +1 -1
- package/dist/harmony22.cjs +1 -1
- package/dist/harmony22.mjs +1 -1
- package/dist/harmony23.cjs +1 -1
- package/dist/harmony23.mjs +1 -1
- package/dist/harmony25.cjs +1 -1
- package/dist/harmony25.mjs +1 -1
- package/dist/harmony26.cjs +2 -2
- package/dist/harmony26.mjs +2 -2
- package/dist/harmony27.cjs +2 -2
- package/dist/harmony27.mjs +2 -2
- package/dist/harmony28.cjs +2 -2
- package/dist/harmony28.mjs +2 -2
- package/dist/harmony29.cjs +1 -1
- package/dist/harmony29.mjs +1 -1
- package/dist/harmony3.cjs +3 -3
- package/dist/harmony3.mjs +3 -3
- package/dist/harmony30.cjs +3 -3
- package/dist/harmony30.mjs +3 -3
- package/dist/harmony31.cjs +1 -1
- package/dist/harmony31.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/harmony4.cjs +10 -10
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony45.cjs +14 -12
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +14 -12
- package/dist/harmony45.mjs.map +1 -1
- package/dist/harmony46.cjs +12 -14
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +12 -14
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony47.cjs +9 -6
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +12 -9
- package/dist/harmony47.mjs.map +1 -1
- package/dist/harmony48.cjs +17 -56
- package/dist/harmony48.cjs.map +1 -1
- package/dist/harmony48.mjs +17 -56
- package/dist/harmony48.mjs.map +1 -1
- package/dist/harmony49.cjs +13 -79
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +13 -79
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony50.cjs +54 -4
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +54 -4
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +79 -22
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +78 -21
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +4 -35
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +4 -35
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +22 -116
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +20 -114
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +35 -19
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +35 -19
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +115 -24
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +115 -24
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +20 -7
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +20 -7
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +24 -48
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +24 -48
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +7 -23
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +7 -23
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +63 -16
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +63 -16
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +25 -16
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +24 -15
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +19 -19
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +18 -18
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +14 -60
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +14 -60
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +17 -5
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +17 -5
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +62 -10
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +61 -9
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +6 -18
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +5 -17
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +8 -22
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +7 -21
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +17 -4
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +17 -4
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +20 -29
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +22 -31
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +4 -31
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +5 -32
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony70.cjs +28 -15
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +28 -15
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +19 -18
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +21 -20
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +16 -56
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +17 -57
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +31 -9
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +30 -8
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +56 -5
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +59 -8
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +10 -30
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +9 -29
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +8 -3
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +8 -3
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +27 -9
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +29 -11
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +4 -22
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +3 -21
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +12 -7
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +11 -6
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +20 -8
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +20 -8
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +3 -6
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +3 -6
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +9 -57
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +8 -56
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +9 -32
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +8 -31
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +57 -5
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +57 -5
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +32 -9
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +31 -8
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +6 -25
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +5 -24
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +6 -3
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +6 -3
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +24 -21
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +23 -20
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +3 -9
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +3 -9
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +21 -18
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +21 -18
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony91.cjs +12 -14
- package/dist/harmony91.cjs.map +1 -1
- package/dist/harmony91.mjs +11 -13
- package/dist/harmony91.mjs.map +1 -1
- package/dist/harmony92.cjs +97 -14
- package/dist/harmony92.cjs.map +1 -1
- package/dist/harmony92.mjs +80 -14
- package/dist/harmony92.mjs.map +1 -1
- package/dist/harmony93.cjs +19 -22
- package/dist/harmony93.cjs.map +1 -1
- package/dist/harmony93.mjs +18 -21
- package/dist/harmony93.mjs.map +1 -1
- package/dist/harmony94.cjs +13 -4
- package/dist/harmony94.cjs.map +1 -1
- package/dist/harmony94.mjs +13 -4
- package/dist/harmony94.mjs.map +1 -1
- package/dist/harmony95.cjs +14 -97
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +14 -80
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +21 -132
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +20 -131
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +5 -12
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +4 -11
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +132 -5
- package/dist/harmony98.cjs.map +1 -1
- package/dist/harmony98.mjs +132 -5
- package/dist/harmony98.mjs.map +1 -1
- package/dist/harmony99.cjs +12 -40
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +11 -39
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +2 -2
- package/dist/types/src/features/publicApi/node.d.ts +2 -0
- package/dist/types/src/features/publicApi/team.d.ts +22 -22
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +36 -26
- package/package.json +1 -1
package/dist/harmony99.mjs
CHANGED
@@ -1,43 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
const TasksPopover = () => {
|
9
|
-
const { tasks, onTasksWidgetOpen, loadingTasks, fetchTasks } = useTasks();
|
10
|
-
useEffectOnce(() => {
|
11
|
-
const handleTaskPopoverOpen = async () => {
|
12
|
-
const contextTasks = await fetchTasks();
|
13
|
-
onTasksWidgetOpen == null ? void 0 : onTasksWidgetOpen({ tasks: contextTasks });
|
14
|
-
};
|
15
|
-
handleTaskPopoverOpen();
|
16
|
-
document.addEventListener(TaskEvents.TaskCompleted, fetchTasks);
|
17
|
-
document.addEventListener(TaskEvents.TaskClosed, fetchTasks);
|
18
|
-
document.addEventListener(TaskEvents.Refresh, fetchTasks);
|
19
|
-
return () => {
|
20
|
-
document.removeEventListener(TaskEvents.TaskCompleted, fetchTasks);
|
21
|
-
document.removeEventListener(TaskEvents.TaskClosed, fetchTasks);
|
22
|
-
document.removeEventListener(TaskEvents.Refresh, fetchTasks);
|
23
|
-
};
|
24
|
-
});
|
25
|
-
if (loadingTasks) {
|
26
|
-
return /* @__PURE__ */ jsx("div", { "data-testid": "sidebar-tasks-loading-popover", className: styles.loadingContainer, children: /* @__PURE__ */ jsx(Loading, {}) });
|
27
|
-
}
|
28
|
-
if (tasks.length === 0) {
|
29
|
-
return /* @__PURE__ */ jsxs("div", { "data-testid": "sidebar-no-tasks-popover", className: styles.noTasksContainer, children: [
|
30
|
-
/* @__PURE__ */ jsx("h3", { className: styles.noTasksHeading, children: "No tasks" }),
|
31
|
-
/* @__PURE__ */ jsxs("div", { className: styles.noTasksText, children: [
|
32
|
-
"Your incoming tasks will appear here.",
|
33
|
-
/* @__PURE__ */ jsx("br", {}),
|
34
|
-
/* @__PURE__ */ jsx(Link, { href: "https://docs.lokalise.com/translation-workflow/tasks", target: "_new", children: "Learn more" })
|
35
|
-
] })
|
36
|
-
] });
|
37
|
-
}
|
38
|
-
return /* @__PURE__ */ jsx("div", { "data-testid": "sidebar-tasks-popover", className: styles.tasksContainer, children: tasks.map((task) => /* @__PURE__ */ jsx(TaskOverview, { task }, task.id)) });
|
1
|
+
const navItem = "_navItem_1dudv_1";
|
2
|
+
const activeNavItem = "_activeNavItem_1dudv_18";
|
3
|
+
const badge = "_badge_1dudv_23";
|
4
|
+
const styles = {
|
5
|
+
navItem,
|
6
|
+
activeNavItem,
|
7
|
+
badge
|
39
8
|
};
|
40
9
|
export {
|
41
|
-
|
10
|
+
activeNavItem,
|
11
|
+
badge,
|
12
|
+
styles as default,
|
13
|
+
navItem
|
42
14
|
};
|
43
15
|
//# sourceMappingURL=harmony99.mjs.map
|
package/dist/harmony99.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony99.mjs","sources":[
|
1
|
+
{"version":3,"file":"harmony99.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
@@ -31,7 +31,7 @@ export declare function useListTeamsQuery<T>(wretchClient: Wretch<T>, headers: H
|
|
31
31
|
plan: string;
|
32
32
|
uuid?: string | undefined;
|
33
33
|
}) & {
|
34
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
35
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
34
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
35
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
36
36
|
})[];
|
37
37
|
}, undefined>;
|
@@ -27,8 +27,8 @@ export declare function useRetrieveTeamQuery<T>(wretchClient: Wretch<T>, headers
|
|
27
27
|
plan: string;
|
28
28
|
uuid?: string | undefined;
|
29
29
|
}) & {
|
30
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
31
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
30
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
31
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
32
32
|
}) & {
|
33
33
|
is_team_suspended: boolean;
|
34
34
|
is_end_of_trial_active: boolean;
|
@@ -17,8 +17,10 @@ export * from './hooks/useListContributorsQuery';
|
|
17
17
|
export * from './hooks/useListPermissionTemplates';
|
18
18
|
export * from './hooks/useListProjectLanguagesQuery';
|
19
19
|
export * from './hooks/useListProjectsQuery';
|
20
|
+
export * from './hooks/useListTeamsQuery';
|
20
21
|
export * from './hooks/useRetrieveContributorQuery';
|
21
22
|
export * from './hooks/useRetrieveProjectQuery';
|
23
|
+
export * from './hooks/useRetrieveTeamQuery';
|
22
24
|
export * from './hooks/useUpdateProjectMutation';
|
23
25
|
export * from './types/contributorTypes';
|
24
26
|
export * from './types/languageTypes';
|
@@ -18,7 +18,7 @@ export declare const listTeams: import('@lokalise/api-contracts').GetRouteDefini
|
|
18
18
|
}>]>, import('zod').ZodObject<{
|
19
19
|
uuid: import('zod').ZodOptional<import('zod').ZodString>;
|
20
20
|
name: import('zod').ZodString;
|
21
|
-
created_at: import('zod').ZodString
|
21
|
+
created_at: import('zod').ZodEffects<import('zod').ZodString, string, string>;
|
22
22
|
created_at_timestamp: import('zod').ZodNumber;
|
23
23
|
plan: import('zod').ZodString;
|
24
24
|
}, "strip", import('zod').ZodTypeAny, {
|
@@ -34,14 +34,14 @@ export declare const listTeams: import('@lokalise/api-contracts').GetRouteDefini
|
|
34
34
|
plan: string;
|
35
35
|
uuid?: string | undefined;
|
36
36
|
}>>, import('zod').ZodObject<{
|
37
|
-
quota_usage: import('zod').ZodRecord<import('zod').ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
|
38
|
-
quota_allowed: import('zod').ZodRecord<import('zod').ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
|
37
|
+
quota_usage: import('zod').ZodRecord<import('zod').ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
|
38
|
+
quota_allowed: import('zod').ZodRecord<import('zod').ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
|
39
39
|
}, "strip", import('zod').ZodTypeAny, {
|
40
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
41
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
40
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
41
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
42
42
|
}, {
|
43
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
44
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
43
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
44
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
45
45
|
}>>, "many">;
|
46
46
|
}, "strip", import('zod').ZodTypeAny, {
|
47
47
|
teams: ((({
|
@@ -55,8 +55,8 @@ export declare const listTeams: import('@lokalise/api-contracts').GetRouteDefini
|
|
55
55
|
plan: string;
|
56
56
|
uuid?: string | undefined;
|
57
57
|
}) & {
|
58
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
59
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
58
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
59
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
60
60
|
})[];
|
61
61
|
}, {
|
62
62
|
teams: ((({
|
@@ -70,8 +70,8 @@ export declare const listTeams: import('@lokalise/api-contracts').GetRouteDefini
|
|
70
70
|
plan: string;
|
71
71
|
uuid?: string | undefined;
|
72
72
|
}) & {
|
73
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
74
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
73
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
74
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
75
75
|
})[];
|
76
76
|
}>, undefined, import('zod').ZodObject<{
|
77
77
|
limit: import('zod').ZodOptional<import('zod').ZodNumber>;
|
@@ -159,7 +159,7 @@ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDef
|
|
159
159
|
}>]>, import('zod').ZodObject<{
|
160
160
|
uuid: import('zod').ZodOptional<import('zod').ZodString>;
|
161
161
|
name: import('zod').ZodString;
|
162
|
-
created_at: import('zod').ZodString
|
162
|
+
created_at: import('zod').ZodEffects<import('zod').ZodString, string, string>;
|
163
163
|
created_at_timestamp: import('zod').ZodNumber;
|
164
164
|
plan: import('zod').ZodString;
|
165
165
|
}, "strip", import('zod').ZodTypeAny, {
|
@@ -175,14 +175,14 @@ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDef
|
|
175
175
|
plan: string;
|
176
176
|
uuid?: string | undefined;
|
177
177
|
}>>, import('zod').ZodObject<{
|
178
|
-
quota_usage: import('zod').ZodRecord<import('zod').ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
|
179
|
-
quota_allowed: import('zod').ZodRecord<import('zod').ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
|
178
|
+
quota_usage: import('zod').ZodRecord<import('zod').ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
|
179
|
+
quota_allowed: import('zod').ZodRecord<import('zod').ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, import('zod').ZodNumber>;
|
180
180
|
}, "strip", import('zod').ZodTypeAny, {
|
181
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
182
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
181
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
182
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
183
183
|
}, {
|
184
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
185
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
184
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
185
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
186
186
|
}>>, import('zod').ZodObject<{
|
187
187
|
is_team_suspended: import('zod').ZodBoolean;
|
188
188
|
is_end_of_trial_active: import('zod').ZodBoolean;
|
@@ -208,8 +208,8 @@ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDef
|
|
208
208
|
plan: string;
|
209
209
|
uuid?: string | undefined;
|
210
210
|
}) & {
|
211
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
212
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
211
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
212
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
213
213
|
}) & {
|
214
214
|
is_team_suspended: boolean;
|
215
215
|
is_end_of_trial_active: boolean;
|
@@ -227,8 +227,8 @@ export declare const retrieveTeam: import('@lokalise/api-contracts').GetRouteDef
|
|
227
227
|
plan: string;
|
228
228
|
uuid?: string | undefined;
|
229
229
|
}) & {
|
230
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
231
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
230
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
231
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
232
232
|
}) & {
|
233
233
|
is_team_suspended: boolean;
|
234
234
|
is_end_of_trial_active: boolean;
|
@@ -55,12 +55,12 @@ export declare const TEAM_API_BASE_HEADERS_SCHEMA: z.ZodIntersection<z.ZodUnion<
|
|
55
55
|
'X-LOKALISE-PLUGIN': string;
|
56
56
|
}>]>>;
|
57
57
|
export type TeamApiBaseHeaders = z.infer<typeof TEAM_API_BASE_HEADERS_SCHEMA>;
|
58
|
-
export declare const TEAM_QUOTA_METRICS: readonly ["keys", "projects", "mau", "trafficBytes", "ai_words"];
|
59
|
-
export declare const TEAM_QUOTA_METRICS_SCHEMA: z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>;
|
58
|
+
export declare const TEAM_QUOTA_METRICS: readonly ["users", "keys", "projects", "mau", "trafficBytes", "ai_words"];
|
59
|
+
export declare const TEAM_QUOTA_METRICS_SCHEMA: z.ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>;
|
60
60
|
export type TeamQuotaMetrics = z.infer<typeof TEAM_QUOTA_METRICS_SCHEMA>;
|
61
|
-
export declare const TEAM_QUOTA_USAGE_SCHEMA: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
61
|
+
export declare const TEAM_QUOTA_USAGE_SCHEMA: z.ZodRecord<z.ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
62
62
|
export type TeamQuotaUsage = z.infer<typeof TEAM_QUOTA_USAGE_SCHEMA>;
|
63
|
-
export declare const TEAM_QUOTA_ALLOWED_SCHEMA: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
63
|
+
export declare const TEAM_QUOTA_ALLOWED_SCHEMA: z.ZodRecord<z.ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
64
64
|
export type TeamQuotaAllowed = z.infer<typeof TEAM_QUOTA_ALLOWED_SCHEMA>;
|
65
65
|
export declare const LIST_TEAMS_QUERY_SCHEMA: z.ZodObject<{
|
66
66
|
limit: z.ZodOptional<z.ZodNumber>;
|
@@ -93,7 +93,12 @@ export declare const LIST_TEAMS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
93
93
|
}>]>, z.ZodObject<{
|
94
94
|
uuid: z.ZodOptional<z.ZodString>;
|
95
95
|
name: z.ZodString;
|
96
|
-
|
96
|
+
/**
|
97
|
+
* TODO - created_at is using custom format like 2024-10-03 09:45:52 (Etc/UTC)
|
98
|
+
* instead of ISO 8601 which is expected by ZOD
|
99
|
+
* We need a custom datetime schema
|
100
|
+
*/
|
101
|
+
created_at: z.ZodEffects<z.ZodString, string, string>;
|
97
102
|
created_at_timestamp: z.ZodNumber;
|
98
103
|
plan: z.ZodString;
|
99
104
|
}, "strip", z.ZodTypeAny, {
|
@@ -109,14 +114,14 @@ export declare const LIST_TEAMS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
109
114
|
plan: string;
|
110
115
|
uuid?: string | undefined;
|
111
116
|
}>>, z.ZodObject<{
|
112
|
-
quota_usage: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
113
|
-
quota_allowed: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
117
|
+
quota_usage: z.ZodRecord<z.ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
118
|
+
quota_allowed: z.ZodRecord<z.ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
114
119
|
}, "strip", z.ZodTypeAny, {
|
115
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
116
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
120
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
121
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
117
122
|
}, {
|
118
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
119
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
123
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
124
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
120
125
|
}>>, "many">;
|
121
126
|
}, "strip", z.ZodTypeAny, {
|
122
127
|
teams: ((({
|
@@ -130,8 +135,8 @@ export declare const LIST_TEAMS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
130
135
|
plan: string;
|
131
136
|
uuid?: string | undefined;
|
132
137
|
}) & {
|
133
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
134
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
138
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
139
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
135
140
|
})[];
|
136
141
|
}, {
|
137
142
|
teams: ((({
|
@@ -145,8 +150,8 @@ export declare const LIST_TEAMS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
145
150
|
plan: string;
|
146
151
|
uuid?: string | undefined;
|
147
152
|
}) & {
|
148
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
149
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
153
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
154
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
150
155
|
})[];
|
151
156
|
}>;
|
152
157
|
export type ListTeamsResponse = z.infer<typeof LIST_TEAMS_RESPONSE_SCHEMA>;
|
@@ -178,7 +183,12 @@ export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
178
183
|
}>]>, z.ZodObject<{
|
179
184
|
uuid: z.ZodOptional<z.ZodString>;
|
180
185
|
name: z.ZodString;
|
181
|
-
|
186
|
+
/**
|
187
|
+
* TODO - created_at is using custom format like 2024-10-03 09:45:52 (Etc/UTC)
|
188
|
+
* instead of ISO 8601 which is expected by ZOD
|
189
|
+
* We need a custom datetime schema
|
190
|
+
*/
|
191
|
+
created_at: z.ZodEffects<z.ZodString, string, string>;
|
182
192
|
created_at_timestamp: z.ZodNumber;
|
183
193
|
plan: z.ZodString;
|
184
194
|
}, "strip", z.ZodTypeAny, {
|
@@ -194,14 +204,14 @@ export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
194
204
|
plan: string;
|
195
205
|
uuid?: string | undefined;
|
196
206
|
}>>, z.ZodObject<{
|
197
|
-
quota_usage: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
198
|
-
quota_allowed: z.ZodRecord<z.ZodEnum<["keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
207
|
+
quota_usage: z.ZodRecord<z.ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
208
|
+
quota_allowed: z.ZodRecord<z.ZodEnum<["users", "keys", "projects", "mau", "trafficBytes", "ai_words"]>, z.ZodNumber>;
|
199
209
|
}, "strip", z.ZodTypeAny, {
|
200
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
201
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
210
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
211
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
202
212
|
}, {
|
203
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
204
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
213
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
214
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
205
215
|
}>>, z.ZodObject<{
|
206
216
|
is_team_suspended: z.ZodBoolean;
|
207
217
|
is_end_of_trial_active: z.ZodBoolean;
|
@@ -227,8 +237,8 @@ export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
227
237
|
plan: string;
|
228
238
|
uuid?: string | undefined;
|
229
239
|
}) & {
|
230
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
231
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
240
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
241
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
232
242
|
}) & {
|
233
243
|
is_team_suspended: boolean;
|
234
244
|
is_end_of_trial_active: boolean;
|
@@ -246,8 +256,8 @@ export declare const RETRIEVE_TEAM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
246
256
|
plan: string;
|
247
257
|
uuid?: string | undefined;
|
248
258
|
}) & {
|
249
|
-
quota_usage: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
250
|
-
quota_allowed: Partial<Record<"keys" | "projects" | "mau" | "trafficBytes" | "ai_words", number>>;
|
259
|
+
quota_usage: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
260
|
+
quota_allowed: Partial<Record<"keys" | "projects" | "users" | "mau" | "trafficBytes" | "ai_words", number>>;
|
251
261
|
}) & {
|
252
262
|
is_team_suspended: boolean;
|
253
263
|
is_end_of_trial_active: boolean;
|