@buildery/ts-api-kit 6.2.1 → 7.0.0

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 (359) hide show
  1. package/dist/Api.d.ts +21 -21
  2. package/dist/Api.js +38 -42
  3. package/dist/Api.js.map +1 -1
  4. package/dist/ApiConfigs.js +12 -16
  5. package/dist/ApiConfigs.js.map +1 -1
  6. package/dist/compose/index.d.ts +1 -1
  7. package/dist/compose/index.js +1 -17
  8. package/dist/compose/index.js.map +1 -1
  9. package/dist/compose/useSingleton.d.ts +1 -1
  10. package/dist/compose/useSingleton.js +6 -10
  11. package/dist/compose/useSingleton.js.map +1 -1
  12. package/dist/constants.d.ts +1 -1
  13. package/dist/constants.js +8 -11
  14. package/dist/constants.js.map +1 -1
  15. package/dist/features/api/AbstractApi.d.ts +1 -1
  16. package/dist/features/api/AbstractApi.js +4 -9
  17. package/dist/features/api/AbstractApi.js.map +1 -1
  18. package/dist/features/api/index.d.ts +1 -1
  19. package/dist/features/api/index.js +1 -17
  20. package/dist/features/api/index.js.map +1 -1
  21. package/dist/features/auth/errors/AuthError.js +1 -5
  22. package/dist/features/auth/errors/AuthError.js.map +1 -1
  23. package/dist/features/auth/errors/index.d.ts +1 -1
  24. package/dist/features/auth/errors/index.js +1 -17
  25. package/dist/features/auth/errors/index.js.map +1 -1
  26. package/dist/features/auth/index.d.ts +3 -3
  27. package/dist/features/auth/index.js +3 -19
  28. package/dist/features/auth/index.js.map +1 -1
  29. package/dist/features/auth/services/AuthAxiosService.js +10 -15
  30. package/dist/features/auth/services/AuthAxiosService.js.map +1 -1
  31. package/dist/features/auth/services/AuthService.d.ts +2 -2
  32. package/dist/features/auth/services/AuthService.js +5 -9
  33. package/dist/features/auth/services/AuthService.js.map +1 -1
  34. package/dist/features/auth/services/AuthTokensService.d.ts +5 -5
  35. package/dist/features/auth/services/AuthTokensService.js +14 -18
  36. package/dist/features/auth/services/AuthTokensService.js.map +1 -1
  37. package/dist/features/auth/services/index.d.ts +3 -3
  38. package/dist/features/auth/services/index.js +3 -19
  39. package/dist/features/auth/services/index.js.map +1 -1
  40. package/dist/features/auth/types/AuthActivateUser.js +1 -2
  41. package/dist/features/auth/types/AuthApiTokens.js +1 -2
  42. package/dist/features/auth/types/AuthChangePassword.js +1 -2
  43. package/dist/features/auth/types/AuthCode.js +1 -2
  44. package/dist/features/auth/types/AuthConfirmResetPassword.js +1 -2
  45. package/dist/features/auth/types/AuthSignIn.js +1 -2
  46. package/dist/features/auth/types/AuthUserJWT.js +1 -2
  47. package/dist/features/auth/types/index.d.ts +7 -7
  48. package/dist/features/auth/types/index.js +7 -23
  49. package/dist/features/auth/types/index.js.map +1 -1
  50. package/dist/features/callout/Callout.d.ts +2 -2
  51. package/dist/features/callout/Callout.js +11 -14
  52. package/dist/features/callout/Callout.js.map +1 -1
  53. package/dist/features/callout/CalloutMiddlewareService.d.ts +2 -2
  54. package/dist/features/callout/CalloutMiddlewareService.js +6 -10
  55. package/dist/features/callout/CalloutMiddlewareService.js.map +1 -1
  56. package/dist/features/callout/CalloutMiddlewares.d.ts +1 -1
  57. package/dist/features/callout/CalloutMiddlewares.js +9 -13
  58. package/dist/features/callout/CalloutMiddlewares.js.map +1 -1
  59. package/dist/features/callout/Calloutable.d.ts +2 -2
  60. package/dist/features/callout/Calloutable.js +6 -10
  61. package/dist/features/callout/Calloutable.js.map +1 -1
  62. package/dist/features/callout/index.d.ts +5 -5
  63. package/dist/features/callout/index.js +5 -21
  64. package/dist/features/callout/index.js.map +1 -1
  65. package/dist/features/callout/types.d.ts +2 -2
  66. package/dist/features/callout/types.js +1 -2
  67. package/dist/features/crud/index.d.ts +2 -2
  68. package/dist/features/crud/index.js +2 -18
  69. package/dist/features/crud/index.js.map +1 -1
  70. package/dist/features/crud/operations/abstract/AbstractCRUDApi.d.ts +2 -2
  71. package/dist/features/crud/operations/abstract/AbstractCRUDApi.js +3 -6
  72. package/dist/features/crud/operations/abstract/AbstractCRUDApi.js.map +1 -1
  73. package/dist/features/crud/operations/abstract/index.d.ts +1 -1
  74. package/dist/features/crud/operations/abstract/index.js +1 -17
  75. package/dist/features/crud/operations/abstract/index.js.map +1 -1
  76. package/dist/features/crud/operations/index.d.ts +2 -2
  77. package/dist/features/crud/operations/index.js +2 -18
  78. package/dist/features/crud/operations/index.js.map +1 -1
  79. package/dist/features/crud/operations/operations/Create.d.ts +1 -1
  80. package/dist/features/crud/operations/operations/Create.js +5 -10
  81. package/dist/features/crud/operations/operations/Create.js.map +1 -1
  82. package/dist/features/crud/operations/operations/CreateBulk.d.ts +1 -1
  83. package/dist/features/crud/operations/operations/CreateBulk.js +5 -9
  84. package/dist/features/crud/operations/operations/CreateBulk.js.map +1 -1
  85. package/dist/features/crud/operations/operations/DeleteByFilters.d.ts +1 -1
  86. package/dist/features/crud/operations/operations/DeleteByFilters.js +5 -9
  87. package/dist/features/crud/operations/operations/DeleteByFilters.js.map +1 -1
  88. package/dist/features/crud/operations/operations/DeleteById.d.ts +1 -1
  89. package/dist/features/crud/operations/operations/DeleteById.js +6 -10
  90. package/dist/features/crud/operations/operations/DeleteById.js.map +1 -1
  91. package/dist/features/crud/operations/operations/DeleteByIds.d.ts +1 -1
  92. package/dist/features/crud/operations/operations/DeleteByIds.js +7 -11
  93. package/dist/features/crud/operations/operations/DeleteByIds.js.map +1 -1
  94. package/dist/features/crud/operations/operations/GetAll.d.ts +1 -1
  95. package/dist/features/crud/operations/operations/GetAll.js +6 -10
  96. package/dist/features/crud/operations/operations/GetAll.js.map +1 -1
  97. package/dist/features/crud/operations/operations/GetByFilters.d.ts +2 -2
  98. package/dist/features/crud/operations/operations/GetByFilters.js +6 -10
  99. package/dist/features/crud/operations/operations/GetByFilters.js.map +1 -1
  100. package/dist/features/crud/operations/operations/GetById.d.ts +1 -1
  101. package/dist/features/crud/operations/operations/GetById.js +6 -10
  102. package/dist/features/crud/operations/operations/GetById.js.map +1 -1
  103. package/dist/features/crud/operations/operations/GetByIds.d.ts +1 -1
  104. package/dist/features/crud/operations/operations/GetByIds.js +6 -10
  105. package/dist/features/crud/operations/operations/GetByIds.js.map +1 -1
  106. package/dist/features/crud/operations/operations/Update.d.ts +1 -1
  107. package/dist/features/crud/operations/operations/Update.js +6 -10
  108. package/dist/features/crud/operations/operations/Update.js.map +1 -1
  109. package/dist/features/crud/operations/operations/UpdateBulk.d.ts +1 -1
  110. package/dist/features/crud/operations/operations/UpdateBulk.js +6 -10
  111. package/dist/features/crud/operations/operations/UpdateBulk.js.map +1 -1
  112. package/dist/features/crud/operations/operations/Upsert.d.ts +1 -1
  113. package/dist/features/crud/operations/operations/Upsert.js +6 -10
  114. package/dist/features/crud/operations/operations/Upsert.js.map +1 -1
  115. package/dist/features/crud/operations/operations/UpsertBulk.d.ts +1 -1
  116. package/dist/features/crud/operations/operations/UpsertBulk.js +6 -10
  117. package/dist/features/crud/operations/operations/UpsertBulk.js.map +1 -1
  118. package/dist/features/crud/operations/operations/index.d.ts +13 -13
  119. package/dist/features/crud/operations/operations/index.js +13 -29
  120. package/dist/features/crud/operations/operations/index.js.map +1 -1
  121. package/dist/features/crud/sync/compose/index.d.ts +1 -1
  122. package/dist/features/crud/sync/compose/index.js +1 -17
  123. package/dist/features/crud/sync/compose/index.js.map +1 -1
  124. package/dist/features/crud/sync/compose/useCrudSync.d.ts +4 -4
  125. package/dist/features/crud/sync/compose/useCrudSync.js +34 -33
  126. package/dist/features/crud/sync/compose/useCrudSync.js.map +1 -1
  127. package/dist/features/crud/sync/constants/CrudSyncAction.js +2 -5
  128. package/dist/features/crud/sync/constants/CrudSyncAction.js.map +1 -1
  129. package/dist/features/crud/sync/constants/CrudSyncConstants.js +1 -4
  130. package/dist/features/crud/sync/constants/CrudSyncConstants.js.map +1 -1
  131. package/dist/features/crud/sync/constants/index.d.ts +2 -2
  132. package/dist/features/crud/sync/constants/index.js +2 -18
  133. package/dist/features/crud/sync/constants/index.js.map +1 -1
  134. package/dist/features/crud/sync/error/CrudSyncError.js +1 -5
  135. package/dist/features/crud/sync/error/CrudSyncError.js.map +1 -1
  136. package/dist/features/crud/sync/error/index.d.ts +1 -1
  137. package/dist/features/crud/sync/error/index.js +1 -17
  138. package/dist/features/crud/sync/error/index.js.map +1 -1
  139. package/dist/features/crud/sync/index.d.ts +6 -6
  140. package/dist/features/crud/sync/index.js +6 -22
  141. package/dist/features/crud/sync/index.js.map +1 -1
  142. package/dist/features/crud/sync/middlewares/PushCrudEvent.d.ts +3 -3
  143. package/dist/features/crud/sync/middlewares/PushCrudEvent.js +6 -10
  144. package/dist/features/crud/sync/middlewares/PushCrudEvent.js.map +1 -1
  145. package/dist/features/crud/sync/middlewares/index.d.ts +1 -1
  146. package/dist/features/crud/sync/middlewares/index.js +1 -17
  147. package/dist/features/crud/sync/middlewares/index.js.map +1 -1
  148. package/dist/features/crud/sync/services/CrudSyncService.d.ts +1 -1
  149. package/dist/features/crud/sync/services/CrudSyncService.js +3 -7
  150. package/dist/features/crud/sync/services/CrudSyncService.js.map +1 -1
  151. package/dist/features/crud/sync/services/index.d.ts +1 -1
  152. package/dist/features/crud/sync/services/index.js +1 -17
  153. package/dist/features/crud/sync/services/index.js.map +1 -1
  154. package/dist/features/crud/sync/sync/CrudSyncCreate.d.ts +2 -2
  155. package/dist/features/crud/sync/sync/CrudSyncCreate.js +6 -10
  156. package/dist/features/crud/sync/sync/CrudSyncCreate.js.map +1 -1
  157. package/dist/features/crud/sync/sync/CrudSyncDelete.d.ts +2 -2
  158. package/dist/features/crud/sync/sync/CrudSyncDelete.js +6 -10
  159. package/dist/features/crud/sync/sync/CrudSyncDelete.js.map +1 -1
  160. package/dist/features/crud/sync/sync/CrudSyncUpdate.d.ts +2 -2
  161. package/dist/features/crud/sync/sync/CrudSyncUpdate.js +6 -10
  162. package/dist/features/crud/sync/sync/CrudSyncUpdate.js.map +1 -1
  163. package/dist/features/crud/sync/sync/CrudSyncUpsert.d.ts +2 -2
  164. package/dist/features/crud/sync/sync/CrudSyncUpsert.js +5 -9
  165. package/dist/features/crud/sync/sync/CrudSyncUpsert.js.map +1 -1
  166. package/dist/features/crud/sync/sync/abstract/AbstractCrudSync.d.ts +1 -1
  167. package/dist/features/crud/sync/sync/abstract/AbstractCrudSync.js +4 -8
  168. package/dist/features/crud/sync/sync/abstract/AbstractCrudSync.js.map +1 -1
  169. package/dist/features/crud/sync/sync/abstract/index.d.ts +1 -1
  170. package/dist/features/crud/sync/sync/abstract/index.js +1 -17
  171. package/dist/features/crud/sync/sync/abstract/index.js.map +1 -1
  172. package/dist/features/crud/sync/sync/index.d.ts +5 -5
  173. package/dist/features/crud/sync/sync/index.js +5 -21
  174. package/dist/features/crud/sync/sync/index.js.map +1 -1
  175. package/dist/features/index.d.ts +4 -4
  176. package/dist/features/index.js +4 -20
  177. package/dist/features/index.js.map +1 -1
  178. package/dist/index.d.ts +8 -8
  179. package/dist/index.js +14 -33
  180. package/dist/index.js.map +1 -1
  181. package/dist/main.d.ts +1 -0
  182. package/dist/main.js +1 -0
  183. package/dist/micro/auth/AuthApi.d.ts +1 -1
  184. package/dist/micro/auth/AuthApi.js +20 -24
  185. package/dist/micro/auth/AuthApi.js.map +1 -1
  186. package/dist/micro/auth/WorkspaceApi.d.ts +1 -1
  187. package/dist/micro/auth/WorkspaceApi.js +6 -10
  188. package/dist/micro/auth/WorkspaceApi.js.map +1 -1
  189. package/dist/micro/auth/index.d.ts +2 -2
  190. package/dist/micro/auth/index.js +2 -18
  191. package/dist/micro/auth/index.js.map +1 -1
  192. package/dist/micro/auth/types/InitWorkspace.d.ts +1 -1
  193. package/dist/micro/auth/types/InitWorkspace.js +1 -2
  194. package/dist/micro/auth/types/index.d.ts +1 -1
  195. package/dist/micro/auth/types/index.js +1 -17
  196. package/dist/micro/auth/types/index.js.map +1 -1
  197. package/dist/micro/blueprint/types.js +1 -2
  198. package/dist/micro/index.d.ts +4 -4
  199. package/dist/micro/index.js +4 -20
  200. package/dist/micro/index.js.map +1 -1
  201. package/dist/micro/query/FieldApi.d.ts +2 -2
  202. package/dist/micro/query/FieldApi.js +7 -11
  203. package/dist/micro/query/FieldApi.js.map +1 -1
  204. package/dist/micro/query/SObjectApi.d.ts +1 -1
  205. package/dist/micro/query/SObjectApi.js +4 -8
  206. package/dist/micro/query/SObjectApi.js.map +1 -1
  207. package/dist/micro/query/error/ObjectApiError.js +1 -5
  208. package/dist/micro/query/error/ObjectApiError.js.map +1 -1
  209. package/dist/micro/query/error/index.d.ts +1 -1
  210. package/dist/micro/query/error/index.js +1 -17
  211. package/dist/micro/query/error/index.js.map +1 -1
  212. package/dist/micro/query/index.d.ts +4 -4
  213. package/dist/micro/query/index.js +4 -20
  214. package/dist/micro/query/index.js.map +1 -1
  215. package/dist/micro/query/types/FieldType.js +2 -5
  216. package/dist/micro/query/types/FieldType.js.map +1 -1
  217. package/dist/micro/query/types/PicklistValue.js +1 -2
  218. package/dist/micro/query/types/SObject.d.ts +1 -1
  219. package/dist/micro/query/types/SObject.js +1 -2
  220. package/dist/micro/query/types/SObjectField.d.ts +3 -3
  221. package/dist/micro/query/types/SObjectField.js +1 -2
  222. package/dist/micro/query/types/index.d.ts +4 -4
  223. package/dist/micro/query/types/index.js +4 -20
  224. package/dist/micro/query/types/index.js.map +1 -1
  225. package/dist/micro/security/PermissionApi.d.ts +2 -2
  226. package/dist/micro/security/PermissionApi.js +7 -11
  227. package/dist/micro/security/PermissionApi.js.map +1 -1
  228. package/dist/micro/security/PermissionCategoryApi.d.ts +1 -1
  229. package/dist/micro/security/PermissionCategoryApi.js +4 -8
  230. package/dist/micro/security/PermissionCategoryApi.js.map +1 -1
  231. package/dist/micro/security/PermissionSetApi.d.ts +2 -2
  232. package/dist/micro/security/PermissionSetApi.js +6 -10
  233. package/dist/micro/security/PermissionSetApi.js.map +1 -1
  234. package/dist/micro/security/TeamApi.d.ts +2 -2
  235. package/dist/micro/security/TeamApi.js +6 -10
  236. package/dist/micro/security/TeamApi.js.map +1 -1
  237. package/dist/micro/security/index.d.ts +5 -5
  238. package/dist/micro/security/index.js +5 -21
  239. package/dist/micro/security/index.js.map +1 -1
  240. package/dist/micro/security/types/CalculatedPermissionAssignment.js +1 -2
  241. package/dist/micro/security/types/Permission.js +1 -2
  242. package/dist/micro/security/types/PermissionAssignment.js +1 -2
  243. package/dist/micro/security/types/PermissionCategory.js +1 -2
  244. package/dist/micro/security/types/PermissionDefinition.js +1 -2
  245. package/dist/micro/security/types/PermissionGroup.js +1 -2
  246. package/dist/micro/security/types/PermissionSet.d.ts +1 -1
  247. package/dist/micro/security/types/PermissionSet.js +1 -2
  248. package/dist/micro/security/types/PermissionSetAssignment.js +1 -2
  249. package/dist/micro/security/types/Team.d.ts +1 -1
  250. package/dist/micro/security/types/Team.js +1 -2
  251. package/dist/micro/security/types/TeamAssignment.js +1 -2
  252. package/dist/micro/security/types/index.d.ts +10 -10
  253. package/dist/micro/security/types/index.js +10 -26
  254. package/dist/micro/security/types/index.js.map +1 -1
  255. package/dist/micro/workspace/ModuleApi.d.ts +2 -2
  256. package/dist/micro/workspace/ModuleApi.js +7 -11
  257. package/dist/micro/workspace/ModuleApi.js.map +1 -1
  258. package/dist/micro/workspace/index.d.ts +2 -2
  259. package/dist/micro/workspace/index.js +2 -18
  260. package/dist/micro/workspace/index.js.map +1 -1
  261. package/dist/micro/workspace/types/CreateUser.js +1 -2
  262. package/dist/micro/workspace/types/EUserStatus.js +2 -5
  263. package/dist/micro/workspace/types/EUserStatus.js.map +1 -1
  264. package/dist/micro/workspace/types/Module.d.ts +1 -1
  265. package/dist/micro/workspace/types/Module.js +1 -2
  266. package/dist/micro/workspace/types/ModuleAction.js +1 -2
  267. package/dist/micro/workspace/types/User.d.ts +3 -3
  268. package/dist/micro/workspace/types/User.js +1 -2
  269. package/dist/micro/workspace/types/index.d.ts +5 -5
  270. package/dist/micro/workspace/types/index.js +5 -21
  271. package/dist/micro/workspace/types/index.js.map +1 -1
  272. package/dist/services/MapService.js +2 -6
  273. package/dist/services/MapService.js.map +1 -1
  274. package/dist/services/ResponseService.d.ts +1 -1
  275. package/dist/services/ResponseService.js +5 -12
  276. package/dist/services/ResponseService.js.map +1 -1
  277. package/dist/services/UrlService.d.ts +1 -1
  278. package/dist/services/UrlService.js +5 -10
  279. package/dist/services/UrlService.js.map +1 -1
  280. package/dist/services/index.d.ts +3 -3
  281. package/dist/services/index.js +3 -19
  282. package/dist/services/index.js.map +1 -1
  283. package/dist/types.d.ts +1 -1
  284. package/dist/types.js +4 -7
  285. package/dist/types.js.map +1 -1
  286. package/package.json +15 -12
  287. package/dist/features/callout/decorators/Calloutable.d.ts +0 -3
  288. package/dist/features/callout/decorators/Calloutable.js +0 -20
  289. package/dist/features/callout/decorators/Calloutable.js.map +0 -1
  290. package/dist/features/callout/decorators/index.d.ts +0 -1
  291. package/dist/features/callout/decorators/index.js +0 -18
  292. package/dist/features/callout/decorators/index.js.map +0 -1
  293. package/dist/features/callout/types/ApiCalloutMiddleware.d.ts +0 -2
  294. package/dist/features/callout/types/ApiCalloutMiddleware.js +0 -3
  295. package/dist/features/callout/types/ApiCalloutMiddleware.js.map +0 -1
  296. package/dist/features/callout/types/index.d.ts +0 -1
  297. package/dist/features/callout/types/index.js +0 -18
  298. package/dist/features/callout/types/index.js.map +0 -1
  299. package/dist/micro/security/types/IPermission.d.ts +0 -10
  300. package/dist/micro/security/types/IPermission.js +0 -3
  301. package/dist/micro/security/types/IPermission.js.map +0 -1
  302. package/dist/micro/security/types/IPermissionAssignment.d.ts +0 -6
  303. package/dist/micro/security/types/IPermissionAssignment.js +0 -3
  304. package/dist/micro/security/types/IPermissionAssignment.js.map +0 -1
  305. package/dist/micro/security/types/IPermissionCategory.d.ts +0 -5
  306. package/dist/micro/security/types/IPermissionCategory.js +0 -3
  307. package/dist/micro/security/types/IPermissionCategory.js.map +0 -1
  308. package/dist/micro/security/types/IPermissionDefinition.d.ts +0 -6
  309. package/dist/micro/security/types/IPermissionDefinition.js +0 -3
  310. package/dist/micro/security/types/IPermissionDefinition.js.map +0 -1
  311. package/dist/micro/security/types/IPermissionGroup.d.ts +0 -4
  312. package/dist/micro/security/types/IPermissionGroup.js +0 -3
  313. package/dist/micro/security/types/IPermissionGroup.js.map +0 -1
  314. package/dist/micro/security/types/IPermissionSet.d.ts +0 -6
  315. package/dist/micro/security/types/IPermissionSet.js +0 -3
  316. package/dist/micro/security/types/IPermissionSet.js.map +0 -1
  317. package/dist/tsconfig.build.tsbuildinfo +0 -1
  318. package/dist/types/ApiQueryOptions.d.ts +0 -14
  319. package/dist/types/ApiQueryOptions.js +0 -3
  320. package/dist/types/ApiQueryOptions.js.map +0 -1
  321. package/dist/types/Constructable.d.ts +0 -3
  322. package/dist/types/Constructable.js +0 -3
  323. package/dist/types/Constructable.js.map +0 -1
  324. package/dist/types/Constructor.d.ts +0 -1
  325. package/dist/types/Constructor.js +0 -3
  326. package/dist/types/Constructor.js.map +0 -1
  327. package/dist/types/HasApiName.d.ts +0 -3
  328. package/dist/types/HasApiName.js +0 -3
  329. package/dist/types/HasApiName.js.map +0 -1
  330. package/dist/types/HasCallouts.d.ts +0 -4
  331. package/dist/types/HasCallouts.js +0 -3
  332. package/dist/types/HasCallouts.js.map +0 -1
  333. package/dist/types/HasDBId.d.ts +0 -3
  334. package/dist/types/HasDBId.js +0 -3
  335. package/dist/types/HasDBId.js.map +0 -1
  336. package/dist/types/HasDescription.d.ts +0 -3
  337. package/dist/types/HasDescription.js +0 -3
  338. package/dist/types/HasDescription.js.map +0 -1
  339. package/dist/types/HasEmail.d.ts +0 -3
  340. package/dist/types/HasEmail.js +0 -3
  341. package/dist/types/HasEmail.js.map +0 -1
  342. package/dist/types/HasId.d.ts +0 -3
  343. package/dist/types/HasId.js +0 -3
  344. package/dist/types/HasId.js.map +0 -1
  345. package/dist/types/HasLabel.d.ts +0 -3
  346. package/dist/types/HasLabel.js +0 -3
  347. package/dist/types/HasLabel.js.map +0 -1
  348. package/dist/types/HasMode.d.ts +0 -3
  349. package/dist/types/HasMode.js +0 -3
  350. package/dist/types/HasMode.js.map +0 -1
  351. package/dist/types/HasNamespace.d.ts +0 -3
  352. package/dist/types/HasNamespace.js +0 -3
  353. package/dist/types/HasNamespace.js.map +0 -1
  354. package/dist/types/HasOrder.d.ts +0 -3
  355. package/dist/types/HasOrder.js +0 -3
  356. package/dist/types/HasOrder.js.map +0 -1
  357. package/dist/types/index.d.ts +0 -11
  358. package/dist/types/index.js +0 -28
  359. package/dist/types/index.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { CreateUser } from "./CreateUser";
