@se-uulm/snowballr-grpc-client 0.2.0 → 0.2.1-alpha.2fd7ace
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authentication.d.ts +216 -0
- package/dist/{authentication.ts → authentication.js} +50 -155
- package/dist/base.d.ts +139 -0
- package/dist/{base.ts → base.js} +43 -108
- package/dist/criterion.d.ts +170 -0
- package/dist/{criterion.ts → criterion.js} +33 -122
- package/dist/export.d.ts +84 -0
- package/dist/{export.ts → export.js} +19 -65
- package/dist/fetcher.d.ts +161 -0
- package/dist/{fetcher.ts → fetcher.js} +30 -140
- package/dist/google/protobuf/{field_mask.ts → field_mask.d.ts} +10 -73
- package/dist/google/protobuf/field_mask.js +117 -0
- package/dist/google/protobuf/{timestamp.ts → timestamp.d.ts} +13 -111
- package/dist/google/protobuf/timestamp.js +166 -0
- package/dist/{main.client.ts → main.client.d.ts} +135 -362
- package/dist/main.client.js +1690 -0
- package/dist/main.d.ts +10 -0
- package/dist/{main.ts → main.js} +60 -54
- package/dist/paper.d.ts +217 -0
- package/dist/{paper.ts → paper.js} +41 -187
- package/dist/project.d.ts +866 -0
- package/dist/{project.ts → project.js} +195 -641
- package/dist/review.d.ts +153 -0
- package/dist/{review.ts → review.js} +33 -105
- package/dist/user.d.ts +157 -0
- package/dist/{user.ts → user.js} +33 -93
- package/dist/user_settings.d.ts +74 -0
- package/dist/{user_settings.ts → user_settings.js} +16 -59
- package/package.json +15 -6
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies,output_javascript
|
|
2
|
+
// @generated from protobuf file "main.proto" (package "snowballr", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
//
|
|
5
|
+
/// Main file of the SnowballR service. Contains all RPCs.
|
|
6
|
+
//
|
|
7
|
+
/**
|
|
8
|
+
* @generated ServiceType for protobuf service snowballr.SnowballR
|
|
9
|
+
*/
|
|
10
|
+
export declare const SnowballR: any;
|
package/dist/{main.ts → main.js}
RENAMED
|
@@ -1,62 +1,68 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies,output_javascript
|
|
2
2
|
// @generated from protobuf file "main.proto" (package "snowballr", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
5
5
|
/// Main file of the SnowballR service. Contains all RPCs.
|
|
6
6
|
//
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
7
|
+
// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies,output_javascript
|
|
8
|
+
// @generated from protobuf file "main.proto" (package "snowballr", syntax proto3)
|
|
9
|
+
// tslint:disable
|
|
10
|
+
//
|
|
11
|
+
/// Main file of the SnowballR service. Contains all RPCs.
|
|
12
|
+
//
|
|
13
|
+
import { Paper_PdfUpdate } from "./paper.js";
|
|
14
|
+
import { Blob } from "./base.js";
|
|
15
|
+
import { Paper_Update } from "./paper.js";
|
|
16
|
+
import { Project_Paper_SearchQuery } from "./project.js";
|
|
17
|
+
import { Paper } from "./paper.js";
|
|
18
|
+
import { Review_Update } from "./review.js";
|
|
19
|
+
import { Review_Create } from "./review.js";
|
|
20
|
+
import { Review_List } from "./review.js";
|
|
21
|
+
import { Review } from "./review.js";
|
|
22
|
+
import { Project_Paper_Update } from "./project.js";
|
|
23
|
+
import { Project_Paper_Add } from "./project.js";
|
|
24
|
+
import { Project_Paper_Get } from "./project.js";
|
|
25
|
+
import { Criterion_Update } from "./criterion.js";
|
|
26
|
+
import { Criterion_Create } from "./criterion.js";
|
|
27
|
+
import { Criterion_List } from "./criterion.js";
|
|
28
|
+
import { Criterion } from "./criterion.js";
|
|
29
|
+
import { Project_Information_DecisionStatistics } from "./project.js";
|
|
30
|
+
import { Project_Information_DecisionStatistics_Get } from "./project.js";
|
|
31
|
+
import { Project_Information } from "./project.js";
|
|
32
|
+
import { Project_Information_Get } from "./project.js";
|
|
33
|
+
import { ExportResponse } from "./export.js";
|
|
34
|
+
import { ExportRequest } from "./export.js";
|
|
35
|
+
import { AvailableExportFormatsResponse } from "./export.js";
|
|
36
|
+
import { Project_Update } from "./project.js";
|
|
37
|
+
import { Project } from "./project.js";
|
|
38
|
+
import { Project_Create } from "./project.js";
|
|
39
|
+
import { Project_List } from "./project.js";
|
|
40
|
+
import { Project_Member_Update } from "./project.js";
|
|
41
|
+
import { Project_Member_Remove } from "./project.js";
|
|
42
|
+
import { Project_Member_List } from "./project.js";
|
|
43
|
+
import { Project_Member_Accept } from "./project.js";
|
|
44
|
+
import { Project_Member_Invite } from "./project.js";
|
|
45
|
+
import { Project_InviteCandidatesRequest } from "./project.js";
|
|
46
|
+
import { BoolValue } from "./base.js";
|
|
47
|
+
import { Paper_List } from "./paper.js";
|
|
48
|
+
import { Project_Paper } from "./project.js";
|
|
49
|
+
import { Project_Paper_List } from "./project.js";
|
|
50
|
+
import { UserSettings_Update } from "./user_settings.js";
|
|
51
|
+
import { UserSettings } from "./user_settings.js";
|
|
52
|
+
import { User_Update } from "./user.js";
|
|
53
|
+
import { Email } from "./base.js";
|
|
54
|
+
import { Id } from "./base.js";
|
|
55
|
+
import { User } from "./user.js";
|
|
56
|
+
import { User_List } from "./user.js";
|
|
57
|
+
import { PasswordChangeRequest } from "./authentication.js";
|
|
58
|
+
import { PasswordResetRequest } from "./authentication.js";
|
|
59
|
+
import { RequestPasswordResetRequest } from "./authentication.js";
|
|
60
|
+
import { AuthenticationStatusResponse } from "./authentication.js";
|
|
61
|
+
import { LoginRequest } from "./authentication.js";
|
|
62
|
+
import { VerifyEmailRequest } from "./authentication.js";
|
|
63
|
+
import { RegisterRequest } from "./authentication.js";
|
|
64
|
+
import { AvailableFetchers } from "./fetcher.js";
|
|
65
|
+
import { Nothing } from "./base.js";
|
|
60
66
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
61
67
|
/**
|
|
62
68
|
* @generated ServiceType for protobuf service snowballr.SnowballR
|
package/dist/paper.d.ts
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies,output_javascript
|
|
2
|
+
// @generated from protobuf file "paper.proto" (package "snowballr", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
//
|
|
5
|
+
/// Paper related messages and enums of the SnowballR app.
|
|
6
|
+
//
|
|
7
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
9
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
10
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
11
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
12
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
|
+
import { Blob } from "./base.js";
|
|
14
|
+
import { FieldMask } from "./google/protobuf/field_mask.js";
|
|
15
|
+
/**
|
|
16
|
+
* An author of a paper.
|
|
17
|
+
*
|
|
18
|
+
* @generated from protobuf message snowballr.Author
|
|
19
|
+
*/
|
|
20
|
+
export interface Author {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf field: string first_name = 1
|
|
23
|
+
*/
|
|
24
|
+
firstName: string;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from protobuf field: string last_name = 2
|
|
27
|
+
*/
|
|
28
|
+
lastName: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A scientific paper with it's references and other metadata.
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf message snowballr.Paper
|
|
34
|
+
*/
|
|
35
|
+
export interface Paper {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from protobuf field: string id = 1
|
|
38
|
+
*/
|
|
39
|
+
id: string;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from protobuf field: string title = 3
|
|
42
|
+
*/
|
|
43
|
+
title: string;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf field: string abstrakt = 4
|
|
46
|
+
*/
|
|
47
|
+
abstrakt: string;
|
|
48
|
+
/**
|
|
49
|
+
* @generated from protobuf field: int32 year = 5
|
|
50
|
+
*/
|
|
51
|
+
year: number;
|
|
52
|
+
/**
|
|
53
|
+
* @generated from protobuf field: string publisher = 6
|
|
54
|
+
*/
|
|
55
|
+
publisher: string;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf field: string publication_name = 7
|
|
58
|
+
*/
|
|
59
|
+
publicationName: string;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from protobuf field: string publication_type = 8
|
|
62
|
+
*/
|
|
63
|
+
publicationType: string;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from protobuf field: bool has_pdf = 9
|
|
66
|
+
*/
|
|
67
|
+
hasPdf: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf field: repeated snowballr.Author authors = 10
|
|
70
|
+
*/
|
|
71
|
+
authors: Author[];
|
|
72
|
+
/**
|
|
73
|
+
* @generated from protobuf field: repeated string backward_referenced_ids = 11
|
|
74
|
+
*/
|
|
75
|
+
backwardReferencedIds: string[];
|
|
76
|
+
/**
|
|
77
|
+
* A key-value map to store arbitrary metadata about the paper.
|
|
78
|
+
* This could for example be a fetcher specific id.
|
|
79
|
+
*
|
|
80
|
+
* @generated from protobuf field: map<string, string> fetcher_metadata = 12
|
|
81
|
+
*/
|
|
82
|
+
fetcherMetadata: {
|
|
83
|
+
[key: string]: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @generated from protobuf field: repeated snowballr.Paper.ExternalId external_ids = 13
|
|
87
|
+
*/
|
|
88
|
+
externalIds: Paper_ExternalId[];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* A list of papers.
|
|
92
|
+
*
|
|
93
|
+
* @generated from protobuf message snowballr.Paper.List
|
|
94
|
+
*/
|
|
95
|
+
export interface Paper_List {
|
|
96
|
+
/**
|
|
97
|
+
* @generated from protobuf field: repeated snowballr.Paper papers = 1
|
|
98
|
+
*/
|
|
99
|
+
papers: Paper[];
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Request to update a paper.
|
|
103
|
+
*
|
|
104
|
+
* @generated from protobuf message snowballr.Paper.Update
|
|
105
|
+
*/
|
|
106
|
+
export interface Paper_Update {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from protobuf field: snowballr.Paper paper = 1
|
|
109
|
+
*/
|
|
110
|
+
paper?: Paper;
|
|
111
|
+
/**
|
|
112
|
+
* @generated from protobuf field: google.protobuf.FieldMask mask = 2
|
|
113
|
+
*/
|
|
114
|
+
mask?: FieldMask;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Request to update the PDF of a paper.
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf message snowballr.Paper.PdfUpdate
|
|
120
|
+
*/
|
|
121
|
+
export interface Paper_PdfUpdate {
|
|
122
|
+
/**
|
|
123
|
+
* @generated from protobuf field: string paper_id = 1
|
|
124
|
+
*/
|
|
125
|
+
paperId: string;
|
|
126
|
+
/**
|
|
127
|
+
* @generated from protobuf field: snowballr.Blob pdf = 2
|
|
128
|
+
*/
|
|
129
|
+
pdf?: Blob;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* External ID of a paper, e.g. DOI, URL, etc. that can be used to identify the paper.
|
|
133
|
+
*
|
|
134
|
+
* @generated from protobuf message snowballr.Paper.ExternalId
|
|
135
|
+
*/
|
|
136
|
+
export interface Paper_ExternalId {
|
|
137
|
+
/**
|
|
138
|
+
* The type of the external ID, e.g. DOI, URL, ...
|
|
139
|
+
*
|
|
140
|
+
* @generated from protobuf field: string type = 1
|
|
141
|
+
*/
|
|
142
|
+
type: string;
|
|
143
|
+
/**
|
|
144
|
+
* The display type of the external ID, e.g. DOI, URL, ...
|
|
145
|
+
*
|
|
146
|
+
* @generated from protobuf field: string display_type = 2
|
|
147
|
+
*/
|
|
148
|
+
displayType: string;
|
|
149
|
+
/**
|
|
150
|
+
* The actual value of the ID that can be used to identify the paper
|
|
151
|
+
*
|
|
152
|
+
* @generated from protobuf field: string value = 3
|
|
153
|
+
*/
|
|
154
|
+
value: string;
|
|
155
|
+
}
|
|
156
|
+
declare class Author$Type extends MessageType<Author> {
|
|
157
|
+
constructor();
|
|
158
|
+
create(value?: PartialMessage<Author>): Author;
|
|
159
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Author): Author;
|
|
160
|
+
internalBinaryWrite(message: Author, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @generated MessageType for protobuf message snowballr.Author
|
|
164
|
+
*/
|
|
165
|
+
export declare const Author: Author$Type;
|
|
166
|
+
declare class Paper$Type extends MessageType<Paper> {
|
|
167
|
+
constructor();
|
|
168
|
+
create(value?: PartialMessage<Paper>): Paper;
|
|
169
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Paper): Paper;
|
|
170
|
+
private binaryReadMap12;
|
|
171
|
+
internalBinaryWrite(message: Paper, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @generated MessageType for protobuf message snowballr.Paper
|
|
175
|
+
*/
|
|
176
|
+
export declare const Paper: Paper$Type;
|
|
177
|
+
declare class Paper_List$Type extends MessageType<Paper_List> {
|
|
178
|
+
constructor();
|
|
179
|
+
create(value?: PartialMessage<Paper_List>): Paper_List;
|
|
180
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Paper_List): Paper_List;
|
|
181
|
+
internalBinaryWrite(message: Paper_List, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* @generated MessageType for protobuf message snowballr.Paper.List
|
|
185
|
+
*/
|
|
186
|
+
export declare const Paper_List: Paper_List$Type;
|
|
187
|
+
declare class Paper_Update$Type extends MessageType<Paper_Update> {
|
|
188
|
+
constructor();
|
|
189
|
+
create(value?: PartialMessage<Paper_Update>): Paper_Update;
|
|
190
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Paper_Update): Paper_Update;
|
|
191
|
+
internalBinaryWrite(message: Paper_Update, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* @generated MessageType for protobuf message snowballr.Paper.Update
|
|
195
|
+
*/
|
|
196
|
+
export declare const Paper_Update: Paper_Update$Type;
|
|
197
|
+
declare class Paper_PdfUpdate$Type extends MessageType<Paper_PdfUpdate> {
|
|
198
|
+
constructor();
|
|
199
|
+
create(value?: PartialMessage<Paper_PdfUpdate>): Paper_PdfUpdate;
|
|
200
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Paper_PdfUpdate): Paper_PdfUpdate;
|
|
201
|
+
internalBinaryWrite(message: Paper_PdfUpdate, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* @generated MessageType for protobuf message snowballr.Paper.PdfUpdate
|
|
205
|
+
*/
|
|
206
|
+
export declare const Paper_PdfUpdate: Paper_PdfUpdate$Type;
|
|
207
|
+
declare class Paper_ExternalId$Type extends MessageType<Paper_ExternalId> {
|
|
208
|
+
constructor();
|
|
209
|
+
create(value?: PartialMessage<Paper_ExternalId>): Paper_ExternalId;
|
|
210
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Paper_ExternalId): Paper_ExternalId;
|
|
211
|
+
internalBinaryWrite(message: Paper_ExternalId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* @generated MessageType for protobuf message snowballr.Paper.ExternalId
|
|
215
|
+
*/
|
|
216
|
+
export declare const Paper_ExternalId: Paper_ExternalId$Type;
|
|
217
|
+
export {};
|