@lokalise/harmony 1.33.0-exp-louis-27.0.0.1 → 1.33.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 (399) hide show
  1. package/dist/harmony.cjs +22 -16
  2. package/dist/harmony.cjs.map +1 -1
  3. package/dist/harmony.mjs +23 -17
  4. package/dist/harmony.mjs.map +1 -1
  5. package/dist/harmony100.cjs +22 -19
  6. package/dist/harmony100.cjs.map +1 -1
  7. package/dist/harmony100.mjs +21 -18
  8. package/dist/harmony100.mjs.map +1 -1
  9. package/dist/harmony101.cjs +5 -13
  10. package/dist/harmony101.cjs.map +1 -1
  11. package/dist/harmony101.mjs +5 -13
  12. package/dist/harmony101.mjs.map +1 -1
  13. package/dist/harmony102.cjs +132 -21
  14. package/dist/harmony102.cjs.map +1 -1
  15. package/dist/harmony102.mjs +131 -20
  16. package/dist/harmony102.mjs.map +1 -1
  17. package/dist/harmony103.cjs +12 -6
  18. package/dist/harmony103.cjs.map +1 -1
  19. package/dist/harmony103.mjs +11 -5
  20. package/dist/harmony103.mjs.map +1 -1
  21. package/dist/harmony104.cjs +5 -132
  22. package/dist/harmony104.cjs.map +1 -1
  23. package/dist/harmony104.mjs +5 -132
  24. package/dist/harmony104.mjs.map +1 -1
  25. package/dist/harmony105.cjs +40 -12
  26. package/dist/harmony105.cjs.map +1 -1
  27. package/dist/harmony105.mjs +39 -11
  28. package/dist/harmony105.mjs.map +1 -1
  29. package/dist/harmony106.cjs +59 -4
  30. package/dist/harmony106.cjs.map +1 -1
  31. package/dist/harmony106.mjs +60 -5
  32. package/dist/harmony106.mjs.map +1 -1
  33. package/dist/harmony107.cjs +6 -39
  34. package/dist/harmony107.cjs.map +1 -1
  35. package/dist/harmony107.mjs +6 -39
  36. package/dist/harmony107.mjs.map +1 -1
  37. package/dist/harmony108.cjs +95 -56
  38. package/dist/harmony108.cjs.map +1 -1
  39. package/dist/harmony108.mjs +79 -57
  40. package/dist/harmony108.mjs.map +1 -1
  41. package/dist/harmony109.cjs +18 -7
  42. package/dist/harmony109.cjs.map +1 -1
  43. package/dist/harmony109.mjs +18 -7
  44. package/dist/harmony109.mjs.map +1 -1
  45. package/dist/harmony110.cjs +14 -6
  46. package/dist/harmony110.cjs.map +1 -1
  47. package/dist/harmony110.mjs +13 -5
  48. package/dist/harmony110.mjs.map +1 -1
  49. package/dist/harmony111.cjs +6 -5
  50. package/dist/harmony111.cjs.map +1 -1
  51. package/dist/harmony111.mjs +6 -5
  52. package/dist/harmony112.cjs +63 -6
  53. package/dist/harmony112.cjs.map +1 -1
  54. package/dist/harmony112.mjs +62 -5
  55. package/dist/harmony112.mjs.map +1 -1
  56. package/dist/harmony113.cjs +87 -61
  57. package/dist/harmony113.cjs.map +1 -1
  58. package/dist/harmony113.mjs +87 -61
  59. package/dist/harmony113.mjs.map +1 -1
  60. package/dist/harmony114.cjs +18 -88
  61. package/dist/harmony114.cjs.map +1 -1
  62. package/dist/harmony114.mjs +17 -87
  63. package/dist/harmony114.mjs.map +1 -1
  64. package/dist/harmony115.cjs +5 -18
  65. package/dist/harmony115.cjs.map +1 -1
  66. package/dist/harmony115.mjs +5 -18
  67. package/dist/harmony115.mjs.map +1 -1
  68. package/dist/harmony116.cjs +6 -97
  69. package/dist/harmony116.cjs.map +1 -1
  70. package/dist/harmony116.mjs +5 -96
  71. package/dist/harmony116.mjs.map +1 -1
  72. package/dist/harmony117.cjs +94 -11
  73. package/dist/harmony117.cjs.map +1 -1
  74. package/dist/harmony117.mjs +94 -11
  75. package/dist/harmony117.mjs.map +1 -1
  76. package/dist/harmony118.cjs +12 -13
  77. package/dist/harmony118.cjs.map +1 -1
  78. package/dist/harmony118.mjs +12 -13
  79. package/dist/harmony118.mjs.map +1 -1
  80. package/dist/harmony119.cjs +13 -35
  81. package/dist/harmony119.cjs.map +1 -1
  82. package/dist/harmony119.mjs +13 -35
  83. package/dist/harmony119.mjs.map +1 -1
  84. package/dist/harmony120.cjs +32 -24
  85. package/dist/harmony120.cjs.map +1 -1
  86. package/dist/harmony120.mjs +32 -24
  87. package/dist/harmony120.mjs.map +1 -1
  88. package/dist/harmony121.cjs +27 -12
  89. package/dist/harmony121.cjs.map +1 -1
  90. package/dist/harmony121.mjs +27 -12
  91. package/dist/harmony121.mjs.map +1 -1
  92. package/dist/harmony122.cjs +7 -15
  93. package/dist/harmony122.cjs.map +1 -1
  94. package/dist/harmony122.mjs +7 -15
  95. package/dist/harmony122.mjs.map +1 -1
  96. package/dist/harmony123.cjs +57 -16
  97. package/dist/harmony123.cjs.map +1 -1
  98. package/dist/harmony123.mjs +57 -16
  99. package/dist/harmony123.mjs.map +1 -1
  100. package/dist/harmony124.cjs +59 -6
  101. package/dist/harmony124.cjs.map +1 -1
  102. package/dist/harmony124.mjs +59 -6
  103. package/dist/harmony124.mjs.map +1 -1
  104. package/dist/harmony125.cjs +18 -57
  105. package/dist/harmony125.cjs.map +1 -1
  106. package/dist/harmony125.mjs +17 -56
  107. package/dist/harmony125.mjs.map +1 -1
  108. package/dist/harmony126.cjs +13 -60
  109. package/dist/harmony126.cjs.map +1 -1
  110. package/dist/harmony126.mjs +13 -60
  111. package/dist/harmony126.mjs.map +1 -1
  112. package/dist/harmony127.cjs +16 -19
  113. package/dist/harmony127.cjs.map +1 -1
  114. package/dist/harmony127.mjs +15 -18
  115. package/dist/harmony127.mjs.map +1 -1
  116. package/dist/harmony128.cjs +15 -10
  117. package/dist/harmony128.cjs.map +1 -1
  118. package/dist/harmony128.mjs +15 -10
  119. package/dist/harmony128.mjs.map +1 -1
  120. package/dist/harmony129.cjs +10 -15
  121. package/dist/harmony129.cjs.map +1 -1
  122. package/dist/harmony129.mjs +10 -15
  123. package/dist/harmony129.mjs.map +1 -1
  124. package/dist/harmony130.cjs +13 -18
  125. package/dist/harmony130.cjs.map +1 -1
  126. package/dist/harmony130.mjs +13 -18
  127. package/dist/harmony130.mjs.map +1 -1
  128. package/dist/harmony131.cjs +19 -10
  129. package/dist/harmony131.cjs.map +1 -1
  130. package/dist/harmony131.mjs +19 -10
  131. package/dist/harmony131.mjs.map +1 -1
  132. package/dist/harmony132.cjs +11 -5
  133. package/dist/harmony132.cjs.map +1 -1
  134. package/dist/harmony132.mjs +11 -5
  135. package/dist/harmony132.mjs.map +1 -1
  136. package/dist/harmony133.cjs +46 -12
  137. package/dist/harmony133.cjs.map +1 -1
  138. package/dist/harmony133.mjs +46 -12
  139. package/dist/harmony133.mjs.map +1 -1
  140. package/dist/harmony134.cjs +13 -33
  141. package/dist/harmony134.cjs.map +1 -1
  142. package/dist/harmony134.mjs +12 -32
  143. package/dist/harmony134.mjs.map +1 -1
  144. package/dist/harmony135.cjs +5 -13
  145. package/dist/harmony135.cjs.map +1 -1
  146. package/dist/harmony135.mjs +5 -13
  147. package/dist/harmony135.mjs.map +1 -1
  148. package/dist/harmony136.cjs +12 -46
  149. package/dist/harmony136.cjs.map +1 -1
  150. package/dist/harmony136.mjs +12 -46
  151. package/dist/harmony136.mjs.map +1 -1
  152. package/dist/harmony137.cjs +33 -13
  153. package/dist/harmony137.cjs.map +1 -1
  154. package/dist/harmony137.mjs +32 -12
  155. package/dist/harmony137.mjs.map +1 -1
  156. package/dist/harmony138.cjs +17 -0
  157. package/dist/harmony138.cjs.map +1 -0
  158. package/dist/harmony138.mjs +17 -0
  159. package/dist/harmony138.mjs.map +1 -0
  160. package/dist/harmony16.cjs +1 -1
  161. package/dist/harmony16.mjs +1 -1
  162. package/dist/harmony23.cjs +1 -1
  163. package/dist/harmony23.mjs +1 -1
  164. package/dist/harmony24.cjs +1 -1
  165. package/dist/harmony24.mjs +1 -1
  166. package/dist/harmony26.cjs +1 -1
  167. package/dist/harmony26.mjs +1 -1
  168. package/dist/harmony27.cjs +2 -2
  169. package/dist/harmony27.mjs +2 -2
  170. package/dist/harmony28.cjs +2 -2
  171. package/dist/harmony28.mjs +2 -2
  172. package/dist/harmony29.cjs +2 -2
  173. package/dist/harmony29.mjs +2 -2
  174. package/dist/harmony3.cjs +3 -3
  175. package/dist/harmony3.mjs +3 -3
  176. package/dist/harmony30.cjs +1 -1
  177. package/dist/harmony30.mjs +1 -1
  178. package/dist/harmony31.cjs +2 -2
  179. package/dist/harmony31.mjs +2 -2
  180. package/dist/harmony32.cjs +1 -1
  181. package/dist/harmony32.mjs +1 -1
  182. package/dist/harmony33.cjs +9 -1
  183. package/dist/harmony33.cjs.map +1 -1
  184. package/dist/harmony33.mjs +10 -2
  185. package/dist/harmony33.mjs.map +1 -1
  186. package/dist/harmony34.cjs +1 -1
  187. package/dist/harmony34.mjs +1 -1
  188. package/dist/harmony4.cjs +10 -10
  189. package/dist/harmony4.mjs +10 -10
  190. package/dist/harmony5.cjs +1 -1
  191. package/dist/harmony5.mjs +1 -1
  192. package/dist/harmony50.cjs +14 -12
  193. package/dist/harmony50.cjs.map +1 -1
  194. package/dist/harmony50.mjs +14 -12
  195. package/dist/harmony50.mjs.map +1 -1
  196. package/dist/harmony51.cjs +12 -14
  197. package/dist/harmony51.cjs.map +1 -1
  198. package/dist/harmony51.mjs +12 -14
  199. package/dist/harmony51.mjs.map +1 -1
  200. package/dist/harmony52.cjs +8 -8
  201. package/dist/harmony52.cjs.map +1 -1
  202. package/dist/harmony52.mjs +8 -8
  203. package/dist/harmony52.mjs.map +1 -1
  204. package/dist/harmony53.cjs +10 -7
  205. package/dist/harmony53.cjs.map +1 -1
  206. package/dist/harmony53.mjs +12 -9
  207. package/dist/harmony53.mjs.map +1 -1
  208. package/dist/harmony54.cjs +14 -56
  209. package/dist/harmony54.cjs.map +1 -1
  210. package/dist/harmony54.mjs +14 -56
  211. package/dist/harmony54.mjs.map +1 -1
  212. package/dist/harmony55.cjs +48 -74
  213. package/dist/harmony55.cjs.map +1 -1
  214. package/dist/harmony55.mjs +47 -73
  215. package/dist/harmony55.mjs.map +1 -1
  216. package/dist/harmony56.cjs +80 -4
  217. package/dist/harmony56.cjs.map +1 -1
  218. package/dist/harmony56.mjs +80 -4
  219. package/dist/harmony56.mjs.map +1 -1
  220. package/dist/harmony57.cjs +4 -21
  221. package/dist/harmony57.cjs.map +1 -1
  222. package/dist/harmony57.mjs +4 -21
  223. package/dist/harmony57.mjs.map +1 -1
  224. package/dist/harmony58.cjs +20 -17
  225. package/dist/harmony58.cjs.map +1 -1
  226. package/dist/harmony58.mjs +20 -17
  227. package/dist/harmony58.mjs.map +1 -1
  228. package/dist/harmony59.cjs +14 -137
  229. package/dist/harmony59.cjs.map +1 -1
  230. package/dist/harmony59.mjs +12 -135
  231. package/dist/harmony59.mjs.map +1 -1
  232. package/dist/harmony6.cjs +4 -4
  233. package/dist/harmony6.mjs +4 -4
  234. package/dist/harmony60.cjs +142 -46
  235. package/dist/harmony60.cjs.map +1 -1
  236. package/dist/harmony60.mjs +141 -45
  237. package/dist/harmony60.mjs.map +1 -1
  238. package/dist/harmony61.cjs +46 -25
  239. package/dist/harmony61.cjs.map +1 -1
  240. package/dist/harmony61.mjs +46 -25
  241. package/dist/harmony61.mjs.map +1 -1
  242. package/dist/harmony62.cjs +24 -6
  243. package/dist/harmony62.cjs.map +1 -1
  244. package/dist/harmony62.mjs +24 -6
  245. package/dist/harmony62.mjs.map +1 -1
  246. package/dist/harmony63.cjs +6 -82
  247. package/dist/harmony63.cjs.map +1 -1
  248. package/dist/harmony63.mjs +6 -82
  249. package/dist/harmony63.mjs.map +1 -1
  250. package/dist/harmony64.cjs +80 -20
  251. package/dist/harmony64.cjs.map +1 -1
  252. package/dist/harmony64.mjs +80 -20
  253. package/dist/harmony64.mjs.map +1 -1
  254. package/dist/harmony65.cjs +31 -16
  255. package/dist/harmony65.cjs.map +1 -1
  256. package/dist/harmony65.mjs +31 -16
  257. package/dist/harmony65.mjs.map +1 -1
  258. package/dist/harmony66.cjs +19 -16
  259. package/dist/harmony66.cjs.map +1 -1
  260. package/dist/harmony66.mjs +18 -15
  261. package/dist/harmony66.mjs.map +1 -1
  262. package/dist/harmony67.cjs +15 -18
  263. package/dist/harmony67.cjs.map +1 -1
  264. package/dist/harmony67.mjs +15 -18
  265. package/dist/harmony67.mjs.map +1 -1
  266. package/dist/harmony68.cjs +18 -61
  267. package/dist/harmony68.cjs.map +1 -1
  268. package/dist/harmony68.mjs +18 -61
  269. package/dist/harmony68.mjs.map +1 -1
  270. package/dist/harmony69.cjs +61 -6
  271. package/dist/harmony69.cjs.map +1 -1
  272. package/dist/harmony69.mjs +61 -6
  273. package/dist/harmony69.mjs.map +1 -1
  274. package/dist/harmony7.cjs +1 -1
  275. package/dist/harmony7.mjs +1 -1
  276. package/dist/harmony70.cjs +7 -10
  277. package/dist/harmony70.cjs.map +1 -1
  278. package/dist/harmony70.mjs +6 -9
  279. package/dist/harmony70.mjs.map +1 -1
  280. package/dist/harmony71.cjs +8 -17
  281. package/dist/harmony71.cjs.map +1 -1
  282. package/dist/harmony71.mjs +7 -16
  283. package/dist/harmony71.mjs.map +1 -1
  284. package/dist/harmony72.cjs +13 -18
  285. package/dist/harmony72.cjs.map +1 -1
  286. package/dist/harmony72.mjs +13 -18
  287. package/dist/harmony72.mjs.map +1 -1
  288. package/dist/harmony73.cjs +22 -4
  289. package/dist/harmony73.cjs.map +1 -1
  290. package/dist/harmony73.mjs +22 -4
  291. package/dist/harmony73.mjs.map +1 -1
  292. package/dist/harmony74.cjs +4 -31
  293. package/dist/harmony74.cjs.map +1 -1
  294. package/dist/harmony74.mjs +5 -32
  295. package/dist/harmony74.mjs.map +1 -1
  296. package/dist/harmony75.cjs +26 -26
  297. package/dist/harmony75.cjs.map +1 -1
  298. package/dist/harmony75.mjs +27 -27
  299. package/dist/harmony75.mjs.map +1 -1
  300. package/dist/harmony76.cjs +25 -12
  301. package/dist/harmony76.cjs.map +1 -1
  302. package/dist/harmony76.mjs +25 -12
  303. package/dist/harmony76.mjs.map +1 -1
  304. package/dist/harmony77.cjs +12 -24
  305. package/dist/harmony77.cjs.map +1 -1
  306. package/dist/harmony77.mjs +13 -25
  307. package/dist/harmony77.mjs.map +1 -1
  308. package/dist/harmony78.cjs +27 -55
  309. package/dist/harmony78.cjs.map +1 -1
  310. package/dist/harmony78.mjs +29 -57
  311. package/dist/harmony78.mjs.map +1 -1
  312. package/dist/harmony79.cjs +60 -10
  313. package/dist/harmony79.cjs.map +1 -1
  314. package/dist/harmony79.mjs +59 -9
  315. package/dist/harmony79.mjs.map +1 -1
  316. package/dist/harmony80.cjs +10 -9
  317. package/dist/harmony80.cjs.map +1 -1
  318. package/dist/harmony80.mjs +9 -8
  319. package/dist/harmony80.mjs.map +1 -1
  320. package/dist/harmony81.cjs +5 -26
  321. package/dist/harmony81.cjs.map +1 -1
  322. package/dist/harmony81.mjs +8 -29
  323. package/dist/harmony81.mjs.map +1 -1
  324. package/dist/harmony82.cjs +29 -3
  325. package/dist/harmony82.cjs.map +1 -1
  326. package/dist/harmony82.mjs +29 -3
  327. package/dist/harmony82.mjs.map +1 -1
  328. package/dist/harmony83.cjs +3 -40
  329. package/dist/harmony83.cjs.map +1 -1
  330. package/dist/harmony83.mjs +3 -40
  331. package/dist/harmony83.mjs.map +1 -1
  332. package/dist/harmony84.cjs +40 -6
  333. package/dist/harmony84.cjs.map +1 -1
  334. package/dist/harmony84.mjs +39 -5
  335. package/dist/harmony84.mjs.map +1 -1
  336. package/dist/harmony85.cjs +3 -6
  337. package/dist/harmony85.cjs.map +1 -1
  338. package/dist/harmony85.mjs +3 -6
  339. package/dist/harmony85.mjs.map +1 -1
  340. package/dist/harmony86.cjs +6 -6
  341. package/dist/harmony86.mjs +6 -6
  342. package/dist/harmony87.cjs +9 -57
  343. package/dist/harmony87.cjs.map +1 -1
  344. package/dist/harmony87.mjs +8 -56
  345. package/dist/harmony87.mjs.map +1 -1
  346. package/dist/harmony88.cjs +51 -36
  347. package/dist/harmony88.cjs.map +1 -1
  348. package/dist/harmony88.mjs +52 -37
  349. package/dist/harmony88.mjs.map +1 -1
  350. package/dist/harmony89.cjs +42 -5
  351. package/dist/harmony89.cjs.map +1 -1
  352. package/dist/harmony89.mjs +42 -5
  353. package/dist/harmony89.mjs.map +1 -1
  354. package/dist/harmony90.cjs +6 -10
  355. package/dist/harmony90.cjs.map +1 -1
  356. package/dist/harmony90.mjs +5 -9
  357. package/dist/harmony90.mjs.map +1 -1
  358. package/dist/harmony91.cjs +6 -21
  359. package/dist/harmony91.cjs.map +1 -1
  360. package/dist/harmony91.mjs +6 -21
  361. package/dist/harmony91.mjs.map +1 -1
  362. package/dist/harmony92.cjs +21 -3
  363. package/dist/harmony92.cjs.map +1 -1
  364. package/dist/harmony92.mjs +21 -3
  365. package/dist/harmony92.mjs.map +1 -1
  366. package/dist/harmony93.cjs +6 -21
  367. package/dist/harmony93.cjs.map +1 -1
  368. package/dist/harmony93.mjs +5 -20
  369. package/dist/harmony93.mjs.map +1 -1
  370. package/dist/harmony94.cjs +21 -12
  371. package/dist/harmony94.cjs.map +1 -1
  372. package/dist/harmony94.mjs +20 -11
  373. package/dist/harmony94.mjs.map +1 -1
  374. package/dist/harmony95.cjs +12 -12
  375. package/dist/harmony95.cjs.map +1 -1
  376. package/dist/harmony95.mjs +11 -11
  377. package/dist/harmony95.mjs.map +1 -1
  378. package/dist/harmony96.cjs +12 -12
  379. package/dist/harmony96.cjs.map +1 -1
  380. package/dist/harmony96.mjs +11 -11
  381. package/dist/harmony96.mjs.map +1 -1
  382. package/dist/harmony97.cjs +13 -12
  383. package/dist/harmony97.cjs.map +1 -1
  384. package/dist/harmony97.mjs +12 -11
  385. package/dist/harmony97.mjs.map +1 -1
  386. package/dist/harmony98.cjs +12 -22
  387. package/dist/harmony98.cjs.map +1 -1
  388. package/dist/harmony98.mjs +11 -21
  389. package/dist/harmony98.mjs.map +1 -1
  390. package/dist/harmony99.cjs +21 -99
  391. package/dist/harmony99.cjs.map +1 -1
  392. package/dist/harmony99.mjs +20 -81
  393. package/dist/harmony99.mjs.map +1 -1
  394. package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +32 -0
  395. package/dist/types/src/features/publicApi/node.d.ts +1 -0
  396. package/dist/types/src/features/publicApi/teamUsers.d.ts +110 -0
  397. package/dist/types/src/features/publicApi/types/projectTypes.d.ts +65 -0
  398. package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +54 -0
  399. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"harmony99.cjs","sources":["../node_modules/react-resize-detector/build/utils.js"],"sourcesContent":["import * as React from 'react';\nimport debounce from 'lodash/debounce.js';\nimport throttle from 'lodash/throttle.js';\n\n/**\n * Wraps the resize callback with a lodash debounce / throttle based on the refresh mode\n */\nconst patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {\n switch (refreshMode) {\n case 'debounce':\n return debounce(resizeCallback, refreshRate, refreshOptions);\n case 'throttle':\n return throttle(resizeCallback, refreshRate, refreshOptions);\n default:\n return resizeCallback;\n }\n};\n/**\n * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a\n * prop or avoid re-executing effects when passed as a dependency\n */\nconst useCallbackRef = \n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n(callback) => {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => ((...args) => { var _a; return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args); }), []);\n};\n/** `useRef` hook doesn't handle conditional rendering or dynamic ref changes.\n * This hook creates a proxy that ensures that `refElement` is updated whenever the ref is changed. */\nconst useRefProxy = \n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n(targetRef) => {\n // we are going to use this ref to store the last element that was passed to the hook\n const [refElement, setRefElement] = React.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);\n // if targetRef is passed, we need to update the refElement\n // we have to use setTimeout because ref get assigned after the hook is called\n // in the future releases we are going to remove targetRef and force users to use ref returned by the hook\n if (targetRef) {\n setTimeout(() => {\n if (targetRef.current !== refElement) {\n setRefElement(targetRef.current);\n }\n }, 0);\n }\n // this is a memo that will be called every time the ref is changed\n // This proxy will properly call setState either when the ref is called as a function or when `.current` is set\n // we call setState inside to trigger rerender\n const refProxy = React.useMemo(() => new Proxy((node) => {\n if (node !== refElement) {\n setRefElement(node);\n }\n }, {\n get(target, prop) {\n if (prop === 'current') {\n return refElement;\n }\n return target[prop];\n },\n set(target, prop, value) {\n if (prop === 'current') {\n setRefElement(value);\n }\n else {\n target[prop] = value;\n }\n return true;\n },\n }), [refElement]);\n return { refProxy, refElement, setRefElement };\n};\n/** Calculates the dimensions of the element based on the current box model.\n * @see https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model\n */\nconst getDimensions = (entry, box) => {\n // Value\t Border\t Padding\t Inner Content\n // ---------------------------------------------------\n // 'border-box'\t Yes\t Yes\t Yes\n // 'content-box'\t No\t No\t Yes\n // undefined No\t No?\t Yes\n if (box === 'border-box') {\n return {\n width: entry.borderBoxSize[0].inlineSize,\n height: entry.borderBoxSize[0].blockSize,\n };\n }\n if (box === 'content-box') {\n return {\n width: entry.contentBoxSize[0].inlineSize,\n height: entry.contentBoxSize[0].blockSize,\n };\n }\n return {\n width: entry.contentRect.width,\n height: entry.contentRect.height,\n };\n};\n\nexport { getDimensions, patchResizeCallback, useCallbackRef, useRefProxy };\n//# sourceMappingURL=utils.js.map\n"],"names":["debounce","throttle","React"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAOK,MAAC,sBAAsB,CAAC,gBAAgB,aAAa,aAAa,mBAAmB;AACtF,UAAQ,aAAW;AAAA,IACf,KAAK;AACD,aAAOA,iBAAS,gBAAgB,aAAa,cAAc;AAAA,IAC/D,KAAK;AACD,aAAOC,iBAAS,gBAAgB,aAAa,cAAc;AAAA,IAC/D;AACI,aAAO;AAAA,EACnB;AACA;AAKK,MAAC;AAAA;AAAA,EAEN,CAAC,aAAa;AACV,UAAM,cAAcC,iBAAM,OAAO,QAAQ;AACzCA,qBAAM,UAAU,MAAM;AAClB,kBAAY,UAAU;AAAA,IAC9B,CAAK;AACD,WAAOA,iBAAM,QAAQ,MAAO,IAAI,SAAS;AAAE,UAAI;AAAI,cAAQ,KAAK,YAAY,aAAa,QAAQ,OAAO,SAAS,SAAS,GAAG,KAAK,aAAa,GAAG,IAAI;AAAA,IAAI,GAAG,CAAA,CAAE;AAAA,EACnK;AAAA;AAGK,MAAC;AAAA;AAAA,EAEN,CAAC,cAAc;AAEX,UAAM,CAAC,YAAY,aAAa,IAAIA,iBAAM,UAAU,cAAc,QAAQ,cAAc,SAAS,SAAS,UAAU,YAAY,IAAI;AAIpI,QAAI,WAAW;AACX,iBAAW,MAAM;AACb,YAAI,UAAU,YAAY,YAAY;AAClC,wBAAc,UAAU,OAAO;AAAA,QAC/C;AAAA,MACS,GAAE,CAAC;AAAA,IACZ;AAII,UAAM,WAAWA,iBAAM,QAAQ,MAAM,IAAI,MAAM,CAAC,SAAS;AACrD,UAAI,SAAS,YAAY;AACrB,sBAAc,IAAI;AAAA,MAC9B;AAAA,IACA,GAAO;AAAA,MACC,IAAI,QAAQ,MAAM;AACd,YAAI,SAAS,WAAW;AACpB,iBAAO;AAAA,QACvB;AACY,eAAO,OAAO,IAAI;AAAA,MACrB;AAAA,MACD,IAAI,QAAQ,MAAM,OAAO;AACrB,YAAI,SAAS,WAAW;AACpB,wBAAc,KAAK;AAAA,QACnC,OACiB;AACD,iBAAO,IAAI,IAAI;AAAA,QAC/B;AACY,eAAO;AAAA,MACV;AAAA,IACT,CAAK,GAAG,CAAC,UAAU,CAAC;AAChB,WAAO,EAAE,UAAU,YAAY,cAAe;AAAA,EAClD;AAAA;AAIK,MAAC,gBAAgB,CAAC,OAAO,QAAQ;AAMlC,MAAI,QAAQ,cAAc;AACtB,WAAO;AAAA,MACH,OAAO,MAAM,cAAc,CAAC,EAAE;AAAA,MAC9B,QAAQ,MAAM,cAAc,CAAC,EAAE;AAAA,IAClC;AAAA,EACT;AACI,MAAI,QAAQ,eAAe;AACvB,WAAO;AAAA,MACH,OAAO,MAAM,eAAe,CAAC,EAAE;AAAA,MAC/B,QAAQ,MAAM,eAAe,CAAC,EAAE;AAAA,IACnC;AAAA,EACT;AACI,SAAO;AAAA,IACH,OAAO,MAAM,YAAY;AAAA,IACzB,QAAQ,MAAM,YAAY;AAAA,EAC7B;AACL;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"harmony99.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,85 +1,24 @@
1
- import * as React from "react";
2
- import debounce from "./harmony111.mjs";
3
- import throttle from "./harmony112.mjs";
4
- const patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {
5
- switch (refreshMode) {
6
- case "debounce":
7
- return debounce(resizeCallback, refreshRate, refreshOptions);
8
- case "throttle":
9
- return throttle(resizeCallback, refreshRate, refreshOptions);
10
- default:
11
- return resizeCallback;
12
- }
13
- };
14
- const useCallbackRef = (
15
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
16
- (callback) => {
17
- const callbackRef = React.useRef(callback);
18
- React.useEffect(() => {
19
- callbackRef.current = callback;
20
- });
21
- return React.useMemo(() => (...args) => {
22
- var _a;
23
- return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args);
24
- }, []);
25
- }
26
- );
27
- const useRefProxy = (
28
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
29
- (targetRef) => {
30
- const [refElement, setRefElement] = React.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);
31
- if (targetRef) {
32
- setTimeout(() => {
33
- if (targetRef.current !== refElement) {
34
- setRefElement(targetRef.current);
35
- }
36
- }, 0);
37
- }
38
- const refProxy = React.useMemo(() => new Proxy((node) => {
39
- if (node !== refElement) {
40
- setRefElement(node);
41
- }
42
- }, {
43
- get(target, prop) {
44
- if (prop === "current") {
45
- return refElement;
46
- }
47
- return target[prop];
48
- },
49
- set(target, prop, value) {
50
- if (prop === "current") {
51
- setRefElement(value);
52
- } else {
53
- target[prop] = value;
54
- }
55
- return true;
56
- }
57
- }), [refElement]);
58
- return { refProxy, refElement, setRefElement };
59
- }
60
- );
61
- const getDimensions = (entry, box) => {
62
- if (box === "border-box") {
63
- return {
64
- width: entry.borderBoxSize[0].inlineSize,
65
- height: entry.borderBoxSize[0].blockSize
66
- };
67
- }
68
- if (box === "content-box") {
69
- return {
70
- width: entry.contentBoxSize[0].inlineSize,
71
- height: entry.contentBoxSize[0].blockSize
72
- };
73
- }
74
- return {
75
- width: entry.contentRect.width,
76
- height: entry.contentRect.height
77
- };
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
78
14
  };
