@yomotech/view-toolkit 0.0.52 → 0.0.54
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/package.json
CHANGED
|
@@ -101,19 +101,16 @@ declare class Couchdb {
|
|
|
101
101
|
private readonly remoteCouchDbBaseUrl;
|
|
102
102
|
private readonly webProxyBaseUrl;
|
|
103
103
|
constructor(utilityService: UtilityService);
|
|
104
|
-
/**
|
|
105
|
-
* Angular web development:
|
|
106
|
-
* /couchdb-api -> Angular proxy -> https://couchdb.yomotech.de
|
|
107
|
-
*
|
|
108
|
-
* Capacitor Android/iOS:
|
|
109
|
-
* Direct native request to https://couchdb.yomotech.de
|
|
110
|
-
*/
|
|
111
|
-
private get couchDbBaseUrl();
|
|
112
104
|
getTenantDatabases(tenantKey: string): Promise<any[]>;
|
|
113
105
|
getFileContentFromCouchDb(couchDbName: string, filePath: string): Promise<any | null>;
|
|
114
106
|
getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
|
|
115
|
-
private
|
|
116
|
-
private
|
|
107
|
+
private sendGetRequest;
|
|
108
|
+
private sendNativeGetRequest;
|
|
109
|
+
private sendWebGetRequest;
|
|
110
|
+
private normalizeNativeResponseData;
|
|
111
|
+
private extractNativeErrorStatus;
|
|
112
|
+
private extractNativeErrorData;
|
|
113
|
+
private getDocumentPath;
|
|
117
114
|
private getReadHeaders;
|
|
118
115
|
private buildTenantHeaders;
|
|
119
116
|
private parseJsonOrText;
|