mftsccs-browser 2.1.147-beta → 2.1.149-beta
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/dist/main.bundle.js +1 -1
- package/dist/serviceWorker.bundle.js +1 -1
- package/dist/types/Api/Images/GetImages.d.ts +1 -0
- package/dist/types/DataStructures/BaseUrl.d.ts +2 -0
- package/dist/types/Services/assets/GetImageService.d.ts +14 -0
- package/dist/types/app.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function GetImageApi(imageName: string): Promise<ReadableStream<Uint8Array> | null | undefined>;
|
|
@@ -8,6 +8,7 @@ export declare class BaseUrl {
|
|
|
8
8
|
static MQTT_CONNECTION: any;
|
|
9
9
|
static BASE_APPLICATION: string;
|
|
10
10
|
static DOCUMENTATION_WIDGET: number;
|
|
11
|
+
static isNearestCache: boolean;
|
|
11
12
|
static FLAGS: any;
|
|
12
13
|
static BASE_RANDOMIZER: number;
|
|
13
14
|
static setRandomizer(id: number): void;
|
|
@@ -76,4 +77,5 @@ export declare class BaseUrl {
|
|
|
76
77
|
static getLatestWidgetData(): string;
|
|
77
78
|
static getConnectionsByTypes(): string;
|
|
78
79
|
static CreatePrototypeUrl(): string;
|
|
80
|
+
static GetCachedImage(ImageName: string): string;
|
|
79
81
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* @param url this is the url of the image that you have. This image will be cached in the cache server
|
|
4
|
+
* @param format this is the format it can be either normal , small, by default it is normal
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare function GetFreeschemaImage(url: string, format?: string): Promise<any>;
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param url this is the url of the image that you have. This image will be cached in the cache server
|
|
11
|
+
* @param format this is the format it can be either normal , small, by default it is normal
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
export declare function GetFreeschemaImageUrl(url: string, format?: string): string;
|
package/dist/types/app.d.ts
CHANGED
|
@@ -131,6 +131,8 @@ export { renderLatestWidget, renderPage, renderWidget, convertWidgetTreeToWidget
|
|
|
131
131
|
export { CreateData } from './Services/automated/automated-concept-connection';
|
|
132
132
|
export { Prototype } from './DataStructures/Prototype/Prototype';
|
|
133
133
|
export { createPrototypeLocal } from './prototype/prototype.service';
|
|
134
|
+
export { GetImageApi } from './Api/Images/GetImages';
|
|
135
|
+
export { GetFreeschemaImage, GetFreeschemaImageUrl } from './Services/assets/GetImageService';
|
|
134
136
|
type listeners = {
|
|
135
137
|
listenerId: string | number;
|
|
136
138
|
callback: any;
|