@se-uulm/snowballr-api-client 0.2.1-alpha.88d6540 → 0.2.1-alpha.8f8b5d7
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/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/dist/esm/models/Project.d.ts +42 -5
- package/dist/esm/models/Project.js +19 -3
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/models/Project.d.ts +42 -5
- package/dist/models/Project.js +20 -4
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/src/models/Project.ts +54 -12
- package/src/models/index.ts +0 -1
- package/dist/esm/models/ProjectSettings.d.ts +0 -70
- package/dist/esm/models/ProjectSettings.js +0 -58
- package/dist/models/ProjectSettings.d.ts +0 -70
- package/dist/models/ProjectSettings.js +0 -66
- package/src/models/ProjectSettings.ts +0 -117
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @se-uulm/snowballr-api-client@0.2.1-alpha.
|
|
1
|
+
## @se-uulm/snowballr-api-client@0.2.1-alpha.8f8b5d7
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @se-uulm/snowballr-api-client@0.2.1-alpha.
|
|
39
|
+
npm install @se-uulm/snowballr-api-client@0.2.1-alpha.8f8b5d7 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -48,16 +48,44 @@ export interface Project {
|
|
|
48
48
|
maxStage?: number;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
|
-
* @type {
|
|
51
|
+
* @type {number}
|
|
52
52
|
* @memberof Project
|
|
53
53
|
*/
|
|
54
|
-
|
|
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;
|
|
55
73
|
/**
|
|
56
74
|
*
|
|
57
|
-
* @type {
|
|
75
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
58
76
|
* @memberof Project
|
|
59
77
|
*/
|
|
60
|
-
|
|
78
|
+
fetchers?: {
|
|
79
|
+
[key: string]: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Date}
|
|
86
|
+
* @memberof Project
|
|
87
|
+
*/
|
|
88
|
+
currentStageStartedAt?: Date;
|
|
61
89
|
}
|
|
62
90
|
/**
|
|
63
91
|
* @export
|
|
@@ -70,6 +98,15 @@ export declare const ProjectStatusEnum: {
|
|
|
70
98
|
readonly CLEARED: "CLEARED";
|
|
71
99
|
};
|
|
72
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];
|
|
73
110
|
/**
|
|
74
111
|
* Check if a given object implements the Project interface.
|
|
75
112
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { ReviewDecisionMatrixFromJSON, ReviewDecisionMatrixToJSON, } from './ReviewDecisionMatrix';
|
|
15
15
|
/**
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
@@ -22,6 +22,14 @@ export const ProjectStatusEnum = {
|
|
|
22
22
|
DELETED: 'DELETED',
|
|
23
23
|
CLEARED: 'CLEARED'
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export const ProjectSnowballingTypeEnum = {
|
|
29
|
+
FORWARD: 'FORWARD',
|
|
30
|
+
BACKWARD: 'BACKWARD',
|
|
31
|
+
BOTH: 'BOTH'
|
|
32
|
+
};
|
|
25
33
|
/**
|
|
26
34
|
* Check if a given object implements the Project interface.
|
|
27
35
|
*/
|
|
@@ -41,8 +49,12 @@ export function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
49
|
'status': json['status'] == null ? undefined : json['status'],
|
|
42
50
|
'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
|
|
43
51
|
'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
|
|
52
|
+
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
53
|
+
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
54
|
+
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
55
|
+
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
|
|
56
|
+
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
44
57
|
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
45
|
-
'settings': json['settings'] == null ? undefined : ProjectSettingsFromJSON(json['settings']),
|
|
46
58
|
};
|
|
47
59
|
}
|
|
48
60
|
export function ProjectToJSON(json) {
|
|
@@ -58,7 +70,11 @@ export function ProjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
58
70
|
'status': value['status'],
|
|
59
71
|
'currentStage': value['currentStage'],
|
|
60
72
|
'maxStage': value['maxStage'],
|
|
73
|
+
'similarityThreshold': value['similarityThreshold'],
|
|
74
|
+
'snowballingType': value['snowballingType'],
|
|
75
|
+
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
76
|
+
'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
|
|
77
|
+
'fetchers': value['fetchers'],
|
|
61
78
|
'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
|
|
62
|
-
'settings': ProjectSettingsToJSON(value['settings']),
|
|
63
79
|
};
|
|
64
80
|
}
|
package/dist/esm/models/index.js
CHANGED
package/dist/models/Project.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -48,16 +48,44 @@ export interface Project {
|
|
|
48
48
|
maxStage?: number;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
|
-
* @type {
|
|
51
|
+
* @type {number}
|
|
52
52
|
* @memberof Project
|
|
53
53
|
*/
|
|
54
|
-
|
|
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;
|
|
55
73
|
/**
|
|
56
74
|
*
|
|
57
|
-
* @type {
|
|
75
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
58
76
|
* @memberof Project
|
|
59
77
|
*/
|
|
60
|
-
|
|
78
|
+
fetchers?: {
|
|
79
|
+
[key: string]: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Date}
|
|
86
|
+
* @memberof Project
|
|
87
|
+
*/
|
|
88
|
+
currentStageStartedAt?: Date;
|
|
61
89
|
}
|
|
62
90
|
/**
|
|
63
91
|
* @export
|
|
@@ -70,6 +98,15 @@ export declare const ProjectStatusEnum: {
|
|
|
70
98
|
readonly CLEARED: "CLEARED";
|
|
71
99
|
};
|
|
72
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];
|
|
73
110
|
/**
|
|
74
111
|
* Check if a given object implements the Project interface.
|
|
75
112
|
*/
|
package/dist/models/Project.js
CHANGED
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ProjectStatusEnum = void 0;
|
|
16
|
+
exports.ProjectSnowballingTypeEnum = exports.ProjectStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfProject = instanceOfProject;
|
|
18
18
|
exports.ProjectFromJSON = ProjectFromJSON;
|
|
19
19
|
exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
|
|
20
20
|
exports.ProjectToJSON = ProjectToJSON;
|
|
21
21
|
exports.ProjectToJSONTyped = ProjectToJSONTyped;
|
|
22
|
-
const
|
|
22
|
+
const ReviewDecisionMatrix_1 = require("./ReviewDecisionMatrix");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -30,6 +30,14 @@ exports.ProjectStatusEnum = {
|
|
|
30
30
|
DELETED: 'DELETED',
|
|
31
31
|
CLEARED: 'CLEARED'
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.ProjectSnowballingTypeEnum = {
|
|
37
|
+
FORWARD: 'FORWARD',
|
|
38
|
+
BACKWARD: 'BACKWARD',
|
|
39
|
+
BOTH: 'BOTH'
|
|
40
|
+
};
|
|
33
41
|
/**
|
|
34
42
|
* Check if a given object implements the Project interface.
|
|
35
43
|
*/
|
|
@@ -49,8 +57,12 @@ function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
57
|
'status': json['status'] == null ? undefined : json['status'],
|
|
50
58
|
'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
|
|
51
59
|
'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
|
|
60
|
+
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
61
|
+
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
62
|
+
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
63
|
+
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : (0, ReviewDecisionMatrix_1.ReviewDecisionMatrixFromJSON)(json['reviewDecisionMatrix']),
|
|
64
|
+
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
52
65
|
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
53
|
-
'settings': json['settings'] == null ? undefined : (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
54
66
|
};
|
|
55
67
|
}
|
|
56
68
|
function ProjectToJSON(json) {
|
|
@@ -66,7 +78,11 @@ function ProjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
66
78
|
'status': value['status'],
|
|
67
79
|
'currentStage': value['currentStage'],
|
|
68
80
|
'maxStage': value['maxStage'],
|
|
81
|
+
'similarityThreshold': value['similarityThreshold'],
|
|
82
|
+
'snowballingType': value['snowballingType'],
|
|
83
|
+
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
84
|
+
'reviewDecisionMatrix': (0, ReviewDecisionMatrix_1.ReviewDecisionMatrixToJSON)(value['reviewDecisionMatrix']),
|
|
85
|
+
'fetchers': value['fetchers'],
|
|
69
86
|
'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
|
|
70
|
-
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value['settings']),
|
|
71
87
|
};
|
|
72
88
|
}
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -20,5 +20,4 @@ __exportStar(require("./CreateProjectRequest"), exports);
|
|
|
20
20
|
__exportStar(require("./DecisionMatrixPattern"), exports);
|
|
21
21
|
__exportStar(require("./DecisionMatrixPatternEntry"), exports);
|
|
22
22
|
__exportStar(require("./Project"), exports);
|
|
23
|
-
__exportStar(require("./ProjectSettings"), exports);
|
|
24
23
|
__exportStar(require("./ReviewDecisionMatrix"), exports);
|
package/package.json
CHANGED
package/src/models/Project.ts
CHANGED
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ReviewDecisionMatrixFromJSON,
|
|
19
|
+
ReviewDecisionMatrixFromJSONTyped,
|
|
20
|
+
ReviewDecisionMatrixToJSON,
|
|
21
|
+
ReviewDecisionMatrixToJSONTyped,
|
|
22
|
+
} from './ReviewDecisionMatrix';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -59,16 +59,40 @@ export interface Project {
|
|
|
59
59
|
maxStage?: number;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @type {
|
|
62
|
+
* @type {number}
|
|
63
63
|
* @memberof Project
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
similarityThreshold?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Project
|
|
70
|
+
*/
|
|
71
|
+
snowballingType?: ProjectSnowballingTypeEnum;
|
|
66
72
|
/**
|
|
67
73
|
*
|
|
68
|
-
* @type {
|
|
74
|
+
* @type {boolean}
|
|
69
75
|
* @memberof Project
|
|
70
76
|
*/
|
|
71
|
-
|
|
77
|
+
reviewMaybeAllowed?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {ReviewDecisionMatrix}
|
|
81
|
+
* @memberof Project
|
|
82
|
+
*/
|
|
83
|
+
reviewDecisionMatrix?: ReviewDecisionMatrix;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
87
|
+
* @memberof Project
|
|
88
|
+
*/
|
|
89
|
+
fetchers?: { [key: string]: { [key: string]: string; }; };
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Date}
|
|
93
|
+
* @memberof Project
|
|
94
|
+
*/
|
|
95
|
+
currentStageStartedAt?: Date;
|
|
72
96
|
}
|
|
73
97
|
|
|
74
98
|
|
|
@@ -84,6 +108,16 @@ export const ProjectStatusEnum = {
|
|
|
84
108
|
} as const;
|
|
85
109
|
export type ProjectStatusEnum = typeof ProjectStatusEnum[keyof typeof ProjectStatusEnum];
|
|
86
110
|
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export const ProjectSnowballingTypeEnum = {
|
|
115
|
+
FORWARD: 'FORWARD',
|
|
116
|
+
BACKWARD: 'BACKWARD',
|
|
117
|
+
BOTH: 'BOTH'
|
|
118
|
+
} as const;
|
|
119
|
+
export type ProjectSnowballingTypeEnum = typeof ProjectSnowballingTypeEnum[keyof typeof ProjectSnowballingTypeEnum];
|
|
120
|
+
|
|
87
121
|
|
|
88
122
|
/**
|
|
89
123
|
* Check if a given object implements the Project interface.
|
|
@@ -107,8 +141,12 @@ export function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
107
141
|
'status': json['status'] == null ? undefined : json['status'],
|
|
108
142
|
'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
|
|
109
143
|
'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
|
|
144
|
+
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
145
|
+
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
146
|
+
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
147
|
+
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
|
|
148
|
+
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
110
149
|
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
111
|
-
'settings': json['settings'] == null ? undefined : ProjectSettingsFromJSON(json['settings']),
|
|
112
150
|
};
|
|
113
151
|
}
|
|
114
152
|
|
|
@@ -128,8 +166,12 @@ export function ProjectToJSONTyped(value?: Project | null, ignoreDiscriminator:
|
|
|
128
166
|
'status': value['status'],
|
|
129
167
|
'currentStage': value['currentStage'],
|
|
130
168
|
'maxStage': value['maxStage'],
|
|
169
|
+
'similarityThreshold': value['similarityThreshold'],
|
|
170
|
+
'snowballingType': value['snowballingType'],
|
|
171
|
+
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
172
|
+
'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
|
|
173
|
+
'fetchers': value['fetchers'],
|
|
131
174
|
'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
|
|
132
|
-
'settings': ProjectSettingsToJSON(value['settings']),
|
|
133
175
|
};
|
|
134
176
|
}
|
|
135
177
|
|
package/src/models/index.ts
CHANGED
|
@@ -1,70 +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 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;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ReviewDecisionMatrixFromJSON, ReviewDecisionMatrixToJSON, } from './ReviewDecisionMatrix';
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const ProjectSettingsSnowballingTypeEnum = {
|
|
19
|
-
FORWARD: 'FORWARD',
|
|
20
|
-
BACKWARD: 'BACKWARD',
|
|
21
|
-
BOTH: 'BOTH'
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the ProjectSettings interface.
|
|
25
|
-
*/
|
|
26
|
-
export function instanceOfProjectSettings(value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function ProjectSettingsFromJSON(json) {
|
|
30
|
-
return ProjectSettingsFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
38
|
-
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
39
|
-
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
40
|
-
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
|
|
41
|
-
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
export function ProjectSettingsToJSON(json) {
|
|
45
|
-
return ProjectSettingsToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
export function ProjectSettingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'similarityThreshold': value['similarityThreshold'],
|
|
53
|
-
'snowballingType': value['snowballingType'],
|
|
54
|
-
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
55
|
-
'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
|
|
56
|
-
'fetchers': value['fetchers'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
@@ -1,70 +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 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;
|
|
@@ -1,66 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
|
|
17
|
-
import {
|
|
18
|
-
ReviewDecisionMatrixFromJSON,
|
|
19
|
-
ReviewDecisionMatrixFromJSONTyped,
|
|
20
|
-
ReviewDecisionMatrixToJSON,
|
|
21
|
-
ReviewDecisionMatrixToJSONTyped,
|
|
22
|
-
} from './ReviewDecisionMatrix';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProjectSettings
|
|
28
|
-
*/
|
|
29
|
-
export interface ProjectSettings {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ProjectSettings
|
|
34
|
-
*/
|
|
35
|
-
similarityThreshold?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ProjectSettings
|
|
40
|
-
*/
|
|
41
|
-
snowballingType?: ProjectSettingsSnowballingTypeEnum;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof ProjectSettings
|
|
46
|
-
*/
|
|
47
|
-
reviewMaybeAllowed?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {ReviewDecisionMatrix}
|
|
51
|
-
* @memberof ProjectSettings
|
|
52
|
-
*/
|
|
53
|
-
reviewDecisionMatrix?: ReviewDecisionMatrix;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
57
|
-
* @memberof ProjectSettings
|
|
58
|
-
*/
|
|
59
|
-
fetchers?: { [key: string]: { [key: string]: string; }; };
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export const ProjectSettingsSnowballingTypeEnum = {
|
|
67
|
-
FORWARD: 'FORWARD',
|
|
68
|
-
BACKWARD: 'BACKWARD',
|
|
69
|
-
BOTH: 'BOTH'
|
|
70
|
-
} as const;
|
|
71
|
-
export type ProjectSettingsSnowballingTypeEnum = typeof ProjectSettingsSnowballingTypeEnum[keyof typeof ProjectSettingsSnowballingTypeEnum];
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Check if a given object implements the ProjectSettings interface.
|
|
76
|
-
*/
|
|
77
|
-
export function instanceOfProjectSettings(value: object): value is ProjectSettings {
|
|
78
|
-
return true;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function ProjectSettingsFromJSON(json: any): ProjectSettings {
|
|
82
|
-
return ProjectSettingsFromJSONTyped(json, false);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings {
|
|
86
|
-
if (json == null) {
|
|
87
|
-
return json;
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
|
|
91
|
-
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
92
|
-
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
93
|
-
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
94
|
-
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
|
|
95
|
-
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export function ProjectSettingsToJSON(json: any): ProjectSettings {
|
|
100
|
-
return ProjectSettingsToJSONTyped(json, false);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export function ProjectSettingsToJSONTyped(value?: ProjectSettings | null, ignoreDiscriminator: boolean = false): any {
|
|
104
|
-
if (value == null) {
|
|
105
|
-
return value;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
return {
|
|
109
|
-
|
|
110
|
-
'similarityThreshold': value['similarityThreshold'],
|
|
111
|
-
'snowballingType': value['snowballingType'],
|
|
112
|
-
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
113
|
-
'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
|
|
114
|
-
'fetchers': value['fetchers'],
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
|