@contember/graphql-client-tenant 2.2.0-alpha.1 → 2.2.0-alpha.10

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 (307) hide show
  1. package/dist/development/index.cjs +39 -0
  2. package/dist/development/index.cjs.map +1 -1
  3. package/dist/development/index.js +39 -0
  4. package/dist/development/index.js.map +1 -1
  5. package/dist/development/src/generated/EnumInputMetadata.cjs +5 -0
  6. package/dist/development/src/generated/EnumInputMetadata.cjs.map +1 -1
  7. package/dist/development/src/generated/EnumInputMetadata.js +5 -0
  8. package/dist/development/src/generated/EnumInputMetadata.js.map +1 -1
  9. package/dist/development/src/generated/fetchers/ConfigFetcher.cjs +5 -0
  10. package/dist/development/src/generated/fetchers/ConfigFetcher.cjs.map +1 -1
  11. package/dist/development/src/generated/fetchers/ConfigFetcher.js +5 -0
  12. package/dist/development/src/generated/fetchers/ConfigFetcher.js.map +1 -1
  13. package/dist/development/src/generated/fetchers/ConfigPanelFetcher.cjs +21 -0
  14. package/dist/development/src/generated/fetchers/ConfigPanelFetcher.cjs.map +1 -0
  15. package/dist/development/src/generated/fetchers/ConfigPanelFetcher.js +21 -0
  16. package/dist/development/src/generated/fetchers/ConfigPanelFetcher.js.map +1 -0
  17. package/dist/development/src/generated/fetchers/CreateCustomRoleErrorFetcher.cjs +21 -0
  18. package/dist/development/src/generated/fetchers/CreateCustomRoleErrorFetcher.cjs.map +1 -0
  19. package/dist/development/src/generated/fetchers/CreateCustomRoleErrorFetcher.js +21 -0
  20. package/dist/development/src/generated/fetchers/CreateCustomRoleErrorFetcher.js.map +1 -0
  21. package/dist/development/src/generated/fetchers/CreateCustomRoleResponseFetcher.cjs +26 -0
  22. package/dist/development/src/generated/fetchers/CreateCustomRoleResponseFetcher.cjs.map +1 -0
  23. package/dist/development/src/generated/fetchers/CreateCustomRoleResponseFetcher.js +26 -0
  24. package/dist/development/src/generated/fetchers/CreateCustomRoleResponseFetcher.js.map +1 -0
  25. package/dist/development/src/generated/fetchers/CustomRoleFetcher.cjs +30 -0
  26. package/dist/development/src/generated/fetchers/CustomRoleFetcher.cjs.map +1 -0
  27. package/dist/development/src/generated/fetchers/CustomRoleFetcher.js +30 -0
  28. package/dist/development/src/generated/fetchers/CustomRoleFetcher.js.map +1 -0
  29. package/dist/development/src/generated/fetchers/CustomRoleGrantFetcher.cjs +25 -0
  30. package/dist/development/src/generated/fetchers/CustomRoleGrantFetcher.cjs.map +1 -0
  31. package/dist/development/src/generated/fetchers/CustomRoleGrantFetcher.js +25 -0
  32. package/dist/development/src/generated/fetchers/CustomRoleGrantFetcher.js.map +1 -0
  33. package/dist/development/src/generated/fetchers/CustomRolePermissionDefinitionFetcher.cjs +27 -0
  34. package/dist/development/src/generated/fetchers/CustomRolePermissionDefinitionFetcher.cjs.map +1 -0
  35. package/dist/development/src/generated/fetchers/CustomRolePermissionDefinitionFetcher.js +27 -0
  36. package/dist/development/src/generated/fetchers/CustomRolePermissionDefinitionFetcher.js.map +1 -0
  37. package/dist/development/src/generated/fetchers/DeleteCustomRoleErrorFetcher.cjs +21 -0
  38. package/dist/development/src/generated/fetchers/DeleteCustomRoleErrorFetcher.cjs.map +1 -0
  39. package/dist/development/src/generated/fetchers/DeleteCustomRoleErrorFetcher.js +21 -0
  40. package/dist/development/src/generated/fetchers/DeleteCustomRoleErrorFetcher.js.map +1 -0
  41. package/dist/development/src/generated/fetchers/DeleteCustomRoleResponseFetcher.cjs +26 -0
  42. package/dist/development/src/generated/fetchers/DeleteCustomRoleResponseFetcher.cjs.map +1 -0
  43. package/dist/development/src/generated/fetchers/DeleteCustomRoleResponseFetcher.js +26 -0
  44. package/dist/development/src/generated/fetchers/DeleteCustomRoleResponseFetcher.js.map +1 -0
  45. package/dist/development/src/generated/fetchers/EnablePersonErrorFetcher.cjs +21 -0
  46. package/dist/development/src/generated/fetchers/EnablePersonErrorFetcher.cjs.map +1 -0
  47. package/dist/development/src/generated/fetchers/EnablePersonErrorFetcher.js +21 -0
  48. package/dist/development/src/generated/fetchers/EnablePersonErrorFetcher.js.map +1 -0
  49. package/dist/development/src/generated/fetchers/EnablePersonResponseFetcher.cjs +26 -0
  50. package/dist/development/src/generated/fetchers/EnablePersonResponseFetcher.cjs.map +1 -0
  51. package/dist/development/src/generated/fetchers/EnablePersonResponseFetcher.js +26 -0
  52. package/dist/development/src/generated/fetchers/EnablePersonResponseFetcher.js.map +1 -0
  53. package/dist/development/src/generated/fetchers/IDPOptionsOutputFetcher.cjs +3 -2
  54. package/dist/development/src/generated/fetchers/IDPOptionsOutputFetcher.cjs.map +1 -1
  55. package/dist/development/src/generated/fetchers/IDPOptionsOutputFetcher.js +3 -2
  56. package/dist/development/src/generated/fetchers/IDPOptionsOutputFetcher.js.map +1 -1
  57. package/dist/development/src/generated/fetchers/IdentityGlobalPermissionsFetcher.cjs +10 -2
  58. package/dist/development/src/generated/fetchers/IdentityGlobalPermissionsFetcher.cjs.map +1 -1
  59. package/dist/development/src/generated/fetchers/IdentityGlobalPermissionsFetcher.js +10 -2
  60. package/dist/development/src/generated/fetchers/IdentityGlobalPermissionsFetcher.js.map +1 -1
  61. package/dist/development/src/generated/fetchers/MutationFetcher.cjs +36 -0
  62. package/dist/development/src/generated/fetchers/MutationFetcher.cjs.map +1 -1
  63. package/dist/development/src/generated/fetchers/MutationFetcher.js +36 -0
  64. package/dist/development/src/generated/fetchers/MutationFetcher.js.map +1 -1
  65. package/dist/development/src/generated/fetchers/PersonFetcher.cjs +8 -1
  66. package/dist/development/src/generated/fetchers/PersonFetcher.cjs.map +1 -1
  67. package/dist/development/src/generated/fetchers/PersonFetcher.js +8 -1
  68. package/dist/development/src/generated/fetchers/PersonFetcher.js.map +1 -1
  69. package/dist/development/src/generated/fetchers/ProjectFetcher.cjs +5 -0
  70. package/dist/development/src/generated/fetchers/ProjectFetcher.cjs.map +1 -1
  71. package/dist/development/src/generated/fetchers/ProjectFetcher.js +5 -0
  72. package/dist/development/src/generated/fetchers/ProjectFetcher.js.map +1 -1
  73. package/dist/development/src/generated/fetchers/ProjectPermissionsFetcher.cjs +27 -0
  74. package/dist/development/src/generated/fetchers/ProjectPermissionsFetcher.cjs.map +1 -0
  75. package/dist/development/src/generated/fetchers/ProjectPermissionsFetcher.js +27 -0
  76. package/dist/development/src/generated/fetchers/ProjectPermissionsFetcher.js.map +1 -0
  77. package/dist/development/src/generated/fetchers/QueryFetcher.cjs +10 -0
  78. package/dist/development/src/generated/fetchers/QueryFetcher.cjs.map +1 -1
  79. package/dist/development/src/generated/fetchers/QueryFetcher.js +10 -0
  80. package/dist/development/src/generated/fetchers/QueryFetcher.js.map +1 -1
  81. package/dist/development/src/generated/fetchers/UpdateCustomRoleErrorFetcher.cjs +21 -0
  82. package/dist/development/src/generated/fetchers/UpdateCustomRoleErrorFetcher.cjs.map +1 -0
  83. package/dist/development/src/generated/fetchers/UpdateCustomRoleErrorFetcher.js +21 -0
  84. package/dist/development/src/generated/fetchers/UpdateCustomRoleErrorFetcher.js.map +1 -0
  85. package/dist/development/src/generated/fetchers/UpdateCustomRoleResponseFetcher.cjs +26 -0
  86. package/dist/development/src/generated/fetchers/UpdateCustomRoleResponseFetcher.cjs.map +1 -0
  87. package/dist/development/src/generated/fetchers/UpdateCustomRoleResponseFetcher.js +26 -0
  88. package/dist/development/src/generated/fetchers/UpdateCustomRoleResponseFetcher.js.map +1 -0
  89. package/dist/production/index.cjs +39 -0
  90. package/dist/production/index.cjs.map +1 -1
  91. package/dist/production/index.js +39 -0
  92. package/dist/production/index.js.map +1 -1
  93. package/dist/production/src/generated/EnumInputMetadata.cjs +5 -0
  94. package/dist/production/src/generated/EnumInputMetadata.cjs.map +1 -1
  95. package/dist/production/src/generated/EnumInputMetadata.js +5 -0
  96. package/dist/production/src/generated/EnumInputMetadata.js.map +1 -1
  97. package/dist/production/src/generated/fetchers/ConfigFetcher.cjs +5 -0
  98. package/dist/production/src/generated/fetchers/ConfigFetcher.cjs.map +1 -1
  99. package/dist/production/src/generated/fetchers/ConfigFetcher.js +5 -0
  100. package/dist/production/src/generated/fetchers/ConfigFetcher.js.map +1 -1
  101. package/dist/production/src/generated/fetchers/ConfigPanelFetcher.cjs +21 -0
  102. package/dist/production/src/generated/fetchers/ConfigPanelFetcher.cjs.map +1 -0
  103. package/dist/production/src/generated/fetchers/ConfigPanelFetcher.js +21 -0
  104. package/dist/production/src/generated/fetchers/ConfigPanelFetcher.js.map +1 -0
  105. package/dist/production/src/generated/fetchers/CreateCustomRoleErrorFetcher.cjs +21 -0
  106. package/dist/production/src/generated/fetchers/CreateCustomRoleErrorFetcher.cjs.map +1 -0
  107. package/dist/production/src/generated/fetchers/CreateCustomRoleErrorFetcher.js +21 -0
  108. package/dist/production/src/generated/fetchers/CreateCustomRoleErrorFetcher.js.map +1 -0
  109. package/dist/production/src/generated/fetchers/CreateCustomRoleResponseFetcher.cjs +26 -0
  110. package/dist/production/src/generated/fetchers/CreateCustomRoleResponseFetcher.cjs.map +1 -0
  111. package/dist/production/src/generated/fetchers/CreateCustomRoleResponseFetcher.js +26 -0
  112. package/dist/production/src/generated/fetchers/CreateCustomRoleResponseFetcher.js.map +1 -0
  113. package/dist/production/src/generated/fetchers/CustomRoleFetcher.cjs +30 -0
  114. package/dist/production/src/generated/fetchers/CustomRoleFetcher.cjs.map +1 -0
  115. package/dist/production/src/generated/fetchers/CustomRoleFetcher.js +30 -0
  116. package/dist/production/src/generated/fetchers/CustomRoleFetcher.js.map +1 -0
  117. package/dist/production/src/generated/fetchers/CustomRoleGrantFetcher.cjs +25 -0
  118. package/dist/production/src/generated/fetchers/CustomRoleGrantFetcher.cjs.map +1 -0
  119. package/dist/production/src/generated/fetchers/CustomRoleGrantFetcher.js +25 -0
  120. package/dist/production/src/generated/fetchers/CustomRoleGrantFetcher.js.map +1 -0
  121. package/dist/production/src/generated/fetchers/CustomRolePermissionDefinitionFetcher.cjs +27 -0
  122. package/dist/production/src/generated/fetchers/CustomRolePermissionDefinitionFetcher.cjs.map +1 -0
  123. package/dist/production/src/generated/fetchers/CustomRolePermissionDefinitionFetcher.js +27 -0
  124. package/dist/production/src/generated/fetchers/CustomRolePermissionDefinitionFetcher.js.map +1 -0
  125. package/dist/production/src/generated/fetchers/DeleteCustomRoleErrorFetcher.cjs +21 -0
  126. package/dist/production/src/generated/fetchers/DeleteCustomRoleErrorFetcher.cjs.map +1 -0
  127. package/dist/production/src/generated/fetchers/DeleteCustomRoleErrorFetcher.js +21 -0
  128. package/dist/production/src/generated/fetchers/DeleteCustomRoleErrorFetcher.js.map +1 -0
  129. package/dist/production/src/generated/fetchers/DeleteCustomRoleResponseFetcher.cjs +26 -0
  130. package/dist/production/src/generated/fetchers/DeleteCustomRoleResponseFetcher.cjs.map +1 -0
  131. package/dist/production/src/generated/fetchers/DeleteCustomRoleResponseFetcher.js +26 -0
  132. package/dist/production/src/generated/fetchers/DeleteCustomRoleResponseFetcher.js.map +1 -0
  133. package/dist/production/src/generated/fetchers/EnablePersonErrorFetcher.cjs +21 -0
  134. package/dist/production/src/generated/fetchers/EnablePersonErrorFetcher.cjs.map +1 -0
  135. package/dist/production/src/generated/fetchers/EnablePersonErrorFetcher.js +21 -0
  136. package/dist/production/src/generated/fetchers/EnablePersonErrorFetcher.js.map +1 -0
  137. package/dist/production/src/generated/fetchers/EnablePersonResponseFetcher.cjs +26 -0
  138. package/dist/production/src/generated/fetchers/EnablePersonResponseFetcher.cjs.map +1 -0
  139. package/dist/production/src/generated/fetchers/EnablePersonResponseFetcher.js +26 -0
  140. package/dist/production/src/generated/fetchers/EnablePersonResponseFetcher.js.map +1 -0
  141. package/dist/production/src/generated/fetchers/IDPOptionsOutputFetcher.cjs +3 -2
  142. package/dist/production/src/generated/fetchers/IDPOptionsOutputFetcher.cjs.map +1 -1
  143. package/dist/production/src/generated/fetchers/IDPOptionsOutputFetcher.js +3 -2
  144. package/dist/production/src/generated/fetchers/IDPOptionsOutputFetcher.js.map +1 -1
  145. package/dist/production/src/generated/fetchers/IdentityGlobalPermissionsFetcher.cjs +10 -2
  146. package/dist/production/src/generated/fetchers/IdentityGlobalPermissionsFetcher.cjs.map +1 -1
  147. package/dist/production/src/generated/fetchers/IdentityGlobalPermissionsFetcher.js +10 -2
  148. package/dist/production/src/generated/fetchers/IdentityGlobalPermissionsFetcher.js.map +1 -1
  149. package/dist/production/src/generated/fetchers/MutationFetcher.cjs +36 -0
  150. package/dist/production/src/generated/fetchers/MutationFetcher.cjs.map +1 -1
  151. package/dist/production/src/generated/fetchers/MutationFetcher.js +36 -0
  152. package/dist/production/src/generated/fetchers/MutationFetcher.js.map +1 -1
  153. package/dist/production/src/generated/fetchers/PersonFetcher.cjs +8 -1
  154. package/dist/production/src/generated/fetchers/PersonFetcher.cjs.map +1 -1
  155. package/dist/production/src/generated/fetchers/PersonFetcher.js +8 -1
  156. package/dist/production/src/generated/fetchers/PersonFetcher.js.map +1 -1
  157. package/dist/production/src/generated/fetchers/ProjectFetcher.cjs +5 -0
  158. package/dist/production/src/generated/fetchers/ProjectFetcher.cjs.map +1 -1
  159. package/dist/production/src/generated/fetchers/ProjectFetcher.js +5 -0
  160. package/dist/production/src/generated/fetchers/ProjectFetcher.js.map +1 -1
  161. package/dist/production/src/generated/fetchers/ProjectPermissionsFetcher.cjs +27 -0
  162. package/dist/production/src/generated/fetchers/ProjectPermissionsFetcher.cjs.map +1 -0
  163. package/dist/production/src/generated/fetchers/ProjectPermissionsFetcher.js +27 -0
  164. package/dist/production/src/generated/fetchers/ProjectPermissionsFetcher.js.map +1 -0
  165. package/dist/production/src/generated/fetchers/QueryFetcher.cjs +10 -0
  166. package/dist/production/src/generated/fetchers/QueryFetcher.cjs.map +1 -1
  167. package/dist/production/src/generated/fetchers/QueryFetcher.js +10 -0
  168. package/dist/production/src/generated/fetchers/QueryFetcher.js.map +1 -1
  169. package/dist/production/src/generated/fetchers/UpdateCustomRoleErrorFetcher.cjs +21 -0
  170. package/dist/production/src/generated/fetchers/UpdateCustomRoleErrorFetcher.cjs.map +1 -0
  171. package/dist/production/src/generated/fetchers/UpdateCustomRoleErrorFetcher.js +21 -0
  172. package/dist/production/src/generated/fetchers/UpdateCustomRoleErrorFetcher.js.map +1 -0
  173. package/dist/production/src/generated/fetchers/UpdateCustomRoleResponseFetcher.cjs +26 -0
  174. package/dist/production/src/generated/fetchers/UpdateCustomRoleResponseFetcher.cjs.map +1 -0
  175. package/dist/production/src/generated/fetchers/UpdateCustomRoleResponseFetcher.js +26 -0
  176. package/dist/production/src/generated/fetchers/UpdateCustomRoleResponseFetcher.js.map +1 -0
  177. package/dist/types/generated/Async.d.ts.map +1 -1
  178. package/dist/types/generated/EnumInputMetadata.d.ts.map +1 -1
  179. package/dist/types/generated/enums/CreateApiKeyErrorCode.d.ts +1 -1
  180. package/dist/types/generated/enums/CreateApiKeyErrorCode.d.ts.map +1 -1
  181. package/dist/types/generated/enums/CreateCustomRoleErrorCode.d.ts +2 -0
  182. package/dist/types/generated/enums/CreateCustomRoleErrorCode.d.ts.map +1 -0
  183. package/dist/types/generated/enums/CustomRoleConfigurationKind.d.ts +2 -0
  184. package/dist/types/generated/enums/CustomRoleConfigurationKind.d.ts.map +1 -0
  185. package/dist/types/generated/enums/DeleteCustomRoleErrorCode.d.ts +2 -0
  186. package/dist/types/generated/enums/DeleteCustomRoleErrorCode.d.ts.map +1 -0
  187. package/dist/types/generated/enums/DisconnectIDPErrorCode.d.ts +1 -1
  188. package/dist/types/generated/enums/DisconnectIDPErrorCode.d.ts.map +1 -1
  189. package/dist/types/generated/enums/EnablePersonErrorCode.d.ts +2 -0
  190. package/dist/types/generated/enums/EnablePersonErrorCode.d.ts.map +1 -0
  191. package/dist/types/generated/enums/InitSignInPasswordlessErrorCode.d.ts +1 -1
  192. package/dist/types/generated/enums/InitSignInPasswordlessErrorCode.d.ts.map +1 -1
  193. package/dist/types/generated/enums/SignInErrorCode.d.ts +1 -1
  194. package/dist/types/generated/enums/SignInErrorCode.d.ts.map +1 -1
  195. package/dist/types/generated/enums/SignInPasswordlessErrorCode.d.ts +1 -1
  196. package/dist/types/generated/enums/SignInPasswordlessErrorCode.d.ts.map +1 -1
  197. package/dist/types/generated/enums/SignUpErrorCode.d.ts +1 -1
  198. package/dist/types/generated/enums/SignUpErrorCode.d.ts.map +1 -1
  199. package/dist/types/generated/enums/UpdateCustomRoleErrorCode.d.ts +2 -0
  200. package/dist/types/generated/enums/UpdateCustomRoleErrorCode.d.ts.map +1 -0
  201. package/dist/types/generated/enums/index.d.ts +5 -0
  202. package/dist/types/generated/enums/index.d.ts.map +1 -1
  203. package/dist/types/generated/fetchers/ConfigFetcher.d.ts +14 -0
  204. package/dist/types/generated/fetchers/ConfigFetcher.d.ts.map +1 -1
  205. package/dist/types/generated/fetchers/ConfigPanelFetcher.d.ts +49 -0
  206. package/dist/types/generated/fetchers/ConfigPanelFetcher.d.ts.map +1 -0
  207. package/dist/types/generated/fetchers/CreateCustomRoleErrorFetcher.d.ts +50 -0
  208. package/dist/types/generated/fetchers/CreateCustomRoleErrorFetcher.d.ts.map +1 -0
  209. package/dist/types/generated/fetchers/CreateCustomRoleResponseFetcher.d.ts +40 -0
  210. package/dist/types/generated/fetchers/CreateCustomRoleResponseFetcher.d.ts.map +1 -0
  211. package/dist/types/generated/fetchers/CustomRoleFetcher.d.ts +57 -0
  212. package/dist/types/generated/fetchers/CustomRoleFetcher.d.ts.map +1 -0
  213. package/dist/types/generated/fetchers/CustomRoleGrantFetcher.d.ts +43 -0
  214. package/dist/types/generated/fetchers/CustomRoleGrantFetcher.d.ts.map +1 -0
  215. package/dist/types/generated/fetchers/CustomRolePermissionDefinitionFetcher.d.ts +78 -0
  216. package/dist/types/generated/fetchers/CustomRolePermissionDefinitionFetcher.d.ts.map +1 -0
  217. package/dist/types/generated/fetchers/DeleteCustomRoleErrorFetcher.d.ts +50 -0
  218. package/dist/types/generated/fetchers/DeleteCustomRoleErrorFetcher.d.ts.map +1 -0
  219. package/dist/types/generated/fetchers/DeleteCustomRoleResponseFetcher.d.ts +40 -0
  220. package/dist/types/generated/fetchers/DeleteCustomRoleResponseFetcher.d.ts.map +1 -0
  221. package/dist/types/generated/fetchers/EnablePersonErrorFetcher.d.ts +50 -0
  222. package/dist/types/generated/fetchers/EnablePersonErrorFetcher.d.ts.map +1 -0
  223. package/dist/types/generated/fetchers/EnablePersonResponseFetcher.d.ts +40 -0
  224. package/dist/types/generated/fetchers/EnablePersonResponseFetcher.d.ts.map +1 -0
  225. package/dist/types/generated/fetchers/IDPOptionsOutputFetcher.d.ts +17 -0
  226. package/dist/types/generated/fetchers/IDPOptionsOutputFetcher.d.ts.map +1 -1
  227. package/dist/types/generated/fetchers/IdentityGlobalPermissionsFetcher.d.ts +136 -0
  228. package/dist/types/generated/fetchers/IdentityGlobalPermissionsFetcher.d.ts.map +1 -1
  229. package/dist/types/generated/fetchers/MutationFetcher.d.ts +81 -0
  230. package/dist/types/generated/fetchers/MutationFetcher.d.ts.map +1 -1
  231. package/dist/types/generated/fetchers/PersonFetcher.d.ts +45 -0
  232. package/dist/types/generated/fetchers/PersonFetcher.d.ts.map +1 -1
  233. package/dist/types/generated/fetchers/ProjectFetcher.d.ts +14 -0
  234. package/dist/types/generated/fetchers/ProjectFetcher.d.ts.map +1 -1
  235. package/dist/types/generated/fetchers/ProjectPermissionsFetcher.d.ts +151 -0
  236. package/dist/types/generated/fetchers/ProjectPermissionsFetcher.d.ts.map +1 -0
  237. package/dist/types/generated/fetchers/QueryFetcher.d.ts +28 -0
  238. package/dist/types/generated/fetchers/QueryFetcher.d.ts.map +1 -1
  239. package/dist/types/generated/fetchers/UpdateCustomRoleErrorFetcher.d.ts +50 -0
  240. package/dist/types/generated/fetchers/UpdateCustomRoleErrorFetcher.d.ts.map +1 -0
  241. package/dist/types/generated/fetchers/UpdateCustomRoleResponseFetcher.d.ts +40 -0
  242. package/dist/types/generated/fetchers/UpdateCustomRoleResponseFetcher.d.ts.map +1 -0
  243. package/dist/types/generated/fetchers/index.d.ts +26 -0
  244. package/dist/types/generated/fetchers/index.d.ts.map +1 -1
  245. package/dist/types/generated/inputs/AuthLogFilter.d.ts +8 -8
  246. package/dist/types/generated/inputs/AuthLogFilter.d.ts.map +1 -1
  247. package/dist/types/generated/inputs/AuthPolicyInput.d.ts +6 -6
  248. package/dist/types/generated/inputs/AuthPolicyInput.d.ts.map +1 -1
  249. package/dist/types/generated/inputs/ConfigCaptchaInput.d.ts +4 -4
  250. package/dist/types/generated/inputs/ConfigCaptchaInput.d.ts.map +1 -1
  251. package/dist/types/generated/inputs/ConfigCaptchaProtectInput.d.ts +4 -4
  252. package/dist/types/generated/inputs/ConfigCaptchaProtectInput.d.ts.map +1 -1
  253. package/dist/types/generated/inputs/ConfigEmailChangeInput.d.ts +1 -1
  254. package/dist/types/generated/inputs/ConfigEmailChangeInput.d.ts.map +1 -1
  255. package/dist/types/generated/inputs/ConfigInput.d.ts +9 -7
  256. package/dist/types/generated/inputs/ConfigInput.d.ts.map +1 -1
  257. package/dist/types/generated/inputs/ConfigLoginAnomalyDetectionInput.d.ts +4 -4
  258. package/dist/types/generated/inputs/ConfigLoginAnomalyDetectionInput.d.ts.map +1 -1
  259. package/dist/types/generated/inputs/ConfigLoginInput.d.ts +9 -9
  260. package/dist/types/generated/inputs/ConfigLoginInput.d.ts.map +1 -1
  261. package/dist/types/generated/inputs/ConfigPanelInput.d.ts +5 -0
  262. package/dist/types/generated/inputs/ConfigPanelInput.d.ts.map +1 -0
  263. package/dist/types/generated/inputs/ConfigPasswordInput.d.ts +8 -8
  264. package/dist/types/generated/inputs/ConfigPasswordInput.d.ts.map +1 -1
  265. package/dist/types/generated/inputs/ConfigPasswordlessInput.d.ts +3 -3
  266. package/dist/types/generated/inputs/ConfigPasswordlessInput.d.ts.map +1 -1
  267. package/dist/types/generated/inputs/ConfigRateLimitWindowInput.d.ts +2 -2
  268. package/dist/types/generated/inputs/ConfigRateLimitWindowInput.d.ts.map +1 -1
  269. package/dist/types/generated/inputs/ConfigRateLimitsInput.d.ts +6 -6
  270. package/dist/types/generated/inputs/ConfigRateLimitsInput.d.ts.map +1 -1
  271. package/dist/types/generated/inputs/ConfigSignupInput.d.ts +1 -1
  272. package/dist/types/generated/inputs/ConfigSignupInput.d.ts.map +1 -1
  273. package/dist/types/generated/inputs/CreateApiKeyOptions.d.ts +1 -1
  274. package/dist/types/generated/inputs/CreateApiKeyOptions.d.ts.map +1 -1
  275. package/dist/types/generated/inputs/CreateProjectOptions.d.ts +2 -2
  276. package/dist/types/generated/inputs/CreateProjectOptions.d.ts.map +1 -1
  277. package/dist/types/generated/inputs/CreateResetPasswordRequestOptions.d.ts +2 -2
  278. package/dist/types/generated/inputs/CreateResetPasswordRequestOptions.d.ts.map +1 -1
  279. package/dist/types/generated/inputs/CustomRoleGrantInput.d.ts +5 -0
  280. package/dist/types/generated/inputs/CustomRoleGrantInput.d.ts.map +1 -0
  281. package/dist/types/generated/inputs/EmailVerificationOptions.d.ts +2 -2
  282. package/dist/types/generated/inputs/EmailVerificationOptions.d.ts.map +1 -1
  283. package/dist/types/generated/inputs/IDPOptions.d.ts +6 -5
  284. package/dist/types/generated/inputs/IDPOptions.d.ts.map +1 -1
  285. package/dist/types/generated/inputs/InitSignInPasswordlessOptions.d.ts +2 -2
  286. package/dist/types/generated/inputs/InitSignInPasswordlessOptions.d.ts.map +1 -1
  287. package/dist/types/generated/inputs/InviteOptions.d.ts +2 -2
  288. package/dist/types/generated/inputs/InviteOptions.d.ts.map +1 -1
  289. package/dist/types/generated/inputs/MailTemplate.d.ts +4 -4
  290. package/dist/types/generated/inputs/MailTemplate.d.ts.map +1 -1
  291. package/dist/types/generated/inputs/MailTemplateIdentifier.d.ts +2 -2
  292. package/dist/types/generated/inputs/MailTemplateIdentifier.d.ts.map +1 -1
  293. package/dist/types/generated/inputs/PersonsFilter.d.ts +3 -3
  294. package/dist/types/generated/inputs/PersonsFilter.d.ts.map +1 -1
  295. package/dist/types/generated/inputs/ProjectMembersFilter.d.ts +4 -4
  296. package/dist/types/generated/inputs/ProjectMembersFilter.d.ts.map +1 -1
  297. package/dist/types/generated/inputs/ProjectMembersInput.d.ts +3 -3
  298. package/dist/types/generated/inputs/ProjectMembersInput.d.ts.map +1 -1
  299. package/dist/types/generated/inputs/SignInOptions.d.ts +1 -1
  300. package/dist/types/generated/inputs/SignInOptions.d.ts.map +1 -1
  301. package/dist/types/generated/inputs/UnmanagedInviteOptions.d.ts +2 -2
  302. package/dist/types/generated/inputs/UnmanagedInviteOptions.d.ts.map +1 -1
  303. package/dist/types/generated/inputs/index.d.ts +2 -0
  304. package/dist/types/generated/inputs/index.d.ts.map +1 -1
  305. package/dist/types/tsconfig.tsbuildinfo +1 -1
  306. package/package.json +2 -2
  307. package/tests/cases/unit/inputNullability.test.ts +162 -0
