@esolve/ng-esolve-connect 0.110.0 → 0.111.1
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/esm2022/lib/device/esolve-device.service.mjs +4 -1
- package/esm2022/lib/device/index.mjs +2 -1
- package/esm2022/lib/device/interfaces/esolve-device.interface.mjs +1 -1
- package/esm2022/lib/device/interfaces/esolve-user-device-options.interface.mjs +1 -1
- package/esm2022/lib/device/types/esolve-device-type.type.mjs +2 -0
- package/esm2022/lib/device/types/index.mjs +2 -0
- package/esm2022/lib/locations/classes/esolve-location.model.mjs +39 -1
- package/esm2022/lib/locations/interfaces/esolve-location-record.interface.mjs +1 -1
- package/esm2022/lib/locations/types/esolve-location-image-size.type.mjs +2 -0
- package/esm2022/lib/locations/types/index.mjs +2 -1
- package/esm2022/media/lib/types/esolve-media-layout-section-type.type.mjs +1 -1
- package/fesm2022/esolve-ng-esolve-connect.mjs +41 -0
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/device/index.d.ts +1 -0
- package/lib/device/interfaces/esolve-device.interface.d.ts +2 -0
- package/lib/device/interfaces/esolve-user-device-options.interface.d.ts +2 -0
- package/lib/device/types/esolve-device-type.type.d.ts +1 -0
- package/lib/device/types/index.d.ts +1 -0
- package/lib/locations/classes/esolve-location.model.d.ts +22 -0
- package/lib/locations/interfaces/esolve-location-record.interface.d.ts +2 -0
- package/lib/locations/types/esolve-location-image-size.type.d.ts +1 -0
- package/lib/locations/types/index.d.ts +1 -0
- package/media/lib/types/esolve-media-layout-section-type.type.d.ts +1 -1
- package/package.json +1 -1
package/lib/device/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EsolveDeviceType = 'app' | 'rep' | 'picker';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EsolveDeviceType } from './esolve-device-type.type';
|
|
@@ -5,6 +5,7 @@ import { EsolveLocationPOBoxAddress } from './esolve-location-pobox-address.mode
|
|
|
5
5
|
import { EsolveLocationTradingTimes } from './esolve-location-trading-times.model';
|
|
6
6
|
import { EsolveLocationGEO } from './esolve-location-geo.model';
|
|
7
7
|
import { EsolveCustomFields } from '../../shared/custom-fields';
|
|
8
|
+
import { EsolveLocationImageSize } from '../types';
|
|
8
9
|
export declare class EsolveLocation<T extends EsolveCustomFields = EsolveCustomFields> {
|
|
9
10
|
id: number;
|
|
10
11
|
identifier: string;
|
|
@@ -29,5 +30,26 @@ export declare class EsolveLocation<T extends EsolveCustomFields = EsolveCustomF
|
|
|
29
30
|
* Location custom fields
|
|
30
31
|
*/
|
|
31
32
|
custom_fields?: T;
|
|
33
|
+
/**
|
|
34
|
+
* Image filename
|
|
35
|
+
*/
|
|
36
|
+
private image_name;
|
|
37
|
+
/**
|
|
38
|
+
* Image Last modified
|
|
39
|
+
*/
|
|
40
|
+
private image_last_modified;
|
|
41
|
+
/**
|
|
42
|
+
* Path to tiny location image
|
|
43
|
+
*/
|
|
44
|
+
get tiny_image_src(): string;
|
|
45
|
+
/**
|
|
46
|
+
* Path to thumbnail location image
|
|
47
|
+
*/
|
|
48
|
+
get thumbnail_image_src(): string;
|
|
49
|
+
/**
|
|
50
|
+
* Path to small location image
|
|
51
|
+
*/
|
|
52
|
+
get small_image_src(): string;
|
|
32
53
|
constructor(record: EsolveLocationRecord<T>);
|
|
54
|
+
getImagePath(image_size: EsolveLocationImageSize): string;
|
|
33
55
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EsolveLocationImageSize = 'tiny' | 'thumb' | 'small';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type EsolveMediaLayoutSectionType = 'media' | 'banner' | 'linked_stock' | 'stock' | 'custom';
|
|
1
|
+
export type EsolveMediaLayoutSectionType = 'media' | 'banner' | 'albums' | 'linked_stock' | 'stock' | 'custom';
|