@abyss-project/tools 1.0.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/.eslintrc.js +33 -0
- package/.prettierrc +5 -0
- package/dist/api/abyss.admin.api.d.ts +7 -0
- package/dist/api/abyss.admin.api.js +28 -0
- package/dist/api/atlas-document.api.d.ts +6 -0
- package/dist/api/atlas-document.api.js +26 -0
- package/dist/api/atlas-group.api.d.ts +6 -0
- package/dist/api/atlas-group.api.js +24 -0
- package/dist/api/atlas-page-content.api.d.ts +0 -0
- package/dist/api/atlas-page-content.api.js +1 -0
- package/dist/api/atlas-page.api.d.ts +10 -0
- package/dist/api/atlas-page.api.js +46 -0
- package/dist/api/atlas.api.d.ts +8 -0
- package/dist/api/atlas.api.js +35 -0
- package/dist/api/atlas.public.api.d.ts +4 -0
- package/dist/api/atlas.public.api.js +18 -0
- package/dist/api/board-card-checklist.api.d.ts +8 -0
- package/dist/api/board-card-checklist.api.js +32 -0
- package/dist/api/board-card-comment.api.d.ts +5 -0
- package/dist/api/board-card-comment.api.js +20 -0
- package/dist/api/board-card-document.api.d.ts +5 -0
- package/dist/api/board-card-document.api.js +20 -0
- package/dist/api/board-card.api.d.ts +11 -0
- package/dist/api/board-card.api.js +48 -0
- package/dist/api/board-column.api.d.ts +5 -0
- package/dist/api/board-column.api.js +20 -0
- package/dist/api/board-label.api.d.ts +8 -0
- package/dist/api/board-label.api.js +33 -0
- package/dist/api/board.api.d.ts +12 -0
- package/dist/api/board.api.js +41 -0
- package/dist/api/draw.api.d.ts +8 -0
- package/dist/api/draw.api.js +36 -0
- package/dist/api/draw.public.api.d.ts +5 -0
- package/dist/api/draw.public.api.js +20 -0
- package/dist/api/index.d.ts +26 -0
- package/dist/api/index.js +42 -0
- package/dist/api/memo.api.d.ts +8 -0
- package/dist/api/memo.api.js +36 -0
- package/dist/api/metrics.api.d.ts +2 -0
- package/dist/api/metrics.api.js +8 -0
- package/dist/api/retrospective-card.api.d.ts +6 -0
- package/dist/api/retrospective-card.api.js +26 -0
- package/dist/api/retrospective-member.api.d.ts +5 -0
- package/dist/api/retrospective-member.api.js +20 -0
- package/dist/api/retrospective-section.api.d.ts +6 -0
- package/dist/api/retrospective-section.api.js +26 -0
- package/dist/api/retrospective.api.d.ts +8 -0
- package/dist/api/retrospective.api.js +34 -0
- package/dist/api/retrospective.public.api.d.ts +11 -0
- package/dist/api/retrospective.public.api.js +44 -0
- package/dist/api/short-link.admin.api.d.ts +7 -0
- package/dist/api/short-link.admin.api.js +22 -0
- package/dist/api/short-link.api.d.ts +12 -0
- package/dist/api/short-link.api.js +48 -0
- package/dist/api/short-link.public.api.d.ts +8 -0
- package/dist/api/short-link.public.api.js +32 -0
- package/dist/api/user-tag.api.d.ts +9 -0
- package/dist/api/user-tag.api.js +36 -0
- package/dist/constants/atlas.constants.d.ts +2 -0
- package/dist/constants/atlas.constants.js +5 -0
- package/dist/constants/board.constants.d.ts +5 -0
- package/dist/constants/board.constants.js +8 -0
- package/dist/constants/index.d.ts +5 -0
- package/dist/constants/index.js +21 -0
- package/dist/constants/memo.constants.d.ts +3 -0
- package/dist/constants/memo.constants.js +6 -0
- package/dist/constants/short-link.constants.d.ts +8 -0
- package/dist/constants/short-link.constants.js +11 -0
- package/dist/constants/user-tag.constants.d.ts +3 -0
- package/dist/constants/user-tag.constants.js +6 -0
- package/dist/index.d.ts +262 -0
- package/dist/index.js +341 -0
- package/dist/server-sent-events/index.d.ts +10 -0
- package/dist/server-sent-events/index.js +28 -0
- package/dist/server-sent-events/protocols/atlas/atlas.sse-protocol.d.ts +74 -0
- package/dist/server-sent-events/protocols/atlas/atlas.sse-protocol.js +21 -0
- package/dist/server-sent-events/protocols/atlas/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/atlas/index.js +17 -0
- package/dist/server-sent-events/protocols/board/board.sse-protocol.d.ts +91 -0
- package/dist/server-sent-events/protocols/board/board.sse-protocol.js +23 -0
- package/dist/server-sent-events/protocols/board/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/board/index.js +17 -0
- package/dist/server-sent-events/protocols/board-card/board-card.sse-protocol.d.ts +18 -0
- package/dist/server-sent-events/protocols/board-card/board-card.sse-protocol.js +11 -0
- package/dist/server-sent-events/protocols/board-card/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/board-card/index.js +17 -0
- package/dist/server-sent-events/protocols/index.d.ts +20 -0
- package/dist/server-sent-events/protocols/index.js +29 -0
- package/dist/server-sent-events/protocols/retrospective/index.d.ts +1 -0
- package/dist/server-sent-events/protocols/retrospective/index.js +17 -0
- package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.d.ts +69 -0
- package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.js +21 -0
- package/dist/server-sent-events/server-sent-events.manager.d.ts +23 -0
- package/dist/server-sent-events/server-sent-events.manager.js +59 -0
- package/dist/types/draw.type.d.ts +132 -0
- package/dist/types/draw.type.js +15 -0
- package/dist/types/enum/api-error.enum.d.ts +21 -0
- package/dist/types/enum/api-error.enum.js +26 -0
- package/dist/types/enum/board-activity.enum.d.ts +170 -0
- package/dist/types/enum/board-activity.enum.js +37 -0
- package/dist/types/enum/board-column-type.enum.d.ts +6 -0
- package/dist/types/enum/board-column-type.enum.js +10 -0
- package/dist/types/enum/index.d.ts +3 -0
- package/dist/types/enum/index.js +19 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.js +19 -0
- package/dist/types/interface/api/index.d.ts +5 -0
- package/dist/types/interface/api/index.js +21 -0
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +14 -0
- package/dist/types/interface/api/requests/abyss.admin.request.js +2 -0
- package/dist/types/interface/api/requests/atlas-document.request.d.ts +26 -0
- package/dist/types/interface/api/requests/atlas-document.request.js +2 -0
- package/dist/types/interface/api/requests/atlas-group.request.d.ts +40 -0
- package/dist/types/interface/api/requests/atlas-group.request.js +2 -0
- package/dist/types/interface/api/requests/atlas-page.request.d.ts +72 -0
- package/dist/types/interface/api/requests/atlas-page.request.js +2 -0
- package/dist/types/interface/api/requests/atlas.public.request.d.ts +18 -0
- package/dist/types/interface/api/requests/atlas.public.request.js +2 -0
- package/dist/types/interface/api/requests/atlas.request.d.ts +33 -0
- package/dist/types/interface/api/requests/atlas.request.js +2 -0
- package/dist/types/interface/api/requests/board-card-checklist.request.d.ts +55 -0
- package/dist/types/interface/api/requests/board-card-checklist.request.js +2 -0
- package/dist/types/interface/api/requests/board-card-comment.request.d.ts +25 -0
- package/dist/types/interface/api/requests/board-card-comment.request.js +2 -0
- package/dist/types/interface/api/requests/board-card-document.request.d.ts +25 -0
- package/dist/types/interface/api/requests/board-card-document.request.js +2 -0
- package/dist/types/interface/api/requests/board-card.request.d.ts +77 -0
- package/dist/types/interface/api/requests/board-card.request.js +2 -0
- package/dist/types/interface/api/requests/board-column.request.d.ts +26 -0
- package/dist/types/interface/api/requests/board-column.request.js +2 -0
- package/dist/types/interface/api/requests/board-label.request.d.ts +36 -0
- package/dist/types/interface/api/requests/board-label.request.js +2 -0
- package/dist/types/interface/api/requests/board.request.d.ts +25 -0
- package/dist/types/interface/api/requests/board.request.js +2 -0
- package/dist/types/interface/api/requests/draw.public.request.d.ts +17 -0
- package/dist/types/interface/api/requests/draw.public.request.js +2 -0
- package/dist/types/interface/api/requests/draw.request.d.ts +31 -0
- package/dist/types/interface/api/requests/draw.request.js +2 -0
- package/dist/types/interface/api/requests/index.d.ts +26 -0
- package/dist/types/interface/api/requests/index.js +42 -0
- package/dist/types/interface/api/requests/memo.request.d.ts +29 -0
- package/dist/types/interface/api/requests/memo.request.js +2 -0
- package/dist/types/interface/api/requests/metrics.request.d.ts +3 -0
- package/dist/types/interface/api/requests/metrics.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective-card.request.d.ts +32 -0
- package/dist/types/interface/api/requests/retrospective-card.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective-member.request.d.ts +17 -0
- package/dist/types/interface/api/requests/retrospective-member.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective-section.request.d.ts +36 -0
- package/dist/types/interface/api/requests/retrospective-section.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective.public.request.d.ts +71 -0
- package/dist/types/interface/api/requests/retrospective.public.request.js +2 -0
- package/dist/types/interface/api/requests/retrospective.request.d.ts +39 -0
- package/dist/types/interface/api/requests/retrospective.request.js +2 -0
- package/dist/types/interface/api/requests/short-link.admin.request.d.ts +29 -0
- package/dist/types/interface/api/requests/short-link.admin.request.js +2 -0
- package/dist/types/interface/api/requests/short-link.public.request.d.ts +33 -0
- package/dist/types/interface/api/requests/short-link.public.request.js +2 -0
- package/dist/types/interface/api/requests/short-link.request.d.ts +47 -0
- package/dist/types/interface/api/requests/short-link.request.js +2 -0
- package/dist/types/interface/api/requests/user-tag.request.d.ts +37 -0
- package/dist/types/interface/api/requests/user-tag.request.js +2 -0
- package/dist/types/interface/api/responses/abyss.admin.response.d.ts +14 -0
- package/dist/types/interface/api/responses/abyss.admin.response.js +2 -0
- package/dist/types/interface/api/responses/atlas-document.response.d.ts +19 -0
- package/dist/types/interface/api/responses/atlas-document.response.js +2 -0
- package/dist/types/interface/api/responses/atlas-group.response.d.ts +19 -0
- package/dist/types/interface/api/responses/atlas-group.response.js +2 -0
- package/dist/types/interface/api/responses/atlas-page.response.d.ts +44 -0
- package/dist/types/interface/api/responses/atlas-page.response.js +2 -0
- package/dist/types/interface/api/responses/atlas.public.response.d.ts +18 -0
- package/dist/types/interface/api/responses/atlas.public.response.js +2 -0
- package/dist/types/interface/api/responses/atlas.response.d.ts +19 -0
- package/dist/types/interface/api/responses/atlas.response.js +2 -0
- package/dist/types/interface/api/responses/board-card-checklist.response.d.ts +27 -0
- package/dist/types/interface/api/responses/board-card-checklist.response.js +2 -0
- package/dist/types/interface/api/responses/board-card-comment.response.d.ts +17 -0
- package/dist/types/interface/api/responses/board-card-comment.response.js +2 -0
- package/dist/types/interface/api/responses/board-card-document.response.d.ts +20 -0
- package/dist/types/interface/api/responses/board-card-document.response.js +2 -0
- package/dist/types/interface/api/responses/board-card.response.d.ts +47 -0
- package/dist/types/interface/api/responses/board-card.response.js +2 -0
- package/dist/types/interface/api/responses/board-column.response.d.ts +17 -0
- package/dist/types/interface/api/responses/board-column.response.js +2 -0
- package/dist/types/interface/api/responses/board-label.response.d.ts +30 -0
- package/dist/types/interface/api/responses/board-label.response.js +2 -0
- package/dist/types/interface/api/responses/board.response.d.ts +59 -0
- package/dist/types/interface/api/responses/board.response.js +2 -0
- package/dist/types/interface/api/responses/draw.public.response.d.ts +17 -0
- package/dist/types/interface/api/responses/draw.public.response.js +2 -0
- package/dist/types/interface/api/responses/draw.response.d.ts +19 -0
- package/dist/types/interface/api/responses/draw.response.js +2 -0
- package/dist/types/interface/api/responses/index.d.ts +26 -0
- package/dist/types/interface/api/responses/index.js +42 -0
- package/dist/types/interface/api/responses/memo.response.d.ts +19 -0
- package/dist/types/interface/api/responses/memo.response.js +2 -0
- package/dist/types/interface/api/responses/metrics.response.d.ts +13 -0
- package/dist/types/interface/api/responses/metrics.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective-card.response.d.ts +19 -0
- package/dist/types/interface/api/responses/retrospective-card.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective-member.response.d.ts +18 -0
- package/dist/types/interface/api/responses/retrospective-member.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective-section.response.d.ts +19 -0
- package/dist/types/interface/api/responses/retrospective-section.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective.public.response.d.ts +36 -0
- package/dist/types/interface/api/responses/retrospective.public.response.js +2 -0
- package/dist/types/interface/api/responses/retrospective.response.d.ts +19 -0
- package/dist/types/interface/api/responses/retrospective.response.js +2 -0
- package/dist/types/interface/api/responses/short-link.admin.response.d.ts +17 -0
- package/dist/types/interface/api/responses/short-link.admin.response.js +2 -0
- package/dist/types/interface/api/responses/short-link.public.response.d.ts +21 -0
- package/dist/types/interface/api/responses/short-link.public.response.js +2 -0
- package/dist/types/interface/api/responses/short-link.response.d.ts +25 -0
- package/dist/types/interface/api/responses/short-link.response.js +2 -0
- package/dist/types/interface/api/responses/user-tag.response.d.ts +32 -0
- package/dist/types/interface/api/responses/user-tag.response.js +2 -0
- package/dist/types/interface/api/type-message/api-error.d.ts +6 -0
- package/dist/types/interface/api/type-message/api-error.js +2 -0
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -0
- package/dist/types/interface/api/type-message/base-paginate.js +2 -0
- package/dist/types/interface/api/type-message/response.d.ts +5 -0
- package/dist/types/interface/api/type-message/response.js +2 -0
- package/dist/types/interface/index.d.ts +2 -0
- package/dist/types/interface/index.js +18 -0
- package/dist/types/interface/models/atlas-document.dto.d.ts +19 -0
- package/dist/types/interface/models/atlas-document.dto.js +2 -0
- package/dist/types/interface/models/atlas-group.dto.d.ts +18 -0
- package/dist/types/interface/models/atlas-group.dto.js +2 -0
- package/dist/types/interface/models/atlas-page-content.dto.d.ts +14 -0
- package/dist/types/interface/models/atlas-page-content.dto.js +2 -0
- package/dist/types/interface/models/atlas-page.dto.d.ts +23 -0
- package/dist/types/interface/models/atlas-page.dto.js +2 -0
- package/dist/types/interface/models/atlas.dto.d.ts +30 -0
- package/dist/types/interface/models/atlas.dto.js +2 -0
- package/dist/types/interface/models/board-activity.dto.d.ts +17 -0
- package/dist/types/interface/models/board-activity.dto.js +2 -0
- package/dist/types/interface/models/board-card-checklist-row.dto.d.ts +11 -0
- package/dist/types/interface/models/board-card-checklist-row.dto.js +2 -0
- package/dist/types/interface/models/board-card-checklist.dto.d.ts +13 -0
- package/dist/types/interface/models/board-card-checklist.dto.js +2 -0
- package/dist/types/interface/models/board-card-comment.dto.d.ts +12 -0
- package/dist/types/interface/models/board-card-comment.dto.js +2 -0
- package/dist/types/interface/models/board-card-document.dto.d.ts +19 -0
- package/dist/types/interface/models/board-card-document.dto.js +2 -0
- package/dist/types/interface/models/board-card-label.dto.d.ts +11 -0
- package/dist/types/interface/models/board-card-label.dto.js +2 -0
- package/dist/types/interface/models/board-card-member.dto.d.ts +11 -0
- package/dist/types/interface/models/board-card-member.dto.js +2 -0
- package/dist/types/interface/models/board-card.dto.d.ts +34 -0
- package/dist/types/interface/models/board-card.dto.js +2 -0
- package/dist/types/interface/models/board-column.dto.d.ts +14 -0
- package/dist/types/interface/models/board-column.dto.js +2 -0
- package/dist/types/interface/models/board-label.dto.d.ts +10 -0
- package/dist/types/interface/models/board-label.dto.js +2 -0
- package/dist/types/interface/models/board.dto.d.ts +29 -0
- package/dist/types/interface/models/board.dto.js +2 -0
- package/dist/types/interface/models/draw.dto.d.ts +25 -0
- package/dist/types/interface/models/draw.dto.js +2 -0
- package/dist/types/interface/models/index.d.ts +28 -0
- package/dist/types/interface/models/index.js +44 -0
- package/dist/types/interface/models/memo.dto.d.ts +19 -0
- package/dist/types/interface/models/memo.dto.js +2 -0
- package/dist/types/interface/models/organization.dto.d.ts +9 -0
- package/dist/types/interface/models/organization.dto.js +2 -0
- package/dist/types/interface/models/project.dto.d.ts +22 -0
- package/dist/types/interface/models/project.dto.js +2 -0
- package/dist/types/interface/models/retrospective-card.dto.d.ts +14 -0
- package/dist/types/interface/models/retrospective-card.dto.js +2 -0
- package/dist/types/interface/models/retrospective-member.dto.d.ts +12 -0
- package/dist/types/interface/models/retrospective-member.dto.js +2 -0
- package/dist/types/interface/models/retrospective-section.dto.d.ts +13 -0
- package/dist/types/interface/models/retrospective-section.dto.js +2 -0
- package/dist/types/interface/models/retrospective.dto.d.ts +29 -0
- package/dist/types/interface/models/retrospective.dto.js +2 -0
- package/dist/types/interface/models/short-link-click.dto.d.ts +30 -0
- package/dist/types/interface/models/short-link-click.dto.js +2 -0
- package/dist/types/interface/models/short-link.dto.d.ts +71 -0
- package/dist/types/interface/models/short-link.dto.js +2 -0
- package/dist/types/interface/models/user-tag.dto.d.ts +22 -0
- package/dist/types/interface/models/user-tag.dto.js +2 -0
- package/dist/types/interface/models/user.dto.d.ts +23 -0
- package/dist/types/interface/models/user.dto.js +2 -0
- package/dist/utils/board.utils.d.ts +5 -0
- package/dist/utils/board.utils.js +39 -0
- package/dist/utils/enum.utils.d.ts +1 -0
- package/dist/utils/enum.utils.js +9 -0
- package/dist/utils/error.utils.d.ts +15 -0
- package/dist/utils/error.utils.js +24 -0
- package/dist/utils/icons.utils.d.ts +75 -0
- package/dist/utils/icons.utils.js +86 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.js +21 -0
- package/dist/utils/shape.utils.d.ts +26 -0
- package/dist/utils/shape.utils.js +181 -0
- package/package.json +53 -0
- package/src/api/abyss.admin.api.ts +60 -0
- package/src/api/atlas-document.api.ts +68 -0
- package/src/api/atlas-group.api.ts +69 -0
- package/src/api/atlas-page-content.api.ts +0 -0
- package/src/api/atlas-page.api.ts +124 -0
- package/src/api/atlas.api.ts +65 -0
- package/src/api/atlas.public.api.ts +42 -0
- package/src/api/board-card-checklist.api.ts +99 -0
- package/src/api/board-card-comment.api.ts +57 -0
- package/src/api/board-card-document.api.ts +57 -0
- package/src/api/board-card.api.ts +137 -0
- package/src/api/board-column.api.ts +54 -0
- package/src/api/board-label.api.ts +87 -0
- package/src/api/board.api.ts +67 -0
- package/src/api/draw.api.ts +58 -0
- package/src/api/draw.public.api.ts +48 -0
- package/src/api/index.ts +43 -0
- package/src/api/memo.api.ts +59 -0
- package/src/api/metrics.api.ts +15 -0
- package/src/api/retrospective-card.api.ts +74 -0
- package/src/api/retrospective-member.api.ts +54 -0
- package/src/api/retrospective-section.api.ts +74 -0
- package/src/api/retrospective.api.ts +86 -0
- package/src/api/retrospective.public.api.ts +147 -0
- package/src/api/short-link.admin.api.ts +39 -0
- package/src/api/short-link.api.ts +90 -0
- package/src/api/short-link.public.api.ts +60 -0
- package/src/api/user-tag.api.ts +70 -0
- package/src/constants/atlas.constants.ts +2 -0
- package/src/constants/board.constants.ts +7 -0
- package/src/constants/index.ts +5 -0
- package/src/constants/memo.constants.ts +3 -0
- package/src/constants/short-link.constants.ts +11 -0
- package/src/constants/user-tag.constants.ts +3 -0
- package/src/index.ts +541 -0
- package/src/server-sent-events/index.ts +13 -0
- package/src/server-sent-events/protocols/atlas/atlas.sse-protocol.ts +90 -0
- package/src/server-sent-events/protocols/atlas/index.ts +1 -0
- package/src/server-sent-events/protocols/board/board.sse-protocol.ts +115 -0
- package/src/server-sent-events/protocols/board/index.ts +1 -0
- package/src/server-sent-events/protocols/board-card/board-card.sse-protocol.ts +26 -0
- package/src/server-sent-events/protocols/board-card/index.ts +1 -0
- package/src/server-sent-events/protocols/index.ts +26 -0
- package/src/server-sent-events/protocols/retrospective/index.ts +1 -0
- package/src/server-sent-events/protocols/retrospective/retrospective.sse-protocol.ts +92 -0
- package/src/server-sent-events/server-sent-events.manager.ts +73 -0
- package/src/types/draw.type.ts +173 -0
- package/src/types/enum/api-error.enum.ts +23 -0
- package/src/types/enum/board-activity.enum.ts +189 -0
- package/src/types/enum/board-column-type.enum.ts +6 -0
- package/src/types/enum/index.ts +3 -0
- package/src/types/index.ts +5 -0
- package/src/types/interface/api/index.ts +5 -0
- package/src/types/interface/api/requests/abyss.admin.request.ts +16 -0
- package/src/types/interface/api/requests/atlas-document.request.ts +32 -0
- package/src/types/interface/api/requests/atlas-group.request.ts +45 -0
- package/src/types/interface/api/requests/atlas-page.request.ts +84 -0
- package/src/types/interface/api/requests/atlas.public.request.ts +21 -0
- package/src/types/interface/api/requests/atlas.request.ts +40 -0
- package/src/types/interface/api/requests/board-card-checklist.request.ts +61 -0
- package/src/types/interface/api/requests/board-card-comment.request.ts +28 -0
- package/src/types/interface/api/requests/board-card-document.request.ts +29 -0
- package/src/types/interface/api/requests/board-card.request.ts +86 -0
- package/src/types/interface/api/requests/board-column.request.ts +30 -0
- package/src/types/interface/api/requests/board-label.request.ts +42 -0
- package/src/types/interface/api/requests/board.request.ts +30 -0
- package/src/types/interface/api/requests/draw.public.request.ts +20 -0
- package/src/types/interface/api/requests/draw.request.ts +37 -0
- package/src/types/interface/api/requests/index.ts +26 -0
- package/src/types/interface/api/requests/memo.request.ts +35 -0
- package/src/types/interface/api/requests/metrics.request.ts +3 -0
- package/src/types/interface/api/requests/retrospective-card.request.ts +38 -0
- package/src/types/interface/api/requests/retrospective-member.request.ts +20 -0
- package/src/types/interface/api/requests/retrospective-section.request.ts +43 -0
- package/src/types/interface/api/requests/retrospective.public.request.ts +84 -0
- package/src/types/interface/api/requests/retrospective.request.ts +46 -0
- package/src/types/interface/api/requests/short-link.admin.request.ts +35 -0
- package/src/types/interface/api/requests/short-link.public.request.ts +40 -0
- package/src/types/interface/api/requests/short-link.request.ts +57 -0
- package/src/types/interface/api/requests/user-tag.request.ts +45 -0
- package/src/types/interface/api/responses/abyss.admin.response.ts +17 -0
- package/src/types/interface/api/responses/atlas-document.response.ts +24 -0
- package/src/types/interface/api/responses/atlas-group.response.ts +23 -0
- package/src/types/interface/api/responses/atlas-page.response.ts +53 -0
- package/src/types/interface/api/responses/atlas.public.response.ts +21 -0
- package/src/types/interface/api/responses/atlas.response.ts +23 -0
- package/src/types/interface/api/responses/board-card-checklist.response.ts +31 -0
- package/src/types/interface/api/responses/board-card-comment.response.ts +20 -0
- package/src/types/interface/api/responses/board-card-document.response.ts +21 -0
- package/src/types/interface/api/responses/board-card.response.ts +55 -0
- package/src/types/interface/api/responses/board-column.response.ts +20 -0
- package/src/types/interface/api/responses/board-label.response.ts +31 -0
- package/src/types/interface/api/responses/board.response.ts +68 -0
- package/src/types/interface/api/responses/draw.public.response.ts +20 -0
- package/src/types/interface/api/responses/draw.response.ts +23 -0
- package/src/types/interface/api/responses/index.ts +26 -0
- package/src/types/interface/api/responses/memo.response.ts +23 -0
- package/src/types/interface/api/responses/metrics.response.ts +16 -0
- package/src/types/interface/api/responses/retrospective-card.response.ts +23 -0
- package/src/types/interface/api/responses/retrospective-member.response.ts +22 -0
- package/src/types/interface/api/responses/retrospective-section.response.ts +23 -0
- package/src/types/interface/api/responses/retrospective.public.response.ts +57 -0
- package/src/types/interface/api/responses/retrospective.response.ts +23 -0
- package/src/types/interface/api/responses/short-link.admin.response.ts +21 -0
- package/src/types/interface/api/responses/short-link.public.response.ts +26 -0
- package/src/types/interface/api/responses/short-link.response.ts +31 -0
- package/src/types/interface/api/responses/user-tag.response.ts +38 -0
- package/src/types/interface/api/type-message/api-error.ts +7 -0
- package/src/types/interface/api/type-message/base-paginate.ts +11 -0
- package/src/types/interface/api/type-message/response.ts +6 -0
- package/src/types/interface/index.ts +2 -0
- package/src/types/interface/models/atlas-document.dto.ts +22 -0
- package/src/types/interface/models/atlas-group.dto.ts +21 -0
- package/src/types/interface/models/atlas-page-content.dto.ts +17 -0
- package/src/types/interface/models/atlas-page.dto.ts +26 -0
- package/src/types/interface/models/atlas.dto.ts +34 -0
- package/src/types/interface/models/board-activity.dto.ts +20 -0
- package/src/types/interface/models/board-card-checklist-row.dto.ts +14 -0
- package/src/types/interface/models/board-card-checklist.dto.ts +16 -0
- package/src/types/interface/models/board-card-comment.dto.ts +15 -0
- package/src/types/interface/models/board-card-document.dto.ts +22 -0
- package/src/types/interface/models/board-card-label.dto.ts +14 -0
- package/src/types/interface/models/board-card-member.dto.ts +14 -0
- package/src/types/interface/models/board-card.dto.ts +37 -0
- package/src/types/interface/models/board-column.dto.ts +17 -0
- package/src/types/interface/models/board-label.dto.ts +13 -0
- package/src/types/interface/models/board.dto.ts +32 -0
- package/src/types/interface/models/draw.dto.ts +28 -0
- package/src/types/interface/models/index.ts +28 -0
- package/src/types/interface/models/memo.dto.ts +22 -0
- package/src/types/interface/models/organization.dto.ts +12 -0
- package/src/types/interface/models/project.dto.ts +25 -0
- package/src/types/interface/models/retrospective-card.dto.ts +17 -0
- package/src/types/interface/models/retrospective-member.dto.ts +15 -0
- package/src/types/interface/models/retrospective-section.dto.ts +16 -0
- package/src/types/interface/models/retrospective.dto.ts +32 -0
- package/src/types/interface/models/short-link-click.dto.ts +33 -0
- package/src/types/interface/models/short-link.dto.ts +48 -0
- package/src/types/interface/models/user-tag.dto.ts +26 -0
- package/src/types/interface/models/user.dto.ts +26 -0
- package/src/utils/board.utils.ts +57 -0
- package/src/utils/enum.utils.ts +6 -0
- package/src/utils/error.utils.ts +30 -0
- package/src/utils/icons.utils.ts +96 -0
- package/src/utils/index.ts +5 -0
- package/src/utils/shape.utils.ts +296 -0
- package/tsconfig.json +24 -0
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
export enum BoardActivityType {
|
|
2
|
+
CARD_CREATE = 'CARD_CREATE',
|
|
3
|
+
CARD_UPDATE = 'CARD_UPDATE',
|
|
4
|
+
CARD_ARCHIVE = 'CARD_ARCHIVE',
|
|
5
|
+
CARD_RESTORE = 'CARD_RESTORE',
|
|
6
|
+
CARD_MOVE_COLUMN = 'CARD_MOVE_COLUMN',
|
|
7
|
+
CARD_MOVE_BOARD = 'CARD_MOVE_BOARD',
|
|
8
|
+
|
|
9
|
+
COLUMN_CREATE = 'COLUMN_CREATE',
|
|
10
|
+
COLUMN_UPDATE = 'COLUMN_UPDATE',
|
|
11
|
+
COLUMN_DELETE = 'COLUMN_DELETE',
|
|
12
|
+
|
|
13
|
+
COMMENT_CREATE = 'COMMENT_CREATE',
|
|
14
|
+
COMMENT_UPDATE = 'COMMENT_UPDATE',
|
|
15
|
+
COMMENT_DELETE = 'COMMENT_DELETE',
|
|
16
|
+
|
|
17
|
+
LABEL_CREATE = 'LABEL_CREATE',
|
|
18
|
+
LABEL_DELETE = 'LABEL_DELETE',
|
|
19
|
+
LABEL_UPDATE = 'LABEL_UPDATE',
|
|
20
|
+
LABEL_ADD = 'LABEL_ADD',
|
|
21
|
+
LABEL_REMOVE = 'LABEL_REMOVE',
|
|
22
|
+
|
|
23
|
+
MEMBER_ADD = 'MEMBER_ADD',
|
|
24
|
+
MEMBER_REMOVE = 'MEMBER_REMOVE',
|
|
25
|
+
|
|
26
|
+
CHECKLIST_CREATE = 'CHECKLIST_CREATE',
|
|
27
|
+
CHECKLIST_UPDATE = 'CHECKLIST_UPDATE',
|
|
28
|
+
CHECKLIST_DELETE = 'CHECKLIST_DELETE',
|
|
29
|
+
CHECKLIST_ITEM_ADD = 'CHECKLIST_ITEM_ADD',
|
|
30
|
+
CHECKLIST_ITEM_UPDATE = 'CHECKLIST_ITEM_UPDATE',
|
|
31
|
+
CHECKLIST_ITEM_DELETE = 'CHECKLIST_ITEM_DELETE',
|
|
32
|
+
|
|
33
|
+
DOCUMENT_ADD = 'DOCUMENT_ADD',
|
|
34
|
+
DOCUMENT_REMOVE = 'DOCUMENT_REMOVE',
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type ValueOf<T> = T[keyof T];
|
|
38
|
+
|
|
39
|
+
export type BoardActivityDataContent = ValueOf<
|
|
40
|
+
{
|
|
41
|
+
[K in BoardActivityType]: {
|
|
42
|
+
type: K;
|
|
43
|
+
payload: BoardActivityData[K];
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
>;
|
|
47
|
+
|
|
48
|
+
export class BoardActivityData
|
|
49
|
+
implements Record<BoardActivityType, Record<string, string | number | Date | boolean>>
|
|
50
|
+
{
|
|
51
|
+
[BoardActivityType.CARD_CREATE]!: {
|
|
52
|
+
boardCardName: string;
|
|
53
|
+
boardCardId: string;
|
|
54
|
+
boardColumnName: string;
|
|
55
|
+
boardColumnId: string;
|
|
56
|
+
};
|
|
57
|
+
[BoardActivityType.CARD_UPDATE]!: {
|
|
58
|
+
boardCardName: string;
|
|
59
|
+
boardCardId: string;
|
|
60
|
+
};
|
|
61
|
+
[BoardActivityType.CARD_ARCHIVE]!: {
|
|
62
|
+
boardCardId: string;
|
|
63
|
+
};
|
|
64
|
+
[BoardActivityType.CARD_RESTORE]!: {
|
|
65
|
+
boardCardId: string;
|
|
66
|
+
};
|
|
67
|
+
[BoardActivityType.CARD_MOVE_COLUMN]!: {
|
|
68
|
+
boardCardName: string;
|
|
69
|
+
boardCardId: string;
|
|
70
|
+
toBoardColumnId: string;
|
|
71
|
+
toBoardColumnName: string;
|
|
72
|
+
};
|
|
73
|
+
[BoardActivityType.CARD_MOVE_BOARD]!: {
|
|
74
|
+
boardCardName: string;
|
|
75
|
+
boardCardId: string;
|
|
76
|
+
toBoardColumnId: string;
|
|
77
|
+
toBoardColumnName: string;
|
|
78
|
+
toBoardId: string;
|
|
79
|
+
toBoardName: string;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
[BoardActivityType.COLUMN_CREATE]!: {
|
|
83
|
+
boardColumnName: string;
|
|
84
|
+
boardColumnId: string;
|
|
85
|
+
};
|
|
86
|
+
[BoardActivityType.COLUMN_UPDATE]!: {
|
|
87
|
+
boardColumnName: string;
|
|
88
|
+
boardColumnId: string;
|
|
89
|
+
};
|
|
90
|
+
[BoardActivityType.COLUMN_DELETE]!: {
|
|
91
|
+
boardColumnId: string;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
[BoardActivityType.COMMENT_CREATE]!: {
|
|
95
|
+
boardCardCommentId: string;
|
|
96
|
+
boardCardId: string;
|
|
97
|
+
};
|
|
98
|
+
[BoardActivityType.COMMENT_UPDATE]!: {
|
|
99
|
+
boardCardCommentId: string;
|
|
100
|
+
fromBoardCardCommentContent: string;
|
|
101
|
+
toBoardCardCommentContent: string;
|
|
102
|
+
boardCardId: string;
|
|
103
|
+
};
|
|
104
|
+
[BoardActivityType.COMMENT_DELETE]!: {
|
|
105
|
+
boardCardCommentId: string;
|
|
106
|
+
boardCardId: string;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
[BoardActivityType.LABEL_CREATE]!: {
|
|
110
|
+
boardLabelId: string;
|
|
111
|
+
boardLabelName: string;
|
|
112
|
+
boardLabelColor: string;
|
|
113
|
+
};
|
|
114
|
+
[BoardActivityType.LABEL_DELETE]!: {
|
|
115
|
+
boardLabelId: string;
|
|
116
|
+
};
|
|
117
|
+
[BoardActivityType.LABEL_UPDATE]!: {
|
|
118
|
+
boardLabelId: string;
|
|
119
|
+
boardLabelName: string;
|
|
120
|
+
boardLabelColor: string;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
[BoardActivityType.LABEL_ADD]!: {
|
|
124
|
+
boardLabelId: string;
|
|
125
|
+
boardCardId: string;
|
|
126
|
+
boardLabelName: string;
|
|
127
|
+
};
|
|
128
|
+
[BoardActivityType.LABEL_REMOVE]!: {
|
|
129
|
+
boardLabelId: string;
|
|
130
|
+
boardCardId: string;
|
|
131
|
+
boardLabelName: string;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
[BoardActivityType.MEMBER_ADD]!: {
|
|
135
|
+
boardCardId: string;
|
|
136
|
+
userId: string;
|
|
137
|
+
};
|
|
138
|
+
[BoardActivityType.MEMBER_REMOVE]!: {
|
|
139
|
+
boardCardId: string;
|
|
140
|
+
userId: string;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
[BoardActivityType.CHECKLIST_CREATE]!: {
|
|
144
|
+
boardCardId: string;
|
|
145
|
+
boardCardChecklistId: string;
|
|
146
|
+
boardCardChecklistName: string;
|
|
147
|
+
};
|
|
148
|
+
[BoardActivityType.CHECKLIST_UPDATE]!: {
|
|
149
|
+
boardCardId: string;
|
|
150
|
+
boardCardChecklistId: string;
|
|
151
|
+
boardCardChecklistName: string;
|
|
152
|
+
};
|
|
153
|
+
[BoardActivityType.CHECKLIST_DELETE]!: {
|
|
154
|
+
boardCardId: string;
|
|
155
|
+
boardCardChecklistId: string;
|
|
156
|
+
boardCardChecklistName: string;
|
|
157
|
+
};
|
|
158
|
+
[BoardActivityType.CHECKLIST_ITEM_ADD]!: {
|
|
159
|
+
boardCardId: string;
|
|
160
|
+
boardCardChecklistId: string;
|
|
161
|
+
boardCardChecklistItemId: string;
|
|
162
|
+
boardCardChecklistItemContent: string;
|
|
163
|
+
boardCardChecklistName: string;
|
|
164
|
+
};
|
|
165
|
+
[BoardActivityType.CHECKLIST_ITEM_UPDATE]!: {
|
|
166
|
+
boardCardId: string;
|
|
167
|
+
boardCardChecklistId: string;
|
|
168
|
+
boardCardChecklistItemId: string;
|
|
169
|
+
boardCardChecklistName: string;
|
|
170
|
+
};
|
|
171
|
+
[BoardActivityType.CHECKLIST_ITEM_DELETE]!: {
|
|
172
|
+
boardCardId: string;
|
|
173
|
+
boardCardChecklistId: string;
|
|
174
|
+
boardCardChecklistItemId: string;
|
|
175
|
+
boardCardChecklistName: string;
|
|
176
|
+
boardCardChecklistItemContent: string;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
[BoardActivityType.DOCUMENT_ADD]!: {
|
|
180
|
+
boardCardId: string;
|
|
181
|
+
boardCardDocumentId: string;
|
|
182
|
+
boardCardDocumentName: string;
|
|
183
|
+
};
|
|
184
|
+
[BoardActivityType.DOCUMENT_REMOVE]!: {
|
|
185
|
+
boardCardId: string;
|
|
186
|
+
boardCardDocumentId: string;
|
|
187
|
+
boardCardDocumentName: string;
|
|
188
|
+
};
|
|
189
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface IActivateUserServiceAbyssAdminBody {
|
|
2
|
+
userId: string;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export interface ISyncOrganizationAbyssAdminBody {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface ISyncProjectAbyssAdminBody {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
userId: string;
|
|
15
|
+
organizationId: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
|
|
3
|
+
export type IGetUploadPreSignedUrlAtlasDocumentParams = {
|
|
4
|
+
atlasId: string;
|
|
5
|
+
atlasPageId: string;
|
|
6
|
+
};
|
|
7
|
+
export type IGetUploadPreSignedUrlAtlasDocumentBody = {
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export type IGetAtlasDocumentParams = {
|
|
12
|
+
atlasId: string;
|
|
13
|
+
atlasDocumentId: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type IDeleteAtlasDocumentParams = {
|
|
17
|
+
atlasId: string;
|
|
18
|
+
atlasDocumentId: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type IPaginateAtlasDocumentParams = {
|
|
22
|
+
atlasId: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export type IPaginateAtlasDocumentQuery = QueryPaginate & {
|
|
26
|
+
atlasPageId?: string;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type IListAtlasDocumentParams = {
|
|
30
|
+
atlasId: string;
|
|
31
|
+
atlasPageId: string;
|
|
32
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface IGetAtlasGroupParams {
|
|
2
|
+
atlasId: string;
|
|
3
|
+
atlasGroupId: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export interface IPaginateAtlasGroupParams {
|
|
7
|
+
atlasId: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface IPaginateAtlasGroupQuery {
|
|
11
|
+
name?: string;
|
|
12
|
+
parentAtlasGroupId?: string;
|
|
13
|
+
page?: number;
|
|
14
|
+
limit?: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ICreateAtlasGroupParams {
|
|
18
|
+
atlasId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface ICreateAtlasGroupBody {
|
|
21
|
+
name: string;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
icon?: string | null;
|
|
24
|
+
color?: string | null;
|
|
25
|
+
parentAtlasGroupId?: string | null;
|
|
26
|
+
position?: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface IUpdateAtlasGroupParams {
|
|
30
|
+
atlasId: string;
|
|
31
|
+
atlasGroupId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface IUpdateAtlasGroupBody {
|
|
34
|
+
name?: string;
|
|
35
|
+
description?: string | null;
|
|
36
|
+
icon?: string | null;
|
|
37
|
+
color?: string | null;
|
|
38
|
+
parentAtlasGroupId?: string | null;
|
|
39
|
+
position?: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface IDeleteAtlasGroupParams {
|
|
43
|
+
atlasId: string;
|
|
44
|
+
atlasGroupId: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export interface IGetAtlasPageParams {
|
|
2
|
+
atlasId: string;
|
|
3
|
+
atlasPageId: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export interface IGetAtlasPageBySlugParams {
|
|
7
|
+
atlasId: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface IPaginateAtlasPageParams {
|
|
12
|
+
atlasId: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface IPaginateAtlasPageQuery {
|
|
16
|
+
title?: string;
|
|
17
|
+
slug?: string;
|
|
18
|
+
atlasGroupId?: string;
|
|
19
|
+
page?: number;
|
|
20
|
+
limit?: number;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface ICreateAtlasPageParams {
|
|
24
|
+
atlasId: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface ICreateAtlasPageBody {
|
|
28
|
+
title: string;
|
|
29
|
+
icon?: string | null;
|
|
30
|
+
color?: string | null;
|
|
31
|
+
atlasGroupId?: string | null;
|
|
32
|
+
position?: number;
|
|
33
|
+
content?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface IUpdateAtlasPageParams {
|
|
37
|
+
atlasId: string;
|
|
38
|
+
atlasPageId: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface IUpdateAtlasPageBody {
|
|
42
|
+
title?: string;
|
|
43
|
+
icon?: string | null;
|
|
44
|
+
color?: string | null;
|
|
45
|
+
atlasGroupId?: string | null;
|
|
46
|
+
position?: number;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface IDeleteAtlasPageParams {
|
|
50
|
+
atlasId: string;
|
|
51
|
+
atlasPageId: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface IUpdateAtlasPageContentParams {
|
|
55
|
+
atlasId: string;
|
|
56
|
+
atlasPageId: string;
|
|
57
|
+
}
|
|
58
|
+
export interface IUpdateAtlasPageContentBody {
|
|
59
|
+
diff: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface IGetAtlasPageContentHistoryParams {
|
|
63
|
+
atlasId: string;
|
|
64
|
+
atlasPageId: string;
|
|
65
|
+
}
|
|
66
|
+
export interface IGetAtlasPageContentHistoryQuery {
|
|
67
|
+
page?: number;
|
|
68
|
+
limit?: number;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface IRestoreAtlasPageContentParams {
|
|
72
|
+
atlasId: string;
|
|
73
|
+
atlasPageId: string;
|
|
74
|
+
version: number;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface ISearchAtlasContentParams {
|
|
78
|
+
atlasId: string;
|
|
79
|
+
}
|
|
80
|
+
export interface ISearchAtlasContentQuery {
|
|
81
|
+
query: string;
|
|
82
|
+
page?: number;
|
|
83
|
+
limit?: number;
|
|
84
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface IGetAtlasPublicParams {
|
|
2
|
+
publicAccessToken: string;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export type ISSEAtlasPublicParams = {
|
|
6
|
+
publicAccessToken: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export interface IGetPageAtlasPublicParams {
|
|
10
|
+
publicAccessToken: string;
|
|
11
|
+
atlasPageId: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface ISearchContentAtlasPublicParams {
|
|
15
|
+
publicAccessToken: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ISearchContentAtlasPublicQuery {
|
|
18
|
+
query: string;
|
|
19
|
+
page?: number;
|
|
20
|
+
limit?: number;
|
|
21
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface IGetAtlasParams {
|
|
2
|
+
atlasId: string;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
export interface IPaginateProjectAtlasParams {
|
|
6
|
+
projectId: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface IPaginateAtlasQuery {
|
|
10
|
+
title?: string;
|
|
11
|
+
page?: number;
|
|
12
|
+
limit?: number;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface ICreateForProjectAtlasParams {
|
|
16
|
+
projectId: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ICreateAtlasBody {
|
|
20
|
+
title: string;
|
|
21
|
+
description?: string | null;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IUpdateAtlasParams {
|
|
25
|
+
atlasId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IUpdateAtlasBody {
|
|
28
|
+
title?: string;
|
|
29
|
+
description?: string | null;
|
|
30
|
+
enablePublicAccess?: boolean;
|
|
31
|
+
transferToProjectId?: string | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface IDeleteAtlasParams {
|
|
35
|
+
atlasId: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type ISSEAtlasParams = {
|
|
39
|
+
atlasId: string;
|
|
40
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export type ICreateBoardCardChecklistParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
boardCardId: string;
|
|
4
|
+
};
|
|
5
|
+
export type ICreateBoardCardChecklistBody = {
|
|
6
|
+
title: string;
|
|
7
|
+
position: number;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export type IUpdateBoardCardChecklistParams = {
|
|
11
|
+
boardId: string;
|
|
12
|
+
boardCardId: string;
|
|
13
|
+
boardCardChecklistId: string;
|
|
14
|
+
};
|
|
15
|
+
export type IUpdateBoardCardChecklistBody = {
|
|
16
|
+
title?: string;
|
|
17
|
+
position?: number;
|
|
18
|
+
maskCompletedRows?: boolean;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type IGetBoardCardChecklistParams = {
|
|
22
|
+
boardId: string;
|
|
23
|
+
boardCardId: string;
|
|
24
|
+
boardCardChecklistId: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export type IDeleteBoardCardChecklistParams = {
|
|
28
|
+
boardId: string;
|
|
29
|
+
boardCardId: string;
|
|
30
|
+
boardCardChecklistId: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type IAddRowBoardCardChecklistParams = {
|
|
34
|
+
boardId: string;
|
|
35
|
+
boardCardId: string;
|
|
36
|
+
boardCardChecklistId: string;
|
|
37
|
+
};
|
|
38
|
+
export type IAddRowBoardCardChecklistBody = {
|
|
39
|
+
content: string;
|
|
40
|
+
position: number;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export type IRemoveRowBoardCardChecklistParams = {
|
|
44
|
+
boardId: string;
|
|
45
|
+
boardCardId: string;
|
|
46
|
+
boardCardChecklistId: string;
|
|
47
|
+
boardCardChecklistRowId: string;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type IUpdateRowBoardCardChecklistParams = {
|
|
51
|
+
boardId: string;
|
|
52
|
+
boardCardId: string;
|
|
53
|
+
boardCardChecklistId: string;
|
|
54
|
+
boardCardChecklistRowId: string;
|
|
55
|
+
};
|
|
56
|
+
export type IUpdateRowBoardCardChecklistBody = {
|
|
57
|
+
content?: string;
|
|
58
|
+
completed?: boolean;
|
|
59
|
+
position?: number;
|
|
60
|
+
boardCardChecklistId?: string;
|
|
61
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type ICreateBoardCardCommentParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
boardCardId: string;
|
|
4
|
+
};
|
|
5
|
+
export type ICreateBoardCardCommentBody = {
|
|
6
|
+
content: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export type IUpdateBoardCardCommentParams = {
|
|
10
|
+
boardId: string;
|
|
11
|
+
boardCardId: string;
|
|
12
|
+
boardCardCommentId: string;
|
|
13
|
+
};
|
|
14
|
+
export type IUpdateBoardCardCommentBody = {
|
|
15
|
+
content?: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type IGetBoardCardCommentParams = {
|
|
19
|
+
boardId: string;
|
|
20
|
+
boardCardId: string;
|
|
21
|
+
boardCardCommentId: string;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type IDeleteBoardCardCommentParams = {
|
|
25
|
+
boardId: string;
|
|
26
|
+
boardCardId: string;
|
|
27
|
+
boardCardCommentId: string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type IGetUploadPreSignedUrlBoardCardDocumentParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
boardCardId: string;
|
|
4
|
+
};
|
|
5
|
+
export type IGetUploadPreSignedUrlBoardCardDocumentBody = {
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export type IGetBoardCardDocumentParams = {
|
|
10
|
+
boardId: string;
|
|
11
|
+
boardCardId: string;
|
|
12
|
+
boardCardDocumentId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export type IDeleteBoardCardDocumentParams = {
|
|
16
|
+
boardId: string;
|
|
17
|
+
boardCardId: string;
|
|
18
|
+
boardCardDocumentId: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type ICloudImportBoardCardDocumentParams = {
|
|
22
|
+
boardId: string;
|
|
23
|
+
boardCardId: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export type ICloudImportBoardCardDocumentBody = {
|
|
27
|
+
cloudId: string;
|
|
28
|
+
fileId: string[];
|
|
29
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export type ICreateBoardCardParams = {
|
|
2
|
+
boardId: string;
|
|
3
|
+
boardColumnId: string;
|
|
4
|
+
};
|
|
5
|
+
export type ICreateBoardCardBody = {
|
|
6
|
+
title: string;
|
|
7
|
+
position: number;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
weight?: number;
|
|
10
|
+
startDate?: Date;
|
|
11
|
+
endDate?: Date;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type IUpdateBoardCardParams = {
|
|
15
|
+
boardId: string;
|
|
16
|
+
boardCardId: string;
|
|
17
|
+
};
|
|
18
|
+
export type IUpdateBoardCardBody = {
|
|
19
|
+
title?: string;
|
|
20
|
+
description?: string | null;
|
|
21
|
+
position?: number;
|
|
22
|
+
boardColumnId?: string;
|
|
23
|
+
weight?: number;
|
|
24
|
+
startDate?: Date | null;
|
|
25
|
+
endDate?: Date | null;
|
|
26
|
+
bannerId?: string | null;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type IGetBoardCardParams = {
|
|
30
|
+
boardId: string;
|
|
31
|
+
boardCardId: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type ISSEBoardCardParams = {
|
|
35
|
+
boardId: string;
|
|
36
|
+
boardCardId: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type IDeleteBoardCardParams = {
|
|
40
|
+
boardId: string;
|
|
41
|
+
boardCardId: string;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export type IRestoreBoardCardParams = {
|
|
45
|
+
boardId: string;
|
|
46
|
+
boardCardId: string;
|
|
47
|
+
};
|
|
48
|
+
export type IRestoreBoardCardBody = {
|
|
49
|
+
boardColumnId: string;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export type IAddMemberBoardCardParams = {
|
|
53
|
+
boardId: string;
|
|
54
|
+
boardCardId: string;
|
|
55
|
+
userId: string;
|
|
56
|
+
};
|
|
57
|
+
export type IRemoveMemberBoardCardParams = {
|
|
58
|
+
boardId: string;
|
|
59
|
+
boardCardId: string;
|
|
60
|
+
userId: string;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export type IGetAllBoardCardParams = {
|
|
64
|
+
boardId: string;
|
|
65
|
+
};
|
|
66
|
+
export type IGetAllBoardCardQuery = {
|
|
67
|
+
archived?: boolean;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export type IMoveToBoardBoardCardParams = {
|
|
71
|
+
boardId: string;
|
|
72
|
+
boardCardId: string;
|
|
73
|
+
};
|
|
74
|
+
export type IMoveToBoardBoardCardBody = {
|
|
75
|
+
boardColumnId: string;
|
|
76
|
+
boardId: string;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export type ISearchBoardCardParams = {
|
|
80
|
+
boardId: string;
|
|
81
|
+
};
|
|
82
|
+
export type ISearchBoardCardQuery = {
|
|
83
|
+
query?: string;
|
|
84
|
+
page?: number;
|
|
85
|
+
limit?: number;
|
|
86
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BoardColumnType } from '../../../enum';
|
|
2
|
+
|
|
3
|
+
export type ICreateBoardColumnParams = {
|
|
4
|
+
boardId: string;
|
|
5
|
+
};
|
|
6
|
+
export type ICreateBoardColumnBody = {
|
|
7
|
+
title: string;
|
|
8
|
+
position: number;
|
|
9
|
+
type?: BoardColumnType;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type IUpdateBoardColumnParams = {
|
|
13
|
+
boardId: string;
|
|
14
|
+
boardColumnId: string;
|
|
15
|
+
};
|
|
16
|
+
export type IUpdateBoardColumnBody = {
|
|
17
|
+
title?: string;
|
|
18
|
+
position?: number;
|
|
19
|
+
type?: BoardColumnType;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type IGetBoardColumnParams = {
|
|
23
|
+
boardId: string;
|
|
24
|
+
boardColumnId: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export type IDeleteBoardColumnParams = {
|
|
28
|
+
boardId: string;
|
|
29
|
+
boardColumnId: string;
|
|
30
|
+
};
|