@se-uulm/snowballr-api-client 0.2.1-alpha.81a413f → 0.2.1-alpha.882feae

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 (60) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AuthControllerApi.d.ts +118 -0
  3. package/dist/apis/AuthControllerApi.js +170 -0
  4. package/dist/apis/ProjectsControllerApi.d.ts +13 -13
  5. package/dist/apis/ProjectsControllerApi.js +7 -7
  6. package/dist/apis/UsersControllerApi.d.ts +46 -0
  7. package/dist/apis/UsersControllerApi.js +61 -0
  8. package/dist/apis/index.d.ts +2 -0
  9. package/dist/apis/index.js +2 -0
  10. package/dist/esm/apis/AuthControllerApi.d.ts +118 -0
  11. package/dist/esm/apis/AuthControllerApi.js +166 -0
  12. package/dist/esm/apis/ProjectsControllerApi.d.ts +13 -13
  13. package/dist/esm/apis/ProjectsControllerApi.js +8 -8
  14. package/dist/esm/apis/UsersControllerApi.d.ts +46 -0
  15. package/dist/esm/apis/UsersControllerApi.js +57 -0
  16. package/dist/esm/apis/index.d.ts +2 -0
  17. package/dist/esm/apis/index.js +2 -0
  18. package/dist/esm/models/ChangePasswordRequest.d.ts +38 -0
  19. package/dist/esm/models/ChangePasswordRequest.js +43 -0
  20. package/dist/esm/models/LoginRequest.d.ts +38 -0
  21. package/dist/esm/models/LoginRequest.js +43 -0
  22. package/dist/esm/models/ProjectResponse.d.ts +80 -0
  23. package/dist/esm/models/ProjectResponse.js +64 -0
  24. package/dist/esm/models/ProjectSettings.d.ts +70 -0
  25. package/dist/esm/models/{Project.js → ProjectSettings.js} +9 -31
  26. package/dist/esm/models/RegisterRequest.d.ts +50 -0
  27. package/dist/esm/models/RegisterRequest.js +47 -0
  28. package/dist/esm/models/index.d.ts +5 -1
  29. package/dist/esm/models/index.js +5 -1
  30. package/dist/models/ChangePasswordRequest.d.ts +38 -0
  31. package/dist/models/ChangePasswordRequest.js +50 -0
  32. package/dist/models/LoginRequest.d.ts +38 -0
  33. package/dist/models/LoginRequest.js +50 -0
  34. package/dist/models/ProjectResponse.d.ts +80 -0
  35. package/dist/models/ProjectResponse.js +72 -0
  36. package/dist/models/ProjectSettings.d.ts +70 -0
  37. package/dist/models/ProjectSettings.js +66 -0
  38. package/dist/models/RegisterRequest.d.ts +50 -0
  39. package/dist/models/RegisterRequest.js +54 -0
  40. package/dist/models/index.d.ts +5 -1
  41. package/dist/models/index.js +5 -1
  42. package/package.json +10 -4
  43. package/.openapi-generator/FILES +0 -17
  44. package/.openapi-generator/VERSION +0 -1
  45. package/.openapi-generator-ignore +0 -23
  46. package/dist/esm/models/Project.d.ts +0 -117
  47. package/dist/models/Project.d.ts +0 -117
  48. package/dist/models/Project.js +0 -88
  49. package/src/apis/ProjectsControllerApi.ts +0 -238
  50. package/src/apis/index.ts +0 -3
  51. package/src/index.ts +0 -5
  52. package/src/models/CreateProjectRequest.ts +0 -65
  53. package/src/models/DecisionMatrixPattern.ts +0 -94
  54. package/src/models/DecisionMatrixPatternEntry.ts +0 -85
  55. package/src/models/Project.ts +0 -177
  56. package/src/models/ReviewDecisionMatrix.ts +0 -81
  57. package/src/models/index.ts +0 -7
  58. package/src/runtime.ts +0 -432
  59. package/tsconfig.esm.json +0 -7
  60. package/tsconfig.json +0 -16