79
15
  export {
80
- getDimensions,
81
- patchResizeCallback,
82
- useCallbackRef,
83
- useRefProxy
16
+ badge,
17
+ classes as default,
18
+ disabled,
19
+ projectNavigationItem,
20
+ projectNavigationItemDisabled,
21
+ tag,
22
+ withNavLinkStyle
84
23
  };
85
24
  //# sourceMappingURL=harmony99.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony99.mjs","sources":["../node_modules/react-resize-detector/build/utils.js"],"sourcesContent":["import * as React from 'react';\nimport debounce from 'lodash/debounce.js';\nimport throttle from 'lodash/throttle.js';\n\n/**\n * Wraps the resize callback with a lodash debounce / throttle based on the refresh mode\n */\nconst patchResizeCallback = (resizeCallback, refreshMode, refreshRate, refreshOptions) => {\n switch (refreshMode) {\n case 'debounce':\n return debounce(resizeCallback, refreshRate, refreshOptions);\n case 'throttle':\n return throttle(resizeCallback, refreshRate, refreshOptions);\n default:\n return resizeCallback;\n }\n};\n/**\n * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a\n * prop or avoid re-executing effects when passed as a dependency\n */\nconst useCallbackRef = \n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n(callback) => {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => ((...args) => { var _a; return (_a = callbackRef.current) === null || _a === void 0 ? void 0 : _a.call(callbackRef, ...args); }), []);\n};\n/** `useRef` hook doesn't handle conditional rendering or dynamic ref changes.\n * This hook creates a proxy that ensures that `refElement` is updated whenever the ref is changed. */\nconst useRefProxy = \n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n(targetRef) => {\n // we are going to use this ref to store the last element that was passed to the hook\n const [refElement, setRefElement] = React.useState((targetRef === null || targetRef === void 0 ? void 0 : targetRef.current) || null);\n // if targetRef is passed, we need to update the refElement\n // we have to use setTimeout because ref get assigned after the hook is called\n // in the future releases we are going to remove targetRef and force users to use ref returned by the hook\n if (targetRef) {\n setTimeout(() => {\n if (targetRef.current !== refElement) {\n setRefElement(targetRef.current);\n }\n }, 0);\n }\n // this is a memo that will be called every time the ref is changed\n // This proxy will properly call setState either when the ref is called as a function or when `.current` is set\n // we call setState inside to trigger rerender\n const refProxy = React.useMemo(() => new Proxy((node) => {\n if (node !== refElement) {\n setRefElement(node);\n }\n }, {\n get(target, prop) {\n if (prop === 'current') {\n return refElement;\n }\n return target[prop];\n },\n set(target, prop, value) {\n if (prop === 'current') {\n setRefElement(value);\n }\n else {\n target[prop] = value;\n }\n return true;\n },\n }), [refElement]);\n return { refProxy, refElement, setRefElement };\n};\n/** Calculates the dimensions of the element based on the current box model.\n * @see https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model\n */\nconst getDimensions = (entry, box) => {\n // Value\t Border\t Padding\t Inner Content\n // ---------------------------------------------------\n // 'border-box'\t Yes\t Yes\t Yes\n // 'content-box'\t No\t No\t Yes\n // undefined No\t No?\t Yes\n if (box === 'border-box') {\n return {\n width: entry.borderBoxSize[0].inlineSize,\n height: entry.borderBoxSize[0].blockSize,\n };\n }\n if (box === 'content-box') {\n return {\n width: entry.contentBoxSize[0].inlineSize,\n height: entry.contentBoxSize[0].blockSize,\n };\n }\n return {\n width: entry.contentRect.width,\n height: entry.contentRect.height,\n };\n};\n\nexport { getDimensions, patchResizeCallback, useCallbackRef, useRefProxy };\n//# sourceMappingURL=utils.js.map\n"],"names":[],"mappings":";;;AAOK,MAAC,sBAAsB,CAAC,gBAAgB,aAAa,aAAa,mBAAmB;AACtF,UAAQ,aAAW;AAAA,IACf,KAAK;AACD,aAAO,SAAS,gBAAgB,aAAa,cAAc;AAAA,IAC/D,KAAK;AACD,aAAO,SAAS,gBAAgB,aAAa,cAAc;AAAA,IAC/D;AACI,aAAO;AAAA,EACnB;AACA;AAKK,MAAC;AAAA;AAAA,EAEN,CAAC,aAAa;AACV,UAAM,cAAc,MAAM,OAAO,QAAQ;AACzC,UAAM,UAAU,MAAM;AAClB,kBAAY,UAAU;AAAA,IAC9B,CAAK;AACD,WAAO,MAAM,QAAQ,MAAO,IAAI,SAAS;AAAE,UAAI;AAAI,cAAQ,KAAK,YAAY,aAAa,QAAQ,OAAO,SAAS,SAAS,GAAG,KAAK,aAAa,GAAG,IAAI;AAAA,IAAI,GAAG,CAAA,CAAE;AAAA,EACnK;AAAA;AAGK,MAAC;AAAA;AAAA,EAEN,CAAC,cAAc;AAEX,UAAM,CAAC,YAAY,aAAa,IAAI,MAAM,UAAU,cAAc,QAAQ,cAAc,SAAS,SAAS,UAAU,YAAY,IAAI;AAIpI,QAAI,WAAW;AACX,iBAAW,MAAM;AACb,YAAI,UAAU,YAAY,YAAY;AAClC,wBAAc,UAAU,OAAO;AAAA,QAC/C;AAAA,MACS,GAAE,CAAC;AAAA,IACZ;AAII,UAAM,WAAW,MAAM,QAAQ,MAAM,IAAI,MAAM,CAAC,SAAS;AACrD,UAAI,SAAS,YAAY;AACrB,sBAAc,IAAI;AAAA,MAC9B;AAAA,IACA,GAAO;AAAA,MACC,IAAI,QAAQ,MAAM;AACd,YAAI,SAAS,WAAW;AACpB,iBAAO;AAAA,QACvB;AACY,eAAO,OAAO,IAAI;AAAA,MACrB;AAAA,MACD,IAAI,QAAQ,MAAM,OAAO;AACrB,YAAI,SAAS,WAAW;AACpB,wBAAc,KAAK;AAAA,QACnC,OACiB;AACD,iBAAO,IAAI,IAAI;AAAA,QAC/B;AACY,eAAO;AAAA,MACV;AAAA,IACT,CAAK,GAAG,CAAC,UAAU,CAAC;AAChB,WAAO,EAAE,UAAU,YAAY,cAAe;AAAA,EAClD;AAAA;AAIK,MAAC,gBAAgB,CAAC,OAAO,QAAQ;AAMlC,MAAI,QAAQ,cAAc;AACtB,WAAO;AAAA,MACH,OAAO,MAAM,cAAc,CAAC,EAAE;AAAA,MAC9B,QAAQ,MAAM,cAAc,CAAC,EAAE;AAAA,IAClC;AAAA,EACT;AACI,MAAI,QAAQ,eAAe;AACvB,WAAO;AAAA,MACH,OAAO,MAAM,eAAe,CAAC,EAAE;AAAA,MAC/B,QAAQ,MAAM,eAAe,CAAC,EAAE;AAAA,IACnC;AAAA,EACT;AACI,SAAO;AAAA,IACH,OAAO,MAAM,YAAY;AAAA,IACzB,QAAQ,MAAM,YAAY;AAAA,EAC7B;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"harmony99.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -0,0 +1,32 @@
