@abyss-project/spotlight 1.0.2 → 1.0.4

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.
Files changed (95) hide show
  1. package/README.md +2 -2
  2. package/dist/api/index.d.ts +9 -0
  3. package/dist/api/index.js +9 -0
  4. package/dist/api/project-document.admin.api.d.ts +6 -0
  5. package/dist/api/project-document.admin.api.js +24 -0
  6. package/dist/api/project-document.api.d.ts +9 -0
  7. package/dist/api/project-document.api.js +38 -0
  8. package/dist/api/project-presentation.admin.api.d.ts +4 -0
  9. package/dist/api/project-presentation.admin.api.js +16 -0
  10. package/dist/api/project-presentation.api.d.ts +4 -0
  11. package/dist/api/project-presentation.api.js +16 -0
  12. package/dist/api/project-star.admin.api.d.ts +4 -0
  13. package/dist/api/project-star.admin.api.js +16 -0
  14. package/dist/api/project-star.api.d.ts +5 -0
  15. package/dist/api/project-star.api.js +20 -0
  16. package/dist/api/project.admin.api.d.ts +10 -0
  17. package/dist/api/project.admin.api.js +42 -0
  18. package/dist/api/project.api.d.ts +10 -0
  19. package/dist/api/project.api.js +43 -0
  20. package/dist/api/project.public.api.d.ts +5 -0
  21. package/dist/api/project.public.api.js +20 -0
  22. package/dist/constants/index.d.ts +1 -0
  23. package/dist/constants/index.js +13 -0
  24. package/dist/constants/project.constant.d.ts +2 -0
  25. package/dist/constants/project.constant.js +5 -0
  26. package/dist/index.d.ts +1 -0
  27. package/dist/index.js +1 -0
  28. package/dist/types/enum/api-error.enum.d.ts +2 -1
  29. package/dist/types/enum/api-error.enum.js +1 -0
  30. package/dist/types/enum/index.d.ts +4 -0
  31. package/dist/types/enum/index.js +4 -0
  32. package/dist/types/enum/project-category.enum.d.ts +63 -0
  33. package/dist/types/enum/project-category.enum.js +67 -0
  34. package/dist/types/enum/project-document-type.enum.d.ts +4 -0
  35. package/dist/types/enum/project-document-type.enum.js +8 -0
  36. package/dist/types/enum/project-language.enum.d.ts +40 -0
  37. package/dist/types/enum/project-language.enum.js +44 -0
  38. package/dist/types/enum/project-status.enum.d.ts +5 -0
  39. package/dist/types/enum/project-status.enum.js +9 -0
  40. package/dist/types/interface/api/index.d.ts +20 -0
  41. package/dist/types/interface/api/index.js +20 -0
  42. package/dist/types/interface/api/requests/project-document.admin.request.d.ts +19 -0
  43. package/dist/types/interface/api/requests/project-document.admin.request.js +2 -0
  44. package/dist/types/interface/api/requests/project-document.request.d.ts +53 -0
  45. package/dist/types/interface/api/requests/project-document.request.js +2 -0
  46. package/dist/types/interface/api/requests/project-presentation.admin.request.d.ts +13 -0
  47. package/dist/types/interface/api/requests/project-presentation.admin.request.js +2 -0
  48. package/dist/types/interface/api/requests/project-presentation.request.d.ts +13 -0
  49. package/dist/types/interface/api/requests/project-presentation.request.js +2 -0
  50. package/dist/types/interface/api/requests/project-star.admin.request.d.ts +13 -0
  51. package/dist/types/interface/api/requests/project-star.admin.request.js +2 -0
  52. package/dist/types/interface/api/requests/project-star.request.d.ts +12 -0
  53. package/dist/types/interface/api/requests/project-star.request.js +2 -0
  54. package/dist/types/interface/api/requests/project.admin.request.d.ts +64 -0
  55. package/dist/types/interface/api/requests/project.admin.request.js +2 -0
  56. package/dist/types/interface/api/requests/project.public.request.d.ts +18 -0
  57. package/dist/types/interface/api/requests/project.public.request.js +2 -0
  58. package/dist/types/interface/api/requests/project.request.d.ts +59 -0
  59. package/dist/types/interface/api/requests/project.request.js +2 -0
  60. package/dist/types/interface/api/requests/storage.admin.request.d.ts +3 -0
  61. package/dist/types/interface/api/requests/storage.admin.request.js +2 -0
  62. package/dist/types/interface/api/responses/project-document.admin.response.d.ts +17 -0
  63. package/dist/types/interface/api/responses/project-document.admin.response.js +2 -0
  64. package/dist/types/interface/api/responses/project-document.response.d.ts +25 -0
  65. package/dist/types/interface/api/responses/project-document.response.js +2 -0
  66. package/dist/types/interface/api/responses/project-presentation.admin.response.d.ts +12 -0
  67. package/dist/types/interface/api/responses/project-presentation.admin.response.js +2 -0
  68. package/dist/types/interface/api/responses/project-presentation.response.d.ts +12 -0
  69. package/dist/types/interface/api/responses/project-presentation.response.js +2 -0
  70. package/dist/types/interface/api/responses/project-star.admin.response.d.ts +9 -0
  71. package/dist/types/interface/api/responses/project-star.admin.response.js +2 -0
  72. package/dist/types/interface/api/responses/project-star.response.d.ts +10 -0
  73. package/dist/types/interface/api/responses/project-star.response.js +2 -0
  74. package/dist/types/interface/api/responses/project.admin.response.d.ts +33 -0
  75. package/dist/types/interface/api/responses/project.admin.response.js +2 -0
  76. package/dist/types/interface/api/responses/project.public.response.d.ts +34 -0
  77. package/dist/types/interface/api/responses/project.public.response.js +2 -0
  78. package/dist/types/interface/api/responses/project.response.d.ts +33 -0
  79. package/dist/types/interface/api/responses/project.response.js +2 -0
  80. package/dist/types/interface/index.d.ts +6 -0
  81. package/dist/types/interface/index.js +6 -0
  82. package/dist/types/interface/models/project-document.model.d.ts +18 -0
  83. package/dist/types/interface/models/project-document.model.js +2 -0
  84. package/dist/types/interface/models/project-follower.model.d.ts +12 -0
  85. package/dist/types/interface/models/project-follower.model.js +2 -0
  86. package/dist/types/interface/models/project-post.model.d.ts +9 -0
  87. package/dist/types/interface/models/project-post.model.js +2 -0
  88. package/dist/types/interface/models/project-presentation.model.d.ts +9 -0
  89. package/dist/types/interface/models/project-presentation.model.js +2 -0
  90. package/dist/types/interface/models/project-star.model.d.ts +11 -0
  91. package/dist/types/interface/models/project-star.model.js +2 -0
  92. package/dist/types/interface/models/project.model.d.ts +32 -0
  93. package/dist/types/interface/models/project.model.js +2 -0
  94. package/dist/types/interface/models/user.model.d.ts +6 -0
  95. package/package.json +1 -1
package/README.md CHANGED
@@ -1,2 +1,2 @@
1
- # abyss-banking
2
- https://abyss-project.gitbook.io/abyss-banking/
1
+ # abyss-spotlight
2
+ https://abyss-project.gitbook.io/abyss-spotlight/
@@ -2,3 +2,12 @@ export * from './abyss.admin.api';
2
2
  export * from './user.admin.api';
3
3
  export * from './user.api';
