@contember/react-client-tenant 2.1.0-alpha.30 → 2.1.0-alpha.36

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 (780) hide show
  1. package/package.json +12 -12
  2. package/src/components/IdentityProvider.tsx +0 -2
  3. package/src/components/forms/ChangeMyPasswordForm.tsx +0 -1
  4. package/src/components/forms/LoginForm.tsx +0 -2
  5. package/src/components/forms/OtpConfirmForm.tsx +1 -2
  6. package/src/components/forms/OtpPrepareForm.tsx +1 -3
  7. package/src/components/forms/PasswordResetForm.tsx +0 -1
  8. package/src/components/forms/PasswordResetRequestForm.tsx +0 -3
  9. package/src/components/forms/PasswordlessSignInForm.tsx +8 -5
  10. package/src/components/forms/PasswordlessSignInInitForm.tsx +0 -3
  11. package/src/components/forms/TenantForm.tsx +14 -10
  12. package/src/components/forms/UpdateProjectMemberForm.tsx +2 -2
  13. package/src/components/idp/IDP.tsx +0 -2
  14. package/src/components/idp/IDPInitTrigger.tsx +1 -3
  15. package/src/components/triggers/DisableOtpTrigger.tsx +2 -1
  16. package/src/components/triggers/RemoveProjectMemberTrigger.tsx +0 -1
  17. package/src/components/triggers/TenantActionTrigger.tsx +4 -2
  18. package/src/contexts.ts +0 -2
  19. package/src/hooks/mutations/apiKey/useDisableApiKeyMutation.tsx +0 -1
  20. package/src/hooks/mutations/auth/useSignInMutation.ts +0 -1
  21. package/src/hooks/mutations/idp/useInitSignInIDPMutation.ts +5 -2
  22. package/src/hooks/mutations/idp/useSignInIdpMutation.ts +6 -4
  23. package/src/hooks/mutations/otp/useConfirmOtpMutation.ts +5 -5
  24. package/src/hooks/mutations/otp/usePrepareOtpMutation.ts +0 -1
  25. package/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.ts +0 -1
  26. package/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.ts +0 -1
  27. package/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.ts +0 -1
  28. package/src/hooks/mutations/profile/useChangeMyProfile.ts +2 -2
  29. package/src/hooks/mutations/profile/useChangeProfile.ts +2 -2
  30. package/src/hooks/queries/useMeQuery.ts +5 -4
  31. package/src/hooks/queries/useProjectMembersQuery.ts +19 -14
  32. package/src/hooks/queries/useProjectMembershipsQuery.ts +0 -1
  33. package/src/hooks/queries/useProjectRolesDefinitionQuery.ts +1 -2
  34. package/src/hooks/useFetchIdentity.ts +4 -1
  35. package/src/hooks/usePasswordlessOtpActivator.ts +4 -3
  36. package/src/hooks/useTenantApi.ts +0 -1
  37. package/src/hooks/useTenantMutation.ts +8 -6
  38. package/src/hooks/useTenantQueryLoader.ts +4 -3
  39. package/src/internal/hooks/useHandleIDPResponse.ts +3 -1
  40. package/src/internal/hooks/useIDPAutoInit.ts +0 -1
  41. package/src/internal/hooks/useIDPStateStore.ts +1 -1
  42. package/src/internal/hooks/useLogoutInternal.ts +1 -1
  43. package/src/internal/hooks/useRedirectToBacklink.ts +0 -1
  44. package/src/internal/utils/randomInt.ts +0 -1
  45. package/src/types/idp.ts +0 -1
  46. package/dist/development/index.cjs +0 -159
  47. package/dist/development/index.cjs.map +0 -1
  48. package/dist/development/index.js +0 -159
  49. package/dist/development/index.js.map +0 -1
  50. package/dist/development/src/components/IdentityProvider.cjs +0 -38
  51. package/dist/development/src/components/IdentityProvider.cjs.map +0 -1
  52. package/dist/development/src/components/IdentityProvider.js +0 -38
  53. package/dist/development/src/components/IdentityProvider.js.map +0 -1
  54. package/dist/development/src/components/IdentityState.cjs +0 -14
  55. package/dist/development/src/components/IdentityState.cjs.map +0 -1
  56. package/dist/development/src/components/IdentityState.js +0 -14
  57. package/dist/development/src/components/IdentityState.js.map +0 -1
  58. package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs +0 -59
  59. package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs.map +0 -1
  60. package/dist/development/src/components/forms/ChangeMyPasswordForm.js +0 -59
  61. package/dist/development/src/components/forms/ChangeMyPasswordForm.js.map +0 -1
  62. package/dist/development/src/components/forms/CreateApiKeyForm.cjs +0 -57
  63. package/dist/development/src/components/forms/CreateApiKeyForm.cjs.map +0 -1
  64. package/dist/development/src/components/forms/CreateApiKeyForm.js +0 -57
  65. package/dist/development/src/components/forms/CreateApiKeyForm.js.map +0 -1
  66. package/dist/development/src/components/forms/CreateSessionTokenForm.cjs +0 -50
  67. package/dist/development/src/components/forms/CreateSessionTokenForm.cjs.map +0 -1
  68. package/dist/development/src/components/forms/CreateSessionTokenForm.js +0 -50
  69. package/dist/development/src/components/forms/CreateSessionTokenForm.js.map +0 -1
  70. package/dist/development/src/components/forms/InviteForm.cjs +0 -62
  71. package/dist/development/src/components/forms/InviteForm.cjs.map +0 -1
  72. package/dist/development/src/components/forms/InviteForm.js +0 -62
  73. package/dist/development/src/components/forms/InviteForm.js.map +0 -1
  74. package/dist/development/src/components/forms/LoginForm.cjs +0 -87
  75. package/dist/development/src/components/forms/LoginForm.cjs.map +0 -1
  76. package/dist/development/src/components/forms/LoginForm.js +0 -87
  77. package/dist/development/src/components/forms/LoginForm.js.map +0 -1
  78. package/dist/development/src/components/forms/OtpConfirmForm.cjs +0 -49
  79. package/dist/development/src/components/forms/OtpConfirmForm.cjs.map +0 -1
  80. package/dist/development/src/components/forms/OtpConfirmForm.js +0 -49
  81. package/dist/development/src/components/forms/OtpConfirmForm.js.map +0 -1
  82. package/dist/development/src/components/forms/OtpPrepareForm.cjs +0 -36
  83. package/dist/development/src/components/forms/OtpPrepareForm.cjs.map +0 -1
  84. package/dist/development/src/components/forms/OtpPrepareForm.js +0 -36
  85. package/dist/development/src/components/forms/OtpPrepareForm.js.map +0 -1
  86. package/dist/development/src/components/forms/PasswordResetForm.cjs +0 -63
  87. package/dist/development/src/components/forms/PasswordResetForm.cjs.map +0 -1
  88. package/dist/development/src/components/forms/PasswordResetForm.js +0 -63
  89. package/dist/development/src/components/forms/PasswordResetForm.js.map +0 -1
  90. package/dist/development/src/components/forms/PasswordResetRequestForm.cjs +0 -49
  91. package/dist/development/src/components/forms/PasswordResetRequestForm.cjs.map +0 -1
  92. package/dist/development/src/components/forms/PasswordResetRequestForm.js +0 -49
  93. package/dist/development/src/components/forms/PasswordResetRequestForm.js.map +0 -1
  94. package/dist/development/src/components/forms/PasswordlessSignInForm.cjs +0 -79
  95. package/dist/development/src/components/forms/PasswordlessSignInForm.cjs.map +0 -1
  96. package/dist/development/src/components/forms/PasswordlessSignInForm.js +0 -79
  97. package/dist/development/src/components/forms/PasswordlessSignInForm.js.map +0 -1
  98. package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs +0 -59
  99. package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs.map +0 -1
  100. package/dist/development/src/components/forms/PasswordlessSignInInitForm.js +0 -59
  101. package/dist/development/src/components/forms/PasswordlessSignInInitForm.js.map +0 -1
  102. package/dist/development/src/components/forms/TenantForm.cjs +0 -91
  103. package/dist/development/src/components/forms/TenantForm.cjs.map +0 -1
  104. package/dist/development/src/components/forms/TenantForm.js +0 -91
  105. package/dist/development/src/components/forms/TenantForm.js.map +0 -1
  106. package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs +0 -64
  107. package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs.map +0 -1
  108. package/dist/development/src/components/forms/UpdateProjectMemberForm.js +0 -64
  109. package/dist/development/src/components/forms/UpdateProjectMemberForm.js.map +0 -1
  110. package/dist/development/src/components/idp/IDP.cjs +0 -56
  111. package/dist/development/src/components/idp/IDP.cjs.map +0 -1
  112. package/dist/development/src/components/idp/IDP.js +0 -56
  113. package/dist/development/src/components/idp/IDP.js.map +0 -1
  114. package/dist/development/src/components/idp/IDPInitTrigger.cjs +0 -16
  115. package/dist/development/src/components/idp/IDPInitTrigger.cjs.map +0 -1
  116. package/dist/development/src/components/idp/IDPInitTrigger.js +0 -16
  117. package/dist/development/src/components/idp/IDPInitTrigger.js.map +0 -1
  118. package/dist/development/src/components/idp/IDPState.cjs +0 -14
  119. package/dist/development/src/components/idp/IDPState.cjs.map +0 -1
  120. package/dist/development/src/components/idp/IDPState.js +0 -14
  121. package/dist/development/src/components/idp/IDPState.js.map +0 -1
  122. package/dist/development/src/components/triggers/DisableOtpTrigger.cjs +0 -32
  123. package/dist/development/src/components/triggers/DisableOtpTrigger.cjs.map +0 -1
  124. package/dist/development/src/components/triggers/DisableOtpTrigger.js +0 -32
  125. package/dist/development/src/components/triggers/DisableOtpTrigger.js.map +0 -1
  126. package/dist/development/src/components/triggers/LogoutTrigger.cjs +0 -16
  127. package/dist/development/src/components/triggers/LogoutTrigger.cjs.map +0 -1
  128. package/dist/development/src/components/triggers/LogoutTrigger.js +0 -16
  129. package/dist/development/src/components/triggers/LogoutTrigger.js.map +0 -1
  130. package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs +0 -17
  131. package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +0 -1
  132. package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js +0 -17
  133. package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js.map +0 -1
  134. package/dist/development/src/components/triggers/TenantActionTrigger.cjs +0 -37
  135. package/dist/development/src/components/triggers/TenantActionTrigger.cjs.map +0 -1
  136. package/dist/development/src/components/triggers/TenantActionTrigger.js +0 -37
  137. package/dist/development/src/components/triggers/TenantActionTrigger.js.map +0 -1
  138. package/dist/development/src/consts.cjs +0 -5
  139. package/dist/development/src/consts.cjs.map +0 -1
  140. package/dist/development/src/consts.js +0 -5
  141. package/dist/development/src/consts.js.map +0 -1
  142. package/dist/development/src/contexts.cjs +0 -34
  143. package/dist/development/src/contexts.cjs.map +0 -1
  144. package/dist/development/src/contexts.js +0 -34
  145. package/dist/development/src/contexts.js.map +0 -1
  146. package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +0 -30
  147. package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +0 -1
  148. package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +0 -13
  149. package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +0 -1
  150. package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +0 -30
  151. package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +0 -1
  152. package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +0 -13
  153. package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +0 -1
  154. package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +0 -30
  155. package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +0 -1
  156. package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +0 -13
  157. package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +0 -1
  158. package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +0 -29
  159. package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +0 -1
  160. package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +0 -12
  161. package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +0 -1
  162. package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +0 -29
  163. package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +0 -1
  164. package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +0 -12
  165. package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +0 -1
  166. package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs +0 -33
  167. package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs.map +0 -1
  168. package/dist/development/src/hooks/mutations/auth/useSignInMutation.js +0 -16
  169. package/dist/development/src/hooks/mutations/auth/useSignInMutation.js.map +0 -1
  170. package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs +0 -29
  171. package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs.map +0 -1
  172. package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js +0 -12
  173. package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js.map +0 -1
  174. package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +0 -31
  175. package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +0 -1
  176. package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js +0 -14
  177. package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +0 -1
  178. package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs +0 -33
  179. package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +0 -1
  180. package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js +0 -16
  181. package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js.map +0 -1
  182. package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs +0 -30
  183. package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs.map +0 -1
  184. package/dist/development/src/hooks/mutations/invite/useInviteMutation.js +0 -13
  185. package/dist/development/src/hooks/mutations/invite/useInviteMutation.js.map +0 -1
  186. package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +0 -29
  187. package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +0 -1
  188. package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +0 -12
  189. package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +0 -1
  190. package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +0 -29
  191. package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +0 -1
  192. package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +0 -12
  193. package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +0 -1
  194. package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +0 -29
  195. package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +0 -1
  196. package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +0 -12
  197. package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +0 -1
  198. package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +0 -29
  199. package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +0 -1
  200. package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js +0 -12
  201. package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +0 -1
  202. package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs +0 -29
  203. package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +0 -1
  204. package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js +0 -12
  205. package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js.map +0 -1
  206. package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +0 -30
  207. package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +0 -1
  208. package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js +0 -13
  209. package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +0 -1
  210. package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +0 -32
  211. package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +0 -1
  212. package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +0 -15
  213. package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +0 -1
  214. package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +0 -32
  215. package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +0 -1
  216. package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +0 -15
  217. package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +0 -1
  218. package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +0 -31
  219. package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +0 -1
  220. package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +0 -14
  221. package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +0 -1
  222. package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +0 -28
  223. package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +0 -1
  224. package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +0 -11
  225. package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +0 -1
  226. package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +0 -28
  227. package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +0 -1
  228. package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +0 -11
  229. package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +0 -1
  230. package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +0 -32
  231. package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +0 -1
  232. package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +0 -15
  233. package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +0 -1
  234. package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +0 -32
  235. package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +0 -1
  236. package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +0 -15
  237. package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +0 -1
  238. package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs +0 -29
  239. package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +0 -1
  240. package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js +0 -12
  241. package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js.map +0 -1
  242. package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs +0 -29
  243. package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs.map +0 -1
  244. package/dist/development/src/hooks/mutations/profile/useChangeProfile.js +0 -12
  245. package/dist/development/src/hooks/mutations/profile/useChangeProfile.js.map +0 -1
  246. package/dist/development/src/hooks/queries/useMeQuery.cjs +0 -33
  247. package/dist/development/src/hooks/queries/useMeQuery.cjs.map +0 -1
  248. package/dist/development/src/hooks/queries/useMeQuery.js +0 -16
  249. package/dist/development/src/hooks/queries/useMeQuery.js.map +0 -1
  250. package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs +0 -47
  251. package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs.map +0 -1
  252. package/dist/development/src/hooks/queries/useProjectMembersQuery.js +0 -30
  253. package/dist/development/src/hooks/queries/useProjectMembersQuery.js.map +0 -1
  254. package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs +0 -34
  255. package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs.map +0 -1
  256. package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js +0 -17
  257. package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js.map +0 -1
  258. package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +0 -36
  259. package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +0 -1
  260. package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js +0 -19
  261. package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +0 -1
  262. package/dist/development/src/hooks/useFetchIdentity.cjs +0 -52
  263. package/dist/development/src/hooks/useFetchIdentity.cjs.map +0 -1
  264. package/dist/development/src/hooks/useFetchIdentity.js +0 -52
  265. package/dist/development/src/hooks/useFetchIdentity.js.map +0 -1
  266. package/dist/development/src/hooks/useLogout.cjs +0 -10
  267. package/dist/development/src/hooks/useLogout.cjs.map +0 -1
  268. package/dist/development/src/hooks/useLogout.js +0 -10
  269. package/dist/development/src/hooks/useLogout.js.map +0 -1
  270. package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs +0 -53
  271. package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs.map +0 -1
  272. package/dist/development/src/hooks/usePasswordlessOtpActivator.js +0 -53
  273. package/dist/development/src/hooks/usePasswordlessOtpActivator.js.map +0 -1
  274. package/dist/development/src/hooks/useTenantApi.cjs +0 -36
  275. package/dist/development/src/hooks/useTenantApi.cjs.map +0 -1
  276. package/dist/development/src/hooks/useTenantApi.js +0 -36
  277. package/dist/development/src/hooks/useTenantApi.js.map +0 -1
  278. package/dist/development/src/hooks/useTenantMutation.cjs +0 -33
  279. package/dist/development/src/hooks/useTenantMutation.cjs.map +0 -1
  280. package/dist/development/src/hooks/useTenantMutation.js +0 -33
  281. package/dist/development/src/hooks/useTenantMutation.js.map +0 -1
  282. package/dist/development/src/hooks/useTenantQueryLoader.cjs +0 -36
  283. package/dist/development/src/hooks/useTenantQueryLoader.cjs.map +0 -1
  284. package/dist/development/src/hooks/useTenantQueryLoader.js +0 -36
  285. package/dist/development/src/hooks/useTenantQueryLoader.js.map +0 -1
  286. package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs +0 -51
  287. package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs.map +0 -1
  288. package/dist/development/src/internal/hooks/useHandleIDPResponse.js +0 -51
  289. package/dist/development/src/internal/hooks/useHandleIDPResponse.js.map +0 -1
  290. package/dist/development/src/internal/hooks/useIDPAutoInit.cjs +0 -19
  291. package/dist/development/src/internal/hooks/useIDPAutoInit.cjs.map +0 -1
  292. package/dist/development/src/internal/hooks/useIDPAutoInit.js +0 -19
  293. package/dist/development/src/internal/hooks/useIDPAutoInit.js.map +0 -1
  294. package/dist/development/src/internal/hooks/useIDPStateStore.cjs +0 -19
  295. package/dist/development/src/internal/hooks/useIDPStateStore.cjs.map +0 -1
  296. package/dist/development/src/internal/hooks/useIDPStateStore.js +0 -19
  297. package/dist/development/src/internal/hooks/useIDPStateStore.js.map +0 -1
  298. package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs +0 -44
  299. package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs.map +0 -1
  300. package/dist/development/src/internal/hooks/useInitIDPRedirect.js +0 -44
  301. package/dist/development/src/internal/hooks/useInitIDPRedirect.js.map +0 -1
  302. package/dist/development/src/internal/hooks/useLogoutInternal.cjs +0 -35
  303. package/dist/development/src/internal/hooks/useLogoutInternal.cjs.map +0 -1
  304. package/dist/development/src/internal/hooks/useLogoutInternal.js +0 -35
  305. package/dist/development/src/internal/hooks/useLogoutInternal.js.map +0 -1
  306. package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs +0 -36
  307. package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs.map +0 -1
  308. package/dist/development/src/internal/hooks/useRedirectToBacklink.js +0 -36
  309. package/dist/development/src/internal/hooks/useRedirectToBacklink.js.map +0 -1
  310. package/dist/development/src/internal/utils/getBaseHref.cjs +0 -8
  311. package/dist/development/src/internal/utils/getBaseHref.cjs.map +0 -1
  312. package/dist/development/src/internal/utils/getBaseHref.js +0 -8
  313. package/dist/development/src/internal/utils/getBaseHref.js.map +0 -1
  314. package/dist/development/src/internal/utils/hashing.cjs +0 -8
  315. package/dist/development/src/internal/utils/hashing.cjs.map +0 -1
  316. package/dist/development/src/internal/utils/hashing.js +0 -8
  317. package/dist/development/src/internal/utils/hashing.js.map +0 -1
  318. package/dist/development/src/internal/utils/randomInt.cjs +0 -29
  319. package/dist/development/src/internal/utils/randomInt.cjs.map +0 -1
  320. package/dist/development/src/internal/utils/randomInt.js +0 -29
  321. package/dist/development/src/internal/utils/randomInt.js.map +0 -1
  322. package/dist/production/index.cjs +0 -159
  323. package/dist/production/index.cjs.map +0 -1
  324. package/dist/production/index.js +0 -159
  325. package/dist/production/index.js.map +0 -1
  326. package/dist/production/src/components/IdentityProvider.cjs +0 -26
  327. package/dist/production/src/components/IdentityProvider.cjs.map +0 -1
  328. package/dist/production/src/components/IdentityProvider.js +0 -26
  329. package/dist/production/src/components/IdentityProvider.js.map +0 -1
  330. package/dist/production/src/components/IdentityState.cjs +0 -10
  331. package/dist/production/src/components/IdentityState.cjs.map +0 -1
  332. package/dist/production/src/components/IdentityState.js +0 -10
  333. package/dist/production/src/components/IdentityState.js.map +0 -1
  334. package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs +0 -51
  335. package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs.map +0 -1
  336. package/dist/production/src/components/forms/ChangeMyPasswordForm.js +0 -51
  337. package/dist/production/src/components/forms/ChangeMyPasswordForm.js.map +0 -1
  338. package/dist/production/src/components/forms/CreateApiKeyForm.cjs +0 -49
  339. package/dist/production/src/components/forms/CreateApiKeyForm.cjs.map +0 -1
  340. package/dist/production/src/components/forms/CreateApiKeyForm.js +0 -49
  341. package/dist/production/src/components/forms/CreateApiKeyForm.js.map +0 -1
  342. package/dist/production/src/components/forms/CreateSessionTokenForm.cjs +0 -42
  343. package/dist/production/src/components/forms/CreateSessionTokenForm.cjs.map +0 -1
  344. package/dist/production/src/components/forms/CreateSessionTokenForm.js +0 -42
  345. package/dist/production/src/components/forms/CreateSessionTokenForm.js.map +0 -1
  346. package/dist/production/src/components/forms/InviteForm.cjs +0 -54
  347. package/dist/production/src/components/forms/InviteForm.cjs.map +0 -1
  348. package/dist/production/src/components/forms/InviteForm.js +0 -54
  349. package/dist/production/src/components/forms/InviteForm.js.map +0 -1
  350. package/dist/production/src/components/forms/LoginForm.cjs +0 -79
  351. package/dist/production/src/components/forms/LoginForm.cjs.map +0 -1
  352. package/dist/production/src/components/forms/LoginForm.js +0 -79
  353. package/dist/production/src/components/forms/LoginForm.js.map +0 -1
  354. package/dist/production/src/components/forms/OtpConfirmForm.cjs +0 -41
  355. package/dist/production/src/components/forms/OtpConfirmForm.cjs.map +0 -1
  356. package/dist/production/src/components/forms/OtpConfirmForm.js +0 -41
  357. package/dist/production/src/components/forms/OtpConfirmForm.js.map +0 -1
  358. package/dist/production/src/components/forms/OtpPrepareForm.cjs +0 -28
  359. package/dist/production/src/components/forms/OtpPrepareForm.cjs.map +0 -1
  360. package/dist/production/src/components/forms/OtpPrepareForm.js +0 -28
  361. package/dist/production/src/components/forms/OtpPrepareForm.js.map +0 -1
  362. package/dist/production/src/components/forms/PasswordResetForm.cjs +0 -55
  363. package/dist/production/src/components/forms/PasswordResetForm.cjs.map +0 -1
  364. package/dist/production/src/components/forms/PasswordResetForm.js +0 -55
  365. package/dist/production/src/components/forms/PasswordResetForm.js.map +0 -1
  366. package/dist/production/src/components/forms/PasswordResetRequestForm.cjs +0 -41
  367. package/dist/production/src/components/forms/PasswordResetRequestForm.cjs.map +0 -1
  368. package/dist/production/src/components/forms/PasswordResetRequestForm.js +0 -41
  369. package/dist/production/src/components/forms/PasswordResetRequestForm.js.map +0 -1
  370. package/dist/production/src/components/forms/PasswordlessSignInForm.cjs +0 -71
  371. package/dist/production/src/components/forms/PasswordlessSignInForm.cjs.map +0 -1
  372. package/dist/production/src/components/forms/PasswordlessSignInForm.js +0 -71
  373. package/dist/production/src/components/forms/PasswordlessSignInForm.js.map +0 -1
  374. package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs +0 -51
  375. package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs.map +0 -1
  376. package/dist/production/src/components/forms/PasswordlessSignInInitForm.js +0 -51
  377. package/dist/production/src/components/forms/PasswordlessSignInInitForm.js.map +0 -1
  378. package/dist/production/src/components/forms/TenantForm.cjs +0 -83
  379. package/dist/production/src/components/forms/TenantForm.cjs.map +0 -1
  380. package/dist/production/src/components/forms/TenantForm.js +0 -83
  381. package/dist/production/src/components/forms/TenantForm.js.map +0 -1
  382. package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs +0 -56
  383. package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs.map +0 -1
  384. package/dist/production/src/components/forms/UpdateProjectMemberForm.js +0 -56
  385. package/dist/production/src/components/forms/UpdateProjectMemberForm.js.map +0 -1
  386. package/dist/production/src/components/idp/IDP.cjs +0 -48
  387. package/dist/production/src/components/idp/IDP.cjs.map +0 -1
  388. package/dist/production/src/components/idp/IDP.js +0 -48
  389. package/dist/production/src/components/idp/IDP.js.map +0 -1
  390. package/dist/production/src/components/idp/IDPInitTrigger.cjs +0 -12
  391. package/dist/production/src/components/idp/IDPInitTrigger.cjs.map +0 -1
  392. package/dist/production/src/components/idp/IDPInitTrigger.js +0 -12
  393. package/dist/production/src/components/idp/IDPInitTrigger.js.map +0 -1
  394. package/dist/production/src/components/idp/IDPState.cjs +0 -10
  395. package/dist/production/src/components/idp/IDPState.cjs.map +0 -1
  396. package/dist/production/src/components/idp/IDPState.js +0 -10
  397. package/dist/production/src/components/idp/IDPState.js.map +0 -1
  398. package/dist/production/src/components/triggers/DisableOtpTrigger.cjs +0 -24
  399. package/dist/production/src/components/triggers/DisableOtpTrigger.cjs.map +0 -1
  400. package/dist/production/src/components/triggers/DisableOtpTrigger.js +0 -24
  401. package/dist/production/src/components/triggers/DisableOtpTrigger.js.map +0 -1
  402. package/dist/production/src/components/triggers/LogoutTrigger.cjs +0 -12
  403. package/dist/production/src/components/triggers/LogoutTrigger.cjs.map +0 -1
  404. package/dist/production/src/components/triggers/LogoutTrigger.js +0 -12
  405. package/dist/production/src/components/triggers/LogoutTrigger.js.map +0 -1
  406. package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs +0 -13
  407. package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +0 -1
  408. package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js +0 -13
  409. package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js.map +0 -1
  410. package/dist/production/src/components/triggers/TenantActionTrigger.cjs +0 -33
  411. package/dist/production/src/components/triggers/TenantActionTrigger.cjs.map +0 -1
  412. package/dist/production/src/components/triggers/TenantActionTrigger.js +0 -33
  413. package/dist/production/src/components/triggers/TenantActionTrigger.js.map +0 -1
  414. package/dist/production/src/consts.cjs +0 -5
  415. package/dist/production/src/consts.cjs.map +0 -1
  416. package/dist/production/src/consts.js +0 -5
  417. package/dist/production/src/consts.js.map +0 -1
  418. package/dist/production/src/contexts.cjs +0 -34
  419. package/dist/production/src/contexts.cjs.map +0 -1
  420. package/dist/production/src/contexts.js +0 -34
  421. package/dist/production/src/contexts.js.map +0 -1
  422. package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +0 -30
  423. package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +0 -1
  424. package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +0 -13
  425. package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +0 -1
  426. package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +0 -30
  427. package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +0 -1
  428. package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +0 -13
  429. package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +0 -1
  430. package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +0 -30
  431. package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +0 -1
  432. package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +0 -13
  433. package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +0 -1
  434. package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +0 -29
  435. package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +0 -1
  436. package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +0 -12
  437. package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +0 -1
  438. package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +0 -29
  439. package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +0 -1
  440. package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +0 -12
  441. package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +0 -1
  442. package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs +0 -33
  443. package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs.map +0 -1
  444. package/dist/production/src/hooks/mutations/auth/useSignInMutation.js +0 -16
  445. package/dist/production/src/hooks/mutations/auth/useSignInMutation.js.map +0 -1
  446. package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs +0 -29
  447. package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs.map +0 -1
  448. package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js +0 -12
  449. package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js.map +0 -1
  450. package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +0 -31
  451. package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +0 -1
  452. package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js +0 -14
  453. package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +0 -1
  454. package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs +0 -33
  455. package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +0 -1
  456. package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js +0 -16
  457. package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js.map +0 -1
  458. package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs +0 -30
  459. package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs.map +0 -1
  460. package/dist/production/src/hooks/mutations/invite/useInviteMutation.js +0 -13
  461. package/dist/production/src/hooks/mutations/invite/useInviteMutation.js.map +0 -1
  462. package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +0 -29
  463. package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +0 -1
  464. package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +0 -12
  465. package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +0 -1
  466. package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +0 -29
  467. package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +0 -1
  468. package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +0 -12
  469. package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +0 -1
  470. package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +0 -29
  471. package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +0 -1
  472. package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +0 -12
  473. package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +0 -1
  474. package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +0 -29
  475. package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +0 -1
  476. package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js +0 -12
  477. package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +0 -1
  478. package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs +0 -29
  479. package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +0 -1
  480. package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js +0 -12
  481. package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js.map +0 -1
  482. package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +0 -30
  483. package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +0 -1
  484. package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js +0 -13
  485. package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +0 -1
  486. package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +0 -32
  487. package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +0 -1
  488. package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +0 -15
  489. package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +0 -1
  490. package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +0 -32
  491. package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +0 -1
  492. package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +0 -15
  493. package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +0 -1
  494. package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +0 -31
  495. package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +0 -1
  496. package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +0 -14
  497. package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +0 -1
  498. package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +0 -28
  499. package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +0 -1
  500. package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +0 -11
  501. package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +0 -1
  502. package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +0 -28
  503. package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +0 -1
  504. package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +0 -11
  505. package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +0 -1
  506. package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +0 -32
  507. package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +0 -1
  508. package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +0 -15
  509. package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +0 -1
  510. package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +0 -32
  511. package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +0 -1
  512. package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +0 -15
  513. package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +0 -1
  514. package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs +0 -29
  515. package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +0 -1
  516. package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js +0 -12
  517. package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js.map +0 -1
  518. package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs +0 -29
  519. package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs.map +0 -1
  520. package/dist/production/src/hooks/mutations/profile/useChangeProfile.js +0 -12
  521. package/dist/production/src/hooks/mutations/profile/useChangeProfile.js.map +0 -1
  522. package/dist/production/src/hooks/queries/useMeQuery.cjs +0 -33
  523. package/dist/production/src/hooks/queries/useMeQuery.cjs.map +0 -1
  524. package/dist/production/src/hooks/queries/useMeQuery.js +0 -16
  525. package/dist/production/src/hooks/queries/useMeQuery.js.map +0 -1
  526. package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs +0 -47
  527. package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs.map +0 -1
  528. package/dist/production/src/hooks/queries/useProjectMembersQuery.js +0 -30
  529. package/dist/production/src/hooks/queries/useProjectMembersQuery.js.map +0 -1
  530. package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs +0 -34
  531. package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs.map +0 -1
  532. package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js +0 -17
  533. package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js.map +0 -1
  534. package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +0 -36
  535. package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +0 -1
  536. package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js +0 -19
  537. package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +0 -1
  538. package/dist/production/src/hooks/useFetchIdentity.cjs +0 -52
  539. package/dist/production/src/hooks/useFetchIdentity.cjs.map +0 -1
  540. package/dist/production/src/hooks/useFetchIdentity.js +0 -52
  541. package/dist/production/src/hooks/useFetchIdentity.js.map +0 -1
  542. package/dist/production/src/hooks/useLogout.cjs +0 -10
  543. package/dist/production/src/hooks/useLogout.cjs.map +0 -1
  544. package/dist/production/src/hooks/useLogout.js +0 -10
  545. package/dist/production/src/hooks/useLogout.js.map +0 -1
  546. package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs +0 -53
  547. package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs.map +0 -1
  548. package/dist/production/src/hooks/usePasswordlessOtpActivator.js +0 -53
  549. package/dist/production/src/hooks/usePasswordlessOtpActivator.js.map +0 -1
  550. package/dist/production/src/hooks/useTenantApi.cjs +0 -36
  551. package/dist/production/src/hooks/useTenantApi.cjs.map +0 -1
  552. package/dist/production/src/hooks/useTenantApi.js +0 -36
  553. package/dist/production/src/hooks/useTenantApi.js.map +0 -1
  554. package/dist/production/src/hooks/useTenantMutation.cjs +0 -33
  555. package/dist/production/src/hooks/useTenantMutation.cjs.map +0 -1
  556. package/dist/production/src/hooks/useTenantMutation.js +0 -33
  557. package/dist/production/src/hooks/useTenantMutation.js.map +0 -1
  558. package/dist/production/src/hooks/useTenantQueryLoader.cjs +0 -36
  559. package/dist/production/src/hooks/useTenantQueryLoader.cjs.map +0 -1
  560. package/dist/production/src/hooks/useTenantQueryLoader.js +0 -36
  561. package/dist/production/src/hooks/useTenantQueryLoader.js.map +0 -1
  562. package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs +0 -51
  563. package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs.map +0 -1
  564. package/dist/production/src/internal/hooks/useHandleIDPResponse.js +0 -51
  565. package/dist/production/src/internal/hooks/useHandleIDPResponse.js.map +0 -1
  566. package/dist/production/src/internal/hooks/useIDPAutoInit.cjs +0 -19
  567. package/dist/production/src/internal/hooks/useIDPAutoInit.cjs.map +0 -1
  568. package/dist/production/src/internal/hooks/useIDPAutoInit.js +0 -19
  569. package/dist/production/src/internal/hooks/useIDPAutoInit.js.map +0 -1
  570. package/dist/production/src/internal/hooks/useIDPStateStore.cjs +0 -19
  571. package/dist/production/src/internal/hooks/useIDPStateStore.cjs.map +0 -1
  572. package/dist/production/src/internal/hooks/useIDPStateStore.js +0 -19
  573. package/dist/production/src/internal/hooks/useIDPStateStore.js.map +0 -1
  574. package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs +0 -44
  575. package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs.map +0 -1
  576. package/dist/production/src/internal/hooks/useInitIDPRedirect.js +0 -44
  577. package/dist/production/src/internal/hooks/useInitIDPRedirect.js.map +0 -1
  578. package/dist/production/src/internal/hooks/useLogoutInternal.cjs +0 -35
  579. package/dist/production/src/internal/hooks/useLogoutInternal.cjs.map +0 -1
  580. package/dist/production/src/internal/hooks/useLogoutInternal.js +0 -35
  581. package/dist/production/src/internal/hooks/useLogoutInternal.js.map +0 -1
  582. package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs +0 -36
  583. package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs.map +0 -1
  584. package/dist/production/src/internal/hooks/useRedirectToBacklink.js +0 -36
  585. package/dist/production/src/internal/hooks/useRedirectToBacklink.js.map +0 -1
  586. package/dist/production/src/internal/utils/getBaseHref.cjs +0 -8
  587. package/dist/production/src/internal/utils/getBaseHref.cjs.map +0 -1
  588. package/dist/production/src/internal/utils/getBaseHref.js +0 -8
  589. package/dist/production/src/internal/utils/getBaseHref.js.map +0 -1
  590. package/dist/production/src/internal/utils/hashing.cjs +0 -8
  591. package/dist/production/src/internal/utils/hashing.cjs.map +0 -1
  592. package/dist/production/src/internal/utils/hashing.js +0 -8
  593. package/dist/production/src/internal/utils/hashing.js.map +0 -1
  594. package/dist/production/src/internal/utils/randomInt.cjs +0 -29
  595. package/dist/production/src/internal/utils/randomInt.cjs.map +0 -1
  596. package/dist/production/src/internal/utils/randomInt.js +0 -29
  597. package/dist/production/src/internal/utils/randomInt.js.map +0 -1
  598. package/dist/types/components/IdentityProvider.d.ts +0 -6
  599. package/dist/types/components/IdentityProvider.d.ts.map +0 -1
  600. package/dist/types/components/IdentityState.d.ts +0 -8
  601. package/dist/types/components/IdentityState.d.ts.map +0 -1
  602. package/dist/types/components/forms/ChangeMyPasswordForm.d.ts +0 -19
  603. package/dist/types/components/forms/ChangeMyPasswordForm.d.ts.map +0 -1
  604. package/dist/types/components/forms/CreateApiKeyForm.d.ts +0 -23
  605. package/dist/types/components/forms/CreateApiKeyForm.d.ts.map +0 -1
  606. package/dist/types/components/forms/CreateSessionTokenForm.d.ts +0 -22
  607. package/dist/types/components/forms/CreateSessionTokenForm.d.ts.map +0 -1
  608. package/dist/types/components/forms/InviteForm.d.ts +0 -25
  609. package/dist/types/components/forms/InviteForm.d.ts.map +0 -1
  610. package/dist/types/components/forms/LoginForm.d.ts +0 -20
  611. package/dist/types/components/forms/LoginForm.d.ts.map +0 -1
  612. package/dist/types/components/forms/OtpConfirmForm.d.ts +0 -17
  613. package/dist/types/components/forms/OtpConfirmForm.d.ts.map +0 -1
  614. package/dist/types/components/forms/OtpPrepareForm.d.ts +0 -19
  615. package/dist/types/components/forms/OtpPrepareForm.d.ts.map +0 -1
  616. package/dist/types/components/forms/PasswordResetForm.d.ts +0 -20
  617. package/dist/types/components/forms/PasswordResetForm.d.ts.map +0 -1
  618. package/dist/types/components/forms/PasswordResetRequestForm.d.ts +0 -17
  619. package/dist/types/components/forms/PasswordResetRequestForm.d.ts.map +0 -1
  620. package/dist/types/components/forms/PasswordlessSignInForm.d.ts +0 -22
  621. package/dist/types/components/forms/PasswordlessSignInForm.d.ts.map +0 -1
  622. package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts +0 -20
  623. package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts.map +0 -1
  624. package/dist/types/components/forms/TenantForm.d.ts +0 -37
  625. package/dist/types/components/forms/TenantForm.d.ts.map +0 -1
  626. package/dist/types/components/forms/UpdateProjectMemberForm.d.ts +0 -19
  627. package/dist/types/components/forms/UpdateProjectMemberForm.d.ts.map +0 -1
  628. package/dist/types/components/forms/index.d.ts +0 -13
  629. package/dist/types/components/forms/index.d.ts.map +0 -1
  630. package/dist/types/components/idp/IDP.d.ts +0 -12
  631. package/dist/types/components/idp/IDP.d.ts.map +0 -1
  632. package/dist/types/components/idp/IDPInitTrigger.d.ts +0 -7
  633. package/dist/types/components/idp/IDPInitTrigger.d.ts.map +0 -1
  634. package/dist/types/components/idp/IDPState.d.ts +0 -8
  635. package/dist/types/components/idp/IDPState.d.ts.map +0 -1
  636. package/dist/types/components/idp/index.d.ts +0 -4
  637. package/dist/types/components/idp/index.d.ts.map +0 -1
  638. package/dist/types/components/index.d.ts +0 -6
  639. package/dist/types/components/index.d.ts.map +0 -1
  640. package/dist/types/components/triggers/DisableOtpTrigger.d.ts +0 -8
  641. package/dist/types/components/triggers/DisableOtpTrigger.d.ts.map +0 -1
  642. package/dist/types/components/triggers/LogoutTrigger.d.ts +0 -5
  643. package/dist/types/components/triggers/LogoutTrigger.d.ts.map +0 -1
  644. package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts +0 -9
  645. package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts.map +0 -1
  646. package/dist/types/components/triggers/TenantActionTrigger.d.ts +0 -22
  647. package/dist/types/components/triggers/TenantActionTrigger.d.ts.map +0 -1
  648. package/dist/types/components/triggers/index.d.ts +0 -4
  649. package/dist/types/components/triggers/index.d.ts.map +0 -1
  650. package/dist/types/consts.d.ts +0 -2
  651. package/dist/types/consts.d.ts.map +0 -1
  652. package/dist/types/contexts.d.ts +0 -20
  653. package/dist/types/contexts.d.ts.map +0 -1
  654. package/dist/types/hooks/index.d.ts +0 -9
  655. package/dist/types/hooks/index.d.ts.map +0 -1
  656. package/dist/types/hooks/mutations/apiKey/index.d.ts +0 -5
  657. package/dist/types/hooks/mutations/apiKey/index.d.ts.map +0 -1
  658. package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts +0 -83
  659. package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts.map +0 -1
  660. package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts +0 -73
  661. package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts.map +0 -1
  662. package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts +0 -59
  663. package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts.map +0 -1
  664. package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts +0 -21
  665. package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts.map +0 -1
  666. package/dist/types/hooks/mutations/auth/index.d.ts +0 -4
  667. package/dist/types/hooks/mutations/auth/index.d.ts.map +0 -1
  668. package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts +0 -23
  669. package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts.map +0 -1
  670. package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts +0 -65
  671. package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts.map +0 -1
  672. package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts +0 -21
  673. package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts.map +0 -1
  674. package/dist/types/hooks/mutations/idp/index.d.ts +0 -3
  675. package/dist/types/hooks/mutations/idp/index.d.ts.map +0 -1
  676. package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts +0 -19
  677. package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts.map +0 -1
  678. package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts +0 -76
  679. package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts.map +0 -1
  680. package/dist/types/hooks/mutations/index.d.ts +0 -10
  681. package/dist/types/hooks/mutations/index.d.ts.map +0 -1
  682. package/dist/types/hooks/mutations/invite/index.d.ts +0 -2
  683. package/dist/types/hooks/mutations/invite/index.d.ts.map +0 -1
  684. package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts +0 -97
  685. package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts.map +0 -1
  686. package/dist/types/hooks/mutations/memberships/index.d.ts +0 -4
  687. package/dist/types/hooks/mutations/memberships/index.d.ts.map +0 -1
  688. package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts +0 -33
  689. package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts.map +0 -1
  690. package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts +0 -23
  691. package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts.map +0 -1
  692. package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts +0 -33
  693. package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts.map +0 -1
  694. package/dist/types/hooks/mutations/otp/index.d.ts +0 -4
  695. package/dist/types/hooks/mutations/otp/index.d.ts.map +0 -1
  696. package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts +0 -21
  697. package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts.map +0 -1
  698. package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts +0 -17
  699. package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts.map +0 -1
  700. package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts +0 -25
  701. package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts.map +0 -1
  702. package/dist/types/hooks/mutations/passwordReset/index.d.ts +0 -3
  703. package/dist/types/hooks/mutations/passwordReset/index.d.ts.map +0 -1
  704. package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts +0 -23
  705. package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts.map +0 -1
  706. package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts +0 -25
  707. package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts.map +0 -1
  708. package/dist/types/hooks/mutations/passwordless/index.d.ts +0 -6
  709. package/dist/types/hooks/mutations/passwordless/index.d.ts.map +0 -1
  710. package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts +0 -8
  711. package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts.map +0 -1
  712. package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts +0 -3
  713. package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts.map +0 -1
  714. package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts +0 -3
  715. package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts.map +0 -1
  716. package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts +0 -19
  717. package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts.map +0 -1
  718. package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts +0 -34
  719. package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts.map +0 -1
  720. package/dist/types/hooks/mutations/profile/index.d.ts +0 -3
  721. package/dist/types/hooks/mutations/profile/index.d.ts.map +0 -1
  722. package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts +0 -21
  723. package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts.map +0 -1
  724. package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts +0 -23
  725. package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts.map +0 -1
  726. package/dist/types/hooks/queries/index.d.ts +0 -5
  727. package/dist/types/hooks/queries/index.d.ts.map +0 -1
  728. package/dist/types/hooks/queries/useMeQuery.d.ts +0 -52
  729. package/dist/types/hooks/queries/useMeQuery.d.ts.map +0 -1
  730. package/dist/types/hooks/queries/useProjectMembersQuery.d.ts +0 -43
  731. package/dist/types/hooks/queries/useProjectMembersQuery.d.ts.map +0 -1
  732. package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts +0 -20
  733. package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts.map +0 -1
  734. package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts +0 -66
  735. package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts.map +0 -1
  736. package/dist/types/hooks/useFetchIdentity.d.ts +0 -6
  737. package/dist/types/hooks/useFetchIdentity.d.ts.map +0 -1
  738. package/dist/types/hooks/useLogout.d.ts +0 -4
  739. package/dist/types/hooks/useLogout.d.ts.map +0 -1
  740. package/dist/types/hooks/usePasswordlessOtpActivator.d.ts +0 -19
  741. package/dist/types/hooks/usePasswordlessOtpActivator.d.ts.map +0 -1
  742. package/dist/types/hooks/useTenantApi.d.ts +0 -12
  743. package/dist/types/hooks/useTenantApi.d.ts.map +0 -1
  744. package/dist/types/hooks/useTenantMutation.d.ts +0 -25
  745. package/dist/types/hooks/useTenantMutation.d.ts.map +0 -1
  746. package/dist/types/hooks/useTenantQueryLoader.d.ts +0 -17
  747. package/dist/types/hooks/useTenantQueryLoader.d.ts.map +0 -1
  748. package/dist/types/index.d.ts +0 -6
  749. package/dist/types/index.d.ts.map +0 -1
  750. package/dist/types/internal/hooks/useHandleIDPResponse.d.ts +0 -11
  751. package/dist/types/internal/hooks/useHandleIDPResponse.d.ts.map +0 -1
  752. package/dist/types/internal/hooks/useIDPAutoInit.d.ts +0 -2
  753. package/dist/types/internal/hooks/useIDPAutoInit.d.ts.map +0 -1
  754. package/dist/types/internal/hooks/useIDPStateStore.d.ts +0 -9
  755. package/dist/types/internal/hooks/useIDPStateStore.d.ts.map +0 -1
  756. package/dist/types/internal/hooks/useInitIDPRedirect.d.ts +0 -16
  757. package/dist/types/internal/hooks/useInitIDPRedirect.d.ts.map +0 -1
  758. package/dist/types/internal/hooks/useLogoutInternal.d.ts +0 -4
  759. package/dist/types/internal/hooks/useLogoutInternal.d.ts.map +0 -1
  760. package/dist/types/internal/hooks/useRedirectToBacklink.d.ts +0 -6
  761. package/dist/types/internal/hooks/useRedirectToBacklink.d.ts.map +0 -1
  762. package/dist/types/internal/utils/getBaseHref.d.ts +0 -2
  763. package/dist/types/internal/utils/getBaseHref.d.ts.map +0 -1
  764. package/dist/types/internal/utils/hashing.d.ts +0 -2
  765. package/dist/types/internal/utils/hashing.d.ts.map +0 -1
  766. package/dist/types/internal/utils/randomInt.d.ts +0 -3
  767. package/dist/types/internal/utils/randomInt.d.ts.map +0 -1
  768. package/dist/types/tsconfig.tsbuildinfo +0 -1
  769. package/dist/types/types/Identity.d.ts +0 -20
  770. package/dist/types/types/Identity.d.ts.map +0 -1
  771. package/dist/types/types/IdentityMethods.d.ts +0 -5
  772. package/dist/types/types/IdentityMethods.d.ts.map +0 -1
  773. package/dist/types/types/IdentityStateValue.d.ts +0 -2
  774. package/dist/types/types/IdentityStateValue.d.ts.map +0 -1
  775. package/dist/types/types/forms.d.ts +0 -18
  776. package/dist/types/types/forms.d.ts.map +0 -1
  777. package/dist/types/types/idp.d.ts +0 -30
  778. package/dist/types/types/idp.d.ts.map +0 -1
  779. package/dist/types/types/index.d.ts +0 -6
  780. package/dist/types/types/index.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"useDisableMyPasswordlessMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\n\nconst DisableMyPasswordlessMutation = TenantApi\n\t.mutation$\n\t.disableMyPasswordless(\n\t\tTenantApi\n\t\t\t.toggleMyPasswordlessResponse$$\n\t\t\t.error(TenantApi.toggleMyPasswordlessError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useDisableMyPasswordlessMutation = createTenantMutation(DisableMyPasswordlessMutation)\n"],"names":[],"mappings":";;AAIA,MAAM,gCAAgC,UACpC,UACA;AAAA,EACA,UACE,+BACA,MAAM,UAAU,2BAA2B;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,mCAAmC,qBAAqB,6BAA6B;"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const useTenantMutation = require("../../useTenantMutation.cjs");