@@ -0,0 +1,80 @@
1
+ /**
2
+ * SnowballR API
3
+ * REST API for the SnowballR Application
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ProjectSettings } from './ProjectSettings';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectResponse
17
+ */
18
+ export interface ProjectResponse {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProjectResponse
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ProjectResponse
29
+ */
30
+ name?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ProjectResponse
35
+ */
36
+ status?: ProjectResponseStatusEnum;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ProjectResponse
41
+ */
42
+ currentStage?: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof ProjectResponse
47
+ */
48
+ maxStage?: number;
49
+ /**
50
+ *
51
+ * @type {ProjectSettings}
52
+ * @memberof ProjectResponse
53
+ */
54
+ settings?: ProjectSettings;
55
+ /**
56
+ *
57
+ * @type {Date}
58
+ * @memberof ProjectResponse
59
+ */
60
+ currentStageStartedAt?: Date;
61
+ }
62
+ /**
63
+ * @export
64
+ */
65
+ export declare const ProjectResponseStatusEnum: {
66
+ readonly ACTIVE: "ACTIVE";
67
+ readonly ACTIVE_LOCKED: "ACTIVE_LOCKED";
68
+ readonly ARCHIVED: "ARCHIVED";
69
+ readonly DELETED: "DELETED";
70
+ readonly CLEARED: "CLEARED";
71
+ };
72
+ export type ProjectResponseStatusEnum = typeof ProjectResponseStatusEnum[keyof typeof ProjectResponseStatusEnum];
73
+ /**
74
+ * Check if a given object implements the ProjectResponse interface.
75
+ */
76
+ export declare function instanceOfProjectResponse(value: object): value is ProjectResponse;
77
+ export declare function ProjectResponseFromJSON(json: any): ProjectResponse;
78
+ export declare function ProjectResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectResponse;
79
+ export declare function ProjectResponseToJSON(json: any): ProjectResponse;
80
+ export declare function ProjectResponseToJSONTyped(value?: ProjectResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SnowballR API
6
+ * REST API for the SnowballR Application
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProjectResponseStatusEnum = void 0;
17
+ exports.instanceOfProjectResponse = instanceOfProjectResponse;
18
+ exports.ProjectResponseFromJSON = ProjectResponseFromJSON;
19
+ exports.ProjectResponseFromJSONTyped = ProjectResponseFromJSONTyped;
20
+ exports.ProjectResponseToJSON = ProjectResponseToJSON;
21
+ exports.ProjectResponseToJSONTyped = ProjectResponseToJSONTyped;
22
+ const ProjectSettings_1 = require("./ProjectSettings");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ProjectResponseStatusEnum = {
27
+ ACTIVE: 'ACTIVE',
28
+ ACTIVE_LOCKED: 'ACTIVE_LOCKED',
29
+ ARCHIVED: 'ARCHIVED',
30
+ DELETED: 'DELETED',
31
+ CLEARED: 'CLEARED'
32
+ };
33
+ /**
34
+ * Check if a given object implements the ProjectResponse interface.
35
+ */
36
+ function instanceOfProjectResponse(value) {
37
+ return true;
38
+ }
39
+ function ProjectResponseFromJSON(json) {
40
+ return ProjectResponseFromJSONTyped(json, false);
41
+ }
42
+ function ProjectResponseFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'id': json['id'] == null ? undefined : json['id'],
48
+ 'name': json['name'] == null ? undefined : json['name'],
49
+ 'status': json['status'] == null ? undefined : json['status'],
50
+ 'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
51
+ 'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
52
+ 'settings': json['settings'] == null ? undefined : (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
53
+ 'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
54
+ };
55
+ }
56
+ function ProjectResponseToJSON(json) {
57
+ return ProjectResponseToJSONTyped(json, false);
58
+ }
59
+ function ProjectResponseToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'id': value['id'],
65
+ 'name': value['name'],
66
+ 'status': value['status'],
67
+ 'currentStage': value['currentStage'],
68
+ 'maxStage': value['maxStage'],
69
+ 'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value['settings']),
70
+ 'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
71
+ };
72
+ }
@@ -0,0 +1,70 @@
1
+ /**
2
+ * SnowballR API
3
+ * REST API for the SnowballR Application
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectSettings
17
+ */
18
+ export interface ProjectSettings {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ProjectSettings
23
+ */
24
+ similarityThreshold?: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ProjectSettings
29
+ */
30
+ snowballingType?: ProjectSettingsSnowballingTypeEnum;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof ProjectSettings
35
+ */
36
+ reviewMaybeAllowed?: boolean;
37
+ /**
38
+ *
39
+ * @type {ReviewDecisionMatrix}
40
+ * @memberof ProjectSettings
41
+ */
42
+ reviewDecisionMatrix?: ReviewDecisionMatrix;
43
+ /**
44
+ *
45
+ * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @memberof ProjectSettings
47
+ */
48
+ fetchers?: {
49
+ [key: string]: {
50
+ [key: string]: string;
51
+ };
52
+ };
53
+ }
54
+ /**
55
+ * @export
56
+ */
57
+ export declare const ProjectSettingsSnowballingTypeEnum: {
58
+ readonly FORWARD: "FORWARD";
59
+ readonly BACKWARD: "BACKWARD";
60
+ readonly BOTH: "BOTH";
61
+ };
62
+ export type ProjectSettingsSnowballingTypeEnum = typeof ProjectSettingsSnowballingTypeEnum[keyof typeof ProjectSettingsSnowballingTypeEnum];
63
+ /**
64
+ * Check if a given object implements the ProjectSettings interface.
65
+ */
66
+ export declare function instanceOfProjectSettings(value: object): value is ProjectSettings;
67
+ export declare function ProjectSettingsFromJSON(json: any): ProjectSettings;
68
+ export declare function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings;
69
+ export declare function ProjectSettingsToJSON(json: any): ProjectSettings;
70
+ export declare function ProjectSettingsToJSONTyped(value?: ProjectSettings | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SnowballR API
6
+ * REST API for the SnowballR Application
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProjectSettingsSnowballingTypeEnum = void 0;
17
+ exports.instanceOfProjectSettings = instanceOfProjectSettings;
18
+ exports.ProjectSettingsFromJSON = ProjectSettingsFromJSON;
19
+ exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
20
+ exports.ProjectSettingsToJSON = ProjectSettingsToJSON;
21
+ exports.ProjectSettingsToJSONTyped = ProjectSettingsToJSONTyped;
22
+ const ReviewDecisionMatrix_1 = require("./ReviewDecisionMatrix");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ProjectSettingsSnowballingTypeEnum = {
27
+ FORWARD: 'FORWARD',
28
+ BACKWARD: 'BACKWARD',
29
+ BOTH: 'BOTH'
30
+ };
31
+ /**
32
+ * Check if a given object implements the ProjectSettings interface.
33
+ */
34
+ function instanceOfProjectSettings(value) {
35
+ return true;
36
+ }
37
+ function ProjectSettingsFromJSON(json) {
38
+ return ProjectSettingsFromJSONTyped(json, false);
39
+ }
40
+ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
46
+ 'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
47
+ 'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
48
+ 'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : (0, ReviewDecisionMatrix_1.ReviewDecisionMatrixFromJSON)(json['reviewDecisionMatrix']),
49
+ 'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
50
+ };
51
+ }
52
+ function ProjectSettingsToJSON(json) {
53
+ return ProjectSettingsToJSONTyped(json, false);
54
+ }
55
+ function ProjectSettingsToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'similarityThreshold': value['similarityThreshold'],
61
+ 'snowballingType': value['snowballingType'],
62
+ 'reviewMaybeAllowed': value['reviewMaybeAllowed'],
63
+ 'reviewDecisionMatrix': (0, ReviewDecisionMatrix_1.ReviewDecisionMatrixToJSON)(value['reviewDecisionMatrix']),
64
+ 'fetchers': value['fetchers'],
65
+ };
66
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * SnowballR API
3
+ * REST API for the SnowballR Application
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RegisterRequest
16
+ */
17
+ export interface RegisterRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RegisterRequest
22
+ */
23
+ firstName?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RegisterRequest
28
+ */
29
+ lastName?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RegisterRequest
34
+ */
35
+ email?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof RegisterRequest
40
+ */
41
+ password?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the RegisterRequest interface.
45
+ */
46
+ export declare function instanceOfRegisterRequest(value: object): value is RegisterRequest;
47
+ export declare function RegisterRequestFromJSON(json: any): RegisterRequest;
48
+ export declare function RegisterRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterRequest;
49
+ export declare function RegisterRequestToJSON(json: any): RegisterRequest;
50
+ export declare function RegisterRequestToJSONTyped(value?: RegisterRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SnowballR API
6
+ * REST API for the SnowballR Application
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfRegisterRequest = instanceOfRegisterRequest;
17
+ exports.RegisterRequestFromJSON = RegisterRequestFromJSON;
18
+ exports.RegisterRequestFromJSONTyped = RegisterRequestFromJSONTyped;
19
+ exports.RegisterRequestToJSON = RegisterRequestToJSON;
20
+ exports.RegisterRequestToJSONTyped = RegisterRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RegisterRequest interface.
23
+ */
24
+ function instanceOfRegisterRequest(value) {
25
+ return true;
26
+ }
27
+ function RegisterRequestFromJSON(json) {
28
+ return RegisterRequestFromJSONTyped(json, false);
29
+ }
30
+ function RegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'firstName': json['firstName'] == null ? undefined : json['firstName'],
36
+ 'lastName': json['lastName'] == null ? undefined : json['lastName'],
37
+ 'email': json['email'] == null ? undefined : json['email'],
38
+ 'password': json['password'] == null ? undefined : json['password'],
39
+ };
40
+ }
41
+ function RegisterRequestToJSON(json) {
42
+ return RegisterRequestToJSONTyped(json, false);
43
+ }
44
+ function RegisterRequestToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'firstName': value['firstName'],
50
+ 'lastName': value['lastName'],
51
+ 'email': value['email'],
52
+ 'password': value['password'],
53
+ };
54
+ }
@@ -1,5 +1,9 @@
1
+ export * from './ChangePasswordRequest';
1
2
  export * from './CreateProjectRequest';
