@abyss-project/spotlight 1.0.9 → 1.0.11
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/dist/api/abyss.admin.api.d.ts +2 -2
- package/dist/api/abyss.admin.api.js +8 -8
- package/dist/api/index.d.ts +20 -19
- package/dist/api/index.js +36 -31
- package/dist/api/monitor.api.d.ts +2 -2
- package/dist/api/monitor.api.js +8 -8
- package/dist/api/project-document.admin.api.d.ts +6 -6
- package/dist/api/project-document.admin.api.js +24 -24
- package/dist/api/project-document.api.d.ts +9 -9
- package/dist/api/project-document.api.js +38 -38
- package/dist/api/project-event.api.d.ts +6 -0
- package/dist/api/project-event.api.js +24 -0
- package/dist/api/project-follower.admin.api.d.ts +4 -4
- package/dist/api/project-follower.admin.api.js +18 -18
- package/dist/api/project-follower.api.d.ts +5 -5
- package/dist/api/project-follower.api.js +20 -20
- package/dist/api/project-post.admin.api.d.ts +6 -6
- package/dist/api/project-post.admin.api.js +24 -24
- package/dist/api/project-post.api.d.ts +6 -6
- package/dist/api/project-post.api.js +24 -24
- package/dist/api/project-presentation.admin.api.d.ts +4 -4
- package/dist/api/project-presentation.admin.api.js +16 -16
- package/dist/api/project-presentation.api.d.ts +4 -4
- package/dist/api/project-presentation.api.js +16 -16
- package/dist/api/project-social-network.admin.api.d.ts +7 -7
- package/dist/api/project-social-network.admin.api.js +28 -28
- package/dist/api/project-social-network.api.d.ts +6 -6
- package/dist/api/project-social-network.api.js +24 -24
- package/dist/api/project-star.admin.api.d.ts +4 -4
- package/dist/api/project-star.admin.api.js +18 -18
- package/dist/api/project-star.api.d.ts +5 -5
- package/dist/api/project-star.api.js +20 -20
- package/dist/api/project.admin.api.d.ts +11 -11
- package/dist/api/project.admin.api.js +46 -46
- package/dist/api/project.api.d.ts +11 -11
- package/dist/api/project.api.js +47 -47
- package/dist/api/project.public.api.d.ts +9 -8
- package/dist/api/project.public.api.js +36 -32
- package/dist/api/user.admin.api.d.ts +5 -5
- package/dist/api/user.admin.api.js +23 -23
- package/dist/api/user.api.d.ts +4 -4
- package/dist/api/user.api.js +17 -17
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.js +17 -13
- package/dist/constants/project.constant.d.ts +4 -4
- package/dist/constants/project.constant.js +7 -7
- package/dist/index.d.ts +20 -20
- package/dist/index.js +91 -87
- package/dist/types/enum/api-error.enum.d.ts +17 -17
- package/dist/types/enum/api-error.enum.js +22 -22
- package/dist/types/enum/index.d.ts +6 -6
- package/dist/types/enum/index.js +22 -18
- package/dist/types/enum/project-category.enum.d.ts +63 -63
- package/dist/types/enum/project-category.enum.js +67 -67
- package/dist/types/enum/project-document-type.enum.d.ts +6 -6
- package/dist/types/enum/project-document-type.enum.js +10 -10
- package/dist/types/enum/project-language.enum.d.ts +40 -40
- package/dist/types/enum/project-language.enum.js +44 -44
- package/dist/types/enum/project-presentation-type.enum.d.ts +3 -3
- package/dist/types/enum/project-presentation-type.enum.js +7 -7
- package/dist/types/enum/project-status.enum.d.ts +5 -5
- package/dist/types/enum/project-status.enum.js +9 -9
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +18 -14
- package/dist/types/interface/api/index.d.ts +45 -43
- package/dist/types/interface/api/index.js +61 -55
- package/dist/types/interface/api/requests/abyss.admin.request.d.ts +3 -3
- package/dist/types/interface/api/requests/abyss.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-document.admin.request.d.ts +18 -19
- package/dist/types/interface/api/requests/project-document.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-document.request.d.ts +52 -53
- package/dist/types/interface/api/requests/project-document.request.js +2 -2
- package/dist/types/interface/api/requests/project-event.request.d.ts +30 -0
- package/dist/types/interface/api/requests/project-event.request.js +2 -0
- package/dist/types/interface/api/requests/project-follower.admin.request.d.ts +13 -13
- package/dist/types/interface/api/requests/project-follower.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-follower.request.d.ts +12 -12
- package/dist/types/interface/api/requests/project-follower.request.js +2 -2
- package/dist/types/interface/api/requests/project-post.admin.request.d.ts +24 -25
- package/dist/types/interface/api/requests/project-post.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-post.request.d.ts +28 -29
- package/dist/types/interface/api/requests/project-post.request.js +2 -2
- package/dist/types/interface/api/requests/project-presentation.admin.request.d.ts +12 -13
- package/dist/types/interface/api/requests/project-presentation.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-presentation.request.d.ts +12 -13
- package/dist/types/interface/api/requests/project-presentation.request.js +2 -2
- package/dist/types/interface/api/requests/project-social-network.admin.request.d.ts +30 -31
- package/dist/types/interface/api/requests/project-social-network.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-social-network.request.d.ts +28 -29
- package/dist/types/interface/api/requests/project-social-network.request.js +2 -2
- package/dist/types/interface/api/requests/project-star.admin.request.d.ts +13 -13
- package/dist/types/interface/api/requests/project-star.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project-star.request.d.ts +12 -12
- package/dist/types/interface/api/requests/project-star.request.js +2 -2
- package/dist/types/interface/api/requests/project.admin.request.d.ts +69 -70
- package/dist/types/interface/api/requests/project.admin.request.js +2 -2
- package/dist/types/interface/api/requests/project.public.request.d.ts +37 -35
- package/dist/types/interface/api/requests/project.public.request.js +2 -2
- package/dist/types/interface/api/requests/project.request.d.ts +70 -65
- package/dist/types/interface/api/requests/project.request.js +2 -2
- package/dist/types/interface/api/requests/storage.admin.request.d.ts +3 -3
- package/dist/types/interface/api/requests/storage.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user.admin.request.d.ts +14 -15
- package/dist/types/interface/api/requests/user.admin.request.js +2 -2
- package/dist/types/interface/api/requests/user.request.d.ts +2 -2
- package/dist/types/interface/api/requests/user.request.js +2 -2
- package/dist/types/interface/api/responses/abyss.admin.response.d.ts +6 -6
- package/dist/types/interface/api/responses/abyss.admin.response.js +2 -2
- package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
- package/dist/types/interface/api/responses/monitor.response.js +2 -2
- package/dist/types/interface/api/responses/project-document.admin.response.d.ts +17 -17
- package/dist/types/interface/api/responses/project-document.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project-document.response.d.ts +25 -25
- package/dist/types/interface/api/responses/project-document.response.js +2 -2
- package/dist/types/interface/api/responses/project-event.response.d.ts +17 -0
- package/dist/types/interface/api/responses/project-event.response.js +2 -0
- package/dist/types/interface/api/responses/project-follower.admin.response.d.ts +9 -9
- package/dist/types/interface/api/responses/project-follower.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project-follower.response.d.ts +10 -10
- package/dist/types/interface/api/responses/project-follower.response.js +2 -2
- package/dist/types/interface/api/responses/project-post.admin.response.d.ts +17 -17
- package/dist/types/interface/api/responses/project-post.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project-post.response.d.ts +17 -17
- package/dist/types/interface/api/responses/project-post.response.js +2 -2
- package/dist/types/interface/api/responses/project-presentation.admin.response.d.ts +12 -12
- package/dist/types/interface/api/responses/project-presentation.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project-presentation.response.d.ts +12 -12
- package/dist/types/interface/api/responses/project-presentation.response.js +2 -2
- package/dist/types/interface/api/responses/project-social-network.admin.response.d.ts +21 -21
- package/dist/types/interface/api/responses/project-social-network.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project-social-network.response.d.ts +20 -20
- package/dist/types/interface/api/responses/project-social-network.response.js +2 -2
- package/dist/types/interface/api/responses/project-star.admin.response.d.ts +9 -9
- package/dist/types/interface/api/responses/project-star.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project-star.response.d.ts +10 -10
- package/dist/types/interface/api/responses/project-star.response.js +2 -2
- package/dist/types/interface/api/responses/project.admin.response.d.ts +39 -39
- package/dist/types/interface/api/responses/project.admin.response.js +2 -2
- package/dist/types/interface/api/responses/project.public.response.d.ts +48 -45
- package/dist/types/interface/api/responses/project.public.response.js +2 -2
- package/dist/types/interface/api/responses/project.response.d.ts +56 -49
- package/dist/types/interface/api/responses/project.response.js +2 -2
- package/dist/types/interface/api/responses/storage.admin.response.d.ts +3 -3
- package/dist/types/interface/api/responses/storage.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user.admin.response.d.ts +14 -14
- package/dist/types/interface/api/responses/user.admin.response.js +2 -2
- package/dist/types/interface/api/responses/user.response.d.ts +13 -13
- package/dist/types/interface/api/responses/user.response.js +2 -2
- package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
- package/dist/types/interface/api/type-message/api-error.js +2 -2
- package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
- package/dist/types/interface/api/type-message/base-order.js +2 -2
- package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
- package/dist/types/interface/api/type-message/base-paginate.js +2 -2
- package/dist/types/interface/api/type-message/response.d.ts +5 -5
- package/dist/types/interface/api/type-message/response.js +2 -2
- package/dist/types/interface/index.d.ts +19 -9
- package/dist/types/interface/index.js +27 -21
- package/dist/types/interface/models/project-document.model.d.ts +19 -18
- package/dist/types/interface/models/project-document.model.js +2 -2
- package/dist/types/interface/models/project-event.model.d.ts +11 -0
- package/dist/types/interface/models/project-event.model.js +2 -0
- package/dist/types/interface/models/project-follower.model.d.ts +11 -11
- package/dist/types/interface/models/project-follower.model.js +2 -2
- package/dist/types/interface/models/project-post.model.d.ts +10 -10
- package/dist/types/interface/models/project-post.model.js +2 -2
- package/dist/types/interface/models/project-presentation.model.d.ts +11 -11
- package/dist/types/interface/models/project-presentation.model.js +2 -2
- package/dist/types/interface/models/project-social-network.model.d.ts +11 -11
- package/dist/types/interface/models/project-social-network.model.js +2 -2
- package/dist/types/interface/models/project-star.model.d.ts +11 -11
- package/dist/types/interface/models/project-star.model.js +2 -2
- package/dist/types/interface/models/project-view.model.d.ts +13 -0
- package/dist/types/interface/models/project-view.model.js +2 -0
- package/dist/types/interface/models/project.model.d.ts +39 -34
- package/dist/types/interface/models/project.model.js +2 -2
- package/dist/types/interface/models/user.model.d.ts +13 -13
- package/dist/types/interface/models/user.model.js +2 -2
- package/dist/utils/error.utils.d.ts +15 -15
- package/dist/utils/error.utils.js +24 -24
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +17 -13
- package/package.json +5 -5
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
export interface IUpsertProjectPresentationAdminParams {
|
|
2
|
+
projectId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface IUpsertProjectPresentationAdminBody {
|
|
5
|
+
content: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IGetProjectPresentationAdminParams {
|
|
8
|
+
projectId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IDeleteProjectPresentationAdminParams {
|
|
11
|
+
projectId: string;
|
|
12
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
export interface IUpsertProjectPresentationParams {
|
|
2
|
+
projectId: string;
|
|
3
|
+
}
|
|
4
|
+
export interface IUpsertProjectPresentationBody {
|
|
5
|
+
content: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IGetProjectPresentationParams {
|
|
8
|
+
projectId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IDeleteProjectPresentationParams {
|
|
11
|
+
projectId: string;
|
|
12
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
1
|
+
import { QueryPaginate } from '../type-message/base-paginate';
|
|
2
|
+
export interface IGetProjectSocialNetworkAdminParams {
|
|
3
|
+
projectSocialNetworkId: string;
|
|
4
|
+
}
|
|
5
|
+
export type IPaginateProjectSocialNetworkAdminQuery = {
|
|
6
|
+
projectId?: string;
|
|
7
|
+
socialNetwork?: string[];
|
|
8
|
+
} & QueryPaginate;
|
|
9
|
+
export interface IListProjectSocialNetworkAdminParams {
|
|
10
|
+
projectId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IDeleteProjectSocialNetworkAdminParams {
|
|
13
|
+
projectSocialNetworkId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IUpdateProjectSocialNetworkAdminParams {
|
|
16
|
+
projectSocialNetworkId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IUpdateProjectSocialNetworkAdminBody {
|
|
19
|
+
socialNetwork?: string;
|
|
20
|
+
url?: string;
|
|
21
|
+
tooltip?: string | null;
|
|
22
|
+
}
|
|
23
|
+
export interface ICreateProjectSocialNetworkAdminParams {
|
|
24
|
+
projectId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ICreateProjectSocialNetworkAdminBody {
|
|
27
|
+
socialNetwork: string;
|
|
28
|
+
url: string;
|
|
29
|
+
tooltip: string | null;
|
|
30
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
1
|
+
export interface IGetProjectSocialNetworkParams {
|
|
2
|
+
projectId: string;
|
|
3
|
+
projectSocialNetworkId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IListProjectSocialNetworkParams {
|
|
6
|
+
projectId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IDeleteProjectSocialNetworkParams {
|
|
9
|
+
projectId: string;
|
|
10
|
+
projectSocialNetworkId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IUpdateProjectSocialNetworkParams {
|
|
13
|
+
projectId: string;
|
|
14
|
+
projectSocialNetworkId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IUpdateProjectSocialNetworkBody {
|
|
17
|
+
socialNetwork?: string;
|
|
18
|
+
url?: string;
|
|
19
|
+
tooltip?: string | null;
|
|
20
|
+
}
|
|
21
|
+
export interface ICreateProjectSocialNetworkParams {
|
|
22
|
+
projectId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface ICreateProjectSocialNetworkBody {
|
|
25
|
+
socialNetwork: string;
|
|
26
|
+
url: string;
|
|
27
|
+
tooltip: string | null;
|
|
28
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
export interface IStarProjectStarAdminParams {
|
|
3
|
-
userId: string;
|
|
4
|
-
projectId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IUnStarProjectStarAdminParams {
|
|
7
|
-
userId: string;
|
|
8
|
-
projectId: string;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
11
|
-
userId?: string[];
|
|
12
|
-
projectId?: string[];
|
|
13
|
-
} & QueryPaginate;
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IStarProjectStarAdminParams {
|
|
3
|
+
userId: string;
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IUnStarProjectStarAdminParams {
|
|
7
|
+
userId: string;
|
|
8
|
+
projectId: string;
|
|
9
|
+
}
|
|
10
|
+
export type IPaginateProjectStarAdminQuery = {
|
|
11
|
+
userId?: string[];
|
|
12
|
+
projectId?: string[];
|
|
13
|
+
} & QueryPaginate;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { QueryPaginate } from '..';
|
|
2
|
-
export interface IStarProjectStarParams {
|
|
3
|
-
projectId: string;
|
|
4
|
-
}
|
|
5
|
-
export interface IUnStarProjectStarParams {
|
|
6
|
-
projectId: string;
|
|
7
|
-
}
|
|
8
|
-
export interface IPaginateProjectStarParams {
|
|
9
|
-
projectId: string;
|
|
10
|
-
}
|
|
11
|
-
export
|
|
12
|
-
export
|
|
1
|
+
import { QueryPaginate } from '..';
|
|
2
|
+
export interface IStarProjectStarParams {
|
|
3
|
+
projectId: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IUnStarProjectStarParams {
|
|
6
|
+
projectId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IPaginateProjectStarParams {
|
|
9
|
+
projectId: string;
|
|
10
|
+
}
|
|
11
|
+
export type IPaginateProjectStarQuery = QueryPaginate;
|
|
12
|
+
export type IPaginateUserProjectStarQuery = QueryPaginate;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,70 +1,69 @@
|
|
|
1
|
-
import { ProjectCategory, ProjectLanguage, ProjectStatus } from '../../../enum';
|
|
2
|
-
import { QueryPaginate } from '..';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
1
|
+
import { ProjectCategory, ProjectLanguage, ProjectStatus } from '../../../enum';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface IUpdateProjectAdminParams {
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IUpdateProjectAdminBody {
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
category?: ProjectCategory;
|
|
10
|
+
tags?: string[];
|
|
11
|
+
status?: ProjectStatus;
|
|
12
|
+
mainLanguage?: ProjectLanguage;
|
|
13
|
+
otherLanguage?: ProjectLanguage[];
|
|
14
|
+
isPublished?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ILinkToAbyssProjectAdminParams {
|
|
17
|
+
projectId: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ILinkToAbyssProjectAdminBody {
|
|
20
|
+
abyssProjectId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ILinkToAbyssApplicationProjectAdminParams {
|
|
23
|
+
projectId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ILinkToAbyssApplicationProjectAdminBody {
|
|
26
|
+
abyssProjectApplicationId: string | null;
|
|
27
|
+
}
|
|
28
|
+
export interface ICreateProjectAdminParams {
|
|
29
|
+
userId: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ICreateProjectAdminBody {
|
|
32
|
+
title: string;
|
|
33
|
+
description: string;
|
|
34
|
+
category: ProjectCategory;
|
|
35
|
+
tags: string[];
|
|
36
|
+
abyssProjectId: string | null;
|
|
37
|
+
abyssProjectApplicationId: string | null;
|
|
38
|
+
status: ProjectStatus;
|
|
39
|
+
mainLanguage: ProjectLanguage;
|
|
40
|
+
otherLanguage: ProjectLanguage[];
|
|
41
|
+
}
|
|
42
|
+
export interface IGetProjectAdminParams {
|
|
43
|
+
projectId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface IGetBySlugProjectAdminParams {
|
|
46
|
+
slug: string;
|
|
47
|
+
}
|
|
48
|
+
export interface IDeleteProjectAdminParams {
|
|
49
|
+
projectId: string;
|
|
50
|
+
}
|
|
51
|
+
export type IPaginateProjectAdminQuery = {
|
|
52
|
+
title?: string;
|
|
53
|
+
tags?: string[];
|
|
54
|
+
category?: ProjectCategory[];
|
|
55
|
+
userId?: string;
|
|
56
|
+
status?: ProjectStatus[];
|
|
57
|
+
mainLanguage?: ProjectLanguage[];
|
|
58
|
+
otherLanguage?: ProjectLanguage[];
|
|
59
|
+
userIdHasPermission?: string;
|
|
60
|
+
} & QueryPaginate;
|
|
61
|
+
export interface IListByAbyssProjectIdProjectAdminParams {
|
|
62
|
+
abyssProjectId: string;
|
|
63
|
+
}
|
|
64
|
+
export interface ITransferProjectAdminParams {
|
|
65
|
+
projectId: string;
|
|
66
|
+
}
|
|
67
|
+
export interface ITransferProjectAdminBody {
|
|
68
|
+
userId: string;
|
|
69
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import { ProjectCategory, ProjectLanguage, ProjectStatus } from '../../../enum';
|
|
2
|
-
import { QueryPaginate } from '..';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { ProjectCategory, ProjectLanguage, ProjectStatus } from '../../../enum';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface IGetPublishedProjectPublicParams {
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IGetPublishedBySlugProjectPublicParams {
|
|
7
|
+
slug: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IPaginatePostProjectPublicParams {
|
|
10
|
+
projectId: string;
|
|
11
|
+
}
|
|
12
|
+
export type IPaginatePostProjectPublicQuery = QueryPaginate;
|
|
13
|
+
export type IPaginatePublishedProjectPublicQuery = {
|
|
14
|
+
title?: string;
|
|
15
|
+
tags?: string[];
|
|
16
|
+
category?: ProjectCategory[];
|
|
17
|
+
userId?: string;
|
|
18
|
+
status?: ProjectStatus[];
|
|
19
|
+
mainLanguage?: ProjectLanguage[];
|
|
20
|
+
otherLanguage?: ProjectLanguage[];
|
|
21
|
+
} & QueryPaginate;
|
|
22
|
+
export interface IGeneratePresentationProjectPublicBody {
|
|
23
|
+
title: string;
|
|
24
|
+
description: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IGeneratePostProjectPublicBody {
|
|
27
|
+
title: string;
|
|
28
|
+
description: string;
|
|
29
|
+
subject: string;
|
|
30
|
+
socialNetworks?: {
|
|
31
|
+
socialNetwork: string;
|
|
32
|
+
url: string;
|
|
33
|
+
}[];
|
|
34
|
+
}
|
|
35
|
+
export interface IRecordViewProjectPublicParams {
|
|
36
|
+
projectId: string;
|
|
37
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,65 +1,70 @@
|
|
|
1
|
-
import { ProjectCategory, ProjectLanguage, ProjectStatus } from '../../../enum';
|
|
2
|
-
import { QueryPaginate } from '..';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
import { ProjectCategory, ProjectLanguage, ProjectStatus } from '../../../enum';
|
|
2
|
+
import { QueryPaginate } from '..';
|
|
3
|
+
export interface IUpdateProjectParams {
|
|
4
|
+
projectId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IUpdateProjectBody {
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
category?: ProjectCategory;
|
|
10
|
+
tags?: string[];
|
|
11
|
+
status?: ProjectStatus;
|
|
12
|
+
mainLanguage?: ProjectLanguage;
|
|
13
|
+
otherLanguage?: ProjectLanguage[];
|
|
14
|
+
isPublished?: boolean;
|
|
15
|
+
contactUrl?: string | null;
|
|
16
|
+
joinUrl?: string | null;
|
|
17
|
+
accessUrl?: string | null;
|
|
18
|
+
}
|
|
19
|
+
export interface ILinkToAbyssProjectParams {
|
|
20
|
+
projectId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ILinkToAbyssProjectBody {
|
|
23
|
+
abyssProjectId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ILinkToAbyssApplicationProjectParams {
|
|
26
|
+
projectId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ILinkToAbyssApplicationProjectBody {
|
|
29
|
+
abyssProjectApplicationId: string | null;
|
|
30
|
+
}
|
|
31
|
+
export interface ICreateProjectBody {
|
|
32
|
+
title: string;
|
|
33
|
+
description: string;
|
|
34
|
+
category: ProjectCategory;
|
|
35
|
+
tags: string[];
|
|
36
|
+
abyssProjectId: string | null;
|
|
37
|
+
abyssProjectApplicationId: string | null;
|
|
38
|
+
status: ProjectStatus;
|
|
39
|
+
mainLanguage: ProjectLanguage;
|
|
40
|
+
otherLanguage: ProjectLanguage[];
|
|
41
|
+
contactUrl?: string | null;
|
|
42
|
+
joinUrl?: string | null;
|
|
43
|
+
accessUrl?: string | null;
|
|
44
|
+
}
|
|
45
|
+
export interface IGetProjectParams {
|
|
46
|
+
projectId: string;
|
|
47
|
+
}
|
|
48
|
+
export type IListByAbyssProjectIdProjectParams = {
|
|
49
|
+
abyssProjectId: string;
|
|
50
|
+
};
|
|
51
|
+
export interface IGetBySlugProjectParams {
|
|
52
|
+
slug: string;
|
|
53
|
+
}
|
|
54
|
+
export interface IDeleteProjectParams {
|
|
55
|
+
projectId: string;
|
|
56
|
+
}
|
|
57
|
+
export type IPaginateProjectQuery = {
|
|
58
|
+
title?: string;
|
|
59
|
+
tags?: string[];
|
|
60
|
+
category?: ProjectCategory[];
|
|
61
|
+
status?: ProjectStatus[];
|
|
62
|
+
mainLanguage?: ProjectLanguage[];
|
|
63
|
+
otherLanguage?: ProjectLanguage[];
|
|
64
|
+
} & QueryPaginate;
|
|
65
|
+
export interface ITransferProjectParams {
|
|
66
|
+
projectId: string;
|
|
67
|
+
}
|
|
68
|
+
export interface ITransferProjectBody {
|
|
69
|
+
userId: string;
|
|
70
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
withDelete?: boolean;
|
|
3
|
-
};
|
|
1
|
+
export type ICheckIntegrityStorageAdminQuery = {
|
|
2
|
+
withDelete?: boolean;
|
|
3
|
+
};
|