1
+ import { HeaderBuilder } from '../../auth/core/headers/headerBuilder';
2
+ import { ProjectApiBaseHeaders } from '../types/projectTypes';
3
+ import { ListTeamUsersResponse, TeamPathParams } from '../types/teamUserTypes';
4
+ import { ApiQueryOverrides } from '../../../utils/types/apiQueryOverrides';
5
+ import { Wretch } from 'wretch';
6
+ /**
7
+ * Factory for the listTeamUsers public API endpoint key
8
+ */
9
+ export declare const listTeamUsersKey: {
10
+ paramsKey: (params: TeamPathParams) => readonly ["listTeamUsers", {
11
+ userId: number;
12
+ teamId: number;
13
+ }];
14
+ };
15
+ /**
16
+ * A react-router wrapper about the listTeamUsers public API endpoint
17
+ *
18
+ * @param wretchClient - Wretch instance configured to a public API instance.
19
+ * @param headers - A header builder instance to resolve the headers.
20
+ * @param overrides - Additional options to pass to the query.
21
+ */
22
+ export declare function useListTeamUsersQuery<T>(wretchClient: Wretch<T>, headers: HeaderBuilder<ProjectApiBaseHeaders>, overrides: ApiQueryOverrides<ListTeamUsersResponse, typeof listTeamUsersKey>): import('@tanstack/react-query').UseQueryResult<{
23
+ team_id: number;
24
+ team_users: {
25
+ role: "member" | "admin" | "biller" | "owner";
26
+ email: string;
27
+ user_id: number;
28
+ fullname: string;
29
+ created_at: string;
30
+ created_at_timestamp: number;
31
+ }[];
32
+ }, undefined>;
@@ -21,6 +21,7 @@ export * from './hooks/useListPermissionTemplates';
21
21
  export * from './hooks/useListProjectLanguagesQuery';
