@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,9 @@
|
|
|
1
|
+
import { IEmployeeSetting, IFindUserPropertiesInput, IUserViewProperties } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Serializes an EmployeeSetting object into a user view-friendly format.
|
|
4
|
+
*
|
|
5
|
+
* @param {IEmployeeSetting} employeeSetting - The EmployeeSetting object to serialize.
|
|
6
|
+
* @returns {IUserViewProperties} A serialized object containing user-view properties.
|
|
7
|
+
*/
|
|
8
|
+
export declare function employeeSettingSerializer(employeeSetting: IEmployeeSetting): IUserViewProperties;
|
|
9
|
+
export declare const getEmployeeSettingQuery: (options: IFindUserPropertiesInput) => Record<string, any>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getEmployeeSettingQuery = void 0;
|
|
4
|
+
exports.employeeSettingSerializer = employeeSettingSerializer;
|
|
5
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
6
|
+
const query_params_serializers_1 = require("../query-params.serializers");
|
|
7
|
+
/**
|
|
8
|
+
* Serializes an EmployeeSetting object into a user view-friendly format.
|
|
9
|
+
*
|
|
10
|
+
* @param {IEmployeeSetting} employeeSetting - The EmployeeSetting object to serialize.
|
|
11
|
+
* @returns {IUserViewProperties} A serialized object containing user-view properties.
|
|
12
|
+
*/
|
|
13
|
+
function employeeSettingSerializer(employeeSetting) {
|
|
14
|
+
const { filters, display_filters, display_properties, rich_filters } = (employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.data) || {};
|
|
15
|
+
return {
|
|
16
|
+
id: employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.id,
|
|
17
|
+
created_at: employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.createdAt,
|
|
18
|
+
updated_at: employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.updatedAt,
|
|
19
|
+
deleted_at: employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.deletedAt,
|
|
20
|
+
filters,
|
|
21
|
+
display_filters,
|
|
22
|
+
display_properties,
|
|
23
|
+
rich_filters,
|
|
24
|
+
created_by: employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.employeeId,
|
|
25
|
+
updated_by: employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.employeeId,
|
|
26
|
+
project: (employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.entity) === plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProject
|
|
27
|
+
? employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.entityId
|
|
28
|
+
: undefined,
|
|
29
|
+
module: (employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.entity) === plugin_integration_plane_models_1.BaseEntityEnum.OrganizationProjectModule
|
|
30
|
+
? employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.entityId
|
|
31
|
+
: undefined,
|
|
32
|
+
cycle: (employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.entity) === plugin_integration_plane_models_1.BaseEntityEnum.OrganizationSprint
|
|
33
|
+
? employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.entityId
|
|
34
|
+
: undefined,
|
|
35
|
+
workspace: employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.organizationId,
|
|
36
|
+
user: employeeSetting === null || employeeSetting === void 0 ? void 0 : employeeSetting.employeeId
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
const getEmployeeSettingQuery = (options) => {
|
|
40
|
+
const { employeeId, entity, entityId, settingType } = options;
|
|
41
|
+
const query = Object.assign({}, (0, query_params_serializers_1.baseGetItemsWhereQuery)());
|
|
42
|
+
query['where[employeeId]'] = employeeId;
|
|
43
|
+
if (entity) {
|
|
44
|
+
query['where[entity]'] = entity;
|
|
45
|
+
}
|
|
46
|
+
if (entityId) {
|
|
47
|
+
query['where[entityId]'] = entityId;
|
|
48
|
+
}
|
|
49
|
+
if (settingType) {
|
|
50
|
+
query['where[settingType]'] = settingType;
|
|
51
|
+
}
|
|
52
|
+
query['relations[0]'] = 'employee.user.role';
|
|
53
|
+
query['relations[1]'] = 'organization';
|
|
54
|
+
return query;
|
|
55
|
+
};
|
|
56
|
+
exports.getEmployeeSettingQuery = getEmployeeSettingQuery;
|
|
57
|
+
//# sourceMappingURL=employee-properties.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"employee-properties.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/employee-properties/employee-properties.serializer.ts"],"names":[],"mappings":";;;AAcA,8DAgCC;AA9CD,iGAKqD;AACrD,0EAAqE;AAErE;;;;;GAKG;AACH,SAAgB,yBAAyB,CACxC,eAAiC;IAEjC,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,YAAY,EAAE,GACnE,CAAC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,IAA4B,KAAI,EAAE,CAAC;IAEtD,OAAO;QACN,EAAE,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,EAAG;QACxB,UAAU,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,SAAS;QACtC,UAAU,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,SAAS;QACtC,UAAU,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,SAAS;QACtC,OAAO;QACP,eAAe;QACf,kBAAkB;QAClB,YAAY;QACZ,UAAU,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,UAAU;QACvC,UAAU,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,UAAU;QACvC,OAAO,EACN,CAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,MAAM,MAAK,gDAAc,CAAC,mBAAmB;YAC7D,CAAC,CAAC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,QAAQ;YAC3B,CAAC,CAAC,SAAS;QACb,MAAM,EACL,CAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,MAAM,MAAK,gDAAc,CAAC,yBAAyB;YACnE,CAAC,CAAC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,QAAQ;YAC3B,CAAC,CAAC,SAAS;QACb,KAAK,EACJ,CAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,MAAM,MAAK,gDAAc,CAAC,kBAAkB;YAC5D,CAAC,CAAC,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,QAAQ;YAC3B,CAAC,CAAC,SAAS;QACb,SAAS,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,cAAc;QAC1C,IAAI,EAAE,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,UAAU;KACjC,CAAC;AACH,CAAC;AAEM,MAAM,uBAAuB,GAAG,CACtC,OAAiC,EACX,EAAE;IACxB,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC;IAE9D,MAAM,KAAK,qBACP,IAAA,iDAAsB,GAAE,CAC3B,CAAC;IAEF,KAAK,CAAC,mBAAmB,CAAC,GAAG,UAAU,CAAC;IAExC,IAAI,MAAM,EAAE,CAAC;QACZ,KAAK,CAAC,eAAe,CAAC,GAAG,MAAM,CAAC;IACjC,CAAC;IAED,IAAI,QAAQ,EAAE,CAAC;QACd,KAAK,CAAC,iBAAiB,CAAC,GAAG,QAAQ,CAAC;IACrC,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QACjB,KAAK,CAAC,oBAAoB,CAAC,GAAG,WAAW,CAAC;IAC3C,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,GAAG,oBAAoB,CAAC;IAC7C,KAAK,CAAC,cAAc,CAAC,GAAG,cAAc,CAAC;IAEvC,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AA3BW,QAAA,uBAAuB,2BA2BlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './employee-properties.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("./employee-properties.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/employee-properties/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './activity';
|
|
2
|
+
export * from './auth';
|
|
3
|
+
export * from './comments';
|
|
4
|
+
export * from './cycles';
|
|
5
|
+
export * from './dashboard';
|
|
6
|
+
export * from './employee-properties';
|
|
7
|
+
export * from './invitation';
|
|
8
|
+
export * from './issue-link';
|
|
9
|
+
export * from './mention';
|
|
10
|
+
export * from './modules';
|
|
11
|
+
export * from './notification';
|
|
12
|
+
export * from './projects';
|
|
13
|
+
export * from './query-params.serializers';
|
|
14
|
+
export * from './reactions';
|
|
15
|
+
export * from './recent-visits';
|
|
16
|
+
export * from './project-deploy-boards';
|
|
17
|
+
export * from './subscription';
|
|
18
|
+
export * from './tasks';
|
|
19
|
+
export * from './user';
|
|
20
|
+
export * from './user-favorites';
|
|
21
|
+
export * from './views';
|
|
22
|
+
export * from './workspace-organization';
|
|
23
|
+
export * from './analytics';
|
|
24
|
+
export * from './pages';
|
|
@@ -0,0 +1,41 @@
|
|
|
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("./activity"), exports);
|
|
18
|
+
__exportStar(require("./auth"), exports);
|
|
19
|
+
__exportStar(require("./comments"), exports);
|
|
20
|
+
__exportStar(require("./cycles"), exports);
|
|
21
|
+
__exportStar(require("./dashboard"), exports);
|
|
22
|
+
__exportStar(require("./employee-properties"), exports);
|
|
23
|
+
__exportStar(require("./invitation"), exports);
|
|
24
|
+
__exportStar(require("./issue-link"), exports);
|
|
25
|
+
__exportStar(require("./mention"), exports);
|
|
26
|
+
__exportStar(require("./modules"), exports);
|
|
27
|
+
__exportStar(require("./notification"), exports);
|
|
28
|
+
__exportStar(require("./projects"), exports);
|
|
29
|
+
__exportStar(require("./query-params.serializers"), exports);
|
|
30
|
+
__exportStar(require("./reactions"), exports);
|
|
31
|
+
__exportStar(require("./recent-visits"), exports);
|
|
32
|
+
__exportStar(require("./project-deploy-boards"), exports);
|
|
33
|
+
__exportStar(require("./subscription"), exports);
|
|
34
|
+
__exportStar(require("./tasks"), exports);
|
|
35
|
+
__exportStar(require("./user"), exports);
|
|
36
|
+
__exportStar(require("./user-favorites"), exports);
|
|
37
|
+
__exportStar(require("./views"), exports);
|
|
38
|
+
__exportStar(require("./workspace-organization"), exports);
|
|
39
|
+
__exportStar(require("./analytics"), exports);
|
|
40
|
+
__exportStar(require("./pages"), exports);
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/config/serializers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB;AACvB,6CAA2B;AAC3B,2CAAyB;AACzB,8CAA4B;AAC5B,wDAAsC;AACtC,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,iDAA+B;AAC/B,6CAA2B;AAC3B,6DAA2C;AAC3C,8CAA4B;AAC5B,kDAAgC;AAChC,0DAAwC;AACxC,iDAA+B;AAC/B,0CAAwB;AACxB,yCAAuB;AACvB,mDAAiC;AACjC,0CAAwB;AACxB,2DAAyC;AACzC,8CAA4B;AAC5B,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './invitation.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("./invitation.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/invitation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ICreateEmailInvitesInput, ICreateWorkspaceInvitationInput, ID, IInvitation, IInvite, InviteStatusEnum } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* Transforms an invitation status into a boolean indicating whether the invitation was accepted.
|
|
4
|
+
*
|
|
5
|
+
* @param {InviteStatusEnum} status - The status of the invitation.
|
|
6
|
+
* @returns {boolean} `true` if the invitation was accepted, otherwise `false`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function invitationStatusTransformer(status: InviteStatusEnum): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Transforms a single workspace invitation input into a format compatible with bulk email invite creation.
|
|
11
|
+
*
|
|
12
|
+
* @param {ICreateWorkspaceInvitationInput} input - The workspace invitation input containing the email to invite.
|
|
13
|
+
* @param {ID} roleId - The role ID to assign to the invited user.
|
|
14
|
+
* @returns {ICreateEmailInvitesInput} The transformed input ready for the bulk email invitation process.
|
|
15
|
+
*/
|
|
16
|
+
export declare function createBulkWorkspaceInvitationInputTransformer(input: ICreateWorkspaceInvitationInput, roleId: ID): ICreateEmailInvitesInput;
|
|
17
|
+
/**
|
|
18
|
+
* Transforms one or multiple raw invite objects (`IInvite`) into formatted invitation(s) (`IInvitation`).
|
|
19
|
+
*
|
|
20
|
+
* If an array is provided, it returns an array of transformed invitations.
|
|
21
|
+
* If a single object is provided, it returns the transformed invitation object.
|
|
22
|
+
*
|
|
23
|
+
* @param {IInvite[] | IInvite} invitations - One or many raw invitation objects.
|
|
24
|
+
* @returns {IInvitation | IInvitation[]} The transformed invitation(s).
|
|
25
|
+
*/
|
|
26
|
+
export declare function invitationTransformer(invitations: IInvite[] | IInvite): IInvitation | IInvitation[];
|
|
27
|
+
/**
|
|
28
|
+
* Builds a query object for retrieving invitations, with optional filters and related entities.
|
|
29
|
+
*
|
|
30
|
+
* This function is used to dynamically construct query parameters for an API call,
|
|
31
|
+
* supporting filtering by role name and eager-loading related entities like `organization`, `invitedByUser`, and `role`.
|
|
32
|
+
*
|
|
33
|
+
* @param {Partial<IInvite>} options - Optional filtering parameters for the invitations query.
|
|
34
|
+
*
|
|
35
|
+
* @returns {Record<string, any>} A query object formatted for use with APIs expecting nested query parameters.
|
|
36
|
+
*/
|
|
37
|
+
export declare function getInvitationsQuery(options: Partial<IInvite>): Record<string, any>;
|
|
38
|
+
/**
|
|
39
|
+
* Builds a query object to fetch an invitation by token and email.
|
|
40
|
+
*
|
|
41
|
+
* @param {string} token - The unique invitation token.
|
|
42
|
+
* @param {string} email - The email address associated with the invitation.
|
|
43
|
+
* @returns {Record<string, any>} A query object containing the token and email.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getInvitationByTokenQuery(token: string, email: string): Record<string, any>;
|
|
46
|
+
/**
|
|
47
|
+
* Builds the query object used when deleting an invitation.
|
|
48
|
+
* Includes tenant and organization identifiers.
|
|
49
|
+
*
|
|
50
|
+
* @returns Record<string, any> Query parameters for deletion request
|
|
51
|
+
*/
|
|
52
|
+
export declare function deleteInvitationQuery(): Record<string, any>;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.invitationStatusTransformer = invitationStatusTransformer;
|
|
4
|
+
exports.createBulkWorkspaceInvitationInputTransformer = createBulkWorkspaceInvitationInputTransformer;
|
|
5
|
+
exports.invitationTransformer = invitationTransformer;
|
|
6
|
+
exports.getInvitationsQuery = getInvitationsQuery;
|
|
7
|
+
exports.getInvitationByTokenQuery = getInvitationByTokenQuery;
|
|
8
|
+
exports.deleteInvitationQuery = deleteInvitationQuery;
|
|
9
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
10
|
+
const credentials_1 = require("../../credentials");
|
|
11
|
+
const workspace_organization_1 = require("../workspace-organization");
|
|
12
|
+
const query_params_serializers_1 = require("../query-params.serializers");
|
|
13
|
+
const constants_1 = require("../../constants");
|
|
14
|
+
/**
|
|
15
|
+
* Transforms an invitation status into a boolean indicating whether the invitation was accepted.
|
|
16
|
+
*
|
|
17
|
+
* @param {InviteStatusEnum} status - The status of the invitation.
|
|
18
|
+
* @returns {boolean} `true` if the invitation was accepted, otherwise `false`.
|
|
19
|
+
*/
|
|
20
|
+
function invitationStatusTransformer(status) {
|
|
21
|
+
const statusMapping = {
|
|
22
|
+
[plugin_integration_plane_models_1.InviteStatusEnum.INVITED]: false,
|
|
23
|
+
[plugin_integration_plane_models_1.InviteStatusEnum.ACCEPTED]: true,
|
|
24
|
+
[plugin_integration_plane_models_1.InviteStatusEnum.EXPIRED]: false,
|
|
25
|
+
[plugin_integration_plane_models_1.InviteStatusEnum.REJECTED]: false
|
|
26
|
+
};
|
|
27
|
+
return statusMapping[status];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Transforms a single workspace invitation input into a format compatible with bulk email invite creation.
|
|
31
|
+
*
|
|
32
|
+
* @param {ICreateWorkspaceInvitationInput} input - The workspace invitation input containing the email to invite.
|
|
33
|
+
* @param {ID} roleId - The role ID to assign to the invited user.
|
|
34
|
+
* @returns {ICreateEmailInvitesInput} The transformed input ready for the bulk email invitation process.
|
|
35
|
+
*/
|
|
36
|
+
function createBulkWorkspaceInvitationInputTransformer(input, roleId) {
|
|
37
|
+
return {
|
|
38
|
+
emailIds: [input.email],
|
|
39
|
+
roleId,
|
|
40
|
+
inviteType: plugin_integration_plane_models_1.InvitationTypeEnum.EMPLOYEE,
|
|
41
|
+
startedWorkOn: new Date(),
|
|
42
|
+
invitationExpirationPeriod: 'Never',
|
|
43
|
+
organizationId: (0, credentials_1.getCurrentOrganizationSlug)(),
|
|
44
|
+
callbackUrl: `${(0, constants_1.CLIENT_BASE_URL)()}/workspace-invitations`,
|
|
45
|
+
queryParams: {
|
|
46
|
+
invitation_id: 'token',
|
|
47
|
+
email: 'email',
|
|
48
|
+
slug: 'organizationId'
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Transforms one or multiple raw invite objects (`IInvite`) into formatted invitation(s) (`IInvitation`).
|
|
54
|
+
*
|
|
55
|
+
* If an array is provided, it returns an array of transformed invitations.
|
|
56
|
+
* If a single object is provided, it returns the transformed invitation object.
|
|
57
|
+
*
|
|
58
|
+
* @param {IInvite[] | IInvite} invitations - One or many raw invitation objects.
|
|
59
|
+
* @returns {IInvitation | IInvitation[]} The transformed invitation(s).
|
|
60
|
+
*/
|
|
61
|
+
function invitationTransformer(invitations) {
|
|
62
|
+
const transformInvitation = (invitation) => {
|
|
63
|
+
return {
|
|
64
|
+
id: invitation.id,
|
|
65
|
+
deleted_at: invitation.deletedAt,
|
|
66
|
+
workspace: (0, workspace_organization_1.workspaceTransformer)(invitation.organization),
|
|
67
|
+
invite_link: `/workspace-invitations/?invitation_id=${invitation.id}&email=${invitation.email}&slug=${invitation.organizationId}`,
|
|
68
|
+
created_at: invitation.createdAt,
|
|
69
|
+
updated_at: invitation.updatedAt,
|
|
70
|
+
email: invitation.email,
|
|
71
|
+
accepted: invitationStatusTransformer(invitation.status),
|
|
72
|
+
token: invitation.token,
|
|
73
|
+
message: '',
|
|
74
|
+
responded_at: undefined, // First set to undefined and after probably use invitation.actionDate
|
|
75
|
+
role: (0, workspace_organization_1.roleTransformer)(invitation.role),
|
|
76
|
+
created_by: invitation.createdByUserId,
|
|
77
|
+
updated_by: invitation.updatedByUserId
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
if (Array.isArray(invitations)) {
|
|
81
|
+
return invitations.map(transformInvitation);
|
|
82
|
+
}
|
|
83
|
+
return transformInvitation(invitations);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Builds a query object for retrieving invitations, with optional filters and related entities.
|
|
87
|
+
*
|
|
88
|
+
* This function is used to dynamically construct query parameters for an API call,
|
|
89
|
+
* supporting filtering by role name and eager-loading related entities like `organization`, `invitedByUser`, and `role`.
|
|
90
|
+
*
|
|
91
|
+
* @param {Partial<IInvite>} options - Optional filtering parameters for the invitations query.
|
|
92
|
+
*
|
|
93
|
+
* @returns {Record<string, any>} A query object formatted for use with APIs expecting nested query parameters.
|
|
94
|
+
*/
|
|
95
|
+
function getInvitationsQuery(options) {
|
|
96
|
+
var _a;
|
|
97
|
+
const relations = ['organization', 'invitedByUser', 'role'];
|
|
98
|
+
const query = Object.assign({}, (0, query_params_serializers_1.baseGetItemsWhereQuery)());
|
|
99
|
+
if ((_a = options === null || options === void 0 ? void 0 : options.role) === null || _a === void 0 ? void 0 : _a.name) {
|
|
100
|
+
query['where[role][name]'] = options === null || options === void 0 ? void 0 : options.role.name;
|
|
101
|
+
}
|
|
102
|
+
if (options === null || options === void 0 ? void 0 : options.email) {
|
|
103
|
+
query['where[email]'] = options === null || options === void 0 ? void 0 : options.email;
|
|
104
|
+
}
|
|
105
|
+
if (options === null || options === void 0 ? void 0 : options.token) {
|
|
106
|
+
query['where[token]'] = options === null || options === void 0 ? void 0 : options.token;
|
|
107
|
+
}
|
|
108
|
+
relations.forEach((relation, i) => {
|
|
109
|
+
query[`relations[${i}]`] = relation;
|
|
110
|
+
});
|
|
111
|
+
return query;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Builds a query object to fetch an invitation by token and email.
|
|
115
|
+
*
|
|
116
|
+
* @param {string} token - The unique invitation token.
|
|
117
|
+
* @param {string} email - The email address associated with the invitation.
|
|
118
|
+
* @returns {Record<string, any>} A query object containing the token and email.
|
|
119
|
+
*/
|
|
120
|
+
function getInvitationByTokenQuery(token, email) {
|
|
121
|
+
const query = {
|
|
122
|
+
token,
|
|
123
|
+
email
|
|
124
|
+
};
|
|
125
|
+
return query;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Builds the query object used when deleting an invitation.
|
|
129
|
+
* Includes tenant and organization identifiers.
|
|
130
|
+
*
|
|
131
|
+
* @returns Record<string, any> Query parameters for deletion request
|
|
132
|
+
*/
|
|
133
|
+
function deleteInvitationQuery() {
|
|
134
|
+
const query = {
|
|
135
|
+
tenantId: (0, credentials_1.currentTenantId)(),
|
|
136
|
+
organizationId: (0, credentials_1.getCurrentOrganizationSlug)()
|
|
137
|
+
};
|
|
138
|
+
return query;
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=invitation.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invitation.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/invitation/invitation.serializer.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './issue-link.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("./issue-link.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/issue-link/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseEntityEnum, ICreateIssueLink, ID, IEmployee, IIssueLink, IOrganizationProject, IResourceLink, IResourceLinkCreateInput, IResourceLinkUpdateInput } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
/**
|
|
3
|
+
* @description Transform external Resource Link(s) to internal use accepted data
|
|
4
|
+
* @param {(IResourceLink[] | IResourceLink)} links - Link(s) from external API
|
|
5
|
+
* @param {IEmployee} actor - The Employee Picked from User Link Creator
|
|
6
|
+
* @param {IOrganizationProject} project - The project that associated to issue link
|
|
7
|
+
* @returns {(IIssueLink[] | IIssueLink)} A tranformed object or array of objects
|
|
8
|
+
*/
|
|
9
|
+
export declare function issueLinkTransformer(links: IResourceLink[] | IResourceLink, actor?: IEmployee, project?: IOrganizationProject): IIssueLink[] | IIssueLink;
|
|
10
|
+
/**
|
|
11
|
+
* @description Tranform incoming request body to accepted data for external API
|
|
12
|
+
* @param {ICreateIssueLink} input - Body Request Data
|
|
13
|
+
* @param {ID} issueId - Isuue ID for whom to create link
|
|
14
|
+
* @returns {IResourceLinkCreateInput} Transformed data
|
|
15
|
+
*/
|
|
16
|
+
export declare function createIssueLinkInputTransformer(input: ICreateIssueLink, issueId: ID, type?: string): IResourceLinkCreateInput;
|
|
17
|
+
/**
|
|
18
|
+
* @description Transform incoming update body request data to match accepted external API data
|
|
19
|
+
* @param {ICreateIssueLink} input - Bidy Request data
|
|
20
|
+
* @returns {IResourceLinkUpdateInput} A Tranformed object
|
|
21
|
+
*/
|
|
22
|
+
export declare function updateIssueLinkInputTransformer(input: ICreateIssueLink): IResourceLinkUpdateInput;
|
|
23
|
+
/**
|
|
24
|
+
* @description Get issue links query params
|
|
25
|
+
* @param {ID} issueId - The Issue ID
|
|
26
|
+
* @returns {Record<string, string>} A object with filter options
|
|
27
|
+
*/
|
|
28
|
+
export declare function getIssueLinksQuery(type: BaseEntityEnum, issueId?: ID, organizationId?: ID): Record<string, string>;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueLinkTransformer = issueLinkTransformer;
|
|
4
|
+
exports.createIssueLinkInputTransformer = createIssueLinkInputTransformer;
|
|
5
|
+
exports.updateIssueLinkInputTransformer = updateIssueLinkInputTransformer;
|
|
6
|
+
exports.getIssueLinksQuery = getIssueLinksQuery;
|
|
7
|
+
const plugin_integration_plane_models_1 = require("@ever-gauzy/plugin-integration-plane-models");
|
|
8
|
+
const query_params_serializers_1 = require("../query-params.serializers");
|
|
9
|
+
const user_1 = require("../user");
|
|
10
|
+
/**
|
|
11
|
+
* @description Transform external Resource Link(s) to internal use accepted data
|
|
12
|
+
* @param {(IResourceLink[] | IResourceLink)} links - Link(s) from external API
|
|
13
|
+
* @param {IEmployee} actor - The Employee Picked from User Link Creator
|
|
14
|
+
* @param {IOrganizationProject} project - The project that associated to issue link
|
|
15
|
+
* @returns {(IIssueLink[] | IIssueLink)} A tranformed object or array of objects
|
|
16
|
+
*/
|
|
17
|
+
function issueLinkTransformer(links, actor, project) {
|
|
18
|
+
const transformIssueLink = (link) => {
|
|
19
|
+
return {
|
|
20
|
+
id: link === null || link === void 0 ? void 0 : link.id,
|
|
21
|
+
issue: link === null || link === void 0 ? void 0 : link.entity,
|
|
22
|
+
issue_id: link === null || link === void 0 ? void 0 : link.entityId,
|
|
23
|
+
created_by_detail: (0, user_1.actorDetailsTransformer)(actor),
|
|
24
|
+
created_at: link === null || link === void 0 ? void 0 : link.createdAt,
|
|
25
|
+
updated_at: link === null || link === void 0 ? void 0 : link.updatedAt,
|
|
26
|
+
deleted_at: link === null || link === void 0 ? void 0 : link.deletedAt,
|
|
27
|
+
title: link === null || link === void 0 ? void 0 : link.title,
|
|
28
|
+
url: link === null || link === void 0 ? void 0 : link.url,
|
|
29
|
+
metadata: link === null || link === void 0 ? void 0 : link.metaData,
|
|
30
|
+
created_by: link === null || link === void 0 ? void 0 : link.employeeId,
|
|
31
|
+
created_by_id: link === null || link === void 0 ? void 0 : link.employeeId,
|
|
32
|
+
updated_by: link === null || link === void 0 ? void 0 : link.employeeId,
|
|
33
|
+
project: project === null || project === void 0 ? void 0 : project.id,
|
|
34
|
+
workspace: link === null || link === void 0 ? void 0 : link.organizationId,
|
|
35
|
+
owner: link === null || link === void 0 ? void 0 : link.employeeId
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
if (Array.isArray(links)) {
|
|
39
|
+
return links.map(transformIssueLink);
|
|
40
|
+
}
|
|
41
|
+
return transformIssueLink(links);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @description Tranform incoming request body to accepted data for external API
|
|
45
|
+
* @param {ICreateIssueLink} input - Body Request Data
|
|
46
|
+
* @param {ID} issueId - Isuue ID for whom to create link
|
|
47
|
+
* @returns {IResourceLinkCreateInput} Transformed data
|
|
48
|
+
*/
|
|
49
|
+
function createIssueLinkInputTransformer(input, issueId, type = 'issue') {
|
|
50
|
+
return {
|
|
51
|
+
entity: type === 'issue'
|
|
52
|
+
? plugin_integration_plane_models_1.BaseEntityEnum.Task
|
|
53
|
+
: plugin_integration_plane_models_1.BaseEntityEnum.Organization,
|
|
54
|
+
entityId: issueId,
|
|
55
|
+
title: input.title,
|
|
56
|
+
url: input.url
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @description Transform incoming update body request data to match accepted external API data
|
|
61
|
+
* @param {ICreateIssueLink} input - Bidy Request data
|
|
62
|
+
* @returns {IResourceLinkUpdateInput} A Tranformed object
|
|
63
|
+
*/
|
|
64
|
+
function updateIssueLinkInputTransformer(input) {
|
|
65
|
+
return input;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @description Get issue links query params
|
|
69
|
+
* @param {ID} issueId - The Issue ID
|
|
70
|
+
* @returns {Record<string, string>} A object with filter options
|
|
71
|
+
*/
|
|
72
|
+
function getIssueLinksQuery(type, issueId, organizationId) {
|
|
73
|
+
// Tenant and Organization based query
|
|
74
|
+
const query = Object.assign({}, (0, query_params_serializers_1.baseGetItemsWhereQuery)());
|
|
75
|
+
if (issueId) {
|
|
76
|
+
query['where[entityId]'] = issueId;
|
|
77
|
+
}
|
|
78
|
+
if (organizationId) {
|
|
79
|
+
query['where[entityId]'] = organizationId;
|
|
80
|
+
}
|
|
81
|
+
if (type === plugin_integration_plane_models_1.BaseEntityEnum.Task) {
|
|
82
|
+
query['where[entity]'] = plugin_integration_plane_models_1.BaseEntityEnum.Task;
|
|
83
|
+
}
|
|
84
|
+
if (type === plugin_integration_plane_models_1.BaseEntityEnum.Organization) {
|
|
85
|
+
query['where[entity]'] = plugin_integration_plane_models_1.BaseEntityEnum.Organization;
|
|
86
|
+
}
|
|
87
|
+
return query;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=issue-link.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issue-link.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/issue-link/issue-link.serializer.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './mention.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("./mention.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/mention/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMentionsQuery = getMentionsQuery;
|
|
4
|
+
const query_params_serializers_1 = require("../query-params.serializers");
|
|
5
|
+
function getMentionsQuery(options) {
|
|
6
|
+
// Tenant and Organization based query
|
|
7
|
+
const query = Object.assign({}, (0, query_params_serializers_1.baseGetItemsWhereQuery)());
|
|
8
|
+
if (options === null || options === void 0 ? void 0 : options.entityId) {
|
|
9
|
+
query['where[entityId]'] = options.entityId;
|
|
10
|
+
}
|
|
11
|
+
if (options === null || options === void 0 ? void 0 : options.entity) {
|
|
12
|
+
query['where[entity]'] = options === null || options === void 0 ? void 0 : options.entity;
|
|
13
|
+
}
|
|
14
|
+
if (options === null || options === void 0 ? void 0 : options.parentEntityId) {
|
|
15
|
+
query['where[parentEntityId]'] = options === null || options === void 0 ? void 0 : options.parentEntityId;
|
|
16
|
+
}
|
|
17
|
+
if (options === null || options === void 0 ? void 0 : options.parentEntityType) {
|
|
18
|
+
query['where[parentEntityType]'] = options === null || options === void 0 ? void 0 : options.parentEntityType;
|
|
19
|
+
}
|
|
20
|
+
return query;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=mention.serializer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mention.serializer.js","sourceRoot":"","sources":["../../../../../../../packages/plugin-plane/src/config/serializers/mention/mention.serializer.ts"],"names":[],"mappings":";;AAGA,4CAyBC;AA3BD,0EAAqE;AAErE,SAAgB,gBAAgB,CAC/B,OAAmC;IAEnC,sCAAsC;IACtC,MAAM,KAAK,qBACP,IAAA,iDAAsB,GAAE,CAC3B,CAAC;IAEF,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,EAAE,CAAC;QACvB,KAAK,CAAC,iBAAiB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC;IAC7C,CAAC;IAED,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,CAAC;QACrB,KAAK,CAAC,eAAe,CAAC,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,CAAC;IAC1C,CAAC;IAED,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,EAAE,CAAC;QAC7B,KAAK,CAAC,uBAAuB,CAAC,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,CAAC;IAC1D,CAAC;IAED,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,EAAE,CAAC;QAC/B,KAAK,CAAC,yBAAyB,CAAC,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,CAAC;IAC9D,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './module.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("./module.serializer"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|