2
3
  export * from './DecisionMatrixPattern';
3
4
  export * from './DecisionMatrixPatternEntry';
4
- export * from './Project';
5
+ export * from './LoginRequest';
6
+ export * from './ProjectResponse';
7
+ export * from './ProjectSettings';
8
+ export * from './RegisterRequest';
5
9
  export * from './ReviewDecisionMatrix';
@@ -16,8 +16,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
+ __exportStar(require("./ChangePasswordRequest"), exports);
19
20
  __exportStar(require("./CreateProjectRequest"), exports);
20
21
  __exportStar(require("./DecisionMatrixPattern"), exports);
21
22
  __exportStar(require("./DecisionMatrixPatternEntry"), exports);
22
- __exportStar(require("./Project"), exports);
23
+ __exportStar(require("./LoginRequest"), exports);
24
+ __exportStar(require("./ProjectResponse"), exports);
25
+ __exportStar(require("./ProjectSettings"), exports);
26
+ __exportStar(require("./RegisterRequest"), exports);
23
27
  __exportStar(require("./ReviewDecisionMatrix"), exports);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@se-uulm/snowballr-api-client",
3
- "version": "0.2.1-alpha.81a413f",
4
- "description": "OpenAPI client for @se-uulm/snowballr-api-client",
5
- "author": "OpenAPI-Generator",
3
+ "version": "0.2.1-alpha.882feae",
4
+ "description": "API client for the SnowballR Web Application",
5
+ "author": "SnowballR",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/SE-UUlm/snowballr-backend.git"
@@ -18,5 +18,11 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "typescript": "^4.0 || ^5.0"
21
- }
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "README.md",
25
+ "LICENSE",
26
+ "CHANGELOG.md"
27
+ ]
22
28
  }
