@buildery/ts-api-kit 5.0.50 → 5.0.52
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/Api.d.ts +168 -1
- package/dist/Api.js +43 -1
- package/dist/Api.js.map +1 -1
- package/dist/features/auth/services/AuthService.js +2 -3
- package/dist/features/auth/services/AuthService.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/RawApi.d.ts +0 -15
- package/dist/RawApi.js +0 -19
- package/dist/RawApi.js.map +0 -1
- package/dist/config/ApiConfigs.d.ts +0 -13
- package/dist/config/ApiConfigs.js +0 -17
- package/dist/config/ApiConfigs.js.map +0 -1
- package/dist/config/RawApi.d.ts +0 -34
- package/dist/config/RawApi.js +0 -41
- package/dist/config/RawApi.js.map +0 -1
- package/dist/config/index.d.ts +0 -2
- package/dist/config/index.js +0 -19
- package/dist/config/index.js.map +0 -1
- package/dist/entities/auth/config/AuthApi.d.ts +0 -22
- package/dist/entities/auth/config/AuthApi.js +0 -80
- package/dist/entities/auth/config/AuthApi.js.map +0 -1
- package/dist/entities/auth/config/index.d.ts +0 -1
- package/dist/entities/auth/config/index.js +0 -18
- package/dist/entities/auth/config/index.js.map +0 -1
- package/dist/entities/auth/errors/AuthError.d.ts +0 -3
- package/dist/entities/auth/errors/AuthError.js +0 -10
- package/dist/entities/auth/errors/AuthError.js.map +0 -1
- package/dist/entities/auth/errors/index.d.ts +0 -1
- package/dist/entities/auth/errors/index.js +0 -18
- package/dist/entities/auth/errors/index.js.map +0 -1
- package/dist/entities/auth/index.d.ts +0 -1
- package/dist/entities/auth/index.js +0 -18
- package/dist/entities/auth/index.js.map +0 -1
- package/dist/entities/auth/services/AuthAxiosService.d.ts +0 -7
- package/dist/entities/auth/services/AuthAxiosService.js +0 -39
- package/dist/entities/auth/services/AuthAxiosService.js.map +0 -1
- package/dist/entities/auth/services/AuthService.d.ts +0 -4
- package/dist/entities/auth/services/AuthService.js +0 -24
- package/dist/entities/auth/services/AuthService.js.map +0 -1
- package/dist/entities/auth/services/AuthTokensService.d.ts +0 -11
- package/dist/entities/auth/services/AuthTokensService.js +0 -36
- package/dist/entities/auth/services/AuthTokensService.js.map +0 -1
- package/dist/entities/auth/services/index.d.ts +0 -3
- package/dist/entities/auth/services/index.js +0 -20
- package/dist/entities/auth/services/index.js.map +0 -1
- package/dist/entities/auth/types/AuthActivateUser.d.ts +0 -5
- package/dist/entities/auth/types/AuthActivateUser.js +0 -3
- package/dist/entities/auth/types/AuthActivateUser.js.map +0 -1
- package/dist/entities/auth/types/AuthApiTokens.d.ts +0 -4
- package/dist/entities/auth/types/AuthApiTokens.js +0 -3
- package/dist/entities/auth/types/AuthApiTokens.js.map +0 -1
- package/dist/entities/auth/types/AuthChangePassword.d.ts +0 -5
- package/dist/entities/auth/types/AuthChangePassword.js +0 -3
- package/dist/entities/auth/types/AuthChangePassword.js.map +0 -1
- package/dist/entities/auth/types/AuthCode.d.ts +0 -4
- package/dist/entities/auth/types/AuthCode.js +0 -3
- package/dist/entities/auth/types/AuthCode.js.map +0 -1
- package/dist/entities/auth/types/AuthConfirmResetPassword.d.ts +0 -4
- package/dist/entities/auth/types/AuthConfirmResetPassword.js +0 -3
- package/dist/entities/auth/types/AuthConfirmResetPassword.js.map +0 -1
- package/dist/entities/auth/types/AuthSignIn.d.ts +0 -4
- package/dist/entities/auth/types/AuthSignIn.js +0 -3
- package/dist/entities/auth/types/AuthSignIn.js.map +0 -1
- package/dist/entities/auth/types/AuthUserJWT.d.ts +0 -8
- package/dist/entities/auth/types/AuthUserJWT.js +0 -3
- package/dist/entities/auth/types/AuthUserJWT.js.map +0 -1
- package/dist/entities/auth/types/index.d.ts +0 -7
- package/dist/entities/auth/types/index.js +0 -24
- package/dist/entities/auth/types/index.js.map +0 -1
- package/dist/entities/index.d.ts +0 -7
- package/dist/entities/index.js +0 -24
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/module/config/ModuleApi.d.ts +0 -10
- package/dist/entities/module/config/ModuleApi.js +0 -44
- package/dist/entities/module/config/ModuleApi.js.map +0 -1
- package/dist/entities/module/config/index.d.ts +0 -1
- package/dist/entities/module/config/index.js +0 -18
- package/dist/entities/module/config/index.js.map +0 -1
- package/dist/entities/module/index.d.ts +0 -2
- package/dist/entities/module/index.js +0 -19
- package/dist/entities/module/index.js.map +0 -1
- package/dist/entities/module/types/IModule.d.ts +0 -12
- package/dist/entities/module/types/IModule.js +0 -3
- package/dist/entities/module/types/IModule.js.map +0 -1
- package/dist/entities/module/types/ModuleObjectNames.d.ts +0 -3
- package/dist/entities/module/types/ModuleObjectNames.js +0 -7
- package/dist/entities/module/types/ModuleObjectNames.js.map +0 -1
- package/dist/entities/module/types/index.d.ts +0 -1
- package/dist/entities/module/types/index.js +0 -18
- package/dist/entities/module/types/index.js.map +0 -1
- package/dist/entities/schema/config/FieldApi.d.ts +0 -16
- package/dist/entities/schema/config/FieldApi.js +0 -50
- package/dist/entities/schema/config/FieldApi.js.map +0 -1
- package/dist/entities/schema/config/ObjectApi.d.ts +0 -12
- package/dist/entities/schema/config/ObjectApi.js +0 -29
- package/dist/entities/schema/config/ObjectApi.js.map +0 -1
- package/dist/entities/schema/config/index.d.ts +0 -2
- package/dist/entities/schema/config/index.js +0 -19
- package/dist/entities/schema/config/index.js.map +0 -1
- package/dist/entities/schema/index.d.ts +0 -2
- package/dist/entities/schema/index.js +0 -19
- package/dist/entities/schema/index.js.map +0 -1
- package/dist/entities/schema/types/FieldType.d.ts +0 -9
- package/dist/entities/schema/types/FieldType.js +0 -14
- package/dist/entities/schema/types/FieldType.js.map +0 -1
- package/dist/entities/schema/types/PicklistValue.d.ts +0 -4
- package/dist/entities/schema/types/PicklistValue.js +0 -3
- package/dist/entities/schema/types/PicklistValue.js.map +0 -1
- package/dist/entities/schema/types/SObject.d.ts +0 -7
- package/dist/entities/schema/types/SObject.js +0 -3
- package/dist/entities/schema/types/SObject.js.map +0 -1
- package/dist/entities/schema/types/SObjectField.d.ts +0 -30
- package/dist/entities/schema/types/SObjectField.js +0 -3
- package/dist/entities/schema/types/SObjectField.js.map +0 -1
- package/dist/entities/schema/types/SchemaObjectNames.d.ts +0 -4
- package/dist/entities/schema/types/SchemaObjectNames.js +0 -8
- package/dist/entities/schema/types/SchemaObjectNames.js.map +0 -1
- package/dist/entities/schema/types/index.d.ts +0 -5
- package/dist/entities/schema/types/index.js +0 -22
- package/dist/entities/schema/types/index.js.map +0 -1
- package/dist/entities/security/config/PermissionApi.d.ts +0 -9
- package/dist/entities/security/config/PermissionApi.js +0 -36
- package/dist/entities/security/config/PermissionApi.js.map +0 -1
- package/dist/entities/security/config/PermissionAssignmentApi.d.ts +0 -6
- package/dist/entities/security/config/PermissionAssignmentApi.js +0 -21
- package/dist/entities/security/config/PermissionAssignmentApi.js.map +0 -1
- package/dist/entities/security/config/PermissionCategoryApi.d.ts +0 -8
- package/dist/entities/security/config/PermissionCategoryApi.js +0 -38
- package/dist/entities/security/config/PermissionCategoryApi.js.map +0 -1
- package/dist/entities/security/config/PermissionDefinitionApi.d.ts +0 -6
- package/dist/entities/security/config/PermissionDefinitionApi.js +0 -21
- package/dist/entities/security/config/PermissionDefinitionApi.js.map +0 -1
- package/dist/entities/security/config/PermissionGroupApi.d.ts +0 -6
- package/dist/entities/security/config/PermissionGroupApi.js +0 -21
- package/dist/entities/security/config/PermissionGroupApi.js.map +0 -1
- package/dist/entities/security/config/PermissionSetApi.d.ts +0 -6
- package/dist/entities/security/config/PermissionSetApi.js +0 -21
- package/dist/entities/security/config/PermissionSetApi.js.map +0 -1
- package/dist/entities/security/config/index.d.ts +0 -6
- package/dist/entities/security/config/index.js +0 -23
- package/dist/entities/security/config/index.js.map +0 -1
- package/dist/entities/security/index.d.ts +0 -2
- package/dist/entities/security/index.js +0 -19
- package/dist/entities/security/index.js.map +0 -1
- package/dist/entities/security/types/IPermission.d.ts +0 -10
- package/dist/entities/security/types/IPermission.js +0 -3
- package/dist/entities/security/types/IPermission.js.map +0 -1
- package/dist/entities/security/types/IPermissionAssignment.d.ts +0 -6
- package/dist/entities/security/types/IPermissionAssignment.js +0 -3
- package/dist/entities/security/types/IPermissionAssignment.js.map +0 -1
- package/dist/entities/security/types/IPermissionCategory.d.ts +0 -5
- package/dist/entities/security/types/IPermissionCategory.js +0 -3
- package/dist/entities/security/types/IPermissionCategory.js.map +0 -1
- package/dist/entities/security/types/IPermissionDefinition.d.ts +0 -6
- package/dist/entities/security/types/IPermissionDefinition.js +0 -3
- package/dist/entities/security/types/IPermissionDefinition.js.map +0 -1
- package/dist/entities/security/types/IPermissionGroup.d.ts +0 -4
- package/dist/entities/security/types/IPermissionGroup.js +0 -3
- package/dist/entities/security/types/IPermissionGroup.js.map +0 -1
- package/dist/entities/security/types/IPermissionSet.d.ts +0 -6
- package/dist/entities/security/types/IPermissionSet.js +0 -3
- package/dist/entities/security/types/IPermissionSet.js.map +0 -1
- package/dist/entities/security/types/SecurityObjectNames.d.ts +0 -8
- package/dist/entities/security/types/SecurityObjectNames.js +0 -12
- package/dist/entities/security/types/SecurityObjectNames.js.map +0 -1
- package/dist/entities/security/types/index.d.ts +0 -7
- package/dist/entities/security/types/index.js +0 -24
- package/dist/entities/security/types/index.js.map +0 -1
- package/dist/entities/sharing/config/TeamApi.d.ts +0 -9
- package/dist/entities/sharing/config/TeamApi.js +0 -37
- package/dist/entities/sharing/config/TeamApi.js.map +0 -1
- package/dist/entities/sharing/config/index.d.ts +0 -1
- package/dist/entities/sharing/config/index.js +0 -18
- package/dist/entities/sharing/config/index.js.map +0 -1
- package/dist/entities/sharing/index.d.ts +0 -2
- package/dist/entities/sharing/index.js +0 -19
- package/dist/entities/sharing/index.js.map +0 -1
- package/dist/entities/sharing/types/Team.d.ts +0 -7
- package/dist/entities/sharing/types/Team.js +0 -3
- package/dist/entities/sharing/types/Team.js.map +0 -1
- package/dist/entities/sharing/types/TeamAssignment.d.ts +0 -4
- package/dist/entities/sharing/types/TeamAssignment.js +0 -3
- package/dist/entities/sharing/types/TeamAssignment.js.map +0 -1
- package/dist/entities/sharing/types/index.d.ts +0 -2
- package/dist/entities/sharing/types/index.js +0 -19
- package/dist/entities/sharing/types/index.js.map +0 -1
- package/dist/entities/user/config/UserApi.d.ts +0 -6
- package/dist/entities/user/config/UserApi.js +0 -23
- package/dist/entities/user/config/UserApi.js.map +0 -1
- package/dist/entities/user/config/index.d.ts +0 -1
- package/dist/entities/user/config/index.js +0 -18
- package/dist/entities/user/config/index.js.map +0 -1
- package/dist/entities/user/index.d.ts +0 -2
- package/dist/entities/user/index.js +0 -19
- package/dist/entities/user/index.js.map +0 -1
- package/dist/entities/user/types/CreateUser.d.ts +0 -5
- package/dist/entities/user/types/CreateUser.js +0 -3
- package/dist/entities/user/types/CreateUser.js.map +0 -1
- package/dist/entities/user/types/EUserStatus.d.ts +0 -5
- package/dist/entities/user/types/EUserStatus.js +0 -10
- package/dist/entities/user/types/EUserStatus.js.map +0 -1
- package/dist/entities/user/types/User.d.ts +0 -8
- package/dist/entities/user/types/User.js +0 -3
- package/dist/entities/user/types/User.js.map +0 -1
- package/dist/entities/user/types/index.d.ts +0 -3
- package/dist/entities/user/types/index.js +0 -20
- package/dist/entities/user/types/index.js.map +0 -1
- package/dist/entities/workspace/config/WorkspaceApi.d.ts +0 -10
- package/dist/entities/workspace/config/WorkspaceApi.js +0 -27
- package/dist/entities/workspace/config/WorkspaceApi.js.map +0 -1
- package/dist/entities/workspace/config/index.d.ts +0 -1
- package/dist/entities/workspace/config/index.js +0 -18
- package/dist/entities/workspace/config/index.js.map +0 -1
- package/dist/entities/workspace/index.d.ts +0 -2
- package/dist/entities/workspace/index.js +0 -19
- package/dist/entities/workspace/index.js.map +0 -1
- package/dist/entities/workspace/types/InitWorkspace.d.ts +0 -6
- package/dist/entities/workspace/types/InitWorkspace.js +0 -3
- package/dist/entities/workspace/types/InitWorkspace.js.map +0 -1
- package/dist/entities/workspace/types/index.d.ts +0 -1
- package/dist/entities/workspace/types/index.js +0 -18
- package/dist/entities/workspace/types/index.js.map +0 -1
- package/dist/features/api/abstract/AbstractApi.d.ts +0 -6
- package/dist/features/api/abstract/AbstractApi.js +0 -18
- package/dist/features/api/abstract/AbstractApi.js.map +0 -1
- package/dist/features/api/abstract/index.d.ts +0 -1
- package/dist/features/api/abstract/index.js +0 -18
- package/dist/features/api/abstract/index.js.map +0 -1
- package/dist/features/api/config/RawApi.d.ts +0 -34
- package/dist/features/api/config/RawApi.js +0 -41
- package/dist/features/api/config/RawApi.js.map +0 -1
- package/dist/features/api/config/index.d.ts +0 -1
- package/dist/features/api/config/index.js +0 -18
- package/dist/features/api/config/index.js.map +0 -1
- package/dist/features/bind-this/BindThis.d.ts +0 -3
- package/dist/features/bind-this/BindThis.js +0 -11
- package/dist/features/bind-this/BindThis.js.map +0 -1
- package/dist/features/bind-this/index.d.ts +0 -1
- package/dist/features/bind-this/index.js +0 -18
- package/dist/features/bind-this/index.js.map +0 -1
- package/dist/features/callout/Calloutable.d.ts +0 -4
- package/dist/features/callout/Calloutable.js +0 -28
- package/dist/features/callout/Calloutable.js.map +0 -1
- package/dist/features/callout/decorators/AddCalloutMiddleware.d.ts +0 -3
- package/dist/features/callout/decorators/AddCalloutMiddleware.js +0 -15
- package/dist/features/callout/decorators/AddCalloutMiddleware.js.map +0 -1
- package/dist/features/crud/abstract/AbstractCRUDRequest.d.ts +0 -4
- package/dist/features/crud/abstract/AbstractCRUDRequest.js +0 -11
- package/dist/features/crud/abstract/AbstractCRUDRequest.js.map +0 -1
- package/dist/features/crud/abstract/index.d.ts +0 -1
- package/dist/features/crud/abstract/index.js +0 -18
- package/dist/features/crud/abstract/index.js.map +0 -1
- package/dist/features/crud/constants/CrudActions.d.ts +0 -10
- package/dist/features/crud/constants/CrudActions.js +0 -15
- package/dist/features/crud/constants/CrudActions.js.map +0 -1
- package/dist/features/crud/constants/CrudConstants.d.ts +0 -1
- package/dist/features/crud/constants/CrudConstants.js +0 -5
- package/dist/features/crud/constants/CrudConstants.js.map +0 -1
- package/dist/features/crud/constants/index.d.ts +0 -2
- package/dist/features/crud/constants/index.js +0 -19
- package/dist/features/crud/constants/index.js.map +0 -1
- package/dist/features/crud/middlewares/PushCrudEvent.d.ts +0 -4
- package/dist/features/crud/middlewares/PushCrudEvent.js +0 -15
- package/dist/features/crud/middlewares/PushCrudEvent.js.map +0 -1
- package/dist/features/crud/middlewares/index.d.ts +0 -1
- package/dist/features/crud/middlewares/index.js +0 -18
- package/dist/features/crud/middlewares/index.js.map +0 -1
- package/dist/features/crud/operations/Create.d.ts +0 -5
- package/dist/features/crud/operations/Create.js +0 -34
- package/dist/features/crud/operations/Create.js.map +0 -1
- package/dist/features/crud/operations/CreateBulk.d.ts +0 -5
- package/dist/features/crud/operations/CreateBulk.js +0 -34
- package/dist/features/crud/operations/CreateBulk.js.map +0 -1
- package/dist/features/crud/operations/DeleteById.d.ts +0 -5
- package/dist/features/crud/operations/DeleteById.js +0 -33
- package/dist/features/crud/operations/DeleteById.js.map +0 -1
- package/dist/features/crud/operations/DeleteByIds.d.ts +0 -5
- package/dist/features/crud/operations/DeleteByIds.js +0 -33
- package/dist/features/crud/operations/DeleteByIds.js.map +0 -1
- package/dist/features/crud/operations/GetAll.d.ts +0 -5
- package/dist/features/crud/operations/GetAll.js +0 -16
- package/dist/features/crud/operations/GetAll.js.map +0 -1
- package/dist/features/crud/operations/GetById.d.ts +0 -5
- package/dist/features/crud/operations/GetById.js +0 -16
- package/dist/features/crud/operations/GetById.js.map +0 -1
- package/dist/features/crud/operations/GetByIds.d.ts +0 -5
- package/dist/features/crud/operations/GetByIds.js +0 -17
- package/dist/features/crud/operations/GetByIds.js.map +0 -1
- package/dist/features/crud/operations/Update.d.ts +0 -5
- package/dist/features/crud/operations/Update.js +0 -34
- package/dist/features/crud/operations/Update.js.map +0 -1
- package/dist/features/crud/operations/UpdateBulk.d.ts +0 -5
- package/dist/features/crud/operations/UpdateBulk.js +0 -34
- package/dist/features/crud/operations/UpdateBulk.js.map +0 -1
- package/dist/features/crud/operations/Upsert.d.ts +0 -5
- package/dist/features/crud/operations/Upsert.js +0 -34
- package/dist/features/crud/operations/Upsert.js.map +0 -1
- package/dist/features/crud/operations/UpsertBulk.d.ts +0 -5
- package/dist/features/crud/operations/UpsertBulk.js +0 -34
- package/dist/features/crud/operations/UpsertBulk.js.map +0 -1
- package/dist/features/crud/operations/templates/FullCRUD.d.ts +0 -9
- package/dist/features/crud/operations/templates/FullCRUD.js +0 -13
- package/dist/features/crud/operations/templates/FullCRUD.js.map +0 -1
- package/dist/features/crud/operations/templates/FullCreate.d.ts +0 -6
- package/dist/features/crud/operations/templates/FullCreate.js +0 -10
- package/dist/features/crud/operations/templates/FullCreate.js.map +0 -1
- package/dist/features/crud/operations/templates/FullDelete.d.ts +0 -6
- package/dist/features/crud/operations/templates/FullDelete.js +0 -10
- package/dist/features/crud/operations/templates/FullDelete.js.map +0 -1
- package/dist/features/crud/operations/templates/FullQuery.d.ts +0 -8
- package/dist/features/crud/operations/templates/FullQuery.js +0 -12
- package/dist/features/crud/operations/templates/FullQuery.js.map +0 -1
- package/dist/features/crud/operations/templates/FullUpdate.d.ts +0 -6
- package/dist/features/crud/operations/templates/FullUpdate.js +0 -10
- package/dist/features/crud/operations/templates/FullUpdate.js.map +0 -1
- package/dist/features/crud/operations/templates/FullUpsert.d.ts +0 -6
- package/dist/features/crud/operations/templates/FullUpsert.js +0 -10
- package/dist/features/crud/operations/templates/FullUpsert.js.map +0 -1
- package/dist/features/crud/operations/templates/index.d.ts +0 -6
- package/dist/features/crud/operations/templates/index.js +0 -23
- package/dist/features/crud/operations/templates/index.js.map +0 -1
- package/dist/features/crud/templates/FullCRUD.d.ts +0 -9
- package/dist/features/crud/templates/FullCRUD.js +0 -13
- package/dist/features/crud/templates/FullCRUD.js.map +0 -1
- package/dist/features/crud/templates/FullCreate.d.ts +0 -6
- package/dist/features/crud/templates/FullCreate.js +0 -10
- package/dist/features/crud/templates/FullCreate.js.map +0 -1
- package/dist/features/crud/templates/FullDelete.d.ts +0 -6
- package/dist/features/crud/templates/FullDelete.js +0 -10
- package/dist/features/crud/templates/FullDelete.js.map +0 -1
- package/dist/features/crud/templates/FullQuery.d.ts +0 -7
- package/dist/features/crud/templates/FullQuery.js +0 -11
- package/dist/features/crud/templates/FullQuery.js.map +0 -1
- package/dist/features/crud/templates/FullUpdate.d.ts +0 -6
- package/dist/features/crud/templates/FullUpdate.js +0 -10
- package/dist/features/crud/templates/FullUpdate.js.map +0 -1
- package/dist/features/crud/templates/FullUpsert.d.ts +0 -6
- package/dist/features/crud/templates/FullUpsert.js +0 -10
- package/dist/features/crud/templates/FullUpsert.js.map +0 -1
- package/dist/features/crud/templates/index.d.ts +0 -6
- package/dist/features/crud/templates/index.js +0 -23
- package/dist/features/crud/templates/index.js.map +0 -1
- package/dist/micro/init/WorkspaceApi.d.ts +0 -10
- package/dist/micro/init/WorkspaceApi.js +0 -27
- package/dist/micro/init/WorkspaceApi.js.map +0 -1
- package/dist/micro/init/types/InitWorkspace.d.ts +0 -8
- package/dist/micro/init/types/InitWorkspace.js +0 -3
- package/dist/micro/init/types/InitWorkspace.js.map +0 -1
- package/dist/micro/query/RecordApi.d.ts +0 -16
- package/dist/micro/query/RecordApi.js +0 -24
- package/dist/micro/query/RecordApi.js.map +0 -1
- package/dist/micro/query/record/index.d.ts +0 -2
- package/dist/micro/query/record/index.js +0 -19
- package/dist/micro/query/record/index.js.map +0 -1
- package/dist/micro/query/types/SchemaObjectNames.d.ts +0 -4
- package/dist/micro/query/types/SchemaObjectNames.js +0 -8
- package/dist/micro/query/types/SchemaObjectNames.js.map +0 -1
- package/dist/micro/security/types/SecurityObjectNames.d.ts +0 -8
- package/dist/micro/security/types/SecurityObjectNames.js +0 -12
- package/dist/micro/security/types/SecurityObjectNames.js.map +0 -1
- package/dist/services/useSingleton.d.ts +0 -4
- package/dist/services/useSingleton.js +0 -20
- package/dist/services/useSingleton.js.map +0 -1
- package/dist/types/ApiLayer.d.ts +0 -10
- package/dist/types/ApiLayer.js +0 -3
- package/dist/types/ApiLayer.js.map +0 -1
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.Upsert = void 0;
|
|
13
|
-
const abstract_1 = require("../abstract");
|
|
14
|
-
const callout_1 = require("../../callout");
|
|
15
|
-
const middlewares_1 = require("../middlewares");
|
|
16
|
-
class Upsert extends abstract_1.AbstractCRUDRequest {
|
|
17
|
-
upsert(entity) {
|
|
18
|
-
return {
|
|
19
|
-
baseURL: this.getApiUrl(),
|
|
20
|
-
url: `/${this.getObjectName()}`,
|
|
21
|
-
method: 'PUT',
|
|
22
|
-
data: entity
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
;
|
|
26
|
-
}
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, callout_1.AddCalloutMiddleware)((0, middlewares_1.PushCrudEvent)("upsert")),
|
|
29
|
-
__metadata("design:type", Function),
|
|
30
|
-
__metadata("design:paramtypes", [Object]),
|
|
31
|
-
__metadata("design:returntype", Object)
|
|
32
|
-
], Upsert.prototype, "upsert", null);
|
|
33
|
-
exports.Upsert = Upsert;
|
|
34
|
-
//# sourceMappingURL=Upsert.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Upsert.js","sourceRoot":"","sources":["../../../../src/features/crud/operations/Upsert.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAgD;AAEhD,2CAAmD;AACnD,gDAA6C;AAG7C,MAAsB,MAAO,SAAQ,8BAAmB;IAG/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,KAAK;YACb,IAAI,EAAE,MAAM;SACb,CAAA;IACH,CAAC;IAAA,CAAC;CAEH;AAVC;IAAC,IAAA,8BAAoB,EAAC,IAAA,2BAAa,WAAoB,CAAC;;;;oCAQvD;AAVH,wBAYC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpsertBulk = void 0;
|
|
13
|
-
const abstract_1 = require("../abstract");
|
|
14
|
-
const callout_1 = require("../../callout");
|
|
15
|
-
const middlewares_1 = require("../middlewares");
|
|
16
|
-
class UpsertBulk extends abstract_1.AbstractCRUDRequest {
|
|
17
|
-
upsertBulk(entities) {
|
|
18
|
-
return {
|
|
19
|
-
baseURL: this.getApiUrl(),
|
|
20
|
-
url: `/${this.getObjectName()}/bulk`,
|
|
21
|
-
method: 'PUT',
|
|
22
|
-
data: entities
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
;
|
|
26
|
-
}
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, callout_1.AddCalloutMiddleware)((0, middlewares_1.PushCrudEvent)("upsert_bulk")),
|
|
29
|
-
__metadata("design:type", Function),
|
|
30
|
-
__metadata("design:paramtypes", [Array]),
|
|
31
|
-
__metadata("design:returntype", Object)
|
|
32
|
-
], UpsertBulk.prototype, "upsertBulk", null);
|
|
33
|
-
exports.UpsertBulk = UpsertBulk;
|
|
34
|
-
//# sourceMappingURL=UpsertBulk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UpsertBulk.js","sourceRoot":"","sources":["../../../../src/features/crud/operations/UpsertBulk.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAgD;AAEhD,2CAAmD;AACnD,gDAA6C;AAG7C,MAAsB,UAAW,SAAQ,8BAAmB;IAGnD,UAAU,CAAC,QAAoB;QACpC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE;YACzB,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE,OAAO;YACpC,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,QAAQ;SACf,CAAA;IACH,CAAC;IAAA,CAAC;CAEH;AAVC;IAAC,IAAA,8BAAoB,EAAC,IAAA,2BAAa,gBAAwB,CAAC;;qCAChC,KAAK;;4CAOhC;AAVH,gCAYC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FullQuery } from "./FullQuery";
|
|
2
|
-
import { FullCreate } from "./FullCreate";
|
|
3
|
-
import { FullUpdate } from "./FullUpdate";
|
|
4
|
-
import { FullUpsert } from "./FullUpsert";
|
|
5
|
-
import { FullDelete } from "./FullDelete";
|
|
6
|
-
declare const FullCRUD_base: import("ts-mixer/dist/types/types").Class<any[], FullQuery & FullCreate & FullUpdate & FullUpsert & FullDelete, typeof FullQuery & typeof FullCreate & typeof FullUpdate & typeof FullUpsert & typeof FullDelete, false>;
|
|
7
|
-
export declare abstract class FullCRUD<T> extends FullCRUD_base {
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullCRUD = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const FullQuery_1 = require("./FullQuery");
|
|
6
|
-
const FullCreate_1 = require("./FullCreate");
|
|
7
|
-
const FullUpdate_1 = require("./FullUpdate");
|
|
8
|
-
const FullUpsert_1 = require("./FullUpsert");
|
|
9
|
-
const FullDelete_1 = require("./FullDelete");
|
|
10
|
-
class FullCRUD extends (0, ts_mixer_1.Mixin)(FullQuery_1.FullQuery, FullCreate_1.FullCreate, FullUpdate_1.FullUpdate, FullUpsert_1.FullUpsert, FullDelete_1.FullDelete) {
|
|
11
|
-
}
|
|
12
|
-
exports.FullCRUD = FullCRUD;
|
|
13
|
-
//# sourceMappingURL=FullCRUD.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullCRUD.js","sourceRoot":"","sources":["../../../../../src/features/crud/operations/templates/FullCRUD.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,2CAAsC;AACtC,6CAAwC;AACxC,6CAAwC;AACxC,6CAAwC;AACxC,6CAAwC;AAExC,MAAsB,QAAY,SAAQ,IAAA,gBAAK,EAAC,qBAAS,EAAE,uBAAU,EAAE,uBAAU,EAAE,uBAAU,EAAE,uBAAU,CAAC;CAAG;AAA7G,4BAA6G"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Create } from "../operations";
|
|
2
|
-
import { CreateBulk } from "../operations";
|
|
3
|
-
declare const FullCreate_base: import("ts-mixer/dist/types/types").Class<any[], Create & CreateBulk, typeof Create & typeof CreateBulk, false>;
|
|
4
|
-
export declare abstract class FullCreate extends FullCreate_base {
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullCreate = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
class FullCreate extends (0, ts_mixer_1.Mixin)(operations_1.Create, operations_2.CreateBulk) {
|
|
8
|
-
}
|
|
9
|
-
exports.FullCreate = FullCreate;
|
|
10
|
-
//# sourceMappingURL=FullCreate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullCreate.js","sourceRoot":"","sources":["../../../../../src/features/crud/operations/templates/FullCreate.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAqC;AACrC,8CAAyC;AAEzC,MAAsB,UAAW,SAAQ,IAAA,gBAAK,EAAC,mBAAM,EAAE,uBAAU,CAAC;CAAG;AAArE,gCAAqE"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DeleteById } from "../operations";
|
|
2
|
-
import { DeleteByIds } from "../operations";
|
|
3
|
-
declare const FullDelete_base: import("ts-mixer/dist/types/types").Class<any[], DeleteById & DeleteByIds, typeof DeleteById & typeof DeleteByIds, false>;
|
|
4
|
-
export declare abstract class FullDelete extends FullDelete_base {
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullDelete = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
class FullDelete extends (0, ts_mixer_1.Mixin)(operations_1.DeleteById, operations_2.DeleteByIds) {
|
|
8
|
-
}
|
|
9
|
-
exports.FullDelete = FullDelete;
|
|
10
|
-
//# sourceMappingURL=FullDelete.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullDelete.js","sourceRoot":"","sources":["../../../../../src/features/crud/operations/templates/FullDelete.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAyC;AACzC,8CAA0C;AAE1C,MAAsB,UAAW,SAAQ,IAAA,gBAAK,EAAC,uBAAU,EAAE,wBAAW,CAAC;CAAG;AAA1E,gCAA0E"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { GetAll } from "../operations";
|
|
2
|
-
import { GetById } from "../operations";
|
|
3
|
-
import { GetByIds } from "../operations";
|
|
4
|
-
import { GetByFilters } from "../operations/GetByFilters";
|
|
5
|
-
declare const FullQuery_base: import("ts-mixer/dist/types/types").Class<any[], GetAll & GetById & GetByIds & GetByFilters, typeof GetAll & typeof GetById & typeof GetByIds & typeof GetByFilters, false>;
|
|
6
|
-
export declare abstract class FullQuery extends FullQuery_base {
|
|
7
|
-
}
|
|
8
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullQuery = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
const operations_3 = require("../operations");
|
|
8
|
-
const GetByFilters_1 = require("../operations/GetByFilters");
|
|
9
|
-
class FullQuery extends (0, ts_mixer_1.Mixin)(operations_1.GetAll, operations_2.GetById, operations_3.GetByIds, GetByFilters_1.GetByFilters) {
|
|
10
|
-
}
|
|
11
|
-
exports.FullQuery = FullQuery;
|
|
12
|
-
//# sourceMappingURL=FullQuery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullQuery.js","sourceRoot":"","sources":["../../../../../src/features/crud/operations/templates/FullQuery.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAqC;AACrC,8CAAsC;AACtC,8CAAuC;AACvC,6DAAwD;AAExD,MAAsB,SAAU,SAAQ,IAAA,gBAAK,EAAC,mBAAM,EAAE,oBAAO,EAAE,qBAAQ,EAAE,2BAAY,CAAC;CAAG;AAAzF,8BAAyF"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Update } from "../operations";
|
|
2
|
-
import { UpdateBulk } from "../operations";
|
|
3
|
-
declare const FullUpdate_base: import("ts-mixer/dist/types/types").Class<any[], Update & UpdateBulk, typeof Update & typeof UpdateBulk, false>;
|
|
4
|
-
export declare abstract class FullUpdate extends FullUpdate_base {
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullUpdate = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
class FullUpdate extends (0, ts_mixer_1.Mixin)(operations_1.Update, operations_2.UpdateBulk) {
|
|
8
|
-
}
|
|
9
|
-
exports.FullUpdate = FullUpdate;
|
|
10
|
-
//# sourceMappingURL=FullUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullUpdate.js","sourceRoot":"","sources":["../../../../../src/features/crud/operations/templates/FullUpdate.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAqC;AACrC,8CAAyC;AAEzC,MAAsB,UAAW,SAAQ,IAAA,gBAAK,EAAC,mBAAM,EAAE,uBAAU,CAAC;CAAG;AAArE,gCAAqE"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Upsert } from "../operations";
|
|
2
|
-
import { UpsertBulk } from "../operations";
|
|
3
|
-
declare const FullUpsert_base: import("ts-mixer/dist/types/types").Class<any[], Upsert & UpsertBulk, typeof Upsert & typeof UpsertBulk, false>;
|
|
4
|
-
export declare abstract class FullUpsert extends FullUpsert_base {
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullUpsert = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
class FullUpsert extends (0, ts_mixer_1.Mixin)(operations_1.Upsert, operations_2.UpsertBulk) {
|
|
8
|
-
}
|
|
9
|
-
exports.FullUpsert = FullUpsert;
|
|
10
|
-
//# sourceMappingURL=FullUpsert.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullUpsert.js","sourceRoot":"","sources":["../../../../../src/features/crud/operations/templates/FullUpsert.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAqC;AACrC,8CAAyC;AAEzC,MAAsB,UAAW,SAAQ,IAAA,gBAAK,EAAC,mBAAM,EAAE,uBAAU,CAAC;CAAG;AAArE,gCAAqE"}
|
|
@@ -1,23 +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("./FullCreate"), exports);
|
|
18
|
-
__exportStar(require("./FullCRUD"), exports);
|
|
19
|
-
__exportStar(require("./FullDelete"), exports);
|
|
20
|
-
__exportStar(require("./FullQuery"), exports);
|
|
21
|
-
__exportStar(require("./FullUpdate"), exports);
|
|
22
|
-
__exportStar(require("./FullUpsert"), exports);
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/crud/operations/templates/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,6CAA2B;AAC3B,+CAA6B;AAC7B,8CAA4B;AAC5B,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FullQuery } from "./FullQuery";
|
|
2
|
-
import { FullCreate } from "./FullCreate";
|
|
3
|
-
import { FullUpdate } from "./FullUpdate";
|
|
4
|
-
import { FullUpsert } from "./FullUpsert";
|
|
5
|
-
import { FullDelete } from "./FullDelete";
|
|
6
|
-
declare const FullCRUD_base: import("ts-mixer/dist/types/types").Class<any[], FullQuery & FullCreate & FullUpdate & FullUpsert & FullDelete, typeof FullQuery & typeof FullCreate & typeof FullUpdate & typeof FullUpsert & typeof FullDelete, false>;
|
|
7
|
-
export declare abstract class FullCRUD<T> extends FullCRUD_base {
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullCRUD = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const FullQuery_1 = require("./FullQuery");
|
|
6
|
-
const FullCreate_1 = require("./FullCreate");
|
|
7
|
-
const FullUpdate_1 = require("./FullUpdate");
|
|
8
|
-
const FullUpsert_1 = require("./FullUpsert");
|
|
9
|
-
const FullDelete_1 = require("./FullDelete");
|
|
10
|
-
class FullCRUD extends (0, ts_mixer_1.Mixin)(FullQuery_1.FullQuery, FullCreate_1.FullCreate, FullUpdate_1.FullUpdate, FullUpsert_1.FullUpsert, FullDelete_1.FullDelete) {
|
|
11
|
-
}
|
|
12
|
-
exports.FullCRUD = FullCRUD;
|
|
13
|
-
//# sourceMappingURL=FullCRUD.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullCRUD.js","sourceRoot":"","sources":["../../../../src/features/crud/templates/FullCRUD.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,2CAAsC;AACtC,6CAAwC;AACxC,6CAAwC;AACxC,6CAAwC;AACxC,6CAAwC;AAExC,MAAsB,QAAY,SAAQ,IAAA,gBAAK,EAAC,qBAAS,EAAE,uBAAU,EAAE,uBAAU,EAAE,uBAAU,EAAE,uBAAU,CAAC;CAAG;AAA7G,4BAA6G"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Create } from "../operations";
|
|
2
|
-
import { CreateBulk } from "../operations";
|
|
3
|
-
declare const FullCreate_base: import("ts-mixer/dist/types/types").Class<any[], Create & CreateBulk, typeof Create & typeof CreateBulk, false>;
|
|
4
|
-
export declare abstract class FullCreate extends FullCreate_base {
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullCreate = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
class FullCreate extends (0, ts_mixer_1.Mixin)(operations_1.Create, operations_2.CreateBulk) {
|
|
8
|
-
}
|
|
9
|
-
exports.FullCreate = FullCreate;
|
|
10
|
-
//# sourceMappingURL=FullCreate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullCreate.js","sourceRoot":"","sources":["../../../../src/features/crud/templates/FullCreate.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAqC;AACrC,8CAAyC;AAEzC,MAAsB,UAAW,SAAQ,IAAA,gBAAK,EAAC,mBAAM,EAAE,uBAAU,CAAC;CAAG;AAArE,gCAAqE"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DeleteById } from "../operations";
|
|
2
|
-
import { DeleteByIds } from "../operations";
|
|
3
|
-
declare const FullDelete_base: import("ts-mixer/dist/types/types").Class<any[], DeleteById & DeleteByIds, typeof DeleteById & typeof DeleteByIds, false>;
|
|
4
|
-
export declare abstract class FullDelete extends FullDelete_base {
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullDelete = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
class FullDelete extends (0, ts_mixer_1.Mixin)(operations_1.DeleteById, operations_2.DeleteByIds) {
|
|
8
|
-
}
|
|
9
|
-
exports.FullDelete = FullDelete;
|
|
10
|
-
//# sourceMappingURL=FullDelete.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullDelete.js","sourceRoot":"","sources":["../../../../src/features/crud/templates/FullDelete.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAyC;AACzC,8CAA0C;AAE1C,MAAsB,UAAW,SAAQ,IAAA,gBAAK,EAAC,uBAAU,EAAE,wBAAW,CAAC;CAAG;AAA1E,gCAA0E"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GetAll } from "../operations";
|
|
2
|
-
import { GetById } from "../operations";
|
|
3
|
-
import { GetByIds } from "../operations";
|
|
4
|
-
declare const FullQuery_base: import("ts-mixer/dist/types/types").Class<any[], GetAll & GetById & GetByIds, typeof GetAll & typeof GetById & typeof GetByIds, false>;
|
|
5
|
-
export declare abstract class FullQuery extends FullQuery_base {
|
|
6
|
-
}
|
|
7
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullQuery = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
const operations_3 = require("../operations");
|
|
8
|
-
class FullQuery extends (0, ts_mixer_1.Mixin)(operations_1.GetAll, operations_2.GetById, operations_3.GetByIds) {
|
|
9
|
-
}
|
|
10
|
-
exports.FullQuery = FullQuery;
|
|
11
|
-
//# sourceMappingURL=FullQuery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullQuery.js","sourceRoot":"","sources":["../../../../src/features/crud/templates/FullQuery.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAqC;AACrC,8CAAsC;AACtC,8CAAuC;AAEvC,MAAsB,SAAU,SAAQ,IAAA,gBAAK,EAAC,mBAAM,EAAE,oBAAO,EAAE,qBAAQ,CAAC;CAAG;AAA3E,8BAA2E"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Update } from "../operations";
|
|
2
|
-
import { UpdateBulk } from "../operations";
|
|
3
|
-
declare const FullUpdate_base: import("ts-mixer/dist/types/types").Class<any[], Update & UpdateBulk, typeof Update & typeof UpdateBulk, false>;
|
|
4
|
-
export declare abstract class FullUpdate extends FullUpdate_base {
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullUpdate = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
class FullUpdate extends (0, ts_mixer_1.Mixin)(operations_1.Update, operations_2.UpdateBulk) {
|
|
8
|
-
}
|
|
9
|
-
exports.FullUpdate = FullUpdate;
|
|
10
|
-
//# sourceMappingURL=FullUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullUpdate.js","sourceRoot":"","sources":["../../../../src/features/crud/templates/FullUpdate.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAqC;AACrC,8CAAyC;AAEzC,MAAsB,UAAW,SAAQ,IAAA,gBAAK,EAAC,mBAAM,EAAE,uBAAU,CAAC;CAAG;AAArE,gCAAqE"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Upsert } from "../operations";
|
|
2
|
-
import { UpsertBulk } from "../operations";
|
|
3
|
-
declare const FullUpsert_base: import("ts-mixer/dist/types/types").Class<any[], Upsert & UpsertBulk, typeof Upsert & typeof UpsertBulk, false>;
|
|
4
|
-
export declare abstract class FullUpsert extends FullUpsert_base {
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FullUpsert = void 0;
|
|
4
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
5
|
-
const operations_1 = require("../operations");
|
|
6
|
-
const operations_2 = require("../operations");
|
|
7
|
-
class FullUpsert extends (0, ts_mixer_1.Mixin)(operations_1.Upsert, operations_2.UpsertBulk) {
|
|
8
|
-
}
|
|
9
|
-
exports.FullUpsert = FullUpsert;
|
|
10
|
-
//# sourceMappingURL=FullUpsert.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FullUpsert.js","sourceRoot":"","sources":["../../../../src/features/crud/templates/FullUpsert.ts"],"names":[],"mappings":";;;AAAA,uCAA+B;AAC/B,8CAAqC;AACrC,8CAAyC;AAEzC,MAAsB,UAAW,SAAQ,IAAA,gBAAK,EAAC,mBAAM,EAAE,uBAAU,CAAC;CAAG;AAArE,gCAAqE"}
|
|
@@ -1,23 +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("./FullCreate"), exports);
|
|
18
|
-
__exportStar(require("./FullCRUD"), exports);
|
|
19
|
-
__exportStar(require("./FullDelete"), exports);
|
|
20
|
-
__exportStar(require("./FullQuery"), exports);
|
|
21
|
-
__exportStar(require("./FullUpdate"), exports);
|
|
22
|
-
__exportStar(require("./FullUpsert"), exports);
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/crud/templates/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,6CAA2B;AAC3B,+CAA6B;AAC7B,8CAA4B;AAC5B,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BindThis } from "../../features";
|
|
2
|
-
import { InitWorkspace } from "./types/InitWorkspace";
|
|
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
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
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 config_1 = require("../../config");
|
|
13
|
-
let WorkspaceApi = class WorkspaceApi extends features_1.BindThis {
|
|
14
|
-
init(workspace) {
|
|
15
|
-
return {
|
|
16
|
-
baseURL: config_1.ApiConfigs.api.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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceApi.js","sourceRoot":"","sources":["../../../src/micro/init/WorkspaceApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6CAAwC;AACxC,6CAA2C;AAC3C,yCAAwC;AAIjC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,mBAAQ;IAEjC,IAAI,CAAC,SAAwB;QAClC,OAAO;YACL,OAAO,EAAE,mBAAU,CAAC,GAAG,CAAC,OAAO;YAC/B,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InitWorkspace.js","sourceRoot":"","sources":["../../../../src/micro/init/types/InitWorkspace.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ApiConfigs } from "../../config";
|
|
2
|
-
export declare class RecordApi {
|
|
3
|
-
private static readonly singleton;
|
|
4
|
-
static forObject(objectApiName: string, baseUrl: keyof typeof ApiConfigs.api): {
|
|
5
|
-
getApiUrl(): any;
|
|
6
|
-
getObjectName(): string;
|
|
7
|
-
getAll(): import("axios").AxiosRequestConfig<any>;
|
|
8
|
-
readonly objectName: string;
|
|
9
|
-
readonly apiUrl: string;
|
|
10
|
-
getById(entityId: string): import("axios").AxiosRequestConfig<any>;
|
|
11
|
-
getByFilters(filter?: any, options?: any): import("axios").AxiosRequestConfig<any>;
|
|
12
|
-
create(entity: any): import("axios").AxiosRequestConfig<any>;
|
|
13
|
-
update(entity: any): import("axios").AxiosRequestConfig<any>;
|
|
14
|
-
deleteById(entityId: string): import("axios").AxiosRequestConfig<any>;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecordApi = void 0;
|
|
4
|
-
const compose_1 = require("../../compose");
|
|
5
|
-
const features_1 = require("../../features");
|
|
6
|
-
const error_1 = require("./error");
|
|
7
|
-
const config_1 = require("../../config");
|
|
8
|
-
const ts_mixer_1 = require("ts-mixer");
|
|
9
|
-
const GetByFilters_1 = require("../../features/crud/operations/operations/GetByFilters");
|
|
10
|
-
class RecordApi {
|
|
11
|
-
static forObject(objectApiName, baseUrl) {
|
|
12
|
-
if (!(objectApiName && baseUrl)) {
|
|
13
|
-
throw new error_1.ObjectApiError('Object Api Name or Base URL is not defined');
|
|
14
|
-
}
|
|
15
|
-
const definition = class extends (0, ts_mixer_1.Mixin)(features_1.GetAll, features_1.GetById, GetByFilters_1.GetByFilters, features_1.Create, features_1.Update, features_1.DeleteById) {
|
|
16
|
-
getApiUrl() { return config_1.ApiConfigs[baseUrl]; }
|
|
17
|
-
getObjectName() { return objectApiName; }
|
|
18
|
-
};
|
|
19
|
-
return RecordApi.singleton.getInstance(definition);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.RecordApi = RecordApi;
|
|
23
|
-
RecordApi.singleton = (0, compose_1.useSingleton)();
|
|
24
|
-
//# sourceMappingURL=RecordApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecordApi.js","sourceRoot":"","sources":["../../../src/micro/query/RecordApi.ts"],"names":[],"mappings":";;;AAAA,2CAA2C;AAC3C,6CAA2E;AAC3E,mCAAuC;AACvC,yCAAwC;AACxC,uCAA+B;AAC/B,yFAAoF;AAEpF,MAAa,SAAS;IAIpB,MAAM,CAAC,SAAS,CAAC,aAAqB,EAAE,OAAoC;QAC1E,IAAI,CAAC,CAAC,aAAa,IAAI,OAAO,CAAC,EAAE;YAC/B,MAAM,IAAI,sBAAc,CAAC,4CAA4C,CAAC,CAAC;SACxE;QAED,MAAM,UAAU,GAAG,KAAM,SAAQ,IAAA,gBAAK,EAAC,iBAAM,EAAE,kBAAO,EAAE,2BAAY,EAAE,iBAAM,EAAE,iBAAM,EAAE,qBAAU,CAAC;YAC/E,SAAS,KAAK,OAAO,mBAAU,CAAC,OAAO,CAAC,CAAA,CAAC,CAAC;YAE1C,aAAa,KAAK,OAAO,aAAa,CAAA,CAAC,CAAC;SACzD,CAAA;QAED,OAAO,SAAS,CAAC,SAAS,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;;AAhBH,8BAkBC;AAhByB,mBAAS,GAAG,IAAA,sBAAY,GAAE,CAAC"}
|
|
@@ -1,19 +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("../RecordApi"), exports);
|
|
18
|
-
__exportStar(require("../error"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/micro/query/record/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB"}
|