@lokalise/harmony 2.1.0-exp-testingContracts.1 → 2.1.0-exp-testingContracts.3

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 (345) hide show
  1. package/dist/harmony.cjs +0 -1
  2. package/dist/harmony.cjs.map +1 -1
  3. package/dist/harmony.mjs +1 -2
  4. package/dist/harmony103.cjs +1 -1
  5. package/dist/harmony103.mjs +1 -1
  6. package/dist/harmony104.cjs +7 -7
  7. package/dist/harmony104.mjs +7 -7
  8. package/dist/harmony106.cjs +2 -2
  9. package/dist/harmony106.mjs +2 -2
  10. package/dist/harmony107.cjs +2 -165
  11. package/dist/harmony107.cjs.map +1 -1
  12. package/dist/harmony107.mjs +3 -166
  13. package/dist/harmony107.mjs.map +1 -1
  14. package/dist/harmony108.cjs +16 -42
  15. package/dist/harmony108.cjs.map +1 -1
  16. package/dist/harmony108.mjs +16 -42
  17. package/dist/harmony108.mjs.map +1 -1
  18. package/dist/harmony109.cjs +75 -13
  19. package/dist/harmony109.cjs.map +1 -1
  20. package/dist/harmony109.mjs +75 -13
  21. package/dist/harmony109.mjs.map +1 -1
  22. package/dist/harmony110.cjs +10 -10
  23. package/dist/harmony110.cjs.map +1 -1
  24. package/dist/harmony110.mjs +10 -10
  25. package/dist/harmony110.mjs.map +1 -1
  26. package/dist/harmony111.cjs +35 -13
  27. package/dist/harmony111.cjs.map +1 -1
  28. package/dist/harmony111.mjs +34 -12
  29. package/dist/harmony111.mjs.map +1 -1
  30. package/dist/harmony112.cjs +8 -10
  31. package/dist/harmony112.cjs.map +1 -1
  32. package/dist/harmony112.mjs +9 -11
  33. package/dist/harmony112.mjs.map +1 -1
  34. package/dist/harmony113.cjs +47 -21
  35. package/dist/harmony113.cjs.map +1 -1
  36. package/dist/harmony113.mjs +46 -20
  37. package/dist/harmony113.mjs.map +1 -1
  38. package/dist/harmony114.cjs +10 -4
  39. package/dist/harmony114.cjs.map +1 -1
  40. package/dist/harmony114.mjs +9 -3
  41. package/dist/harmony114.mjs.map +1 -1
  42. package/dist/harmony115.cjs +13 -17
  43. package/dist/harmony115.cjs.map +1 -1
  44. package/dist/harmony115.mjs +13 -17
  45. package/dist/harmony115.mjs.map +1 -1
  46. package/dist/harmony116.cjs +161 -71
  47. package/dist/harmony116.cjs.map +1 -1
  48. package/dist/harmony116.mjs +161 -71
  49. package/dist/harmony116.mjs.map +1 -1
  50. package/dist/harmony117.cjs +42 -10
  51. package/dist/harmony117.cjs.map +1 -1
  52. package/dist/harmony117.mjs +43 -11
  53. package/dist/harmony117.mjs.map +1 -1
  54. package/dist/harmony118.cjs +12 -34
  55. package/dist/harmony118.cjs.map +1 -1
  56. package/dist/harmony118.mjs +12 -34
  57. package/dist/harmony118.mjs.map +1 -1
  58. package/dist/harmony119.cjs +13 -10
  59. package/dist/harmony119.cjs.map +1 -1
  60. package/dist/harmony119.mjs +12 -9
  61. package/dist/harmony119.mjs.map +1 -1
  62. package/dist/harmony120.cjs +9 -45
  63. package/dist/harmony120.cjs.map +1 -1
  64. package/dist/harmony120.mjs +11 -47
  65. package/dist/harmony120.mjs.map +1 -1
  66. package/dist/harmony121.cjs +20 -8
  67. package/dist/harmony121.cjs.map +1 -1
  68. package/dist/harmony121.mjs +20 -8
  69. package/dist/harmony121.mjs.map +1 -1
  70. package/dist/harmony123.cjs +87 -7
  71. package/dist/harmony123.cjs.map +1 -1
  72. package/dist/harmony123.mjs +87 -7
  73. package/dist/harmony123.mjs.map +1 -1
  74. package/dist/harmony124.cjs +30 -17
  75. package/dist/harmony124.cjs.map +1 -1
  76. package/dist/harmony124.mjs +30 -17
  77. package/dist/harmony124.mjs.map +1 -1
  78. package/dist/harmony125.cjs +20 -8
  79. package/dist/harmony125.cjs.map +1 -1
  80. package/dist/harmony125.mjs +20 -8
  81. package/dist/harmony125.mjs.map +1 -1
  82. package/dist/harmony126.cjs +7 -8
  83. package/dist/harmony126.cjs.map +1 -1
  84. package/dist/harmony126.mjs +7 -8
  85. package/dist/harmony126.mjs.map +1 -1
  86. package/dist/harmony127.cjs +16 -14
  87. package/dist/harmony127.cjs.map +1 -1
  88. package/dist/harmony127.mjs +16 -14
  89. package/dist/harmony127.mjs.map +1 -1
  90. package/dist/harmony128.cjs +8 -20
  91. package/dist/harmony128.cjs.map +1 -1
  92. package/dist/harmony128.mjs +8 -20
  93. package/dist/harmony128.mjs.map +1 -1
  94. package/dist/harmony129.cjs +7 -86
  95. package/dist/harmony129.cjs.map +1 -1
  96. package/dist/harmony129.mjs +7 -86
  97. package/dist/harmony129.mjs.map +1 -1
  98. package/dist/harmony130.cjs +15 -30
  99. package/dist/harmony130.cjs.map +1 -1
  100. package/dist/harmony130.mjs +15 -30
  101. package/dist/harmony130.mjs.map +1 -1
  102. package/dist/harmony132.cjs +2 -2
  103. package/dist/harmony132.mjs +2 -2
  104. package/dist/harmony133.cjs +2 -2
  105. package/dist/harmony133.mjs +2 -2
  106. package/dist/harmony134.cjs +3 -3
  107. package/dist/harmony134.mjs +3 -3
  108. package/dist/harmony135.cjs +1 -1
  109. package/dist/harmony135.mjs +1 -1
  110. package/dist/harmony136.cjs +3 -3
  111. package/dist/harmony136.mjs +3 -3
  112. package/dist/harmony137.cjs +2 -2
  113. package/dist/harmony137.mjs +2 -2
  114. package/dist/harmony138.cjs +2 -2
  115. package/dist/harmony138.mjs +2 -2
  116. package/dist/harmony139.cjs +2 -2
  117. package/dist/harmony139.mjs +2 -2
  118. package/dist/harmony140.cjs +2 -2
  119. package/dist/harmony140.mjs +2 -2
  120. package/dist/harmony141.cjs +3 -3
  121. package/dist/harmony141.mjs +3 -3
  122. package/dist/harmony143.cjs +1 -1
  123. package/dist/harmony143.mjs +1 -1
  124. package/dist/harmony148.cjs +10 -3
  125. package/dist/harmony148.cjs.map +1 -1
  126. package/dist/harmony148.mjs +10 -3
  127. package/dist/harmony148.mjs.map +1 -1
  128. package/dist/harmony149.cjs +3 -3
  129. package/dist/harmony149.cjs.map +1 -1
  130. package/dist/harmony149.mjs +3 -3
  131. package/dist/harmony149.mjs.map +1 -1
  132. package/dist/harmony150.cjs +3 -3
  133. package/dist/harmony150.cjs.map +1 -1
  134. package/dist/harmony150.mjs +3 -3
  135. package/dist/harmony150.mjs.map +1 -1
  136. package/dist/harmony151.cjs +3 -14
  137. package/dist/harmony151.cjs.map +1 -1
  138. package/dist/harmony151.mjs +3 -14
  139. package/dist/harmony151.mjs.map +1 -1
  140. package/dist/harmony152.cjs +7 -7
  141. package/dist/harmony152.cjs.map +1 -1
  142. package/dist/harmony152.mjs +7 -7
  143. package/dist/harmony152.mjs.map +1 -1
  144. package/dist/harmony153.cjs +14 -3
  145. package/dist/harmony153.cjs.map +1 -1
  146. package/dist/harmony153.mjs +14 -3
  147. package/dist/harmony153.mjs.map +1 -1
  148. package/dist/harmony154.cjs +3 -10
  149. package/dist/harmony154.cjs.map +1 -1
  150. package/dist/harmony154.mjs +3 -10
  151. package/dist/harmony154.mjs.map +1 -1
  152. package/dist/harmony160.cjs +9 -32
  153. package/dist/harmony160.cjs.map +1 -1
  154. package/dist/harmony160.mjs +8 -31
  155. package/dist/harmony160.mjs.map +1 -1
  156. package/dist/harmony161.cjs +3 -6
  157. package/dist/harmony161.cjs.map +1 -1
  158. package/dist/harmony161.mjs +3 -6
  159. package/dist/harmony161.mjs.map +1 -1
  160. package/dist/harmony162.cjs +6 -3
  161. package/dist/harmony162.cjs.map +1 -1
  162. package/dist/harmony162.mjs +6 -3
  163. package/dist/harmony162.mjs.map +1 -1
  164. package/dist/harmony163.cjs +21 -6
  165. package/dist/harmony163.cjs.map +1 -1
  166. package/dist/harmony163.mjs +21 -6
  167. package/dist/harmony163.mjs.map +1 -1
  168. package/dist/harmony164.cjs +3 -21
  169. package/dist/harmony164.cjs.map +1 -1
  170. package/dist/harmony164.mjs +3 -21
  171. package/dist/harmony164.mjs.map +1 -1
  172. package/dist/harmony165.cjs +9 -3
  173. package/dist/harmony165.cjs.map +1 -1
  174. package/dist/harmony165.mjs +9 -3
  175. package/dist/harmony165.mjs.map +1 -1
  176. package/dist/harmony166.cjs +3 -9
  177. package/dist/harmony166.cjs.map +1 -1
  178. package/dist/harmony166.mjs +3 -9
  179. package/dist/harmony166.mjs.map +1 -1
  180. package/dist/harmony167.cjs +32 -6
  181. package/dist/harmony167.cjs.map +1 -1
  182. package/dist/harmony167.mjs +31 -5
  183. package/dist/harmony167.mjs.map +1 -1
  184. package/dist/harmony168.cjs +1 -1
  185. package/dist/harmony168.mjs +1 -1
  186. package/dist/harmony169.cjs +1 -1
  187. package/dist/harmony169.mjs +1 -1
  188. package/dist/harmony17.cjs +1 -1
  189. package/dist/harmony17.mjs +1 -1
  190. package/dist/harmony170.cjs +2 -2
  191. package/dist/harmony170.mjs +2 -2
  192. package/dist/harmony171.cjs +11 -4
  193. package/dist/harmony171.cjs.map +1 -1
  194. package/dist/harmony171.mjs +11 -4
  195. package/dist/harmony171.mjs.map +1 -1
  196. package/dist/harmony172.cjs +15 -10
  197. package/dist/harmony172.cjs.map +1 -1
  198. package/dist/harmony172.mjs +15 -10
  199. package/dist/harmony172.mjs.map +1 -1
  200. package/dist/harmony173.cjs +18 -13
  201. package/dist/harmony173.cjs.map +1 -1
  202. package/dist/harmony173.mjs +18 -13
  203. package/dist/harmony173.mjs.map +1 -1
  204. package/dist/harmony174.cjs +10 -19
  205. package/dist/harmony174.cjs.map +1 -1
  206. package/dist/harmony174.mjs +10 -19
  207. package/dist/harmony174.mjs.map +1 -1
  208. package/dist/harmony175.cjs +4 -12
  209. package/dist/harmony175.cjs.map +1 -1
  210. package/dist/harmony175.mjs +4 -12
  211. package/dist/harmony175.mjs.map +1 -1
  212. package/dist/harmony20.cjs +1 -1
  213. package/dist/harmony20.mjs +1 -1
  214. package/dist/harmony28.cjs +1 -1
  215. package/dist/harmony28.mjs +1 -1
  216. package/dist/harmony29.cjs +1 -1
  217. package/dist/harmony29.mjs +1 -1
  218. package/dist/harmony32.cjs +1 -1
  219. package/dist/harmony32.mjs +1 -1
  220. package/dist/harmony33.cjs +1 -1
  221. package/dist/harmony33.mjs +1 -1
  222. package/dist/harmony34.cjs +1 -1
  223. package/dist/harmony34.mjs +1 -1
  224. package/dist/harmony39.cjs +1 -1
  225. package/dist/harmony39.mjs +1 -1
  226. package/dist/harmony40.cjs +1 -1
  227. package/dist/harmony40.mjs +1 -1
  228. package/dist/harmony41.cjs +1 -1
  229. package/dist/harmony41.mjs +1 -1
  230. package/dist/harmony42.cjs +2 -2
  231. package/dist/harmony42.mjs +2 -2
  232. package/dist/harmony43.cjs +2 -2
  233. package/dist/harmony43.mjs +2 -2
  234. package/dist/harmony44.cjs +1 -1
  235. package/dist/harmony44.mjs +1 -1
  236. package/dist/harmony53.cjs +3 -3
  237. package/dist/harmony53.cjs.map +1 -1
  238. package/dist/harmony53.mjs +1 -1
  239. package/dist/harmony53.mjs.map +1 -1
  240. package/dist/harmony78.cjs +74 -74
  241. package/dist/harmony78.cjs.map +1 -1
  242. package/dist/harmony78.mjs +1 -1
  243. package/dist/harmony78.mjs.map +1 -1
  244. package/dist/harmony79.cjs +52 -52
  245. package/dist/harmony79.cjs.map +1 -1
  246. package/dist/harmony79.mjs +1 -1
  247. package/dist/harmony79.mjs.map +1 -1
  248. package/dist/harmony80.cjs +4 -4
  249. package/dist/harmony80.cjs.map +1 -1
  250. package/dist/harmony80.mjs +1 -1
  251. package/dist/harmony80.mjs.map +1 -1
  252. package/dist/harmony81.cjs +18 -18
  253. package/dist/harmony81.cjs.map +1 -1
  254. package/dist/harmony81.mjs +1 -1
  255. package/dist/harmony81.mjs.map +1 -1
  256. package/dist/harmony82.cjs +15 -15
  257. package/dist/harmony82.cjs.map +1 -1
  258. package/dist/harmony82.mjs +1 -1
  259. package/dist/harmony82.mjs.map +1 -1
  260. package/dist/harmony83.cjs +96 -96
  261. package/dist/harmony83.cjs.map +1 -1
  262. package/dist/harmony83.mjs +1 -1
  263. package/dist/harmony83.mjs.map +1 -1
  264. package/dist/harmony84.cjs +24 -24
  265. package/dist/harmony84.cjs.map +1 -1
  266. package/dist/harmony84.mjs +1 -1
  267. package/dist/harmony84.mjs.map +1 -1
  268. package/dist/harmony85.cjs +14 -14
  269. package/dist/harmony85.cjs.map +1 -1
  270. package/dist/harmony85.mjs +1 -1
  271. package/dist/harmony85.mjs.map +1 -1
  272. package/dist/harmony86.cjs +2 -2
  273. package/dist/harmony86.cjs.map +1 -1
  274. package/dist/harmony86.mjs +1 -1
  275. package/dist/harmony86.mjs.map +1 -1
  276. package/dist/harmony87.cjs +40 -40
  277. package/dist/harmony87.cjs.map +1 -1
  278. package/dist/harmony87.mjs +1 -1
  279. package/dist/harmony87.mjs.map +1 -1
  280. package/dist/harmony88.cjs +27 -27
  281. package/dist/harmony88.cjs.map +1 -1
  282. package/dist/harmony88.mjs +1 -1
  283. package/dist/harmony88.mjs.map +1 -1
  284. package/dist/harmony89.cjs +10 -10
  285. package/dist/harmony89.cjs.map +1 -1
  286. package/dist/harmony89.mjs +1 -1
  287. package/dist/harmony89.mjs.map +1 -1
  288. package/dist/harmony90.cjs +1 -3
  289. package/dist/harmony90.cjs.map +1 -1
  290. package/dist/harmony90.mjs +2 -4
  291. package/dist/harmony90.mjs.map +1 -1
  292. package/dist/harmony97.cjs +2 -2
  293. package/dist/harmony97.mjs +2 -2
  294. package/dist/harmony99.cjs +2 -2
  295. package/dist/harmony99.mjs +2 -2
  296. package/dist/types/src/features/auth/core/types/jwtTokenPayload.d.ts +8 -35
  297. package/dist/types/src/features/auth/core/types/jwtTokenPayload.fixture.d.ts +1 -1
  298. package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedProjectContributor.d.ts +4 -4
  299. package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +3 -3
  300. package/dist/types/src/features/auth/frontend/hooks/useGetPromotedClassicSessionJwtQuery.d.ts +1 -1
  301. package/dist/types/src/features/auth/frontend/services/generateTokenFromClassicSession.d.ts +4 -1
  302. package/dist/types/src/features/auth/frontend/services/refreshExpiredToken.d.ts +4 -1
  303. package/dist/types/src/features/navigation/hooks/useNavigationQueries.d.ts +56 -56
  304. package/dist/types/src/features/publicApi/TESTING_CONTRACTS.d.ts +57 -2
  305. package/dist/types/src/features/publicApi/contributors.d.ts +260 -5
  306. package/dist/types/src/features/publicApi/hooks/useAddContributorsMutation.d.ts +7 -7
  307. package/dist/types/src/features/publicApi/hooks/useAddLanguagesToProjectMutation.d.ts +2 -2
  308. package/dist/types/src/features/publicApi/hooks/useCreateProjectMutation.d.ts +14 -14
  309. package/dist/types/src/features/publicApi/hooks/useCreateScoreMutation.d.ts +3 -3
  310. package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +1 -1
  311. package/dist/types/src/features/publicApi/hooks/useGetScoreQuery.d.ts +1 -1
  312. package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
  313. package/dist/types/src/features/publicApi/hooks/useGetUserTokenQuery.d.ts +1 -1
  314. package/dist/types/src/features/publicApi/hooks/useListContributorsQuery.d.ts +1 -1
  315. package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
  316. package/dist/types/src/features/publicApi/hooks/useListProjectLanguagesQuery.d.ts +1 -1
  317. package/dist/types/src/features/publicApi/hooks/useListProjectsQuery.d.ts +2 -2
  318. package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
  319. package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +2 -2
  320. package/dist/types/src/features/publicApi/hooks/useRetrieveContributorQuery.d.ts +3 -3
  321. package/dist/types/src/features/publicApi/hooks/useRetrieveProjectQuery.d.ts +1 -1
  322. package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +1 -1
  323. package/dist/types/src/features/publicApi/hooks/useRetrieveUserPermissions.d.ts +2 -2
  324. package/dist/types/src/features/publicApi/hooks/useUpdateContributorMutation.d.ts +5 -5
  325. package/dist/types/src/features/publicApi/hooks/useUpdateProjectMutation.d.ts +13 -13
  326. package/dist/types/src/features/publicApi/languages.d.ts +106 -3
  327. package/dist/types/src/features/publicApi/permissionTemplates.d.ts +54 -1
  328. package/dist/types/src/features/publicApi/projects.d.ts +520 -6
  329. package/dist/types/src/features/publicApi/score.d.ts +102 -3
  330. package/dist/types/src/features/publicApi/team.d.ts +102 -2
  331. package/dist/types/src/features/publicApi/teamUsers.d.ts +125 -3
  332. package/dist/types/src/features/publicApi/types/contributorTypes.d.ts +84 -834
  333. package/dist/types/src/features/publicApi/types/languageTypes.d.ts +22 -212
  334. package/dist/types/src/features/publicApi/types/paginationTypes.d.ts +2 -8
  335. package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +71 -76
  336. package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +48 -24
  337. package/dist/types/src/features/publicApi/types/projectTypes.d.ts +211 -1097
  338. package/dist/types/src/features/publicApi/types/scoreTypes.d.ts +32 -96
  339. package/dist/types/src/features/publicApi/types/sharedTypes.d.ts +30 -126
  340. package/dist/types/src/features/publicApi/types/teamRoleTypes.d.ts +7 -2
  341. package/dist/types/src/features/publicApi/types/teamTypes.d.ts +65 -328
  342. package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +91 -208
  343. package/dist/types/src/features/publicApi/types/userTokenTypes.d.ts +9 -39
  344. package/dist/types/src/features/publicApi/userToken.d.ts +19 -1
  345. package/package.json +4 -4
