@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,387 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.PagesController = void 0;
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const pages_service_1 = require("./pages.service");
|
|
19
|
+
const dto_1 = require("./dto");
|
|
20
|
+
let PagesController = class PagesController {
|
|
21
|
+
constructor(_pagesService) {
|
|
22
|
+
this._pagesService = _pagesService;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* GET /projects/:projectId/pages/
|
|
26
|
+
* List all pages for a project.
|
|
27
|
+
*/
|
|
28
|
+
async findAll(projectId) {
|
|
29
|
+
return this._pagesService.findAll(projectId);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* GET /projects/:projectId/archived-pages/
|
|
33
|
+
* List archived pages for a project.
|
|
34
|
+
*/
|
|
35
|
+
async findArchived(projectId) {
|
|
36
|
+
return this._pagesService.findArchived(projectId);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* GET /projects/:projectId/favorite-pages/
|
|
40
|
+
* List favorite pages for a project.
|
|
41
|
+
*/
|
|
42
|
+
async fetchFavorites(projectId) {
|
|
43
|
+
return this._pagesService.fetchFavorites(projectId);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* POST /projects/:projectId/favorite-pages/:pageId/
|
|
47
|
+
* Add page to favorites.
|
|
48
|
+
*/
|
|
49
|
+
async addToFavorites(pageId) {
|
|
50
|
+
return this._pagesService.addToFavorites(pageId);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* DELETE /projects/:projectId/favorite-pages/:pageId/
|
|
54
|
+
* Remove page from favorites.
|
|
55
|
+
*/
|
|
56
|
+
async removeFromFavorites(pageId) {
|
|
57
|
+
return this._pagesService.removeFromFavorites(pageId);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* POST /projects/:projectId/pages/
|
|
61
|
+
* Create a page.
|
|
62
|
+
*/
|
|
63
|
+
async create(projectId, input) {
|
|
64
|
+
return this._pagesService.create(input, projectId);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* GET /projects/:projectId/pages/:pageId/
|
|
68
|
+
* Get a single page.
|
|
69
|
+
*/
|
|
70
|
+
async findOne(pageId) {
|
|
71
|
+
return this._pagesService.findOne(pageId);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* PATCH /projects/:projectId/pages/:pageId/
|
|
75
|
+
* Update a page.
|
|
76
|
+
*/
|
|
77
|
+
async update(pageId, input) {
|
|
78
|
+
return this._pagesService.update(pageId, input);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* DELETE /projects/:projectId/pages/:pageId/
|
|
82
|
+
* Delete a page.
|
|
83
|
+
*/
|
|
84
|
+
async delete(pageId) {
|
|
85
|
+
return this._pagesService.delete(pageId);
|
|
86
|
+
}
|
|
87
|
+
// ─── Actions ─────────────────────────────────────────────────────────────
|
|
88
|
+
/**
|
|
89
|
+
* POST /pages/:pageId/archive/
|
|
90
|
+
*/
|
|
91
|
+
async archive(pageId) {
|
|
92
|
+
return this._pagesService.archive(pageId);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* DELETE /pages/:pageId/archive/
|
|
96
|
+
*/
|
|
97
|
+
async unarchive(pageId) {
|
|
98
|
+
return this._pagesService.unarchive(pageId);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* POST /pages/:pageId/lock/
|
|
102
|
+
*/
|
|
103
|
+
async lock(pageId) {
|
|
104
|
+
return this._pagesService.lock(pageId);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* DELETE /pages/:pageId/lock/
|
|
108
|
+
*/
|
|
109
|
+
async unlock(pageId) {
|
|
110
|
+
return this._pagesService.unlock(pageId);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* POST /pages/:pageId/duplicate/
|
|
114
|
+
*/
|
|
115
|
+
async duplicate(pageId) {
|
|
116
|
+
return this._pagesService.duplicate(pageId);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* POST /pages/:pageId/access/
|
|
120
|
+
*/
|
|
121
|
+
async updateAccess(pageId, input) {
|
|
122
|
+
return this._pagesService.updateAccess(pageId, input.access);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* POST /pages/:pageId/move/
|
|
126
|
+
*/
|
|
127
|
+
async move(pageId, input) {
|
|
128
|
+
return this._pagesService.move(pageId, input.new_project_id);
|
|
129
|
+
}
|
|
130
|
+
// ─── Description / Binary (Live App) ───────────────────────────────
|
|
131
|
+
/**
|
|
132
|
+
* GET /pages/:pageId/description/
|
|
133
|
+
*/
|
|
134
|
+
async getDescriptionBinary(id, res) {
|
|
135
|
+
const data = await this._pagesService.getDescriptionBinary(id);
|
|
136
|
+
res.setHeader('Content-Type', 'application/octet-stream');
|
|
137
|
+
if (data && data.byteLength > 0) {
|
|
138
|
+
res.send(Buffer.from(data));
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
res.send(Buffer.alloc(0));
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* PATCH /pages/:pageId/description/
|
|
146
|
+
*/
|
|
147
|
+
async updateDescription(id, payload) {
|
|
148
|
+
return this._pagesService.updateDescription(id, payload);
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* GET /pages/:pageId/mentions/
|
|
152
|
+
*/
|
|
153
|
+
async fetchUserMentions(projectId) {
|
|
154
|
+
return this._pagesService.fetchUserMentions(projectId);
|
|
155
|
+
}
|
|
156
|
+
// ─── Versions ────────────────────────────────────────────────────────────
|
|
157
|
+
/**
|
|
158
|
+
* GET /pages/:pageId/versions/
|
|
159
|
+
*/
|
|
160
|
+
async fetchAllVersions(id) {
|
|
161
|
+
return this._pagesService.fetchAllVersions(id);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* GET /pages/:pageId/versions/:vId/
|
|
165
|
+
*/
|
|
166
|
+
async fetchVersionById(vId) {
|
|
167
|
+
return this._pagesService.fetchVersionById(vId);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* POST /pages/:pageId/versions/:vId/restore/
|
|
171
|
+
*/
|
|
172
|
+
async restoreVersion(id, vId) {
|
|
173
|
+
return this._pagesService.restoreVersion(id, vId);
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
exports.PagesController = PagesController;
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
179
|
+
(0, swagger_1.ApiOperation)({ summary: 'List pages' }),
|
|
180
|
+
(0, common_1.Get)('pages'),
|
|
181
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
182
|
+
__metadata("design:type", Function),
|
|
183
|
+
__metadata("design:paramtypes", [String]),
|
|
184
|
+
__metadata("design:returntype", Promise)
|
|
185
|
+
], PagesController.prototype, "findAll", null);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
188
|
+
(0, swagger_1.ApiOperation)({ summary: 'List archived pages' }),
|
|
189
|
+
(0, common_1.Get)('archived-pages'),
|
|
190
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
191
|
+
__metadata("design:type", Function),
|
|
192
|
+
__metadata("design:paramtypes", [String]),
|
|
193
|
+
__metadata("design:returntype", Promise)
|
|
194
|
+
], PagesController.prototype, "findArchived", null);
|
|
195
|
+
__decorate([
|
|
196
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
197
|
+
(0, swagger_1.ApiOperation)({ summary: 'List favorite pages' }),
|
|
198
|
+
(0, common_1.Get)('favorite-pages'),
|
|
199
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
200
|
+
__metadata("design:type", Function),
|
|
201
|
+
__metadata("design:paramtypes", [String]),
|
|
202
|
+
__metadata("design:returntype", Promise)
|
|
203
|
+
], PagesController.prototype, "fetchFavorites", null);
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.CREATED),
|
|
206
|
+
(0, swagger_1.ApiOperation)({ summary: 'Add page to favorites' }),
|
|
207
|
+
(0, common_1.Post)('favorite-pages/:pageId'),
|
|
208
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
209
|
+
__metadata("design:type", Function),
|
|
210
|
+
__metadata("design:paramtypes", [String]),
|
|
211
|
+
__metadata("design:returntype", Promise)
|
|
212
|
+
], PagesController.prototype, "addToFavorites", null);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
215
|
+
(0, swagger_1.ApiOperation)({ summary: 'Remove page from favorites' }),
|
|
216
|
+
(0, common_1.Delete)('favorite-pages/:pageId'),
|
|
217
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
218
|
+
__metadata("design:type", Function),
|
|
219
|
+
__metadata("design:paramtypes", [String]),
|
|
220
|
+
__metadata("design:returntype", Promise)
|
|
221
|
+
], PagesController.prototype, "removeFromFavorites", null);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.CREATED),
|
|
224
|
+
(0, swagger_1.ApiOperation)({ summary: 'Create page' }),
|
|
225
|
+
(0, common_1.Post)('pages'),
|
|
226
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
227
|
+
__param(1, (0, common_1.Body)()),
|
|
228
|
+
__metadata("design:type", Function),
|
|
229
|
+
__metadata("design:paramtypes", [String, dto_1.CreatePageDTO]),
|
|
230
|
+
__metadata("design:returntype", Promise)
|
|
231
|
+
], PagesController.prototype, "create", null);
|
|
232
|
+
__decorate([
|
|
233
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
234
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get page' }),
|
|
235
|
+
(0, common_1.Get)('pages/:pageId'),
|
|
236
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
237
|
+
__metadata("design:type", Function),
|
|
238
|
+
__metadata("design:paramtypes", [String]),
|
|
239
|
+
__metadata("design:returntype", Promise)
|
|
240
|
+
], PagesController.prototype, "findOne", null);
|
|
241
|
+
__decorate([
|
|
242
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
243
|
+
(0, swagger_1.ApiOperation)({ summary: 'Update page' }),
|
|
244
|
+
(0, common_1.Patch)('pages/:pageId'),
|
|
245
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
246
|
+
__param(1, (0, common_1.Body)()),
|
|
247
|
+
__metadata("design:type", Function),
|
|
248
|
+
__metadata("design:paramtypes", [String, dto_1.UpdatePageDTO]),
|
|
249
|
+
__metadata("design:returntype", Promise)
|
|
250
|
+
], PagesController.prototype, "update", null);
|
|
251
|
+
__decorate([
|
|
252
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
253
|
+
(0, swagger_1.ApiOperation)({ summary: 'Delete page' }),
|
|
254
|
+
(0, common_1.Delete)('pages/:pageId'),
|
|
255
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
256
|
+
__metadata("design:type", Function),
|
|
257
|
+
__metadata("design:paramtypes", [String]),
|
|
258
|
+
__metadata("design:returntype", Promise)
|
|
259
|
+
], PagesController.prototype, "delete", null);
|
|
260
|
+
__decorate([
|
|
261
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
262
|
+
(0, swagger_1.ApiOperation)({ summary: 'Archive page' }),
|
|
263
|
+
(0, common_1.Post)('pages/:pageId/archive'),
|
|
264
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
265
|
+
__metadata("design:type", Function),
|
|
266
|
+
__metadata("design:paramtypes", [String]),
|
|
267
|
+
__metadata("design:returntype", Promise)
|
|
268
|
+
], PagesController.prototype, "archive", null);
|
|
269
|
+
__decorate([
|
|
270
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
271
|
+
(0, swagger_1.ApiOperation)({ summary: 'Unarchive page' }),
|
|
272
|
+
(0, common_1.Delete)('pages/:pageId/archive'),
|
|
273
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
274
|
+
__metadata("design:type", Function),
|
|
275
|
+
__metadata("design:paramtypes", [String]),
|
|
276
|
+
__metadata("design:returntype", Promise)
|
|
277
|
+
], PagesController.prototype, "unarchive", null);
|
|
278
|
+
__decorate([
|
|
279
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
280
|
+
(0, swagger_1.ApiOperation)({ summary: 'Lock page' }),
|
|
281
|
+
(0, common_1.Post)('pages/:pageId/lock'),
|
|
282
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
283
|
+
__metadata("design:type", Function),
|
|
284
|
+
__metadata("design:paramtypes", [String]),
|
|
285
|
+
__metadata("design:returntype", Promise)
|
|
286
|
+
], PagesController.prototype, "lock", null);
|
|
287
|
+
__decorate([
|
|
288
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
289
|
+
(0, swagger_1.ApiOperation)({ summary: 'Unlock page' }),
|
|
290
|
+
(0, common_1.Delete)('pages/:pageId/lock'),
|
|
291
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
292
|
+
__metadata("design:type", Function),
|
|
293
|
+
__metadata("design:paramtypes", [String]),
|
|
294
|
+
__metadata("design:returntype", Promise)
|
|
295
|
+
], PagesController.prototype, "unlock", null);
|
|
296
|
+
__decorate([
|
|
297
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.CREATED),
|
|
298
|
+
(0, swagger_1.ApiOperation)({ summary: 'Duplicate page' }),
|
|
299
|
+
(0, common_1.Post)('pages/:pageId/duplicate'),
|
|
300
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
301
|
+
__metadata("design:type", Function),
|
|
302
|
+
__metadata("design:paramtypes", [String]),
|
|
303
|
+
__metadata("design:returntype", Promise)
|
|
304
|
+
], PagesController.prototype, "duplicate", null);
|
|
305
|
+
__decorate([
|
|
306
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
307
|
+
(0, swagger_1.ApiOperation)({ summary: 'Update page access' }),
|
|
308
|
+
(0, common_1.Post)('pages/:pageId/access'),
|
|
309
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
310
|
+
__param(1, (0, common_1.Body)()),
|
|
311
|
+
__metadata("design:type", Function),
|
|
312
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
313
|
+
__metadata("design:returntype", Promise)
|
|
314
|
+
], PagesController.prototype, "updateAccess", null);
|
|
315
|
+
__decorate([
|
|
316
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
317
|
+
(0, swagger_1.ApiOperation)({ summary: 'Move page to another project' }),
|
|
318
|
+
(0, common_1.Post)('pages/:pageId/move'),
|
|
319
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
320
|
+
__param(1, (0, common_1.Body)()),
|
|
321
|
+
__metadata("design:type", Function),
|
|
322
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
323
|
+
__metadata("design:returntype", Promise)
|
|
324
|
+
], PagesController.prototype, "move", null);
|
|
325
|
+
__decorate([
|
|
326
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
327
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get page description binary' }),
|
|
328
|
+
(0, common_1.Get)('pages/:pageId/description'),
|
|
329
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
330
|
+
__param(1, (0, common_1.Res)()),
|
|
331
|
+
__metadata("design:type", Function),
|
|
332
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
333
|
+
__metadata("design:returntype", Promise)
|
|
334
|
+
], PagesController.prototype, "getDescriptionBinary", null);
|
|
335
|
+
__decorate([
|
|
336
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
337
|
+
(0, swagger_1.ApiOperation)({ summary: 'Update page description' }),
|
|
338
|
+
(0, common_1.Patch)('pages/:pageId/description'),
|
|
339
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
340
|
+
__param(1, (0, common_1.Body)()),
|
|
341
|
+
__metadata("design:type", Function),
|
|
342
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
343
|
+
__metadata("design:returntype", Promise)
|
|
344
|
+
], PagesController.prototype, "updateDescription", null);
|
|
345
|
+
__decorate([
|
|
346
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
347
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get page mentions' }),
|
|
348
|
+
(0, common_1.Get)('pages/:pageId/mentions'),
|
|
349
|
+
__param(0, (0, common_1.Param)('projectId')),
|
|
350
|
+
__metadata("design:type", Function),
|
|
351
|
+
__metadata("design:paramtypes", [String]),
|
|
352
|
+
__metadata("design:returntype", Promise)
|
|
353
|
+
], PagesController.prototype, "fetchUserMentions", null);
|
|
354
|
+
__decorate([
|
|
355
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
356
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get page versions' }),
|
|
357
|
+
(0, common_1.Get)('pages/:pageId/versions'),
|
|
358
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
359
|
+
__metadata("design:type", Function),
|
|
360
|
+
__metadata("design:paramtypes", [String]),
|
|
361
|
+
__metadata("design:returntype", Promise)
|
|
362
|
+
], PagesController.prototype, "fetchAllVersions", null);
|
|
363
|
+
__decorate([
|
|
364
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
365
|
+
(0, swagger_1.ApiOperation)({ summary: 'Get page version by ID' }),
|
|
366
|
+
(0, common_1.Get)('pages/:pageId/versions/:vId'),
|
|
367
|
+
__param(0, (0, common_1.Param)('vId')),
|
|
368
|
+
__metadata("design:type", Function),
|
|
369
|
+
__metadata("design:paramtypes", [String]),
|
|
370
|
+
__metadata("design:returntype", Promise)
|
|
371
|
+
], PagesController.prototype, "fetchVersionById", null);
|
|
372
|
+
__decorate([
|
|
373
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
374
|
+
(0, swagger_1.ApiOperation)({ summary: 'Restore page version' }),
|
|
375
|
+
(0, common_1.Post)('pages/:pageId/versions/:vId/restore'),
|
|
376
|
+
__param(0, (0, common_1.Param)('pageId')),
|
|
377
|
+
__param(1, (0, common_1.Param)('vId')),
|
|
378
|
+
__metadata("design:type", Function),
|
|
379
|
+
__metadata("design:paramtypes", [String, String]),
|
|
380
|
+
__metadata("design:returntype", Promise)
|
|
381
|
+
], PagesController.prototype, "restoreVersion", null);
|
|
382
|
+
exports.PagesController = PagesController = __decorate([
|
|
383
|
+
(0, swagger_1.ApiTags)('Pages'),
|
|
384
|
+
(0, common_1.Controller)('projects/:projectId'),
|
|
385
|
+
__metadata("design:paramtypes", [pages_service_1.PagesService])
|
|
386
|
+
], PagesController);
|
|
387
|
+
//# sourceMappingURL=pages.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages.controller.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/pages/pages.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAAwD;AACxD,2CAWwB;AAGxB,mDAA+C;AAC/C,+BAAqD;AAI9C,IAAM,eAAe,GAArB,MAAM,eAAe;IAC3B,YAA6B,aAA2B;QAA3B,kBAAa,GAAb,aAAa,CAAc;IAAG,CAAC;IAE5D;;;OAGG;IAIG,AAAN,KAAK,CAAC,OAAO,CAAqB,SAAa;QAC9C,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC9C,CAAC;IAED;;;OAGG;IAIG,AAAN,KAAK,CAAC,YAAY,CAAqB,SAAa;QACnD,OAAO,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IACnD,CAAC;IAED;;;OAGG;IAIG,AAAN,KAAK,CAAC,cAAc,CAAqB,SAAa;QACrD,OAAO,IAAI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AI,GAAE,CAAA;;;;wDAGP;AAQK;IAHL,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACvB,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC9C,IAAA,YAAG,EAAC,wBAAwB,CAAC;IACL,WAAA,IAAA,cAAK,EAAC,WAAW,CAAC,CAAA;;;;wDAE1C;AAUK;IAHL,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACvB,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC9C,IAAA,YAAG,EAAC,wBAAwB,CAAC;IACN,WAAA,IAAA,cAAK,EAAC,QAAQ,CAAC,CAAA;;;;uDAEtC;AAQK;IAHL,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACvB,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACnD,IAAA,YAAG,EAAC,6BAA6B,CAAC;IACX,WAAA,IAAA,cAAK,EAAC,KAAK,CAAC,CAAA;;;;uDAEnC;AAQK;IAHL,IAAA,iBAAQ,EAAC,mBAAU,CAAC,UAAU,CAAC;IAC/B,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC;IACjD,IAAA,aAAI,EAAC,qCAAqC,CAAC;IAE1C,WAAA,IAAA,cAAK,EAAC,QAAQ,CAAC,CAAA;IACf,WAAA,IAAA,cAAK,EAAC,KAAK,CAAC,CAAA;;;;qDAGb;0BAvQW,eAAe;IAF3B,IAAA,iBAAO,EAAC,OAAO,CAAC;IAChB,IAAA,mBAAU,EAAC,qBAAqB,CAAC;qCAEW,4BAAY;GAD5C,eAAe,CAwQ3B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.PagesModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const pages_service_1 = require("./pages.service");
|
|
12
|
+
const pages_controller_1 = require("./pages.controller");
|
|
13
|
+
let PagesModule = class PagesModule {
|
|
14
|
+
};
|
|
15
|
+
exports.PagesModule = PagesModule;
|
|
16
|
+
exports.PagesModule = PagesModule = __decorate([
|
|
17
|
+
(0, common_1.Module)({
|
|
18
|
+
providers: [pages_service_1.PagesService],
|
|
19
|
+
controllers: [pages_controller_1.PagesController],
|
|
20
|
+
exports: [pages_service_1.PagesService]
|
|
21
|
+
})
|
|
22
|
+
], PagesModule);
|
|
23
|
+
//# sourceMappingURL=pages.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages.module.js","sourceRoot":"","sources":["../../../../../../packages/plugin-plane/src/modules/pages/pages.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,mDAA+C;AAC/C,yDAAqD;AAO9C,IAAM,WAAW,GAAjB,MAAM,WAAW;CAAG,CAAA;AAAd,kCAAW;sBAAX,WAAW;IALvB,IAAA,eAAM,EAAC;QACP,SAAS,EAAE,CAAC,4BAAY,CAAC;QACzB,WAAW,EAAE,CAAC,kCAAe,CAAC;QAC9B,OAAO,EAAE,CAAC,4BAAY,CAAC;KACvB,CAAC;GACW,WAAW,CAAG"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { ID, IPage } from '@ever-gauzy/plugin-integration-plane-models';
|
|
2
|
+
import { ApiFetchService } from '../api-fetch/api-fetch.service';
|
|
3
|
+
import { CreatePageDTO, UpdatePageDTO } from './dto';
|
|
4
|
+
export declare class PagesService extends ApiFetchService {
|
|
5
|
+
private readonly _serverFetchService;
|
|
6
|
+
/** In-memory cache for the default HelpCenter category ID */
|
|
7
|
+
private static defaultCategoryId;
|
|
8
|
+
constructor(_serverFetchService: ApiFetchService);
|
|
9
|
+
private readonly path;
|
|
10
|
+
/**
|
|
11
|
+
* Get or lazily create a default "Pages" HelpCenter category.
|
|
12
|
+
* The ID is cached as a static property for the process lifetime.
|
|
13
|
+
* On restart, the existing category is found via GET and re-cached.
|
|
14
|
+
*/
|
|
15
|
+
private getOrCreateDefaultCategory;
|
|
16
|
+
/**
|
|
17
|
+
* List all pages, optionally filtered by project.
|
|
18
|
+
*/
|
|
19
|
+
findAll(projectId?: ID): Promise<IPage[]>;
|
|
20
|
+
/**
|
|
21
|
+
* List archived pages for a project.
|
|
22
|
+
*/
|
|
23
|
+
findArchived(projectId: ID): Promise<IPage[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Get a single page by ID.
|
|
26
|
+
*/
|
|
27
|
+
findOne(id: ID): Promise<IPage>;
|
|
28
|
+
/**
|
|
29
|
+
* Create a new page.
|
|
30
|
+
*/
|
|
31
|
+
create(input: CreatePageDTO, projectId?: ID): Promise<IPage>;
|
|
32
|
+
/**
|
|
33
|
+
* Update a page (content + metadata).
|
|
34
|
+
*/
|
|
35
|
+
update(id: ID, input: UpdatePageDTO): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete a page.
|
|
38
|
+
*/
|
|
39
|
+
delete(id: ID): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Archive a page (set archivedAt = now).
|
|
42
|
+
*/
|
|
43
|
+
archive(id: ID): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Unarchive a page (set archivedAt = null).
|
|
46
|
+
*/
|
|
47
|
+
unarchive(id: ID): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Lock a page.
|
|
50
|
+
*/
|
|
51
|
+
lock(id: ID): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Unlock a page.
|
|
54
|
+
*/
|
|
55
|
+
unlock(id: ID): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Duplicate a page.
|
|
58
|
+
*/
|
|
59
|
+
duplicate(id: ID): Promise<IPage>;
|
|
60
|
+
/**
|
|
61
|
+
* Get page description binary.
|
|
62
|
+
*/
|
|
63
|
+
getDescriptionBinary(id: ID): Promise<any>;
|
|
64
|
+
/**
|
|
65
|
+
* Update page description (supports binary/live editor).
|
|
66
|
+
*
|
|
67
|
+
* The live server sends `description_binary` as base64 and `description_html`/`description_json` as text.
|
|
68
|
+
* We split the update into two calls:
|
|
69
|
+
* 1. PUT :id/binary-description — raw octet-stream bytes → stored correctly as Uint8Array in Gauzy
|
|
70
|
+
* 2. PUT :id — JSON body for description_html and description_json
|
|
71
|
+
*
|
|
72
|
+
* This avoids JSON-serialization issues (Buffer → JSON → Uint8Array doesn't work reliably).
|
|
73
|
+
*/
|
|
74
|
+
updateDescription(id: ID, payload: any): Promise<any>;
|
|
75
|
+
/**
|
|
76
|
+
* Update page access.
|
|
77
|
+
*/
|
|
78
|
+
updateAccess(id: ID, access: string): Promise<void>;
|
|
79
|
+
/**
|
|
80
|
+
* Move page to another project.
|
|
81
|
+
*/
|
|
82
|
+
move(id: ID, newProjectId: ID): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Fetch all versions of a page.
|
|
85
|
+
*/
|
|
86
|
+
fetchAllVersions(id: ID): Promise<any[]>;
|
|
87
|
+
/**
|
|
88
|
+
* Fetch a specific version by ID.
|
|
89
|
+
*/
|
|
90
|
+
fetchVersionById(vId: ID): Promise<any>;
|
|
91
|
+
/**
|
|
92
|
+
* Restore a page to a specific version.
|
|
93
|
+
*/
|
|
94
|
+
restoreVersion(id: ID, vId: ID): Promise<void>;
|
|
95
|
+
/**
|
|
96
|
+
* Fetch favorite pages for a project.
|
|
97
|
+
* (Note: Mapping to Gauzy favorites if available, or empty for now)
|
|
98
|
+
*/
|
|
99
|
+
fetchFavorites(projectId: ID): Promise<IPage[]>;
|
|
100
|
+
/**
|
|
101
|
+
* Add page to favorites.
|
|
102
|
+
*/
|
|
103
|
+
addToFavorites(id: ID): Promise<void>;
|
|
104
|
+
/**
|
|
105
|
+
* Remove page from favorites.
|
|
106
|
+
*/
|
|
107
|
+
removeFromFavorites(id: ID): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Fetch user mentions for a page.
|
|
110
|
+
*/
|
|
111
|
+
fetchUserMentions(projectId: ID): Promise<any[]>;
|
|
112
|
+
}
|