default: {
Approve: ((location: string, mergeID: string, token: string) => Promise<string | undefined>);
Compare: ((mergeID: string) => Promise<{
diffs: any[];
record: any;
} | undefined>);
Create: ((location: string, from_location: string, Title: string, Content: string, token: string) => Promise<{
id: string;
location: string;
} | undefined>);
Delete: ((location: string, id: string, token: string) => Promise<string | undefined>);
}
Type declaration
-
Approve: ((location: string, mergeID: string, token: string) => Promise<string | undefined>)
-
- (location: string, mergeID: string, token: string): Promise<string | undefined>
-
Parameters
-
location: string
-
mergeID: string
-
token: string
Returns Promise<string | undefined>
-
Compare: ((mergeID: string) => Promise<{
diffs: any[];
record: any;
} | undefined>)
-
- (mergeID: string): Promise<{
diffs: any[];
record: any;
} | undefined>
-
Returns Promise<{
diffs: any[];
record: any;
} | undefined>
-
Create: ((location: string, from_location: string, Title: string, Content: string, token: string) => Promise<{
id: string;
location: string;
} | undefined>)
-
- (location: string, from_location: string, Title: string, Content: string, token: string): Promise<{
id: string;
location: string;
} | undefined>
-
Parameters
-
location: string
-
from_location: string
-
Title: string
-
Content: string
-
token: string
Returns Promise<{
id: string;
location: string;
} | undefined>
-
Delete: ((location: string, id: string, token: string) => Promise<string | undefined>)
-
- (location: string, id: string, token: string): Promise<string | undefined>
-
Parameters
-
location: string
-
id: string
-
token: string
Returns Promise<string | undefined>
Function
Approve
Export
Returns