@buildery/ts-api-kit 4.9.1 → 4.10.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 (92) hide show
  1. package/dist/Api.d.ts +1 -1
  2. package/dist/Api.js +2 -2
  3. package/dist/config/ApiConfigs.d.ts +8 -0
  4. package/dist/config/ApiConfigs.js +7 -0
  5. package/dist/config/ApiConfigs.js.map +1 -0
  6. package/dist/config/RawApi.d.ts +15 -0
  7. package/dist/config/RawApi.js +19 -0
  8. package/dist/config/RawApi.js.map +1 -0
  9. package/dist/config/index.d.ts +2 -0
  10. package/dist/config/index.js +19 -0
  11. package/dist/config/index.js.map +1 -0
  12. package/dist/entities/auth/config/AuthApi.js +1 -1
  13. package/dist/entities/auth/config/AuthApi.js.map +1 -1
  14. package/dist/entities/module/config/ModuleApi.js +2 -2
  15. package/dist/entities/module/config/ModuleApi.js.map +1 -1
  16. package/dist/entities/schema/config/FieldApi.js +1 -1
  17. package/dist/entities/schema/config/FieldApi.js.map +1 -1
  18. package/dist/entities/schema/config/ObjectApi.js +1 -1
  19. package/dist/entities/schema/config/ObjectApi.js.map +1 -1
  20. package/dist/entities/security/config/PermissionApi.js +1 -1
  21. package/dist/entities/security/config/PermissionApi.js.map +1 -1
  22. package/dist/entities/security/config/PermissionAssignmentApi.js +1 -1
  23. package/dist/entities/security/config/PermissionAssignmentApi.js.map +1 -1
  24. package/dist/entities/security/config/PermissionCategoryApi.js +1 -1
  25. package/dist/entities/security/config/PermissionCategoryApi.js.map +1 -1
  26. package/dist/entities/security/config/PermissionDefinitionApi.js +1 -1
  27. package/dist/entities/security/config/PermissionDefinitionApi.js.map +1 -1
  28. package/dist/entities/security/config/PermissionGroupApi.js +1 -1
  29. package/dist/entities/security/config/PermissionGroupApi.js.map +1 -1
  30. package/dist/entities/security/config/PermissionSetApi.js +1 -1
  31. package/dist/entities/security/config/PermissionSetApi.js.map +1 -1
  32. package/dist/entities/user/config/UserApi.js +1 -1
  33. package/dist/entities/user/config/UserApi.js.map +1 -1
  34. package/dist/entities/user/types/User.d.ts +1 -1
  35. package/dist/entities/workspace/config/WorkspaceApi.js +2 -2
  36. package/dist/entities/workspace/config/WorkspaceApi.js.map +1 -1
  37. package/dist/features/callout/decorators/AddCalloutMiddleware.d.ts +3 -0
  38. package/dist/features/callout/decorators/AddCalloutMiddleware.js +15 -0
  39. package/dist/features/callout/decorators/AddCalloutMiddleware.js.map +1 -0
  40. package/dist/features/callout/decorators/Calloutable.d.ts +4 -0
  41. package/dist/features/callout/decorators/Calloutable.js +51 -0
  42. package/dist/features/callout/decorators/Calloutable.js.map +1 -0
  43. package/dist/features/callout/decorators/index.d.ts +2 -0
  44. package/dist/features/callout/decorators/index.js +19 -0
  45. package/dist/features/callout/decorators/index.js.map +1 -0
  46. package/dist/features/callout/index.d.ts +2 -1
  47. package/dist/features/callout/index.js +2 -1
  48. package/dist/features/callout/index.js.map +1 -1
  49. package/dist/features/callout/types/ApiCalloutMiddleware.d.ts +2 -0
  50. package/dist/features/callout/types/ApiCalloutMiddleware.js +3 -0
  51. package/dist/features/callout/types/ApiCalloutMiddleware.js.map +1 -0
  52. package/dist/features/callout/types/index.d.ts +1 -0
  53. package/dist/features/callout/types/index.js +18 -0
  54. package/dist/features/callout/types/index.js.map +1 -0
  55. package/dist/features/crud/abstract/AbstractCRUDRequest.d.ts +2 -3
  56. package/dist/features/crud/abstract/AbstractCRUDRequest.js.map +1 -1
  57. package/dist/features/crud/constants/CrudActions.d.ts +10 -0
  58. package/dist/features/crud/constants/CrudActions.js +3 -0
  59. package/dist/features/crud/constants/CrudActions.js.map +1 -0
  60. package/dist/features/crud/constants/CrudConstants.d.ts +1 -0
  61. package/dist/features/crud/constants/CrudConstants.js +5 -0
  62. package/dist/features/crud/constants/CrudConstants.js.map +1 -0
  63. package/dist/features/crud/constants/index.d.ts +2 -0
  64. package/dist/features/crud/constants/index.js +19 -0
  65. package/dist/features/crud/constants/index.js.map +1 -0
  66. package/dist/features/crud/middlewares/PushCrudEvent.d.ts +4 -0
  67. package/dist/features/crud/middlewares/PushCrudEvent.js +15 -0
  68. package/dist/features/crud/middlewares/PushCrudEvent.js.map +1 -0
  69. package/dist/features/crud/middlewares/index.d.ts +1 -0
  70. package/dist/features/crud/middlewares/index.js +18 -0
  71. package/dist/features/crud/middlewares/index.js.map +1 -0
  72. package/dist/features/crud/operations/Create.js +17 -0
  73. package/dist/features/crud/operations/Create.js.map +1 -1
  74. package/dist/features/crud/operations/CreateBulk.js +17 -0
  75. package/dist/features/crud/operations/CreateBulk.js.map +1 -1
  76. package/dist/features/crud/operations/DeleteById.js +17 -0
  77. package/dist/features/crud/operations/DeleteById.js.map +1 -1
  78. package/dist/features/crud/operations/DeleteByIds.js +17 -0
  79. package/dist/features/crud/operations/DeleteByIds.js.map +1 -1
  80. package/dist/features/crud/operations/Update.js +17 -0
  81. package/dist/features/crud/operations/Update.js.map +1 -1
  82. package/dist/features/crud/operations/UpdateBulk.js +17 -0
  83. package/dist/features/crud/operations/UpdateBulk.js.map +1 -1
  84. package/dist/features/crud/operations/Upsert.js +17 -0
  85. package/dist/features/crud/operations/Upsert.js.map +1 -1
  86. package/dist/features/crud/operations/UpsertBulk.js +17 -0
  87. package/dist/features/crud/operations/UpsertBulk.js.map +1 -1
  88. package/dist/index.d.ts +1 -2
  89. package/dist/index.js +1 -2
  90. package/dist/index.js.map +1 -1
  91. package/dist/tsconfig.build.tsbuildinfo +1 -1
  92. package/package.json +2 -1