5
- function _interopNamespaceDefault(e) {
6
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
7
- if (e) {
8
- for (const k in e) {
9
- if (k !== "default") {
10
- const d = Object.getOwnPropertyDescriptor(e, k);
11
- Object.defineProperty(n, k, d.get ? d : {
12
- enumerable: true,
13
- get: () => e[k]
14
- });
15
- }
16
- }
17
- }
18
- n.default = e;
19
- return Object.freeze(n);
20
- }
21
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
22
- const EnableMyPasswordlessMutation = TenantApi__namespace.mutation$.enableMyPasswordless(
23
- TenantApi__namespace.toggleMyPasswordlessResponse$$.error(TenantApi__namespace.toggleMyPasswordlessError$$),
24
- (options) => options.alias("mutation")
25
- );
26
- const useEnableMyPasswordlessMutation = useTenantMutation.createTenantMutation(EnableMyPasswordlessMutation);
27
- exports.useEnableMyPasswordlessMutation = useEnableMyPasswordlessMutation;
28
- //# sourceMappingURL=useEnableMyPasswordlessMutation.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEnableMyPasswordlessMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\n\nconst EnableMyPasswordlessMutation = TenantApi\n\t.mutation$\n\t.enableMyPasswordless(\n\t\tTenantApi\n\t\t\t.toggleMyPasswordlessResponse$$\n\t\t\t.error(TenantApi.toggleMyPasswordlessError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useEnableMyPasswordlessMutation = createTenantMutation(EnableMyPasswordlessMutation)\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,+BAA+BA,qBACnC,UACA;AAAA,EACAA,qBACE,+BACA,MAAMA,qBAAU,2BAA2B;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,kCAAkCC,uCAAqB,4BAA4B;;"}
@@ -1,11 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { createTenantMutation } from "../../useTenantMutation.js";
3
- const EnableMyPasswordlessMutation = TenantApi.mutation$.enableMyPasswordless(
4
- TenantApi.toggleMyPasswordlessResponse$$.error(TenantApi.toggleMyPasswordlessError$$),
5
- (options) => options.alias("mutation")
6
- );
7
- const useEnableMyPasswordlessMutation = createTenantMutation(EnableMyPasswordlessMutation);
8
- export {
9
- useEnableMyPasswordlessMutation
10
- };
11
- //# sourceMappingURL=useEnableMyPasswordlessMutation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useEnableMyPasswordlessMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\n\nconst EnableMyPasswordlessMutation = TenantApi\n\t.mutation$\n\t.enableMyPasswordless(\n\t\tTenantApi\n\t\t\t.toggleMyPasswordlessResponse$$\n\t\t\t.error(TenantApi.toggleMyPasswordlessError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useEnableMyPasswordlessMutation = createTenantMutation(EnableMyPasswordlessMutation)\n"],"names":[],"mappings":";;AAIA,MAAM,+BAA+B,UACnC,UACA;AAAA,EACA,UACE,+BACA,MAAM,UAAU,2BAA2B;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,kCAAkC,qBAAqB,4BAA4B;"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const useTenantApi = require("../../useTenantApi.cjs");
5
- const useTenantMutation = require("../../useTenantMutation.cjs");
6
- function _interopNamespaceDefault(e) {
7
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
8
- if (e) {
9
- for (const k in e) {
10
- if (k !== "default") {
11
- const d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: () => e[k]
15
- });
16
- }
17
- }
18
- }
19
- n.default = e;
20
- return Object.freeze(n);
21
- }
22
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
23
- const InitSignInPasswordlessMutationResult = TenantApi__namespace.initSignInPasswordlessResult$$;
24
- const InitSignInPasswordlessMutation = TenantApi__namespace.mutation$.initSignInPasswordless(
25
- TenantApi__namespace.initSignInPasswordlessResponse$$.error(TenantApi__namespace.initSignInPasswordlessError$$).result(InitSignInPasswordlessMutationResult),
26
- (options) => options.alias("mutation")
27
- );
28
- const useInitSignInPasswordlessMutation = useTenantMutation.createTenantMutation(InitSignInPasswordlessMutation, {
29
- apiToken: useTenantApi.LoginToken
30
- });
31
- exports.useInitSignInPasswordlessMutation = useInitSignInPasswordlessMutation;
32
- //# sourceMappingURL=useInitSignInPasswordlessMutation.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useInitSignInPasswordlessMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\nimport { ModelType } from 'graphql-ts-client-api'\n\nconst InitSignInPasswordlessMutationResult = TenantApi.initSignInPasswordlessResult$$\nexport type InitSignInPasswordlessMutationResult = ModelType<typeof InitSignInPasswordlessMutationResult>\nconst InitSignInPasswordlessMutation = TenantApi\n\t.mutation$\n\t.initSignInPasswordless(\n\t\tTenantApi\n\t\t\t.initSignInPasswordlessResponse$$\n\t\t\t.error(TenantApi.initSignInPasswordlessError$$)\n\t\t\t.result(InitSignInPasswordlessMutationResult),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useInitSignInPasswordlessMutation = createTenantMutation(InitSignInPasswordlessMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type InitSignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useInitSignInPasswordlessMutation>>[0]\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,uCAAuCA,qBAAU;AAEvD,MAAM,iCAAiCA,qBACrC,UACA;AAAA,EACAA,qBACE,iCACA,MAAMA,qBAAU,6BAA6B,EAC7C,OAAO,oCAAoC;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,oCAAoCC,uCAAqB,gCAAgC;AAAA,EACrG,UAAUC,aAAAA;AACX,CAAC;;"}
@@ -1,15 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { LoginToken } from "../../useTenantApi.js";
3
- import { createTenantMutation } from "../../useTenantMutation.js";
4
- const InitSignInPasswordlessMutationResult = TenantApi.initSignInPasswordlessResult$$;
5
- const InitSignInPasswordlessMutation = TenantApi.mutation$.initSignInPasswordless(
6
- TenantApi.initSignInPasswordlessResponse$$.error(TenantApi.initSignInPasswordlessError$$).result(InitSignInPasswordlessMutationResult),
7
- (options) => options.alias("mutation")
8
- );
9
- const useInitSignInPasswordlessMutation = createTenantMutation(InitSignInPasswordlessMutation, {
10
- apiToken: LoginToken
11
- });
12
- export {
13
- useInitSignInPasswordlessMutation
14
- };
15
- //# sourceMappingURL=useInitSignInPasswordlessMutation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useInitSignInPasswordlessMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\nimport { ModelType } from 'graphql-ts-client-api'\n\nconst InitSignInPasswordlessMutationResult = TenantApi.initSignInPasswordlessResult$$\nexport type InitSignInPasswordlessMutationResult = ModelType<typeof InitSignInPasswordlessMutationResult>\nconst InitSignInPasswordlessMutation = TenantApi\n\t.mutation$\n\t.initSignInPasswordless(\n\t\tTenantApi\n\t\t\t.initSignInPasswordlessResponse$$\n\t\t\t.error(TenantApi.initSignInPasswordlessError$$)\n\t\t\t.result(InitSignInPasswordlessMutationResult),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useInitSignInPasswordlessMutation = createTenantMutation(InitSignInPasswordlessMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type InitSignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useInitSignInPasswordlessMutation>>[0]\n"],"names":[],"mappings":";;;AAKA,MAAM,uCAAuC,UAAU;AAEvD,MAAM,iCAAiC,UACrC,UACA;AAAA,EACA,UACE,iCACA,MAAM,UAAU,6BAA6B,EAC7C,OAAO,oCAAoC;AAAA,EAC7C,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,oCAAoC,qBAAqB,gCAAgC;AAAA,EACrG,UAAU;AACX,CAAC;"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const useTenantApi = require("../../useTenantApi.cjs");
5
- const useTenantMutation = require("../../useTenantMutation.cjs");
6
- function _interopNamespaceDefault(e) {
7
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
8
- if (e) {
9
- for (const k in e) {
10
- if (k !== "default") {
11
- const d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: () => e[k]
15
- });
16
- }
17
- }
18
- }
19
- n.default = e;
20
- return Object.freeze(n);
21
- }
22
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
23
- const signInResultFragment = TenantApi__namespace.signInPasswordlessResult$$.person(TenantApi__namespace.person$.id.email.name);
24
- const SignInPasswordlessMutation = TenantApi__namespace.mutation$.signInPasswordless(
25
- TenantApi__namespace.signInPasswordlessResponse$$.error(TenantApi__namespace.signInPasswordlessError$$).result(signInResultFragment),
26
- (options) => options.alias("mutation")
27
- );
28
- const useSignInPasswordlessMutation = useTenantMutation.createTenantMutation(SignInPasswordlessMutation, {
29
- apiToken: useTenantApi.LoginToken
30
- });
31
- exports.useSignInPasswordlessMutation = useSignInPasswordlessMutation;
32
- //# sourceMappingURL=useSignInPasswordlessMutation.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSignInPasswordlessMutation.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\nimport { ModelType } from 'graphql-ts-client-api'\n\nconst signInResultFragment = TenantApi.signInPasswordlessResult$$.person(TenantApi.person$.id.email.name)\n\nexport type SignInPasswordlessMutationResult = ModelType<typeof signInResultFragment>\n\nconst SignInPasswordlessMutation = TenantApi\n\t.mutation$\n\t.signInPasswordless(\n\t\tTenantApi\n\t\t\t.signInPasswordlessResponse$$\n\t\t\t.error(TenantApi.signInPasswordlessError$$)\n\t\t\t.result(signInResultFragment),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useSignInPasswordlessMutation = createTenantMutation(SignInPasswordlessMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type SignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useSignInPasswordlessMutation>>[0]\n"],"names":["TenantApi","createTenantMutation","LoginToken"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,uBAAuBA,qBAAU,2BAA2B,OAAOA,qBAAU,QAAQ,GAAG,MAAM,IAAI;AAIxG,MAAM,6BAA6BA,qBACjC,UACA;AAAA,EACAA,qBACE,6BACA,MAAMA,qBAAU,yBAAyB,EACzC,OAAO,oBAAoB;AAAA,EAC7B,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,gCAAgCC,uCAAqB,4BAA4B;AAAA,EAC7F,UAAUC,aAAAA;AACX,CAAC;;"}
@@ -1,15 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { LoginToken } from "../../useTenantApi.js";
3
- import { createTenantMutation } from "../../useTenantMutation.js";
4
- const signInResultFragment = TenantApi.signInPasswordlessResult$$.person(TenantApi.person$.id.email.name);
5
- const SignInPasswordlessMutation = TenantApi.mutation$.signInPasswordless(
6
- TenantApi.signInPasswordlessResponse$$.error(TenantApi.signInPasswordlessError$$).result(signInResultFragment),
7
- (options) => options.alias("mutation")
8
- );
9
- const useSignInPasswordlessMutation = createTenantMutation(SignInPasswordlessMutation, {
10
- apiToken: LoginToken
11
- });
12
- export {
13
- useSignInPasswordlessMutation
14
- };
15
- //# sourceMappingURL=useSignInPasswordlessMutation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSignInPasswordlessMutation.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { LoginToken } from '../../useTenantApi'\nimport { createTenantMutation } from '../../useTenantMutation'\nimport { ModelType } from 'graphql-ts-client-api'\n\nconst signInResultFragment = TenantApi.signInPasswordlessResult$$.person(TenantApi.person$.id.email.name)\n\nexport type SignInPasswordlessMutationResult = ModelType<typeof signInResultFragment>\n\nconst SignInPasswordlessMutation = TenantApi\n\t.mutation$\n\t.signInPasswordless(\n\t\tTenantApi\n\t\t\t.signInPasswordlessResponse$$\n\t\t\t.error(TenantApi.signInPasswordlessError$$)\n\t\t\t.result(signInResultFragment),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useSignInPasswordlessMutation = createTenantMutation(SignInPasswordlessMutation, {\n\tapiToken: LoginToken,\n})\n\nexport type SignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useSignInPasswordlessMutation>>[0]\n"],"names":[],"mappings":";;;AAKA,MAAM,uBAAuB,UAAU,2BAA2B,OAAO,UAAU,QAAQ,GAAG,MAAM,IAAI;AAIxG,MAAM,6BAA6B,UACjC,UACA;AAAA,EACA,UACE,6BACA,MAAM,UAAU,yBAAyB,EACzC,OAAO,oBAAoB;AAAA,EAC7B,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,gCAAgC,qBAAqB,4BAA4B;AAAA,EAC7F,UAAU;AACX,CAAC;"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const useTenantMutation = require("../../useTenantMutation.cjs");
5
- function _interopNamespaceDefault(e) {
6
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
7
- if (e) {
8
- for (const k in e) {
9
- if (k !== "default") {
10
- const d = Object.getOwnPropertyDescriptor(e, k);
11
- Object.defineProperty(n, k, d.get ? d : {
12
- enumerable: true,
13
- get: () => e[k]
14
- });
15
- }
16
- }
17
- }
18
- n.default = e;
19
- return Object.freeze(n);
20
- }
21
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
22
- const changeMyProfile = TenantApi__namespace.mutation$.changeMyProfile(
23
- TenantApi__namespace.changeMyProfileResponse$$.error(TenantApi__namespace.changeMyProfileError$$),
24
- (options) => options.alias("mutation")
25
- );
26
- const useChangeMyProfileMutation = useTenantMutation.createTenantMutation(changeMyProfile);
27
- exports.changeMyProfile = changeMyProfile;
28
- exports.useChangeMyProfileMutation = useChangeMyProfileMutation;
29
- //# sourceMappingURL=useChangeMyProfile.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useChangeMyProfile.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/profile/useChangeMyProfile.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const changeMyProfile = TenantApi.mutation$\n\t.changeMyProfile(\n\t\tTenantApi\n\t\t .changeMyProfileResponse$$\n\t\t .error(TenantApi.changeMyProfileError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useChangeMyProfileMutation = createTenantMutation(changeMyProfile)\nexport type ChangeMyProfileMutationVariables = Parameters<ReturnType<typeof useChangeMyProfileMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,kBAAkBA,qBAAU,UACvC;AAAA,EACAA,qBACG,0BACA,MAAMA,qBAAU,sBAAsB;AAAA,EACzC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,6BAA6BC,uCAAqB,eAAe;;;"}
@@ -1,12 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { createTenantMutation } from "../../useTenantMutation.js";
3
- const changeMyProfile = TenantApi.mutation$.changeMyProfile(
4
- TenantApi.changeMyProfileResponse$$.error(TenantApi.changeMyProfileError$$),
5
- (options) => options.alias("mutation")
6
- );
7
- const useChangeMyProfileMutation = createTenantMutation(changeMyProfile);
8
- export {
9
- changeMyProfile,
10
- useChangeMyProfileMutation
11
- };
12
- //# sourceMappingURL=useChangeMyProfile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useChangeMyProfile.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/profile/useChangeMyProfile.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const changeMyProfile = TenantApi.mutation$\n\t.changeMyProfile(\n\t\tTenantApi\n\t\t .changeMyProfileResponse$$\n\t\t .error(TenantApi.changeMyProfileError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useChangeMyProfileMutation = createTenantMutation(changeMyProfile)\nexport type ChangeMyProfileMutationVariables = Parameters<ReturnType<typeof useChangeMyProfileMutation>>[0]\n"],"names":[],"mappings":";;AAGa,MAAA,kBAAkB,UAAU,UACvC;AAAA,EACA,UACG,0BACA,MAAM,UAAU,sBAAsB;AAAA,EACzC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,6BAA6B,qBAAqB,eAAe;"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const useTenantMutation = require("../../useTenantMutation.cjs");
5
- function _interopNamespaceDefault(e) {
6
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
7
- if (e) {
8
- for (const k in e) {
9
- if (k !== "default") {
10
- const d = Object.getOwnPropertyDescriptor(e, k);
11
- Object.defineProperty(n, k, d.get ? d : {
12
- enumerable: true,
13
- get: () => e[k]
14
- });
15
- }
16
- }
17
- }
18
- n.default = e;
19
- return Object.freeze(n);
20
- }
21
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
22
- const changeProfile = TenantApi__namespace.mutation$.changeProfile(
23
- TenantApi__namespace.changeProfileResponse$$.error(TenantApi__namespace.changeProfileError$$),
24
- (options) => options.alias("mutation")
25
- );
26
- const useChangeProfileMutation = useTenantMutation.createTenantMutation(changeProfile);
27
- exports.changeProfile = changeProfile;
28
- exports.useChangeProfileMutation = useChangeProfileMutation;
29
- //# sourceMappingURL=useChangeProfile.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useChangeProfile.cjs","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/profile/useChangeProfile.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const changeProfile = TenantApi.mutation$\n\t.changeProfile(\n\t\tTenantApi\n\t\t .changeProfileResponse$$\n\t\t .error(TenantApi.changeProfileError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useChangeProfileMutation = createTenantMutation(changeProfile)\nexport type ChangeProfileMutationVariables = Parameters<ReturnType<typeof useChangeProfileMutation>>[0]\n"],"names":["TenantApi","createTenantMutation"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGa,MAAA,gBAAgBA,qBAAU,UACrC;AAAA,EACAA,qBACG,wBACA,MAAMA,qBAAU,oBAAoB;AAAA,EACvC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2BC,uCAAqB,aAAa;;;"}
@@ -1,12 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { createTenantMutation } from "../../useTenantMutation.js";
3
- const changeProfile = TenantApi.mutation$.changeProfile(
4
- TenantApi.changeProfileResponse$$.error(TenantApi.changeProfileError$$),
5
- (options) => options.alias("mutation")
6
- );
7
- const useChangeProfileMutation = createTenantMutation(changeProfile);
8
- export {
9
- changeProfile,
10
- useChangeProfileMutation
11
- };
12
- //# sourceMappingURL=useChangeProfile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useChangeProfile.js","sources":["../../../../../../../packages/react-client-tenant/src/hooks/mutations/profile/useChangeProfile.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { createTenantMutation } from '../../useTenantMutation'\n\nexport const changeProfile = TenantApi.mutation$\n\t.changeProfile(\n\t\tTenantApi\n\t\t .changeProfileResponse$$\n\t\t .error(TenantApi.changeProfileError$$),\n\t\toptions => options.alias('mutation'),\n\t)\n\nexport const useChangeProfileMutation = createTenantMutation(changeProfile)\nexport type ChangeProfileMutationVariables = Parameters<ReturnType<typeof useChangeProfileMutation>>[0]\n"],"names":[],"mappings":";;AAGa,MAAA,gBAAgB,UAAU,UACrC;AAAA,EACA,UACG,wBACA,MAAM,UAAU,oBAAoB;AAAA,EACvC,CAAA,YAAW,QAAQ,MAAM,UAAU;AACpC;AAEY,MAAA,2BAA2B,qBAAqB,aAAa;"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const useTenantApi = require("../useTenantApi.cjs");
5
- const React = require("react");
6
- function _interopNamespaceDefault(e) {
7
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
8
- if (e) {
9
- for (const k in e) {
10
- if (k !== "default") {
11
- const d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: () => e[k]
15
- });
16
- }
17
- }
18
- }
19
- n.default = e;
20
- return Object.freeze(n);
21
- }
22
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
23
- const identityFragment = TenantApi__namespace.identity$$.person(TenantApi__namespace.person$.id.email.name.otpEnabled).projects(
24
- TenantApi__namespace.identityProjectRelation$.project(TenantApi__namespace.project$$).memberships(TenantApi__namespace.membership$$.variables(TenantApi__namespace.variableEntry$$))
25
- ).permissions(TenantApi__namespace.identityGlobalPermissions$$);
26
- const useMeQuery = (options = {}) => {
27
- const executor = useTenantApi.useTenantApi(options);
28
- return React.useCallback(async ({}) => {
29
- return (await executor(TenantApi__namespace.query$.me(identityFragment))).me;
30
- }, [executor]);
31
- };
32
- exports.useMeQuery = useMeQuery;
33
- //# sourceMappingURL=useMeQuery.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMeQuery.cjs","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useMeQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst identityFragment = TenantApi\n\t.identity$$\n\t.person(TenantApi.person$.id.email.name.otpEnabled)\n\t.projects(TenantApi\n\t\t.identityProjectRelation$\n\t\t.project(TenantApi.project$$)\n\t\t.memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$)),\n\t)\n\t.permissions(TenantApi.identityGlobalPermissions$$)\n\nexport type MeQueryData = ModelType<typeof identityFragment>\n\nexport const useMeQuery = (options: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi(options)\n\treturn useCallback(async ({}: {}): Promise<MeQueryData> => {\n\t\treturn (await executor(TenantApi.query$.me(identityFragment))).me\n\t}, [executor])\n}\n"],"names":["TenantApi","useTenantApi","useCallback"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,mBAAmBA,qBACvB,WACA,OAAOA,qBAAU,QAAQ,GAAG,MAAM,KAAK,UAAU,EACjD;AAAA,EAASA,qBACR,yBACA,QAAQA,qBAAU,SAAS,EAC3B,YAAYA,qBAAU,aAAa,UAAUA,qBAAU,eAAe,CAAC;AACzE,EACC,YAAYA,qBAAU,2BAA2B;AAI5C,MAAM,aAAa,CAAC,UAA4B,OAAO;AACvD,QAAA,WAAWC,0BAAa,OAAO;AAC9B,SAAAC,MAAAA,YAAY,OAAO,OAAiC;AAC1D,YAAQ,MAAM,SAASF,qBAAU,OAAO,GAAG,gBAAgB,CAAC,GAAG;AAAA,EAAA,GAC7D,CAAC,QAAQ,CAAC;AACd;;"}
@@ -1,16 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { useTenantApi } from "../useTenantApi.js";
3
- import { useCallback } from "react";
4
- const identityFragment = TenantApi.identity$$.person(TenantApi.person$.id.email.name.otpEnabled).projects(
5
- TenantApi.identityProjectRelation$.project(TenantApi.project$$).memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$))
6
- ).permissions(TenantApi.identityGlobalPermissions$$);
7
- const useMeQuery = (options = {}) => {
8
- const executor = useTenantApi(options);
9
- return useCallback(async ({}) => {
10
- return (await executor(TenantApi.query$.me(identityFragment))).me;
11
- }, [executor]);
12
- };
13
- export {
14
- useMeQuery
15
- };
16
- //# sourceMappingURL=useMeQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMeQuery.js","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useMeQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst identityFragment = TenantApi\n\t.identity$$\n\t.person(TenantApi.person$.id.email.name.otpEnabled)\n\t.projects(TenantApi\n\t\t.identityProjectRelation$\n\t\t.project(TenantApi.project$$)\n\t\t.memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$)),\n\t)\n\t.permissions(TenantApi.identityGlobalPermissions$$)\n\nexport type MeQueryData = ModelType<typeof identityFragment>\n\nexport const useMeQuery = (options: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi(options)\n\treturn useCallback(async ({}: {}): Promise<MeQueryData> => {\n\t\treturn (await executor(TenantApi.query$.me(identityFragment))).me\n\t}, [executor])\n}\n"],"names":[],"mappings":";;;AAKA,MAAM,mBAAmB,UACvB,WACA,OAAO,UAAU,QAAQ,GAAG,MAAM,KAAK,UAAU,EACjD;AAAA,EAAS,UACR,yBACA,QAAQ,UAAU,SAAS,EAC3B,YAAY,UAAU,aAAa,UAAU,UAAU,eAAe,CAAC;AACzE,EACC,YAAY,UAAU,2BAA2B;AAI5C,MAAM,aAAa,CAAC,UAA4B,OAAO;AACvD,QAAA,WAAW,aAAa,OAAO;AAC9B,SAAA,YAAY,OAAO,OAAiC;AAC1D,YAAQ,MAAM,SAAS,UAAU,OAAO,GAAG,gBAAgB,CAAC,GAAG;AAAA,EAAA,GAC7D,CAAC,QAAQ,CAAC;AACd;"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const graphqlTsClientApi = require("graphql-ts-client-api");
5
- const useTenantApi = require("../useTenantApi.cjs");
6
- const React = require("react");
7
- function _interopNamespaceDefault(e) {
8
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
9
- if (e) {
10
- for (const k in e) {
11
- if (k !== "default") {
12
- const d = Object.getOwnPropertyDescriptor(e, k);
13
- Object.defineProperty(n, k, d.get ? d : {
14
- enumerable: true,
15
- get: () => e[k]
16
- });
17
- }
18
- }
19
- }
20
- n.default = e;
21
- return Object.freeze(n);
22
- }
23
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
24
- const projectIdentityRelationFragment = TenantApi__namespace.projectIdentityRelation$.identity(
25
- TenantApi__namespace.identity$$.person(TenantApi__namespace.person$.id.email.name.otpEnabled).apiKey(TenantApi__namespace.apiKey$$)
26
- ).memberships(TenantApi__namespace.membership$$.variables(TenantApi__namespace.variableEntry$$));
27
- const useProjectMembersQuery = ({ headers, apiToken } = {}) => {
28
- const executor = useTenantApi.useTenantApi({
29
- headers,
30
- apiToken
31
- });
32
- return React.useCallback(async ({ projectSlug, ...membersInput }) => {
33
- const result = await executor(TenantApi__namespace.query$.projectBySlug({
34
- slug: graphqlTsClientApi.ParameterRef.of("projectSlug")
35
- }, TenantApi__namespace.project$.members({
36
- input: graphqlTsClientApi.ParameterRef.of("membersInput")
37
- }, projectIdentityRelationFragment)), {
38
- variables: {
39
- projectSlug,
40
- membersInput
41
- }
42
- });
43
- return result.projectBySlug?.members ?? [];
44
- }, [executor]);
45
- };
46
- exports.useProjectMembersQuery = useProjectMembersQuery;
47
- //# sourceMappingURL=useProjectMembersQuery.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProjectMembersQuery.cjs","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectMembersQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType, ParameterRef } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectIdentityRelationFragment = TenantApi\n\t.projectIdentityRelation$\n\t.identity(TenantApi.identity$$\n\t\t.person(TenantApi.person$.id.email.name.otpEnabled)\n\t\t.apiKey(TenantApi.apiKey$$)\n\t\t,\n\t)\n\t.memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$))\n\nexport type ProjectMembersQueryResult = readonly ModelType<typeof projectIdentityRelationFragment>[]\n\nexport type ProjectMembersQueryVariables =\n\t& {\n\t\tprojectSlug: string\n\t}\n\t& TenantApi.ProjectMembersInput\n\n\nexport const useProjectMembersQuery = ({ headers, apiToken }: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi({\n\t\theaders,\n\t\tapiToken,\n\t})\n\treturn useCallback(async ({ projectSlug, ...membersInput }: ProjectMembersQueryVariables): Promise<ProjectMembersQueryResult> => {\n\t\tconst result = await executor(TenantApi.query$.projectBySlug({\n\t\t\tslug: ParameterRef.of('projectSlug'),\n\t\t}, TenantApi.project$.members({\n\t\t\tinput: ParameterRef.of('membersInput'),\n\t\t}, projectIdentityRelationFragment)), {\n\t\t\tvariables: {\n\t\t\t\tprojectSlug,\n\t\t\t\tmembersInput,\n\t\t\t},\n\t\t})\n\n\t\treturn result.projectBySlug?.members ?? []\n\t}, [executor])\n}\n"],"names":["TenantApi","useTenantApi","useCallback","ParameterRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,kCAAkCA,qBACtC,yBACA;AAAA,EAASA,qBAAU,WAClB,OAAOA,qBAAU,QAAQ,GAAG,MAAM,KAAK,UAAU,EACjD,OAAOA,qBAAU,QAAQ;AAE3B,EACC,YAAYA,qBAAU,aAAa,UAAUA,qBAAU,eAAe,CAAC;AAWlE,MAAM,yBAAyB,CAAC,EAAE,SAAS,SAAS,IAAsB,CAAA,MAAO;AACvF,QAAM,WAAWC,aAAAA,aAAa;AAAA,IAC7B;AAAA,IACA;AAAA,EAAA,CACA;AACD,SAAOC,kBAAY,OAAO,EAAE,aAAa,GAAG,mBAAqF;AAChI,UAAM,SAAS,MAAM,SAASF,qBAAU,OAAO,cAAc;AAAA,MAC5D,MAAMG,mBAAAA,aAAa,GAAG,aAAa;AAAA,IAAA,GACjCH,qBAAU,SAAS,QAAQ;AAAA,MAC7B,OAAOG,mBAAAA,aAAa,GAAG,cAAc;AAAA,IAAA,GACnC,+BAA+B,CAAC,GAAG;AAAA,MACrC,WAAW;AAAA,QACV;AAAA,QACA;AAAA,MAAA;AAAA,IACD,CACA;AAEM,WAAA,OAAO,eAAe,WAAW,CAAC;AAAA,EAAA,GACvC,CAAC,QAAQ,CAAC;AACd;;"}
@@ -1,30 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { ParameterRef } from "graphql-ts-client-api";
3
- import { useTenantApi } from "../useTenantApi.js";
4
- import { useCallback } from "react";
5
- const projectIdentityRelationFragment = TenantApi.projectIdentityRelation$.identity(
6
- TenantApi.identity$$.person(TenantApi.person$.id.email.name.otpEnabled).apiKey(TenantApi.apiKey$$)
7
- ).memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$));
8
- const useProjectMembersQuery = ({ headers, apiToken } = {}) => {
9
- const executor = useTenantApi({
10
- headers,
11
- apiToken
12
- });
13
- return useCallback(async ({ projectSlug, ...membersInput }) => {
14
- const result = await executor(TenantApi.query$.projectBySlug({
15
- slug: ParameterRef.of("projectSlug")
16
- }, TenantApi.project$.members({
17
- input: ParameterRef.of("membersInput")
18
- }, projectIdentityRelationFragment)), {
19
- variables: {
20
- projectSlug,
21
- membersInput
22
- }
23
- });
24
- return result.projectBySlug?.members ?? [];
25
- }, [executor]);
26
- };
27
- export {
28
- useProjectMembersQuery
29
- };
30
- //# sourceMappingURL=useProjectMembersQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProjectMembersQuery.js","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectMembersQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType, ParameterRef } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectIdentityRelationFragment = TenantApi\n\t.projectIdentityRelation$\n\t.identity(TenantApi.identity$$\n\t\t.person(TenantApi.person$.id.email.name.otpEnabled)\n\t\t.apiKey(TenantApi.apiKey$$)\n\t\t,\n\t)\n\t.memberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$))\n\nexport type ProjectMembersQueryResult = readonly ModelType<typeof projectIdentityRelationFragment>[]\n\nexport type ProjectMembersQueryVariables =\n\t& {\n\t\tprojectSlug: string\n\t}\n\t& TenantApi.ProjectMembersInput\n\n\nexport const useProjectMembersQuery = ({ headers, apiToken }: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi({\n\t\theaders,\n\t\tapiToken,\n\t})\n\treturn useCallback(async ({ projectSlug, ...membersInput }: ProjectMembersQueryVariables): Promise<ProjectMembersQueryResult> => {\n\t\tconst result = await executor(TenantApi.query$.projectBySlug({\n\t\t\tslug: ParameterRef.of('projectSlug'),\n\t\t}, TenantApi.project$.members({\n\t\t\tinput: ParameterRef.of('membersInput'),\n\t\t}, projectIdentityRelationFragment)), {\n\t\t\tvariables: {\n\t\t\t\tprojectSlug,\n\t\t\t\tmembersInput,\n\t\t\t},\n\t\t})\n\n\t\treturn result.projectBySlug?.members ?? []\n\t}, [executor])\n}\n"],"names":[],"mappings":";;;;AAKA,MAAM,kCAAkC,UACtC,yBACA;AAAA,EAAS,UAAU,WAClB,OAAO,UAAU,QAAQ,GAAG,MAAM,KAAK,UAAU,EACjD,OAAO,UAAU,QAAQ;AAE3B,EACC,YAAY,UAAU,aAAa,UAAU,UAAU,eAAe,CAAC;AAWlE,MAAM,yBAAyB,CAAC,EAAE,SAAS,SAAS,IAAsB,CAAA,MAAO;AACvF,QAAM,WAAW,aAAa;AAAA,IAC7B;AAAA,IACA;AAAA,EAAA,CACA;AACD,SAAO,YAAY,OAAO,EAAE,aAAa,GAAG,mBAAqF;AAChI,UAAM,SAAS,MAAM,SAAS,UAAU,OAAO,cAAc;AAAA,MAC5D,MAAM,aAAa,GAAG,aAAa;AAAA,IAAA,GACjC,UAAU,SAAS,QAAQ;AAAA,MAC7B,OAAO,aAAa,GAAG,cAAc;AAAA,IAAA,GACnC,+BAA+B,CAAC,GAAG;AAAA,MACrC,WAAW;AAAA,QACV;AAAA,QACA;AAAA,MAAA;AAAA,IACD,CACA;AAEM,WAAA,OAAO,eAAe,WAAW,CAAC;AAAA,EAAA,GACvC,CAAC,QAAQ,CAAC;AACd;"}
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const useTenantApi = require("../useTenantApi.cjs");
5
- const React = require("react");
6
- function _interopNamespaceDefault(e) {
7
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
8
- if (e) {
9
- for (const k in e) {
10
- if (k !== "default") {
11
- const d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: () => e[k]
15
- });
16
- }
17
- }
18
- }
19
- n.default = e;
20
- return Object.freeze(n);
21
- }
22
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
23
- TenantApi__namespace.membership$$.variables(TenantApi__namespace.variableEntry$$);
24
- const useProjectMembershipsQuery = (options = {}) => {
25
- const executor = useTenantApi.useTenantApi(options);
26
- return React.useCallback(async (input) => {
27
- const result = await executor(TenantApi__namespace.query$.projectMemberships(TenantApi__namespace.membership$$.variables(TenantApi__namespace.variableEntry$$)), {
28
- variables: input
29
- });
30
- return result.projectMemberships ?? [];
31
- }, [executor]);
32
- };
33
- exports.useProjectMembershipsQuery = useProjectMembershipsQuery;
34
- //# sourceMappingURL=useProjectMembershipsQuery.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProjectMembershipsQuery.cjs","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectMembershipsQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType, ParameterRef } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectMembershipsFragment = TenantApi.membership$$.variables(TenantApi.variableEntry$$)\n\nexport type ProjectMembershipsQueryResult = readonly ModelType<typeof projectMembershipsFragment>[]\n\nexport type ProjectMembershipsQueryVariables = {\n\tprojectSlug: string\n\tidentityId: string\n}\n\n\nexport const useProjectMembershipsQuery = (options: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi(options)\n\treturn useCallback(async (input: ProjectMembershipsQueryVariables): Promise<ProjectMembershipsQueryResult> => {\n\t\tconst result = await executor(TenantApi.query$.projectMemberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$)), {\n\t\t\tvariables: input,\n\t\t})\n\n\t\treturn result.projectMemberships ?? []\n\t}, [executor])\n}\n"],"names":["TenantApi","useTenantApi","useCallback"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKmCA,qBAAU,aAAa,UAAUA,qBAAU,eAAe;AAUtF,MAAM,6BAA6B,CAAC,UAA4B,OAAO;AACvE,QAAA,WAAWC,0BAAa,OAAO;AAC9B,SAAAC,MAAAA,YAAY,OAAO,UAAoF;AAC7G,UAAM,SAAS,MAAM,SAASF,qBAAU,OAAO,mBAAmBA,qBAAU,aAAa,UAAUA,qBAAU,eAAe,CAAC,GAAG;AAAA,MAC/H,WAAW;AAAA,IAAA,CACX;AAEM,WAAA,OAAO,sBAAsB,CAAC;AAAA,EAAA,GACnC,CAAC,QAAQ,CAAC;AACd;;"}
@@ -1,17 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { useTenantApi } from "../useTenantApi.js";
3
- import { useCallback } from "react";
4
- TenantApi.membership$$.variables(TenantApi.variableEntry$$);
5
- const useProjectMembershipsQuery = (options = {}) => {
6
- const executor = useTenantApi(options);
7
- return useCallback(async (input) => {
8
- const result = await executor(TenantApi.query$.projectMemberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$)), {
9
- variables: input
10
- });
11
- return result.projectMemberships ?? [];
12
- }, [executor]);
13
- };
14
- export {
15
- useProjectMembershipsQuery
16
- };
17
- //# sourceMappingURL=useProjectMembershipsQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProjectMembershipsQuery.js","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectMembershipsQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType, ParameterRef } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectMembershipsFragment = TenantApi.membership$$.variables(TenantApi.variableEntry$$)\n\nexport type ProjectMembershipsQueryResult = readonly ModelType<typeof projectMembershipsFragment>[]\n\nexport type ProjectMembershipsQueryVariables = {\n\tprojectSlug: string\n\tidentityId: string\n}\n\n\nexport const useProjectMembershipsQuery = (options: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi(options)\n\treturn useCallback(async (input: ProjectMembershipsQueryVariables): Promise<ProjectMembershipsQueryResult> => {\n\t\tconst result = await executor(TenantApi.query$.projectMemberships(TenantApi.membership$$.variables(TenantApi.variableEntry$$)), {\n\t\t\tvariables: input,\n\t\t})\n\n\t\treturn result.projectMemberships ?? []\n\t}, [executor])\n}\n"],"names":[],"mappings":";;;AAKmC,UAAU,aAAa,UAAU,UAAU,eAAe;AAUtF,MAAM,6BAA6B,CAAC,UAA4B,OAAO;AACvE,QAAA,WAAW,aAAa,OAAO;AAC9B,SAAA,YAAY,OAAO,UAAoF;AAC7G,UAAM,SAAS,MAAM,SAAS,UAAU,OAAO,mBAAmB,UAAU,aAAa,UAAU,UAAU,eAAe,CAAC,GAAG;AAAA,MAC/H,WAAW;AAAA,IAAA,CACX;AAEM,WAAA,OAAO,sBAAsB,CAAC;AAAA,EAAA,GACnC,CAAC,QAAQ,CAAC;AACd;"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TenantApi = require("@contember/graphql-client-tenant");
4
- const useTenantApi = require("../useTenantApi.cjs");
5
- const React = require("react");
6
- function _interopNamespaceDefault(e) {
7
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
8
- if (e) {
9
- for (const k in e) {
10
- if (k !== "default") {
11
- const d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: () => e[k]
15
- });
16
- }
17
- }
18
- }
19
- n.default = e;
20
- return Object.freeze(n);
21
- }
22
- const TenantApi__namespace = /* @__PURE__ */ _interopNamespaceDefault(TenantApi);
23
- const projectRolesDefinitionFragment = TenantApi__namespace.roleDefinition$$.variables(
24
- TenantApi__namespace.roleVariableDefinition$$.on(TenantApi__namespace.roleConditionVariableDefinition$$).on(TenantApi__namespace.roleEntityVariableDefinition$$).on(TenantApi__namespace.rolePredefinedVariableDefinition$$)
25
- );
26
- const projectRolesDefinitionQuery = TenantApi__namespace.query$.projectBySlug(
27
- TenantApi__namespace.project$.roles(projectRolesDefinitionFragment)
28
- );
29
- const useProjectRolesDefinitionQuery = ({ headers, apiToken } = {}) => {
30
- const executor = useTenantApi.useTenantApi();
31
- return React.useCallback(async (variables) => {
32
- return (await executor(projectRolesDefinitionQuery, { headers, apiToken, variables })).projectBySlug?.roles ?? [];
33
- }, [apiToken, executor, headers]);
34
- };
35
- exports.useProjectRolesDefinitionQuery = useProjectRolesDefinitionQuery;
36
- //# sourceMappingURL=useProjectRolesDefinitionQuery.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProjectRolesDefinitionQuery.cjs","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectRolesDefinitionQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectRolesDefinitionFragment = TenantApi.roleDefinition$$\n\t.variables(\n\t\tTenantApi.roleVariableDefinition$$\n\t\t\t.on(TenantApi.roleConditionVariableDefinition$$)\n\t\t\t.on(TenantApi.roleEntityVariableDefinition$$)\n\t\t\t.on(TenantApi.rolePredefinedVariableDefinition$$)\n\t\t,\n\t)\n\nexport type ProjectRoleDefinition = ModelType<typeof projectRolesDefinitionFragment>\nexport type ProjectRolesDefinitionQueryResult = readonly ProjectRoleDefinition[]\n\nconst projectRolesDefinitionQuery = TenantApi.query$\n\t.projectBySlug(\n\t\tTenantApi\n\t\t\t.project$\n\t\t\t.roles(projectRolesDefinitionFragment),\n\t)\n\nexport interface ProjectRolesDefinitionQueryVariables {\n\tslug: string\n}\n\nexport const useProjectRolesDefinitionQuery = ({ headers, apiToken }: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi()\n\treturn useCallback(async (variables: ProjectRolesDefinitionQueryVariables): Promise<ProjectRolesDefinitionQueryResult> => {\n\t\treturn (await executor(projectRolesDefinitionQuery, { headers, apiToken, variables })).projectBySlug?.roles ?? []\n\t}, [apiToken, executor, headers])\n}\n"],"names":["TenantApi","useTenantApi","useCallback"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,iCAAiCA,qBAAU,iBAC/C;AAAA,EACAA,qBAAU,yBACR,GAAGA,qBAAU,iCAAiC,EAC9C,GAAGA,qBAAU,8BAA8B,EAC3C,GAAGA,qBAAU,kCAAkC;AAElD;AAKD,MAAM,8BAA8BA,qBAAU,OAC5C;AAAA,EACAA,qBACE,SACA,MAAM,8BAA8B;AACvC;AAMM,MAAM,iCAAiC,CAAC,EAAE,SAAS,SAAS,IAAsB,CAAA,MAAO;AAC/F,QAAM,WAAWC,aAAAA,aAAa;AACvB,SAAAC,MAAAA,YAAY,OAAO,cAAgG;AACjH,YAAA,MAAM,SAAS,6BAA6B,EAAE,SAAS,UAAU,WAAW,GAAG,eAAe,SAAS,CAAC;AAAA,EAC9G,GAAA,CAAC,UAAU,UAAU,OAAO,CAAC;AACjC;;"}
@@ -1,19 +0,0 @@
1
- import * as TenantApi from "@contember/graphql-client-tenant";
2
- import { useTenantApi } from "../useTenantApi.js";
3
- import { useCallback } from "react";
4
- const projectRolesDefinitionFragment = TenantApi.roleDefinition$$.variables(
5
- TenantApi.roleVariableDefinition$$.on(TenantApi.roleConditionVariableDefinition$$).on(TenantApi.roleEntityVariableDefinition$$).on(TenantApi.rolePredefinedVariableDefinition$$)
6
- );
7
- const projectRolesDefinitionQuery = TenantApi.query$.projectBySlug(
8
- TenantApi.project$.roles(projectRolesDefinitionFragment)
9
- );
10
- const useProjectRolesDefinitionQuery = ({ headers, apiToken } = {}) => {
11
- const executor = useTenantApi();
12
- return useCallback(async (variables) => {
13
- return (await executor(projectRolesDefinitionQuery, { headers, apiToken, variables })).projectBySlug?.roles ?? [];
14
- }, [apiToken, executor, headers]);
15
- };
16
- export {
17
- useProjectRolesDefinitionQuery
18
- };
19
- //# sourceMappingURL=useProjectRolesDefinitionQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProjectRolesDefinitionQuery.js","sources":["../../../../../../packages/react-client-tenant/src/hooks/queries/useProjectRolesDefinitionQuery.ts"],"sourcesContent":["import * as TenantApi from '@contember/graphql-client-tenant'\nimport { ModelType } from 'graphql-ts-client-api'\nimport { TenantApiOptions, useTenantApi } from '../useTenantApi'\nimport { useCallback } from 'react'\n\nconst projectRolesDefinitionFragment = TenantApi.roleDefinition$$\n\t.variables(\n\t\tTenantApi.roleVariableDefinition$$\n\t\t\t.on(TenantApi.roleConditionVariableDefinition$$)\n\t\t\t.on(TenantApi.roleEntityVariableDefinition$$)\n\t\t\t.on(TenantApi.rolePredefinedVariableDefinition$$)\n\t\t,\n\t)\n\nexport type ProjectRoleDefinition = ModelType<typeof projectRolesDefinitionFragment>\nexport type ProjectRolesDefinitionQueryResult = readonly ProjectRoleDefinition[]\n\nconst projectRolesDefinitionQuery = TenantApi.query$\n\t.projectBySlug(\n\t\tTenantApi\n\t\t\t.project$\n\t\t\t.roles(projectRolesDefinitionFragment),\n\t)\n\nexport interface ProjectRolesDefinitionQueryVariables {\n\tslug: string\n}\n\nexport const useProjectRolesDefinitionQuery = ({ headers, apiToken }: TenantApiOptions = {}) => {\n\tconst executor = useTenantApi()\n\treturn useCallback(async (variables: ProjectRolesDefinitionQueryVariables): Promise<ProjectRolesDefinitionQueryResult> => {\n\t\treturn (await executor(projectRolesDefinitionQuery, { headers, apiToken, variables })).projectBySlug?.roles ?? []\n\t}, [apiToken, executor, headers])\n}\n"],"names":[],"mappings":";;;AAKA,MAAM,iCAAiC,UAAU,iBAC/C;AAAA,EACA,UAAU,yBACR,GAAG,UAAU,iCAAiC,EAC9C,GAAG,UAAU,8BAA8B,EAC3C,GAAG,UAAU,kCAAkC;AAElD;AAKD,MAAM,8BAA8B,UAAU,OAC5C;AAAA,EACA,UACE,SACA,MAAM,8BAA8B;AACvC;AAMM,MAAM,iCAAiC,CAAC,EAAE,SAAS,SAAS,IAAsB,CAAA,MAAO;AAC/F,QAAM,WAAW,aAAa;AACvB,SAAA,YAAY,OAAO,cAAgG;AACjH,YAAA,MAAM,SAAS,6BAA6B,EAAE,SAAS,UAAU,WAAW,GAAG,eAAe,SAAS,CAAC;AAAA,EAC9G,GAAA,CAAC,UAAU,UAAU,OAAO,CAAC;AACjC;"}