@@ -1,17 +0,0 @@
1
- .gitignore
2
- .npmignore
3
- .openapi-generator-ignore
4
- README.md
5
- package.json
6
- src/apis/ProjectsControllerApi.ts
7
- src/apis/index.ts
8
- src/index.ts
9
- src/models/CreateProjectRequest.ts
10
- src/models/DecisionMatrixPattern.ts
11
- src/models/DecisionMatrixPatternEntry.ts
12
- src/models/Project.ts
13
- src/models/ReviewDecisionMatrix.ts
14
- src/models/index.ts
15
- src/runtime.ts
16
- tsconfig.esm.json
17
- tsconfig.json
@@ -1 +0,0 @@
1
- 7.14.0
@@ -1,23 +0,0 @@
1
- # OpenAPI Generator Ignore
2
- # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
-
4
- # Use this file to prevent files from being overwritten by the generator.
5
- # The patterns follow closely to .gitignore or .dockerignore.
6
-
7
- # As an example, the C# client generator defines ApiClient.cs.
8
- # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
- #ApiClient.cs
10
-
11
- # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
- #foo/*/qux
13
- # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
-
15
- # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
- #foo/**/qux
17
- # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
-
19
- # You can also negate patterns with an exclamation (!).
20
- # For example, you can ignore all files in a docs folder with the file extension .md:
21
- #docs/*.md
22
- # Then explicitly reverse the ignore rule for a single file:
23
- #!docs/README.md
@@ -1,117 +0,0 @@
1
- /**
2
- * SnowballR API
3
- * REST API for the SnowballR Application
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
13
- /**
14
- *
15
- * @export
16
- * @interface Project
17
- */
18
- export interface Project {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof Project
23
- */
24
- id?: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof Project
29
- */
30
- name?: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof Project
35
- */
36
- status?: ProjectStatusEnum;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof Project
41
- */
42
- currentStage?: number;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof Project
47
- */
48
- maxStage?: number;
49
- /**
50
- *
51
- * @type {number}
52
- * @memberof Project
53
- */
54
- similarityThreshold?: number;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof Project
59
- */
60
- snowballingType?: ProjectSnowballingTypeEnum;
61
- /**
62
- *
63
- * @type {boolean}
64
- * @memberof Project
65
- */
66
- reviewMaybeAllowed?: boolean;
67
- /**
68
- *
69
- * @type {ReviewDecisionMatrix}
70
- * @memberof Project
71
- */
72
- reviewDecisionMatrix?: ReviewDecisionMatrix;
73
- /**
74
- *
75
- * @type {{ [key: string]: { [key: string]: string; }; }}
76
- * @memberof Project
77
- */
78
- fetchers?: {
79
- [key: string]: {
80
- [key: string]: string;
81
- };
82
- };
83
- /**
84
- *
85
- * @type {Date}
86
- * @memberof Project
87
- */
88
- currentStageStartedAt?: Date;
89
- }
90
- /**
91
- * @export
92
- */
93
- export declare const ProjectStatusEnum: {
94
- readonly ACTIVE: "ACTIVE";
95
- readonly ACTIVE_LOCKED: "ACTIVE_LOCKED";
96
- readonly ARCHIVED: "ARCHIVED";
97
- readonly DELETED: "DELETED";
98
- readonly CLEARED: "CLEARED";
99
- };
100
- export type ProjectStatusEnum = typeof ProjectStatusEnum[keyof typeof ProjectStatusEnum];
101
- /**
102
- * @export
103
- */
104
- export declare const ProjectSnowballingTypeEnum: {
105
- readonly FORWARD: "FORWARD";
106
- readonly BACKWARD: "BACKWARD";
107
- readonly BOTH: "BOTH";
108
- };
109
- export type ProjectSnowballingTypeEnum = typeof ProjectSnowballingTypeEnum[keyof typeof ProjectSnowballingTypeEnum];
110
- /**
111
- * Check if a given object implements the Project interface.
112
- */
113
- export declare function instanceOfProject(value: object): value is Project;
114
- export declare function ProjectFromJSON(json: any): Project;
115
- export declare function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Project;
116
- export declare function ProjectToJSON(json: any): Project;
117
- export declare function ProjectToJSONTyped(value?: Project | null, ignoreDiscriminator?: boolean): any;