@@ -28,8 +28,15 @@ const person$ = graphqlTsClientApi.createFetcher(
28
28
  name: "passwordlessEnabled",
29
29
  undefinable: true
30
30
  },
31
+ "passwordlessAvailable",
32
+ "passwordlessSelfManaged",
31
33
  "emailOtpEnabled",
32
34
  "emailVerified",
35
+ {
36
+ category: "SCALAR",
37
+ name: "disabledAt",
38
+ undefinable: true
39
+ },
33
40
  {
34
41
  category: "REFERENCE",
35
42
  name: "identity",
@@ -45,7 +52,7 @@ const person$ = graphqlTsClientApi.createFetcher(
45
52
  EnumInputMetadata.ENUM_INPUT_METADATA,
46
53
  void 0
47
54
  );
48
- const person$$ = person$.id.email.name.otpEnabled.passwordlessEnabled.emailOtpEnabled.emailVerified;
55
+ const person$$ = person$.id.email.name.otpEnabled.passwordlessEnabled.passwordlessAvailable.passwordlessSelfManaged.emailOtpEnabled.emailVerified.disabledAt;
49
56
  exports.person$ = person$;
50
57
  exports.person$$ = person$$;
51
58
  //# sourceMappingURL=PersonFetcher.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"PersonFetcher.cjs","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/PersonFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface PersonFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Person', T, TVariables> {\n\n on<XName extends ImplementationType<'Person'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): PersonFetcher<\n XName extends 'Person' ?\n T & X :\n WithTypeName<T, ImplementationType<'Person'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Person'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): PersonFetcher<T, TVariables>;\n\n\n readonly __typename: PersonFetcher<T & {__typename: ImplementationType<'Person'>}, TVariables>;\n\n\n readonly id: PersonFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": PersonFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly email: PersonFetcher<T & {readonly \"email\"?: string}, TVariables>;\n\n \"email+\"<\n XAlias extends string = \"email\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"email\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~email\": PersonFetcher<Omit<T, 'email'>, TVariables>;\n\n\n readonly name: PersonFetcher<T & {readonly \"name\"?: string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": PersonFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly otpEnabled: PersonFetcher<T & {readonly \"otpEnabled\": boolean}, TVariables>;\n\n \"otpEnabled+\"<\n XAlias extends string = \"otpEnabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"otpEnabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~otpEnabled\": PersonFetcher<Omit<T, 'otpEnabled'>, TVariables>;\n\n\n readonly passwordlessEnabled: PersonFetcher<T & {readonly \"passwordlessEnabled\"?: boolean}, TVariables>;\n\n \"passwordlessEnabled+\"<\n XAlias extends string = \"passwordlessEnabled\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"passwordlessEnabled\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: boolean}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~passwordlessEnabled\": PersonFetcher<Omit<T, 'passwordlessEnabled'>, TVariables>;\n\n\n readonly emailOtpEnabled: PersonFetcher<T & {readonly \"emailOtpEnabled\": boolean}, TVariables>;\n\n \"emailOtpEnabled+\"<\n XAlias extends string = \"emailOtpEnabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"emailOtpEnabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~emailOtpEnabled\": PersonFetcher<Omit<T, 'emailOtpEnabled'>, TVariables>;\n\n\n readonly emailVerified: PersonFetcher<T & {readonly \"emailVerified\": boolean}, TVariables>;\n\n \"emailVerified+\"<\n XAlias extends string = \"emailVerified\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"emailVerified\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~emailVerified\": PersonFetcher<Omit<T, 'emailVerified'>, TVariables>;\n\n\n identity<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'Identity', X, XVariables>\n ): PersonFetcher<\n T & {readonly \"identity\": X}, \n TVariables & XVariables\n >;\n\n identity<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"identity\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'Identity', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"identity\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: X} : \n {readonly [key in XAlias]: X}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n identityProviders<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'PersonIdentityProvider', X, XVariables>\n ): PersonFetcher<\n T & {readonly \"identityProviders\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n identityProviders<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"identityProviders\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'PersonIdentityProvider', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"identityProviders\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n}\n\nexport const person$: PersonFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Person\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n {\n category: \"SCALAR\", \n name: \"email\", \n undefinable: true\n }, \n {\n category: \"SCALAR\", \n name: \"name\", \n undefinable: true\n }, \n \"otpEnabled\", \n {\n category: \"SCALAR\", \n name: \"passwordlessEnabled\", \n undefinable: true\n }, \n \"emailOtpEnabled\", \n \"emailVerified\", \n {\n category: \"REFERENCE\", \n name: \"identity\", \n targetTypeName: \"Identity\"\n }, \n {\n category: \"LIST\", \n name: \"identityProviders\", \n targetTypeName: \"PersonIdentityProvider\"\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const person$$ = \n person$\n .id\n .email\n .name\n .otpEnabled\n .passwordlessEnabled\n .emailOtpEnabled\n .emailVerified\n;\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AA4OO,MAAM,UACTA,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,IACpB;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,WACT,QACK,GACA,MACA,KACA,WACA,oBACA,gBACA;;;"}
1
+ {"version":3,"file":"PersonFetcher.cjs","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/PersonFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface PersonFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Person', T, TVariables> {\n\n on<XName extends ImplementationType<'Person'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): PersonFetcher<\n XName extends 'Person' ?\n T & X :\n WithTypeName<T, ImplementationType<'Person'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Person'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): PersonFetcher<T, TVariables>;\n\n\n readonly __typename: PersonFetcher<T & {__typename: ImplementationType<'Person'>}, TVariables>;\n\n\n readonly id: PersonFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": PersonFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly email: PersonFetcher<T & {readonly \"email\"?: string}, TVariables>;\n\n \"email+\"<\n XAlias extends string = \"email\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"email\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~email\": PersonFetcher<Omit<T, 'email'>, TVariables>;\n\n\n readonly name: PersonFetcher<T & {readonly \"name\"?: string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": PersonFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly otpEnabled: PersonFetcher<T & {readonly \"otpEnabled\": boolean}, TVariables>;\n\n \"otpEnabled+\"<\n XAlias extends string = \"otpEnabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"otpEnabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~otpEnabled\": PersonFetcher<Omit<T, 'otpEnabled'>, TVariables>;\n\n\n readonly passwordlessEnabled: PersonFetcher<T & {readonly \"passwordlessEnabled\"?: boolean}, TVariables>;\n\n \"passwordlessEnabled+\"<\n XAlias extends string = \"passwordlessEnabled\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"passwordlessEnabled\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: boolean}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~passwordlessEnabled\": PersonFetcher<Omit<T, 'passwordlessEnabled'>, TVariables>;\n\n\n readonly passwordlessAvailable: PersonFetcher<T & {readonly \"passwordlessAvailable\": boolean}, TVariables>;\n\n \"passwordlessAvailable+\"<\n XAlias extends string = \"passwordlessAvailable\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"passwordlessAvailable\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~passwordlessAvailable\": PersonFetcher<Omit<T, 'passwordlessAvailable'>, TVariables>;\n\n\n readonly passwordlessSelfManaged: PersonFetcher<T & {readonly \"passwordlessSelfManaged\": boolean}, TVariables>;\n\n \"passwordlessSelfManaged+\"<\n XAlias extends string = \"passwordlessSelfManaged\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"passwordlessSelfManaged\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~passwordlessSelfManaged\": PersonFetcher<Omit<T, 'passwordlessSelfManaged'>, TVariables>;\n\n\n readonly emailOtpEnabled: PersonFetcher<T & {readonly \"emailOtpEnabled\": boolean}, TVariables>;\n\n \"emailOtpEnabled+\"<\n XAlias extends string = \"emailOtpEnabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"emailOtpEnabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~emailOtpEnabled\": PersonFetcher<Omit<T, 'emailOtpEnabled'>, TVariables>;\n\n\n readonly emailVerified: PersonFetcher<T & {readonly \"emailVerified\": boolean}, TVariables>;\n\n \"emailVerified+\"<\n XAlias extends string = \"emailVerified\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"emailVerified\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~emailVerified\": PersonFetcher<Omit<T, 'emailVerified'>, TVariables>;\n\n\n readonly disabledAt: PersonFetcher<T & {readonly \"disabledAt\"?: string}, TVariables>;\n\n \"disabledAt+\"<\n XAlias extends string = \"disabledAt\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"disabledAt\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~disabledAt\": PersonFetcher<Omit<T, 'disabledAt'>, TVariables>;\n\n\n identity<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'Identity', X, XVariables>\n ): PersonFetcher<\n T & {readonly \"identity\": X}, \n TVariables & XVariables\n >;\n\n identity<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"identity\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'Identity', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"identity\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: X} : \n {readonly [key in XAlias]: X}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n identityProviders<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'PersonIdentityProvider', X, XVariables>\n ): PersonFetcher<\n T & {readonly \"identityProviders\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n identityProviders<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"identityProviders\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'PersonIdentityProvider', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"identityProviders\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n}\n\nexport const person$: PersonFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Person\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n {\n category: \"SCALAR\", \n name: \"email\", \n undefinable: true\n }, \n {\n category: \"SCALAR\", \n name: \"name\", \n undefinable: true\n }, \n \"otpEnabled\", \n {\n category: \"SCALAR\", \n name: \"passwordlessEnabled\", \n undefinable: true\n }, \n \"passwordlessAvailable\", \n \"passwordlessSelfManaged\", \n \"emailOtpEnabled\", \n \"emailVerified\", \n {\n category: \"SCALAR\", \n name: \"disabledAt\", \n undefinable: true\n }, \n {\n category: \"REFERENCE\", \n name: \"identity\", \n targetTypeName: \"Identity\"\n }, \n {\n category: \"LIST\", \n name: \"identityProviders\", \n targetTypeName: \"PersonIdentityProvider\"\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const person$$ = \n person$\n .id\n .email\n .name\n .otpEnabled\n .passwordlessEnabled\n .passwordlessAvailable\n .passwordlessSelfManaged\n .emailOtpEnabled\n .emailVerified\n .disabledAt\n;\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AAySO,MAAM,UACTA,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,IACpB;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,WACT,QACK,GACA,MACA,KACA,WACA,oBACA,sBACA,wBACA,gBACA,cACA;;;"}
@@ -26,8 +26,15 @@ const person$ = createFetcher(
26
26
  name: "passwordlessEnabled",
27
27
  undefinable: true
28
28
  },
29
+ "passwordlessAvailable",
30
+ "passwordlessSelfManaged",
29
31
  "emailOtpEnabled",
30
32
  "emailVerified",
33
+ {
34
+ category: "SCALAR",
35
+ name: "disabledAt",
36
+ undefinable: true
37
+ },
31
38
  {
32
39
  category: "REFERENCE",
33
40
  name: "identity",
@@ -43,7 +50,7 @@ const person$ = createFetcher(
43
50
  ENUM_INPUT_METADATA,
44
51
  void 0
45
52
  );
46
- const person$$ = person$.id.email.name.otpEnabled.passwordlessEnabled.emailOtpEnabled.emailVerified;
53
+ const person$$ = person$.id.email.name.otpEnabled.passwordlessEnabled.passwordlessAvailable.passwordlessSelfManaged.emailOtpEnabled.emailVerified.disabledAt;
47
54
  export {
48
55
  person$,
49
56
  person$$
@@ -1 +1 @@
1
- {"version":3,"file":"PersonFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/PersonFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface PersonFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Person', T, TVariables> {\n\n on<XName extends ImplementationType<'Person'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): PersonFetcher<\n XName extends 'Person' ?\n T & X :\n WithTypeName<T, ImplementationType<'Person'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Person'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): PersonFetcher<T, TVariables>;\n\n\n readonly __typename: PersonFetcher<T & {__typename: ImplementationType<'Person'>}, TVariables>;\n\n\n readonly id: PersonFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": PersonFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly email: PersonFetcher<T & {readonly \"email\"?: string}, TVariables>;\n\n \"email+\"<\n XAlias extends string = \"email\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"email\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~email\": PersonFetcher<Omit<T, 'email'>, TVariables>;\n\n\n readonly name: PersonFetcher<T & {readonly \"name\"?: string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": PersonFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly otpEnabled: PersonFetcher<T & {readonly \"otpEnabled\": boolean}, TVariables>;\n\n \"otpEnabled+\"<\n XAlias extends string = \"otpEnabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"otpEnabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~otpEnabled\": PersonFetcher<Omit<T, 'otpEnabled'>, TVariables>;\n\n\n readonly passwordlessEnabled: PersonFetcher<T & {readonly \"passwordlessEnabled\"?: boolean}, TVariables>;\n\n \"passwordlessEnabled+\"<\n XAlias extends string = \"passwordlessEnabled\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"passwordlessEnabled\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: boolean}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~passwordlessEnabled\": PersonFetcher<Omit<T, 'passwordlessEnabled'>, TVariables>;\n\n\n readonly emailOtpEnabled: PersonFetcher<T & {readonly \"emailOtpEnabled\": boolean}, TVariables>;\n\n \"emailOtpEnabled+\"<\n XAlias extends string = \"emailOtpEnabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"emailOtpEnabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~emailOtpEnabled\": PersonFetcher<Omit<T, 'emailOtpEnabled'>, TVariables>;\n\n\n readonly emailVerified: PersonFetcher<T & {readonly \"emailVerified\": boolean}, TVariables>;\n\n \"emailVerified+\"<\n XAlias extends string = \"emailVerified\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"emailVerified\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~emailVerified\": PersonFetcher<Omit<T, 'emailVerified'>, TVariables>;\n\n\n identity<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'Identity', X, XVariables>\n ): PersonFetcher<\n T & {readonly \"identity\": X}, \n TVariables & XVariables\n >;\n\n identity<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"identity\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'Identity', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"identity\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: X} : \n {readonly [key in XAlias]: X}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n identityProviders<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'PersonIdentityProvider', X, XVariables>\n ): PersonFetcher<\n T & {readonly \"identityProviders\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n identityProviders<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"identityProviders\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'PersonIdentityProvider', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"identityProviders\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n}\n\nexport const person$: PersonFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Person\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n {\n category: \"SCALAR\", \n name: \"email\", \n undefinable: true\n }, \n {\n category: \"SCALAR\", \n name: \"name\", \n undefinable: true\n }, \n \"otpEnabled\", \n {\n category: \"SCALAR\", \n name: \"passwordlessEnabled\", \n undefinable: true\n }, \n \"emailOtpEnabled\", \n \"emailVerified\", \n {\n category: \"REFERENCE\", \n name: \"identity\", \n targetTypeName: \"Identity\"\n }, \n {\n category: \"LIST\", \n name: \"identityProviders\", \n targetTypeName: \"PersonIdentityProvider\"\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const person$$ = \n person$\n .id\n .email\n .name\n .otpEnabled\n .passwordlessEnabled\n .emailOtpEnabled\n .emailVerified\n;\n"],"names":[],"mappings":";;AA4OO,MAAM,UACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,IACpB;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,WACT,QACK,GACA,MACA,KACA,WACA,oBACA,gBACA;"}
1
+ {"version":3,"file":"PersonFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/PersonFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface PersonFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Person', T, TVariables> {\n\n on<XName extends ImplementationType<'Person'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): PersonFetcher<\n XName extends 'Person' ?\n T & X :\n WithTypeName<T, ImplementationType<'Person'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Person'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): PersonFetcher<T, TVariables>;\n\n\n readonly __typename: PersonFetcher<T & {__typename: ImplementationType<'Person'>}, TVariables>;\n\n\n readonly id: PersonFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": PersonFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly email: PersonFetcher<T & {readonly \"email\"?: string}, TVariables>;\n\n \"email+\"<\n XAlias extends string = \"email\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"email\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~email\": PersonFetcher<Omit<T, 'email'>, TVariables>;\n\n\n readonly name: PersonFetcher<T & {readonly \"name\"?: string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": PersonFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly otpEnabled: PersonFetcher<T & {readonly \"otpEnabled\": boolean}, TVariables>;\n\n \"otpEnabled+\"<\n XAlias extends string = \"otpEnabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"otpEnabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~otpEnabled\": PersonFetcher<Omit<T, 'otpEnabled'>, TVariables>;\n\n\n readonly passwordlessEnabled: PersonFetcher<T & {readonly \"passwordlessEnabled\"?: boolean}, TVariables>;\n\n \"passwordlessEnabled+\"<\n XAlias extends string = \"passwordlessEnabled\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"passwordlessEnabled\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: boolean}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~passwordlessEnabled\": PersonFetcher<Omit<T, 'passwordlessEnabled'>, TVariables>;\n\n\n readonly passwordlessAvailable: PersonFetcher<T & {readonly \"passwordlessAvailable\": boolean}, TVariables>;\n\n \"passwordlessAvailable+\"<\n XAlias extends string = \"passwordlessAvailable\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"passwordlessAvailable\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~passwordlessAvailable\": PersonFetcher<Omit<T, 'passwordlessAvailable'>, TVariables>;\n\n\n readonly passwordlessSelfManaged: PersonFetcher<T & {readonly \"passwordlessSelfManaged\": boolean}, TVariables>;\n\n \"passwordlessSelfManaged+\"<\n XAlias extends string = \"passwordlessSelfManaged\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"passwordlessSelfManaged\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~passwordlessSelfManaged\": PersonFetcher<Omit<T, 'passwordlessSelfManaged'>, TVariables>;\n\n\n readonly emailOtpEnabled: PersonFetcher<T & {readonly \"emailOtpEnabled\": boolean}, TVariables>;\n\n \"emailOtpEnabled+\"<\n XAlias extends string = \"emailOtpEnabled\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"emailOtpEnabled\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~emailOtpEnabled\": PersonFetcher<Omit<T, 'emailOtpEnabled'>, TVariables>;\n\n\n readonly emailVerified: PersonFetcher<T & {readonly \"emailVerified\": boolean}, TVariables>;\n\n \"emailVerified+\"<\n XAlias extends string = \"emailVerified\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"emailVerified\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~emailVerified\": PersonFetcher<Omit<T, 'emailVerified'>, TVariables>;\n\n\n readonly disabledAt: PersonFetcher<T & {readonly \"disabledAt\"?: string}, TVariables>;\n\n \"disabledAt+\"<\n XAlias extends string = \"disabledAt\", \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"disabledAt\", {}, {}>\n ) => FieldOptions<XAlias, {readonly [key: string]: DirectiveArgs}, XDirectiveVariables>\n ): PersonFetcher<\n T & {readonly [key in XAlias]?: string}, \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~disabledAt\": PersonFetcher<Omit<T, 'disabledAt'>, TVariables>;\n\n\n identity<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'Identity', X, XVariables>\n ): PersonFetcher<\n T & {readonly \"identity\": X}, \n TVariables & XVariables\n >;\n\n identity<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"identity\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'Identity', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"identity\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: X} : \n {readonly [key in XAlias]: X}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n identityProviders<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'PersonIdentityProvider', X, XVariables>\n ): PersonFetcher<\n T & {readonly \"identityProviders\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n identityProviders<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"identityProviders\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'PersonIdentityProvider', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"identityProviders\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): PersonFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n}\n\nexport const person$: PersonFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Person\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n {\n category: \"SCALAR\", \n name: \"email\", \n undefinable: true\n }, \n {\n category: \"SCALAR\", \n name: \"name\", \n undefinable: true\n }, \n \"otpEnabled\", \n {\n category: \"SCALAR\", \n name: \"passwordlessEnabled\", \n undefinable: true\n }, \n \"passwordlessAvailable\", \n \"passwordlessSelfManaged\", \n \"emailOtpEnabled\", \n \"emailVerified\", \n {\n category: \"SCALAR\", \n name: \"disabledAt\", \n undefinable: true\n }, \n {\n category: \"REFERENCE\", \n name: \"identity\", \n targetTypeName: \"Identity\"\n }, \n {\n category: \"LIST\", \n name: \"identityProviders\", \n targetTypeName: \"PersonIdentityProvider\"\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const person$$ = \n person$\n .id\n .email\n .name\n .otpEnabled\n .passwordlessEnabled\n .passwordlessAvailable\n .passwordlessSelfManaged\n .emailOtpEnabled\n .emailVerified\n .disabledAt\n;\n"],"names":[],"mappings":";;AAySO,MAAM,UACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,aAAa;AAAA,MAAA;AAAA,MAEjB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,IACpB;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,WACT,QACK,GACA,MACA,KACA,WACA,oBACA,sBACA,wBACA,gBACA,cACA;"}
@@ -38,6 +38,11 @@ const project$ = graphqlTsClientApi.createFetcher(
38
38
  category: "LIST",
39
39
  name: "secrets",
40
40
  targetTypeName: "ProjectSecretInfo"
41
+ },
42
+ {
43
+ category: "SCALAR",
44
+ name: "permissions",
45
+ targetTypeName: "ProjectPermissions"
41
46
  }
42
47
  ]
43
48
  ),
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectFetcher.cjs","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ProjectFetcher.ts"],"sourcesContent":["import type { AcceptableVariables, UnresolvedVariables, FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {ProjectMembersInput} from '../inputs';\nimport type {MemberType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ProjectFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Project', T, TVariables> {\n\n on<XName extends ImplementationType<'Project'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ProjectFetcher<\n XName extends 'Project' ?\n T & X :\n WithTypeName<T, ImplementationType<'Project'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Project'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ProjectFetcher<T, TVariables>;\n\n\n readonly __typename: ProjectFetcher<T & {__typename: ImplementationType<'Project'>}, TVariables>;\n\n\n readonly id: ProjectFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": ProjectFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly name: ProjectFetcher<T & {readonly \"name\": string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": ProjectFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly slug: ProjectFetcher<T & {readonly \"slug\": string}, TVariables>;\n\n \"slug+\"<\n XAlias extends string = \"slug\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"slug\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~slug\": ProjectFetcher<Omit<T, 'slug'>, TVariables>;\n\n\n readonly config: ProjectFetcher<T & {readonly \"config\": unknown}, TVariables>;\n\n \"config+\"<\n XAlias extends string = \"config\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"config\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: unknown} : \n {readonly [key in XAlias]: unknown}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~config\": ProjectFetcher<Omit<T, 'config'>, TVariables>;\n\n\n roles<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'RoleDefinition', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"roles\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n roles<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"roles\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'RoleDefinition', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"roles\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n members<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"members\": ReadonlyArray<X>}, \n TVariables & XVariables & ProjectArgs[\"members\"]\n >;\n\n members<\n XArgs extends AcceptableVariables<ProjectArgs['members']>, \n X extends object, \n XVariables extends object\n >(\n args: XArgs, \n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"members\": ReadonlyArray<X>}, \n TVariables & XVariables & UnresolvedVariables<XArgs, ProjectArgs['members']>\n >;\n\n members<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"members\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"members\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & ProjectArgs[\"members\"] & XDirectiveVariables\n >;\n\n members<\n XArgs extends AcceptableVariables<ProjectArgs['members']>, \n X extends object, \n XVariables extends object, \n XAlias extends string = \"members\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n args: XArgs, \n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"members\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & UnresolvedVariables<XArgs, ProjectArgs['members']> & XDirectiveVariables\n >;\n\n\n apiKeys<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ApiKey', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"apiKeys\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n apiKeys<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"apiKeys\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ApiKey', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"apiKeys\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n secrets<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectSecretInfo', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"secrets\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n secrets<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"secrets\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectSecretInfo', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"secrets\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n}\n\nexport const project$: ProjectFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Project\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n \"name\", \n \"slug\", \n \"config\", \n {\n category: \"LIST\", \n name: \"roles\", \n targetTypeName: \"RoleDefinition\"\n }, \n {\n category: \"LIST\", \n name: \"members\", \n argGraphQLTypeMap: {\n input: 'ProjectMembersInput', \n memberType: 'MemberType'\n }, \n targetTypeName: \"ProjectIdentityRelation\"\n }, \n {\n category: \"LIST\", \n name: \"apiKeys\", \n targetTypeName: \"ApiKey\"\n }, \n {\n category: \"LIST\", \n name: \"secrets\", \n targetTypeName: \"ProjectSecretInfo\"\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const project$$ = \n project$\n .id\n .name\n .slug\n .config\n;\n\nexport interface ProjectArgs {\n\n readonly members: {\n readonly input?: ProjectMembersInput, \n readonly memberType?: MemberType\n }\n}\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AA2RO,MAAM,WACTA,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,mBAAmB;AAAA,UACf,OAAO;AAAA,UACP,YAAY;AAAA,QAAA;AAAA,QAEhB,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,IACpB;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,YACT,SACK,GACA,KACA,KACA;;;"}
1
+ {"version":3,"file":"ProjectFetcher.cjs","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ProjectFetcher.ts"],"sourcesContent":["import type { AcceptableVariables, UnresolvedVariables, FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {ProjectMembersInput} from '../inputs';\nimport type {MemberType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ProjectFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Project', T, TVariables> {\n\n on<XName extends ImplementationType<'Project'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ProjectFetcher<\n XName extends 'Project' ?\n T & X :\n WithTypeName<T, ImplementationType<'Project'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Project'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ProjectFetcher<T, TVariables>;\n\n\n readonly __typename: ProjectFetcher<T & {__typename: ImplementationType<'Project'>}, TVariables>;\n\n\n readonly id: ProjectFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": ProjectFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly name: ProjectFetcher<T & {readonly \"name\": string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": ProjectFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly slug: ProjectFetcher<T & {readonly \"slug\": string}, TVariables>;\n\n \"slug+\"<\n XAlias extends string = \"slug\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"slug\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~slug\": ProjectFetcher<Omit<T, 'slug'>, TVariables>;\n\n\n readonly config: ProjectFetcher<T & {readonly \"config\": unknown}, TVariables>;\n\n \"config+\"<\n XAlias extends string = \"config\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"config\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: unknown} : \n {readonly [key in XAlias]: unknown}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~config\": ProjectFetcher<Omit<T, 'config'>, TVariables>;\n\n\n roles<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'RoleDefinition', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"roles\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n roles<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"roles\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'RoleDefinition', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"roles\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n members<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"members\": ReadonlyArray<X>}, \n TVariables & XVariables & ProjectArgs[\"members\"]\n >;\n\n members<\n XArgs extends AcceptableVariables<ProjectArgs['members']>, \n X extends object, \n XVariables extends object\n >(\n args: XArgs, \n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"members\": ReadonlyArray<X>}, \n TVariables & XVariables & UnresolvedVariables<XArgs, ProjectArgs['members']>\n >;\n\n members<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"members\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"members\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & ProjectArgs[\"members\"] & XDirectiveVariables\n >;\n\n members<\n XArgs extends AcceptableVariables<ProjectArgs['members']>, \n X extends object, \n XVariables extends object, \n XAlias extends string = \"members\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n args: XArgs, \n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"members\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & UnresolvedVariables<XArgs, ProjectArgs['members']> & XDirectiveVariables\n >;\n\n\n apiKeys<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ApiKey', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"apiKeys\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n apiKeys<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"apiKeys\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ApiKey', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"apiKeys\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n secrets<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectSecretInfo', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"secrets\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n secrets<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"secrets\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectSecretInfo', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"secrets\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n permissions<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectPermissions', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"permissions\": X}, \n TVariables & XVariables\n >;\n\n permissions<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"permissions\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectPermissions', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"permissions\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: X} : \n {readonly [key in XAlias]: X}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n}\n\nexport const project$: ProjectFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Project\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n \"name\", \n \"slug\", \n \"config\", \n {\n category: \"LIST\", \n name: \"roles\", \n targetTypeName: \"RoleDefinition\"\n }, \n {\n category: \"LIST\", \n name: \"members\", \n argGraphQLTypeMap: {\n input: 'ProjectMembersInput', \n memberType: 'MemberType'\n }, \n targetTypeName: \"ProjectIdentityRelation\"\n }, \n {\n category: \"LIST\", \n name: \"apiKeys\", \n targetTypeName: \"ApiKey\"\n }, \n {\n category: \"LIST\", \n name: \"secrets\", \n targetTypeName: \"ProjectSecretInfo\"\n }, \n {\n category: \"SCALAR\", \n name: \"permissions\", \n targetTypeName: \"ProjectPermissions\"\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const project$$ = \n project$\n .id\n .name\n .slug\n .config\n;\n\nexport interface ProjectArgs {\n\n readonly members: {\n readonly input?: ProjectMembersInput, \n readonly memberType?: MemberType\n }\n}\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AA0TO,MAAM,WACTA,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,mBAAmB;AAAA,UACf,OAAO;AAAA,UACP,YAAY;AAAA,QAAA;AAAA,QAEhB,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,IACpB;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,YACT,SACK,GACA,KACA,KACA;;;"}
@@ -36,6 +36,11 @@ const project$ = createFetcher(
36
36
  category: "LIST",
37
37
  name: "secrets",
38
38
  targetTypeName: "ProjectSecretInfo"
39
+ },
40
+ {
41
+ category: "SCALAR",
42
+ name: "permissions",
43
+ targetTypeName: "ProjectPermissions"
39
44
  }
40
45
  ]
41
46
  ),
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ProjectFetcher.ts"],"sourcesContent":["import type { AcceptableVariables, UnresolvedVariables, FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {ProjectMembersInput} from '../inputs';\nimport type {MemberType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ProjectFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Project', T, TVariables> {\n\n on<XName extends ImplementationType<'Project'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ProjectFetcher<\n XName extends 'Project' ?\n T & X :\n WithTypeName<T, ImplementationType<'Project'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Project'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ProjectFetcher<T, TVariables>;\n\n\n readonly __typename: ProjectFetcher<T & {__typename: ImplementationType<'Project'>}, TVariables>;\n\n\n readonly id: ProjectFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": ProjectFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly name: ProjectFetcher<T & {readonly \"name\": string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": ProjectFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly slug: ProjectFetcher<T & {readonly \"slug\": string}, TVariables>;\n\n \"slug+\"<\n XAlias extends string = \"slug\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"slug\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~slug\": ProjectFetcher<Omit<T, 'slug'>, TVariables>;\n\n\n readonly config: ProjectFetcher<T & {readonly \"config\": unknown}, TVariables>;\n\n \"config+\"<\n XAlias extends string = \"config\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"config\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: unknown} : \n {readonly [key in XAlias]: unknown}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~config\": ProjectFetcher<Omit<T, 'config'>, TVariables>;\n\n\n roles<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'RoleDefinition', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"roles\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n roles<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"roles\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'RoleDefinition', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"roles\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n members<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"members\": ReadonlyArray<X>}, \n TVariables & XVariables & ProjectArgs[\"members\"]\n >;\n\n members<\n XArgs extends AcceptableVariables<ProjectArgs['members']>, \n X extends object, \n XVariables extends object\n >(\n args: XArgs, \n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"members\": ReadonlyArray<X>}, \n TVariables & XVariables & UnresolvedVariables<XArgs, ProjectArgs['members']>\n >;\n\n members<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"members\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"members\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & ProjectArgs[\"members\"] & XDirectiveVariables\n >;\n\n members<\n XArgs extends AcceptableVariables<ProjectArgs['members']>, \n X extends object, \n XVariables extends object, \n XAlias extends string = \"members\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n args: XArgs, \n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"members\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & UnresolvedVariables<XArgs, ProjectArgs['members']> & XDirectiveVariables\n >;\n\n\n apiKeys<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ApiKey', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"apiKeys\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n apiKeys<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"apiKeys\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ApiKey', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"apiKeys\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n secrets<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectSecretInfo', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"secrets\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n secrets<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"secrets\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectSecretInfo', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"secrets\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n}\n\nexport const project$: ProjectFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Project\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n \"name\", \n \"slug\", \n \"config\", \n {\n category: \"LIST\", \n name: \"roles\", \n targetTypeName: \"RoleDefinition\"\n }, \n {\n category: \"LIST\", \n name: \"members\", \n argGraphQLTypeMap: {\n input: 'ProjectMembersInput', \n memberType: 'MemberType'\n }, \n targetTypeName: \"ProjectIdentityRelation\"\n }, \n {\n category: \"LIST\", \n name: \"apiKeys\", \n targetTypeName: \"ApiKey\"\n }, \n {\n category: \"LIST\", \n name: \"secrets\", \n targetTypeName: \"ProjectSecretInfo\"\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const project$$ = \n project$\n .id\n .name\n .slug\n .config\n;\n\nexport interface ProjectArgs {\n\n readonly members: {\n readonly input?: ProjectMembersInput, \n readonly memberType?: MemberType\n }\n}\n"],"names":[],"mappings":";;AA2RO,MAAM,WACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,mBAAmB;AAAA,UACf,OAAO;AAAA,UACP,YAAY;AAAA,QAAA;AAAA,QAEhB,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,IACpB;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,YACT,SACK,GACA,KACA,KACA;"}
1
+ {"version":3,"file":"ProjectFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ProjectFetcher.ts"],"sourcesContent":["import type { AcceptableVariables, UnresolvedVariables, FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\nimport type {ProjectMembersInput} from '../inputs';\nimport type {MemberType} from '../enums';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ProjectFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'Project', T, TVariables> {\n\n on<XName extends ImplementationType<'Project'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ProjectFetcher<\n XName extends 'Project' ?\n T & X :\n WithTypeName<T, ImplementationType<'Project'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'Project'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ProjectFetcher<T, TVariables>;\n\n\n readonly __typename: ProjectFetcher<T & {__typename: ImplementationType<'Project'>}, TVariables>;\n\n\n readonly id: ProjectFetcher<T & {readonly \"id\": string}, TVariables>;\n\n \"id+\"<\n XAlias extends string = \"id\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"id\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~id\": ProjectFetcher<Omit<T, 'id'>, TVariables>;\n\n\n readonly name: ProjectFetcher<T & {readonly \"name\": string}, TVariables>;\n\n \"name+\"<\n XAlias extends string = \"name\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"name\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~name\": ProjectFetcher<Omit<T, 'name'>, TVariables>;\n\n\n readonly slug: ProjectFetcher<T & {readonly \"slug\": string}, TVariables>;\n\n \"slug+\"<\n XAlias extends string = \"slug\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"slug\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: string} : \n {readonly [key in XAlias]: string}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~slug\": ProjectFetcher<Omit<T, 'slug'>, TVariables>;\n\n\n readonly config: ProjectFetcher<T & {readonly \"config\": unknown}, TVariables>;\n\n \"config+\"<\n XAlias extends string = \"config\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"config\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: unknown} : \n {readonly [key in XAlias]: unknown}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~config\": ProjectFetcher<Omit<T, 'config'>, TVariables>;\n\n\n roles<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'RoleDefinition', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"roles\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n roles<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"roles\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'RoleDefinition', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"roles\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n members<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"members\": ReadonlyArray<X>}, \n TVariables & XVariables & ProjectArgs[\"members\"]\n >;\n\n members<\n XArgs extends AcceptableVariables<ProjectArgs['members']>, \n X extends object, \n XVariables extends object\n >(\n args: XArgs, \n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"members\": ReadonlyArray<X>}, \n TVariables & XVariables & UnresolvedVariables<XArgs, ProjectArgs['members']>\n >;\n\n members<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"members\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"members\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & ProjectArgs[\"members\"] & XDirectiveVariables\n >;\n\n members<\n XArgs extends AcceptableVariables<ProjectArgs['members']>, \n X extends object, \n XVariables extends object, \n XAlias extends string = \"members\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n args: XArgs, \n child: ObjectFetcher<'ProjectIdentityRelation', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"members\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & UnresolvedVariables<XArgs, ProjectArgs['members']> & XDirectiveVariables\n >;\n\n\n apiKeys<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ApiKey', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"apiKeys\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n apiKeys<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"apiKeys\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ApiKey', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"apiKeys\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n secrets<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectSecretInfo', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"secrets\": ReadonlyArray<X>}, \n TVariables & XVariables\n >;\n\n secrets<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"secrets\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectSecretInfo', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"secrets\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: ReadonlyArray<X>} : \n {readonly [key in XAlias]: ReadonlyArray<X>}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n\n\n permissions<\n X extends object, \n XVariables extends object\n >(\n child: ObjectFetcher<'ProjectPermissions', X, XVariables>\n ): ProjectFetcher<\n T & {readonly \"permissions\": X}, \n TVariables & XVariables\n >;\n\n permissions<\n X extends object, \n XVariables extends object, \n XAlias extends string = \"permissions\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n child: ObjectFetcher<'ProjectPermissions', X, XVariables>, \n optionsConfigurer: (\n options: FieldOptions<\"permissions\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: X} : \n {readonly [key in XAlias]: X}\n ), \n TVariables & XVariables & XDirectiveVariables\n >;\n}\n\nexport const project$: ProjectFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"Project\", \n \"OBJECT\", \n [], \n [\n {\n category: \"ID\", \n name: \"id\"\n }, \n \"name\", \n \"slug\", \n \"config\", \n {\n category: \"LIST\", \n name: \"roles\", \n targetTypeName: \"RoleDefinition\"\n }, \n {\n category: \"LIST\", \n name: \"members\", \n argGraphQLTypeMap: {\n input: 'ProjectMembersInput', \n memberType: 'MemberType'\n }, \n targetTypeName: \"ProjectIdentityRelation\"\n }, \n {\n category: \"LIST\", \n name: \"apiKeys\", \n targetTypeName: \"ApiKey\"\n }, \n {\n category: \"LIST\", \n name: \"secrets\", \n targetTypeName: \"ProjectSecretInfo\"\n }, \n {\n category: \"SCALAR\", \n name: \"permissions\", \n targetTypeName: \"ProjectPermissions\"\n }\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const project$$ = \n project$\n .id\n .name\n .slug\n .config\n;\n\nexport interface ProjectArgs {\n\n readonly members: {\n readonly input?: ProjectMembersInput, \n readonly memberType?: MemberType\n }\n}\n"],"names":[],"mappings":";;AA0TO,MAAM,WACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,MAAA;AAAA,MAEV;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,mBAAmB;AAAA,UACf,OAAO;AAAA,UACP,YAAY;AAAA,QAAA;AAAA,QAEhB,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,MAEpB;AAAA,QACI,UAAU;AAAA,QACV,MAAM;AAAA,QACN,gBAAgB;AAAA,MAAA;AAAA,IACpB;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,YACT,SACK,GACA,KACA,KACA;"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const EnumInputMetadata = require("../EnumInputMetadata.cjs");
4
+ const graphqlTsClientApi = require("graphql-ts-client-api");
5
+ const projectPermissions$ = graphqlTsClientApi.createFetcher(
6
+ graphqlTsClientApi.createFetchableType(
7
+ "ProjectPermissions",
8
+ "EMBEDDED",
9
+ [],
10
+ [
11
+ "canViewMembers",
12
+ "canAddMember",
13
+ "canUpdateMember",
14
+ "canRemoveMember",
15
+ "canViewSecrets",
16
+ "canSetSecret",
17
+ "canCreateApiKey",
18
+ "canUpdate"
19
+ ]
20
+ ),
21
+ EnumInputMetadata.ENUM_INPUT_METADATA,
22
+ void 0
23
+ );
24
+ const projectPermissions$$ = projectPermissions$.canViewMembers.canAddMember.canUpdateMember.canRemoveMember.canViewSecrets.canSetSecret.canCreateApiKey.canUpdate;
25
+ exports.projectPermissions$ = projectPermissions$;
26
+ exports.projectPermissions$$ = projectPermissions$$;
27
+ //# sourceMappingURL=ProjectPermissionsFetcher.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectPermissionsFetcher.cjs","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ProjectPermissionsFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ProjectPermissionsFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ProjectPermissions', T, TVariables> {\n\n on<XName extends ImplementationType<'ProjectPermissions'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ProjectPermissionsFetcher<\n XName extends 'ProjectPermissions' ?\n T & X :\n WithTypeName<T, ImplementationType<'ProjectPermissions'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ProjectPermissions'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ProjectPermissionsFetcher<T, TVariables>;\n\n\n readonly __typename: ProjectPermissionsFetcher<T & {__typename: ImplementationType<'ProjectPermissions'>}, TVariables>;\n\n\n readonly canViewMembers: ProjectPermissionsFetcher<T & {readonly \"canViewMembers\": boolean}, TVariables>;\n\n \"canViewMembers+\"<\n XAlias extends string = \"canViewMembers\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canViewMembers\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canViewMembers\": ProjectPermissionsFetcher<Omit<T, 'canViewMembers'>, TVariables>;\n\n\n readonly canAddMember: ProjectPermissionsFetcher<T & {readonly \"canAddMember\": boolean}, TVariables>;\n\n \"canAddMember+\"<\n XAlias extends string = \"canAddMember\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canAddMember\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canAddMember\": ProjectPermissionsFetcher<Omit<T, 'canAddMember'>, TVariables>;\n\n\n readonly canUpdateMember: ProjectPermissionsFetcher<T & {readonly \"canUpdateMember\": boolean}, TVariables>;\n\n \"canUpdateMember+\"<\n XAlias extends string = \"canUpdateMember\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canUpdateMember\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canUpdateMember\": ProjectPermissionsFetcher<Omit<T, 'canUpdateMember'>, TVariables>;\n\n\n readonly canRemoveMember: ProjectPermissionsFetcher<T & {readonly \"canRemoveMember\": boolean}, TVariables>;\n\n \"canRemoveMember+\"<\n XAlias extends string = \"canRemoveMember\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canRemoveMember\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canRemoveMember\": ProjectPermissionsFetcher<Omit<T, 'canRemoveMember'>, TVariables>;\n\n\n readonly canViewSecrets: ProjectPermissionsFetcher<T & {readonly \"canViewSecrets\": boolean}, TVariables>;\n\n \"canViewSecrets+\"<\n XAlias extends string = \"canViewSecrets\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canViewSecrets\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canViewSecrets\": ProjectPermissionsFetcher<Omit<T, 'canViewSecrets'>, TVariables>;\n\n\n readonly canSetSecret: ProjectPermissionsFetcher<T & {readonly \"canSetSecret\": boolean}, TVariables>;\n\n \"canSetSecret+\"<\n XAlias extends string = \"canSetSecret\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canSetSecret\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canSetSecret\": ProjectPermissionsFetcher<Omit<T, 'canSetSecret'>, TVariables>;\n\n\n readonly canCreateApiKey: ProjectPermissionsFetcher<T & {readonly \"canCreateApiKey\": boolean}, TVariables>;\n\n \"canCreateApiKey+\"<\n XAlias extends string = \"canCreateApiKey\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canCreateApiKey\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canCreateApiKey\": ProjectPermissionsFetcher<Omit<T, 'canCreateApiKey'>, TVariables>;\n\n\n readonly canUpdate: ProjectPermissionsFetcher<T & {readonly \"canUpdate\": boolean}, TVariables>;\n\n \"canUpdate+\"<\n XAlias extends string = \"canUpdate\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canUpdate\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canUpdate\": ProjectPermissionsFetcher<Omit<T, 'canUpdate'>, TVariables>;\n}\n\nexport const projectPermissions$: ProjectPermissionsFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ProjectPermissions\", \n \"EMBEDDED\", \n [], \n [\n \"canViewMembers\", \n \"canAddMember\", \n \"canUpdateMember\", \n \"canRemoveMember\", \n \"canViewSecrets\", \n \"canSetSecret\", \n \"canCreateApiKey\", \n \"canUpdate\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const projectPermissions$$ = \n projectPermissions$\n .canViewMembers\n .canAddMember\n .canUpdateMember\n .canRemoveMember\n .canViewSecrets\n .canSetSecret\n .canCreateApiKey\n .canUpdate\n;\n"],"names":["createFetcher","createFetchableType","ENUM_INPUT_METADATA"],"mappings":";;;;AAmNO,MAAM,sBACTA,mBAAAA;AAAAA,EACIC,mBAAAA;AAAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJC,kBAAAA;AAAAA,EACA;AACJ;AAGG,MAAM,uBACT,oBACK,eACA,aACA,gBACA,gBACA,eACA,aACA,gBACA;;;"}
@@ -0,0 +1,27 @@
1
+ import { ENUM_INPUT_METADATA } from "../EnumInputMetadata.js";
2
+ import { createFetcher, createFetchableType } from "graphql-ts-client-api";
3
+ const projectPermissions$ = createFetcher(
4
+ createFetchableType(
5
+ "ProjectPermissions",
6
+ "EMBEDDED",
7
+ [],
8
+ [
9
+ "canViewMembers",
10
+ "canAddMember",
11
+ "canUpdateMember",
12
+ "canRemoveMember",
13
+ "canViewSecrets",
14
+ "canSetSecret",
15
+ "canCreateApiKey",
16
+ "canUpdate"
17
+ ]
18
+ ),
19
+ ENUM_INPUT_METADATA,
20
+ void 0
21
+ );
22
+ const projectPermissions$$ = projectPermissions$.canViewMembers.canAddMember.canUpdateMember.canRemoveMember.canViewSecrets.canSetSecret.canCreateApiKey.canUpdate;
23
+ export {
24
+ projectPermissions$,
25
+ projectPermissions$$
26
+ };
27
+ //# sourceMappingURL=ProjectPermissionsFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectPermissionsFetcher.js","sources":["../../../../../../packages/graphql-client-tenant/src/generated/fetchers/ProjectPermissionsFetcher.ts"],"sourcesContent":["import type { FieldOptions, DirectiveArgs } from 'graphql-ts-client-api';\nimport { ENUM_INPUT_METADATA } from '../EnumInputMetadata';\nimport type { ObjectFetcher } from 'graphql-ts-client-api';\nimport { createFetcher, createFetchableType } from 'graphql-ts-client-api';\nimport type { WithTypeName, ImplementationType } from '../CommonTypes';\n\n/*\n * Any instance of this interface is immutable,\n * all the properties and functions can only be used to create new instances,\n * they cannot modify the current instance.\n * \n * So any instance of this interface is reuseable.\n */\nexport interface ProjectPermissionsFetcher<T extends object, TVariables extends object> extends ObjectFetcher<'ProjectPermissions', T, TVariables> {\n\n on<XName extends ImplementationType<'ProjectPermissions'>, X extends object, XVariables extends object>(\n child: ObjectFetcher<XName, X, XVariables>, \n fragmentName?: string // undefined: inline fragment; otherwise, otherwise, real fragment\n ): ProjectPermissionsFetcher<\n XName extends 'ProjectPermissions' ?\n T & X :\n WithTypeName<T, ImplementationType<'ProjectPermissions'>> & (\n WithTypeName<X, ImplementationType<XName>> | \n {__typename: Exclude<ImplementationType<'ProjectPermissions'>, ImplementationType<XName>>}\n ), \n TVariables & XVariables\n >;\n\n\n directive(name: string, args?: DirectiveArgs): ProjectPermissionsFetcher<T, TVariables>;\n\n\n readonly __typename: ProjectPermissionsFetcher<T & {__typename: ImplementationType<'ProjectPermissions'>}, TVariables>;\n\n\n readonly canViewMembers: ProjectPermissionsFetcher<T & {readonly \"canViewMembers\": boolean}, TVariables>;\n\n \"canViewMembers+\"<\n XAlias extends string = \"canViewMembers\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canViewMembers\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canViewMembers\": ProjectPermissionsFetcher<Omit<T, 'canViewMembers'>, TVariables>;\n\n\n readonly canAddMember: ProjectPermissionsFetcher<T & {readonly \"canAddMember\": boolean}, TVariables>;\n\n \"canAddMember+\"<\n XAlias extends string = \"canAddMember\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canAddMember\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canAddMember\": ProjectPermissionsFetcher<Omit<T, 'canAddMember'>, TVariables>;\n\n\n readonly canUpdateMember: ProjectPermissionsFetcher<T & {readonly \"canUpdateMember\": boolean}, TVariables>;\n\n \"canUpdateMember+\"<\n XAlias extends string = \"canUpdateMember\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canUpdateMember\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canUpdateMember\": ProjectPermissionsFetcher<Omit<T, 'canUpdateMember'>, TVariables>;\n\n\n readonly canRemoveMember: ProjectPermissionsFetcher<T & {readonly \"canRemoveMember\": boolean}, TVariables>;\n\n \"canRemoveMember+\"<\n XAlias extends string = \"canRemoveMember\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canRemoveMember\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canRemoveMember\": ProjectPermissionsFetcher<Omit<T, 'canRemoveMember'>, TVariables>;\n\n\n readonly canViewSecrets: ProjectPermissionsFetcher<T & {readonly \"canViewSecrets\": boolean}, TVariables>;\n\n \"canViewSecrets+\"<\n XAlias extends string = \"canViewSecrets\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canViewSecrets\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canViewSecrets\": ProjectPermissionsFetcher<Omit<T, 'canViewSecrets'>, TVariables>;\n\n\n readonly canSetSecret: ProjectPermissionsFetcher<T & {readonly \"canSetSecret\": boolean}, TVariables>;\n\n \"canSetSecret+\"<\n XAlias extends string = \"canSetSecret\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canSetSecret\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canSetSecret\": ProjectPermissionsFetcher<Omit<T, 'canSetSecret'>, TVariables>;\n\n\n readonly canCreateApiKey: ProjectPermissionsFetcher<T & {readonly \"canCreateApiKey\": boolean}, TVariables>;\n\n \"canCreateApiKey+\"<\n XAlias extends string = \"canCreateApiKey\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canCreateApiKey\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canCreateApiKey\": ProjectPermissionsFetcher<Omit<T, 'canCreateApiKey'>, TVariables>;\n\n\n readonly canUpdate: ProjectPermissionsFetcher<T & {readonly \"canUpdate\": boolean}, TVariables>;\n\n \"canUpdate+\"<\n XAlias extends string = \"canUpdate\", \n XDirectives extends { readonly [key: string]: DirectiveArgs } = {}, \n XDirectiveVariables extends object = {}\n >(\n optionsConfigurer: (\n options: FieldOptions<\"canUpdate\", {}, {}>\n ) => FieldOptions<XAlias, XDirectives, XDirectiveVariables>\n ): ProjectPermissionsFetcher<\n T & (\n XDirectives extends { readonly include: any } | { readonly skip: any } ? \n {readonly [key in XAlias]?: boolean} : \n {readonly [key in XAlias]: boolean}\n ), \n TVariables & XDirectiveVariables\n >;\n\n readonly \"~canUpdate\": ProjectPermissionsFetcher<Omit<T, 'canUpdate'>, TVariables>;\n}\n\nexport const projectPermissions$: ProjectPermissionsFetcher<{}, {}> = \n createFetcher(\n createFetchableType(\n \"ProjectPermissions\", \n \"EMBEDDED\", \n [], \n [\n \"canViewMembers\", \n \"canAddMember\", \n \"canUpdateMember\", \n \"canRemoveMember\", \n \"canViewSecrets\", \n \"canSetSecret\", \n \"canCreateApiKey\", \n \"canUpdate\"\n ]\n ), \n ENUM_INPUT_METADATA, \n undefined\n )\n;\n\nexport const projectPermissions$$ = \n projectPermissions$\n .canViewMembers\n .canAddMember\n .canUpdateMember\n .canRemoveMember\n .canViewSecrets\n .canSetSecret\n .canCreateApiKey\n .canUpdate\n;\n"],"names":[],"mappings":";;AAmNO,MAAM,sBACT;AAAA,EACI;AAAA,IACI;AAAA,IACA;AAAA,IACA,CAAA;AAAA,IACA;AAAA,MACI;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EACJ;AAAA,EAEJ;AAAA,EACA;AACJ;AAGG,MAAM,uBACT,oBACK,eACA,aACA,gBACA,gBACA,eACA,aACA,gBACA;"}
@@ -84,6 +84,16 @@ const query$ = graphqlTsClientApi.createFetcher(
84
84
  name: "authPolicies",
85
85
  targetTypeName: "AuthPolicy"
86
86
  },
87
+ {
88
+ category: "LIST",
89
+ name: "customRoles",
90
+ targetTypeName: "CustomRole"
91
+ },
92
+ {
93
+ category: "LIST",
94
+ name: "customRolePermissions",
95
+ targetTypeName: "CustomRolePermissionDefinition"
96
+ },
87
97
  {
88
98
  category: "SCALAR",
89
99
  name: "authLog",