@buildery/ts-api-kit 4.6.29 → 4.8.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.
- package/dist/ApiConfigs.d.ts +6 -0
- package/dist/ApiConfigs.js +7 -0
- package/dist/ApiConfigs.js.map +1 -0
- package/dist/RawApi.d.ts +2 -1
- package/dist/RawApi.js +13 -12
- package/dist/RawApi.js.map +1 -1
- package/dist/configs/index.d.ts +1 -0
- package/dist/configs/index.js +1 -0
- package/dist/configs/index.js.map +1 -1
- package/dist/configs/user/config/UserApi.d.ts +2 -2
- package/dist/configs/user/config/UserApi.js.map +1 -1
- package/dist/configs/user/types/CreateUser.d.ts +5 -0
- package/dist/configs/user/types/CreateUser.js +3 -0
- package/dist/configs/user/types/CreateUser.js.map +1 -0
- package/dist/configs/user/types/IUser.d.ts +4 -6
- package/dist/configs/user/types/index.d.ts +1 -1
- package/dist/configs/user/types/index.js +1 -1
- package/dist/configs/user/types/index.js.map +1 -1
- package/dist/configs/workspace/config/WorkspaceApi.d.ts +10 -0
- package/dist/configs/workspace/config/WorkspaceApi.js +26 -0
- package/dist/configs/workspace/config/WorkspaceApi.js.map +1 -0
- package/dist/configs/workspace/config/index.d.ts +1 -0
- package/dist/configs/workspace/config/index.js +18 -0
- package/dist/configs/workspace/config/index.js.map +1 -0
- package/dist/configs/workspace/index.d.ts +2 -0
- package/dist/configs/workspace/index.js +19 -0
- package/dist/configs/workspace/index.js.map +1 -0
- package/dist/configs/workspace/types/InitWorkspace.d.ts +6 -0
- package/dist/configs/workspace/types/InitWorkspace.js +3 -0
- package/dist/configs/workspace/types/InitWorkspace.js.map +1 -0
- package/dist/configs/workspace/types/index.d.ts +1 -0
- package/dist/configs/workspace/types/index.js +18 -0
- package/dist/configs/workspace/types/index.js.map +1 -0
- package/dist/core/ApiConfigs.d.ts +1 -0
- package/dist/core/ApiConfigs.js.map +1 -1
- package/dist/entities/auth/config/AuthApi.d.ts +10 -0
- package/dist/entities/auth/config/AuthApi.js +57 -0
- package/dist/entities/auth/config/AuthApi.js.map +1 -0
- package/dist/entities/auth/config/index.d.ts +1 -0
- package/dist/entities/auth/config/index.js +18 -0
- package/dist/entities/auth/config/index.js.map +1 -0
- package/dist/entities/auth/index.d.ts +2 -0
- package/dist/entities/auth/index.js +19 -0
- package/dist/entities/auth/index.js.map +1 -0
- package/dist/entities/auth/services/AuthAxiosService.d.ts +7 -0
- package/dist/entities/auth/services/AuthAxiosService.js +39 -0
- package/dist/entities/auth/services/AuthAxiosService.js.map +1 -0
- package/dist/entities/auth/services/AuthError.d.ts +3 -0
- package/dist/entities/auth/services/AuthError.js +10 -0
- package/dist/entities/auth/services/AuthError.js.map +1 -0
- package/dist/entities/auth/services/AuthService.d.ts +4 -0
- package/dist/entities/auth/services/AuthService.js +24 -0
- package/dist/entities/auth/services/AuthService.js.map +1 -0
- package/dist/entities/auth/services/AuthTokensService.d.ts +11 -0
- package/dist/entities/auth/services/AuthTokensService.js +36 -0
- package/dist/entities/auth/services/AuthTokensService.js.map +1 -0
- package/dist/entities/auth/services/index.d.ts +3 -0
- package/dist/entities/auth/services/index.js +20 -0
- package/dist/entities/auth/services/index.js.map +1 -0
- package/dist/entities/auth/types/AuthActivateUser.d.ts +5 -0
- package/dist/entities/auth/types/AuthActivateUser.js +3 -0
- package/dist/entities/auth/types/AuthActivateUser.js.map +1 -0
- package/dist/entities/auth/types/AuthApiTokens.d.ts +4 -0
- package/dist/entities/auth/types/AuthApiTokens.js +3 -0
- package/dist/entities/auth/types/AuthApiTokens.js.map +1 -0
- package/dist/entities/auth/types/AuthChangePassword.d.ts +5 -0
- package/dist/entities/auth/types/AuthChangePassword.js +3 -0
- package/dist/entities/auth/types/AuthChangePassword.js.map +1 -0
- package/dist/entities/auth/types/AuthCode.d.ts +4 -0
- package/dist/entities/auth/types/AuthCode.js +3 -0
- package/dist/entities/auth/types/AuthCode.js.map +1 -0
- package/dist/entities/auth/types/AuthSignIn.d.ts +4 -0
- package/dist/entities/auth/types/AuthSignIn.js +3 -0
- package/dist/entities/auth/types/AuthSignIn.js.map +1 -0
- package/dist/entities/auth/types/AuthUserJWT.d.ts +8 -0
- package/dist/entities/auth/types/AuthUserJWT.js +3 -0
- package/dist/entities/auth/types/AuthUserJWT.js.map +1 -0
- package/dist/entities/auth/types/index.d.ts +6 -0
- package/dist/entities/auth/types/index.js +23 -0
- package/dist/entities/auth/types/index.js.map +1 -0
- package/dist/entities/index.d.ts +6 -0
- package/dist/entities/index.js +23 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/entities/module/config/ModuleApi.d.ts +10 -0
- package/dist/entities/module/config/ModuleApi.js +44 -0
- package/dist/entities/module/config/ModuleApi.js.map +1 -0
- package/dist/entities/module/config/index.d.ts +1 -0
- package/dist/entities/module/config/index.js +18 -0
- package/dist/entities/module/config/index.js.map +1 -0
- package/dist/entities/module/index.d.ts +2 -0
- package/dist/entities/module/index.js +19 -0
- package/dist/entities/module/index.js.map +1 -0
- package/dist/entities/module/types/IModule.d.ts +12 -0
- package/dist/entities/module/types/IModule.js +3 -0
- package/dist/entities/module/types/IModule.js.map +1 -0
- package/dist/entities/module/types/ModuleObjectNames.d.ts +3 -0
- package/dist/entities/module/types/ModuleObjectNames.js +7 -0
- package/dist/entities/module/types/ModuleObjectNames.js.map +1 -0
- package/dist/entities/module/types/index.d.ts +2 -0
- package/dist/entities/module/types/index.js +19 -0
- package/dist/entities/module/types/index.js.map +1 -0
- package/dist/entities/schema/config/FieldApi.d.ts +12 -0
- package/dist/entities/schema/config/FieldApi.js +44 -0
- package/dist/entities/schema/config/FieldApi.js.map +1 -0
- package/dist/entities/schema/config/ObjectApi.d.ts +6 -0
- package/dist/entities/schema/config/ObjectApi.js +21 -0
- package/dist/entities/schema/config/ObjectApi.js.map +1 -0
- package/dist/entities/schema/config/index.d.ts +2 -0
- package/dist/entities/schema/config/index.js +19 -0
- package/dist/entities/schema/config/index.js.map +1 -0
- package/dist/entities/schema/index.d.ts +2 -0
- package/dist/entities/schema/index.js +19 -0
- package/dist/entities/schema/index.js.map +1 -0
- package/dist/entities/schema/types/FieldType.d.ts +9 -0
- package/dist/entities/schema/types/FieldType.js +14 -0
- package/dist/entities/schema/types/FieldType.js.map +1 -0
- package/dist/entities/schema/types/PicklistValue.d.ts +4 -0
- package/dist/entities/schema/types/PicklistValue.js +3 -0
- package/dist/entities/schema/types/PicklistValue.js.map +1 -0
- package/dist/entities/schema/types/SObject.d.ts +7 -0
- package/dist/entities/schema/types/SObject.js +3 -0
- package/dist/entities/schema/types/SObject.js.map +1 -0
- package/dist/entities/schema/types/SObjectField.d.ts +32 -0
- package/dist/entities/schema/types/SObjectField.js +3 -0
- package/dist/entities/schema/types/SObjectField.js.map +1 -0
- package/dist/entities/schema/types/SchemaObjectNames.d.ts +4 -0
- package/dist/entities/schema/types/SchemaObjectNames.js +8 -0
- package/dist/entities/schema/types/SchemaObjectNames.js.map +1 -0
- package/dist/entities/schema/types/index.d.ts +5 -0
- package/dist/entities/schema/types/index.js +22 -0
- package/dist/entities/schema/types/index.js.map +1 -0
- package/dist/entities/security/config/PermissionApi.d.ts +9 -0
- package/dist/entities/security/config/PermissionApi.js +36 -0
- package/dist/entities/security/config/PermissionApi.js.map +1 -0
- package/dist/entities/security/config/PermissionAssignmentApi.d.ts +6 -0
- package/dist/entities/security/config/PermissionAssignmentApi.js +21 -0
- package/dist/entities/security/config/PermissionAssignmentApi.js.map +1 -0
- package/dist/entities/security/config/PermissionCategoryApi.d.ts +8 -0
- package/dist/entities/security/config/PermissionCategoryApi.js +38 -0
- package/dist/entities/security/config/PermissionCategoryApi.js.map +1 -0
- package/dist/entities/security/config/PermissionDefinitionApi.d.ts +6 -0
- package/dist/entities/security/config/PermissionDefinitionApi.js +21 -0
- package/dist/entities/security/config/PermissionDefinitionApi.js.map +1 -0
- package/dist/entities/security/config/PermissionGroupApi.d.ts +6 -0
- package/dist/entities/security/config/PermissionGroupApi.js +21 -0
- package/dist/entities/security/config/PermissionGroupApi.js.map +1 -0
- package/dist/entities/security/config/PermissionSetApi.d.ts +6 -0
- package/dist/entities/security/config/PermissionSetApi.js +21 -0
- package/dist/entities/security/config/PermissionSetApi.js.map +1 -0
- package/dist/entities/security/config/index.d.ts +6 -0
- package/dist/entities/security/config/index.js +23 -0
- package/dist/entities/security/config/index.js.map +1 -0
- package/dist/entities/security/index.d.ts +2 -0
- package/dist/entities/security/index.js +19 -0
- package/dist/entities/security/index.js.map +1 -0
- package/dist/entities/security/types/IPermission.d.ts +10 -0
- package/dist/entities/security/types/IPermission.js +3 -0
- package/dist/entities/security/types/IPermission.js.map +1 -0
- package/dist/entities/security/types/IPermissionAssignment.d.ts +6 -0
- package/dist/entities/security/types/IPermissionAssignment.js +3 -0
- package/dist/entities/security/types/IPermissionAssignment.js.map +1 -0
- package/dist/entities/security/types/IPermissionCategory.d.ts +5 -0
- package/dist/entities/security/types/IPermissionCategory.js +3 -0
- package/dist/entities/security/types/IPermissionCategory.js.map +1 -0
- package/dist/entities/security/types/IPermissionDefinition.d.ts +6 -0
- package/dist/entities/security/types/IPermissionDefinition.js +3 -0
- package/dist/entities/security/types/IPermissionDefinition.js.map +1 -0
- package/dist/entities/security/types/IPermissionGroup.d.ts +4 -0
- package/dist/entities/security/types/IPermissionGroup.js +3 -0
- package/dist/entities/security/types/IPermissionGroup.js.map +1 -0
- package/dist/entities/security/types/IPermissionSet.d.ts +6 -0
- package/dist/entities/security/types/IPermissionSet.js +3 -0
- package/dist/entities/security/types/IPermissionSet.js.map +1 -0
- package/dist/entities/security/types/SecurityObjectNames.d.ts +8 -0
- package/dist/entities/security/types/SecurityObjectNames.js +12 -0
- package/dist/entities/security/types/SecurityObjectNames.js.map +1 -0
- package/dist/entities/security/types/index.d.ts +7 -0
- package/dist/entities/security/types/index.js +24 -0
- package/dist/entities/security/types/index.js.map +1 -0
- package/dist/entities/user/config/UserApi.d.ts +6 -0
- package/dist/entities/user/config/UserApi.js +21 -0
- package/dist/entities/user/config/UserApi.js.map +1 -0
- package/dist/entities/user/config/index.d.ts +1 -0
- package/dist/entities/user/config/index.js +18 -0
- package/dist/entities/user/config/index.js.map +1 -0
- package/dist/entities/user/index.d.ts +2 -0
- package/dist/entities/user/index.js +19 -0
- package/dist/entities/user/index.js.map +1 -0
- package/dist/entities/user/types/CreateUser.d.ts +5 -0
- package/dist/entities/user/types/CreateUser.js +3 -0
- package/dist/entities/user/types/CreateUser.js.map +1 -0
- package/dist/entities/user/types/IUser.d.ts +6 -0
- package/dist/entities/user/types/IUser.js +3 -0
- package/dist/entities/user/types/IUser.js.map +1 -0
- package/dist/entities/user/types/index.d.ts +2 -0
- package/dist/entities/user/types/index.js +19 -0
- package/dist/entities/user/types/index.js.map +1 -0
- package/dist/entities/workspace/config/WorkspaceApi.d.ts +10 -0
- package/dist/entities/workspace/config/WorkspaceApi.js +27 -0
- package/dist/entities/workspace/config/WorkspaceApi.js.map +1 -0
- package/dist/entities/workspace/config/index.d.ts +1 -0
- package/dist/entities/workspace/config/index.js +18 -0
- package/dist/entities/workspace/config/index.js.map +1 -0
- package/dist/entities/workspace/index.d.ts +2 -0
- package/dist/entities/workspace/index.js +19 -0
- package/dist/entities/workspace/index.js.map +1 -0
- package/dist/entities/workspace/types/InitWorkspace.d.ts +6 -0
- package/dist/entities/workspace/types/InitWorkspace.js +3 -0
- package/dist/entities/workspace/types/InitWorkspace.js.map +1 -0
- package/dist/entities/workspace/types/index.d.ts +1 -0
- package/dist/entities/workspace/types/index.js +18 -0
- package/dist/entities/workspace/types/index.js.map +1 -0
- package/dist/features/bind-this/BindThis.d.ts +3 -0
- package/dist/features/bind-this/BindThis.js +9 -0
- package/dist/features/bind-this/BindThis.js.map +1 -0
- package/dist/features/bind-this/index.d.ts +1 -0
- package/dist/features/bind-this/index.js +18 -0
- package/dist/features/bind-this/index.js.map +1 -0
- package/dist/features/callout/Calloutable.d.ts +4 -0
- package/dist/features/callout/Calloutable.js +28 -0
- package/dist/features/callout/Calloutable.js.map +1 -0
- package/dist/features/callout/index.d.ts +1 -0
- package/dist/features/callout/index.js +18 -0
- package/dist/features/callout/index.js.map +1 -0
- package/dist/features/crud/abstract/AbstractCRUDRequest.d.ts +5 -0
- package/dist/features/crud/abstract/AbstractCRUDRequest.js +8 -0
- package/dist/features/crud/abstract/AbstractCRUDRequest.js.map +1 -0
- package/dist/features/crud/abstract/index.d.ts +1 -0
- package/dist/features/crud/abstract/index.js +18 -0
- package/dist/features/crud/abstract/index.js.map +1 -0
- package/dist/features/crud/index.d.ts +3 -0
- package/dist/features/crud/index.js +20 -0
- package/dist/features/crud/index.js.map +1 -0
- package/dist/features/crud/operations/Create.d.ts +5 -0
- package/dist/features/crud/operations/Create.js +17 -0
- package/dist/features/crud/operations/Create.js.map +1 -0
- package/dist/features/crud/operations/CreateBulk.d.ts +5 -0
- package/dist/features/crud/operations/CreateBulk.js +17 -0
- package/dist/features/crud/operations/CreateBulk.js.map +1 -0
- package/dist/features/crud/operations/DeleteById.d.ts +5 -0
- package/dist/features/crud/operations/DeleteById.js +16 -0
- package/dist/features/crud/operations/DeleteById.js.map +1 -0
- package/dist/features/crud/operations/DeleteByIds.d.ts +5 -0
- package/dist/features/crud/operations/DeleteByIds.js +16 -0
- package/dist/features/crud/operations/DeleteByIds.js.map +1 -0
- package/dist/features/crud/operations/GetAll.d.ts +5 -0
- package/dist/features/crud/operations/GetAll.js +16 -0
- package/dist/features/crud/operations/GetAll.js.map +1 -0
- package/dist/features/crud/operations/GetById.d.ts +5 -0
- package/dist/features/crud/operations/GetById.js +16 -0
- package/dist/features/crud/operations/GetById.js.map +1 -0
- package/dist/features/crud/operations/GetByIds.d.ts +5 -0
- package/dist/features/crud/operations/GetByIds.js +17 -0
- package/dist/features/crud/operations/GetByIds.js.map +1 -0
- package/dist/features/crud/operations/Update.d.ts +5 -0
- package/dist/features/crud/operations/Update.js +17 -0
- package/dist/features/crud/operations/Update.js.map +1 -0
- package/dist/features/crud/operations/UpdateBulk.d.ts +5 -0
- package/dist/features/crud/operations/UpdateBulk.js +17 -0
- package/dist/features/crud/operations/UpdateBulk.js.map +1 -0
- package/dist/features/crud/operations/Upsert.d.ts +5 -0
- package/dist/features/crud/operations/Upsert.js +17 -0
- package/dist/features/crud/operations/Upsert.js.map +1 -0
- package/dist/features/crud/operations/UpsertBulk.d.ts +5 -0
- package/dist/features/crud/operations/UpsertBulk.js +17 -0
- package/dist/features/crud/operations/UpsertBulk.js.map +1 -0
- package/dist/features/crud/operations/index.d.ts +11 -0
- package/dist/features/crud/operations/index.js +28 -0
- package/dist/features/crud/operations/index.js.map +1 -0
- package/dist/features/crud/templates/FullCRUD.d.ts +8 -0
- package/dist/features/crud/templates/FullCRUD.js +12 -0
- package/dist/features/crud/templates/FullCRUD.js.map +1 -0
- package/dist/features/crud/templates/FullCreate.d.ts +6 -0
- package/dist/features/crud/templates/FullCreate.js +10 -0
- package/dist/features/crud/templates/FullCreate.js.map +1 -0
- package/dist/features/crud/templates/FullDelete.d.ts +6 -0
- package/dist/features/crud/templates/FullDelete.js +10 -0
- package/dist/features/crud/templates/FullDelete.js.map +1 -0
- package/dist/features/crud/templates/FullQuery.d.ts +7 -0
- package/dist/features/crud/templates/FullQuery.js +11 -0
- package/dist/features/crud/templates/FullQuery.js.map +1 -0
- package/dist/features/crud/templates/FullUpdate.d.ts +6 -0
- package/dist/features/crud/templates/FullUpdate.js +10 -0
- package/dist/features/crud/templates/FullUpdate.js.map +1 -0
- package/dist/features/crud/templates/FullUpsert.d.ts +6 -0
- package/dist/features/crud/templates/FullUpsert.js +10 -0
- package/dist/features/crud/templates/FullUpsert.js.map +1 -0
- package/dist/features/crud/templates/index.d.ts +6 -0
- package/dist/features/crud/templates/index.js +23 -0
- package/dist/features/crud/templates/index.js.map +1 -0
- package/dist/features/index.d.ts +3 -0
- package/dist/features/index.js +20 -0
- package/dist/features/index.js.map +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/Constructable.d.ts +3 -0
- package/dist/types/Constructable.js +3 -0
- package/dist/types/Constructable.js.map +1 -0
- package/dist/types/HasDBId.d.ts +3 -0
- package/dist/types/HasDBId.js +3 -0
- package/dist/types/HasDBId.js.map +1 -0
- package/dist/types/HasEmail.d.ts +3 -0
- package/dist/types/HasEmail.js +3 -0
- package/dist/types/HasEmail.js.map +1 -0
- package/dist/types/HasId.d.ts +3 -0
- package/dist/types/HasId.js +3 -0
- package/dist/types/HasId.js.map +1 -0
- package/dist/types/HasLabel.d.ts +3 -0
- package/dist/types/HasLabel.js +3 -0
- package/dist/types/HasLabel.js.map +1 -0
- package/dist/types/HasMode.d.ts +3 -0
- package/dist/types/HasMode.js +3 -0
- package/dist/types/HasMode.js.map +1 -0
- package/dist/types/HasOrder.d.ts +3 -0
- package/dist/types/HasOrder.js +3 -0
- package/dist/types/HasOrder.js.map +1 -0
- package/dist/types/index.d.ts +6 -1
- package/dist/types/index.js +6 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -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("./UserApi"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/user/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -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("./config"), exports);
|
|
18
|
+
__exportStar(require("./types"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateUser.js","sourceRoot":"","sources":["../../../../src/entities/user/types/CreateUser.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IUser.js","sourceRoot":"","sources":["../../../../src/entities/user/types/IUser.ts"],"names":[],"mappings":""}
|
|
@@ -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("./IUser"), exports);
|
|
18
|
+
__exportStar(require("./CreateUser"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/user/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BindThis } from "../../../features";
|
|
2
|
+
import { InitWorkspace } from "../types";
|
|
3
|
+
export declare class WorkspaceApi extends BindThis {
|
|
4
|
+
init(workspace: InitWorkspace): {
|
|
5
|
+
baseURL: string;
|
|
6
|
+
url: string;
|
|
7
|
+
method: string;
|
|
8
|
+
data: InitWorkspace;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.WorkspaceApi = void 0;
|
|
10
|
+
const features_1 = require("../../../features");
|
|
11
|
+
const features_2 = require("../../../features");
|
|
12
|
+
const ApiConfigs_1 = require("../../../ApiConfigs");
|
|
13
|
+
let WorkspaceApi = class WorkspaceApi extends features_1.BindThis {
|
|
14
|
+
init(workspace) {
|
|
15
|
+
return {
|
|
16
|
+
baseURL: ApiConfigs_1.ApiConfigs.initURL,
|
|
17
|
+
url: '/init',
|
|
18
|
+
method: 'POST',
|
|
19
|
+
data: workspace
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
WorkspaceApi = __decorate([
|
|
24
|
+
(0, features_2.Calloutable)()
|
|
25
|
+
], WorkspaceApi);
|
|
26
|
+
exports.WorkspaceApi = WorkspaceApi;
|
|
27
|
+
//# sourceMappingURL=WorkspaceApi.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './WorkspaceApi';
|
|
@@ -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("./WorkspaceApi"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/workspace/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
@@ -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("./types"), exports);
|
|
18
|
+
__exportStar(require("./config"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/workspace/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InitWorkspace.js","sourceRoot":"","sources":["../../../../src/entities/workspace/types/InitWorkspace.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InitWorkspace';
|
|
@@ -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("./InitWorkspace"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/entities/workspace/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BindThis = void 0;
|
|
4
|
+
const auto_bind_1 = require("@buildery/auto-bind");
|
|
5
|
+
class BindThis {
|
|
6
|
+
constructor() { (0, auto_bind_1.default)(this); }
|
|
7
|
+
}
|
|
8
|
+
exports.BindThis = BindThis;
|
|
9
|
+
//# sourceMappingURL=BindThis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BindThis.js","sourceRoot":"","sources":["../../../src/features/bind-this/BindThis.ts"],"names":[],"mappings":";;;AAAA,mDAA2C;AAE3C,MAAa,QAAQ;IAEnB,gBAAuB,IAAA,mBAAQ,EAAC,IAAI,CAAC,CAAA,CAAC,CAAC;CAExC;AAJD,4BAIC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BindThis';
|
|
@@ -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("./BindThis"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/bind-this/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Calloutable = void 0;
|
|
4
|
+
const callout_1 = require("@buildery/callout");
|
|
5
|
+
const services_1 = require("../../entities/auth/services");
|
|
6
|
+
const toSkipMethods = ['constructor', 'getBaseUrl', 'getApiName'];
|
|
7
|
+
const Calloutable = (toSkip) => (constructor) => {
|
|
8
|
+
toSkip = toSkip ? [...toSkip, ...toSkipMethods] : toSkipMethods;
|
|
9
|
+
return class extends constructor {
|
|
10
|
+
constructor(...args) {
|
|
11
|
+
super(...args);
|
|
12
|
+
const axios = services_1.AuthAxiosService.getAxiosInstance();
|
|
13
|
+
const instance = new constructor();
|
|
14
|
+
let prototype = instance;
|
|
15
|
+
do {
|
|
16
|
+
Object.getOwnPropertyNames(prototype).forEach(method => {
|
|
17
|
+
if (toSkip && toSkip.includes(method))
|
|
18
|
+
return;
|
|
19
|
+
instance[`${method}Callout`] = new callout_1.Callout(instance[`${method}`], axios);
|
|
20
|
+
});
|
|
21
|
+
prototype = Object.getPrototypeOf(prototype);
|
|
22
|
+
} while (prototype instanceof Object);
|
|
23
|
+
return instance;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
exports.Calloutable = Calloutable;
|
|
28
|
+
//# sourceMappingURL=Calloutable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Calloutable.js","sourceRoot":"","sources":["../../../src/features/callout/Calloutable.ts"],"names":[],"mappings":";;;AAAA,+CAA0C;AAC1C,2DAA8D;AAG9D,MAAM,aAAa,GAAG,CAAC,aAAa,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AAE3D,MAAM,WAAW,GAAG,CAAC,MAAsB,EAAE,EAAE,CAAC,CAA0B,WAAc,EAAE,EAAE;IACjG,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;IAEhE,OAAO,KAAM,SAAQ,WAAW;QAC9B,YAAY,GAAG,IAAW;YACxB,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;YAEf,MAAM,KAAK,GAAG,2BAAgB,CAAC,gBAAgB,EAAE,CAAC;YAElD,MAAM,QAAQ,GAAG,IAAI,WAAW,EAAE,CAAC;YACnC,IAAI,SAAS,GAAG,QAAQ,CAAC;YAEzB,GAAG;gBACD,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;oBACrD,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;wBAAE,OAAO;oBAE9C,QAAQ,CAAC,GAAG,MAAM,SAAS,CAAC,GAAG,IAAI,iBAAO,CAAC,QAAQ,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;gBAC3E,CAAC,CAAC,CAAA;gBAEF,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;aAC9C,QAAQ,SAAS,YAAY,MAAM,EAAC;YAErC,OAAO,QAAQ,CAAC;QAClB,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAzBW,QAAA,WAAW,eAyBtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Calloutable';
|
|
@@ -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("./Calloutable"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/callout/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AbstractCRUDRequest = void 0;
|
|
4
|
+
const BindThis_1 = require("../../bind-this/BindThis");
|
|
5
|
+
class AbstractCRUDRequest extends BindThis_1.BindThis {
|
|
6
|
+
}
|
|
7
|
+
exports.AbstractCRUDRequest = AbstractCRUDRequest;
|
|
8
|
+
//# sourceMappingURL=AbstractCRUDRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractCRUDRequest.js","sourceRoot":"","sources":["../../../../src/features/crud/abstract/AbstractCRUDRequest.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;AAElD,MAAsB,mBAAoB,SAAQ,mBAAQ;CAMzD;AAND,kDAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AbstractCRUDRequest';
|
|
@@ -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("./AbstractCRUDRequest"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/crud/abstract/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./abstract"), exports);
|
|
18
|
+
__exportStar(require("./operations"), exports);
|
|
19
|
+
__exportStar(require("./templates"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/features/crud/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,+CAA6B;AAC7B,8CAA4B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Create = void 0;
|
|
4
|
+
const abstract_1 = require("../abstract");
|
|
5
|
+
class Create extends abstract_1.AbstractCRUDRequest {
|
|
6
|
+
create(entity) {
|
|
7
|
+
return {
|
|
8
|
+
baseURL: this.getApiUrl(),
|
|
9
|
+
url: `/${this.getObjectName()}`,
|
|
10
|
+
method: 'POST',
|
|
11
|
+
data: entity
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
;
|
|
15
|
+
}
|
|
16
|
+
exports.Create = Create;
|
|
17
|
+
//# sourceMappingURL=Create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../src/features/crud/operations/Create.ts"],"names":[],"mappings":";;;AAAA,0CAAgD;AAGhD,MAAsB,MAAO,SAAQ,8BAAmB;IAE/C,MAAM,CAAC,MAAW;QACvB,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,EAAE;YAC/B,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,MAAM;SACb,CAAA;IACH,CAAC;IAAA,CAAC;CAEH;AAXD,wBAWC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateBulk = void 0;
|
|
4
|
+
const abstract_1 = require("../abstract");
|
|
5
|
+
class CreateBulk extends abstract_1.AbstractCRUDRequest {
|
|
6
|
+
createBulk(entities) {
|
|
7
|
+
return {
|
|
8
|
+
baseURL: this.getApiUrl(),
|
|
9
|
+
url: `/${this.getObjectName()}/bulk`,
|
|
10
|
+
method: 'POST',
|
|
11
|
+
data: entities
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
;
|
|
15
|
+
}
|
|
16
|
+
exports.CreateBulk = CreateBulk;
|
|
17
|
+
//# sourceMappingURL=CreateBulk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateBulk.js","sourceRoot":"","sources":["../../../../src/features/crud/operations/CreateBulk.ts"],"names":[],"mappings":";;;AACA,0CAAgD;AAEhD,MAAsB,UAAW,SAAQ,8BAAmB;IAEnD,UAAU,CAAC,QAAoB;QACpC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,OAAO;YACpC,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,QAAQ;SACf,CAAA;IACH,CAAC;IAAA,CAAC;CAEH;AAXD,gCAWC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteById = void 0;
|
|
4
|
+
const abstract_1 = require("../abstract");
|
|
5
|
+
class DeleteById extends abstract_1.AbstractCRUDRequest {
|
|
6
|
+
deleteById(entityId) {
|
|
7
|
+
return {
|
|
8
|
+
baseURL: this.getApiUrl(),
|
|
9
|
+
url: `/${this.getObjectName()}/${entityId}`,
|
|
10
|
+
method: 'DELETE'
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
;
|
|
14
|
+
}
|
|
15
|
+
exports.DeleteById = DeleteById;
|
|
16
|
+
//# sourceMappingURL=DeleteById.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteById.js","sourceRoot":"","sources":["../../../../src/features/crud/operations/DeleteById.ts"],"names":[],"mappings":";;;AAAA,0CAAgD;AAGhD,MAAsB,UAAW,SAAQ,8BAAmB;IAEnD,UAAU,CAAC,QAAgB;QAChC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,IAAI,QAAQ,EAAE;YAC3C,MAAM,EAAE,QAAQ;SACjB,CAAA;IACH,CAAC;IAAA,CAAC;CAEH;AAVD,gCAUC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteByIds = void 0;
|
|
4
|
+
const abstract_1 = require("../abstract");
|
|
5
|
+
class DeleteByIds extends abstract_1.AbstractCRUDRequest {
|
|
6
|
+
deleteByIds(entityIds) {
|
|
7
|
+
return {
|
|
8
|
+
baseURL: this.getApiUrl(),
|
|
9
|
+
url: `/${this.getObjectName()}/bulk/${entityIds === null || entityIds === void 0 ? void 0 : entityIds.join(',')}`,
|
|
10
|
+
method: 'DELETE'
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
;
|
|
14
|
+
}
|
|
15
|
+
exports.DeleteByIds = DeleteByIds;
|
|
16
|
+
//# sourceMappingURL=DeleteByIds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteByIds.js","sourceRoot":"","sources":["../../../../src/features/crud/operations/DeleteByIds.ts"],"names":[],"mappings":";;;AAAA,0CAAgD;AAGhD,MAAsB,WAAY,SAAQ,8BAAmB;IAEpD,WAAW,CAAC,SAAwB;QACzC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,SAAS,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,IAAI,CAAC,GAAG,CAAC,EAAE;YAC5D,MAAM,EAAE,QAAQ;SACjB,CAAA;IACH,CAAC;IAAA,CAAC;CAEH;AAVD,kCAUC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetAll = void 0;
|
|
4
|
+
const abstract_1 = require("../abstract");
|
|
5
|
+
class GetAll extends abstract_1.AbstractCRUDRequest {
|
|
6
|
+
getAll() {
|
|
7
|
+
return {
|
|
8
|
+
baseURL: this.getApiUrl(),
|
|
9
|
+
url: `/${this.getObjectName()}`,
|
|
10
|
+
method: 'GET'
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
;
|
|
14
|
+
}
|
|
15
|
+
exports.GetAll = GetAll;
|
|
16
|
+
//# sourceMappingURL=GetAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetAll.js","sourceRoot":"","sources":["../../../../src/features/crud/operations/GetAll.ts"],"names":[],"mappings":";;;AAAA,0CAAgD;AAGhD,MAAsB,MAAO,SAAQ,8BAAmB;IAE/C,MAAM;QACX,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,EAAE;YAC/B,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;IAAA,CAAC;CAEH;AAVD,wBAUC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetById = void 0;
|
|
4
|
+
const abstract_1 = require("../abstract");
|
|
5
|
+
class GetById extends abstract_1.AbstractCRUDRequest {
|
|
6
|
+
getById(entityId) {
|
|
7
|
+
return {
|
|
8
|
+
baseURL: this.getApiUrl(),
|
|
9
|
+
url: `/${this.getObjectName()}/${entityId}`,
|
|
10
|
+
method: 'GET',
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
;
|
|
14
|
+
}
|
|
15
|
+
exports.GetById = GetById;
|
|
16
|
+
//# sourceMappingURL=GetById.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetById.js","sourceRoot":"","sources":["../../../../src/features/crud/operations/GetById.ts"],"names":[],"mappings":";;;AAAA,0CAAgD;AAGhD,MAAsB,OAAQ,SAAQ,8BAAmB;IAEhD,OAAO,CAAC,QAAgB;QAC7B,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,IAAI,QAAQ,EAAE;YAC3C,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;IAAA,CAAC;CAEH;AAVD,0BAUC"}
|