package/dist/Api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Callout } from "@buildery/callout";
2
- import { RawApi } from "./RawApi";
2
+ import { RawApi } from "./config";
3
3
  export declare const Api: Api;
4
4
  type CalloutApiType = {
5
5
  [Name in keyof typeof RawApi]: {
package/dist/Api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Api = void 0;
4
- const RawApi_1 = require("./RawApi");
5
- exports.Api = RawApi_1.RawApi;
4
+ const config_1 = require("./config");
5
+ exports.Api = config_1.RawApi;
6
6
  //# sourceMappingURL=Api.js.map
@@ -0,0 +1,8 @@
1
+ import { EventBus } from "@buildery/event-bus";
2
+ export declare class ApiConfigs {
3
+ static workspaceUrl: string;
4
+ static initUrl: string;
5
+ static queryUrl: string;
6
+ static authUrl: string;
7
+ static eventBus: EventBus;
8
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApiConfigs = void 0;
4
+ class ApiConfigs {
5
+ }
6
+ exports.ApiConfigs = ApiConfigs;
7
+ //# sourceMappingURL=ApiConfigs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiConfigs.js","sourceRoot":"","sources":["../../src/config/ApiConfigs.ts"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;CAMtB;AAND,gCAMC"}
@@ -0,0 +1,15 @@
1
+ import { FieldApi, ModuleApi, ObjectApi, PermissionApi, PermissionAssignmentApi, PermissionCategoryApi, PermissionDefinitionApi, PermissionGroupApi, PermissionSetApi, UserApi, AuthApi, WorkspaceApi } from "../entities";
2
+ export declare const RawApi: {
3
+ readonly permission: PermissionApi;
4
+ readonly permissionGroup: PermissionGroupApi;
5
+ readonly permissionDefinition: PermissionDefinitionApi;
6
+ readonly permissionCategory: PermissionCategoryApi;
7
+ readonly permissionSet: PermissionSetApi;
8
+ readonly permissionAssignment: PermissionAssignmentApi;
9
+ readonly user: UserApi;
10
+ readonly module: ModuleApi;
11
+ readonly object: ObjectApi;
12
+ readonly field: FieldApi;
13
+ readonly auth: AuthApi;
14
+ readonly workspace: WorkspaceApi;
15
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RawApi = void 0;
4
+ const entities_1 = require("../entities");
5
+ exports.RawApi = {
6
+ permission: new entities_1.PermissionApi(),
7
+ permissionGroup: new entities_1.PermissionGroupApi(),
8
+ permissionDefinition: new entities_1.PermissionDefinitionApi(),
9
+ permissionCategory: new entities_1.PermissionCategoryApi(),
10
+ permissionSet: new entities_1.PermissionSetApi(),
11
+ permissionAssignment: new entities_1.PermissionAssignmentApi(),
12
+ user: new entities_1.UserApi,
13
+ module: new entities_1.ModuleApi(),
14
+ object: new entities_1.ObjectApi(),
15
+ field: new entities_1.FieldApi(),
16
+ auth: new entities_1.AuthApi(),
17
+ workspace: new entities_1.WorkspaceApi(),
18
+ };
19
+ //# sourceMappingURL=RawApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RawApi.js","sourceRoot":"","sources":["../../src/config/RawApi.ts"],"names":[],"mappings":";;;AAAA,0CAaqB;AAER,QAAA,MAAM,GAAG;IACpB,UAAU,EAAE,IAAI,wBAAa,EAAE;IAC/B,eAAe,EAAE,IAAI,6BAAkB,EAAE;IACzC,oBAAoB,EAAE,IAAI,kCAAuB,EAAE;IACnD,kBAAkB,EAAE,IAAI,gCAAqB,EAAE;IAC/C,aAAa,EAAE,IAAI,2BAAgB,EAAE;IACrC,oBAAoB,EAAE,IAAI,kCAAuB,EAAE;IACnD,IAAI,EAAE,IAAI,kBAAO;IACjB,MAAM,EAAE,IAAI,oBAAS,EAAE;IACvB,MAAM,EAAE,IAAI,oBAAS,EAAE;IACvB,KAAK,EAAE,IAAI,mBAAQ,EAAE;IACrB,IAAI,EAAE,IAAI,kBAAO,EAAE;IACnB,SAAS,EAAE,IAAI,uBAAY,EAAE;CACrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ApiConfigs';
2
+ export * from './RawApi';
@@ -0,0 +1,19 @@
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("./ApiConfigs"), exports);
18
+ __exportStar(require("./RawApi"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB"}
@@ -8,7 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.AuthApi = void 0;
10
10
  const features_1 = require("../../../features");
11
- const ApiConfigs_1 = require("../../../ApiConfigs");
11
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
12
12
  let AuthApi = class AuthApi extends features_1.BindThis {
13
13
  getTokensByCredentials(user) {
14
14
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"AuthApi.js","sourceRoot":"","sources":["../../../../src/entities/auth/config/AuthApi.ts"],"names":[],"mappings":";;;;;;;;;AACA,gDAAwD;AAExD,oDAA+C;AAGxC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,mBAAQ;IAE5B,sBAAsB,CAAC,IAAgB;QAC5C,OAAO;YACL,OAAO,EAAE,uBAAU,CAAC,OAAO;YAC3B,GAAG,EAAE,cAAc;YACnB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;SACW,CAAA;IACzB,CAAC;IAEM,wBAAwB,CAAC,IAAgB;QAC9C,OAAO;YACL,OAAO,EAAE,uBAAU,CAAC,OAAO;YAC3B,GAAG,EAAE,mBAAmB;YACxB,MAAM,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AC3B,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd,CAAA;IACH,CAAC;IAEM,cAAc,CAAC,IAAwB;QAC5C,OAAO;YACL,OAAO,EAAE,uBAAU,CAAC,OAAO;YAC3B,GAAG,EAAE,uBAAuB;YAC5B,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;SACW,CAAA;IACzB,CAAC;CAEF,CAAA;AAxEY,OAAO;IADnB,IAAA,sBAAW,GAAE;GACD,OAAO,CAwEnB;AAxEY,0BAAO"}
@@ -9,9 +9,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.ModuleApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const config_1 = require("../../../config");
13
13
  let ModuleApi = class ModuleApi extends features_1.FullCRUD {
14
- getApiUrl() { return ApiConfigs_1.ApiConfigs.workspaceUrl; }
14
+ getApiUrl() { return config_1.ApiConfigs.workspaceUrl; }
15
15
  getObjectName() { return 'module'; }
16
16
  createAction(moduleId, action) {
17
17
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"ModuleApi.js","sourceRoot":"","sources":["../../../../src/entities/module/config/ModuleApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAG9C,oDAA+C;AAGxC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,mBAAiB;IAE9B,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,QAAQ,CAAA,CAAC,CAAC;IAE5C,YAAY,CAAC,QAAgB,EAAE,MAAqB;QACzD,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,IAAI,QAAQ,SAAS;YAClD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,MAAM;SACS,CAAA;IACzB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,IAAI,CAAC,aAAa,EAAE,IAAI,QAAQ,WAAW,UAAU,EAAE;YAChE,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,MAAM;SACS,CAAA;IACzB,CAAC;IAEM,YAAY,CAAC,QAAgB,EAAE,UAAkB;QACtD,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,IAAI,QAAQ,WAAW,UAAU,EAAE;YAChE,MAAM,EAAE,QAAQ;SACK,CAAA;IACzB,CAAC;CACF,CAAA;AA/BY,SAAS;IADrB,IAAA,sBAAW,GAAE;GACD,SAAS,CA+BrB;AA/BY,8BAAS"}
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.FieldApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
13
13
  const ts_mixer_1 = require("ts-mixer");
14
14
  let FieldApi = class FieldApi extends (0, ts_mixer_1.Mixin)(features_1.FullQuery, features_1.Create, features_1.Upsert, features_1.DeleteById) {
15
15
  getApiUrl() { return ApiConfigs_1.ApiConfigs.workspaceUrl; }
@@ -1 +1 @@
1
- {"version":3,"file":"FieldApi.js","sourceRoot":"","sources":["../../../../src/entities/schema/config/FieldApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAAwE;AACxE,gDAA8C;AAG9C,oDAA+C;AAC/C,uCAA+B;AAGxB,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,IAAA,gBAAK,EAAC,oBAAS,EAAE,iBAAM,EAAE,iBAAM,EAAE,qBAAU,CAAC;IAExD,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,gBAAgB,CAAA,CAAC,CAAC;IAE3C,MAAM,CAAC,KAAmB;QACxC,OAAO;Y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MAAM;YACd,IAAI,EAAE,KAAK;SACU,CAAA;IACzB,CAAC;IAEM,gBAAgB,CAAC,QAAgB;QACtC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,WAAW,QAAQ,EAAE;YAClD,MAAM,EAAE,KAAK;SACQ,CAAA;IACzB,CAAC;IAEM,mBAAmB,CAAC,QAAgB;QACzC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,WAAW,QAAQ,MAAM;YACtD,MAAM,EAAE,QAAQ;SACK,CAAA;IACzB,CAAC;CAEF,CAAA;AA/BY,QAAQ;IADpB,IAAA,sBAAW,GAAE;GACD,QAAQ,CA+BpB;AA/BY,4BAAQ"}
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.ObjectApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
13
13
  let ObjectApi = class ObjectApi extends features_1.FullCRUD {
14
14
  getApiUrl() { return ApiConfigs_1.ApiConfigs.queryUrl; }
15
15
  getObjectName() { return 'metadata/object'; }
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectApi.js","sourceRoot":"","sources":["../../../../src/entities/schema/config/ObjectApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,oDAA+C;AAGxC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,mBAAiB;IAE9B,SAAS,KAAK,OAAO,uBAAU,CAAC,QAAQ,CAAA,CAAC,CAAC;IAE1C,aAAa,KAAK,OAAO,iBAAiB,CAAA,CAAC,CAAC;CAE7D,CAAA;AANY,SAAS;IADrB,IAAA,sBAAW,GAAE;GACD,SAAS,CAMrB;AANY,8BAAS"}
1
+ {"version":3,"file":"ObjectApi.js","sourceRoot":"","sources":["../../../../src/entities/schema/config/ObjectApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,2DAAsD;AAG/C,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,mBAAiB;IAE9B,SAAS,KAAK,OAAO,uBAAU,CAAC,QAAQ,CAAA,CAAC,CAAC;IAE1C,aAAa,KAAK,OAAO,iBAAiB,CAAA,CAAC,CAAC;CAE7D,CAAA;AANY,SAAS;IADrB,IAAA,sBAAW,GAAE;GACD,SAAS,CAMrB;AANY,8BAAS"}
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PermissionApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
13
13
  let PermissionApi = class PermissionApi extends features_1.FullCRUD {
14
14
  getApiUrl() { return ApiConfigs_1.ApiConfigs.workspaceUrl; }
15
15
  getObjectName() { return 'permission'; }
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAE3C,gDAA8C;AAE9C,oDAA+C;AAGxC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,mBAAqB;IACtC,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,YAAY,CAAA,CAAC,CAAC;IAEhD,eAAe,CAAC,UAAkB;QACvC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,aAAa,UAAU,EAAE;YACtD,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;IAEM,gBAAgB,CAAC,WAA0B;QAChD,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,eAAe,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,IAAI,CAAC,GAAG,CAAC,EAAE;YACpE,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;IAAA,CAAC;CACH,CAAA;AApBY,aAAa;IADzB,IAAA,sBAAW,GAAE;GACD,aAAa,CAoBzB;AApBY,sCAAa"}
1
+ {"version":3,"file":"PermissionApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAE3C,gDAA8C;AAE9C,2DAAsD;AAG/C,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,mBAAqB;IACtC,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,YAAY,CAAA,CAAC,CAAC;IAEhD,eAAe,CAAC,UAAkB;QACvC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,aAAa,UAAU,EAAE;YACtD,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;IAEM,gBAAgB,CAAC,WAA0B;QAChD,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,eAAe,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,IAAI,CAAC,GAAG,CAAC,EAAE;YACpE,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;IAAA,CAAC;CACH,CAAA;AApBY,aAAa;IADzB,IAAA,sBAAW,GAAE;GACD,aAAa,CAoBzB;AApBY,sCAAa"}
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PermissionAssignmentApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
13
13
  let PermissionAssignmentApi = class PermissionAssignmentApi extends features_1.FullCRUD {
14
14
  getApiUrl() { return ApiConfigs_1.ApiConfigs.workspaceUrl; }
15
15
  getObjectName() { return 'permissionAssignment'; }
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionAssignmentApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionAssignmentApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,oDAA+C;AAGxC,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,mBAA+B;IAC1D,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,sBAAsB,CAAA,CAAC,CAAC;CAClE,CAAA;AAJY,uBAAuB;IADnC,IAAA,sBAAW,GAAE;GACD,uBAAuB,CAInC;AAJY,0DAAuB"}
1
+ {"version":3,"file":"PermissionAssignmentApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionAssignmentApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,2DAAsD;AAG/C,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,mBAA+B;IAC1D,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,sBAAsB,CAAA,CAAC,CAAC;CAClE,CAAA;AAJY,uBAAuB;IADnC,IAAA,sBAAW,GAAE;GACD,uBAAuB,CAInC;AAJY,0DAAuB"}
@@ -13,7 +13,7 @@ exports.PermissionCategoryApi = void 0;
13
13
  const features_1 = require("../../../features");
14
14
  const features_2 = require("../../../features");
15
15
  const web_cache_1 = require("@buildery/web-cache");
16
- const ApiConfigs_1 = require("../../../ApiConfigs");
16
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
17
17
  let PermissionCategoryApi = class PermissionCategoryApi extends features_1.FullCRUD {
18
18
  getApiUrl() { return ApiConfigs_1.ApiConfigs.workspaceUrl; }
19
19
  getObjectName() { return 'permissionCategory'; }
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionCategoryApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionCategoryApi.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gDAA2C;AAE3C,gDAA8C;AAC9C,mDAAgD;AAEhD,oDAA+C;AAGxC,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,mBAA6B;IACtD,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,oBAAoB,CAAA,CAAC,CAAC;IAGxD,YAAY,CAAC,OAAe;QACjC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,UAAU,OAAO,EAAE;YAChD,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;CACF,CAAA;AARC;IAAC,IAAA,uBAAW,EAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;;;;yDAOnC;AAZU,qBAAqB;IADjC,IAAA,sBAAW,GAAE;GACD,qBAAqB,CAajC;AAbY,sDAAqB"}
1
+ {"version":3,"file":"PermissionCategoryApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionCategoryApi.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gDAA2C;AAE3C,gDAA8C;AAC9C,mDAAgD;AAEhD,2DAAsD;AAG/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,mBAA6B;IACtD,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,oBAAoB,CAAA,CAAC,CAAC;IAGxD,YAAY,CAAC,OAAe;QACjC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,UAAU,OAAO,EAAE;YAChD,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;CACF,CAAA;AARC;IAAC,IAAA,uBAAW,EAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;;;;yDAOnC;AAZU,qBAAqB;IADjC,IAAA,sBAAW,GAAE;GACD,qBAAqB,CAajC;AAbY,sDAAqB"}
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PermissionDefinitionApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
13
13
  let PermissionDefinitionApi = class PermissionDefinitionApi extends features_1.FullCRUD {
14
14
  getApiUrl() { return ApiConfigs_1.ApiConfigs.workspaceUrl; }
15
15
  getObjectName() { return 'permissionDefinition'; }
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionDefinitionApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionDefinitionApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,oDAA+C;AAGxC,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,mBAA+B;IAC1D,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,sBAAsB,CAAA,CAAC,CAAC;CAClE,CAAA;AAJY,uBAAuB;IADnC,IAAA,sBAAW,GAAE;GACD,uBAAuB,CAInC;AAJY,0DAAuB"}
1
+ {"version":3,"file":"PermissionDefinitionApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionDefinitionApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,2DAAsD;AAG/C,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,mBAA+B;IAC1D,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,sBAAsB,CAAA,CAAC,CAAC;CAClE,CAAA;AAJY,uBAAuB;IADnC,IAAA,sBAAW,GAAE;GACD,uBAAuB,CAInC;AAJY,0DAAuB"}
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PermissionGroupApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
13
13
  let PermissionGroupApi = class PermissionGroupApi extends features_1.FullCRUD {
14
14
  getApiUrl() { return ApiConfigs_1.ApiConfigs.workspaceUrl; }
15
15
  getObjectName() { return 'permissionGroup'; }
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionGroupApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionGroupApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,oDAA+C;AAGxC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,mBAA0B;IAChD,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,iBAAiB,CAAA,CAAC,CAAC;CAC7D,CAAA;AAJY,kBAAkB;IAD9B,IAAA,sBAAW,GAAE;GACD,kBAAkB,CAI9B;AAJY,gDAAkB"}
1
+ {"version":3,"file":"PermissionGroupApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionGroupApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,2DAAsD;AAG/C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,mBAA0B;IAChD,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,iBAAiB,CAAA,CAAC,CAAC;CAC7D,CAAA;AAJY,kBAAkB;IAD9B,IAAA,sBAAW,GAAE;GACD,kBAAkB,CAI9B;AAJY,gDAAkB"}
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PermissionSetApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
13
13
  let PermissionSetApi = class PermissionSetApi extends features_1.FullCRUD {
14
14
  getApiUrl() { return ApiConfigs_1.ApiConfigs.workspaceUrl; }
15
15
  getObjectName() { return 'permissionSet'; }
@@ -1 +1 @@
1
- {"version":3,"file":"PermissionSetApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionSetApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,oDAA+C;AAGxC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,mBAAwB;IAC5C,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,eAAe,CAAA,CAAC,CAAC;CAC3D,CAAA;AAJY,gBAAgB;IAD5B,IAAA,sBAAW,GAAE;GACD,gBAAgB,CAI5B;AAJY,4CAAgB"}
1
+ {"version":3,"file":"PermissionSetApi.js","sourceRoot":"","sources":["../../../../src/entities/security/config/PermissionSetApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,2DAAsD;AAG/C,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,mBAAwB;IAC5C,SAAS,KAAK,OAAO,uBAAU,CAAC,YAAY,CAAA,CAAC,CAAC;IAE9C,aAAa,KAAK,OAAO,eAAe,CAAA,CAAC,CAAC;CAC3D,CAAA;AAJY,gBAAgB;IAD5B,IAAA,sBAAW,GAAE;GACD,gBAAgB,CAI5B;AAJY,4CAAgB"}
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.UserApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const ApiConfigs_1 = require("../../../config/ApiConfigs");
13
13
  let UserApi = class UserApi extends features_1.FullCRUD {
14
14
  getApiUrl() {
15
15
  return ApiConfigs_1.ApiConfigs.workspaceUrl;
@@ -1 +1 @@
1
- {"version":3,"file":"UserApi.js","sourceRoot":"","sources":["../../../../src/entities/user/config/UserApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,oDAA+C;AAGxC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,mBAAc;IAElC,SAAS;QACd,OAAO,uBAAU,CAAC,YAAY,CAAA;IAChC,CAAC;IAEM,aAAa,KAAK,OAAO,MAAM,CAAA,CAAC,CAAC;CAEzC,CAAA;AARY,OAAO;IADnB,IAAA,sBAAW,GAAE;GACD,OAAO,CAQnB;AARY,0BAAO"}
1
+ {"version":3,"file":"UserApi.js","sourceRoot":"","sources":["../../../../src/entities/user/config/UserApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,2DAAsD;AAG/C,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,mBAAc;IAElC,SAAS;QACd,OAAO,uBAAU,CAAC,YAAY,CAAA;IAChC,CAAC;IAEM,aAAa,KAAK,OAAO,MAAM,CAAA,CAAC,CAAC;CAEzC,CAAA;AARY,OAAO;IADnB,IAAA,sBAAW,GAAE;GACD,OAAO,CAQnB;AARY,0BAAO"}
@@ -4,5 +4,5 @@ import { EUserStatus } from "./EUserStatus";
4
4
  export type User = {
5
5
  username?: string;
6
6
  email?: string;
7
- status?: keyof typeof EUserStatus;
7
+ status?: EUserStatus;
8
8
  } & Partial<CreateUser> & Partial<HasDBId>;
@@ -9,11 +9,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.WorkspaceApi = void 0;
10
10
  const features_1 = require("../../../features");
11
11
  const features_2 = require("../../../features");
12
- const ApiConfigs_1 = require("../../../ApiConfigs");
12
+ const config_1 = require("../../../config");
13
13
  let WorkspaceApi = class WorkspaceApi extends features_1.BindThis {
14
14
  init(workspace) {
15
15
  return {
16
- baseURL: ApiConfigs_1.ApiConfigs.initURL,
16
+ baseURL: config_1.ApiConfigs.initUrl,
17
17
  url: '/init',
18
18
  method: 'POST',
19
19
  data: workspace
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceApi.js","sourceRoot":"","sources":["../../../../src/entities/workspace/config/WorkspaceApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,oDAA+C;AAGxC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,mBAAQ;IAEjC,IAAI,CAAC,SAAwB;QAClC,OAAO;YACL,OAAO,EAAE,uBAAU,CAAC,OAAO;YAC3B,GAAG,EAAE,OAAO;YACZ,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,SAAS;SAChB,CAAA;IACH,CAAC;CAEF,CAAA;AAXY,YAAY;IADxB,IAAA,sBAAW,GAAE;GACD,YAAY,CAWxB;AAXY,oCAAY"}
1
+ {"version":3,"file":"WorkspaceApi.js","sourceRoot":"","sources":["../../../../src/entities/workspace/config/WorkspaceApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAA2C;AAC3C,gDAA8C;AAE9C,4CAA2C;AAGpC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,mBAAQ;IAEjC,IAAI,CAAC,SAAwB;QAClC,OAAO;YACL,OAAO,EAAE,mBAAU,CAAC,OAAO;YAC3B,GAAG,EAAE,OAAO;YACZ,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,SAAS;SAChB,CAAA;IACH,CAAC;CAEF,CAAA;AAXY,YAAY;IADxB,IAAA,sBAAW,GAAE;GACD,YAAY,CAWxB;AAXY,oCAAY"}
@@ -0,0 +1,3 @@
1
+ import { ApiCalloutMiddleware } from "../types";
2
+ export declare const API_CALLOUT_MIDDLEWARES: unique symbol;
3
+ export declare const AddCalloutMiddleware: <T>(middleware: ApiCalloutMiddleware<T>) => (target: Object, method: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddCalloutMiddleware = exports.API_CALLOUT_MIDDLEWARES = void 0;
4
+ exports.API_CALLOUT_MIDDLEWARES = Symbol('ts-api-kit:api_callout_middlewares');
5
+ const AddCalloutMiddleware = (middleware) => (target, method, descriptor) => {
6
+ if (!middleware)
7
+ return;
8
+ if (!descriptor.value[exports.API_CALLOUT_MIDDLEWARES]) {
9
+ descriptor.value[exports.API_CALLOUT_MIDDLEWARES] = [];
10
+ }
11
+ descriptor.value[exports.API_CALLOUT_MIDDLEWARES].push(middleware);
12
+ return descriptor;
13
+ };
14
+ exports.AddCalloutMiddleware = AddCalloutMiddleware;
15
+ //# sourceMappingURL=AddCalloutMiddleware.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddCalloutMiddleware.js","sourceRoot":"","sources":["../../../../src/features/callout/decorators/AddCalloutMiddleware.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG,MAAM,CAAC,oCAAoC,CAAC,CAAC;AAE7E,MAAM,oBAAoB,GAAG,CAAK,UAAmC,EAAE,EAAE,CAAC,CAAC,MAAc,EAAE,MAAc,EAAE,UAA8B,EAAE,EAAE;IAClJ,IAAI,CAAC,UAAU;QAAE,OAAO;IAExB,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,+BAAuB,CAAC,EAAE;QAC9C,UAAU,CAAC,KAAK,CAAC,+BAAuB,CAAC,GAAG,EAAE,CAAC;KAChD;IAED,UAAU,CAAC,KAAK,CAAC,+BAAuB,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAE3D,OAAO,UAAU,CAAC;AACpB,CAAC,CAAA;AAVY,QAAA,oBAAoB,wBAUhC"}
@@ -0,0 +1,4 @@
1
+ import { Constructable } from "../../../types";
2
+ export declare const Calloutable: (skipMethods?: Array<string>) => <T extends Constructable>(constructor: T) => {
3
+ new (...args: any[]): {};
4
+ } & T;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Calloutable = void 0;
4
+ const callout_1 = require("@buildery/callout");
5
+ const AddCalloutMiddleware_1 = require("./AddCalloutMiddleware");
6
+ const entities_1 = require("../../../entities");
7
+ const METHODS_TO_SKIP = ['constructor', 'getObjectName', 'getApiUrl'];
8
+ const API_INSTANCE = Symbol('ts-api-kit:api_instance');
9
+ const Calloutable = (skipMethods) => (constructor) => {
10
+ const skip = skipMethods ? [...skipMethods, METHODS_TO_SKIP] : METHODS_TO_SKIP;
11
+ const addCallouts = () => {
12
+ const instance = new constructor();
13
+ let prototype = instance;
14
+ const axios = entities_1.AuthAxiosService.getAxiosInstance();
15
+ do {
16
+ Object.getOwnPropertyNames(prototype).forEach(method => addCallout(instance, method, axios));
17
+ prototype = Object.getPrototypeOf(prototype);
18
+ } while (prototype instanceof Object);
19
+ return instance;
20
+ };
21
+ const addCallout = (instance, targetMethod, axios) => {
22
+ var _a;
23
+ if (skip && skip.includes(targetMethod))
24
+ return;
25
+ const method = (_a = instance[targetMethod]) === null || _a === void 0 ? void 0 : _a.bind(instance);
26
+ if (!method)
27
+ return;
28
+ method[AddCalloutMiddleware_1.API_CALLOUT_MIDDLEWARES] = instance[targetMethod][AddCalloutMiddleware_1.API_CALLOUT_MIDDLEWARES];
29
+ instance[`${targetMethod}Callout`] = () => getCallout(instance, method, axios);
30
+ };
31
+ const getCallout = (instance, method, axios) => {
32
+ const callout = new callout_1.Callout(method, axios);
33
+ method[API_INSTANCE] = instance;
34
+ const middlewares = method[AddCalloutMiddleware_1.API_CALLOUT_MIDDLEWARES];
35
+ if (!middlewares)
36
+ return callout;
37
+ middlewares
38
+ .map(middleware => middleware(instance))
39
+ .filter(middleware => middleware)
40
+ .forEach(middleware => callout.addMiddleware(middleware));
41
+ return callout;
42
+ };
43
+ return class extends constructor {
44
+ constructor(...args) {
45
+ super(...args);
46
+ return addCallouts();
47
+ }
48
+ };
49
+ };
50
+ exports.Calloutable = Calloutable;
51
+ //# sourceMappingURL=Calloutable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Calloutable.js","sourceRoot":"","sources":["../../../../src/features/callout/decorators/Calloutable.ts"],"names":[],"mappings":";;;AAAA,+CAA0C;AAE1C,iEAA+D;AAE/D,gDAAmD;AAEnD,MAAM,eAAe,GAAG,CAAC,aAAa,EAAE,eAAe,EAAE,WAAW,CAAC,CAAC;AAEtE,MAAM,YAAY,GAAG,MAAM,CAAC,yBAAyB,CAAC,CAAC;AAEhD,MAAM,WAAW,GAAG,CAAC,WAA2B,EAAE,EAAE,CAAC,CAA0B,WAAc,EAAE,EAAE;IACtG,MAAM,IAAI,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC;IAE/E,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,MAAM,QAAQ,GAAG,IAAI,WAAW,EAAE,CAAC;QAEnC,IAAI,SAAS,GAAG,QAAQ,CAAC;QAEzB,MAAM,KAAK,GAAG,2BAAgB,CAAC,gBAAgB,EAAE,CAAC;QAElD,GAAG;YACD,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE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,OAAO,OAAO,CAAC;IACjB,CAAC,CAAA;IAED,OAAO,KAAM,SAAQ,WAAW;QAC9B,YAAY,GAAG,IAAW;YACxB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;YAEf,OAAO,WAAW,EAAE,CAAC;QACvB,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAvDW,QAAA,WAAW,eAuDtB"}
@@ -0,0 +1,2 @@
1
+ export * from './Calloutable';
2
+ export * from './AddCalloutMiddleware';
@@ -0,0 +1,19 @@
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
+ __exportStar(require("./AddCalloutMiddleware"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/callout/decorators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,yDAAuC"}
@@ -1 +1,2 @@
1
- export * from './Calloutable';
1
+ export * from './types';
2
+ export * from './decorators';
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Calloutable"), exports);
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./decorators"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/callout/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/callout/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
@@ -0,0 +1,2 @@
1
+ import { CalloutMiddleware } from "@buildery/callout";
2
+ export type ApiCalloutMiddleware<T> = (apiInstance: T) => CalloutMiddleware;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ApiCalloutMiddleware.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiCalloutMiddleware.js","sourceRoot":"","sources":["../../../../src/features/callout/types/ApiCalloutMiddleware.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './ApiCalloutMiddleware';
@@ -0,0 +1,18 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/callout/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
@@ -1,5 +1,4 @@
1
1
  export declare abstract class AbstractCRUDRequest {
2
- protected apiUrl: string | undefined;
3
- protected getApiUrl(): string;
4
- protected getObjectName(): string;
2
+ getApiUrl(): string;
3
+ getObjectName(): string;
5
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractCRUDRequest.js","sourceRoot":"","sources":["../../../../src/features/crud/abstract/AbstractCRUDRequest.ts"],"names":[],"mappings":";;;AAAA,MAAsB,mBAAmB;IAI7B,SAAS,KAAa,OAAO,EAAE,CAAA,CAAC,CAAC;IAAA,CAAC;IAElC,aAAa,KAAa,OAAO,EAAE,CAAA,CAAC,CAAC;IAAA,CAAC;CAEjD;AARD,kDAQC"}
1
+ {"version":3,"file":"AbstractCRUDRequest.js","sourceRoot":"","sources":["../../../../src/features/crud/abstract/AbstractCRUDRequest.ts"],"names":[],"mappings":";;;AAAA,MAAsB,mBAAmB;IAEhC,SAAS,KAAa,OAAO,EAAE,CAAA,CAAC,CAAC;IAAA,CAAC;IAElC,aAAa,KAAa,OAAO,EAAE,CAAA,CAAC,CAAC;IAAA,CAAC;CAE9C;AAND,kDAMC"}
@@ -0,0 +1,10 @@
1
+ export declare const enum CrudActions {
2
+ Create = "create",
3
+ Update = "update",
4
+ Delete = "delete",
5
+ Upsert = "upsert",
6
+ CreateBulk = "create_bulk",
7
+ UpdateBulk = "update_bulk",
8
+ DeleteBulk = "delete_bulk",
9
+ UpsertBulk = "upsert_bulk"
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CrudActions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CrudActions.js","sourceRoot":"","sources":["../../../../src/features/crud/constants/CrudActions.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare const CrudEventChannel = "ts-api-kit:crud";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CrudEventChannel = void 0;
4
+ exports.CrudEventChannel = 'ts-api-kit:crud';
5
+ //# sourceMappingURL=CrudConstants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CrudConstants.js","sourceRoot":"","sources":["../../../../src/features/crud/constants/CrudConstants.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG,iBAAiB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './CrudConstants';
2
+ export * from './CrudActions';
@@ -0,0 +1,19 @@
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("./CrudConstants"), exports);
18
+ __exportStar(require("./CrudActions"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/crud/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,gDAA8B"}
@@ -0,0 +1,4 @@
1
+ import { ApiCalloutMiddleware } from "../../callout";
2
+ import { AbstractCRUDRequest } from "../abstract";
3
+ import { CrudActions } from "../constants";
4
+ export declare const PushCrudEvent: (action: CrudActions) => ApiCalloutMiddleware<AbstractCRUDRequest>;