@@ -1,17 +1,6 @@
1
- import { canPerformActionByProjectType } from "./harmony160.mjs";
2
- import { hasAny } from "./harmony125.mjs";
3
- import { has } from "./harmony126.mjs";
4
- const canDownloadFiles = ({ projectType, projectPermissions }) => canPerformActionByProjectType(projectType, {
5
- classic: () => has(projectPermissions, "download"),
6
- // This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported
7
- // so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.
8
- // The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively
9
- // simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).
10
- // The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,
11
- // but will need to remove this first part of the check.
12
- marketing: () => hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has(projectPermissions, "download")
13
- });
1
+ import { has } from "./harmony129.mjs";
2
+ const manageContributors = ({ projectPermissions }) => has(projectPermissions, "contributors");
14
3
  export {
15
- canDownloadFiles
4
+ manageContributors
16
5
  };
17
6
  //# sourceMappingURL=harmony151.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony151.mjs","sources":["../src/features/permissions/action-resolvers/canDownloadFiles.ts"],"sourcesContent":["import { canPerformActionByProjectType } from '@features/permissions/utils/canPerformActionByProjectType'\nimport { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const canDownloadFiles: ActionResolver = ({ projectType, projectPermissions }) =>\n\tcanPerformActionByProjectType(projectType, {\n\t\tclassic: () => has(projectPermissions, 'download'),\n\n\t\t// This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported\n\t\t// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.\n\t\t// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively\n\t\t// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).\n\t\t// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,\n\t\t// but will need to remove this first part of the check.\n\t\tmarketing: () =>\n\t\t\thasAny(projectPermissions, 'contributors', 'settings', 'manage_languages') ||\n\t\t\thas(projectPermissions, 'download'),\n\t})\n"],"names":[],"mappings":";;;AAKO,MAAM,mBAAmC,CAAC,EAAE,aAAa,mBAAmB,MAClF,8BAA8B,aAAa;AAAA,EAC1C,SAAS,MAAM,IAAI,oBAAoB,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQjD,WAAW,MACV,OAAO,oBAAoB,gBAAgB,YAAY,kBAAkB,KACzE,IAAI,oBAAoB,UAAU;AACpC,CAAC;"}
