@treely/strapi-slices 7.12.0 → 7.13.0

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.
@@ -1,14 +1,23 @@
1
1
  /// <reference types="jest" />
2
- declare const mapboxgl: {};
3
- export default mapboxgl;
4
2
  export declare const mapOnSpy: jest.Mock<any, any, any>;
3
+ export declare const mapOffSpy: jest.Mock<any, any, any>;
5
4
  export declare const mapAddSourceSpy: jest.Mock<any, any, any>;
6
5
  export declare const mapAddLayerSpy: jest.Mock<any, any, any>;
7
6
  export declare const mapSetFeatureStateSpy: jest.Mock<any, any, any>;
8
7
  export declare const mapAddControlSpy: jest.Mock<any, any, any>;
9
8
  export declare const mapRemoveSpy: jest.Mock<any, any, any>;
9
+ export declare const mapIsStyleLoadedSpy: jest.Mock<any, any, any>;
10
+ export declare const mapGetSourceSpy: jest.Mock<any, any, any>;
11
+ export declare const mapQuerySourceFeaturesSpy: jest.Mock<any, any, any>;
10
12
  export declare const markerAddToSpy: jest.Mock<any, any, any>;
11
13
  export declare const markerSetLngLatSpy: jest.Mock<any, any, any>;
12
14
  export declare const mapConstructorMock: jest.Mock<any, any, any>;
13
15
  export declare const Map: jest.Mock<any, any, any>;
14
16
  export declare const Marker: jest.Mock<any, any, any>;
17
+ declare const mapboxgl: {
18
+ Map: jest.Mock<any, any, any>;
19
+ Marker: jest.Mock<any, any, any>;
20
+ LngLatBounds: jest.Mock<any, any, any>;
21
+ NavigationControl: jest.Mock<any, any, any>;
22
+ };
23
+ export default mapboxgl;
@@ -0,0 +1,3 @@
1
+ import { FeatureCollection } from 'geojson';
2
+ declare const getPortfolioProjectsByBbox: (bbox: string, locale?: string, preview?: boolean) => Promise<FeatureCollection>;
3
+ export default getPortfolioProjectsByBbox;
@@ -8,6 +8,7 @@ export declare enum CreditAvailability {
8
8
  interface FPMProject {
9
9
  id: string;
10
10
  title: string;
11
+ description?: string;
11
12
  friendlyName?: string;
12
13
  isPublic?: boolean;
13
14
  geom?: {
@@ -16,6 +17,7 @@ interface FPMProject {
16
17
  };
17
18
  area?: number;
18
19
  location?: string;
20
+ countryCode: string;
19
21
  start?: Date;
20
22
  end?: Date;
21
23
  projectType?: {
@@ -26,6 +28,7 @@ interface FPMProject {
26
28
  };
27
29
  projectDeveloper?: {
28
30
  name: string;
31
+ friendlyName?: string;
29
32
  id: string;
30
33
  createdAt: Date;
31
34
  updatedAt: Date;
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import PortfolioProject from '../../models/PortfolioProject';
3
2
  export interface ProjectsMapProps {
4
3
  slice: {
5
4
  tagline?: string;
@@ -11,6 +10,6 @@ export interface ProjectsMapProps {
11
10
  };
12
11
  defaultZoomLevel?: number;
13
12
  };
14
- projects: PortfolioProject[];
15
13
  }
16
14
  export declare const ProjectsMap: React.FC<ProjectsMapProps>;
15
+ export default ProjectsMap;