File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import {
23
23
DeleteQuickQueryResponse ,
24
24
DownloadFileResponse ,
25
25
DownloadRemoteFileResponse ,
26
- EnableSharing3rdPartyReponse ,
26
+ EnableSharing3rdPartyResponse ,
27
27
GenerateSetPasswordResponse ,
28
28
GetAttributeDefinitionResponse ,
29
29
GetAttributeDefinitionsResponse ,
@@ -764,7 +764,7 @@ function removeKartonAnalysisFromObject(
764
764
765
765
function enableSharing3rdParty (
766
766
identifier : string
767
- ) : EnableSharing3rdPartyReponse {
767
+ ) : EnableSharing3rdPartyResponse {
768
768
return axios . put ( `/object/${ identifier } /share_3rd_party` ) ;
769
769
}
770
770
Original file line number Diff line number Diff line change @@ -20,7 +20,19 @@ import {
20
20
21
21
export type Response < T > = Promise < AxiosResponse < T > > ;
22
22
23
- export type ServerInfoResponse = Response < { status : string } > ;
23
+ export type ServerInfoResponse = Response < {
24
+ server_version : string ;
25
+ is_authenticated : boolean ;
26
+ instance_name : string ;
27
+ is_maintenance_set : boolean ;
28
+ is_registration_enabled : boolean ;
29
+ is_karton_enabled : boolean ;
30
+ is_oidc_enabled : boolean ;
31
+ recaptcha_site_key : boolean ;
32
+ request_timeout : number ;
33
+ file_upload_timeout : number ;
34
+ statement_timeout : number ;
35
+ } > ;
24
36
25
37
type ServerDocsInfo = {
26
38
description : string ;
@@ -288,4 +300,4 @@ export type ResubmitKartonAnalysisResponse = Response<{
288
300
289
301
export type RemoveKartonAnalysisFromObjectResponse = Response < null > ;
290
302
291
- export type EnableSharing3rdPartyReponse = Response < null > ;
303
+ export type EnableSharing3rdPartyResponse = Response < null > ;
You can’t perform that action at this time.
0 commit comments