@ever-gauzy/plugin-integration-plane-api 0.1.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/README.md +1 -0
- package/dist/config/constants.d.ts +125 -0
- package/dist/config/constants.js +185 -0
- package/dist/config/constants.js.map +1 -0
- package/dist/config/credentials.d.ts +30 -0
- package/dist/config/credentials.js +50 -0
- package/dist/config/credentials.js.map +1 -0
- package/dist/config/decorators/index.d.ts +1 -0
- package/dist/config/decorators/index.js +18 -0
- package/dist/config/decorators/index.js.map +1 -0
- package/dist/config/decorators/transformers/index.d.ts +1 -0
- package/dist/config/decorators/transformers/index.js +18 -0
- package/dist/config/decorators/transformers/index.js.map +1 -0
- package/dist/config/decorators/transformers/priority.transformer.d.ts +1 -0
- package/dist/config/decorators/transformers/priority.transformer.js +12 -0
- package/dist/config/decorators/transformers/priority.transformer.js.map +1 -0
- package/dist/config/index.d.ts +7 -0
- package/dist/config/index.js +24 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/serializers/activity/activity.serializer.d.ts +28 -0
- package/dist/config/serializers/activity/activity.serializer.js +288 -0
- package/dist/config/serializers/activity/activity.serializer.js.map +1 -0
- package/dist/config/serializers/activity/assignees-activities.serializer.d.ts +18 -0
- package/dist/config/serializers/activity/assignees-activities.serializer.js +64 -0
- package/dist/config/serializers/activity/assignees-activities.serializer.js.map +1 -0
- package/dist/config/serializers/activity/index.d.ts +7 -0
- package/dist/config/serializers/activity/index.js +24 -0
- package/dist/config/serializers/activity/index.js.map +1 -0
- package/dist/config/serializers/activity/labels-activities.serializer.d.ts +11 -0
- package/dist/config/serializers/activity/labels-activities.serializer.js +30 -0
- package/dist/config/serializers/activity/labels-activities.serializer.js.map +1 -0
- package/dist/config/serializers/activity/many-to-many-field-activity.helper.d.ts +29 -0
- package/dist/config/serializers/activity/many-to-many-field-activity.helper.js +45 -0
- package/dist/config/serializers/activity/many-to-many-field-activity.helper.js.map +1 -0
- package/dist/config/serializers/activity/modules-activities.serializer.d.ts +11 -0
- package/dist/config/serializers/activity/modules-activities.serializer.js +30 -0
- package/dist/config/serializers/activity/modules-activities.serializer.js.map +1 -0
- package/dist/config/serializers/activity/parent-activities.serializer.d.ts +14 -0
- package/dist/config/serializers/activity/parent-activities.serializer.js +47 -0
- package/dist/config/serializers/activity/parent-activities.serializer.js.map +1 -0
- package/dist/config/serializers/activity/status-activities.serializer.d.ts +12 -0
- package/dist/config/serializers/activity/status-activities.serializer.js +30 -0
- package/dist/config/serializers/activity/status-activities.serializer.js.map +1 -0
- package/dist/config/serializers/analytics/analytics.serializer.d.ts +17 -0
- package/dist/config/serializers/analytics/analytics.serializer.js +395 -0
- package/dist/config/serializers/analytics/analytics.serializer.js.map +1 -0
- package/dist/config/serializers/analytics/index.d.ts +1 -0
- package/dist/config/serializers/analytics/index.js +18 -0
- package/dist/config/serializers/analytics/index.js.map +1 -0
- package/dist/config/serializers/auth/auth.serializer.d.ts +2 -0
- package/dist/config/serializers/auth/auth.serializer.js +11 -0
- package/dist/config/serializers/auth/auth.serializer.js.map +1 -0
- package/dist/config/serializers/auth/index.d.ts +1 -0
- package/dist/config/serializers/auth/index.js +18 -0
- package/dist/config/serializers/auth/index.js.map +1 -0
- package/dist/config/serializers/comments/comment.serializer.d.ts +25 -0
- package/dist/config/serializers/comments/comment.serializer.js +94 -0
- package/dist/config/serializers/comments/comment.serializer.js.map +1 -0
- package/dist/config/serializers/comments/index.d.ts +1 -0
- package/dist/config/serializers/comments/index.js +18 -0
- package/dist/config/serializers/comments/index.js.map +1 -0
- package/dist/config/serializers/cycles/cycle.serializer.d.ts +86 -0
- package/dist/config/serializers/cycles/cycle.serializer.js +480 -0
- package/dist/config/serializers/cycles/cycle.serializer.js.map +1 -0
- package/dist/config/serializers/cycles/index.d.ts +1 -0
- package/dist/config/serializers/cycles/index.js +18 -0
- package/dist/config/serializers/cycles/index.js.map +1 -0
- package/dist/config/serializers/dashboard/dashboard.serializer.d.ts +22 -0
- package/dist/config/serializers/dashboard/dashboard.serializer.js +66 -0
- package/dist/config/serializers/dashboard/dashboard.serializer.js.map +1 -0
- package/dist/config/serializers/dashboard/index.d.ts +1 -0
- package/dist/config/serializers/dashboard/index.js +18 -0
- package/dist/config/serializers/dashboard/index.js.map +1 -0
- package/dist/config/serializers/employee-properties/employee-properties.serializer.d.ts +9 -0
- package/dist/config/serializers/employee-properties/employee-properties.serializer.js +57 -0
- package/dist/config/serializers/employee-properties/employee-properties.serializer.js.map +1 -0
- package/dist/config/serializers/employee-properties/index.d.ts +1 -0
- package/dist/config/serializers/employee-properties/index.js +18 -0
- package/dist/config/serializers/employee-properties/index.js.map +1 -0
- package/dist/config/serializers/index.d.ts +24 -0
- package/dist/config/serializers/index.js +41 -0
- package/dist/config/serializers/index.js.map +1 -0
- package/dist/config/serializers/invitation/index.d.ts +1 -0
- package/dist/config/serializers/invitation/index.js +18 -0
- package/dist/config/serializers/invitation/index.js.map +1 -0
- package/dist/config/serializers/invitation/invitation.serializer.d.ts +52 -0
- package/dist/config/serializers/invitation/invitation.serializer.js +140 -0
- package/dist/config/serializers/invitation/invitation.serializer.js.map +1 -0
- package/dist/config/serializers/issue-link/index.d.ts +1 -0
- package/dist/config/serializers/issue-link/index.js +18 -0
- package/dist/config/serializers/issue-link/index.js.map +1 -0
- package/dist/config/serializers/issue-link/issue-link.serializer.d.ts +28 -0
- package/dist/config/serializers/issue-link/issue-link.serializer.js +89 -0
- package/dist/config/serializers/issue-link/issue-link.serializer.js.map +1 -0
- package/dist/config/serializers/mention/index.d.ts +1 -0
- package/dist/config/serializers/mention/index.js +18 -0
- package/dist/config/serializers/mention/index.js.map +1 -0
- package/dist/config/serializers/mention/mention.serializer.d.ts +2 -0
- package/dist/config/serializers/mention/mention.serializer.js +22 -0
- package/dist/config/serializers/mention/mention.serializer.js.map +1 -0
- package/dist/config/serializers/modules/index.d.ts +1 -0
- package/dist/config/serializers/modules/index.js +18 -0
- package/dist/config/serializers/modules/index.js.map +1 -0
- package/dist/config/serializers/modules/module.serializer.d.ts +49 -0
- package/dist/config/serializers/modules/module.serializer.js +215 -0
- package/dist/config/serializers/modules/module.serializer.js.map +1 -0
- package/dist/config/serializers/notification/index.d.ts +1 -0
- package/dist/config/serializers/notification/index.js +18 -0
- package/dist/config/serializers/notification/index.js.map +1 -0
- package/dist/config/serializers/notification/notification.serializer.d.ts +31 -0
- package/dist/config/serializers/notification/notification.serializer.js +135 -0
- package/dist/config/serializers/notification/notification.serializer.js.map +1 -0
- package/dist/config/serializers/pages/index.d.ts +1 -0
- package/dist/config/serializers/pages/index.js +18 -0
- package/dist/config/serializers/pages/index.js.map +1 -0
- package/dist/config/serializers/pages/page.serializer.d.ts +23 -0
- package/dist/config/serializers/pages/page.serializer.js +106 -0
- package/dist/config/serializers/pages/page.serializer.js.map +1 -0
- package/dist/config/serializers/project-deploy-boards/index.d.ts +2 -0
- package/dist/config/serializers/project-deploy-boards/index.js +19 -0
- package/dist/config/serializers/project-deploy-boards/index.js.map +1 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.d.ts +16 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.js +169 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.helper.js.map +1 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.d.ts +14 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.js +35 -0
- package/dist/config/serializers/project-deploy-boards/project-deploy-boards.serializer.js.map +1 -0
- package/dist/config/serializers/projects/index.d.ts +1 -0
- package/dist/config/serializers/projects/index.js +18 -0
- package/dist/config/serializers/projects/index.js.map +1 -0
- package/dist/config/serializers/projects/projects.serializer.d.ts +42 -0
- package/dist/config/serializers/projects/projects.serializer.js +216 -0
- package/dist/config/serializers/projects/projects.serializer.js.map +1 -0
- package/dist/config/serializers/query-params.serializers.d.ts +4 -0
- package/dist/config/serializers/query-params.serializers.js +10 -0
- package/dist/config/serializers/query-params.serializers.js.map +1 -0
- package/dist/config/serializers/reactions/index.d.ts +1 -0
- package/dist/config/serializers/reactions/index.js +18 -0
- package/dist/config/serializers/reactions/index.js.map +1 -0
- package/dist/config/serializers/reactions/reaction.serializer.d.ts +4 -0
- package/dist/config/serializers/reactions/reaction.serializer.js +62 -0
- package/dist/config/serializers/reactions/reaction.serializer.js.map +1 -0
- package/dist/config/serializers/recent-visits/index.d.ts +1 -0
- package/dist/config/serializers/recent-visits/index.js +18 -0
- package/dist/config/serializers/recent-visits/index.js.map +1 -0
- package/dist/config/serializers/recent-visits/recent-visits.serializer.d.ts +32 -0
- package/dist/config/serializers/recent-visits/recent-visits.serializer.js +109 -0
- package/dist/config/serializers/recent-visits/recent-visits.serializer.js.map +1 -0
- package/dist/config/serializers/subscription/index.d.ts +1 -0
- package/dist/config/serializers/subscription/index.js +18 -0
- package/dist/config/serializers/subscription/index.js.map +1 -0
- package/dist/config/serializers/subscription/subscription.serializer.d.ts +23 -0
- package/dist/config/serializers/subscription/subscription.serializer.js +68 -0
- package/dist/config/serializers/subscription/subscription.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/index.d.ts +5 -0
- package/dist/config/serializers/tasks/index.js +22 -0
- package/dist/config/serializers/tasks/index.js.map +1 -0
- package/dist/config/serializers/tasks/intake-issue/index.d.ts +1 -0
- package/dist/config/serializers/tasks/intake-issue/index.js +18 -0
- package/dist/config/serializers/tasks/intake-issue/index.js.map +1 -0
- package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.d.ts +35 -0
- package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.js +123 -0
- package/dist/config/serializers/tasks/intake-issue/intake-issue.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/issue-labels/index.d.ts +1 -0
- package/dist/config/serializers/tasks/issue-labels/index.js +18 -0
- package/dist/config/serializers/tasks/issue-labels/index.js.map +1 -0
- package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.d.ts +6 -0
- package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.js +31 -0
- package/dist/config/serializers/tasks/issue-labels/issue-labels.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/issue-relations/index.d.ts +1 -0
- package/dist/config/serializers/tasks/issue-relations/index.js +18 -0
- package/dist/config/serializers/tasks/issue-relations/index.js.map +1 -0
- package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.d.ts +8 -0
- package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.js +94 -0
- package/dist/config/serializers/tasks/issue-relations/issue-relations.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/statuses/index.d.ts +1 -0
- package/dist/config/serializers/tasks/statuses/index.js +18 -0
- package/dist/config/serializers/tasks/statuses/index.js.map +1 -0
- package/dist/config/serializers/tasks/statuses/statuses.serializer.d.ts +12 -0
- package/dist/config/serializers/tasks/statuses/statuses.serializer.js +100 -0
- package/dist/config/serializers/tasks/statuses/statuses.serializer.js.map +1 -0
- package/dist/config/serializers/tasks/tasks.serializer.d.ts +285 -0
- package/dist/config/serializers/tasks/tasks.serializer.js +1074 -0
- package/dist/config/serializers/tasks/tasks.serializer.js.map +1 -0
- package/dist/config/serializers/user/actor-details.helper.d.ts +10 -0
- package/dist/config/serializers/user/actor-details.helper.js +16 -0
- package/dist/config/serializers/user/actor-details.helper.js.map +1 -0
- package/dist/config/serializers/user/index.d.ts +2 -0
- package/dist/config/serializers/user/index.js +19 -0
- package/dist/config/serializers/user/index.js.map +1 -0
- package/dist/config/serializers/user/user.serializer.d.ts +140 -0
- package/dist/config/serializers/user/user.serializer.js +192 -0
- package/dist/config/serializers/user/user.serializer.js.map +1 -0
- package/dist/config/serializers/user-favorites/index.d.ts +1 -0
- package/dist/config/serializers/user-favorites/index.js +18 -0
- package/dist/config/serializers/user-favorites/index.js.map +1 -0
- package/dist/config/serializers/user-favorites/user-favorite.serializer.d.ts +6 -0
- package/dist/config/serializers/user-favorites/user-favorite.serializer.js +61 -0
- package/dist/config/serializers/user-favorites/user-favorite.serializer.js.map +1 -0
- package/dist/config/serializers/views/date-range.helper.d.ts +1 -0
- package/dist/config/serializers/views/date-range.helper.js +85 -0
- package/dist/config/serializers/views/date-range.helper.js.map +1 -0
- package/dist/config/serializers/views/index.d.ts +3 -0
- package/dist/config/serializers/views/index.js +20 -0
- package/dist/config/serializers/views/index.js.map +1 -0
- package/dist/config/serializers/views/view-id-from-referer.helper.d.ts +14 -0
- package/dist/config/serializers/views/view-id-from-referer.helper.js +27 -0
- package/dist/config/serializers/views/view-id-from-referer.helper.js.map +1 -0
- package/dist/config/serializers/views/view.serializer.d.ts +47 -0
- package/dist/config/serializers/views/view.serializer.js +187 -0
- package/dist/config/serializers/views/view.serializer.js.map +1 -0
- package/dist/config/serializers/workspace-organization/index.d.ts +2 -0
- package/dist/config/serializers/workspace-organization/index.js +19 -0
- package/dist/config/serializers/workspace-organization/index.js.map +1 -0
- package/dist/config/serializers/workspace-organization/organization.serializer.d.ts +92 -0
- package/dist/config/serializers/workspace-organization/organization.serializer.js +270 -0
- package/dist/config/serializers/workspace-organization/organization.serializer.js.map +1 -0
- package/dist/config/serializers/workspace-organization/widgets-filter.helper.d.ts +4 -0
- package/dist/config/serializers/workspace-organization/widgets-filter.helper.js +14 -0
- package/dist/config/serializers/workspace-organization/widgets-filter.helper.js.map +1 -0
- package/dist/config/time-zones.d.ts +8 -0
- package/dist/config/time-zones.js +722 -0
- package/dist/config/time-zones.js.map +1 -0
- package/dist/config/utils/index.d.ts +1 -0
- package/dist/config/utils/index.js +18 -0
- package/dist/config/utils/index.js.map +1 -0
- package/dist/config/utils/shared.utils.d.ts +95 -0
- package/dist/config/utils/shared.utils.js +256 -0
- package/dist/config/utils/shared.utils.js.map +1 -0
- package/dist/config/validators/custom-length.decorator.d.ts +28 -0
- package/dist/config/validators/custom-length.decorator.js +65 -0
- package/dist/config/validators/custom-length.decorator.js.map +1 -0
- package/dist/config/validators/index.d.ts +1 -0
- package/dist/config/validators/index.js +18 -0
- package/dist/config/validators/index.js.map +1 -0
- package/dist/dev.d.ts +1 -0
- package/dist/dev.js +10 -0
- package/dist/dev.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +50 -0
- package/dist/main.js.map +1 -0
- package/dist/modules/activity/activity.module.d.ts +2 -0
- package/dist/modules/activity/activity.module.js +22 -0
- package/dist/modules/activity/activity.module.js.map +1 -0
- package/dist/modules/activity/activity.service.d.ts +12 -0
- package/dist/modules/activity/activity.service.js +45 -0
- package/dist/modules/activity/activity.service.js.map +1 -0
- package/dist/modules/advance-analytics/advance-analytics.controller.d.ts +30 -0
- package/dist/modules/advance-analytics/advance-analytics.controller.js +128 -0
- package/dist/modules/advance-analytics/advance-analytics.controller.js.map +1 -0
- package/dist/modules/advance-analytics/advance-analytics.module.d.ts +15 -0
- package/dist/modules/advance-analytics/advance-analytics.module.js +56 -0
- package/dist/modules/advance-analytics/advance-analytics.module.js.map +1 -0
- package/dist/modules/advance-analytics/advance-analytics.service.d.ts +29 -0
- package/dist/modules/advance-analytics/advance-analytics.service.js +143 -0
- package/dist/modules/advance-analytics/advance-analytics.service.js.map +1 -0
- package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.d.ts +26 -0
- package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.js +93 -0
- package/dist/modules/advance-analytics/dto/advance-analytics-query.dto.js.map +1 -0
- package/dist/modules/advance-analytics/dto/index.d.ts +1 -0
- package/dist/modules/advance-analytics/dto/index.js +18 -0
- package/dist/modules/advance-analytics/dto/index.js.map +1 -0
- package/dist/modules/advance-analytics/index.d.ts +4 -0
- package/dist/modules/advance-analytics/index.js +21 -0
- package/dist/modules/advance-analytics/index.js.map +1 -0
- package/dist/modules/api-fetch/api-fetch.module.d.ts +2 -0
- package/dist/modules/api-fetch/api-fetch.module.js +24 -0
- package/dist/modules/api-fetch/api-fetch.module.js.map +1 -0
- package/dist/modules/api-fetch/api-fetch.service.d.ts +31 -0
- package/dist/modules/api-fetch/api-fetch.service.js +96 -0
- package/dist/modules/api-fetch/api-fetch.service.js.map +1 -0
- package/dist/modules/api-fetch/token.helper.d.ts +22 -0
- package/dist/modules/api-fetch/token.helper.js +58 -0
- package/dist/modules/api-fetch/token.helper.js.map +1 -0
- package/dist/modules/api-fetch/token.middleware.d.ts +8 -0
- package/dist/modules/api-fetch/token.middleware.js +38 -0
- package/dist/modules/api-fetch/token.middleware.js.map +1 -0
- package/dist/modules/app.module.d.ts +7 -0
- package/dist/modules/app.module.js +49 -0
- package/dist/modules/app.module.js.map +1 -0
- package/dist/modules/auth/auth.controller.d.ts +32 -0
- package/dist/modules/auth/auth.controller.js +278 -0
- package/dist/modules/auth/auth.controller.js.map +1 -0
- package/dist/modules/auth/auth.guard.d.ts +9 -0
- package/dist/modules/auth/auth.guard.js +52 -0
- package/dist/modules/auth/auth.guard.js.map +1 -0
- package/dist/modules/auth/auth.module.d.ts +2 -0
- package/dist/modules/auth/auth.module.js +30 -0
- package/dist/modules/auth/auth.module.js.map +1 -0
- package/dist/modules/auth/auth.service.d.ts +133 -0
- package/dist/modules/auth/auth.service.js +362 -0
- package/dist/modules/auth/auth.service.js.map +1 -0
- package/dist/modules/auth/dto/index.d.ts +1 -0
- package/dist/modules/auth/dto/index.js +18 -0
- package/dist/modules/auth/dto/index.js.map +1 -0
- package/dist/modules/auth/dto/two-factor-dto.d.ts +15 -0
- package/dist/modules/auth/dto/two-factor-dto.js +18 -0
- package/dist/modules/auth/dto/two-factor-dto.js.map +1 -0
- package/dist/modules/comments/comments.controller.d.ts +24 -0
- package/dist/modules/comments/comments.controller.js +72 -0
- package/dist/modules/comments/comments.controller.js.map +1 -0
- package/dist/modules/comments/comments.module.d.ts +2 -0
- package/dist/modules/comments/comments.module.js +26 -0
- package/dist/modules/comments/comments.module.js.map +1 -0
- package/dist/modules/comments/comments.service.d.ts +92 -0
- package/dist/modules/comments/comments.service.js +235 -0
- package/dist/modules/comments/comments.service.js.map +1 -0
- package/dist/modules/cycles/cycles.controller.d.ts +106 -0
- package/dist/modules/cycles/cycles.controller.js +270 -0
- package/dist/modules/cycles/cycles.controller.js.map +1 -0
- package/dist/modules/cycles/cycles.module.d.ts +2 -0
- package/dist/modules/cycles/cycles.module.js +31 -0
- package/dist/modules/cycles/cycles.module.js.map +1 -0
- package/dist/modules/cycles/cycles.service.d.ts +169 -0
- package/dist/modules/cycles/cycles.service.js +477 -0
- package/dist/modules/cycles/cycles.service.js.map +1 -0
- package/dist/modules/cycles/dto/create-cycle.dto.d.ts +6 -0
- package/dist/modules/cycles/dto/create-cycle.dto.js +9 -0
- package/dist/modules/cycles/dto/create-cycle.dto.js.map +1 -0
- package/dist/modules/cycles/dto/cycle.dto.d.ts +18 -0
- package/dist/modules/cycles/dto/cycle.dto.js +112 -0
- package/dist/modules/cycles/dto/cycle.dto.js.map +1 -0
- package/dist/modules/cycles/dto/index.d.ts +3 -0
- package/dist/modules/cycles/dto/index.js +20 -0
- package/dist/modules/cycles/dto/index.js.map +1 -0
- package/dist/modules/cycles/dto/update-cycle.dto.d.ts +6 -0
- package/dist/modules/cycles/dto/update-cycle.dto.js +9 -0
- package/dist/modules/cycles/dto/update-cycle.dto.js.map +1 -0
- package/dist/modules/dashboard/dashboard.controller.d.ts +16 -0
- package/dist/modules/dashboard/dashboard.controller.js +59 -0
- package/dist/modules/dashboard/dashboard.controller.js.map +1 -0
- package/dist/modules/dashboard/dashboard.module.d.ts +2 -0
- package/dist/modules/dashboard/dashboard.module.js +30 -0
- package/dist/modules/dashboard/dashboard.module.js.map +1 -0
- package/dist/modules/dashboard/dashboard.service.d.ts +33 -0
- package/dist/modules/dashboard/dashboard.service.js +97 -0
- package/dist/modules/dashboard/dashboard.service.js.map +1 -0
- package/dist/modules/dashboard/widget.service.d.ts +22 -0
- package/dist/modules/dashboard/widget.service.js +68 -0
- package/dist/modules/dashboard/widget.service.js.map +1 -0
- package/dist/modules/employee-properties/employee-properties.module.d.ts +2 -0
- package/dist/modules/employee-properties/employee-properties.module.js +21 -0
- package/dist/modules/employee-properties/employee-properties.module.js.map +1 -0
- package/dist/modules/employee-properties/employee-properties.service.d.ts +30 -0
- package/dist/modules/employee-properties/employee-properties.service.js +95 -0
- package/dist/modules/employee-properties/employee-properties.service.js.map +1 -0
- package/dist/modules/file-assets/file-assets.controller.d.ts +120 -0
- package/dist/modules/file-assets/file-assets.controller.js +192 -0
- package/dist/modules/file-assets/file-assets.controller.js.map +1 -0
- package/dist/modules/file-assets/file-assets.module.d.ts +2 -0
- package/dist/modules/file-assets/file-assets.module.js +23 -0
- package/dist/modules/file-assets/file-assets.module.js.map +1 -0
- package/dist/modules/file-assets/file-assets.service.d.ts +47 -0
- package/dist/modules/file-assets/file-assets.service.js +141 -0
- package/dist/modules/file-assets/file-assets.service.js.map +1 -0
- package/dist/modules/http.module.d.ts +2 -0
- package/dist/modules/http.module.js +22 -0
- package/dist/modules/http.module.js.map +1 -0
- package/dist/modules/instances/instances.controller.d.ts +73 -0
- package/dist/modules/instances/instances.controller.js +39 -0
- package/dist/modules/instances/instances.controller.js.map +1 -0
- package/dist/modules/instances/instances.module.d.ts +2 -0
- package/dist/modules/instances/instances.module.js +28 -0
- package/dist/modules/instances/instances.module.js.map +1 -0
- package/dist/modules/instances/instances.service.d.ts +68 -0
- package/dist/modules/instances/instances.service.js +88 -0
- package/dist/modules/instances/instances.service.js.map +1 -0
- package/dist/modules/invitation/dto/create-invitation.d.ts +8 -0
- package/dist/modules/invitation/dto/create-invitation.js +41 -0
- package/dist/modules/invitation/dto/create-invitation.js.map +1 -0
- package/dist/modules/invitation/dto/index.d.ts +1 -0
- package/dist/modules/invitation/dto/index.js +18 -0
- package/dist/modules/invitation/dto/index.js.map +1 -0
- package/dist/modules/invitation/invitation.controller.d.ts +53 -0
- package/dist/modules/invitation/invitation.controller.js +168 -0
- package/dist/modules/invitation/invitation.controller.js.map +1 -0
- package/dist/modules/invitation/invitation.module.d.ts +2 -0
- package/dist/modules/invitation/invitation.module.js +29 -0
- package/dist/modules/invitation/invitation.module.js.map +1 -0
- package/dist/modules/invitation/invitation.service.d.ts +67 -0
- package/dist/modules/invitation/invitation.service.js +193 -0
- package/dist/modules/invitation/invitation.service.js.map +1 -0
- package/dist/modules/issue-links/issue-links.module.d.ts +2 -0
- package/dist/modules/issue-links/issue-links.module.js +21 -0
- package/dist/modules/issue-links/issue-links.module.js.map +1 -0
- package/dist/modules/issue-links/issue-links.service.d.ts +47 -0
- package/dist/modules/issue-links/issue-links.service.js +143 -0
- package/dist/modules/issue-links/issue-links.service.js.map +1 -0
- package/dist/modules/issue-relations/dto/create-issue-relation.dto.d.ts +5 -0
- package/dist/modules/issue-relations/dto/create-issue-relation.dto.js +31 -0
- package/dist/modules/issue-relations/dto/create-issue-relation.dto.js.map +1 -0
- package/dist/modules/issue-relations/dto/delete-issue-relation.dto.d.ts +7 -0
- package/dist/modules/issue-relations/dto/delete-issue-relation.dto.js +25 -0
- package/dist/modules/issue-relations/dto/delete-issue-relation.dto.js.map +1 -0
- package/dist/modules/issue-relations/dto/index.d.ts +2 -0
- package/dist/modules/issue-relations/dto/index.js +19 -0
- package/dist/modules/issue-relations/dto/index.js.map +1 -0
- package/dist/modules/issue-relations/issue-relations.module.d.ts +2 -0
- package/dist/modules/issue-relations/issue-relations.module.js +23 -0
- package/dist/modules/issue-relations/issue-relations.module.js.map +1 -0
- package/dist/modules/issue-relations/issue-relations.service.d.ts +49 -0
- package/dist/modules/issue-relations/issue-relations.service.js +242 -0
- package/dist/modules/issue-relations/issue-relations.service.js.map +1 -0
- package/dist/modules/issues/draft-issues/draft-issues.module.d.ts +2 -0
- package/dist/modules/issues/draft-issues/draft-issues.module.js +23 -0
- package/dist/modules/issues/draft-issues/draft-issues.module.js.map +1 -0
- package/dist/modules/issues/draft-issues/draft-issues.service.d.ts +34 -0
- package/dist/modules/issues/draft-issues/draft-issues.service.js +94 -0
- package/dist/modules/issues/draft-issues/draft-issues.service.js.map +1 -0
- package/dist/modules/issues/dto/create-issue-comment.dto.d.ts +4 -0
- package/dist/modules/issues/dto/create-issue-comment.dto.js +24 -0
- package/dist/modules/issues/dto/create-issue-comment.dto.js.map +1 -0
- package/dist/modules/issues/dto/create-issue-link.dto.d.ts +5 -0
- package/dist/modules/issues/dto/create-issue-link.dto.js +30 -0
- package/dist/modules/issues/dto/create-issue-link.dto.js.map +1 -0
- package/dist/modules/issues/dto/create-issue-reaction.dto.d.ts +4 -0
- package/dist/modules/issues/dto/create-issue-reaction.dto.js +24 -0
- package/dist/modules/issues/dto/create-issue-reaction.dto.js.map +1 -0
- package/dist/modules/issues/dto/create-issue.dto.d.ts +21 -0
- package/dist/modules/issues/dto/create-issue.dto.js +139 -0
- package/dist/modules/issues/dto/create-issue.dto.js.map +1 -0
- package/dist/modules/issues/dto/index.d.ts +5 -0
- package/dist/modules/issues/dto/index.js +22 -0
- package/dist/modules/issues/dto/index.js.map +1 -0
- package/dist/modules/issues/dto/update-issue.dto.d.ts +5 -0
- package/dist/modules/issues/dto/update-issue.dto.js +25 -0
- package/dist/modules/issues/dto/update-issue.dto.js.map +1 -0
- package/dist/modules/issues/intake-issues/intake-issues.controller.d.ts +31 -0
- package/dist/modules/issues/intake-issues/intake-issues.controller.js +102 -0
- package/dist/modules/issues/intake-issues/intake-issues.controller.js.map +1 -0
- package/dist/modules/issues/intake-issues/intake-issues.module.d.ts +2 -0
- package/dist/modules/issues/intake-issues/intake-issues.module.js +26 -0
- package/dist/modules/issues/intake-issues/intake-issues.module.js.map +1 -0
- package/dist/modules/issues/intake-issues/intake-issues.service.d.ts +54 -0
- package/dist/modules/issues/intake-issues/intake-issues.service.js +182 -0
- package/dist/modules/issues/intake-issues/intake-issues.service.js.map +1 -0
- package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.d.ts +5 -0
- package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.js +30 -0
- package/dist/modules/issues/issue-labels/dto/create-issue-label.dto.js.map +1 -0
- package/dist/modules/issues/issue-labels/dto/index.d.ts +2 -0
- package/dist/modules/issues/issue-labels/dto/index.js +19 -0
- package/dist/modules/issues/issue-labels/dto/index.js.map +1 -0
- package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.d.ts +6 -0
- package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.js +9 -0
- package/dist/modules/issues/issue-labels/dto/update-issue-label.dto.js.map +1 -0
- package/dist/modules/issues/issue-labels/issue-labels.controller.d.ts +38 -0
- package/dist/modules/issues/issue-labels/issue-labels.controller.js +108 -0
- package/dist/modules/issues/issue-labels/issue-labels.controller.js.map +1 -0
- package/dist/modules/issues/issue-labels/issue-labels.module.d.ts +2 -0
- package/dist/modules/issues/issue-labels/issue-labels.module.js +23 -0
- package/dist/modules/issues/issue-labels/issue-labels.module.js.map +1 -0
- package/dist/modules/issues/issue-labels/issue-labels.service.d.ts +36 -0
- package/dist/modules/issues/issue-labels/issue-labels.service.js +107 -0
- package/dist/modules/issues/issue-labels/issue-labels.service.js.map +1 -0
- package/dist/modules/issues/issues.controller.d.ts +200 -0
- package/dist/modules/issues/issues.controller.js +547 -0
- package/dist/modules/issues/issues.controller.js.map +1 -0
- package/dist/modules/issues/issues.module.d.ts +2 -0
- package/dist/modules/issues/issues.module.js +45 -0
- package/dist/modules/issues/issues.module.js.map +1 -0
- package/dist/modules/issues/issues.service.d.ts +327 -0
- package/dist/modules/issues/issues.service.js +1052 -0
- package/dist/modules/issues/issues.service.js.map +1 -0
- package/dist/modules/issues/search-issues/search-issues.controller.d.ts +14 -0
- package/dist/modules/issues/search-issues/search-issues.controller.js +49 -0
- package/dist/modules/issues/search-issues/search-issues.controller.js.map +1 -0
- package/dist/modules/issues/search-issues/search-issues.module.d.ts +2 -0
- package/dist/modules/issues/search-issues/search-issues.module.js +23 -0
- package/dist/modules/issues/search-issues/search-issues.module.js.map +1 -0
- package/dist/modules/issues/search-issues/search-issues.service.d.ts +13 -0
- package/dist/modules/issues/search-issues/search-issues.service.js +97 -0
- package/dist/modules/issues/search-issues/search-issues.service.js.map +1 -0
- package/dist/modules/logger/index.d.ts +2 -0
- package/dist/modules/logger/index.js +19 -0
- package/dist/modules/logger/index.js.map +1 -0
- package/dist/modules/logger/logger.module.d.ts +6 -0
- package/dist/modules/logger/logger.module.js +26 -0
- package/dist/modules/logger/logger.module.js.map +1 -0
- package/dist/modules/logger/logger.service.d.ts +59 -0
- package/dist/modules/logger/logger.service.js +99 -0
- package/dist/modules/logger/logger.service.js.map +1 -0
- package/dist/modules/mention/mention.module.d.ts +2 -0
- package/dist/modules/mention/mention.module.js +21 -0
- package/dist/modules/mention/mention.module.js.map +1 -0
- package/dist/modules/mention/mention.service.d.ts +6 -0
- package/dist/modules/mention/mention.service.js +38 -0
- package/dist/modules/mention/mention.service.js.map +1 -0
- package/dist/modules/notification/notification.module.d.ts +2 -0
- package/dist/modules/notification/notification.module.js +21 -0
- package/dist/modules/notification/notification.module.js.map +1 -0
- package/dist/modules/notification/notification.service.d.ts +37 -0
- package/dist/modules/notification/notification.service.js +113 -0
- package/dist/modules/notification/notification.service.js.map +1 -0
- package/dist/modules/pages/dto/create-page.dto.d.ts +14 -0
- package/dist/modules/pages/dto/create-page.dto.js +68 -0
- package/dist/modules/pages/dto/create-page.dto.js.map +1 -0
- package/dist/modules/pages/dto/index.d.ts +2 -0
- package/dist/modules/pages/dto/index.js +19 -0
- package/dist/modules/pages/dto/index.js.map +1 -0
- package/dist/modules/pages/dto/update-page.dto.d.ts +15 -0
- package/dist/modules/pages/dto/update-page.dto.js +71 -0
- package/dist/modules/pages/dto/update-page.dto.js.map +1 -0
- package/dist/modules/pages/pages.controller.d.ts +109 -0
- package/dist/modules/pages/pages.controller.js +387 -0
- package/dist/modules/pages/pages.controller.js.map +1 -0
- package/dist/modules/pages/pages.module.d.ts +2 -0
- package/dist/modules/pages/pages.module.js +23 -0
- package/dist/modules/pages/pages.module.js.map +1 -0
- package/dist/modules/pages/pages.service.d.ts +112 -0
- package/dist/modules/pages/pages.service.js +481 -0
- package/dist/modules/pages/pages.service.js.map +1 -0
- package/dist/modules/project/dto/create-project.dto.d.ts +15 -0
- package/dist/modules/project/dto/create-project.dto.js +93 -0
- package/dist/modules/project/dto/create-project.dto.js.map +1 -0
- package/dist/modules/project/dto/index.d.ts +2 -0
- package/dist/modules/project/dto/index.js +19 -0
- package/dist/modules/project/dto/index.js.map +1 -0
- package/dist/modules/project/dto/project-member.dto.d.ts +8 -0
- package/dist/modules/project/dto/project-member.dto.js +48 -0
- package/dist/modules/project/dto/project-member.dto.js.map +1 -0
- package/dist/modules/project/dto/update-project.dto.d.ts +6 -0
- package/dist/modules/project/dto/update-project.dto.js +9 -0
- package/dist/modules/project/dto/update-project.dto.js.map +1 -0
- package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.d.ts +33 -0
- package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.js +127 -0
- package/dist/modules/project/project-deploy-boards/project-deploy-boards.service.js.map +1 -0
- package/dist/modules/project/project-identifiers/project-identifiers.controller.d.ts +12 -0
- package/dist/modules/project/project-identifiers/project-identifiers.controller.js +48 -0
- package/dist/modules/project/project-identifiers/project-identifiers.controller.js.map +1 -0
- package/dist/modules/project/project-identifiers/project-identifiers.module.d.ts +2 -0
- package/dist/modules/project/project-identifiers/project-identifiers.module.js +29 -0
- package/dist/modules/project/project-identifiers/project-identifiers.module.js.map +1 -0
- package/dist/modules/project/project-identifiers/project-identifiers.service.d.ts +14 -0
- package/dist/modules/project/project-identifiers/project-identifiers.service.js +60 -0
- package/dist/modules/project/project-identifiers/project-identifiers.service.js.map +1 -0
- package/dist/modules/project/project.controller.d.ts +94 -0
- package/dist/modules/project/project.controller.js +338 -0
- package/dist/modules/project/project.controller.js.map +1 -0
- package/dist/modules/project/project.module.d.ts +2 -0
- package/dist/modules/project/project.module.js +87 -0
- package/dist/modules/project/project.module.js.map +1 -0
- package/dist/modules/project/project.service.d.ts +132 -0
- package/dist/modules/project/project.service.js +491 -0
- package/dist/modules/project/project.service.js.map +1 -0
- package/dist/modules/project-module/dto/create-module.dto.d.ts +12 -0
- package/dist/modules/project-module/dto/create-module.dto.js +76 -0
- package/dist/modules/project-module/dto/create-module.dto.js.map +1 -0
- package/dist/modules/project-module/dto/index.d.ts +2 -0
- package/dist/modules/project-module/dto/index.js +19 -0
- package/dist/modules/project-module/dto/index.js.map +1 -0
- package/dist/modules/project-module/dto/update-module.dto.d.ts +6 -0
- package/dist/modules/project-module/dto/update-module.dto.js +9 -0
- package/dist/modules/project-module/dto/update-module.dto.js.map +1 -0
- package/dist/modules/project-module/project-module.controller.d.ts +52 -0
- package/dist/modules/project-module/project-module.controller.js +167 -0
- package/dist/modules/project-module/project-module.controller.js.map +1 -0
- package/dist/modules/project-module/project-module.module.d.ts +2 -0
- package/dist/modules/project-module/project-module.module.js +26 -0
- package/dist/modules/project-module/project-module.module.js.map +1 -0
- package/dist/modules/project-module/project-module.service.d.ts +66 -0
- package/dist/modules/project-module/project-module.service.js +275 -0
- package/dist/modules/project-module/project-module.service.js.map +1 -0
- package/dist/modules/reactions/reactions.module.d.ts +2 -0
- package/dist/modules/reactions/reactions.module.js +21 -0
- package/dist/modules/reactions/reactions.module.js.map +1 -0
- package/dist/modules/reactions/reactions.service.d.ts +48 -0
- package/dist/modules/reactions/reactions.service.js +121 -0
- package/dist/modules/reactions/reactions.service.js.map +1 -0
- package/dist/modules/recent-visits/recent-visits.controller.d.ts +12 -0
- package/dist/modules/recent-visits/recent-visits.controller.js +50 -0
- package/dist/modules/recent-visits/recent-visits.controller.js.map +1 -0
- package/dist/modules/recent-visits/recent-visits.module.d.ts +2 -0
- package/dist/modules/recent-visits/recent-visits.module.js +23 -0
- package/dist/modules/recent-visits/recent-visits.module.js.map +1 -0
- package/dist/modules/recent-visits/recent-visits.service.d.ts +12 -0
- package/dist/modules/recent-visits/recent-visits.service.js +53 -0
- package/dist/modules/recent-visits/recent-visits.service.js.map +1 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.controller.d.ts +47 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.controller.js +38 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.controller.js.map +1 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.module.d.ts +2 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.module.js +23 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.module.js.map +1 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.service.d.ts +49 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.service.js +27 -0
- package/dist/modules/sidebar-preferences/sidebar-preferences.service.js.map +1 -0
- package/dist/modules/states/dto/create-state.dto.d.ts +7 -0
- package/dist/modules/states/dto/create-state.dto.js +42 -0
- package/dist/modules/states/dto/create-state.dto.js.map +1 -0
- package/dist/modules/states/dto/index.d.ts +1 -0
- package/dist/modules/states/dto/index.js +18 -0
- package/dist/modules/states/dto/index.js.map +1 -0
- package/dist/modules/states/states.controller.d.ts +27 -0
- package/dist/modules/states/states.controller.js +85 -0
- package/dist/modules/states/states.controller.js.map +1 -0
- package/dist/modules/states/states.module.d.ts +2 -0
- package/dist/modules/states/states.module.js +23 -0
- package/dist/modules/states/states.module.js.map +1 -0
- package/dist/modules/states/states.service.d.ts +33 -0
- package/dist/modules/states/states.service.js +99 -0
- package/dist/modules/states/states.service.js.map +1 -0
- package/dist/modules/subscription/subscription.module.d.ts +2 -0
- package/dist/modules/subscription/subscription.module.js +21 -0
- package/dist/modules/subscription/subscription.module.js.map +1 -0
- package/dist/modules/subscription/subscription.service.d.ts +32 -0
- package/dist/modules/subscription/subscription.service.js +98 -0
- package/dist/modules/subscription/subscription.service.js.map +1 -0
- package/dist/modules/timezones/timezones.controller.d.ts +10 -0
- package/dist/modules/timezones/timezones.controller.js +34 -0
- package/dist/modules/timezones/timezones.controller.js.map +1 -0
- package/dist/modules/timezones/timezones.module.d.ts +2 -0
- package/dist/modules/timezones/timezones.module.js +26 -0
- package/dist/modules/timezones/timezones.module.js.map +1 -0
- package/dist/modules/user/dto/check-exist-user.dto.d.ts +10 -0
- package/dist/modules/user/dto/check-exist-user.dto.js +13 -0
- package/dist/modules/user/dto/check-exist-user.dto.js.map +1 -0
- package/dist/modules/user/dto/include-teams.dto.d.ts +3 -0
- package/dist/modules/user/dto/include-teams.dto.js +24 -0
- package/dist/modules/user/dto/include-teams.dto.js.map +1 -0
- package/dist/modules/user/dto/index.d.ts +6 -0
- package/dist/modules/user/dto/index.js +23 -0
- package/dist/modules/user/dto/index.js.map +1 -0
- package/dist/modules/user/dto/user-code.dto.d.ts +7 -0
- package/dist/modules/user/dto/user-code.dto.js +28 -0
- package/dist/modules/user/dto/user-code.dto.js.map +1 -0
- package/dist/modules/user/dto/user-email.dto.d.ts +7 -0
- package/dist/modules/user/dto/user-email.dto.js +27 -0
- package/dist/modules/user/dto/user-email.dto.js.map +1 -0
- package/dist/modules/user/dto/user-password.dto.d.ts +7 -0
- package/dist/modules/user/dto/user-password.dto.js +27 -0
- package/dist/modules/user/dto/user-password.dto.js.map +1 -0
- package/dist/modules/user/dto/user-token.dto.d.ts +7 -0
- package/dist/modules/user/dto/user-token.dto.js +27 -0
- package/dist/modules/user/dto/user-token.dto.js.map +1 -0
- package/dist/modules/user/user.controller.d.ts +79 -0
- package/dist/modules/user/user.controller.js +109 -0
- package/dist/modules/user/user.controller.js.map +1 -0
- package/dist/modules/user/user.module.d.ts +2 -0
- package/dist/modules/user/user.module.js +29 -0
- package/dist/modules/user/user.module.js.map +1 -0
- package/dist/modules/user/user.service.d.ts +118 -0
- package/dist/modules/user/user.service.js +182 -0
- package/dist/modules/user/user.service.js.map +1 -0
- package/dist/modules/user-favorites/dto/create-favorite.dto.d.ts +9 -0
- package/dist/modules/user-favorites/dto/create-favorite.dto.js +55 -0
- package/dist/modules/user-favorites/dto/create-favorite.dto.js.map +1 -0
- package/dist/modules/user-favorites/dto/index.d.ts +1 -0
- package/dist/modules/user-favorites/dto/index.js +18 -0
- package/dist/modules/user-favorites/dto/index.js.map +1 -0
- package/dist/modules/user-favorites/user-favorites.controller.d.ts +27 -0
- package/dist/modules/user-favorites/user-favorites.controller.js +82 -0
- package/dist/modules/user-favorites/user-favorites.controller.js.map +1 -0
- package/dist/modules/user-favorites/user-favorites.module.d.ts +2 -0
- package/dist/modules/user-favorites/user-favorites.module.js +38 -0
- package/dist/modules/user-favorites/user-favorites.module.js.map +1 -0
- package/dist/modules/user-favorites/user-favorites.service.d.ts +36 -0
- package/dist/modules/user-favorites/user-favorites.service.js +174 -0
- package/dist/modules/user-favorites/user-favorites.service.js.map +1 -0
- package/dist/modules/views/dto/create-issue-view.dto.d.ts +9 -0
- package/dist/modules/views/dto/create-issue-view.dto.js +54 -0
- package/dist/modules/views/dto/create-issue-view.dto.js.map +1 -0
- package/dist/modules/views/dto/index.d.ts +2 -0
- package/dist/modules/views/dto/index.js +19 -0
- package/dist/modules/views/dto/index.js.map +1 -0
- package/dist/modules/views/dto/update-issue-view.dto.d.ts +6 -0
- package/dist/modules/views/dto/update-issue-view.dto.js +9 -0
- package/dist/modules/views/dto/update-issue-view.dto.js.map +1 -0
- package/dist/modules/views/view.controller.d.ts +45 -0
- package/dist/modules/views/view.controller.js +128 -0
- package/dist/modules/views/view.controller.js.map +1 -0
- package/dist/modules/views/view.module.d.ts +2 -0
- package/dist/modules/views/view.module.js +23 -0
- package/dist/modules/views/view.module.js.map +1 -0
- package/dist/modules/views/view.service.d.ts +55 -0
- package/dist/modules/views/view.service.js +158 -0
- package/dist/modules/views/view.service.js.map +1 -0
- package/dist/modules/views/workspace-view.controller.d.ts +42 -0
- package/dist/modules/views/workspace-view.controller.js +120 -0
- package/dist/modules/views/workspace-view.controller.js.map +1 -0
- package/dist/modules/views/workspace-view.module.d.ts +2 -0
- package/dist/modules/views/workspace-view.module.js +28 -0
- package/dist/modules/views/workspace-view.module.js.map +1 -0
- package/dist/modules/work-items/work-items.controller.d.ts +6 -0
- package/dist/modules/work-items/work-items.controller.js +42 -0
- package/dist/modules/work-items/work-items.controller.js.map +1 -0
- package/dist/modules/work-items/work-items.module.d.ts +2 -0
- package/dist/modules/work-items/work-items.module.js +23 -0
- package/dist/modules/work-items/work-items.module.js.map +1 -0
- package/dist/modules/work-items/work-items.service.d.ts +11 -0
- package/dist/modules/work-items/work-items.service.js +45 -0
- package/dist/modules/work-items/work-items.service.js.map +1 -0
- package/dist/modules/workspace/dto/create-workspace.dto.d.ts +13 -0
- package/dist/modules/workspace/dto/create-workspace.dto.js +48 -0
- package/dist/modules/workspace/dto/create-workspace.dto.js.map +1 -0
- package/dist/modules/workspace/dto/index.d.ts +0 -0
- package/dist/modules/workspace/dto/index.js +2 -0
- package/dist/modules/workspace/dto/index.js.map +1 -0
- package/dist/modules/workspace/workspace-context.service.d.ts +13 -0
- package/dist/modules/workspace/workspace-context.service.js +35 -0
- package/dist/modules/workspace/workspace-context.service.js.map +1 -0
- package/dist/modules/workspace/workspace.controller.d.ts +292 -0
- package/dist/modules/workspace/workspace.controller.js +758 -0
- package/dist/modules/workspace/workspace.controller.js.map +1 -0
- package/dist/modules/workspace/workspace.middleware.d.ts +5 -0
- package/dist/modules/workspace/workspace.middleware.js +32 -0
- package/dist/modules/workspace/workspace.middleware.js.map +1 -0
- package/dist/modules/workspace/workspace.module.d.ts +2 -0
- package/dist/modules/workspace/workspace.module.js +49 -0
- package/dist/modules/workspace/workspace.module.js.map +1 -0
- package/dist/modules/workspace/workspace.service.d.ts +475 -0
- package/dist/modules/workspace/workspace.service.js +1266 -0
- package/dist/modules/workspace/workspace.service.js.map +1 -0
- package/dist/modules/workspace/workspaces.controller.d.ts +13 -0
- package/dist/modules/workspace/workspaces.controller.js +57 -0
- package/dist/modules/workspace/workspaces.controller.js.map +1 -0
- package/dist/modules/workspace/workspaces.module.d.ts +2 -0
- package/dist/modules/workspace/workspaces.module.js +29 -0
- package/dist/modules/workspace/workspaces.module.js.map +1 -0
- package/dist/modules/workspace/workspaces.service.d.ts +15 -0
- package/dist/modules/workspace/workspaces.service.js +52 -0
- package/dist/modules/workspace/workspaces.service.js.map +1 -0
- package/dist/modules/workspace-slug/workspace-slug.controller.d.ts +6 -0
- package/dist/modules/workspace-slug/workspace-slug.controller.js +37 -0
- package/dist/modules/workspace-slug/workspace-slug.controller.js.map +1 -0
- package/dist/modules/workspace-slug/workspace-slug.module.d.ts +2 -0
- package/dist/modules/workspace-slug/workspace-slug.module.js +26 -0
- package/dist/modules/workspace-slug/workspace-slug.module.js.map +1 -0
- package/dist/mount.d.ts +51 -0
- package/dist/mount.js +194 -0
- package/dist/mount.js.map +1 -0
- package/dist/plane-config.registry.d.ts +31 -0
- package/dist/plane-config.registry.js +91 -0
- package/dist/plane-config.registry.js.map +1 -0
- package/dist/plane-plugin-options.interface.d.ts +70 -0
- package/dist/plane-plugin-options.interface.js +5 -0
- package/dist/plane-plugin-options.interface.js.map +1 -0
- package/dist/plane-proxy.module.d.ts +16 -0
- package/dist/plane-proxy.module.js +176 -0
- package/dist/plane-proxy.module.js.map +1 -0
- package/package.json +109 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-module.dto.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/modules/project-module/dto/update-module.dto.ts"],"names":[],"mappings":";;;AAAA,6CAA8C;AAE9C,2DAAsD;AAEtD,MAAa,eACZ,SAAQ,IAAA,qBAAW,EAAC,mCAAe,CAAC;CACK;AAF1C,0CAE0C"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ID, IModule } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
import { ProjectModuleService } from './project-module.service';
|
|
3
|
+
import { CreateModuleDTO, UpdateModuleDTO } from './dto';
|
|
4
|
+
export declare class ProjectModuleController {
|
|
5
|
+
private readonly _projectModuleService;
|
|
6
|
+
constructor(_projectModuleService: ProjectModuleService);
|
|
7
|
+
/**
|
|
8
|
+
* @description - Create module
|
|
9
|
+
* @param {ICreateModuleInput} input - data for creating new module
|
|
10
|
+
* @returns - A promise that resolves after module created
|
|
11
|
+
* @memberof ProjectModuleController
|
|
12
|
+
*/
|
|
13
|
+
createModule(input: CreateModuleDTO): Promise<IModule | IModule[]>;
|
|
14
|
+
addIssuesToModule(id: ID, projectId: ID, input: UpdateModuleDTO): Promise<IModule | IModule[]>;
|
|
15
|
+
/**
|
|
16
|
+
* @description - Get project modules
|
|
17
|
+
* @param {ID} projectId - The ID of the project for whom get modules
|
|
18
|
+
* @returns - A promise that resolves after got modules
|
|
19
|
+
* @memberof ProjectModuleController
|
|
20
|
+
*/
|
|
21
|
+
getWorkspaceProjectModules(projectId: ID): Promise<IModule | IModule[]>;
|
|
22
|
+
/**
|
|
23
|
+
* @description - Get project modules
|
|
24
|
+
* @param {ID} projectId - The ID of the project for whom get modules
|
|
25
|
+
* @returns - A promise that resolves after got modules
|
|
26
|
+
* @memberof ProjectModuleController
|
|
27
|
+
*/
|
|
28
|
+
getWorkspaceProjectModule(id: ID, projectId: ID): Promise<IModule | IModule[]>;
|
|
29
|
+
/**
|
|
30
|
+
* @description Get user modules properties
|
|
31
|
+
* @param {ID} id - Module ID of module for whom get properties
|
|
32
|
+
* @returns A promise resolved to user properties
|
|
33
|
+
* @memberof ProjectModuleService
|
|
34
|
+
*/
|
|
35
|
+
getModuleUserProperties(id: ID): Promise<import("@ever-gauzy/plugin-integration-plane-models").IUserViewProperties>;
|
|
36
|
+
updateModuleUserProperties(id: ID, input: any): Promise<import("@ever-gauzy/plugin-integration-plane-models").IUserViewProperties>;
|
|
37
|
+
/**
|
|
38
|
+
* @description Update Project Module
|
|
39
|
+
* @param {ID} id Project Module ID to be updated
|
|
40
|
+
* @param {ICreateModuleInput} input Body Request data
|
|
41
|
+
* @returns A promise resolved to updated Module
|
|
42
|
+
* @memberof ProjectModuleController
|
|
43
|
+
*/
|
|
44
|
+
update(id: ID, projectId: ID, input: UpdateModuleDTO): Promise<IModule | IModule[]>;
|
|
45
|
+
/**
|
|
46
|
+
* @description Delete project module
|
|
47
|
+
* @param {ID} id - The project module to be deleted
|
|
48
|
+
* @returns A promise resolved to delete result
|
|
49
|
+
* @memberof ProjectModuleController
|
|
50
|
+
*/
|
|
51
|
+
delete(id: ID): Promise<any>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ProjectModuleController = void 0;
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const project_module_service_1 = require("./project-module.service");
|
|
19
|
+
const dto_1 = require("./dto");
|
|
20
|
+
let ProjectModuleController = class ProjectModuleController {
|
|
21
|
+
constructor(_projectModuleService) {
|
|
22
|
+
this._projectModuleService = _projectModuleService;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @description - Create module
|
|
26
|
+
* @param {ICreateModuleInput} input - data for creating new module
|
|
27
|
+
* @returns - A promise that resolves after module created
|
|
28
|
+
* @memberof ProjectModuleController
|
|
29
|
+
*/
|
|
30
|
+
async createModule(input) {
|
|
31
|
+
return await this._projectModuleService.create(input);
|
|
32
|
+
}
|
|
33
|
+
async addIssuesToModule(id, projectId, input) {
|
|
34
|
+
return await this._projectModuleService.update(id, projectId, input);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @description - Get project modules
|
|
38
|
+
* @param {ID} projectId - The ID of the project for whom get modules
|
|
39
|
+
* @returns - A promise that resolves after got modules
|
|
40
|
+
* @memberof ProjectModuleController
|
|
41
|
+
*/
|
|
42
|
+
async getWorkspaceProjectModules(projectId) {
|
|
43
|
+
return this._projectModuleService.getAllModulesByProject(projectId);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @description - Get project modules
|
|
47
|
+
* @param {ID} projectId - The ID of the project for whom get modules
|
|
48
|
+
* @returns - A promise that resolves after got modules
|
|
49
|
+
* @memberof ProjectModuleController
|
|
50
|
+
*/
|
|
51
|
+
async getWorkspaceProjectModule(id, projectId) {
|
|
52
|
+
return this._projectModuleService.getModule(id, projectId);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @description Get user modules properties
|
|
56
|
+
* @param {ID} id - Module ID of module for whom get properties
|
|
57
|
+
* @returns A promise resolved to user properties
|
|
58
|
+
* @memberof ProjectModuleService
|
|
59
|
+
*/
|
|
60
|
+
async getModuleUserProperties(id) {
|
|
61
|
+
return this._projectModuleService.getModuleUserProperties(id);
|
|
62
|
+
}
|
|
63
|
+
async updateModuleUserProperties(id, input) {
|
|
64
|
+
return this._projectModuleService.updateModuleUserProperties(id, input);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @description Update Project Module
|
|
68
|
+
* @param {ID} id Project Module ID to be updated
|
|
69
|
+
* @param {ICreateModuleInput} input Body Request data
|
|
70
|
+
* @returns A promise resolved to updated Module
|
|
71
|
+
* @memberof ProjectModuleController
|
|
72
|
+
*/
|
|
73
|
+
async update(id, projectId, input) {
|
|
74
|
+
return await this._projectModuleService.update(id, projectId, input);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @description Delete project module
|
|
78
|
+
* @param {ID} id - The project module to be deleted
|
|
79
|
+
* @returns A promise resolved to delete result
|
|
80
|
+
* @memberof ProjectModuleController
|
|
81
|
+
*/
|
|
82
|
+
async delete(id) {
|
|
83
|
+
return await this._projectModuleService.delete(id);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
exports.ProjectModuleController = ProjectModuleController;
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.CREATED),
|
|
89
|
+
(0, swagger_1.ApiOperation)({ summary: 'Create Project Module' }),
|
|
90
|
+
(0, common_1.Post)(),
|
|
91
|
+
__param(0, (0, common_1.Body)()),
|
|
92
|
+
__metadata("design:type", Function),
|
|
93
|
+
__metadata("design:paramtypes", [dto_1.CreateModuleDTO]),
|
|
94
|
+
__metadata("design:returntype", Promise)
|
|
95
|
+
], ProjectModuleController.prototype, "createModule", null);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, common_1.Post)(':id/issues'),
|
|
98
|
+
__param(0, (0, common_1.Param)('id')),
|
|
99
|
+
__param(1, (0, common_1.Param)('projectId')),
|
|
100
|
+
__param(2, (0, common_1.Body)()),
|
|
101
|
+
__metadata("design:type", Function),
|
|
102
|
+
__metadata("design:paramtypes", [String, String, dto_1.UpdateModuleDTO]),
|
|
103
|
+
__metadata("design:returntype", Promise)
|
|
104
|
+
], ProjectModuleController.prototype, "addIssuesToModule", null);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
107
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get Project Modules' }),
|
|
108
|
+
(0, common_1.Get)(),
|
|
109
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
110
|
+
__metadata("design:type", Function),
|
|
111
|
+
__metadata("design:paramtypes", [String]),
|
|
112
|
+
__metadata("design:returntype", Promise)
|
|
113
|
+
], ProjectModuleController.prototype, "getWorkspaceProjectModules", null);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
116
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get Project Podules' }),
|
|
117
|
+
(0, common_1.Get)(':id'),
|
|
118
|
+
__param(0, (0, common_1.Param)('id')),
|
|
119
|
+
__param(1, (0, common_1.Param)('projectId')),
|
|
120
|
+
__metadata("design:type", Function),
|
|
121
|
+
__metadata("design:paramtypes", [String, String]),
|
|
122
|
+
__metadata("design:returntype", Promise)
|
|
123
|
+
], ProjectModuleController.prototype, "getWorkspaceProjectModule", null);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
126
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get Project Module User properties' }),
|
|
127
|
+
(0, common_1.Get)(':id/user-properties'),
|
|
128
|
+
__param(0, (0, common_1.Param)('id')),
|
|
129
|
+
__metadata("design:type", Function),
|
|
130
|
+
__metadata("design:paramtypes", [String]),
|
|
131
|
+
__metadata("design:returntype", Promise)
|
|
132
|
+
], ProjectModuleController.prototype, "getModuleUserProperties", null);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
135
|
+
(0, swagger_1.ApiOperation)({ summary: 'Update Module User properties' }),
|
|
136
|
+
(0, common_1.Patch)(':id/user-properties'),
|
|
137
|
+
__param(0, (0, common_1.Param)('id')),
|
|
138
|
+
__param(1, (0, common_1.Body)()),
|
|
139
|
+
__metadata("design:type", Function),
|
|
140
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
141
|
+
__metadata("design:returntype", Promise)
|
|
142
|
+
], ProjectModuleController.prototype, "updateModuleUserProperties", null);
|
|
143
|
+
__decorate([
|
|
144
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
145
|
+
(0, swagger_1.ApiOperation)({ summary: 'Update Project Module' }),
|
|
146
|
+
(0, common_1.Patch)(':id'),
|
|
147
|
+
__param(0, (0, common_1.Param)('id')),
|
|
148
|
+
__param(1, (0, common_1.Param)('projectId')),
|
|
149
|
+
__param(2, (0, common_1.Body)()),
|
|
150
|
+
__metadata("design:type", Function),
|
|
151
|
+
__metadata("design:paramtypes", [String, String, dto_1.UpdateModuleDTO]),
|
|
152
|
+
__metadata("design:returntype", Promise)
|
|
153
|
+
], ProjectModuleController.prototype, "update", null);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
156
|
+
(0, swagger_1.ApiOperation)({ summary: 'Delete Project Module' }),
|
|
157
|
+
(0, common_1.Delete)(':id'),
|
|
158
|
+
__param(0, (0, common_1.Param)('id')),
|
|
159
|
+
__metadata("design:type", Function),
|
|
160
|
+
__metadata("design:paramtypes", [String]),
|
|
161
|
+
__metadata("design:returntype", Promise)
|
|
162
|
+
], ProjectModuleController.prototype, "delete", null);
|
|
163
|
+
exports.ProjectModuleController = ProjectModuleController = __decorate([
|
|
164
|
+
(0, common_1.Controller)(),
|
|
165
|
+
__metadata("design:paramtypes", [project_module_service_1.ProjectModuleService])
|
|
166
|
+
], ProjectModuleController);
|
|
167
|
+
//# sourceMappingURL=project-module.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-module.controller.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/project-module/project-module.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA+C;AAC/C,2CAUwB;AAExB,qEAAgE;AAChE,+BAAyD;AAGlD,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IACnC,YAA6B,qBAA2C;QAA3C,0BAAqB,GAArB,qBAAqB,CAAsB;IAAG,CAAC;IAE5E;;;;;OAKG;IAIG,AAAN,KAAK,CAAC,YAAY,CACT,KAAsB;QAE9B,OAAO,MAAM,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvD,CAAC;IAGK,AAA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AAA,aAAI,GAAE,CAAA;;;;yEAE5D;AAYK;IAHL,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACvB,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;IAClD,IAAA,cAAK,EAAC,KAAK,CAAC;IAEX,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IACX,WAAA,IAAA,cAAK,EAAC,WAAW,CAAC,CAAA;IAClB,WAAA,IAAA,aAAI,GAAE,CAAA;;qDAAQ,qBAAe;;qDAG9B;AAWK;IAHL,IAAA,iBAAQ,EAAC,mBAAU,CAAC,UAAU,CAAC;IAC/B,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;IAClD,IAAA,eAAM,EAAC,KAAK,CAAC;IACA,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;qDAExB;kCAzGW,uBAAuB;IADnC,IAAA,mBAAU,GAAE;qCAEwC,6CAAoB;GAD5D,uBAAuB,CA0GnC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.ProjectModuleModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const project_module_1 = require("../project/project.module");
|
|
12
|
+
const project_module_service_1 = require("./project-module.service");
|
|
13
|
+
const project_module_controller_1 = require("./project-module.controller");
|
|
14
|
+
const employee_properties_module_1 = require("../employee-properties/employee-properties.module");
|
|
15
|
+
let ProjectModuleModule = class ProjectModuleModule {
|
|
16
|
+
};
|
|
17
|
+
exports.ProjectModuleModule = ProjectModuleModule;
|
|
18
|
+
exports.ProjectModuleModule = ProjectModuleModule = __decorate([
|
|
19
|
+
(0, common_1.Module)({
|
|
20
|
+
imports: [(0, common_1.forwardRef)(() => project_module_1.ProjectModule), employee_properties_module_1.EmployeePropertiesModule],
|
|
21
|
+
providers: [project_module_service_1.ProjectModuleService],
|
|
22
|
+
controllers: [project_module_controller_1.ProjectModuleController],
|
|
23
|
+
exports: [project_module_service_1.ProjectModuleService]
|
|
24
|
+
})
|
|
25
|
+
], ProjectModuleModule);
|
|
26
|
+
//# sourceMappingURL=project-module.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-module.module.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/project-module/project-module.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAoD;AACpD,8DAA0D;AAC1D,qEAAgE;AAChE,2EAAsE;AACtE,kGAA6F;AAQtF,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAAG,CAAA;AAAtB,kDAAmB;8BAAnB,mBAAmB;IAN/B,IAAA,eAAM,EAAC;QACP,OAAO,EAAE,CAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC,EAAE,qDAAwB,CAAC;QACpE,SAAS,EAAE,CAAC,6CAAoB,CAAC;QACjC,WAAW,EAAE,CAAC,mDAAuB,CAAC;QACtC,OAAO,EAAE,CAAC,6CAAoB,CAAC;KAC/B,CAAC;GACW,mBAAmB,CAAG"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ICreateModuleInput, ID, IModule, IOrganizationProjectModule, IUpdateUserPropertiesInput, IUserViewProperties } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
import { ApiFetchService } from '../api-fetch/api-fetch.service';
|
|
3
|
+
import { ProjectService } from '../project/project.service';
|
|
4
|
+
import { UserFavoritesService } from '../user-favorites/user-favorites.service';
|
|
5
|
+
import { EmployeePropertiesService } from '../employee-properties/employee-properties.service';
|
|
6
|
+
export declare class ProjectModuleService extends ApiFetchService {
|
|
7
|
+
private readonly _serverFetchService;
|
|
8
|
+
private readonly _userFavoriteService;
|
|
9
|
+
private readonly _projectService;
|
|
10
|
+
private readonly _employeePropertiesService;
|
|
11
|
+
constructor(_serverFetchService: ApiFetchService, _userFavoriteService: UserFavoritesService, _projectService: ProjectService, _employeePropertiesService: EmployeePropertiesService);
|
|
12
|
+
private readonly path;
|
|
13
|
+
getExternalModule(id: ID, projectId?: ID, relations?: string[]): Promise<IOrganizationProjectModule>;
|
|
14
|
+
/**
|
|
15
|
+
* @description - Create module
|
|
16
|
+
* @param {ICreateModuleInput} input - data for creating new module
|
|
17
|
+
* @returns - A promise that resolves after module created
|
|
18
|
+
* @memberof ProjectModuleService
|
|
19
|
+
*/
|
|
20
|
+
create(input: ICreateModuleInput): Promise<IModule | IModule[]>;
|
|
21
|
+
/**
|
|
22
|
+
* @description - Get project modules
|
|
23
|
+
* @param {ID} projectId - The project ID for whom search modules
|
|
24
|
+
* @returns A promise that resolves after getting modules
|
|
25
|
+
* @memberof ProjectModuleService
|
|
26
|
+
*/
|
|
27
|
+
getAllModulesByProject(projectId?: ID): Promise<IModule | IModule[]>;
|
|
28
|
+
/**
|
|
29
|
+
* @description - Get project module
|
|
30
|
+
* @param {ID} id - The module ID to search
|
|
31
|
+
* @param {ID} projectId - The project ID filter condition
|
|
32
|
+
* @returns A promise that resolves after getting module
|
|
33
|
+
* @memberof ProjectModuleService
|
|
34
|
+
*/
|
|
35
|
+
getModule(id: ID, projectId: ID): Promise<IModule | IModule[]>;
|
|
36
|
+
/**
|
|
37
|
+
* @description Update Project Module
|
|
38
|
+
* @param {ID} id Project Module ID to be updated
|
|
39
|
+
* @param {ICreateModuleInput} input Body Request data
|
|
40
|
+
* @returns A promise resolved to updated Module
|
|
41
|
+
* @memberof ProjectModuleService
|
|
42
|
+
*/
|
|
43
|
+
update(id: ID, projectId: ID, input: Partial<ICreateModuleInput>): Promise<IModule | IModule[]>;
|
|
44
|
+
/**
|
|
45
|
+
* @description Delete project module
|
|
46
|
+
* @param {ID} id - The project module to be deleted
|
|
47
|
+
* @returns A promise resolved to delete result
|
|
48
|
+
* @memberof ProjectModuleService
|
|
49
|
+
*/
|
|
50
|
+
delete(id: ID): Promise<any>;
|
|
51
|
+
/**
|
|
52
|
+
* @description Get user modules properties
|
|
53
|
+
* @param {ID} id - Module ID of module for whom get properties
|
|
54
|
+
* @returns A promise resolved to user properties
|
|
55
|
+
* @memberof ProjectModuleService
|
|
56
|
+
*/
|
|
57
|
+
getModuleUserProperties(id: ID): Promise<IUserViewProperties>;
|
|
58
|
+
/**
|
|
59
|
+
* @description Update Module User properties
|
|
60
|
+
* @param {ID} id - Module ID of module for whom update properties
|
|
61
|
+
* @param {IUpdateUserPropertiesInput} input - The updated properties input
|
|
62
|
+
* @returns A promise resolved to updated user properties
|
|
63
|
+
* @memberof ProjectModuleService
|
|
64
|
+
*/
|
|
65
|
+
updateModuleUserProperties(id: ID, input: IUpdateUserPropertiesInput): Promise<IUserViewProperties>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,275 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ProjectModuleService = void 0;
|
|
19
|
+
const common_1 = require("@nestjs/common");
|
|
20
|
+
const qs_1 = __importDefault(require("qs"));
|
|
21
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
22
|
+
const config_1 = require("../../config");
|
|
23
|
+
const api_fetch_service_1 = require("../api-fetch/api-fetch.service");
|
|
24
|
+
const project_service_1 = require("../project/project.service");
|
|
25
|
+
const user_favorites_service_1 = require("../user-favorites/user-favorites.service");
|
|
26
|
+
const employee_properties_service_1 = require("../employee-properties/employee-properties.service");
|
|
27
|
+
let ProjectModuleService = class ProjectModuleService extends api_fetch_service_1.ApiFetchService {
|
|
28
|
+
constructor(_serverFetchService, _userFavoriteService, _projectService, _employeePropertiesService) {
|
|
29
|
+
super(_serverFetchService['_httpService']);
|
|
30
|
+
this._serverFetchService = _serverFetchService;
|
|
31
|
+
this._userFavoriteService = _userFavoriteService;
|
|
32
|
+
this._projectService = _projectService;
|
|
33
|
+
this._employeePropertiesService = _employeePropertiesService;
|
|
34
|
+
this.path = '/organization-project-modules';
|
|
35
|
+
}
|
|
36
|
+
async getExternalModule(id, projectId, relations) {
|
|
37
|
+
// Construct the query string once
|
|
38
|
+
const query = qs_1.default.stringify((0, config_1.getModulesQuery)(projectId, relations));
|
|
39
|
+
return (await this.apiFetch({
|
|
40
|
+
method: 'GET',
|
|
41
|
+
path: `${this.path}/${id}`,
|
|
42
|
+
query
|
|
43
|
+
})).data;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @description - Create module
|
|
47
|
+
* @param {ICreateModuleInput} input - data for creating new module
|
|
48
|
+
* @returns - A promise that resolves after module created
|
|
49
|
+
* @memberof ProjectModuleService
|
|
50
|
+
*/
|
|
51
|
+
async create(input) {
|
|
52
|
+
try {
|
|
53
|
+
// Transform input data for creating a module, assigning the correct manager's userId
|
|
54
|
+
const body = (0, config_1.createModuleInputTransformer)(input, input.lead_id);
|
|
55
|
+
const projectModule = (await this.apiFetch({
|
|
56
|
+
method: 'POST',
|
|
57
|
+
path: this.path,
|
|
58
|
+
body
|
|
59
|
+
})).data;
|
|
60
|
+
// Return the transformed module, including the managerId if lead is found
|
|
61
|
+
return (0, config_1.modulesTransformer)(projectModule, []);
|
|
62
|
+
}
|
|
63
|
+
catch (error) {
|
|
64
|
+
this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
|
|
65
|
+
throw new common_1.BadRequestException(error);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @description - Get project modules
|
|
70
|
+
* @param {ID} projectId - The project ID for whom search modules
|
|
71
|
+
* @returns A promise that resolves after getting modules
|
|
72
|
+
* @memberof ProjectModuleService
|
|
73
|
+
*/
|
|
74
|
+
async getAllModulesByProject(projectId) {
|
|
75
|
+
try {
|
|
76
|
+
// Build the query string once
|
|
77
|
+
const query = qs_1.default.stringify((0, config_1.getModulesQuery)(projectId, ['members.employee']));
|
|
78
|
+
const favoriteIds = await this._userFavoriteService.findEmployeeFavoriteEntityIds(plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProjectModule);
|
|
79
|
+
// Perform the API call to fetch the modules
|
|
80
|
+
const modules = (await this.apiFetch({
|
|
81
|
+
method: 'GET',
|
|
82
|
+
path: `${this.path}`,
|
|
83
|
+
query
|
|
84
|
+
})).data;
|
|
85
|
+
// Return the transformed modules
|
|
86
|
+
return (0, config_1.modulesTransformer)(modules.items, favoriteIds);
|
|
87
|
+
}
|
|
88
|
+
catch (error) {
|
|
89
|
+
this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
|
|
90
|
+
throw new common_1.BadRequestException();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @description - Get project module
|
|
95
|
+
* @param {ID} id - The module ID to search
|
|
96
|
+
* @param {ID} projectId - The project ID filter condition
|
|
97
|
+
* @returns A promise that resolves after getting module
|
|
98
|
+
* @memberof ProjectModuleService
|
|
99
|
+
*/
|
|
100
|
+
async getModule(id, projectId) {
|
|
101
|
+
try {
|
|
102
|
+
const module = await this.getExternalModule(id, projectId, [
|
|
103
|
+
'members.employee'
|
|
104
|
+
]);
|
|
105
|
+
// Favorites
|
|
106
|
+
const favoriteIds = await this._userFavoriteService.findEmployeeFavoriteEntityIds(plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProjectModule);
|
|
107
|
+
// Return the transformed module using `modulesTransformer`
|
|
108
|
+
return (0, config_1.modulesTransformer)(module, favoriteIds);
|
|
109
|
+
}
|
|
110
|
+
catch (error) {
|
|
111
|
+
this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
|
|
112
|
+
throw new common_1.BadRequestException();
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @description Update Project Module
|
|
117
|
+
* @param {ID} id Project Module ID to be updated
|
|
118
|
+
* @param {ICreateModuleInput} input Body Request data
|
|
119
|
+
* @returns A promise resolved to updated Module
|
|
120
|
+
* @memberof ProjectModuleService
|
|
121
|
+
*/
|
|
122
|
+
async update(id, projectId, input) {
|
|
123
|
+
try {
|
|
124
|
+
// Retrieve the project and check its existence
|
|
125
|
+
const project = await this._projectService.getExternalProject(input.project_id || projectId, ['members.employee']);
|
|
126
|
+
if (!project) {
|
|
127
|
+
throw new common_1.BadRequestException('Project could not be found');
|
|
128
|
+
}
|
|
129
|
+
// Retrieve the existing module to ensure it exists
|
|
130
|
+
const existingModule = await this.getExternalModule(id, project.id);
|
|
131
|
+
if (!existingModule) {
|
|
132
|
+
throw new common_1.BadRequestException(`Module with id ${id} could not be found`);
|
|
133
|
+
}
|
|
134
|
+
// Identify the lead (manager) if lead_id is provided in input
|
|
135
|
+
const lead = input.lead_id
|
|
136
|
+
? project.members.find((member) => member.employee.id === input.lead_id)
|
|
137
|
+
: undefined;
|
|
138
|
+
// Transform the update input for API compatibility, using the correct managerId (userId)
|
|
139
|
+
const body = (0, config_1.createModuleInputTransformer)(Object.assign({}, input), lead === null || lead === void 0 ? void 0 : lead.employeeId);
|
|
140
|
+
// Update the module using a PATCH request
|
|
141
|
+
await this.apiFetch({
|
|
142
|
+
method: 'PUT',
|
|
143
|
+
path: `${this.path}/${id}`,
|
|
144
|
+
body: Object.assign(Object.assign({}, existingModule), body)
|
|
145
|
+
});
|
|
146
|
+
const favoriteIds = await this._userFavoriteService.findEmployeeFavoriteEntityIds(plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProjectModule);
|
|
147
|
+
const module = await this.getExternalModule(id);
|
|
148
|
+
// Return the updated module, with managerId set to employeeId instead of userId
|
|
149
|
+
return (0, config_1.modulesTransformer)(module, favoriteIds);
|
|
150
|
+
}
|
|
151
|
+
catch (error) {
|
|
152
|
+
// Log the error and throw a BadRequestException
|
|
153
|
+
this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
|
|
154
|
+
throw new common_1.BadRequestException(error);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @description Delete project module
|
|
159
|
+
* @param {ID} id - The project module to be deleted
|
|
160
|
+
* @returns A promise resolved to delete result
|
|
161
|
+
* @memberof ProjectModuleService
|
|
162
|
+
*/
|
|
163
|
+
async delete(id) {
|
|
164
|
+
return (await this.apiFetch({
|
|
165
|
+
method: 'DELETE',
|
|
166
|
+
path: `${this.path}/${id}/soft`
|
|
167
|
+
})).data;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* @description Get user modules properties
|
|
171
|
+
* @param {ID} id - Module ID of module for whom get properties
|
|
172
|
+
* @returns A promise resolved to user properties
|
|
173
|
+
* @memberof ProjectModuleService
|
|
174
|
+
*/
|
|
175
|
+
async getModuleUserProperties(id) {
|
|
176
|
+
var _a;
|
|
177
|
+
try {
|
|
178
|
+
const memberSetting = await this._employeePropertiesService.findOneByOptions({
|
|
179
|
+
employeeId: (0, config_1.currentEmployeeId)(),
|
|
180
|
+
entity: plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProjectModule,
|
|
181
|
+
entityId: id,
|
|
182
|
+
settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS
|
|
183
|
+
});
|
|
184
|
+
if (!memberSetting) {
|
|
185
|
+
throw new common_1.BadRequestException('User view properties not found');
|
|
186
|
+
}
|
|
187
|
+
return (0, config_1.employeeSettingSerializer)(memberSetting);
|
|
188
|
+
}
|
|
189
|
+
catch (error) {
|
|
190
|
+
try {
|
|
191
|
+
// Create new settings with default properties if none exist
|
|
192
|
+
const moduleMemberSetting = await this._employeePropertiesService.create({
|
|
193
|
+
entity: plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProjectModule,
|
|
194
|
+
entityId: id,
|
|
195
|
+
settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS,
|
|
196
|
+
data: config_1.MEMBER_DEFAULT_VIEW_PROPS,
|
|
197
|
+
defaultData: config_1.MEMBER_DEFAULT_VIEW_PROPS,
|
|
198
|
+
employee: { id: (_a = (0, config_1.currentEmployeeId)()) !== null && _a !== void 0 ? _a : undefined },
|
|
199
|
+
employeeId: (0, config_1.currentEmployeeId)()
|
|
200
|
+
});
|
|
201
|
+
return (0, config_1.employeeSettingSerializer)(moduleMemberSetting);
|
|
202
|
+
}
|
|
203
|
+
catch (error) {
|
|
204
|
+
this.logger.error('Operation failed', error instanceof Error ? error.stack : String(error));
|
|
205
|
+
throw new common_1.BadRequestException('Failed to find or create new view properties');
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* @description Update Module User properties
|
|
211
|
+
* @param {ID} id - Module ID of module for whom update properties
|
|
212
|
+
* @param {IUpdateUserPropertiesInput} input - The updated properties input
|
|
213
|
+
* @returns A promise resolved to updated user properties
|
|
214
|
+
* @memberof ProjectModuleService
|
|
215
|
+
*/
|
|
216
|
+
async updateModuleUserProperties(id, input) {
|
|
217
|
+
var _a, _b, _c;
|
|
218
|
+
try {
|
|
219
|
+
// Destructure input properties for clarity
|
|
220
|
+
const { display_filters, display_properties, filters, rich_filters } = input;
|
|
221
|
+
// Find existing employee settings for the given project module
|
|
222
|
+
let memberSetting = await this._employeePropertiesService.findOneByOptions({
|
|
223
|
+
employeeId: (0, config_1.currentEmployeeId)(),
|
|
224
|
+
entity: plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProjectModule,
|
|
225
|
+
entityId: id,
|
|
226
|
+
settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS
|
|
227
|
+
});
|
|
228
|
+
if (memberSetting) {
|
|
229
|
+
// Update the existing settings with new data or fallback to existing data
|
|
230
|
+
const data = memberSetting.data;
|
|
231
|
+
memberSetting = await this._employeePropertiesService.update(memberSetting.id, Object.assign(Object.assign({}, memberSetting), { data: {
|
|
232
|
+
filters: filters ? filters : data.filters,
|
|
233
|
+
rich_filters: rich_filters
|
|
234
|
+
? rich_filters
|
|
235
|
+
: data.rich_filters,
|
|
236
|
+
display_filters: display_filters
|
|
237
|
+
? display_filters
|
|
238
|
+
: data.display_filters,
|
|
239
|
+
display_properties: display_properties
|
|
240
|
+
? display_properties
|
|
241
|
+
: data.display_properties
|
|
242
|
+
} }));
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
// Create new settings with default properties if none exist
|
|
246
|
+
memberSetting = await this._employeePropertiesService.create({
|
|
247
|
+
entity: plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProjectModule,
|
|
248
|
+
entityId: id,
|
|
249
|
+
settingType: plugin_integration_plane_models_1.EmployeeSettingTypeEnum.TASK_VIEWS,
|
|
250
|
+
data: config_1.MEMBER_DEFAULT_VIEW_PROPS,
|
|
251
|
+
defaultData: config_1.MEMBER_DEFAULT_VIEW_PROPS,
|
|
252
|
+
employee: { id: (_a = (0, config_1.currentEmployeeId)()) !== null && _a !== void 0 ? _a : undefined },
|
|
253
|
+
employeeId: (0, config_1.currentEmployeeId)()
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
// Serialize and return the updated/created employee setting.
|
|
257
|
+
return (0, config_1.employeeSettingSerializer)(memberSetting);
|
|
258
|
+
}
|
|
259
|
+
catch (error) {
|
|
260
|
+
this.logger.error(`Operation failed: ${((_c = (_b = error === null || error === void 0 ? void 0 : error.response) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.message) || error.message}`, error.stack);
|
|
261
|
+
throw new common_1.BadRequestException(error);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
exports.ProjectModuleService = ProjectModuleService;
|
|
266
|
+
exports.ProjectModuleService = ProjectModuleService = __decorate([
|
|
267
|
+
(0, common_1.Injectable)(),
|
|
268
|
+
__param(1, (0, common_1.Inject)((0, common_1.forwardRef)(() => user_favorites_service_1.UserFavoritesService))),
|
|
269
|
+
__param(2, (0, common_1.Inject)((0, common_1.forwardRef)(() => project_service_1.ProjectService))),
|
|
270
|
+
__metadata("design:paramtypes", [api_fetch_service_1.ApiFetchService,
|
|
271
|
+
user_favorites_service_1.UserFavoritesService,
|
|
272
|
+
project_service_1.ProjectService,
|
|
273
|
+
employee_properties_service_1.EmployeePropertiesService])
|
|
274
|
+
], ProjectModuleService);
|
|
275
|
+
//# sourceMappingURL=project-module.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-module.service.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/project-module/project-module.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAKwB;AACxB,4CAAoB;AACpB,iGAUqD;AACrD,yCAOsB;AACtB,sEAAiE;AACjE,gEAA4D;AAC5D,qFAAgF;AAChF,oGAA+F;AAGxF,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,mCAAe;IACxD,YACkB,mBAAoC,EAGrD,oBAA2D,EAG3D,eAAgD,EAE/B,0BAAqD;QAEtE,KAAK,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAC;QAV1B,wBAAmB,GAAnB,mBAAmB,CAAiB;QAGpC,yBAAoB,GAApB,oBAAoB,CAAsB;QAG1C,oBAAe,GAAf,eAAe,CAAgB;QAE/B,+BAA0B,GAA1B,0BAA0B,CAA2B;QAKtD,SAAI,GAAG,+BAA+B,CAAC;IAFxD,CAAC;IAID,KAAK,CAAC,iBAAiB,CACtB,EAAM,EACN,SAAc,EACd,SAAoB;QAEpB,kCAAkC;QAClC,MAAM,KAAK,GAAG,YAAE,CAAC,SAAS,CAAC,IAAA,wBAAe,EAAC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC;QAElE,OAAO,CACN,MAAM,IAAI,CAAC,QAAQ,CAAC;YACnB,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,EAAE;YAC1B,KAAK;SACL,CAAC,CACF,CAAC,IAAI,CAAC;IACR,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CAAC,KAAyB;QACrC,IAAI,CAAC;YACJ,qFAAqF;YACrF,MAAM,IAAI,GAAG,IAAA,qCAA4B,EAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;YAEhE,MAAM,aAAa,GAA+B,CACjD,MAAM,IAAI,CAAC,QAAQ,CAAC;gBACnB,MAAM,EAAE,MAAM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
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.ReactionsModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const reactions_service_1 = require("./reactions.service");
|
|
12
|
+
let ReactionsModule = class ReactionsModule {
|
|
13
|
+
};
|
|
14
|
+
exports.ReactionsModule = ReactionsModule;
|
|
15
|
+
exports.ReactionsModule = ReactionsModule = __decorate([
|
|
16
|
+
(0, common_1.Module)({
|
|
17
|
+
providers: [reactions_service_1.ReactionsService],
|
|
18
|
+
exports: [reactions_service_1.ReactionsService]
|
|
19
|
+
})
|
|
20
|
+
], ReactionsModule);
|
|
21
|
+
//# sourceMappingURL=reactions.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactions.module.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/reactions/reactions.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,2DAAuD;AAMhD,IAAM,eAAe,GAArB,MAAM,eAAe;CAAG,CAAA;AAAlB,0CAAe;0BAAf,eAAe;IAJ3B,IAAA,eAAM,EAAC;QACP,SAAS,EAAE,CAAC,oCAAgB,CAAC;QAC7B,OAAO,EAAE,CAAC,oCAAgB,CAAC;KAC3B,CAAC;GACW,eAAe,CAAG"}
|