22
22
  export * from './hooks/useListProjectsQuery';
23
23
  export * from './hooks/useListTeamsQuery';
24
+ export * from './hooks/useListTeamUsersQuery';
24
25
  export * from './hooks/useRetrieveContributorQuery';
25
26
  export * from './hooks/useRetrieveProjectQuery';
26
27
  export * from './hooks/useRetrieveTeamQuery';
@@ -1,3 +1,113 @@
1
+ /**
2
+ * Public API router definition for getting the details of all team members
3
+ */
4
+ export declare const listTeamUsers: import('@lokalise/api-contracts').GetRouteDefinition<{
5
+ teamId: number;
6
+ }, import('zod').ZodObject<{
7
+ team_id: import('zod').ZodNumber;
8
+ team_users: import('zod').ZodArray<import('zod').ZodObject<{
9
+ user_id: import('zod').ZodNumber;
10
+ email: import('zod').ZodString;
11
+ fullname: import('zod').ZodString;
12
+ created_at: import('zod').ZodString;
13
+ created_at_timestamp: import('zod').ZodNumber;
14
+ role: import('zod').ZodUnion<[import('zod').ZodLiteral<"owner">, import('zod').ZodLiteral<"admin">, import('zod').ZodLiteral<"biller">, import('zod').ZodLiteral<"member">]>;
15
+ }, "strip", import('zod').ZodTypeAny, {
16
+ role: "member" | "admin" | "biller" | "owner";
17
+ email: string;
18
+ user_id: number;
19
+ fullname: string;
20
+ created_at: string;
21
+ created_at_timestamp: number;
22
+ }, {
23
+ role: "member" | "admin" | "biller" | "owner";
24
+ email: string;
25
+ user_id: number;
26
+ fullname: string;
27
+ created_at: string;
28
+ created_at_timestamp: number;
29
+ }>, "many">;
30
+ }, "strip", import('zod').ZodTypeAny, {
31
+ team_id: number;
32
+ team_users: {
33
+ role: "member" | "admin" | "biller" | "owner";
34
+ email: string;
35
+ user_id: number;
36
+ fullname: string;
37
+ created_at: string;
38
+ created_at_timestamp: number;
39
+ }[];
40
+ }, {
41
+ team_id: number;
42
+ team_users: {
43
+ role: "member" | "admin" | "biller" | "owner";
44
+ email: string;
45
+ user_id: number;
46
+ fullname: string;
47
+ created_at: string;
48
+ created_at_timestamp: number;
49
+ }[];
50
+ }>, import('zod').ZodObject<{
51
+ teamId: import('zod').ZodNumber;
52
+ }, "strip", import('zod').ZodTypeAny, {
53
+ teamId: number;
54
+ }, {
55
+ teamId: number;
56
+ }>, undefined, import('zod').ZodIntersection<import('zod').ZodUnion<[import('zod').ZodUnion<[import('zod').ZodObject<{
57
+ authorization: import('zod').ZodString;
58
+ }, "strip", import('zod').ZodTypeAny, {
59
+ authorization: string;
60
+ }, {
61
+ authorization: string;
62
+ }>, import('zod').ZodObject<{
63
+ AUTHORIZATION: import('zod').ZodString;
64
+ }, "strip", import('zod').ZodTypeAny, {
65
+ AUTHORIZATION: string;
66
+ }, {
67
+ AUTHORIZATION: string;
68
+ }>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
69
+ 'X-API-Token': import('zod').ZodString;
70
+ }, "strip", import('zod').ZodTypeAny, {
71
+ 'X-API-Token': string;
72
+ }, {
73
+ 'X-API-Token': string;
74
+ }>, import('zod').ZodObject<{
75
+ 'X-Api-Token': import('zod').ZodString;
76
+ }, "strip", import('zod').ZodTypeAny, {
77
+ 'X-Api-Token': string;
78
+ }, {
79
+ 'X-Api-Token': string;
80
+ }>, import('zod').ZodObject<{
81
+ 'x-api-token': import('zod').ZodString;
82
+ }, "strip", import('zod').ZodTypeAny, {
83
+ 'x-api-token': string;
84
+ }, {
85
+ 'x-api-token': string;
86
+ }>, import('zod').ZodObject<{
87
+ 'X-API-TOKEN': import('zod').ZodString;
88
+ }, "strip", import('zod').ZodTypeAny, {
89
+ 'X-API-TOKEN': string;
90
+ }, {
91
+ 'X-API-TOKEN': string;
92
+ }>]>]>, import('zod').ZodUnion<[import('zod').ZodObject<{
93
+ 'X-Lokalise-Plugin': import('zod').ZodString;
94
+ }, "strip", import('zod').ZodTypeAny, {
95
+ 'X-Lokalise-Plugin': string;
96
+ }, {
97
+ 'X-Lokalise-Plugin': string;
98
+ }>, import('zod').ZodObject<{
99
+ 'x-lokalise-plugin': import('zod').ZodString;
100
+ }, "strip", import('zod').ZodTypeAny, {
101
+ 'x-lokalise-plugin': string;
102
+ }, {
103
+ 'x-lokalise-plugin': string;
104
+ }>, import('zod').ZodObject<{
105
+ 'X-LOKALISE-PLUGIN': import('zod').ZodString;
106
+ }, "strip", import('zod').ZodTypeAny, {
107
+ 'X-LOKALISE-PLUGIN': string;
108
+ }, {
109
+ 'X-LOKALISE-PLUGIN': string;
110
+ }>]>>, false, false>;
1
111
  /**
2
112
  * Public API router definition for getting the details of a team user
3
113
  */
