@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,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parentActivityTransformer = parentActivityTransformer;
|
|
4
|
+
/**
|
|
5
|
+
* Transforms the activity log for parent task updates.
|
|
6
|
+
*
|
|
7
|
+
* @param {IActivityLog} activityLog - The activity log object containing the details of the update.
|
|
8
|
+
* @returns An object containing the updated and previous parent IDs,
|
|
9
|
+
* or undefined if the parent ID was not updated.
|
|
10
|
+
*/
|
|
11
|
+
function parentActivityTransformer(activityLog, parentTasks) {
|
|
12
|
+
const { updatedFields, updatedValues, previousValues } = activityLog;
|
|
13
|
+
// Check if 'parentId' is included in the updated fields.
|
|
14
|
+
if (!updatedFields.includes('parentId')) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
// Find the updated parent from the updated values.
|
|
18
|
+
const updatedParent = updatedValues.find((value) => 'parentId' in value);
|
|
19
|
+
const updatedEntity = updatedParent
|
|
20
|
+
? updatedParent['parentId']
|
|
21
|
+
: undefined;
|
|
22
|
+
// Find the previous parent from the previous values.
|
|
23
|
+
const previousParent = previousValues.find((value) => 'parentId' in value);
|
|
24
|
+
const previousEntity = previousParent
|
|
25
|
+
? previousParent['parentId']
|
|
26
|
+
: undefined;
|
|
27
|
+
const formatParentName = (id) => {
|
|
28
|
+
if (!id || !parentTasks)
|
|
29
|
+
return undefined;
|
|
30
|
+
const task = parentTasks.get(id);
|
|
31
|
+
if (!task)
|
|
32
|
+
return undefined;
|
|
33
|
+
const codeOrName = task.project.code || task.project.name.slice(0, 4).toUpperCase();
|
|
34
|
+
return `${codeOrName}-${task.number}`;
|
|
35
|
+
};
|
|
36
|
+
// Get the parent names if available
|
|
37
|
+
const updatedParentName = formatParentName(updatedEntity);
|
|
38
|
+
const previousParentName = formatParentName(previousEntity);
|
|
39
|
+
// Return an object containing the updated and previous parent IDs.
|
|
40
|
+
return {
|
|
41
|
+
updatedEntity,
|
|
42
|
+
previousEntity,
|
|
43
|
+
updatedParentName,
|
|
44
|
+
previousParentName
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=parent-activities.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parent-activities.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/activity/parent-activities.serializer.ts"],"names":[],"mappings":";;AASA,8DA8CC;AArDD;;;;;;GAMG;AACH,SAAgB,yBAAyB,CACxC,WAAyB,EACzB,WAA8B;IAE9B,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,GAAG,WAAW,CAAC;IAErE,yDAAyD;IACzD,IAAI,CAAC,aAAc,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;QAC1C,OAAO;IACR,CAAC;IAED,mDAAmD;IACnD,MAAM,aAAa,GAAQ,aAAc,CAAC,IAAI,CAC7C,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,IAAI,KAAK,CAC9B,CAAC;IACF,MAAM,aAAa,GAAQ,aAAa;QACvC,CAAC,CAAC,aAAa,CAAC,UAAU,CAAC;QAC3B,CAAC,CAAC,SAAS,CAAC;IAEb,qDAAqD;IACrD,MAAM,cAAc,GAAG,cAAe,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,IAAI,KAAK,CAAC,CAAC;IAC5E,MAAM,cAAc,GAAQ,cAAc;QACzC,CAAC,CAAC,cAAc,CAAC,UAAU,CAAC;QAC5B,CAAC,CAAC,SAAS,CAAC;IAEb,MAAM,gBAAgB,GAAG,CAAC,EAAW,EAAsB,EAAE;QAC5D,IAAI,CAAC,EAAE,IAAI,CAAC,WAAW;YAAE,OAAO,SAAS,CAAC;QAC1C,MAAM,IAAI,GAAG,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACjC,IAAI,CAAC,IAAI;YAAE,OAAO,SAAS,CAAC;QAE5B,MAAM,UAAU,GACf,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QAClE,OAAO,GAAG,UAAU,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;IACvC,CAAC,CAAC;IAEF,oCAAoC;IACpC,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAC1D,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAE5D,mEAAmE;IACnE,OAAO;QACN,aAAa;QACb,cAAc;QACd,iBAAiB;QACjB,kBAAkB;KAClB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IActivityLog } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Transforms the activity log for task status updates.
|
|
4
|
+
*
|
|
5
|
+
* @param {IActivityLog} activityLog - The activity log object containing the details of the update.
|
|
6
|
+
* @returns An object containing the updated and previous task status IDs,
|
|
7
|
+
* or undefined if the task status ID was not updated.
|
|
8
|
+
*/
|
|
9
|
+
export declare function statusActivityTransformer(activityLog: IActivityLog): {
|
|
10
|
+
updatedEntity: Record<string, any> | undefined;
|
|
11
|
+
previousEntity: Record<string, any> | undefined;
|
|
12
|
+
} | undefined;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.statusActivityTransformer = statusActivityTransformer;
|
|
4
|
+
/**
|
|
5
|
+
* Transforms the activity log for task status updates.
|
|
6
|
+
*
|
|
7
|
+
* @param {IActivityLog} activityLog - The activity log object containing the details of the update.
|
|
8
|
+
* @returns An object containing the updated and previous task status IDs,
|
|
9
|
+
* or undefined if the task status ID was not updated.
|
|
10
|
+
*/
|
|
11
|
+
function statusActivityTransformer(activityLog) {
|
|
12
|
+
const { updatedFields, updatedValues, previousValues } = activityLog;
|
|
13
|
+
// Check if 'taskStatusId' is included in the updated fields.
|
|
14
|
+
if (!updatedFields.includes('taskStatusId')) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
// Find the updated status from the updated values.
|
|
18
|
+
const updatedStatus = updatedValues.find((value) => 'taskStatusId' in value);
|
|
19
|
+
const updatedEntity = updatedStatus
|
|
20
|
+
? updatedStatus['taskStatusId']
|
|
21
|
+
: undefined;
|
|
22
|
+
// Find the previous status from the previous values.
|
|
23
|
+
const previousStatus = previousValues.find((value) => 'taskStatusId' in value);
|
|
24
|
+
const previousEntity = previousStatus
|
|
25
|
+
? previousStatus['taskStatusId']
|
|
26
|
+
: undefined;
|
|
27
|
+
// Return an object containing the updated and previous task status IDs.
|
|
28
|
+
return { updatedEntity, previousEntity };
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=status-activities.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-activities.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/activity/status-activities.serializer.ts"],"names":[],"mappings":";;AASA,8DA0BC;AAjCD;;;;;;GAMG;AACH,SAAgB,yBAAyB,CAAC,WAAyB;IAClE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,GAAG,WAAW,CAAC;IAErE,6DAA6D;IAC7D,IAAI,CAAC,aAAc,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC;QAC9C,OAAO;IACR,CAAC;IAED,mDAAmD;IACnD,MAAM,aAAa,GAAG,aAAc,CAAC,IAAI,CACxC,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,IAAI,KAAK,CAClC,CAAC;IACF,MAAM,aAAa,GAAG,aAAa;QAClC,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC;QAC/B,CAAC,CAAC,SAAS,CAAC;IAEb,qDAAqD;IACrD,MAAM,cAAc,GAAG,cAAe,CAAC,IAAI,CAC1C,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,IAAI,KAAK,CAClC,CAAC;IACF,MAAM,cAAc,GAAG,cAAc;QACpC,CAAC,CAAC,cAAc,CAAC,cAAc,CAAC;QAChC,CAAC,CAAC,SAAS,CAAC;IAEb,wEAAwE;IACxE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC;AAC1C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChartXAxisProperty, IAdvanceAnalyticsChartResponse, IAdvanceAnalyticsResponse, ITask, IWorkItemInsightRow } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Transform tasks into advance analytics response (counts by state group)
|
|
4
|
+
*/
|
|
5
|
+
export declare function transformToAdvanceAnalytics(tasks: ITask[]): IAdvanceAnalyticsResponse;
|
|
6
|
+
/**
|
|
7
|
+
* Transform tasks grouped by assignee into work item stats rows
|
|
8
|
+
*/
|
|
9
|
+
export declare function transformToWorkItemStats(tasks: ITask[]): IWorkItemInsightRow[];
|
|
10
|
+
/**
|
|
11
|
+
* Build chart data from tasks based on x_axis and optional group_by
|
|
12
|
+
*/
|
|
13
|
+
export declare function buildChartData(tasks: ITask[], xAxis: ChartXAxisProperty, groupBy?: ChartXAxisProperty): IAdvanceAnalyticsChartResponse;
|
|
14
|
+
/**
|
|
15
|
+
* Build work item completion chart (created vs completed over time)
|
|
16
|
+
*/
|
|
17
|
+
export declare function buildWorkItemCompletionChart(tasks: ITask[], startDate: Date, endDate: Date, granularity?: 'day' | 'month'): IAdvanceAnalyticsChartResponse;
|
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.transformToAdvanceAnalytics = transformToAdvanceAnalytics;
|
|
4
|
+
exports.transformToWorkItemStats = transformToWorkItemStats;
|
|
5
|
+
exports.buildChartData = buildChartData;
|
|
6
|
+
exports.buildWorkItemCompletionChart = buildWorkItemCompletionChart;
|
|
7
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
8
|
+
const shared_utils_1 = require("../../utils/shared.utils");
|
|
9
|
+
/**
|
|
10
|
+
* Status mapping from Gauzy task status to Plane state groups
|
|
11
|
+
*/
|
|
12
|
+
const statusGroupMap = {
|
|
13
|
+
[plugin_integration_plane_models_1.TaskStatusEnum.DONE.toLowerCase()]: 'completed',
|
|
14
|
+
[plugin_integration_plane_models_1.TaskStatusEnum.COMPLETED.toLowerCase()]: 'completed',
|
|
15
|
+
[(0, shared_utils_1.sluggify)(plugin_integration_plane_models_1.TaskStatusEnum.IN_PROGRESS)]: 'started',
|
|
16
|
+
[(0, shared_utils_1.sluggify)(plugin_integration_plane_models_1.TaskStatusEnum.READY_FOR_REVIEW)]: 'started',
|
|
17
|
+
[(0, shared_utils_1.sluggify)(plugin_integration_plane_models_1.TaskStatusEnum.IN_REVIEW)]: 'started',
|
|
18
|
+
[(0, shared_utils_1.sluggify)(plugin_integration_plane_models_1.TaskStatusEnum.BLOCKED)]: 'started',
|
|
19
|
+
[plugin_integration_plane_models_1.TaskStatusEnum.OPEN.toLowerCase()]: 'unstarted',
|
|
20
|
+
[plugin_integration_plane_models_1.TaskStatusEnum.BACKLOG.toLowerCase()]: 'backlog',
|
|
21
|
+
cancelled: 'cancelled'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Get the state group for a given task
|
|
25
|
+
*/
|
|
26
|
+
function getStateGroup(task) {
|
|
27
|
+
var _a, _b, _c;
|
|
28
|
+
// Check taskStatus properties first (more reliable)
|
|
29
|
+
if ((_a = task.taskStatus) === null || _a === void 0 ? void 0 : _a.isDone)
|
|
30
|
+
return 'completed';
|
|
31
|
+
if ((_b = task.taskStatus) === null || _b === void 0 ? void 0 : _b.isInProgress)
|
|
32
|
+
return 'started';
|
|
33
|
+
if ((_c = task.taskStatus) === null || _c === void 0 ? void 0 : _c.isTodo)
|
|
34
|
+
return 'unstarted';
|
|
35
|
+
// Fallback to status string mapping
|
|
36
|
+
const status = task.status ? (0, shared_utils_1.sluggify)(task.status) : '';
|
|
37
|
+
return statusGroupMap[status] || 'unstarted';
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Transform tasks into advance analytics response (counts by state group)
|
|
41
|
+
*/
|
|
42
|
+
function transformToAdvanceAnalytics(tasks) {
|
|
43
|
+
const counts = {
|
|
44
|
+
total: 0,
|
|
45
|
+
started: 0,
|
|
46
|
+
backlog: 0,
|
|
47
|
+
unstarted: 0,
|
|
48
|
+
completed: 0
|
|
49
|
+
};
|
|
50
|
+
tasks.forEach((task) => {
|
|
51
|
+
counts.total++;
|
|
52
|
+
const group = getStateGroup(task);
|
|
53
|
+
switch (group) {
|
|
54
|
+
case 'completed':
|
|
55
|
+
counts.completed++;
|
|
56
|
+
break;
|
|
57
|
+
case 'started':
|
|
58
|
+
counts.started++;
|
|
59
|
+
break;
|
|
60
|
+
case 'backlog':
|
|
61
|
+
counts.backlog++;
|
|
62
|
+
break;
|
|
63
|
+
case 'unstarted':
|
|
64
|
+
default:
|
|
65
|
+
counts.unstarted++;
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
return {
|
|
70
|
+
total_work_items: { count: counts.total },
|
|
71
|
+
started_work_items: { count: counts.started },
|
|
72
|
+
backlog_work_items: { count: counts.backlog },
|
|
73
|
+
un_started_work_items: { count: counts.unstarted },
|
|
74
|
+
completed_work_items: { count: counts.completed }
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Transform tasks grouped by assignee into work item stats rows
|
|
79
|
+
*/
|
|
80
|
+
function transformToWorkItemStats(tasks) {
|
|
81
|
+
// Group tasks by assignee
|
|
82
|
+
const assigneeMap = new Map();
|
|
83
|
+
tasks.forEach((task) => {
|
|
84
|
+
var _a;
|
|
85
|
+
if (!task.members || task.members.length === 0) {
|
|
86
|
+
// Unassigned tasks
|
|
87
|
+
const key = 'unassigned';
|
|
88
|
+
if (!assigneeMap.has(key)) {
|
|
89
|
+
assigneeMap.set(key, {
|
|
90
|
+
tasks: [],
|
|
91
|
+
displayName: 'Unassigned',
|
|
92
|
+
avatarUrl: ''
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
(_a = assigneeMap.get(key)) === null || _a === void 0 ? void 0 : _a.tasks.push(task);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
// Tasks with assignees - count for each assignee
|
|
99
|
+
task.members.forEach((member) => {
|
|
100
|
+
var _a;
|
|
101
|
+
const key = member.id || 'unassigned';
|
|
102
|
+
if (!assigneeMap.has(key)) {
|
|
103
|
+
assigneeMap.set(key, {
|
|
104
|
+
tasks: [],
|
|
105
|
+
displayName: member.fullName ||
|
|
106
|
+
member.displayName ||
|
|
107
|
+
'Unknown',
|
|
108
|
+
avatarUrl: member.avatar || ''
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
(_a = assigneeMap.get(key)) === null || _a === void 0 ? void 0 : _a.tasks.push(task);
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
// Transform to IWorkItemInsightRow[]
|
|
116
|
+
const result = [];
|
|
117
|
+
assigneeMap.forEach((data, assigneeId) => {
|
|
118
|
+
const counts = {
|
|
119
|
+
cancelled: 0,
|
|
120
|
+
completed: 0,
|
|
121
|
+
backlog: 0,
|
|
122
|
+
unstarted: 0,
|
|
123
|
+
started: 0
|
|
124
|
+
};
|
|
125
|
+
data.tasks.forEach((task) => {
|
|
126
|
+
const group = getStateGroup(task);
|
|
127
|
+
switch (group) {
|
|
128
|
+
case 'completed':
|
|
129
|
+
counts.completed++;
|
|
130
|
+
break;
|
|
131
|
+
case 'started':
|
|
132
|
+
counts.started++;
|
|
133
|
+
break;
|
|
134
|
+
case 'backlog':
|
|
135
|
+
counts.backlog++;
|
|
136
|
+
break;
|
|
137
|
+
case 'cancelled':
|
|
138
|
+
counts.cancelled++;
|
|
139
|
+
break;
|
|
140
|
+
case 'unstarted':
|
|
141
|
+
default:
|
|
142
|
+
counts.unstarted++;
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
result.push({
|
|
147
|
+
display_name: data.displayName,
|
|
148
|
+
assignee_id: assigneeId === 'unassigned' ? undefined : assigneeId,
|
|
149
|
+
avatar_url: data.avatarUrl || undefined,
|
|
150
|
+
cancelled_work_items: counts.cancelled,
|
|
151
|
+
completed_work_items: counts.completed,
|
|
152
|
+
backlog_work_items: counts.backlog,
|
|
153
|
+
un_started_work_items: counts.unstarted,
|
|
154
|
+
started_work_items: counts.started
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
return result.sort((a, b) => (a.display_name || '').localeCompare(b.display_name || ''));
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Get a task's value for a given x-axis property
|
|
161
|
+
*/
|
|
162
|
+
function getTaskXAxisValue(task, xAxis) {
|
|
163
|
+
var _a, _b, _c;
|
|
164
|
+
// Handle STATE_GROUPS first - uses computed state group, not a direct field
|
|
165
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.STATE_GROUPS) {
|
|
166
|
+
const group = getStateGroup(task);
|
|
167
|
+
return [{ key: group, name: group }];
|
|
168
|
+
}
|
|
169
|
+
// Handle ASSIGNEES - need proper format with employee ID as key
|
|
170
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.ASSIGNEES) {
|
|
171
|
+
const members = task.members;
|
|
172
|
+
if (!members || members.length === 0) {
|
|
173
|
+
return [{ key: 'None', name: 'None' }];
|
|
174
|
+
}
|
|
175
|
+
return members.map((member) => {
|
|
176
|
+
var _a, _b, _c, _d;
|
|
177
|
+
// Try to get display name from various sources
|
|
178
|
+
let displayName = 'None';
|
|
179
|
+
// 1. Check employee.fullName
|
|
180
|
+
if (member.fullName) {
|
|
181
|
+
displayName = member.fullName;
|
|
182
|
+
}
|
|
183
|
+
// 2. Check employee.user.firstName + lastName
|
|
184
|
+
else if (((_a = member.user) === null || _a === void 0 ? void 0 : _a.firstName) || ((_b = member.user) === null || _b === void 0 ? void 0 : _b.lastName)) {
|
|
185
|
+
displayName = [member.user.firstName, member.user.lastName]
|
|
186
|
+
.filter(Boolean)
|
|
187
|
+
.join(' ');
|
|
188
|
+
}
|
|
189
|
+
// 3. Check employee.user.fullName
|
|
190
|
+
else if ((_c = member.user) === null || _c === void 0 ? void 0 : _c.fullName) {
|
|
191
|
+
displayName = member.user.fullName;
|
|
192
|
+
}
|
|
193
|
+
// 4. Check employee.user.email
|
|
194
|
+
else if ((_d = member.user) === null || _d === void 0 ? void 0 : _d.email) {
|
|
195
|
+
displayName = member.user.email;
|
|
196
|
+
}
|
|
197
|
+
return {
|
|
198
|
+
key: member.id || 'None',
|
|
199
|
+
name: displayName
|
|
200
|
+
};
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
// Handle STATES - use taskStatus
|
|
204
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.STATES) {
|
|
205
|
+
const statusId = task.taskStatusId || ((_a = task.taskStatus) === null || _a === void 0 ? void 0 : _a.id);
|
|
206
|
+
const statusName = ((_b = task.taskStatus) === null || _b === void 0 ? void 0 : _b.name) || task.status || 'None';
|
|
207
|
+
if (!statusId) {
|
|
208
|
+
return [{ key: 'None', name: 'None' }];
|
|
209
|
+
}
|
|
210
|
+
return [{ key: statusId, name: statusName }];
|
|
211
|
+
}
|
|
212
|
+
// Handle LABELS
|
|
213
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.LABELS) {
|
|
214
|
+
const tags = task.tags;
|
|
215
|
+
if (!tags || tags.length === 0) {
|
|
216
|
+
return [{ key: 'None', name: 'None' }];
|
|
217
|
+
}
|
|
218
|
+
return tags.map((tag) => ({
|
|
219
|
+
key: tag.id || 'None',
|
|
220
|
+
name: tag.name || 'None'
|
|
221
|
+
}));
|
|
222
|
+
}
|
|
223
|
+
// Handle MODULES
|
|
224
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.MODULES) {
|
|
225
|
+
const modules = task.modules;
|
|
226
|
+
if (!modules || modules.length === 0) {
|
|
227
|
+
return [{ key: 'None', name: 'None' }];
|
|
228
|
+
}
|
|
229
|
+
return modules.map((mod) => ({
|
|
230
|
+
key: mod.id || 'None',
|
|
231
|
+
name: mod.name || 'None'
|
|
232
|
+
}));
|
|
233
|
+
}
|
|
234
|
+
// Handle CYCLES
|
|
235
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.CYCLES) {
|
|
236
|
+
const sprintId = task.organizationSprintId;
|
|
237
|
+
const sprintName = (_c = task.organizationSprint) === null || _c === void 0 ? void 0 : _c.name;
|
|
238
|
+
if (!sprintId) {
|
|
239
|
+
return [{ key: 'None', name: 'None' }];
|
|
240
|
+
}
|
|
241
|
+
return [{ key: sprintId, name: sprintName || sprintId }];
|
|
242
|
+
}
|
|
243
|
+
// Handle PRIORITY
|
|
244
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.PRIORITY) {
|
|
245
|
+
const priority = task.priority || 'none';
|
|
246
|
+
return [{ key: priority, name: priority }];
|
|
247
|
+
}
|
|
248
|
+
// Handle dates
|
|
249
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.CREATED_AT) {
|
|
250
|
+
if (!task.createdAt)
|
|
251
|
+
return [{ key: 'None', name: 'None' }];
|
|
252
|
+
const dateStr = new Date(task.createdAt).toISOString().split('T')[0];
|
|
253
|
+
return [{ key: dateStr, name: dateStr }];
|
|
254
|
+
}
|
|
255
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.COMPLETED_AT) {
|
|
256
|
+
if (!task.resolvedAt)
|
|
257
|
+
return [{ key: 'None', name: 'None' }];
|
|
258
|
+
const dateStr = new Date(task.resolvedAt).toISOString().split('T')[0];
|
|
259
|
+
return [{ key: dateStr, name: dateStr }];
|
|
260
|
+
}
|
|
261
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.START_DATE) {
|
|
262
|
+
if (!task.startDate)
|
|
263
|
+
return [{ key: 'None', name: 'None' }];
|
|
264
|
+
const dateStr = new Date(task.startDate).toISOString().split('T')[0];
|
|
265
|
+
return [{ key: dateStr, name: dateStr }];
|
|
266
|
+
}
|
|
267
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.TARGET_DATE) {
|
|
268
|
+
if (!task.dueDate)
|
|
269
|
+
return [{ key: 'None', name: 'None' }];
|
|
270
|
+
const dateStr = new Date(task.dueDate).toISOString().split('T')[0];
|
|
271
|
+
return [{ key: dateStr, name: dateStr }];
|
|
272
|
+
}
|
|
273
|
+
// Handle CREATED_BY
|
|
274
|
+
if (xAxis === plugin_integration_plane_models_1.ChartXAxisProperty.CREATED_BY) {
|
|
275
|
+
const creatorId = task.createdByUserId;
|
|
276
|
+
if (!creatorId)
|
|
277
|
+
return [{ key: 'None', name: 'None' }];
|
|
278
|
+
// We don't have creator name in task, use ID
|
|
279
|
+
return [{ key: creatorId, name: creatorId }];
|
|
280
|
+
}
|
|
281
|
+
// Default fallback for unknown x_axis
|
|
282
|
+
return [{ key: 'None', name: 'None' }];
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Build chart data from tasks based on x_axis and optional group_by
|
|
286
|
+
*/
|
|
287
|
+
function buildChartData(tasks, xAxis, groupBy) {
|
|
288
|
+
const dataMap = new Map();
|
|
289
|
+
const schemaSet = new Map();
|
|
290
|
+
tasks.forEach((task) => {
|
|
291
|
+
const xValues = getTaskXAxisValue(task, xAxis);
|
|
292
|
+
xValues.forEach(({ key, name }) => {
|
|
293
|
+
if (!dataMap.has(key)) {
|
|
294
|
+
dataMap.set(key, { name, count: 0, groups: new Map() });
|
|
295
|
+
}
|
|
296
|
+
const entry = dataMap.get(key);
|
|
297
|
+
entry.count++;
|
|
298
|
+
// Handle group_by if specified
|
|
299
|
+
if (groupBy) {
|
|
300
|
+
const groupValues = getTaskXAxisValue(task, groupBy);
|
|
301
|
+
groupValues.forEach((gv) => {
|
|
302
|
+
const groupCount = entry.groups.get(gv.key) || 0;
|
|
303
|
+
entry.groups.set(gv.key, groupCount + 1);
|
|
304
|
+
schemaSet.set(gv.key, gv.name);
|
|
305
|
+
});
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
// Convert to array of chart data items
|
|
310
|
+
const data = [];
|
|
311
|
+
dataMap.forEach((entry, key) => {
|
|
312
|
+
const item = {
|
|
313
|
+
key,
|
|
314
|
+
name: entry.name,
|
|
315
|
+
count: entry.count
|
|
316
|
+
};
|
|
317
|
+
// Add group counts
|
|
318
|
+
entry.groups.forEach((count, groupKey) => {
|
|
319
|
+
item[groupKey] = count;
|
|
320
|
+
});
|
|
321
|
+
data.push(item);
|
|
322
|
+
});
|
|
323
|
+
// Sort by count descending
|
|
324
|
+
data.sort((a, b) => b.count - a.count);
|
|
325
|
+
// Build schema
|
|
326
|
+
const schema = {};
|
|
327
|
+
schemaSet.forEach((name, key) => {
|
|
328
|
+
schema[key] = name;
|
|
329
|
+
});
|
|
330
|
+
return { data, schema };
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Build work item completion chart (created vs completed over time)
|
|
334
|
+
*/
|
|
335
|
+
function buildWorkItemCompletionChart(tasks, startDate, endDate, granularity = 'month') {
|
|
336
|
+
const dataMap = new Map();
|
|
337
|
+
// Initialize date range
|
|
338
|
+
const current = new Date(startDate);
|
|
339
|
+
while (current <= endDate) {
|
|
340
|
+
const key = formatDateKey(current, granularity);
|
|
341
|
+
dataMap.set(key, { createdCount: 0, completedCount: 0 });
|
|
342
|
+
if (granularity === 'day') {
|
|
343
|
+
current.setDate(current.getDate() + 1);
|
|
344
|
+
}
|
|
345
|
+
else {
|
|
346
|
+
current.setMonth(current.getMonth() + 1);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
// Count tasks by creation and completion date
|
|
350
|
+
tasks.forEach((task) => {
|
|
351
|
+
if (task.createdAt) {
|
|
352
|
+
const key = formatDateKey(new Date(task.createdAt), granularity);
|
|
353
|
+
if (dataMap.has(key)) {
|
|
354
|
+
dataMap.get(key).createdCount++;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
if (task.resolvedAt) {
|
|
358
|
+
const key = formatDateKey(new Date(task.resolvedAt), granularity);
|
|
359
|
+
if (dataMap.has(key)) {
|
|
360
|
+
dataMap.get(key).completedCount++;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
// Convert to chart data
|
|
365
|
+
const data = [];
|
|
366
|
+
dataMap.forEach((counts, key) => {
|
|
367
|
+
data.push({
|
|
368
|
+
key,
|
|
369
|
+
name: key,
|
|
370
|
+
count: counts.createdCount + counts.completedCount,
|
|
371
|
+
created_issues: counts.createdCount,
|
|
372
|
+
completed_issues: counts.completedCount
|
|
373
|
+
});
|
|
374
|
+
});
|
|
375
|
+
return {
|
|
376
|
+
data,
|
|
377
|
+
schema: {
|
|
378
|
+
completed_issues: 'completed_issues',
|
|
379
|
+
created_issues: 'created_issues'
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Format date to key string based on granularity
|
|
385
|
+
*/
|
|
386
|
+
function formatDateKey(date, granularity) {
|
|
387
|
+
const year = date.getFullYear();
|
|
388
|
+
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
389
|
+
const day = String(date.getDate()).padStart(2, '0');
|
|
390
|
+
if (granularity === 'day') {
|
|
391
|
+
return `${year}-${month}-${day}`;
|
|
392
|
+
}
|
|
393
|
+
return `${year}-${month}-01`;
|
|
394
|
+
}
|
|
395
|
+
//# sourceMappingURL=analytics.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analytics.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/analytics/analytics.serializer.ts"],"names":[],"mappings":";;AA2CA,kEAuCC;AAKD,4DAyFC;AA0ID,wCA4DC;AAKD,oEA2DC;AAtbD,iGAQqD;AACrD,2DAAoD;AAEpD;;GAEG;AACH,MAAM,cAAc,GAA2B;IAC9C,CAAC,gDAAc,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,WAAW;IAChD,CAAC,gDAAc,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAAE,WAAW;IACrD,CAAC,IAAA,uBAAQ,EAAC,gDAAc,CAAC,WAAW,CAAC,CAAC,EAAE,SAAS;IACjD,CAAC,IAAA,uBAAQ,EAAC,gDAAc,CAAC,gBAAgB,CAAC,CAAC,EAAE,SAAS;IACtD,CAAC,IAAA,uBAAQ,EAAC,gDAAc,CAAC,SAAS,CAAC,CAAC,EAAE,SAAS;IAC/C,CAAC,IAAA,uBAAQ,EAAC,gDAAc,CAAC,OAAO,CAAC,CAAC,EAAE,SAAS;IAC7C,CAAC,gDAAc,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,WAAW;IAChD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C;IACF,CAAC,CAAC,CAAC;IAEH,wBAAwB;IACxB,MAAM,IAAI,GAAqB,EAAE,CAAC;IAClC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE;QAC/B,IAAI,CAAC,IAAI,CAAC;YACT,GAAG;YACH,IAAI,EAAE,GAAG;YACT,KAAK,EAAE,MAAM,CAAC,YAAY,GAAG,MAAM,CAAC,cAAc;YAClD,cAAc,EAAE,MAAM,CAAC,YAAY;YACnC,gBAAgB,EAAE,MAAM,CAAC,cAAc;SACvC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,OAAO;QACN,IAAI;QACJ,MAAM,EAAE;YACP,gBAAgB,EAAE,kBAAkB;YACpC,cAAc,EAAE,gBAAgB;SAChC;KACD,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,aAAa,CAAC,IAAU,EAAE,WAA4B;IAC9D,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IAChC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAC3D,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAEpD,IAAI,WAAW,KAAK,KAAK,EAAE,CAAC;QAC3B,OAAO,GAAG,IAAI,IAAI,KAAK,IAAI,GAAG,EAAE,CAAC;IAClC,CAAC;IACD,OAAO,GAAG,IAAI,IAAI,KAAK,KAAK,CAAC;AAC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './analytics.serializer';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./analytics.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/analytics/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.registerInputTranformer = registerInputTranformer;
|
|
4
|
+
function registerInputTranformer(input) {
|
|
5
|
+
return {
|
|
6
|
+
user: { email: input.email },
|
|
7
|
+
password: input.password,
|
|
8
|
+
confirmPassword: input.confirm_password
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=auth.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/auth/auth.serializer.ts"],"names":[],"mappings":";;AAKA,0DAQC;AARD,SAAgB,uBAAuB,CACtC,KAAyB;IAEzB,OAAO;QACN,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE;QAC5B,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,eAAe,EAAE,KAAK,CAAC,gBAAgB;KACvC,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './auth.serializer';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./auth.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseEntityEnum, IComment, ICommentCreateInput, ICommentUpdateInput, ICreateCommentInput, ID, IEmployee, IIssue, IIssueComment, IOrganizationProject, IReactionData, IWorkspaceInfo } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Transforms a comment object to a standardized format.
|
|
4
|
+
*
|
|
5
|
+
* @param {IComment[] | IComment} comments - The comment object to be transformed.
|
|
6
|
+
* @param {IIssue} issue - The issue object associated with the comment.
|
|
7
|
+
* @param {IOrganizationProject} project - The project object associated with the comment.
|
|
8
|
+
* @param {IWorkspaceInfo} workspace_detail - The workspace object associated with the comment.
|
|
9
|
+
* @param {IReactionData[]} reactions - The reactions associated with the comment.
|
|
10
|
+
* @param {IEmployee} employee - The employee object associated with the comment.
|
|
11
|
+
* @returns {IIssueComment[] | IIssueComment} The transformed comment object in a standardized format.
|
|
12
|
+
*/
|
|
13
|
+
export declare function issueCommentTrasnsformer(comments: IComment[] | IComment, issue: IIssue, project: IOrganizationProject, workspace_detail: IWorkspaceInfo, reactions: IReactionData[], employee: IEmployee): IIssueComment[] | IIssueComment;
|
|
14
|
+
/**
|
|
15
|
+
* Transforms the input from the front-end into a format suitable for creating a comment.
|
|
16
|
+
*
|
|
17
|
+
* @param input - The comment input data from the front-end.
|
|
18
|
+
* @param entity - The type of entity associated with the comment (e.g., Task, Project).
|
|
19
|
+
* @param entityId - The ID of the associated entity.
|
|
20
|
+
* @param employees - Optional list of employees for mapping mentioned employee IDs to user IDs.
|
|
21
|
+
* @returns The transformed comment input ready for back-end processing.
|
|
22
|
+
*/
|
|
23
|
+
export declare function createCommentInputTransformer(input: ICreateCommentInput, entity: BaseEntityEnum, entityId: ID, employees?: IEmployee[]): ICommentCreateInput;
|
|
24
|
+
export declare function updateCommentInputTransformer(input: ICreateCommentInput, commentUpdate: IComment): ICommentUpdateInput;
|
|
25
|
+
export declare function getCommentsQuery(entityId?: ID, entity?: BaseEntityEnum): Record<string, string>;
|