2
- import { HasDBId } from "../../../types";
3
- import { EUserStatus } from "./EUserStatus";
1
+ import { CreateUser } from "./CreateUser.js";
2
+ import { HasDBId } from "../../../types.js";
3
+ import { EUserStatus } from "./EUserStatus.js";
4
4
  export type User = {
5
5
  username?: string;
6
6
  email?: string;
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=User.js.map
@@ -1,5 +1,5 @@
1
- export * from './CreateUser';
2
- export * from './EUserStatus';
3
- export * from './Module';
4
- export * from './ModuleAction';
5
- export * from './User';
1
+ export * from './CreateUser.js';
2
+ export * from './EUserStatus.js';
3
+ export * from './Module.js';
4
+ export * from './ModuleAction.js';
5
+ export * from './User.js';
@@ -1,22 +1,6 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./CreateUser"), exports);
18
- __exportStar(require("./EUserStatus"), exports);
19
- __exportStar(require("./Module"), exports);
20
- __exportStar(require("./ModuleAction"), exports);
21
- __exportStar(require("./User"), exports);
1
+ export * from './CreateUser.js';
2
+ export * from './EUserStatus.js';
3
+ export * from './Module.js';
4
+ export * from './ModuleAction.js';
5
+ export * from './User.js';
22
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/micro/workspace/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,gDAA8B;AAC9B,2CAAyB;AACzB,iDAA+B;AAC/B,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/micro/workspace/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC"}
@@ -1,12 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MapService = void 0;
4
- class MapService {
1
+ export class MapService {
5
2
  static getMapByProperty(property, array) {
6
3
  return property && array
7
- ? new Map(array.map(item => [item === null || item === void 0 ? void 0 : item[property], item]))
4
+ ? new Map(array.map(item => [item?.[property], item]))
8
5
  : new Map();
9
6
  }
10
7
  }
11
- exports.MapService = MapService;
12
8
  //# sourceMappingURL=MapService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MapService.js","sourceRoot":"","sources":["../../src/services/MapService.ts"],"names":[],"mappings":";;;AAAA,MAAa,UAAU;IAErB,MAAM,CAAC,gBAAgB,CAAC,QAAgB,EAAE,KAA6B;QACrE,OAAO,QAAQ,IAAI,KAAK;YACtB,CAAC,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAG,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;YACtD,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC;IAChB,CAAC;CAEF;AARD,gCAQC"}
1
+ {"version":3,"file":"MapService.js","sourceRoot":"","sources":["../../src/services/MapService.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,UAAU;IAErB,MAAM,CAAC,gBAAgB,CAAC,QAAgB,EAAE,KAA6B;QACrE,OAAO,QAAQ,IAAI,KAAK;YACtB,CAAC,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;YACtD,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC;IAChB,CAAC;CAEF"}
@@ -1,6 +1,6 @@
1
1
  import { AxiosError, AxiosResponse } from "axios";
2
2
  export declare class ResponseService {
3
- static getHTTPCode(response: AxiosResponse | AxiosError): number;
3
+ static getHTTPCode(response: AxiosResponse | AxiosError): number | undefined;
4
4
  static getServerCode(response: AxiosResponse): any;
5
5
  static isInHttpCodeRange(response: AxiosResponse | AxiosError, codes: Array<number>): boolean;
6
6
  static isInServerCodeRange(response: AxiosResponse, codes: Array<string>): boolean;
@@ -1,13 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponseService = void 0;
4
- class ResponseService {
1
+ export class ResponseService {
5
2
  static getHTTPCode(response) {
6
- return response === null || response === void 0 ? void 0 : response.status;
3
+ return response?.status;
7
4
  }
8
5
  static getServerCode(response) {
9
- var _a;
10
- return (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a['code'];
6
+ return response?.data?.['code'];
11
7
  }
12
8
  static isInHttpCodeRange(response, codes) {
13
9
  return codes.includes(ResponseService.getHTTPCode(response));
@@ -16,13 +12,10 @@ class ResponseService {
16
12
  return codes.includes(ResponseService.getServerCode(response));
17
13
  }
18
14
  static getServerTitle(response) {
19
- var _a;
20
- return (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a['title'];
15
+ return response?.data?.['title'];
21
16
  }
22
17
  static getServerMessage(response) {
23
- var _a;
24
- return (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a['message'];
18
+ return response?.data?.['message'];
25
19
  }
26
20
  }
27
- exports.ResponseService = ResponseService;
28
21
  //# sourceMappingURL=ResponseService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseService.js","sourceRoot":"","sources":["../../src/services/ResponseService.ts"],"names":[],"mappings":";;;AAEA,MAAa,eAAe;IAE1B,MAAM,CAAC,WAAW,CAAC,QAAoC;QACrD,OAAO,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,CAAC;IAC1B,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,QAAuB;;QAC1C,OAAO,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,0CAAG,MAAM,CAAC,CAAC;IAClC,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,QAAoC,EAAE,KAAoB;QACjF,OAAO,KAAK,CAAC,QAAQ,CAAC,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,QAAuB,EAAE,KAAoB;QACtE,OAAO,KAAK,CAAC,QAAQ,CAAC,eAAe,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;IACjE,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,QAAuB;;QAC3C,OAAO,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,0CAAG,OAAO,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,gBAAgB,CAAC,QAAuB;;QAC7C,OAAO,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,0CAAG,SAAS,CAAC,CAAC;IACrC,CAAC;CAEF;AA1BD,0CA0BC"}
1
+ {"version":3,"file":"ResponseService.js","sourceRoot":"","sources":["../../src/services/ResponseService.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,eAAe;IAE1B,MAAM,CAAC,WAAW,CAAC,QAAoC;QACrD,OAAO,QAAQ,EAAE,MAAM,CAAC;IAC1B,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,QAAuB;QAC1C,OAAO,QAAQ,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IAED,MAAM,CAAC,iBAAiB,CAAC,QAAoC,EAAE,KAAoB;QACjF,OAAO,KAAK,CAAC,QAAQ,CAAC,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAW,CAAC,CAAC;IACzE,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,QAAuB,EAAE,KAAoB;QACtE,OAAO,KAAK,CAAC,QAAQ,CAAC,eAAe,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;IACjE,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,QAAuB;QAC3C,OAAO,QAAQ,EAAE,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,gBAAgB,CAAC,QAAuB;QAC7C,OAAO,QAAQ,EAAE,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC;CAEF"}
@@ -1,4 +1,4 @@
1
- import { MicroserviceName } from "../types";
1
+ import { MicroserviceName } from "../types.js";
2
2
  export declare class UrlService {
3
3
  static getMicroUrl(microserviceName: MicroserviceName): string;
4
4
  }
@@ -1,16 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UrlService = void 0;
4
- const constants_1 = require("../constants");
5
- const index_1 = require("../index");
6
- class UrlService {
1
+ import { MICROSERVICE_URL } from "../constants.js";
2
+ import { getLibOptions } from "../index.js";
3
+ export class UrlService {
7
4
  static getMicroUrl(microserviceName) {
8
- var _a;
9
- const options = (0, index_1.getLibOptions)();
5
+ const options = getLibOptions();
10
6
  if (!options.env)
11
7
  throw new Error(`Api environment is empty for ts-api-kit`);
12
- return (_a = constants_1.MICROSERVICE_URL[microserviceName]) === null || _a === void 0 ? void 0 : _a[options.env];
8
+ return MICROSERVICE_URL[microserviceName]?.[options.env];
13
9
  }
14
10
  }
15
- exports.UrlService = UrlService;
16
11
  //# sourceMappingURL=UrlService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UrlService.js","sourceRoot":"","sources":["../../src/services/UrlService.ts"],"names":[],"mappings":";;;AACA,4CAA8C;AAC9C,oCAAuC;AAEvC,MAAa,UAAU;IACZ,MAAM,CAAC,WAAW,CAAC,gBAAkC;;QACxD,MAAM,OAAO,GAAG,IAAA,qBAAa,GAAE,CAAC;QAEhC,IAAI,CAAC,OAAO,CAAC,GAAG;YAAE,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;QAE7E,OAAO,MAAA,4BAAgB,CAAC,gBAAgB,CAAC,0CAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7D,CAAC;CACJ;AARD,gCAQC"}
1
+ {"version":3,"file":"UrlService.js","sourceRoot":"","sources":["../../src/services/UrlService.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE1C,MAAM,OAAO,UAAU;IACZ,MAAM,CAAC,WAAW,CAAC,gBAAkC;QACxD,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;QAEhC,IAAI,CAAC,OAAO,CAAC,GAAG;YAAE,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;QAE7E,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7D,CAAC;CACJ"}
@@ -1,3 +1,3 @@
1
- export * from './MapService';
2
- export * from './ResponseService';
3
- export * from './UrlService';
1
+ export * from './MapService.js';
2
+ export * from './ResponseService.js';
3
+ export * from './UrlService.js';
@@ -1,20 +1,4 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./MapService"), exports);
18
- __exportStar(require("./ResponseService"), exports);
19
- __exportStar(require("./UrlService"), exports);
1
+ export * from './MapService.js';
2
+ export * from './ResponseService.js';
3
+ export * from './UrlService.js';
20
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,oDAAkC;AAClC,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Filter, SortDirection } from "mongodb";
2
- import { Callout } from "./features/callout";
2
+ import { Callout } from "./features/index.js";
3
3
  export declare enum MicroserviceName {
4
4
  workspace = "workspace",
5
5
  init = "init",
package/dist/types.js CHANGED
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Env = exports.MicroserviceName = void 0;
4
- var MicroserviceName;
1
+ export var MicroserviceName;
5
2
  (function (MicroserviceName) {
6
3
  MicroserviceName["workspace"] = "workspace";
7
4
  MicroserviceName["init"] = "init";
@@ -9,10 +6,10 @@ var MicroserviceName;
9
6
  MicroserviceName["auth"] = "auth";
10
7
  MicroserviceName["security"] = "security";
11
8
  MicroserviceName["blueprint"] = "blueprint";
12
- })(MicroserviceName || (exports.MicroserviceName = MicroserviceName = {}));
13
- var Env;
9
+ })(MicroserviceName || (MicroserviceName = {}));
10
+ export var Env;
14
11
  (function (Env) {
15
12
  Env["development"] = "development";
16
13
  Env["production"] = "production";
17
- })(Env || (exports.Env = Env = {}));
14
+ })(Env || (Env = {}));
18
15
  //# sourceMappingURL=types.js.map
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAGA,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IACxB,2CAAuB,CAAA;IACvB,iCAAa,CAAA;IACb,mCAAe,CAAA;IACf,iCAAa,CAAA;IACb,yCAAqB,CAAA;IACrB,2CAAuB,CAAA;AAC3B,CAAC,EAPW,gBAAgB,gCAAhB,gBAAgB,QAO3B;AAED,IAAY,GAGX;AAHD,WAAY,GAAG;IACX,kCAA2B,CAAA;IAC3B,gCAAyB,CAAA;AAC7B,CAAC,EAHW,GAAG,mBAAH,GAAG,QAGd"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IACxB,2CAAuB,CAAA;IACvB,iCAAa,CAAA;IACb,mCAAe,CAAA;IACf,iCAAa,CAAA;IACb,yCAAqB,CAAA;IACrB,2CAAuB,CAAA;AAC3B,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B;AAED,MAAM,CAAN,IAAY,GAGX;AAHD,WAAY,GAAG;IACX,kCAA2B,CAAA;IAC3B,gCAAyB,CAAA;AAC7B,CAAC,EAHW,GAAG,KAAH,GAAG,QAGd"}
package/package.json CHANGED
@@ -1,27 +1,30 @@
1
1
  {
2
2
  "name": "@buildery/ts-api-kit",
3
- "version": "6.2.1",
4
- "main": "dist/index.js",
5
- "types": "dist/index.d.ts",
3
+ "type": "module",
4
+ "version": "7.0.0",
6
5
  "scripts": {
7
- "ts-api-kit:run": "npx ts-node src/main.ts",
8
- "ts-api-kit:build": "tsc -p tsconfig.build.json",
9
- "ts-api-kit:deploy": "npm run ts-api-kit:build && npm publish"
6
+ "run": "npx ts-node src/main.js",
7
+ "build": "tsc -p tsconfig.json",
8
+ "deploy": "npm run build && npm publish"
10
9
  },
11
- "files": [
12
- "dist/*"
13
- ],
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js"
14
+ }
15
+ },
16
+ "files": ["dist"],
14
17
  "dependencies": {
15
18
  "@buildery/auto-bind": "^1.0.3",
16
19
  "@buildery/event-bus": "^0.1.4",
17
20
  "@buildery/flow": "^1.0.35",
18
21
  "@gin-quin/minimix": "^1.0.5",
19
22
  "jwt-decode": "^4.0.0",
20
- "ts-mixer": "^6.0.4"
23
+ "ts-mixer": "^6.0.4",
24
+ "axios": "1.12.0"
21
25
  },
22
26
  "devDependencies": {
23
- "axios": "1.12.0",
24
27
  "mongodb": "^7.0.0",
25
28
  "typescript": "^5.9.3"
26
29
  }
27
- }
30
+ }
@@ -1,3 +0,0 @@
1
- import { ApiCalloutMiddleware } from "../types";
2
- import type { AbstractCRUDApi } from "../../crud";
3
- export declare const Calloutable: (...apiMiddlewares: Array<ApiCalloutMiddleware<AbstractCRUDApi>>) => (target: any, method: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Calloutable = void 0;
4
- const callout_1 = require("@buildery/callout");
5
- const auth_1 = require("../../auth");
6
- const Calloutable = (...apiMiddlewares) => (target, method, descriptor) => {
7
- target[`${method}Callout`] = function () {
8
- const callout = new callout_1.Callout(descriptor.value.bind(this), auth_1.AuthAxiosService.getAxiosInstance());
9
- apiMiddlewares === null || apiMiddlewares === void 0 ? void 0 : apiMiddlewares.map(apiMiddleware => {
10
- const calloutMiddleware = apiMiddleware === null || apiMiddleware === void 0 ? void 0 : apiMiddleware(this);
11
- if (!calloutMiddleware)
12
- return;
13
- callout.addMiddleware(calloutMiddleware);
14
- });
15
- return callout;
16
- };
17
- return descriptor;
18
- };
19
- exports.Calloutable = Calloutable;
20
- //# sourceMappingURL=Calloutable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Calloutable.js","sourceRoot":"","sources":["../../../../src/features/callout/decorators/Calloutable.ts"],"names":[],"mappings":";;;AAAA,+CAA0C;AAE1C,qCAA4C;AAGrC,MAAM,WAAW,GAAG,CAAC,GAAG,cAA4D,EAAE,EAAE,CAAC,CAAC,MAAW,EAAE,MAAc,EAAE,UAA8B,EAAE,EAAE;IAC9J,MAAM,CAAC,GAAG,MAAM,SAAS,CAAC,GAAG;QAC3B,MAAM,OAAO,GAAG,IAAI,iBAAO,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,uBAAgB,CAAC,gBAAgB,EAAE,CAAC,CAAC;QAE9F,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,GAAG,CAAC,aAAa,CAAC,EAAE;YAClC,MAAM,iBAAiB,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAG,IAAI,CAAC,CAAC;YAEhD,IAAI,CAAC,iBAAiB;gBAAE,OAAO;YAE/B,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;QAEH,OAAO,OAAO,CAAC;IACjB,CAAC,CAAC;IAEF,OAAO,UAAU,CAAC;AACpB,CAAC,CAAA;AAhBY,QAAA,WAAW,eAgBvB"}
@@ -1 +0,0 @@
1
- export * from './Calloutable';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Calloutable"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/callout/decorators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
@@ -1,2 +0,0 @@
1
- import { CalloutMiddleware } from "@buildery/callout";
2
- export type ApiCalloutMiddleware<T> = (apiInstance: T) => CalloutMiddleware<any, any>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ApiCalloutMiddleware.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ApiCalloutMiddleware.js","sourceRoot":"","sources":["../../../../src/features/callout/types/ApiCalloutMiddleware.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export * from './ApiCalloutMiddleware';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ApiCalloutMiddleware"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/callout/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
@@ -1,10 +0,0 @@
1
- export interface IPermission {
2
- _id?: string;
3
- label?: string;
4
- apiName?: string;
5
- namespace?: string;
6
- group?: string;
7
- category?: string;
8
- definition?: string;
9
- description?: string;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IPermission.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPermission.js","sourceRoot":"","sources":["../../../../src/micro/security/types/IPermission.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export interface IPermissionAssignment {
2
- _id: string;
3
- permission?: string;
4
- permissionSet?: string;
5
- access?: string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IPermissionAssignment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPermissionAssignment.js","sourceRoot":"","sources":["../../../../src/micro/security/types/IPermissionAssignment.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export interface IPermissionCategory {
2
- _id: string;
3
- name: string;
4
- group: string;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IPermissionCategory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPermissionCategory.js","sourceRoot":"","sources":["../../../../src/micro/security/types/IPermissionCategory.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export interface IPermissionDefinition {
2
- _id?: string;
3
- name?: string;
4
- namespace?: string;
5
- availableOptions: Array<string>;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IPermissionDefinition.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPermissionDefinition.js","sourceRoot":"","sources":["../../../../src/micro/security/types/IPermissionDefinition.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export interface IPermissionGroup {
2
- _id?: string;
3
- name?: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IPermissionGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPermissionGroup.js","sourceRoot":"","sources":["../../../../src/micro/security/types/IPermissionGroup.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export interface IPermissionSet {
2
- _id?: string;
3
- label?: string;
4
- apiName?: string;
5
- description?: string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IPermissionSet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPermissionSet.js","sourceRoot":"","sources":["../../../../src/micro/security/types/IPermissionSet.ts"],"names":[],"mappings":""}