4
4
  export * from './monitor.api';
5
+ export * from './project.admin.api';
6
+ export * from './project.public.api';
7
+ export * from './project.api';
8
+ export * from './project-presentation.admin.api';
9
+ export * from './project-presentation.api';
10
+ export * from './project-document.admin.api';
11
+ export * from './project-document.api';
12
+ export * from './project-star.admin.api';
13
+ export * from './project-star.api';
package/dist/api/index.js CHANGED
@@ -14,3 +14,12 @@ __exportStar(require("./abyss.admin.api"), exports);
14
14
  __exportStar(require("./user.admin.api"), exports);
15
15
  __exportStar(require("./user.api"), exports);
16
16
  __exportStar(require("./monitor.api"), exports);
17
+ __exportStar(require("./project.admin.api"), exports);
18
+ __exportStar(require("./project.public.api"), exports);
19
+ __exportStar(require("./project.api"), exports);
20
+ __exportStar(require("./project-presentation.admin.api"), exports);
21
+ __exportStar(require("./project-presentation.api"), exports);
22
+ __exportStar(require("./project-document.admin.api"), exports);
23
+ __exportStar(require("./project-document.api"), exports);
24
+ __exportStar(require("./project-star.admin.api"), exports);
25
+ __exportStar(require("./project-star.api"), exports);
@@ -0,0 +1,6 @@
1
+ import { IGetProjectDocumentAdminParams, IGetProjectDocumentAdminResponse, IDeleteProjectDocumentAdminResponse, IDeleteProjectDocumentAdminParams, IEnableProjectDocumentAdminParams, IEnableProjectDocumentAdminResponse, IPaginateProjectDocumentAdminQuery, IPaginateProjectDocumentAdminResponse, IDisableProjectDocumentAdminParams, IDisableProjectDocumentAdminResponse } from '..';
2
+ export declare const getProjectDocumentAdmin: (params: IGetProjectDocumentAdminParams) => Promise<IGetProjectDocumentAdminResponse>;
3
+ export declare const paginateProjectDocumentAdmin: (query: IPaginateProjectDocumentAdminQuery) => Promise<IPaginateProjectDocumentAdminResponse>;
4
+ export declare const deleteProjectDocumentAdmin: (params: IDeleteProjectDocumentAdminParams) => Promise<IDeleteProjectDocumentAdminResponse>;
5
+ export declare const enableProjectDocumentAdmin: (params: IEnableProjectDocumentAdminParams) => Promise<IEnableProjectDocumentAdminResponse>;
6
+ export declare const disableProjectDocumentAdmin: (params: IDisableProjectDocumentAdminParams) => Promise<IDisableProjectDocumentAdminResponse>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.disableProjectDocumentAdmin = exports.enableProjectDocumentAdmin = exports.deleteProjectDocumentAdmin = exports.paginateProjectDocumentAdmin = exports.getProjectDocumentAdmin = void 0;
4
+ const __1 = require("..");
5
+ const getProjectDocumentAdmin = async (params) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project-document/admin/${params.projectDocumentId}`)).data;
7
+ };
8
+ exports.getProjectDocumentAdmin = getProjectDocumentAdmin;
9
+ const paginateProjectDocumentAdmin = async (query) => {
10
+ return (await __1.AbyssSpotlightCore.axios.get(`project-document/admin/paginate`, { params: query })).data;
11
+ };
12
+ exports.paginateProjectDocumentAdmin = paginateProjectDocumentAdmin;
13
+ const deleteProjectDocumentAdmin = async (params) => {
14
+ return (await __1.AbyssSpotlightCore.axios.delete(`project-document/admin/${params.projectDocumentId}`)).data;
15
+ };
16
+ exports.deleteProjectDocumentAdmin = deleteProjectDocumentAdmin;
17
+ const enableProjectDocumentAdmin = async (params) => {
18
+ return (await __1.AbyssSpotlightCore.axios.post(`project-document/admin/${params.projectDocumentId}/enable`)).data;
19
+ };
20
+ exports.enableProjectDocumentAdmin = enableProjectDocumentAdmin;
21
+ const disableProjectDocumentAdmin = async (params) => {
22
+ return (await __1.AbyssSpotlightCore.axios.post(`project-document/admin/${params.projectDocumentId}/disable`)).data;
23
+ };
24
+ exports.disableProjectDocumentAdmin = disableProjectDocumentAdmin;
@@ -0,0 +1,9 @@
1
+ import { IGetProjectDocumentParams, IGetProjectDocumentResponse, IDeleteProjectDocumentResponse, IDeleteProjectDocumentParams, IEnableProjectDocumentParams, IEnableProjectDocumentResponse, IPaginateProjectDocumentParams, IPaginateProjectDocumentQuery, IPaginateProjectDocumentResponse, IGetUploadPreSignedUrlProjectDocumentParams, IGetUploadPreSignedUrlProjectDocumentBody, IGetUploadPreSignedUrlProjectDocumentResponse, IImportFromCloudProjectDocumentBody, IImportFromCloudProjectDocumentParams, IImportFromCloudProjectDocumentResponse, IImportFromCollectionProjectDocumentBody, IImportFromCollectionProjectDocumentParams, IImportFromCollectionProjectDocumentResponse, IDisableProjectDocumentParams, IDisableProjectDocumentResponse } from '..';
2
+ export declare const getProjectDocument: (params: IGetProjectDocumentParams) => Promise<IGetProjectDocumentResponse>;
3
+ export declare const getUploadUrlProjectDocument: (params: IGetUploadPreSignedUrlProjectDocumentParams, body: IGetUploadPreSignedUrlProjectDocumentBody) => Promise<IGetUploadPreSignedUrlProjectDocumentResponse>;
4
+ export declare const importFromCloudProjectDocument: (params: IImportFromCloudProjectDocumentParams, body: IImportFromCloudProjectDocumentBody) => Promise<IImportFromCloudProjectDocumentResponse>;
5
+ export declare const importFromCollectionProjectDocument: (params: IImportFromCollectionProjectDocumentParams, body: IImportFromCollectionProjectDocumentBody) => Promise<IImportFromCollectionProjectDocumentResponse>;
6
+ export declare const paginateProjectDocument: (params: IPaginateProjectDocumentParams, query: IPaginateProjectDocumentQuery) => Promise<IPaginateProjectDocumentResponse>;
7
+ export declare const deleteProjectDocument: (params: IDeleteProjectDocumentParams) => Promise<IDeleteProjectDocumentResponse>;
8
+ export declare const enableProjectDocument: (params: IEnableProjectDocumentParams) => Promise<IEnableProjectDocumentResponse>;
9
+ export declare const disableProjectDocument: (params: IDisableProjectDocumentParams) => Promise<IDisableProjectDocumentResponse>;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.disableProjectDocument = exports.enableProjectDocument = exports.deleteProjectDocument = exports.paginateProjectDocument = exports.importFromCollectionProjectDocument = exports.importFromCloudProjectDocument = exports.getUploadUrlProjectDocument = exports.getProjectDocument = void 0;
4
+ const __1 = require("..");
5
+ const getProjectDocument = async (params) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project-document/${params.projectId}/document/${params.projectDocumentId}`)).data;
7
+ };
8
+ exports.getProjectDocument = getProjectDocument;
9
+ const getUploadUrlProjectDocument = async (params, body) => {
10
+ return (await __1.AbyssSpotlightCore.axios.post(`project-document/${params.projectId}/document`, body)).data;
11
+ };
12
+ exports.getUploadUrlProjectDocument = getUploadUrlProjectDocument;
13
+ const importFromCloudProjectDocument = async (params, body) => {
14
+ return (await __1.AbyssSpotlightCore.axios.post(`project-document/${params.projectId}/document/import-from-cloud`, body)).data;
15
+ };
16
+ exports.importFromCloudProjectDocument = importFromCloudProjectDocument;
17
+ const importFromCollectionProjectDocument = async (params, body) => {
18
+ return (await __1.AbyssSpotlightCore.axios.post(`project-document/${params.projectId}/document/import-from-collection`, body)).data;
19
+ };
20
+ exports.importFromCollectionProjectDocument = importFromCollectionProjectDocument;
21
+ const paginateProjectDocument = async (params, query) => {
22
+ return (await __1.AbyssSpotlightCore.axios.get(`project-document/${params.projectId}/document/paginate`, {
23
+ params: query,
24
+ })).data;
25
+ };
26
+ exports.paginateProjectDocument = paginateProjectDocument;
27
+ const deleteProjectDocument = async (params) => {
28
+ return (await __1.AbyssSpotlightCore.axios.delete(`project-document/${params.projectId}/document/${params.projectDocumentId}`)).data;
29
+ };
30
+ exports.deleteProjectDocument = deleteProjectDocument;
31
+ const enableProjectDocument = async (params) => {
32
+ return (await __1.AbyssSpotlightCore.axios.post(`project-document/${params.projectId}/document/${params.projectDocumentId}/enable`)).data;
33
+ };
34
+ exports.enableProjectDocument = enableProjectDocument;
35
+ const disableProjectDocument = async (params) => {
36
+ return (await __1.AbyssSpotlightCore.axios.post(`project-document/${params.projectId}/document/${params.projectDocumentId}/disable`)).data;
37
+ };
38
+ exports.disableProjectDocument = disableProjectDocument;
@@ -0,0 +1,4 @@
1
+ import { IGetProjectPresentationAdminParams, IGetProjectPresentationAdminResponse, IDeleteProjectPresentationAdminResponse, IDeleteProjectPresentationAdminParams, IUpsertProjectPresentationAdminParams, IUpsertProjectPresentationAdminBody, IUpsertProjectPresentationAdminResponse } from '..';
2
+ export declare const getProjectPresentationAdmin: (params: IGetProjectPresentationAdminParams) => Promise<IGetProjectPresentationAdminResponse>;
3
+ export declare const deleteProjectPresentationAdmin: (params: IDeleteProjectPresentationAdminParams) => Promise<IDeleteProjectPresentationAdminResponse>;
4
+ export declare const upsertProjectPresentationAdmin: (params: IUpsertProjectPresentationAdminParams, body: IUpsertProjectPresentationAdminBody) => Promise<IUpsertProjectPresentationAdminResponse>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.upsertProjectPresentationAdmin = exports.deleteProjectPresentationAdmin = exports.getProjectPresentationAdmin = void 0;
4
+ const __1 = require("..");
5
+ const getProjectPresentationAdmin = async (params) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project-presentation/admin/${params.projectId}`)).data;
7
+ };
8
+ exports.getProjectPresentationAdmin = getProjectPresentationAdmin;
9
+ const deleteProjectPresentationAdmin = async (params) => {
10
+ return (await __1.AbyssSpotlightCore.axios.delete(`project-presentation/admin/${params.projectId}`)).data;
11
+ };
12
+ exports.deleteProjectPresentationAdmin = deleteProjectPresentationAdmin;
13
+ const upsertProjectPresentationAdmin = async (params, body) => {
14
+ return (await __1.AbyssSpotlightCore.axios.post(`project-presentation/admin/${params.projectId}`, body)).data;
15
+ };
16
+ exports.upsertProjectPresentationAdmin = upsertProjectPresentationAdmin;
@@ -0,0 +1,4 @@
1
+ import { IGetProjectPresentationParams, IGetProjectPresentationResponse, IDeleteProjectPresentationResponse, IDeleteProjectPresentationParams, IUpsertProjectPresentationParams, IUpsertProjectPresentationBody, IUpsertProjectPresentationResponse } from '..';
2
+ export declare const getProjectPresentation: (params: IGetProjectPresentationParams) => Promise<IGetProjectPresentationResponse>;
3
+ export declare const deleteProjectPresentation: (params: IDeleteProjectPresentationParams) => Promise<IDeleteProjectPresentationResponse>;
4
+ export declare const upsertProjectPresentation: (params: IUpsertProjectPresentationParams, body: IUpsertProjectPresentationBody) => Promise<IUpsertProjectPresentationResponse>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.upsertProjectPresentation = exports.deleteProjectPresentation = exports.getProjectPresentation = void 0;
4
+ const __1 = require("..");
5
+ const getProjectPresentation = async (params) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project-presentation/${params.projectId}`)).data;
7
+ };
8
+ exports.getProjectPresentation = getProjectPresentation;
9
+ const deleteProjectPresentation = async (params) => {
10
+ return (await __1.AbyssSpotlightCore.axios.delete(`project-presentation/${params.projectId}`)).data;
11
+ };
12
+ exports.deleteProjectPresentation = deleteProjectPresentation;
13
+ const upsertProjectPresentation = async (params, body) => {
14
+ return (await __1.AbyssSpotlightCore.axios.post(`project-presentation/${params.projectId}`, body)).data;
15
+ };
16
+ exports.upsertProjectPresentation = upsertProjectPresentation;
@@ -0,0 +1,4 @@
1
+ import { IPaginateProjectStarAdminResponse, IPaginateProjectStarAdminQuery, IStarProjectStarAdminResponse, IStarProjectStarAdminParams, IUnStarProjectStarAdminParams, IUnStarProjectStarAdminResponse } from '..';
2
+ export declare const paginateProjectStarAdmin: (query: IPaginateProjectStarAdminQuery) => Promise<IPaginateProjectStarAdminResponse>;
3
+ export declare const starProjectStarAdmin: (params: IStarProjectStarAdminParams) => Promise<IStarProjectStarAdminResponse>;
4
+ export declare const unStarProjectStarAdmin: (params: IUnStarProjectStarAdminParams) => Promise<IUnStarProjectStarAdminResponse>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.unStarProjectStarAdmin = exports.starProjectStarAdmin = exports.paginateProjectStarAdmin = void 0;
4
+ const __1 = require("..");
5
+ const paginateProjectStarAdmin = async (query) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project-star//paginate`, { params: query })).data;
7
+ };
8
+ exports.paginateProjectStarAdmin = paginateProjectStarAdmin;
9
+ const starProjectStarAdmin = async (params) => {
10
+ return (await __1.AbyssSpotlightCore.axios.post(`project-star/${params.projectId}/star`)).data;
11
+ };
12
+ exports.starProjectStarAdmin = starProjectStarAdmin;
13
+ const unStarProjectStarAdmin = async (params) => {
14
+ return (await __1.AbyssSpotlightCore.axios.post(`project-star/${params.projectId}/un-star`)).data;
15
+ };
16
+ exports.unStarProjectStarAdmin = unStarProjectStarAdmin;
@@ -0,0 +1,5 @@
1
+ import { IStarProjectStarParams, IStarProjectStarResponse, IUnStarProjectStarParams, IUnStarProjectStarResponse, IPaginateUserProjectStarQuery, IPaginateProjectStarParams, IPaginateProjectStarResponse, IPaginateUserProjectStarResponse, IPaginateProjectStarQuery } from '..';
2
+ export declare const paginateProjectStar: (params: IPaginateProjectStarParams, query: IPaginateProjectStarQuery) => Promise<IPaginateProjectStarResponse>;
3
+ export declare const paginateUserProjectStar: (query: IPaginateUserProjectStarQuery) => Promise<IPaginateUserProjectStarResponse>;
4
+ export declare const starProjectStar: (params: IStarProjectStarParams) => Promise<IStarProjectStarResponse>;
5
+ export declare const unStarProjectStar: (params: IUnStarProjectStarParams) => Promise<IUnStarProjectStarResponse>;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.unStarProjectStar = exports.starProjectStar = exports.paginateUserProjectStar = exports.paginateProjectStar = void 0;
4
+ const __1 = require("..");
5
+ const paginateProjectStar = async (params, query) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project-star/${params.projectId}/paginate`, { params: query })).data;
7
+ };
8
+ exports.paginateProjectStar = paginateProjectStar;
9
+ const paginateUserProjectStar = async (query) => {
10
+ return (await __1.AbyssSpotlightCore.axios.get(`project-star/paginate-user`, { params: query })).data;
11
+ };
12
+ exports.paginateUserProjectStar = paginateUserProjectStar;
13
+ const starProjectStar = async (params) => {
14
+ return (await __1.AbyssSpotlightCore.axios.post(`project-star/${params.projectId}/star`)).data;
15
+ };
16
+ exports.starProjectStar = starProjectStar;
17
+ const unStarProjectStar = async (params) => {
18
+ return (await __1.AbyssSpotlightCore.axios.post(`project-star/${params.projectId}/un-star`)).data;
19
+ };
20
+ exports.unStarProjectStar = unStarProjectStar;
@@ -0,0 +1,10 @@
1
+ import { IGetProjectAdminParams, IGetProjectAdminResponse, IUpdateProjectAdminParams, IUpdateProjectAdminResponse, IUpdateProjectAdminBody, IPaginateProjectAdminResponse, IPaginateProjectAdminQuery, ICreateProjectAdminResponse, ICreateProjectAdminBody, IDeleteProjectAdminResponse, IDeleteProjectAdminParams, ICreateProjectAdminParams, IGetBySlugProjectAdminParams, IGetBySlugProjectAdminResponse, ILinkToAbyssProjectAdminParams, ILinkToAbyssProjectAdminBody, ILinkToAbyssProjectAdminResponse, ILinkToAbyssApplicationProjectAdminParams, ILinkToAbyssApplicationProjectAdminBody, ILinkToAbyssApplicationProjectAdminResponse, IListByAbyssProjectIdProjectAdminParams, IListByAbyssProjectIdProjectAdminResponse } from '..';
2
+ export declare const getProjectAdmin: (params: IGetProjectAdminParams) => Promise<IGetProjectAdminResponse>;
3
+ export declare const listByAbyssProjectIdProjectAdmin: (params: IListByAbyssProjectIdProjectAdminParams) => Promise<IListByAbyssProjectIdProjectAdminResponse>;
4
+ export declare const getBySlugProjectAdmin: (params: IGetBySlugProjectAdminParams) => Promise<IGetBySlugProjectAdminResponse>;
5
+ export declare const deleteProjectAdmin: (params: IDeleteProjectAdminParams) => Promise<IDeleteProjectAdminResponse>;
6
+ export declare const paginateProjectAdmin: (query: IPaginateProjectAdminQuery) => Promise<IPaginateProjectAdminResponse>;
7
+ export declare const updateProjectAdmin: (params: IUpdateProjectAdminParams, body: IUpdateProjectAdminBody) => Promise<IUpdateProjectAdminResponse>;
8
+ export declare const linkToAbyssProjectAdmin: (params: ILinkToAbyssProjectAdminParams, body: ILinkToAbyssProjectAdminBody) => Promise<ILinkToAbyssProjectAdminResponse>;
9
+ export declare const linkToAbyssApplicationProjectAdmin: (params: ILinkToAbyssApplicationProjectAdminParams, body: ILinkToAbyssApplicationProjectAdminBody) => Promise<ILinkToAbyssApplicationProjectAdminResponse>;
10
+ export declare const createProjectAdmin: (params: ICreateProjectAdminParams, body: ICreateProjectAdminBody) => Promise<ICreateProjectAdminResponse>;
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createProjectAdmin = exports.linkToAbyssApplicationProjectAdmin = exports.linkToAbyssProjectAdmin = exports.updateProjectAdmin = exports.paginateProjectAdmin = exports.deleteProjectAdmin = exports.getBySlugProjectAdmin = exports.listByAbyssProjectIdProjectAdmin = exports.getProjectAdmin = void 0;
4
+ const __1 = require("..");
5
+ const getProjectAdmin = async (params) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project/admin/${params.projectId}`)).data;
7
+ };
8
+ exports.getProjectAdmin = getProjectAdmin;
9
+ const listByAbyssProjectIdProjectAdmin = async (params) => {
10
+ return (await __1.AbyssSpotlightCore.axios.get(`project/admin/list-abyss-project/${params.abyssProjectId}`)).data;
11
+ };
12
+ exports.listByAbyssProjectIdProjectAdmin = listByAbyssProjectIdProjectAdmin;
13
+ const getBySlugProjectAdmin = async (params) => {
14
+ return (await __1.AbyssSpotlightCore.axios.get(`project/admin/slug/${params.projectId}`)).data;
15
+ };
16
+ exports.getBySlugProjectAdmin = getBySlugProjectAdmin;
17
+ const deleteProjectAdmin = async (params) => {
18
+ return (await __1.AbyssSpotlightCore.axios.delete(`project/admin/${params.projectId}`)).data;
19
+ };
20
+ exports.deleteProjectAdmin = deleteProjectAdmin;
21
+ const paginateProjectAdmin = async (query) => {
22
+ return (await __1.AbyssSpotlightCore.axios.get(`project/admin/paginate`, {
23
+ params: query,
24
+ })).data;
25
+ };
26
+ exports.paginateProjectAdmin = paginateProjectAdmin;
27
+ const updateProjectAdmin = async (params, body) => {
28
+ return (await __1.AbyssSpotlightCore.axios.put(`project/admin/${params.projectId}`, body)).data;
29
+ };
30
+ exports.updateProjectAdmin = updateProjectAdmin;
31
+ const linkToAbyssProjectAdmin = async (params, body) => {
32
+ return (await __1.AbyssSpotlightCore.axios.post(`project/admin/${params.projectId}/link-abyss-project`, body)).data;
33
+ };
34
+ exports.linkToAbyssProjectAdmin = linkToAbyssProjectAdmin;
35
+ const linkToAbyssApplicationProjectAdmin = async (params, body) => {
36
+ return (await __1.AbyssSpotlightCore.axios.post(`project/admin/${params.projectId}/link-abyss-project-application`, body)).data;
37
+ };
38
+ exports.linkToAbyssApplicationProjectAdmin = linkToAbyssApplicationProjectAdmin;
39
+ const createProjectAdmin = async (params, body) => {
40
+ return (await __1.AbyssSpotlightCore.axios.post(`project/admin/${params.userId}`, body)).data;
41
+ };
42
+ exports.createProjectAdmin = createProjectAdmin;
@@ -0,0 +1,10 @@
1
+ import { IGetProjectParams, IGetProjectResponse, IUpdateProjectParams, IUpdateProjectResponse, IUpdateProjectBody, IPaginateProjectResponse, IPaginateProjectQuery, ICreateProjectResponse, ICreateProjectBody, IDeleteProjectResponse, IDeleteProjectParams, IGetBySlugProjectParams, IGetBySlugProjectResponse, ILinkToAbyssProjectParams, ILinkToAbyssProjectBody, ILinkToAbyssApplicationProjectResponse, ILinkToAbyssApplicationProjectBody, ILinkToAbyssApplicationProjectParams, IListByAbyssProjectIdProjectParams, IListByAbyssProjectIdProjectResponse } from '..';
2
+ export declare const getProject: (params: IGetProjectParams) => Promise<IGetProjectResponse>;
3
+ export declare const listByAbyssProjectIdProject: (params: IListByAbyssProjectIdProjectParams) => Promise<IListByAbyssProjectIdProjectResponse>;
4
+ export declare const getBySlugProject: (params: IGetBySlugProjectParams) => Promise<IGetBySlugProjectResponse>;
5
+ export declare const deleteProject: (params: IDeleteProjectParams) => Promise<IDeleteProjectResponse>;
6
+ export declare const paginateProject: (query: IPaginateProjectQuery) => Promise<IPaginateProjectResponse>;
7
+ export declare const updateProject: (params: IUpdateProjectParams, body: IUpdateProjectBody) => Promise<IUpdateProjectResponse>;
8
+ export declare const linkToAbyssProject: (params: ILinkToAbyssProjectParams, body: ILinkToAbyssProjectBody) => Promise<IUpdateProjectResponse>;
9
+ export declare const linkToAbyssApplicationProject: (params: ILinkToAbyssApplicationProjectParams, body: ILinkToAbyssApplicationProjectBody) => Promise<ILinkToAbyssApplicationProjectResponse>;
10
+ export declare const createProject: (body: ICreateProjectBody) => Promise<ICreateProjectResponse>;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createProject = exports.linkToAbyssApplicationProject = exports.linkToAbyssProject = exports.updateProject = exports.paginateProject = exports.deleteProject = exports.getBySlugProject = exports.listByAbyssProjectIdProject = exports.getProject = void 0;
4
+ const __1 = require("..");
5
+ const getProject = async (params) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project/${params.projectId}`))
7
+ .data;
8
+ };
9
+ exports.getProject = getProject;
10
+ const listByAbyssProjectIdProject = async (params) => {
11
+ return (await __1.AbyssSpotlightCore.axios.get(`project/list-abyss-project/${params.abyssProjectId}`)).data;
12
+ };
13
+ exports.listByAbyssProjectIdProject = listByAbyssProjectIdProject;
14
+ const getBySlugProject = async (params) => {
15
+ return (await __1.AbyssSpotlightCore.axios.get(`project/slug/${params.slug}`)).data;
16
+ };
17
+ exports.getBySlugProject = getBySlugProject;
18
+ const deleteProject = async (params) => {
19
+ return (await __1.AbyssSpotlightCore.axios.delete(`project/${params.projectId}`)).data;
20
+ };
21
+ exports.deleteProject = deleteProject;
22
+ const paginateProject = async (query) => {
23
+ return (await __1.AbyssSpotlightCore.axios.get(`project/paginate`, {
24
+ params: query,
25
+ })).data;
26
+ };
27
+ exports.paginateProject = paginateProject;
28
+ const updateProject = async (params, body) => {
29
+ return (await __1.AbyssSpotlightCore.axios.put(`project/${params.projectId}`, body)).data;
30
+ };
31
+ exports.updateProject = updateProject;
32
+ const linkToAbyssProject = async (params, body) => {
33
+ return (await __1.AbyssSpotlightCore.axios.post(`project/${params.projectId}/link-abyss-project`, body)).data;
34
+ };
35
+ exports.linkToAbyssProject = linkToAbyssProject;
36
+ const linkToAbyssApplicationProject = async (params, body) => {
37
+ return (await __1.AbyssSpotlightCore.axios.post(`project/${params.projectId}/link-abyss-project-application`, body)).data;
38
+ };
39
+ exports.linkToAbyssApplicationProject = linkToAbyssApplicationProject;
40
+ const createProject = async (body) => {
41
+ return (await __1.AbyssSpotlightCore.axios.post(`project`, body)).data;
42
+ };
43
+ exports.createProject = createProject;
@@ -0,0 +1,5 @@
1
+ import { IPaginatePublishedProjectPublicResponse, IPaginatePublishedProjectPublicQuery, IGetPublishedProjectPublicResponse, IGetPublishedProjectPublicParams, IGetPublishedBySlugProjectPublicResponse, IGetPublishedBySlugProjectPublicParams, IGetPopularProjectPublicResponse } from '..';
2
+ export declare const getPublishedProjectPublic: (params: IGetPublishedProjectPublicParams) => Promise<IGetPublishedProjectPublicResponse>;
3
+ export declare const getPublishedBySlugProjectPublic: (params: IGetPublishedBySlugProjectPublicParams) => Promise<IGetPublishedBySlugProjectPublicResponse>;
4
+ export declare const paginatePublishedProjectPublic: (query: IPaginatePublishedProjectPublicQuery) => Promise<IPaginatePublishedProjectPublicResponse>;
5
+ export declare const getPopularProjectPublic: () => Promise<IGetPopularProjectPublicResponse>;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getPopularProjectPublic = exports.paginatePublishedProjectPublic = exports.getPublishedBySlugProjectPublic = exports.getPublishedProjectPublic = void 0;
4
+ const __1 = require("..");
5
+ const getPublishedProjectPublic = async (params) => {
6
+ return (await __1.AbyssSpotlightCore.axios.get(`project/public/published/${params.projectId}`)).data;
7
+ };
8
+ exports.getPublishedProjectPublic = getPublishedProjectPublic;
9
+ const getPublishedBySlugProjectPublic = async (params) => {
10
+ return (await __1.AbyssSpotlightCore.axios.get(`project/public/published/slug/${params.slug}`)).data;
11
+ };
12
+ exports.getPublishedBySlugProjectPublic = getPublishedBySlugProjectPublic;
13
+ const paginatePublishedProjectPublic = async (query) => {
14
+ return (await __1.AbyssSpotlightCore.axios.get(`project/public/published/paginate`, { params: query })).data;
15
+ };
16
+ exports.paginatePublishedProjectPublic = paginatePublishedProjectPublic;
17
+ const getPopularProjectPublic = async () => {
18
+ return (await __1.AbyssSpotlightCore.axios.get(`project/public/popular`)).data;
19
+ };
20
+ exports.getPopularProjectPublic = getPopularProjectPublic;
@@ -0,0 +1 @@
1
+ export * from './project.constant';
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./project.constant"), exports);
@@ -0,0 +1,2 @@
1
+ export declare const MAXIMUM_TAGS_PER_PROJECT = 5;
2
+ export declare const MAXIMUM_TAGS_LENGTH = 36;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAXIMUM_TAGS_LENGTH = exports.MAXIMUM_TAGS_PER_PROJECT = void 0;
4
+ exports.MAXIMUM_TAGS_PER_PROJECT = 5;
5
+ exports.MAXIMUM_TAGS_LENGTH = 36;
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { IAxiosRetryConfig } from 'axios-retry';
2
2
  export * from './types';
3
3
  export * from './utils';
4
4
  export * from './api';
5
+ export * from './constants';
5
6
  export declare const API_KEY_HEADER = "abyss-spotlight-api-key";
6
7
  export declare const ADMIN_TOKEN_HEADER = "abyss-admin-token";
7
8
  declare type CoreConfig = {
package/dist/index.js CHANGED
@@ -31,6 +31,7 @@ const axios_retry_1 = __importStar(require("axios-retry"));
31
31
  __exportStar(require("./types"), exports);
32
32
  __exportStar(require("./utils"), exports);
33
33
  __exportStar(require("./api"), exports);
34
+ __exportStar(require("./constants"), exports);
34
35
  const DEFAULT_BASE_URL = 'https://spotlight-api.abyss-project.fr/api/';
35
36
  exports.API_KEY_HEADER = 'abyss-spotlight-api-key';
36
37
  exports.ADMIN_TOKEN_HEADER = 'abyss-admin-token';
@@ -12,5 +12,6 @@ export declare enum Code {
12
12
  constraintError = "resource_constraint_error",
13
13
  internalServerError = "internal_server_error",
14
14
  serviceUnavailable = "service_unavailable",
15
- invalidData = "invalid_data"
15
+ invalidData = "invalid_data",
16
+ projectDocumentSizeTooBig = "project_document_size_too_big"
16
17
  }
@@ -18,4 +18,5 @@ var Code;
18
18
  Code["internalServerError"] = "internal_server_error";
19
19
  Code["serviceUnavailable"] = "service_unavailable";
20
20
  Code["invalidData"] = "invalid_data";
21
+ Code["projectDocumentSizeTooBig"] = "project_document_size_too_big";
21
22
  })(Code = exports.Code || (exports.Code = {}));
@@ -1 +1,5 @@
1
1
  export * from './api-error.enum';
2
+ export * from './project-category.enum';
3
+ export * from './project-status.enum';
4
+ export * from './project-language.enum';
5
+ export * from './project-document-type.enum';
@@ -11,3 +11,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./api-error.enum"), exports);
14
+ __exportStar(require("./project-category.enum"), exports);
15
+ __exportStar(require("./project-status.enum"), exports);
16
+ __exportStar(require("./project-language.enum"), exports);
17
+ __exportStar(require("./project-document-type.enum"), exports);
@@ -0,0 +1,63 @@
1
+ export declare enum ProjectCategory {
2
+ TECHNOLOGY_SOFTWARE_DEVELOPMENT = "TECHNOLOGY-SOFTWARE_DEVELOPMENT",
3
+ TECHNOLOGY_WEB_DEVELOPMENT = "TECHNOLOGY-WEB_DEVELOPMENT",
4
+ TECHNOLOGY_ARTIFICIAL_INTELLIGENCE = "TECHNOLOGY-ARTIFICIAL_INTELLIGENCE",
5
+ TECHNOLOGY_ROBOTICS = "TECHNOLOGY-ROBOTICS",
6
+ TECHNOLOGY_VIRTUAL_REALITY = "TECHNOLOGY-VIRTUAL_REALITY",
7
+ TECHNOLOGY_INTERNET_OF_THINGS = "TECHNOLOGY-INTERNET_OF_THINGS",
8
+ SCIENCE_BIOTECHNOLOGY = "SCIENCE-BIOTECHNOLOGY",
9
+ SCIENCE_ENVIRONMENT = "SCIENCE-ENVIRONMENT",
10
+ SCIENCE_PHYSICS = "SCIENCE-PHYSICS",
11
+ SCIENCE_CHEMISTRY = "SCIENCE-CHEMISTRY",
12
+ SCIENCE_ASTRONOMY = "SCIENCE-ASTRONOMY",
13
+ ARTS_DESIGN_VISUAL_ARTS = "ARTS_DESIGN-VISUAL_ARTS",
14
+ ARTS_DESIGN_GRAPHIC_DESIGN = "ARTS_DESIGN-GRAPHIC_DESIGN",
15
+ ARTS_DESIGN_PHOTOGRAPHY = "ARTS_DESIGN-PHOTOGRAPHY",
16
+ ARTS_DESIGN_FASHION = "ARTS_DESIGN-FASHION",
17
+ ARTS_DESIGN_ANIMATION = "ARTS_DESIGN-ANIMATION",
18
+ MUSIC_AUDIO_MUSIC_COMPOSITION = "MUSIC_AUDIO-MUSIC_COMPOSITION",
19
+ MUSIC_AUDIO_AUDIO_PRODUCTION = "MUSIC_AUDIO-AUDIO_PRODUCTION",
20
+ MUSIC_AUDIO_PODCASTS = "MUSIC_AUDIO-PODCASTS",
21
+ MUSIC_AUDIO_RECORDING_MIXING = "MUSIC_AUDIO-RECORDING_MIXING",
22
+ MUSIC_AUDIO_MUSICAL_INSTRUMENTS = "MUSIC_AUDIO-MUSICAL_INSTRUMENTS",
23
+ FILM_VIDEO_DIRECTING = "FILM_VIDEO-DIRECTING",
24
+ FILM_VIDEO_VIDEO_EDITING = "FILM_VIDEO-VIDEO_EDITING",
25
+ FILM_VIDEO_CINEMATOGRAPHY = "FILM_VIDEO-CINEMATOGRAPHY",
26
+ FILM_VIDEO_ANIMATION_3D = "FILM_VIDEO-ANIMATION_3D",
27
+ FILM_VIDEO_VISUAL_EFFECTS = "FILM_VIDEO-VISUAL_EFFECTS",
28
+ ENTREPRENEURSHIP_BUSINESS_STARTUPS = "ENTREPRENEURSHIP_BUSINESS-STARTUPS",
29
+ ENTREPRENEURSHIP_BUSINESS_E_COMMERCE = "ENTREPRENEURSHIP_BUSINESS-E_COMMERCE",
30
+ ENTREPRENEURSHIP_BUSINESS_DIGITAL_MARKETING = "ENTREPRENEURSHIP_BUSINESS-DIGITAL_MARKETING",
31
+ ENTREPRENEURSHIP_BUSINESS_PERSONAL_FINANCE = "ENTREPRENEURSHIP_BUSINESS-PERSONAL_FINANCE",
32
+ ENTREPRENEURSHIP_BUSINESS_BUSINESS_STRATEGY = "ENTREPRENEURSHIP_BUSINESS-BUSINESS_STRATEGY",
33
+ EDUCATION_TRAINING_ONLINE_COURSES = "EDUCATION_TRAINING-ONLINE_COURSES",
34
+ EDUCATION_TRAINING_TUTORIALS = "EDUCATION_TRAINING-TUTORIALS",
35
+ EDUCATION_TRAINING_EDUCATIONAL_PROGRAMS = "EDUCATION_TRAINING-EDUCATIONAL_PROGRAMS",
36
+ EDUCATION_TRAINING_PROFESSIONAL_DEVELOPMENT = "EDUCATION_TRAINING-PROFESSIONAL_DEVELOPMENT",
37
+ EDUCATION_TRAINING_CONTINUING_EDUCATION = "EDUCATION_TRAINING-CONTINUING_EDUCATION",
38
+ SOCIAL_COMMUNITY_PROJECTS_HUMANITARIAN_AID = "SOCIAL_COMMUNITY_PROJECTS-HUMANITARIAN_AID",
39
+ SOCIAL_COMMUNITY_PROJECTS_ENVIRONMENTAL_PROJECTS = "SOCIAL_COMMUNITY_PROJECTS-ENVIRONMENTAL_PROJECTS",
40
+ SOCIAL_COMMUNITY_PROJECTS_COMMUNITY_INITIATIVES = "SOCIAL_COMMUNITY_PROJECTS-COMMUNITY_INITIATIVES",
41
+ SOCIAL_COMMUNITY_PROJECTS_EQUALITY_INCLUSION = "SOCIAL_COMMUNITY_PROJECTS-EQUALITY_INCLUSION",
42
+ SOCIAL_COMMUNITY_PROJECTS_PUBLIC_HEALTH = "SOCIAL_COMMUNITY_PROJECTS-PUBLIC_HEALTH",
43
+ GAMES_ENTERTAINMENT_GAME_DEVELOPMENT = "GAMES_ENTERTAINMENT-GAME_DEVELOPMENT",
44
+ GAMES_ENTERTAINMENT_BOARD_GAMES = "GAMES_ENTERTAINMENT-BOARD_GAMES",
45
+ GAMES_ENTERTAINMENT_GAMIFICATION = "GAMES_ENTERTAINMENT-GAMIFICATION",
46
+ GAMES_ENTERTAINMENT_GAME_EVENTS = "GAMES_ENTERTAINMENT-GAME_EVENTS",
47
+ GAMES_ENTERTAINMENT_ENTERTAINMENT_APPS = "GAMES_ENTERTAINMENT-ENTERTAINMENT_APPS",
48
+ TRAVEL_ADVENTURE_TRAVEL_BLOG = "TRAVEL_ADVENTURE-TRAVEL_BLOG",
49
+ TRAVEL_ADVENTURE_TRAVEL_VLOGS = "TRAVEL_ADVENTURE-TRAVEL_VLOGS",
50
+ TRAVEL_ADVENTURE_TRAVEL_GUIDES = "TRAVEL_ADVENTURE-TRAVEL_GUIDES",
51
+ TRAVEL_ADVENTURE_TRAVEL_PHOTOGRAPHY_PROJECTS = "TRAVEL_ADVENTURE-TRAVEL_PHOTOGRAPHY_PROJECTS",
52
+ TRAVEL_ADVENTURE_EXPEDITIONS = "TRAVEL_ADVENTURE-EXPEDITIONS",
53
+ LIFESTYLE_WELLNESS_FITNESS_HEALTH = "LIFESTYLE_WELLNESS-FITNESS_HEALTH",
54
+ LIFESTYLE_WELLNESS_NUTRITION = "LIFESTYLE_WELLNESS-NUTRITION",
55
+ LIFESTYLE_WELLNESS_PERSONAL_DEVELOPMENT = "LIFESTYLE_WELLNESS-PERSONAL_DEVELOPMENT",
56
+ LIFESTYLE_WELLNESS_MEDITATION_MINDFULNESS = "LIFESTYLE_WELLNESS-MEDITATION_MINDFULNESS",
57
+ LIFESTYLE_WELLNESS_GARDENING_PROJECTS = "LIFESTYLE_WELLNESS-GARDENING_PROJECTS",
58
+ DIY_CRAFTS_DIY = "DIY_CRAFTS-DIY",
59
+ DIY_CRAFTS_CRAFT_PROJECTS = "DIY_CRAFTS-CRAFT_PROJECTS",
60
+ DIY_CRAFTS_WOODWORKING = "DIY_CRAFTS-WOODWORKING",
61
+ DIY_CRAFTS_SEWING = "DIY_CRAFTS-SEWING",
62
+ DIY_CRAFTS_HANDICRAFTS = "DIY_CRAFTS-HANDICRAFTS"
63
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProjectCategory = void 0;
4
+ var ProjectCategory;
5
+ (function (ProjectCategory) {
6
+ ProjectCategory["TECHNOLOGY_SOFTWARE_DEVELOPMENT"] = "TECHNOLOGY-SOFTWARE_DEVELOPMENT";
7
+ ProjectCategory["TECHNOLOGY_WEB_DEVELOPMENT"] = "TECHNOLOGY-WEB_DEVELOPMENT";
8
+ ProjectCategory["TECHNOLOGY_ARTIFICIAL_INTELLIGENCE"] = "TECHNOLOGY-ARTIFICIAL_INTELLIGENCE";
9
+ ProjectCategory["TECHNOLOGY_ROBOTICS"] = "TECHNOLOGY-ROBOTICS";
10
+ ProjectCategory["TECHNOLOGY_VIRTUAL_REALITY"] = "TECHNOLOGY-VIRTUAL_REALITY";
11
+ ProjectCategory["TECHNOLOGY_INTERNET_OF_THINGS"] = "TECHNOLOGY-INTERNET_OF_THINGS";
12
+ ProjectCategory["SCIENCE_BIOTECHNOLOGY"] = "SCIENCE-BIOTECHNOLOGY";
13
+ ProjectCategory["SCIENCE_ENVIRONMENT"] = "SCIENCE-ENVIRONMENT";
14
+ ProjectCategory["SCIENCE_PHYSICS"] = "SCIENCE-PHYSICS";
15
+ ProjectCategory["SCIENCE_CHEMISTRY"] = "SCIENCE-CHEMISTRY";
16
+ ProjectCategory["SCIENCE_ASTRONOMY"] = "SCIENCE-ASTRONOMY";
17
+ ProjectCategory["ARTS_DESIGN_VISUAL_ARTS"] = "ARTS_DESIGN-VISUAL_ARTS";
18
+ ProjectCategory["ARTS_DESIGN_GRAPHIC_DESIGN"] = "ARTS_DESIGN-GRAPHIC_DESIGN";
19
+ ProjectCategory["ARTS_DESIGN_PHOTOGRAPHY"] = "ARTS_DESIGN-PHOTOGRAPHY";
20
+ ProjectCategory["ARTS_DESIGN_FASHION"] = "ARTS_DESIGN-FASHION";
21
+ ProjectCategory["ARTS_DESIGN_ANIMATION"] = "ARTS_DESIGN-ANIMATION";
22
+ ProjectCategory["MUSIC_AUDIO_MUSIC_COMPOSITION"] = "MUSIC_AUDIO-MUSIC_COMPOSITION";
23
+ ProjectCategory["MUSIC_AUDIO_AUDIO_PRODUCTION"] = "MUSIC_AUDIO-AUDIO_PRODUCTION";
24
+ ProjectCategory["MUSIC_AUDIO_PODCASTS"] = "MUSIC_AUDIO-PODCASTS";
25
+ ProjectCategory["MUSIC_AUDIO_RECORDING_MIXING"] = "MUSIC_AUDIO-RECORDING_MIXING";
26
+ ProjectCategory["MUSIC_AUDIO_MUSICAL_INSTRUMENTS"] = "MUSIC_AUDIO-MUSICAL_INSTRUMENTS";
27
+ ProjectCategory["FILM_VIDEO_DIRECTING"] = "FILM_VIDEO-DIRECTING";
28
+ ProjectCategory["FILM_VIDEO_VIDEO_EDITING"] = "FILM_VIDEO-VIDEO_EDITING";
29
+ ProjectCategory["FILM_VIDEO_CINEMATOGRAPHY"] = "FILM_VIDEO-CINEMATOGRAPHY";
30
+ ProjectCategory["FILM_VIDEO_ANIMATION_3D"] = "FILM_VIDEO-ANIMATION_3D";
31
+ ProjectCategory["FILM_VIDEO_VISUAL_EFFECTS"] = "FILM_VIDEO-VISUAL_EFFECTS";
32
+ ProjectCategory["ENTREPRENEURSHIP_BUSINESS_STARTUPS"] = "ENTREPRENEURSHIP_BUSINESS-STARTUPS";
33
+ ProjectCategory["ENTREPRENEURSHIP_BUSINESS_E_COMMERCE"] = "ENTREPRENEURSHIP_BUSINESS-E_COMMERCE";
34
+ ProjectCategory["ENTREPRENEURSHIP_BUSINESS_DIGITAL_MARKETING"] = "ENTREPRENEURSHIP_BUSINESS-DIGITAL_MARKETING";
35
+ ProjectCategory["ENTREPRENEURSHIP_BUSINESS_PERSONAL_FINANCE"] = "ENTREPRENEURSHIP_BUSINESS-PERSONAL_FINANCE";
36
+ ProjectCategory["ENTREPRENEURSHIP_BUSINESS_BUSINESS_STRATEGY"] = "ENTREPRENEURSHIP_BUSINESS-BUSINESS_STRATEGY";
37
+ ProjectCategory["EDUCATION_TRAINING_ONLINE_COURSES"] = "EDUCATION_TRAINING-ONLINE_COURSES";
38
+ ProjectCategory["EDUCATION_TRAINING_TUTORIALS"] = "EDUCATION_TRAINING-TUTORIALS";
39
+ ProjectCategory["EDUCATION_TRAINING_EDUCATIONAL_PROGRAMS"] = "EDUCATION_TRAINING-EDUCATIONAL_PROGRAMS";
40
+ ProjectCategory["EDUCATION_TRAINING_PROFESSIONAL_DEVELOPMENT"] = "EDUCATION_TRAINING-PROFESSIONAL_DEVELOPMENT";
41
+ ProjectCategory["EDUCATION_TRAINING_CONTINUING_EDUCATION"] = "EDUCATION_TRAINING-CONTINUING_EDUCATION";
42
+ ProjectCategory["SOCIAL_COMMUNITY_PROJECTS_HUMANITARIAN_AID"] = "SOCIAL_COMMUNITY_PROJECTS-HUMANITARIAN_AID";
43
+ ProjectCategory["SOCIAL_COMMUNITY_PROJECTS_ENVIRONMENTAL_PROJECTS"] = "SOCIAL_COMMUNITY_PROJECTS-ENVIRONMENTAL_PROJECTS";
44
+ ProjectCategory["SOCIAL_COMMUNITY_PROJECTS_COMMUNITY_INITIATIVES"] = "SOCIAL_COMMUNITY_PROJECTS-COMMUNITY_INITIATIVES";
45
+ ProjectCategory["SOCIAL_COMMUNITY_PROJECTS_EQUALITY_INCLUSION"] = "SOCIAL_COMMUNITY_PROJECTS-EQUALITY_INCLUSION";
46
+ ProjectCategory["SOCIAL_COMMUNITY_PROJECTS_PUBLIC_HEALTH"] = "SOCIAL_COMMUNITY_PROJECTS-PUBLIC_HEALTH";
47
+ ProjectCategory["GAMES_ENTERTAINMENT_GAME_DEVELOPMENT"] = "GAMES_ENTERTAINMENT-GAME_DEVELOPMENT";
48
+ ProjectCategory["GAMES_ENTERTAINMENT_BOARD_GAMES"] = "GAMES_ENTERTAINMENT-BOARD_GAMES";
49
+ ProjectCategory["GAMES_ENTERTAINMENT_GAMIFICATION"] = "GAMES_ENTERTAINMENT-GAMIFICATION";
50
+ ProjectCategory["GAMES_ENTERTAINMENT_GAME_EVENTS"] = "GAMES_ENTERTAINMENT-GAME_EVENTS";
51
+ ProjectCategory["GAMES_ENTERTAINMENT_ENTERTAINMENT_APPS"] = "GAMES_ENTERTAINMENT-ENTERTAINMENT_APPS";
52
+ ProjectCategory["TRAVEL_ADVENTURE_TRAVEL_BLOG"] = "TRAVEL_ADVENTURE-TRAVEL_BLOG";
53
+ ProjectCategory["TRAVEL_ADVENTURE_TRAVEL_VLOGS"] = "TRAVEL_ADVENTURE-TRAVEL_VLOGS";
54
+ ProjectCategory["TRAVEL_ADVENTURE_TRAVEL_GUIDES"] = "TRAVEL_ADVENTURE-TRAVEL_GUIDES";
55
+ ProjectCategory["TRAVEL_ADVENTURE_TRAVEL_PHOTOGRAPHY_PROJECTS"] = "TRAVEL_ADVENTURE-TRAVEL_PHOTOGRAPHY_PROJECTS";
56
+ ProjectCategory["TRAVEL_ADVENTURE_EXPEDITIONS"] = "TRAVEL_ADVENTURE-EXPEDITIONS";
57
+ ProjectCategory["LIFESTYLE_WELLNESS_FITNESS_HEALTH"] = "LIFESTYLE_WELLNESS-FITNESS_HEALTH";
58
+ ProjectCategory["LIFESTYLE_WELLNESS_NUTRITION"] = "LIFESTYLE_WELLNESS-NUTRITION";
59
+ ProjectCategory["LIFESTYLE_WELLNESS_PERSONAL_DEVELOPMENT"] = "LIFESTYLE_WELLNESS-PERSONAL_DEVELOPMENT";
60
+ ProjectCategory["LIFESTYLE_WELLNESS_MEDITATION_MINDFULNESS"] = "LIFESTYLE_WELLNESS-MEDITATION_MINDFULNESS";
61
+ ProjectCategory["LIFESTYLE_WELLNESS_GARDENING_PROJECTS"] = "LIFESTYLE_WELLNESS-GARDENING_PROJECTS";
62
+ ProjectCategory["DIY_CRAFTS_DIY"] = "DIY_CRAFTS-DIY";
63
+ ProjectCategory["DIY_CRAFTS_CRAFT_PROJECTS"] = "DIY_CRAFTS-CRAFT_PROJECTS";
64
+ ProjectCategory["DIY_CRAFTS_WOODWORKING"] = "DIY_CRAFTS-WOODWORKING";
65
+ ProjectCategory["DIY_CRAFTS_SEWING"] = "DIY_CRAFTS-SEWING";
66
+ ProjectCategory["DIY_CRAFTS_HANDICRAFTS"] = "DIY_CRAFTS-HANDICRAFTS";
67
+ })(ProjectCategory = exports.ProjectCategory || (exports.ProjectCategory = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum ProjectDocumentType {
2
+ LOGO = "LOGO",
3
+ BANNER = "BANNER"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProjectDocumentType = void 0;
4
+ var ProjectDocumentType;
5
+ (function (ProjectDocumentType) {
6
+ ProjectDocumentType["LOGO"] = "LOGO";
7
+ ProjectDocumentType["BANNER"] = "BANNER";
8
+ })(ProjectDocumentType = exports.ProjectDocumentType || (exports.ProjectDocumentType = {}));