@abyss-project/training 1.0.3 → 1.0.5
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 -33
- package/README.md +1 -1
- package/dist/api/report.admin.api.d.ts +3 -2
- package/dist/api/report.admin.api.js +7 -2
- package/dist/index.d.ts +96 -0
- package/dist/index.js +104 -2
- package/dist/types/interface/api/requests/report.admin.request.d.ts +5 -1
- package/dist/types/interface/api/responses/report.admin.response.d.ts +1 -1
- package/package.json +5 -3
- package/tsconfig.json +105 -105
- package/dist/api/analytics.api.d.ts +0 -11
- package/dist/api/analytics.api.js +0 -18
- package/dist/api/project-analytics.api.d.ts +0 -7
- package/dist/api/project-analytics.api.js +0 -16
- package/dist/api/project-document.admin.api.d.ts +0 -6
- package/dist/api/project-document.admin.api.js +0 -24
- package/dist/api/project-document.api.d.ts +0 -9
- package/dist/api/project-document.api.js +0 -38
- package/dist/api/project-event.api.d.ts +0 -7
- package/dist/api/project-event.api.js +0 -28
- package/dist/api/project-follower.admin.api.d.ts +0 -4
- package/dist/api/project-follower.admin.api.js +0 -18
- package/dist/api/project-follower.api.d.ts +0 -5
- package/dist/api/project-follower.api.js +0 -20
- package/dist/api/project-post.admin.api.d.ts +0 -6
- package/dist/api/project-post.admin.api.js +0 -24
- package/dist/api/project-post.api.d.ts +0 -6
- package/dist/api/project-post.api.js +0 -24
- package/dist/api/project-presentation.admin.api.d.ts +0 -4
- package/dist/api/project-presentation.admin.api.js +0 -16
- package/dist/api/project-presentation.api.d.ts +0 -4
- package/dist/api/project-presentation.api.js +0 -16
- package/dist/api/project-social-network.admin.api.d.ts +0 -7
- package/dist/api/project-social-network.admin.api.js +0 -28
- package/dist/api/project-social-network.api.d.ts +0 -6
- package/dist/api/project-social-network.api.js +0 -24
- package/dist/api/project-star.admin.api.d.ts +0 -4
- package/dist/api/project-star.admin.api.js +0 -18
- package/dist/api/project-star.api.d.ts +0 -5
- package/dist/api/project-star.api.js +0 -20
- package/dist/api/project.admin.api.d.ts +0 -11
- package/dist/api/project.admin.api.js +0 -46
- package/dist/api/project.api.d.ts +0 -13
- package/dist/api/project.api.js +0 -56
- package/dist/api/project.public.api.d.ts +0 -8
- package/dist/api/project.public.api.js +0 -32
- package/dist/constants/project.constant.d.ts +0 -4
- package/dist/constants/project.constant.js +0 -7
- package/dist/types/enum/exercise-group-type.enum.d.ts +0 -9
- package/dist/types/enum/exercise-group-type.enum.js +0 -13
- package/dist/types/enum/project-category.enum.d.ts +0 -63
- package/dist/types/enum/project-category.enum.js +0 -67
- package/dist/types/enum/project-document-type.enum.d.ts +0 -6
- package/dist/types/enum/project-document-type.enum.js +0 -10
- package/dist/types/enum/project-language.enum.d.ts +0 -40
- package/dist/types/enum/project-language.enum.js +0 -44
- package/dist/types/enum/project-presentation-type.enum.d.ts +0 -3
- package/dist/types/enum/project-presentation-type.enum.js +0 -7
- package/dist/types/enum/project-status.enum.d.ts +0 -5
- package/dist/types/enum/project-status.enum.js +0 -9
- package/dist/types/enum/workout-session-status.enum.d.ts +0 -7
- package/dist/types/enum/workout-session-status.enum.js +0 -11
- package/dist/types/interface/api/requests/project-analytics.request.d.ts +0 -19
- package/dist/types/interface/api/requests/project-analytics.request.js +0 -2
- package/dist/types/interface/api/requests/project-document.admin.request.d.ts +0 -18
- package/dist/types/interface/api/requests/project-document.admin.request.js +0 -2
- package/dist/types/interface/api/requests/project-document.request.d.ts +0 -52
- package/dist/types/interface/api/requests/project-document.request.js +0 -2
- package/dist/types/interface/api/requests/project-event.request.d.ts +0 -30
- package/dist/types/interface/api/requests/project-event.request.js +0 -2
- package/dist/types/interface/api/requests/project-follower.admin.request.d.ts +0 -13
- package/dist/types/interface/api/requests/project-follower.admin.request.js +0 -2
- package/dist/types/interface/api/requests/project-follower.request.d.ts +0 -12
- package/dist/types/interface/api/requests/project-follower.request.js +0 -2
- package/dist/types/interface/api/requests/project-post-analytics.request.d.ts +0 -4
- package/dist/types/interface/api/requests/project-post-analytics.request.js +0 -2
- package/dist/types/interface/api/requests/project-post.admin.request.d.ts +0 -24
- package/dist/types/interface/api/requests/project-post.admin.request.js +0 -2
- package/dist/types/interface/api/requests/project-post.request.d.ts +0 -28
- package/dist/types/interface/api/requests/project-post.request.js +0 -2
- package/dist/types/interface/api/requests/project-presentation.admin.request.d.ts +0 -12
- package/dist/types/interface/api/requests/project-presentation.admin.request.js +0 -2
- package/dist/types/interface/api/requests/project-presentation.request.d.ts +0 -13
- package/dist/types/interface/api/requests/project-presentation.request.js +0 -2
- package/dist/types/interface/api/requests/project-social-network.admin.request.d.ts +0 -30
- package/dist/types/interface/api/requests/project-social-network.admin.request.js +0 -2
- package/dist/types/interface/api/requests/project-social-network.request.d.ts +0 -28
- package/dist/types/interface/api/requests/project-social-network.request.js +0 -2
- package/dist/types/interface/api/requests/project-star.admin.request.d.ts +0 -13
- package/dist/types/interface/api/requests/project-star.admin.request.js +0 -2
- package/dist/types/interface/api/requests/project-star.request.d.ts +0 -12
- package/dist/types/interface/api/requests/project-star.request.js +0 -2
- package/dist/types/interface/api/requests/project.admin.request.d.ts +0 -69
- package/dist/types/interface/api/requests/project.admin.request.js +0 -2
- package/dist/types/interface/api/requests/project.public.request.d.ts +0 -38
- package/dist/types/interface/api/requests/project.public.request.js +0 -2
- package/dist/types/interface/api/requests/project.request.d.ts +0 -70
- package/dist/types/interface/api/requests/project.request.js +0 -2
- package/dist/types/interface/api/responses/project-analytics.response.d.ts +0 -77
- package/dist/types/interface/api/responses/project-analytics.response.js +0 -2
- package/dist/types/interface/api/responses/project-document.admin.response.d.ts +0 -17
- package/dist/types/interface/api/responses/project-document.admin.response.js +0 -2
- package/dist/types/interface/api/responses/project-document.response.d.ts +0 -25
- package/dist/types/interface/api/responses/project-document.response.js +0 -2
- package/dist/types/interface/api/responses/project-event.response.d.ts +0 -17
- package/dist/types/interface/api/responses/project-event.response.js +0 -2
- package/dist/types/interface/api/responses/project-follower.admin.response.d.ts +0 -9
- package/dist/types/interface/api/responses/project-follower.admin.response.js +0 -2
- package/dist/types/interface/api/responses/project-follower.response.d.ts +0 -10
- package/dist/types/interface/api/responses/project-follower.response.js +0 -2
- package/dist/types/interface/api/responses/project-post-analytics.response.d.ts +0 -34
- package/dist/types/interface/api/responses/project-post-analytics.response.js +0 -2
- package/dist/types/interface/api/responses/project-post.admin.response.d.ts +0 -17
- package/dist/types/interface/api/responses/project-post.admin.response.js +0 -2
- package/dist/types/interface/api/responses/project-post.response.d.ts +0 -17
- package/dist/types/interface/api/responses/project-post.response.js +0 -2
- package/dist/types/interface/api/responses/project-presentation.admin.response.d.ts +0 -12
- package/dist/types/interface/api/responses/project-presentation.admin.response.js +0 -2
- package/dist/types/interface/api/responses/project-presentation.response.d.ts +0 -12
- package/dist/types/interface/api/responses/project-presentation.response.js +0 -2
- package/dist/types/interface/api/responses/project-social-network.admin.response.d.ts +0 -21
- package/dist/types/interface/api/responses/project-social-network.admin.response.js +0 -2
- package/dist/types/interface/api/responses/project-social-network.response.d.ts +0 -20
- package/dist/types/interface/api/responses/project-social-network.response.js +0 -2
- package/dist/types/interface/api/responses/project-star.admin.response.d.ts +0 -9
- package/dist/types/interface/api/responses/project-star.admin.response.js +0 -2
- package/dist/types/interface/api/responses/project-star.response.d.ts +0 -10
- package/dist/types/interface/api/responses/project-star.response.js +0 -2
- package/dist/types/interface/api/responses/project.admin.response.d.ts +0 -39
- package/dist/types/interface/api/responses/project.admin.response.js +0 -2
- package/dist/types/interface/api/responses/project.public.response.d.ts +0 -46
- package/dist/types/interface/api/responses/project.public.response.js +0 -2
- package/dist/types/interface/api/responses/project.response.d.ts +0 -76
- package/dist/types/interface/api/responses/project.response.js +0 -2
- package/dist/types/interface/models/exercise-set.model.d.ts +0 -26
- package/dist/types/interface/models/exercise-set.model.js +0 -2
- package/dist/types/interface/models/project-analytics.model.d.ts +0 -28
- package/dist/types/interface/models/project-analytics.model.js +0 -15
- package/dist/types/interface/models/project-document.model.d.ts +0 -19
- package/dist/types/interface/models/project-document.model.js +0 -2
- package/dist/types/interface/models/project-event.model.d.ts +0 -11
- package/dist/types/interface/models/project-event.model.js +0 -2
- package/dist/types/interface/models/project-follower.model.d.ts +0 -11
- package/dist/types/interface/models/project-follower.model.js +0 -2
- package/dist/types/interface/models/project-post.model.d.ts +0 -10
- package/dist/types/interface/models/project-post.model.js +0 -2
- package/dist/types/interface/models/project-presentation.model.d.ts +0 -12
- package/dist/types/interface/models/project-presentation.model.js +0 -2
- package/dist/types/interface/models/project-social-network.model.d.ts +0 -11
- package/dist/types/interface/models/project-social-network.model.js +0 -2
- package/dist/types/interface/models/project-star.model.d.ts +0 -11
- package/dist/types/interface/models/project-star.model.js +0 -2
- package/dist/types/interface/models/project-view.model.d.ts +0 -13
- package/dist/types/interface/models/project-view.model.js +0 -2
- package/dist/types/interface/models/project.model.d.ts +0 -37
- package/dist/types/interface/models/project.model.js +0 -2
- package/dist/utils/css-sanitizer.utils.d.ts +0 -2
- package/dist/utils/css-sanitizer.utils.js +0 -33
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface IUpsertProjectPresentationParams {
|
|
2
|
-
projectId: string;
|
|
3
|
-
}
|
|
4
|
-
export interface IUpsertProjectPresentationBody {
|
|
5
|
-
content: string;
|
|
6
|
-
customCss?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface IGetProjectPresentationParams {
|
|
9
|
-
projectId: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IDeleteProjectPresentationParams {
|
|
12
|
-
projectId: string;
|
|
13
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
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,28 +0,0 @@
|
|
|
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,13 +0,0 @@
|
|
|
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,12 +0,0 @@
|
|
|
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,69 +0,0 @@
|
|
|
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,38 +0,0 @@
|
|
|
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 IPaginatePublishedProjectEventPublicParams {
|
|
36
|
-
projectId: string;
|
|
37
|
-
}
|
|
38
|
-
export type IPaginatePublishedProjectEventPublicQuery = QueryPaginate;
|
|
@@ -1,70 +0,0 @@
|
|
|
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,77 +0,0 @@
|
|
|
1
|
-
import { IResponse } from '../..';
|
|
2
|
-
export interface ITrackProjectAnalyticsData {
|
|
3
|
-
}
|
|
4
|
-
export type ITrackProjectAnalyticsResponse = IResponse<ITrackProjectAnalyticsData>;
|
|
5
|
-
export interface IProjectPostAnalytics {
|
|
6
|
-
period: {
|
|
7
|
-
startDate: string;
|
|
8
|
-
endDate: string;
|
|
9
|
-
};
|
|
10
|
-
totals: {
|
|
11
|
-
views: number;
|
|
12
|
-
uniqueViews: number;
|
|
13
|
-
prints: number;
|
|
14
|
-
};
|
|
15
|
-
trends: {
|
|
16
|
-
last7Days: {
|
|
17
|
-
views: number;
|
|
18
|
-
uniqueViews: number;
|
|
19
|
-
prints: number;
|
|
20
|
-
};
|
|
21
|
-
last30Days: {
|
|
22
|
-
views: number;
|
|
23
|
-
uniqueViews: number;
|
|
24
|
-
prints: number;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
timeSeries: Array<{
|
|
28
|
-
date: string;
|
|
29
|
-
views: number;
|
|
30
|
-
uniqueViews: number;
|
|
31
|
-
prints: number;
|
|
32
|
-
}>;
|
|
33
|
-
}
|
|
34
|
-
export interface IGetProjectPostAnalyticsData {
|
|
35
|
-
analytics: IProjectPostAnalytics;
|
|
36
|
-
}
|
|
37
|
-
export type IGetProjectPostAnalyticsResponse = IResponse<IGetProjectPostAnalyticsData>;
|
|
38
|
-
export interface IProjectAnalyticsStats {
|
|
39
|
-
period: {
|
|
40
|
-
startDate: string;
|
|
41
|
-
endDate: string;
|
|
42
|
-
};
|
|
43
|
-
metrics: {
|
|
44
|
-
contactClicks: number;
|
|
45
|
-
joinClicks: number;
|
|
46
|
-
accessClicks: number;
|
|
47
|
-
postViews: number;
|
|
48
|
-
starsAdded: number;
|
|
49
|
-
starsRemoved: number;
|
|
50
|
-
followersAdded: number;
|
|
51
|
-
followersRemoved: number;
|
|
52
|
-
view: number;
|
|
53
|
-
uniqView: number;
|
|
54
|
-
prints: number;
|
|
55
|
-
};
|
|
56
|
-
timeSeries: Array<{
|
|
57
|
-
date: string;
|
|
58
|
-
contactClicks: number;
|
|
59
|
-
joinClicks: number;
|
|
60
|
-
accessClicks: number;
|
|
61
|
-
postViews: number;
|
|
62
|
-
view: number;
|
|
63
|
-
uniqView: number;
|
|
64
|
-
prints: number;
|
|
65
|
-
starsAdded: number;
|
|
66
|
-
starsRemoved: number;
|
|
67
|
-
followersAdded: number;
|
|
68
|
-
followersRemoved: number;
|
|
69
|
-
stars: number;
|
|
70
|
-
followers: number;
|
|
71
|
-
posts: number;
|
|
72
|
-
}>;
|
|
73
|
-
}
|
|
74
|
-
export interface IGetProjectAnalyticsData {
|
|
75
|
-
current: IProjectAnalyticsStats;
|
|
76
|
-
}
|
|
77
|
-
export type IGetProjectAnalyticsResponse = IResponse<IGetProjectAnalyticsData>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IResponse, BasePaginate, IProjectDocument } from '../..';
|
|
2
|
-
export interface IGetProjectDocumentAdminData {
|
|
3
|
-
projectDocument: IProjectDocument;
|
|
4
|
-
}
|
|
5
|
-
export type IGetProjectDocumentAdminResponse = IResponse<IGetProjectDocumentAdminData>;
|
|
6
|
-
export type IPaginateProjectDocumentAdminResponse = IResponse<BasePaginate<IProjectDocument>>;
|
|
7
|
-
export interface IEnableProjectDocumentAdminData {
|
|
8
|
-
projectDocument: IProjectDocument;
|
|
9
|
-
}
|
|
10
|
-
export type IEnableProjectDocumentAdminResponse = IResponse<IEnableProjectDocumentAdminData>;
|
|
11
|
-
export interface IDisableProjectDocumentAdminData {
|
|
12
|
-
projectDocument: IProjectDocument;
|
|
13
|
-
}
|
|
14
|
-
export type IDisableProjectDocumentAdminResponse = IResponse<IDisableProjectDocumentAdminData>;
|
|
15
|
-
export interface IDeleteProjectDocumentAdminData {
|
|
16
|
-
}
|
|
17
|
-
export type IDeleteProjectDocumentAdminResponse = IResponse<IDeleteProjectDocumentAdminData>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IResponse, BasePaginate, IProjectDocument } from '../..';
|
|
2
|
-
export interface IGetProjectDocumentData {
|
|
3
|
-
projectDocument: IProjectDocument;
|
|
4
|
-
}
|
|
5
|
-
export type IGetProjectDocumentResponse = IResponse<IGetProjectDocumentData>;
|
|
6
|
-
export type IPaginateProjectDocumentResponse = IResponse<BasePaginate<IProjectDocument>>;
|
|
7
|
-
export interface IGetUploadPreSignedUrlProjectDocumentData {
|
|
8
|
-
preSignedUrl: string;
|
|
9
|
-
}
|
|
10
|
-
export type IGetUploadPreSignedUrlProjectDocumentResponse = IResponse<IGetUploadPreSignedUrlProjectDocumentData>;
|
|
11
|
-
export type IImportFromCloudProjectDocumentData = Record<string, never>;
|
|
12
|
-
export type IImportFromCloudProjectDocumentResponse = IResponse<IImportFromCloudProjectDocumentData>;
|
|
13
|
-
export type IImportFromCollectionProjectDocumentData = Record<string, never>;
|
|
14
|
-
export type IImportFromCollectionProjectDocumentResponse = IResponse<IImportFromCollectionProjectDocumentData>;
|
|
15
|
-
export interface IEnableProjectDocumentData {
|
|
16
|
-
projectDocument: IProjectDocument;
|
|
17
|
-
}
|
|
18
|
-
export type IEnableProjectDocumentResponse = IResponse<IEnableProjectDocumentData>;
|
|
19
|
-
export interface IDisableProjectDocumentData {
|
|
20
|
-
projectDocument: IProjectDocument;
|
|
21
|
-
}
|
|
22
|
-
export type IDisableProjectDocumentResponse = IResponse<IDisableProjectDocumentData>;
|
|
23
|
-
export interface IDeleteProjectDocumentData {
|
|
24
|
-
}
|
|
25
|
-
export type IDeleteProjectDocumentResponse = IResponse<IDeleteProjectDocumentData>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IResponse, IProjectEvent, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetProjectEventData {
|
|
3
|
-
projectEvent: IProjectEvent;
|
|
4
|
-
}
|
|
5
|
-
export type IGetProjectEventResponse = IResponse<IGetProjectEventData>;
|
|
6
|
-
export type IPaginateProjectEventResponse = IResponse<BasePaginate<IProjectEvent>>;
|
|
7
|
-
export interface IUpdateProjectEventData {
|
|
8
|
-
projectEvent: IProjectEvent;
|
|
9
|
-
}
|
|
10
|
-
export type IUpdateProjectEventResponse = IResponse<IUpdateProjectEventData>;
|
|
11
|
-
export interface ICreateProjectEventData {
|
|
12
|
-
projectEvent: IProjectEvent;
|
|
13
|
-
}
|
|
14
|
-
export type ICreateProjectEventResponse = IResponse<ICreateProjectEventData>;
|
|
15
|
-
export interface IDeleteProjectEventData {
|
|
16
|
-
}
|
|
17
|
-
export type IDeleteProjectEventResponse = IResponse<IDeleteProjectEventData>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BasePaginate, IProjectFollower, IResponse } from '../..';
|
|
2
|
-
export interface IFollowProjectFollowerAdminData {
|
|
3
|
-
projectFollower: IProjectFollower;
|
|
4
|
-
}
|
|
5
|
-
export type IFollowProjectFollowerAdminResponse = IResponse<IFollowProjectFollowerAdminData>;
|
|
6
|
-
export interface IUnFollowProjectFollowerAdminData {
|
|
7
|
-
}
|
|
8
|
-
export type IUnFollowProjectFollowerAdminResponse = IResponse<IUnFollowProjectFollowerAdminData>;
|
|
9
|
-
export type IPaginateProjectFollowerAdminResponse = IResponse<BasePaginate<IProjectFollower>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BasePaginate, IProjectFollower, IResponse } from '../..';
|
|
2
|
-
export interface IFollowProjectFollowerData {
|
|
3
|
-
projectFollower: IProjectFollower;
|
|
4
|
-
}
|
|
5
|
-
export type IFollowProjectFollowerResponse = IResponse<IFollowProjectFollowerData>;
|
|
6
|
-
export interface IUnFollowProjectFollowerData {
|
|
7
|
-
}
|
|
8
|
-
export type IUnFollowProjectFollowerResponse = IResponse<IUnFollowProjectFollowerData>;
|
|
9
|
-
export type IPaginateProjectFollowerResponse = IResponse<BasePaginate<IProjectFollower>>;
|
|
10
|
-
export type IPaginateUserProjectFollowerResponse = IResponse<BasePaginate<IProjectFollower>>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { IResponse } from '../..';
|
|
2
|
-
export interface IProjectPostAnalytics {
|
|
3
|
-
period: {
|
|
4
|
-
startDate: string;
|
|
5
|
-
endDate: string;
|
|
6
|
-
};
|
|
7
|
-
totals: {
|
|
8
|
-
views: number;
|
|
9
|
-
uniqueViews: number;
|
|
10
|
-
prints: number;
|
|
11
|
-
};
|
|
12
|
-
trends: {
|
|
13
|
-
last7Days: {
|
|
14
|
-
views: number;
|
|
15
|
-
uniqueViews: number;
|
|
16
|
-
prints: number;
|
|
17
|
-
};
|
|
18
|
-
last30Days: {
|
|
19
|
-
views: number;
|
|
20
|
-
uniqueViews: number;
|
|
21
|
-
prints: number;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
timeSeries: Array<{
|
|
25
|
-
date: string;
|
|
26
|
-
views: number;
|
|
27
|
-
uniqueViews: number;
|
|
28
|
-
prints: number;
|
|
29
|
-
}>;
|
|
30
|
-
}
|
|
31
|
-
export interface IGetProjectPostAnalyticsData {
|
|
32
|
-
analytics: IProjectPostAnalytics;
|
|
33
|
-
}
|
|
34
|
-
export type IGetProjectPostAnalyticsResponse = IResponse<IGetProjectPostAnalyticsData>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IResponse, IProjectPost, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetProjectPostAdminData {
|
|
3
|
-
projectPost: IProjectPost;
|
|
4
|
-
}
|
|
5
|
-
export type IGetProjectPostAdminResponse = IResponse<IGetProjectPostAdminData>;
|
|
6
|
-
export type IPaginateProjectPostAdminResponse = IResponse<BasePaginate<IProjectPost>>;
|
|
7
|
-
export interface IUpdateProjectPostAdminData {
|
|
8
|
-
projectPost: IProjectPost;
|
|
9
|
-
}
|
|
10
|
-
export type IUpdateProjectPostAdminResponse = IResponse<IUpdateProjectPostAdminData>;
|
|
11
|
-
export interface ICreateProjectPostAdminData {
|
|
12
|
-
projectPost: IProjectPost;
|
|
13
|
-
}
|
|
14
|
-
export type ICreateProjectPostAdminResponse = IResponse<ICreateProjectPostAdminData>;
|
|
15
|
-
export interface IDeleteProjectPostAdminData {
|
|
16
|
-
}
|
|
17
|
-
export type IDeleteProjectPostAdminResponse = IResponse<IDeleteProjectPostAdminData>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IResponse, IProjectPost, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetProjectPostData {
|
|
3
|
-
projectPost: IProjectPost;
|
|
4
|
-
}
|
|
5
|
-
export type IGetProjectPostResponse = IResponse<IGetProjectPostData>;
|
|
6
|
-
export type IPaginateProjectPostResponse = IResponse<BasePaginate<IProjectPost>>;
|
|
7
|
-
export interface IUpdateProjectPostData {
|
|
8
|
-
projectPost: IProjectPost;
|
|
9
|
-
}
|
|
10
|
-
export type IUpdateProjectPostResponse = IResponse<IUpdateProjectPostData>;
|
|
11
|
-
export interface ICreateProjectPostData {
|
|
12
|
-
projectPost: IProjectPost;
|
|
13
|
-
}
|
|
14
|
-
export type ICreateProjectPostResponse = IResponse<ICreateProjectPostData>;
|
|
15
|
-
export interface IDeleteProjectPostData {
|
|
16
|
-
}
|
|
17
|
-
export type IDeleteProjectPostResponse = IResponse<IDeleteProjectPostData>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IProjectPresentation, IResponse } from '../..';
|
|
2
|
-
export interface IGetProjectPresentationAdminData {
|
|
3
|
-
projectPresentation: IProjectPresentation;
|
|
4
|
-
}
|
|
5
|
-
export type IGetProjectPresentationAdminResponse = IResponse<IGetProjectPresentationAdminData>;
|
|
6
|
-
export interface IUpsertProjectPresentationAdminData {
|
|
7
|
-
projectPresentation: IProjectPresentation;
|
|
8
|
-
}
|
|
9
|
-
export type IUpsertProjectPresentationAdminResponse = IResponse<IUpsertProjectPresentationAdminData>;
|
|
10
|
-
export interface IDeleteProjectPresentationAdminData {
|
|
11
|
-
}
|
|
12
|
-
export type IDeleteProjectPresentationAdminResponse = IResponse<IDeleteProjectPresentationAdminData>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IProjectPresentation, IResponse } from '../..';
|
|
2
|
-
export interface IGetProjectPresentationData {
|
|
3
|
-
projectPresentation: IProjectPresentation;
|
|
4
|
-
}
|
|
5
|
-
export type IGetProjectPresentationResponse = IResponse<IGetProjectPresentationData>;
|
|
6
|
-
export interface IUpsertProjectPresentationData {
|
|
7
|
-
projectPresentation: IProjectPresentation;
|
|
8
|
-
}
|
|
9
|
-
export type IUpsertProjectPresentationResponse = IResponse<IUpsertProjectPresentationData>;
|
|
10
|
-
export interface IDeleteProjectPresentationData {
|
|
11
|
-
}
|
|
12
|
-
export type IDeleteProjectPresentationResponse = IResponse<IDeleteProjectPresentationData>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { IResponse, IProjectSocialNetwork, BasePaginate } from '../..';
|
|
2
|
-
export interface IGetProjectSocialNetworkAdminData {
|
|
3
|
-
projectSocialNetwork: IProjectSocialNetwork;
|
|
4
|
-
}
|
|
5
|
-
export type IGetProjectSocialNetworkAdminResponse = IResponse<IGetProjectSocialNetworkAdminData>;
|
|
6
|
-
export type IPaginateProjectSocialNetworkAdminResponse = IResponse<BasePaginate<IProjectSocialNetwork>>;
|
|
7
|
-
export interface IListProjectSocialNetworkAdminData {
|
|
8
|
-
projectSocialNetworks: IProjectSocialNetwork[];
|
|
9
|
-
}
|
|
10
|
-
export type IListProjectSocialNetworkAdminResponse = IResponse<IListProjectSocialNetworkAdminData>;
|
|
11
|
-
export interface IUpdateProjectSocialNetworkAdminData {
|
|
12
|
-
projectSocialNetwork: IProjectSocialNetwork;
|
|
13
|
-
}
|
|
14
|
-
export type IUpdateProjectSocialNetworkAdminResponse = IResponse<IUpdateProjectSocialNetworkAdminData>;
|
|
15
|
-
export interface ICreateProjectSocialNetworkAdminData {
|
|
16
|
-
projectSocialNetwork: IProjectSocialNetwork;
|
|
17
|
-
}
|
|
18
|
-
export type ICreateProjectSocialNetworkAdminResponse = IResponse<ICreateProjectSocialNetworkAdminData>;
|
|
19
|
-
export interface IDeleteProjectSocialNetworkAdminData {
|
|
20
|
-
}
|
|
21
|
-
export type IDeleteProjectSocialNetworkAdminResponse = IResponse<IDeleteProjectSocialNetworkAdminData>;
|