-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.d.ts
46 lines (46 loc) · 1.14 KB
/
types.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
export interface JavaConfig {
dsapiPath: string[];
}
export interface ServerConfig {
serverName: string;
serverPort?: number;
}
export interface SessionConfig {
userDomain?: string;
userName: string;
password: string;
}
export interface JavaOutput {
status: number;
stdout: string;
stderr: string;
}
export declare type DocuShareObjectClass = "Collection" | "Document";
export interface DocuShareOutput {
success: boolean;
dsObjects: DocuShareObject[];
error?: string;
}
export interface DocuShareObject {
handle: string;
title: string;
summary: string;
description: string;
keywords: string;
createDate: string;
createDateMillis: number;
modifiedDate: string;
modifiedDateMillis: number;
expirationDate?: string;
expirationDateMillis?: number;
}
export interface Filter {
searchType: "equals" | "includes" | "includesPieces";
searchString: string;
_searchStringSplit?: string[];
}
declare type FilterField = "text" | "handle" | "title" | "summary" | "description";
export declare type FindChildrenFilters = {
[filterField in FilterField]?: Filter;
};
export {};