@@ -1143,6 +1143,70 @@ export declare const UPDATE_PROJECT_REQUEST_BODY_SCHEMA: z.ZodObject<{
1143
1143
  description?: string | undefined;
1144
1144
  }>;
1145
1145
  export type UpdateProjectRequestBody = z.infer<typeof UPDATE_PROJECT_REQUEST_BODY_SCHEMA>;
1146
+ declare const PROJECT_PERMISSION_DETAILS_META_SCHEMA: z.ZodObject<{
1147
+ id: z.ZodString;
1148
+ scope: z.ZodUnion<[z.ZodLiteral<"project">, z.ZodLiteral<"team">, z.ZodLiteral<"user">]>;
1149
+ title: z.ZodString;
1150
+ group: z.ZodString;
1151
+ description: z.ZodNullable<z.ZodString>;
1152
+ dependentPermissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1153
+ doesSetAllReadOnlyLanguages: z.ZodBoolean;
1154
+ newPermission: z.ZodOptional<z.ZodBoolean>;
1155
+ isHidden: z.ZodOptional<z.ZodBoolean>;
1156
+ }, "strip", z.ZodTypeAny, {
1157
+ title: string;
1158
+ id: string;
1159
+ group: string;
1160
+ scope: "team" | "project" | "user";
1161
+ description: string | null;
1162
+ doesSetAllReadOnlyLanguages: boolean;
1163
+ dependentPermissions?: string[] | undefined;
1164
+ newPermission?: boolean | undefined;
1165
+ isHidden?: boolean | undefined;
1166
+ }, {
1167
+ title: string;
1168
+ id: string;
1169
+ group: string;
1170
+ scope: "team" | "project" | "user";
1171
+ description: string | null;
1172
+ doesSetAllReadOnlyLanguages: boolean;
1173
+ dependentPermissions?: string[] | undefined;
1174
+ newPermission?: boolean | undefined;
1175
+ isHidden?: boolean | undefined;
1176
+ }>;
1177
+ export type ProjectPermissionDetailsMeta = z.infer<typeof PROJECT_PERMISSION_DETAILS_META_SCHEMA>;
1178
+ declare const PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA: z.ZodObject<{
1179
+ id: z.ZodNumber;
1180
+ role: z.ZodString;
1181
+ permissions: z.ZodArray<z.ZodString, "many">;
1182
+ description: z.ZodNullable<z.ZodString>;
1183
+ tag: z.ZodNullable<z.ZodString>;
1184
+ tagColor: z.ZodNullable<z.ZodString>;
1185
+ tagInfo: z.ZodNullable<z.ZodString>;
1186
+ isForMarketingProjects: z.ZodBoolean;
1187
+ doesEnableAllReadOnlyLanguages: z.ZodBoolean;
1188
+ }, "strip", z.ZodTypeAny, {
1189
+ role: string;
1190
+ id: number;
1191
+ tag: string | null;
1192
+ description: string | null;
1193
+ permissions: string[];
1194
+ tagColor: string | null;
1195
+ tagInfo: string | null;
1196
+ isForMarketingProjects: boolean;
1197
+ doesEnableAllReadOnlyLanguages: boolean;
1198
+ }, {
1199
+ role: string;
1200
+ id: number;
1201
+ tag: string | null;
1202
+ description: string | null;
1203
+ permissions: string[];
1204
+ tagColor: string | null;
1205
+ tagInfo: string | null;
1206
+ isForMarketingProjects: boolean;
1207
+ doesEnableAllReadOnlyLanguages: boolean;
1208
+ }>;
1209
+ export type ProjectPermissionTemplateDetailsMeta = z.infer<typeof PROJECT_PERMISSION_TEMPLATE_DETAILS_META_SCHEMA>;
1146
1210
  export declare const GET_PROJECT_PERMISSION_META_RESPONSE_BODY_SCHEMA: z.ZodObject<{
1147
1211
  project_id: z.ZodString;
1148
1212
  project_uuid: z.ZodString;
@@ -1271,3 +1335,4 @@ export declare const DELETE_PROJECT_RESPONSE_SCHEMA: z.ZodObject<{
1271
1335
  project_deleted: boolean;
1272
1336
  }>;
1273
1337
  export type DeleteProjectResponse = z.infer<typeof DELETE_PROJECT_RESPONSE_SCHEMA>;
1338
+ export {};
@@ -89,6 +89,14 @@ export declare const TEAM_USER_PATH_PARAMS_SCHEMA: z.ZodObject<{
89
89
  teamId: number;
90
90
  }>;
91
91
  export type TeamUserPathParams = z.infer<typeof TEAM_USER_PATH_PARAMS_SCHEMA>;
92
+ export declare const TEAM_PATH_PARAMS_SCHEMA: z.ZodObject<{
93
+ teamId: z.ZodNumber;
94
+ }, "strip", z.ZodTypeAny, {
95
+ teamId: number;
96
+ }, {
97
+ teamId: number;
98
+ }>;
99
+ export type TeamPathParams = z.infer<typeof TEAM_USER_PATH_PARAMS_SCHEMA>;
92
100
  export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
93
101
  team_id: z.ZodNumber;
94
102
  team_user: z.ZodObject<{
@@ -135,3 +143,49 @@ export declare const TEAM_USER_RESPONSE_SCHEMA: z.ZodObject<{
135
143
  };
136
144
  }>;
137
145
  export type TeamUserResponse = z.infer<typeof TEAM_USER_RESPONSE_SCHEMA>;
146
+ export declare const LIST_TEAM_USERS_RESPONSE_SCHEMA: z.ZodObject<{
147
+ team_id: z.ZodNumber;
148
+ team_users: z.ZodArray<z.ZodObject<{
149
+ user_id: z.ZodNumber;
150
+ email: z.ZodString;
151
+ fullname: z.ZodString;
152
+ created_at: z.ZodString;
153
+ created_at_timestamp: z.ZodNumber;
154
+ role: z.ZodUnion<[z.ZodLiteral<"owner">, z.ZodLiteral<"admin">, z.ZodLiteral<"biller">, z.ZodLiteral<"member">]>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ role: "member" | "admin" | "biller" | "owner";
157
+ email: string;
158
+ user_id: number;
159
+ fullname: string;
160
+ created_at: string;
161
+ created_at_timestamp: number;
162
+ }, {
163
+ role: "member" | "admin" | "biller" | "owner";
164
+ email: string;
165
+ user_id: number;
166
+ fullname: string;
167
+ created_at: string;
168
+ created_at_timestamp: number;
169
+ }>, "many">;
170
+ }, "strip", z.ZodTypeAny, {
171
+ team_id: number;
172
+ team_users: {
173
+ role: "member" | "admin" | "biller" | "owner";
174
+ email: string;
175
+ user_id: number;
176
+ fullname: string;
177
+ created_at: string;
178
+ created_at_timestamp: number;
179
+ }[];
180
+ }, {
181
+ team_id: number;
182
+ team_users: {
183
+ role: "member" | "admin" | "biller" | "owner";
184
+ email: string;
185
+ user_id: number;
186
+ fullname: string;
187
+ created_at: string;
188
+ created_at_timestamp: number;
189
+ }[];
190
+ }>;
191
+ export type ListTeamUsersResponse = z.infer<typeof LIST_TEAM_USERS_RESPONSE_SCHEMA>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/harmony",
3
- "version": "1.33.0-exp-louis-27.0.0.1",
3
+ "version": "1.33.1",
4
4
  "author": {
5
5
  "name": "Lokalise",
6
6
  "url": "https://lokalise.com/"
@@ -31,7 +31,7 @@
31
31
  "@date-fns/tz": "^1.2.0",
32
32
  "@lokalise/api-contracts": ">=4.3.0",
33
33
  "@lokalise/frontend-http-client": ">=3.2.1",
34
- "@lokalise/louis": "27.0.0-exp-biome-as-default.1",
34
+ "@lokalise/louis": ">=26.0.0",
35
35
  "@lokalise/token-dictionary": ">=2.42.1",
36
36
  "@tanstack/react-query": ">=5.66.9",
37
37
  "@tanstack/react-table": ">=8.21.3",