@yomotech/view-toolkit 0.0.11 → 0.0.12
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
|
@@ -31,11 +31,33 @@ declare class RequestService {
|
|
|
31
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<RequestService>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
declare class Couchdb {
|
|
35
|
+
private utilityService;
|
|
36
|
+
private readonly couchDbBaseUrl;
|
|
37
|
+
constructor(utilityService: UtilityService);
|
|
38
|
+
getTenantDatabases(tenantKey: any): Promise<any[]>;
|
|
39
|
+
private parseJsonOrText;
|
|
40
|
+
private stringifyErrorDetails;
|
|
41
|
+
getFileContentFromCouchDb(couchDbName: string, filePath: string): Promise<any | null>;
|
|
42
|
+
private isImageFile;
|
|
43
|
+
private getImageMimeType;
|
|
44
|
+
private fromBase64;
|
|
45
|
+
private isJsonFile;
|
|
46
|
+
private getDocumentUrl;
|
|
47
|
+
private getDbUrl;
|
|
48
|
+
private getReadHeaders;
|
|
49
|
+
private buildTenantHeaders;
|
|
50
|
+
getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Couchdb, never>;
|
|
52
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Couchdb>;
|
|
53
|
+
}
|
|
54
|
+
|
|
34
55
|
declare class UtilityService {
|
|
35
56
|
private platform;
|
|
57
|
+
private couchdbService;
|
|
36
58
|
private requestService;
|
|
37
59
|
stripe: any;
|
|
38
|
-
constructor(platform: Platform, requestService: RequestService);
|
|
60
|
+
constructor(platform: Platform, couchdbService: Couchdb, requestService: RequestService);
|
|
39
61
|
getScope(scope: any): string;
|
|
40
62
|
getProperty(scope: any, itemInfo?: any): {
|
|
41
63
|
key: any;
|
|
@@ -378,27 +400,6 @@ declare class PaginationComponent {
|
|
|
378
400
|
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "vl-pagination", never, { "itemInfo": { "alias": "itemInfo"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; }, { "pageSizeChange": "pageSizeChange"; "onGoToPage": "onGoToPage"; }, never, never, true, never>;
|
|
379
401
|
}
|
|
380
402
|
|
|
381
|
-
declare class Couchdb {
|
|
382
|
-
private utilityService;
|
|
383
|
-
private readonly couchDbBaseUrl;
|
|
384
|
-
constructor(utilityService: UtilityService);
|
|
385
|
-
getTenantDatabases(tenantKey: any): Promise<any[]>;
|
|
386
|
-
private parseJsonOrText;
|
|
387
|
-
private stringifyErrorDetails;
|
|
388
|
-
getFileContentFromCouchDb(couchDbName: string, filePath: string): Promise<any | null>;
|
|
389
|
-
private isImageFile;
|
|
390
|
-
private getImageMimeType;
|
|
391
|
-
private fromBase64;
|
|
392
|
-
private isJsonFile;
|
|
393
|
-
private getDocumentUrl;
|
|
394
|
-
private getDbUrl;
|
|
395
|
-
private getReadHeaders;
|
|
396
|
-
private buildTenantHeaders;
|
|
397
|
-
getImageSrcFromCouchDb(couchDbName: string, filePath: string): Promise<string>;
|
|
398
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Couchdb, never>;
|
|
399
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Couchdb>;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
403
|
declare class ConfigService {
|
|
403
404
|
private couchdbService;
|
|
404
405
|
private utilityService;
|