1
+ {"version":3,"file":"harmony151.mjs","sources":["../src/features/permissions/action-resolvers/manageContributors.ts"],"sourcesContent":["import type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const manageContributors: ActionResolver = ({ projectPermissions }) =>\n\thas(projectPermissions, 'contributors')\n"],"names":[],"mappings":";AAGO,MAAM,qBAAqC,CAAC,EAAE,mBACpD,MAAA,IAAI,oBAAoB,cAAc;"}
@@ -1,17 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const canPerformActionByProjectType = require("./harmony160.cjs");
4
- const hasAny = require("./harmony125.cjs");
5
- const has = require("./harmony126.cjs");
6
- const canUploadFiles = ({ projectPermissions, projectType }) => canPerformActionByProjectType.canPerformActionByProjectType(projectType, {
7
- classic: () => has.has(projectPermissions, "upload"),
3
+ const canPerformActionByProjectType = require("./harmony167.cjs");
4
+ const hasAny = require("./harmony128.cjs");
5
+ const has = require("./harmony129.cjs");
6
+ const canDownloadFiles = ({ projectType, projectPermissions }) => canPerformActionByProjectType.canPerformActionByProjectType(projectType, {
7
+ classic: () => has.has(projectPermissions, "download"),
8
8
  // This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported
9
9
  // so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.
10
10
  // The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively
11
11
  // simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).
12
12
  // The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,
13
13
  // but will need to remove this first part of the check.
14
- marketing: () => hasAny.hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has.has(projectPermissions, "upload")
14
+ marketing: () => hasAny.hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has.has(projectPermissions, "download")
15
15
  });
16
- exports.canUploadFiles = canUploadFiles;
16
+ exports.canDownloadFiles = canDownloadFiles;
17
17
  //# sourceMappingURL=harmony152.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony152.cjs","sources":["../src/features/permissions/action-resolvers/canUploadFiles.ts"],"sourcesContent":["import { canPerformActionByProjectType } from '@features/permissions/utils/canPerformActionByProjectType'\nimport { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const canUploadFiles: ActionResolver = ({ projectPermissions, projectType }) =>\n\tcanPerformActionByProjectType(projectType, {\n\t\tclassic: () => has(projectPermissions, 'upload'),\n\n\t\t// This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported\n\t\t// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.\n\t\t// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively\n\t\t// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).\n\t\t// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,\n\t\t// but will need to remove this first part of the check.\n\t\tmarketing: () =>\n\t\t\thasAny(projectPermissions, 'contributors', 'settings', 'manage_languages') ||\n\t\t\thas(projectPermissions, 'upload'),\n\t})\n"],"names":["canPerformActionByProjectType","has","hasAny"],"mappings":";;;;;AAKO,MAAM,iBAAiC,CAAC,EAAE,oBAAoB,YAAY,MAChFA,8BAAAA,8BAA8B,aAAa;AAAA,EAC1C,SAAS,MAAMC,IAAAA,IAAI,oBAAoB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ/C,WAAW,MACVC,cAAO,oBAAoB,gBAAgB,YAAY,kBAAkB,KACzED,QAAI,oBAAoB,QAAQ;AAClC,CAAC;;"}
1
+ {"version":3,"file":"harmony152.cjs","sources":["../src/features/permissions/action-resolvers/canDownloadFiles.ts"],"sourcesContent":["import { canPerformActionByProjectType } from '@features/permissions/utils/canPerformActionByProjectType'\nimport { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const canDownloadFiles: ActionResolver = ({ projectType, projectPermissions }) =>\n\tcanPerformActionByProjectType(projectType, {\n\t\tclassic: () => has(projectPermissions, 'download'),\n\n\t\t// This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported\n\t\t// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.\n\t\t// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively\n\t\t// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).\n\t\t// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,\n\t\t// but will need to remove this first part of the check.\n\t\tmarketing: () =>\n\t\t\thasAny(projectPermissions, 'contributors', 'settings', 'manage_languages') ||\n\t\t\thas(projectPermissions, 'download'),\n\t})\n"],"names":["canPerformActionByProjectType","has","hasAny"],"mappings":";;;;;AAKO,MAAM,mBAAmC,CAAC,EAAE,aAAa,mBAAmB,MAClFA,8BAAAA,8BAA8B,aAAa;AAAA,EAC1C,SAAS,MAAMC,IAAAA,IAAI,oBAAoB,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQjD,WAAW,MACVC,cAAO,oBAAoB,gBAAgB,YAAY,kBAAkB,KACzED,QAAI,oBAAoB,UAAU;AACpC,CAAC;;"}
@@ -1,17 +1,17 @@
1
- import { canPerformActionByProjectType } from "./harmony160.mjs";
2
- import { hasAny } from "./harmony125.mjs";
3
- import { has } from "./harmony126.mjs";
4
- const canUploadFiles = ({ projectPermissions, projectType }) => canPerformActionByProjectType(projectType, {
5
- classic: () => has(projectPermissions, "upload"),
1
+ import { canPerformActionByProjectType } from "./harmony167.mjs";
2
+ import { hasAny } from "./harmony128.mjs";
3
+ import { has } from "./harmony129.mjs";
4
+ const canDownloadFiles = ({ projectType, projectPermissions }) => canPerformActionByProjectType(projectType, {
5
+ classic: () => has(projectPermissions, "download"),
6
6
  // This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported
7
7
  // so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.
8
8
  // The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively
9
9
  // simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).
10
10
  // The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,
11
11
  // but will need to remove this first part of the check.
12
- marketing: () => hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has(projectPermissions, "upload")
12
+ marketing: () => hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has(projectPermissions, "download")
13
13
  });
14
14
  export {
15
- canUploadFiles
15
+ canDownloadFiles
16
16
  };
17
17
  //# sourceMappingURL=harmony152.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony152.mjs","sources":["../src/features/permissions/action-resolvers/canUploadFiles.ts"],"sourcesContent":["import { canPerformActionByProjectType } from '@features/permissions/utils/canPerformActionByProjectType'\nimport { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const canUploadFiles: ActionResolver = ({ projectPermissions, projectType }) =>\n\tcanPerformActionByProjectType(projectType, {\n\t\tclassic: () => has(projectPermissions, 'upload'),\n\n\t\t// This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported\n\t\t// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.\n\t\t// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively\n\t\t// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).\n\t\t// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,\n\t\t// but will need to remove this first part of the check.\n\t\tmarketing: () =>\n\t\t\thasAny(projectPermissions, 'contributors', 'settings', 'manage_languages') ||\n\t\t\thas(projectPermissions, 'upload'),\n\t})\n"],"names":[],"mappings":";;;AAKO,MAAM,iBAAiC,CAAC,EAAE,oBAAoB,YAAY,MAChF,8BAA8B,aAAa;AAAA,EAC1C,SAAS,MAAM,IAAI,oBAAoB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ/C,WAAW,MACV,OAAO,oBAAoB,gBAAgB,YAAY,kBAAkB,KACzE,IAAI,oBAAoB,QAAQ;AAClC,CAAC;"}
1
+ {"version":3,"file":"harmony152.mjs","sources":["../src/features/permissions/action-resolvers/canDownloadFiles.ts"],"sourcesContent":["import { canPerformActionByProjectType } from '@features/permissions/utils/canPerformActionByProjectType'\nimport { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const canDownloadFiles: ActionResolver = ({ projectType, projectPermissions }) =>\n\tcanPerformActionByProjectType(projectType, {\n\t\tclassic: () => has(projectPermissions, 'download'),\n\n\t\t// This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported\n\t\t// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.\n\t\t// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively\n\t\t// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).\n\t\t// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,\n\t\t// but will need to remove this first part of the check.\n\t\tmarketing: () =>\n\t\t\thasAny(projectPermissions, 'contributors', 'settings', 'manage_languages') ||\n\t\t\thas(projectPermissions, 'download'),\n\t})\n"],"names":[],"mappings":";;;AAKO,MAAM,mBAAmC,CAAC,EAAE,aAAa,mBAAmB,MAClF,8BAA8B,aAAa;AAAA,EAC1C,SAAS,MAAM,IAAI,oBAAoB,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQjD,WAAW,MACV,OAAO,oBAAoB,gBAAgB,YAAY,kBAAkB,KACzE,IAAI,oBAAoB,UAAU;AACpC,CAAC;"}
@@ -1,6 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const hasAny = require("./harmony125.cjs");
4
- const createProjects = ({ teamRole }) => hasAny.hasAny(teamRole, "owner", "biller", "admin");
5
- exports.createProjects = createProjects;
3
+ const canPerformActionByProjectType = require("./harmony167.cjs");
4
+ const hasAny = require("./harmony128.cjs");
5
+ const has = require("./harmony129.cjs");
6
+ const canUploadFiles = ({ projectPermissions, projectType }) => canPerformActionByProjectType.canPerformActionByProjectType(projectType, {
7
+ classic: () => has.has(projectPermissions, "upload"),
8
+ // This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported
9
+ // so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.
10
+ // The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively
11
+ // simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).
12
+ // The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,
13
+ // but will need to remove this first part of the check.
14
+ marketing: () => hasAny.hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has.has(projectPermissions, "upload")
15
+ });
16
+ exports.canUploadFiles = canUploadFiles;
6
17
  //# sourceMappingURL=harmony153.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony153.cjs","sources":["../src/features/permissions/action-resolvers/createProjects.ts"],"sourcesContent":["import { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\n\nexport const createProjects: ActionResolver = ({ teamRole }) =>\n\thasAny(teamRole, 'owner', 'biller', 'admin')\n"],"names":["hasAny"],"mappings":";;;AAGa,MAAA,iBAAiC,CAAC,EAAE,eAChDA,OAAO,OAAA,UAAU,SAAS,UAAU,OAAO;;"}
1
+ {"version":3,"file":"harmony153.cjs","sources":["../src/features/permissions/action-resolvers/canUploadFiles.ts"],"sourcesContent":["import { canPerformActionByProjectType } from '@features/permissions/utils/canPerformActionByProjectType'\nimport { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const canUploadFiles: ActionResolver = ({ projectPermissions, projectType }) =>\n\tcanPerformActionByProjectType(projectType, {\n\t\tclassic: () => has(projectPermissions, 'upload'),\n\n\t\t// This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported\n\t\t// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.\n\t\t// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively\n\t\t// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).\n\t\t// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,\n\t\t// but will need to remove this first part of the check.\n\t\tmarketing: () =>\n\t\t\thasAny(projectPermissions, 'contributors', 'settings', 'manage_languages') ||\n\t\t\thas(projectPermissions, 'upload'),\n\t})\n"],"names":["canPerformActionByProjectType","has","hasAny"],"mappings":";;;;;AAKO,MAAM,iBAAiC,CAAC,EAAE,oBAAoB,YAAY,MAChFA,8BAAAA,8BAA8B,aAAa;AAAA,EAC1C,SAAS,MAAMC,IAAAA,IAAI,oBAAoB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ/C,WAAW,MACVC,cAAO,oBAAoB,gBAAgB,YAAY,kBAAkB,KACzED,QAAI,oBAAoB,QAAQ;AAClC,CAAC;;"}
@@ -1,6 +1,17 @@
1
- import { hasAny } from "./harmony125.mjs";
2
- const createProjects = ({ teamRole }) => hasAny(teamRole, "owner", "biller", "admin");
1
+ import { canPerformActionByProjectType } from "./harmony167.mjs";
2
+ import { hasAny } from "./harmony128.mjs";
3
+ import { has } from "./harmony129.mjs";
4
+ const canUploadFiles = ({ projectPermissions, projectType }) => canPerformActionByProjectType(projectType, {
5
+ classic: () => has(projectPermissions, "upload"),
6
+ // This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported
7
+ // so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.
8
+ // The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively
9
+ // simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).
10
+ // The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,
11
+ // but will need to remove this first part of the check.
12
+ marketing: () => hasAny(projectPermissions, "contributors", "settings", "manage_languages") || has(projectPermissions, "upload")
13
+ });
3
14
  export {
4
- createProjects
15
+ canUploadFiles
5
16
  };
6
17
  //# sourceMappingURL=harmony153.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony153.mjs","sources":["../src/features/permissions/action-resolvers/createProjects.ts"],"sourcesContent":["import { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\n\nexport const createProjects: ActionResolver = ({ teamRole }) =>\n\thasAny(teamRole, 'owner', 'biller', 'admin')\n"],"names":[],"mappings":";AAGa,MAAA,iBAAiC,CAAC,EAAE,eAChD,OAAO,UAAU,SAAS,UAAU,OAAO;"}
1
+ {"version":3,"file":"harmony153.mjs","sources":["../src/features/permissions/action-resolvers/canUploadFiles.ts"],"sourcesContent":["import { canPerformActionByProjectType } from '@features/permissions/utils/canPerformActionByProjectType'\nimport { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\nimport { has } from '../utils/has'\n\nexport const canUploadFiles: ActionResolver = ({ projectPermissions, projectType }) =>\n\tcanPerformActionByProjectType(projectType, {\n\t\tclassic: () => has(projectPermissions, 'upload'),\n\n\t\t// This is a temporary workaround for the marketing project type - upload and download permissions are not yet supported\n\t\t// so to restrict translators from accessing the upload/download page we are checking that they have any permissions at all.\n\t\t// The reason for this is that, at the moment, the Translators role will assign no permissions to the user. So we are effectively\n\t\t// simulating a check for 'is this user a translator?' (since project 'roles' don't actually exist).\n\t\t// The correct check is to check for upload permission, so when that is implemented this will continue to work as expected,\n\t\t// but will need to remove this first part of the check.\n\t\tmarketing: () =>\n\t\t\thasAny(projectPermissions, 'contributors', 'settings', 'manage_languages') ||\n\t\t\thas(projectPermissions, 'upload'),\n\t})\n"],"names":[],"mappings":";;;AAKO,MAAM,iBAAiC,CAAC,EAAE,oBAAoB,YAAY,MAChF,8BAA8B,aAAa;AAAA,EAC1C,SAAS,MAAM,IAAI,oBAAoB,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ/C,WAAW,MACV,OAAO,oBAAoB,gBAAgB,YAAY,kBAAkB,KACzE,IAAI,oBAAoB,QAAQ;AAClC,CAAC;"}
@@ -1,13 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const hasAdminRight = (adminRights, right) => {
4
- if (!Array.isArray(adminRights)) return false;
5
- return adminRights.includes(right);
6
- };
7
- const hasAnyAdminRight = (adminRights, rights) => {
8
- if (!Array.isArray(adminRights)) return false;
9
- return rights.some((right) => adminRights.includes(right));
10
- };
11
- exports.hasAdminRight = hasAdminRight;
12
- exports.hasAnyAdminRight = hasAnyAdminRight;
3
+ const hasAny = require("./harmony128.cjs");
4
+ const createProjects = ({ teamRole }) => hasAny.hasAny(teamRole, "owner", "biller", "admin");
5
+ exports.createProjects = createProjects;
13
6
  //# sourceMappingURL=harmony154.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony154.cjs","sources":["../src/features/auth/utils/permissions.ts"],"sourcesContent":["// Helper function to check if user has a specific admin right\nexport const hasAdminRight = (adminRights: string[], right: string): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn adminRights.includes(right)\n}\n\n// Helper function to check if user has any of the specified admin rights\nexport const hasAnyAdminRight = (adminRights: string[], rights: string[]): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn rights.some((right) => adminRights.includes(right))\n}\n"],"names":[],"mappings":";;AACa,MAAA,gBAAgB,CAAC,aAAuB,UAA2B;AAC/E,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACjC,SAAA,YAAY,SAAS,KAAK;AAClC;AAGa,MAAA,mBAAmB,CAAC,aAAuB,WAA8B;AACrF,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACxC,SAAO,OAAO,KAAK,CAAC,UAAU,YAAY,SAAS,KAAK,CAAC;AAC1D;;;"}
1
+ {"version":3,"file":"harmony154.cjs","sources":["../src/features/permissions/action-resolvers/createProjects.ts"],"sourcesContent":["import { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\n\nexport const createProjects: ActionResolver = ({ teamRole }) =>\n\thasAny(teamRole, 'owner', 'biller', 'admin')\n"],"names":["hasAny"],"mappings":";;;AAGa,MAAA,iBAAiC,CAAC,EAAE,eAChDA,OAAO,OAAA,UAAU,SAAS,UAAU,OAAO;;"}
@@ -1,13 +1,6 @@
1
- const hasAdminRight = (adminRights, right) => {
2
- if (!Array.isArray(adminRights)) return false;
3
- return adminRights.includes(right);
4
- };
5
- const hasAnyAdminRight = (adminRights, rights) => {
6
- if (!Array.isArray(adminRights)) return false;
7
- return rights.some((right) => adminRights.includes(right));
8
- };
1
+ import { hasAny } from "./harmony128.mjs";
2
+ const createProjects = ({ teamRole }) => hasAny(teamRole, "owner", "biller", "admin");
9
3
  export {
10
- hasAdminRight,
11
- hasAnyAdminRight
4
+ createProjects
12
5
  };
13
6
  //# sourceMappingURL=harmony154.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony154.mjs","sources":["../src/features/auth/utils/permissions.ts"],"sourcesContent":["// Helper function to check if user has a specific admin right\nexport const hasAdminRight = (adminRights: string[], right: string): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn adminRights.includes(right)\n}\n\n// Helper function to check if user has any of the specified admin rights\nexport const hasAnyAdminRight = (adminRights: string[], rights: string[]): boolean => {\n\tif (!Array.isArray(adminRights)) return false\n\treturn rights.some((right) => adminRights.includes(right))\n}\n"],"names":[],"mappings":"AACa,MAAA,gBAAgB,CAAC,aAAuB,UAA2B;AAC/E,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACjC,SAAA,YAAY,SAAS,KAAK;AAClC;AAGa,MAAA,mBAAmB,CAAC,aAAuB,WAA8B;AACrF,MAAI,CAAC,MAAM,QAAQ,WAAW,EAAU,QAAA;AACxC,SAAO,OAAO,KAAK,CAAC,UAAU,YAAY,SAAS,KAAK,CAAC;AAC1D;"}
1
+ {"version":3,"file":"harmony154.mjs","sources":["../src/features/permissions/action-resolvers/createProjects.ts"],"sourcesContent":["import { hasAny } from '@features/permissions/utils/hasAny'\nimport type { ActionResolver } from '../types'\n\nexport const createProjects: ActionResolver = ({ teamRole }) =>\n\thasAny(teamRole, 'owner', 'biller', 'admin')\n"],"names":[],"mappings":";AAGa,MAAA,iBAAiC,CAAC,EAAE,eAChD,OAAO,UAAU,SAAS,UAAU,OAAO;"}
@@ -1,35 +1,12 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const assertIsNever = require("./harmony171.cjs");
4
- const isCategoryProjectTypeMatch = (matcher) => "marketing" in matcher && typeof matcher.marketing === "function" && "classic" in matcher && typeof matcher.classic === "function";
5
- const isPartialProjectTypeMatch = (matcher) => "otherwise" in matcher && typeof matcher.otherwise === "function";
6
- const isFullProjectTypeMatch = (matcher) => !isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher);
7
- const callMatchFunction = (matcher, category, projectType) => {
8
- if (isFullProjectTypeMatch(matcher)) {
9
- return matcher[projectType]();
10
- }
11
- if (isPartialProjectTypeMatch(matcher)) {
12
- return (matcher[projectType] || matcher.otherwise)();
13
- }
14
- if (isCategoryProjectTypeMatch(matcher)) {
15
- return matcher[category]();
16
- }
17
- return false;
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const mainLabel = "_mainLabel_1baso_1";
4
+ const subLabel = "_subLabel_1baso_5";
5
+ const styles = {
6
+ mainLabel,
7
+ subLabel
18
8
  };
19
- const canPerformActionByProjectType = (projectType, match) => {
20
- switch (projectType) {
21
- case void 0:
22
- return false;
23
- case "localization_files":
24
- case "paged_documents":
25
- case "content_integration":
26
- return callMatchFunction(match, "classic", projectType);
27
- case "marketing":
28
- case "marketing_integrations":
29
- return callMatchFunction(match, "marketing", projectType);
30
- default:
31
- return assertIsNever.assertIsNever(projectType);
32
- }
33
- };
34
- exports.canPerformActionByProjectType = canPerformActionByProjectType;
9
+ exports.default = styles;
10
+ exports.mainLabel = mainLabel;
11
+ exports.subLabel = subLabel;
35
12
  //# sourceMappingURL=harmony160.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony160.cjs","sources":["../src/features/permissions/utils/canPerformActionByProjectType.ts"],"sourcesContent":["import { assertIsNever } from '@utils/types/assertIsNever'\nimport type { ProjectType } from '../types'\n\ntype FullProjectTypeMatch = { [K in ProjectType]: () => boolean }\ntype PartialProjectTypeMatch = { [K in ProjectType]?: () => boolean } & { otherwise: () => boolean }\ntype CategoryProjectTypeMatch = { classic: () => boolean; marketing: () => boolean }\n\ntype ProjectTypeMatch = FullProjectTypeMatch | PartialProjectTypeMatch | CategoryProjectTypeMatch\n\nconst isCategoryProjectTypeMatch = (\n\tmatcher: ProjectTypeMatch,\n): matcher is CategoryProjectTypeMatch =>\n\t'marketing' in matcher &&\n\ttypeof matcher.marketing === 'function' &&\n\t'classic' in matcher &&\n\ttypeof matcher.classic === 'function'\n\nconst isPartialProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is PartialProjectTypeMatch =>\n\t'otherwise' in matcher && typeof matcher.otherwise === 'function'\n\nconst isFullProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is FullProjectTypeMatch =>\n\t!isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher)\n\nconst callMatchFunction = (\n\tmatcher: ProjectTypeMatch,\n\tcategory: 'classic' | 'marketing',\n\tprojectType: ProjectType,\n): boolean => {\n\tif (isFullProjectTypeMatch(matcher)) {\n\t\treturn matcher[projectType]()\n\t}\n\n\tif (isPartialProjectTypeMatch(matcher)) {\n\t\treturn (matcher[projectType] || matcher.otherwise)()\n\t}\n\n\tif (isCategoryProjectTypeMatch(matcher)) {\n\t\treturn matcher[category]()\n\t}\n\n\treturn false\n}\n\nexport const canPerformActionByProjectType = (\n\tprojectType: ProjectType | undefined,\n\tmatch: ProjectTypeMatch,\n) => {\n\tswitch (projectType) {\n\t\tcase undefined:\n\t\t\treturn false\n\n\t\tcase 'localization_files':\n\t\tcase 'paged_documents':\n\t\tcase 'content_integration':\n\t\t\treturn callMatchFunction(match, 'classic', projectType)\n\n\t\tcase 'marketing':\n\t\tcase 'marketing_integrations':\n\t\t\treturn callMatchFunction(match, 'marketing', projectType)\n\n\t\tdefault:\n\t\t\treturn assertIsNever(projectType)\n\t}\n}\n"],"names":["assertIsNever"],"mappings":";;;AASA,MAAM,6BAA6B,CAClC,YAEA,eAAe,WACf,OAAO,QAAQ,cAAc,cAC7B,aAAa,WACb,OAAO,QAAQ,YAAY;AAE5B,MAAM,4BAA4B,CAAC,YAClC,eAAe,WAAW,OAAO,QAAQ,cAAc;AAExD,MAAM,yBAAyB,CAAC,YAC/B,CAAC,2BAA2B,OAAO,KAAK,CAAC,0BAA0B,OAAO;AAE3E,MAAM,oBAAoB,CACzB,SACA,UACA,gBACa;AACT,MAAA,uBAAuB,OAAO,GAAG;AAC7B,WAAA,QAAQ,WAAW,EAAE;AAAA,EAAA;AAGzB,MAAA,0BAA0B,OAAO,GAAG;AACvC,YAAQ,QAAQ,WAAW,KAAK,QAAQ,WAAW;AAAA,EAAA;AAGhD,MAAA,2BAA2B,OAAO,GAAG;AACjC,WAAA,QAAQ,QAAQ,EAAE;AAAA,EAAA;AAGnB,SAAA;AACR;AAEa,MAAA,gCAAgC,CAC5C,aACA,UACI;AACJ,UAAQ,aAAa;AAAA,IACpB,KAAK;AACG,aAAA;AAAA,IAER,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,WAAW,WAAW;AAAA,IAEvD,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,aAAa,WAAW;AAAA,IAEzD;AACC,aAAOA,cAAAA,cAAc,WAAW;AAAA,EAAA;AAEnC;;"}
1
+ {"version":3,"file":"harmony160.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -1,35 +1,12 @@
1
- import { assertIsNever } from "./harmony171.mjs";
2
- const isCategoryProjectTypeMatch = (matcher) => "marketing" in matcher && typeof matcher.marketing === "function" && "classic" in matcher && typeof matcher.classic === "function";
3
- const isPartialProjectTypeMatch = (matcher) => "otherwise" in matcher && typeof matcher.otherwise === "function";
4
- const isFullProjectTypeMatch = (matcher) => !isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher);
5
- const callMatchFunction = (matcher, category, projectType) => {
6
- if (isFullProjectTypeMatch(matcher)) {
7
- return matcher[projectType]();
8
- }
9
- if (isPartialProjectTypeMatch(matcher)) {
10
- return (matcher[projectType] || matcher.otherwise)();
11
- }
12
- if (isCategoryProjectTypeMatch(matcher)) {
13
- return matcher[category]();
14
- }
15
- return false;
16
- };
17
- const canPerformActionByProjectType = (projectType, match) => {
18
- switch (projectType) {
19
- case void 0:
20
- return false;
21
- case "localization_files":
22
- case "paged_documents":
23
- case "content_integration":
24
- return callMatchFunction(match, "classic", projectType);
25
- case "marketing":
26
- case "marketing_integrations":
27
- return callMatchFunction(match, "marketing", projectType);
28
- default:
29
- return assertIsNever(projectType);
30
- }
1
+ const mainLabel = "_mainLabel_1baso_1";
2
+ const subLabel = "_subLabel_1baso_5";
3
+ const styles = {
4
+ mainLabel,
5
+ subLabel
31
6
  };
32
7
  export {
33
- canPerformActionByProjectType
8
+ styles as default,
9
+ mainLabel,
10
+ subLabel
34
11
  };
35
12
  //# sourceMappingURL=harmony160.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony160.mjs","sources":["../src/features/permissions/utils/canPerformActionByProjectType.ts"],"sourcesContent":["import { assertIsNever } from '@utils/types/assertIsNever'\nimport type { ProjectType } from '../types'\n\ntype FullProjectTypeMatch = { [K in ProjectType]: () => boolean }\ntype PartialProjectTypeMatch = { [K in ProjectType]?: () => boolean } & { otherwise: () => boolean }\ntype CategoryProjectTypeMatch = { classic: () => boolean; marketing: () => boolean }\n\ntype ProjectTypeMatch = FullProjectTypeMatch | PartialProjectTypeMatch | CategoryProjectTypeMatch\n\nconst isCategoryProjectTypeMatch = (\n\tmatcher: ProjectTypeMatch,\n): matcher is CategoryProjectTypeMatch =>\n\t'marketing' in matcher &&\n\ttypeof matcher.marketing === 'function' &&\n\t'classic' in matcher &&\n\ttypeof matcher.classic === 'function'\n\nconst isPartialProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is PartialProjectTypeMatch =>\n\t'otherwise' in matcher && typeof matcher.otherwise === 'function'\n\nconst isFullProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is FullProjectTypeMatch =>\n\t!isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher)\n\nconst callMatchFunction = (\n\tmatcher: ProjectTypeMatch,\n\tcategory: 'classic' | 'marketing',\n\tprojectType: ProjectType,\n): boolean => {\n\tif (isFullProjectTypeMatch(matcher)) {\n\t\treturn matcher[projectType]()\n\t}\n\n\tif (isPartialProjectTypeMatch(matcher)) {\n\t\treturn (matcher[projectType] || matcher.otherwise)()\n\t}\n\n\tif (isCategoryProjectTypeMatch(matcher)) {\n\t\treturn matcher[category]()\n\t}\n\n\treturn false\n}\n\nexport const canPerformActionByProjectType = (\n\tprojectType: ProjectType | undefined,\n\tmatch: ProjectTypeMatch,\n) => {\n\tswitch (projectType) {\n\t\tcase undefined:\n\t\t\treturn false\n\n\t\tcase 'localization_files':\n\t\tcase 'paged_documents':\n\t\tcase 'content_integration':\n\t\t\treturn callMatchFunction(match, 'classic', projectType)\n\n\t\tcase 'marketing':\n\t\tcase 'marketing_integrations':\n\t\t\treturn callMatchFunction(match, 'marketing', projectType)\n\n\t\tdefault:\n\t\t\treturn assertIsNever(projectType)\n\t}\n}\n"],"names":[],"mappings":";AASA,MAAM,6BAA6B,CAClC,YAEA,eAAe,WACf,OAAO,QAAQ,cAAc,cAC7B,aAAa,WACb,OAAO,QAAQ,YAAY;AAE5B,MAAM,4BAA4B,CAAC,YAClC,eAAe,WAAW,OAAO,QAAQ,cAAc;AAExD,MAAM,yBAAyB,CAAC,YAC/B,CAAC,2BAA2B,OAAO,KAAK,CAAC,0BAA0B,OAAO;AAE3E,MAAM,oBAAoB,CACzB,SACA,UACA,gBACa;AACT,MAAA,uBAAuB,OAAO,GAAG;AAC7B,WAAA,QAAQ,WAAW,EAAE;AAAA,EAAA;AAGzB,MAAA,0BAA0B,OAAO,GAAG;AACvC,YAAQ,QAAQ,WAAW,KAAK,QAAQ,WAAW;AAAA,EAAA;AAGhD,MAAA,2BAA2B,OAAO,GAAG;AACjC,WAAA,QAAQ,QAAQ,EAAE;AAAA,EAAA;AAGnB,SAAA;AACR;AAEa,MAAA,gCAAgC,CAC5C,aACA,UACI;AACJ,UAAQ,aAAa;AAAA,IACpB,KAAK;AACG,aAAA;AAAA,IAER,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,WAAW,WAAW;AAAA,IAEvD,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,aAAa,WAAW;AAAA,IAEzD;AACC,aAAO,cAAc,WAAW;AAAA,EAAA;AAEnC;"}
1
+ {"version":3,"file":"harmony160.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const mainLabel = "_mainLabel_1baso_1";
4
- const subLabel = "_subLabel_1baso_5";
3
+ const switchContainer = "_switchContainer_9byp6_1";
5
4
  const styles = {
6
- mainLabel,
7
- subLabel
5
+ switchContainer
8
6
  };
9
7
  exports.default = styles;
10
- exports.mainLabel = mainLabel;
11
- exports.subLabel = subLabel;
8
+ exports.switchContainer = switchContainer;
12
9
  //# sourceMappingURL=harmony161.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony161.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony161.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,12 +1,9 @@
1
- const mainLabel = "_mainLabel_1baso_1";
2
- const subLabel = "_subLabel_1baso_5";
1
+ const switchContainer = "_switchContainer_9byp6_1";
3
2
  const styles = {
4
- mainLabel,
5
- subLabel
3
+ switchContainer
6
4
  };
7
5
  export {
8
6
  styles as default,
9
- mainLabel,
10
- subLabel
7
+ switchContainer
11
8
  };
12
9
  //# sourceMappingURL=harmony161.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony161.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"harmony161.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const switchContainer = "_switchContainer_9byp6_1";
3
+ const container = "_container_q5pot_1";
4
+ const profileEmail = "_profileEmail_q5pot_5";
4
5
  const styles = {
5
- switchContainer
6
+ container,
7
+ profileEmail
6
8
  };
9
+ exports.container = container;
7
10
  exports.default = styles;
8
- exports.switchContainer = switchContainer;
11
+ exports.profileEmail = profileEmail;
9
12
  //# sourceMappingURL=harmony162.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony162.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"harmony162.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -1,9 +1,12 @@
1
- const switchContainer = "_switchContainer_9byp6_1";
1
+ const container = "_container_q5pot_1";
2
+ const profileEmail = "_profileEmail_q5pot_5";
2
3
  const styles = {
3
- switchContainer
4
+ container,
5
+ profileEmail
4
6
  };
5
7
  export {
8
+ container,
6
9
  styles as default,
7
- switchContainer
10
+ profileEmail
8
11
  };
9
12
  //# sourceMappingURL=harmony162.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony162.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"harmony162.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1,12 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const container = "_container_q5pot_1";
4
- const profileEmail = "_profileEmail_q5pot_5";
3
+ const wrapper = "_wrapper_1in7x_5";
4
+ const profileImage = "_profileImage_1in7x_11";
5
+ const teamDetails = "_teamDetails_1in7x_19";
6
+ const planWrapper = "_planWrapper_1in7x_28";
7
+ const teamName = "_teamName_1in7x_36";
8
+ const membership = "_membership_1in7x_53";
9
+ const defaultProfileImage = "_defaultProfileImage_1in7x_59";
5
10
  const styles = {
6
- container,
7
- profileEmail
11
+ wrapper,
12
+ profileImage,
13
+ teamDetails,
14
+ planWrapper,
15
+ teamName,
16
+ membership,
17
+ defaultProfileImage
8
18
  };
9
- exports.container = container;
10
19
  exports.default = styles;
11
- exports.profileEmail = profileEmail;
20
+ exports.defaultProfileImage = defaultProfileImage;
21
+ exports.membership = membership;
22
+ exports.planWrapper = planWrapper;
23
+ exports.profileImage = profileImage;
24
+ exports.teamDetails = teamDetails;
25
+ exports.teamName = teamName;
26
+ exports.wrapper = wrapper;
12
27
  //# sourceMappingURL=harmony163.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony163.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony163.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,12 +1,27 @@
1
- const container = "_container_q5pot_1";
2
- const profileEmail = "_profileEmail_q5pot_5";
1
+ const wrapper = "_wrapper_1in7x_5";
2
+ const profileImage = "_profileImage_1in7x_11";
3
+ const teamDetails = "_teamDetails_1in7x_19";
4
+ const planWrapper = "_planWrapper_1in7x_28";
5
+ const teamName = "_teamName_1in7x_36";
6
+ const membership = "_membership_1in7x_53";
7
+ const defaultProfileImage = "_defaultProfileImage_1in7x_59";
3
8
  const styles = {
4
- container,
5
- profileEmail
9
+ wrapper,
10
+ profileImage,
11
+ teamDetails,
12
+ planWrapper,
13
+ teamName,
14
+ membership,
15
+ defaultProfileImage
6
16
  };
7
17
  export {
8
- container,
9
18
  styles as default,
10
- profileEmail
19
+ defaultProfileImage,
20
+ membership,
21
+ planWrapper,
22
+ profileImage,
23
+ teamDetails,
24
+ teamName,
25
+ wrapper
11
26
  };
12
27
  //# sourceMappingURL=harmony163.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony163.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"harmony163.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -1,27 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const wrapper = "_wrapper_1in7x_5";
4
- const profileImage = "_profileImage_1in7x_11";
5
- const teamDetails = "_teamDetails_1in7x_19";
6
- const planWrapper = "_planWrapper_1in7x_28";
7
- const teamName = "_teamName_1in7x_36";
8
- const membership = "_membership_1in7x_53";
9
- const defaultProfileImage = "_defaultProfileImage_1in7x_59";
3
+ const teamsContainer = "_teamsContainer_1ncrr_5";
10
4
  const styles = {
11
- wrapper,
12
- profileImage,
13
- teamDetails,
14
- planWrapper,
15
- teamName,
16
- membership,
17
- defaultProfileImage
5
+ teamsContainer
18
6
  };
19
7
  exports.default = styles;
20
- exports.defaultProfileImage = defaultProfileImage;
21
- exports.membership = membership;
22
- exports.planWrapper = planWrapper;
23
- exports.profileImage = profileImage;
24
- exports.teamDetails = teamDetails;
25
- exports.teamName = teamName;
26
- exports.wrapper = wrapper;
8
+ exports.teamsContainer = teamsContainer;
27
9
  //# sourceMappingURL=harmony164.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony164.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony164.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,27 +1,9 @@
1
- const wrapper = "_wrapper_1in7x_5";
2
- const profileImage = "_profileImage_1in7x_11";
3
- const teamDetails = "_teamDetails_1in7x_19";
4
- const planWrapper = "_planWrapper_1in7x_28";
5
- const teamName = "_teamName_1in7x_36";
6
- const membership = "_membership_1in7x_53";
7
- const defaultProfileImage = "_defaultProfileImage_1in7x_59";
1
+ const teamsContainer = "_teamsContainer_1ncrr_5";
8
2
  const styles = {
9
- wrapper,
10
- profileImage,
11
- teamDetails,
12
- planWrapper,
13
- teamName,
14
- membership,
15
- defaultProfileImage
3
+ teamsContainer
16
4
  };
17
5
  export {
18
6
  styles as default,
19
- defaultProfileImage,
20
- membership,
21
- planWrapper,
22
- profileImage,
23
- teamDetails,
24
- teamName,
25
- wrapper
7
+ teamsContainer
26
8
  };
27
9
  //# sourceMappingURL=harmony164.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony164.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"harmony164.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const teamsContainer = "_teamsContainer_1ncrr_5";
3
+ const container = "_container_1u995_1";
4
+ const planCta = "_planCta_1u995_15";
5
+ const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
4
6
  const styles = {
5
- teamsContainer
7
+ container,
8
+ planCta,
9
+ upgradeIconWrapper
6
10
  };
11
+ exports.container = container;
7
12
  exports.default = styles;
8
- exports.teamsContainer = teamsContainer;
13
+ exports.planCta = planCta;
14
+ exports.upgradeIconWrapper = upgradeIconWrapper;
9
15
  //# sourceMappingURL=harmony165.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"harmony165.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"harmony165.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}