Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

279map-backend-common

Package Overview
Dependencies
Maintainers
0
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

279map-backend-common - npm Package Compare versions

Comparing version 0.38.37 to 0.39.0

10

dist/cjs/types/types-common/common-types.d.ts

@@ -22,3 +22,4 @@ export type DataId = number;

AREA = "AREA",
TRACK = "TRACK"
TRACK = "TRACK",
STATIC_IMAGE = "STATIC_IMAGE"
}

@@ -50,2 +51,6 @@ export type GeocoderIdInfo = {

max_zoom: number;
} | {
featureType: FeatureType.STATIC_IMAGE;
url: string;
opacity?: number;
};

@@ -56,2 +61,3 @@ export declare enum DatasourceLocationKindType {

Track = "Track",
StaticImage = "StaticImage",
None = "None"

@@ -65,2 +71,4 @@ }

defaultIcon?: IconKey;
} | {
kind: DatasourceLocationKindType.StaticImage;
};

@@ -67,0 +75,0 @@ export type ContentDatasourceConfig = {

7

dist/cjs/types/utility.d.ts
export declare const sleep: (sec: number) => Promise<void>;
export declare function convertKmToLonLat(p: number[], km: number): number;
type GetImageBase64Size = {
width?: number;
height?: number;
fit?: 'cover' | 'contain';
};
export declare function getImageBase64(url: string, sizes: GetImageBase64Size[]): Promise<string[] | undefined>;
export {};

@@ -22,3 +22,4 @@ export type DataId = number;

AREA = "AREA",
TRACK = "TRACK"
TRACK = "TRACK",
STATIC_IMAGE = "STATIC_IMAGE"
}

@@ -50,2 +51,6 @@ export type GeocoderIdInfo = {

max_zoom: number;
} | {
featureType: FeatureType.STATIC_IMAGE;
url: string;
opacity?: number;
};

@@ -56,2 +61,3 @@ export declare enum DatasourceLocationKindType {

Track = "Track",
StaticImage = "StaticImage",
None = "None"

@@ -65,2 +71,4 @@ }

defaultIcon?: IconKey;
} | {
kind: DatasourceLocationKindType.StaticImage;
};

@@ -67,0 +75,0 @@ export type ContentDatasourceConfig = {

export declare const sleep: (sec: number) => Promise<void>;
export declare function convertKmToLonLat(p: number[], km: number): number;
type GetImageBase64Size = {
width?: number;
height?: number;
fit?: 'cover' | 'contain';
};
export declare function getImageBase64(url: string, sizes: GetImageBase64Size[]): Promise<string[] | undefined>;
export {};

@@ -27,3 +27,4 @@ /// <reference types="multer" />

AREA = "AREA",
TRACK = "TRACK"
TRACK = "TRACK",
STATIC_IMAGE = "STATIC_IMAGE"
}

@@ -55,2 +56,6 @@ type GeocoderIdInfo = {

max_zoom: number;
} | {
featureType: FeatureType.STATIC_IMAGE;
url: string;
opacity?: number;
};

@@ -61,2 +66,3 @@ declare enum DatasourceLocationKindType {

Track = "Track",
StaticImage = "StaticImage",
None = "None"

@@ -70,2 +76,4 @@ }

defaultIcon?: IconKey;
} | {
kind: DatasourceLocationKindType.StaticImage;
};

@@ -522,9 +530,3 @@ type ContentDatasourceConfig = {

declare function convertKmToLonLat(p: number[], km: number): number;
type GetImageBase64Size = {
width?: number;
height?: number;
fit?: 'cover' | 'contain';
};
declare function getImageBase64(url: string, sizes: GetImageBase64Size[]): Promise<string[] | undefined>;
export { APIDefine, Auth, AuthManagementInterface, BroadcastItemParam, ConnectErrorType, ContentBelongMapView, ContentDatasourceConfig, ContentFieldDefine, ContentValueMap, ContentsTable, ContentsTableForRegist, CurrentMap, DataId, DataLinkTable, DataSourceTable, DataSourceTableForRegist, DatasTable, DatasourceLocationKindType, DatasourceTblConfigForContent, Exact, FeatureType, GeoProperties, GeocoderIdInfo, GeometryItemsTable, IconDefine, IconKey, ImagesTable, Incremental, InputMaybe, ItemDatasourceConfig, ItemLabelMode, LocationFieldDefine, MakeEmpty, MakeMaybe, MakeOptional, MapDataSourceLinkConfig, MapDataSourceLinkTable, MapDataSourceLinkTableForRegist, MapDefine, MapInfo, MapKind, MapPageInfoTable, MapPageInfoTableForRegist, MapPageOptions, Maybe, OdbaAPICallDefine, OdbaAPIFunc, OdbaConnection, OdbaGetImageUrlAPI, OdbaGetImageUrlParam, OdbaGetLinkableContentsAPI, OdbaGetLinkableContentsResult, OdbaGetUncachedDataAPI, OdbaGetUncachedDataParam, OdbaGetUncachedDataResult, OdbaInterface, OdbaLinkDataAPI, OdbaLinkDataParam, OdbaRegistDataAPI, OdbaRegistDataParam, OdbaRemoveDataAPI, OdbaRemoveDataParam, OdbaUnLinkDataParam, OdbaUnlinkDataAPI, OdbaUnlinkDataParam, OdbaUpdateDataAPI, OdbaUpdateDataParam, OriginalIconsTable, PopupMode, PublicRange, Scalars, SortCondition, UpdateContentLinkCacheParam, User, UserAuthData, callBroadcast, callOdbaApi, convertKmToLonLat, getImageBase64, initializeOdba, initializeOriginalAuth, registAPIs, registFile, sleep };
export { APIDefine, Auth, AuthManagementInterface, BroadcastItemParam, ConnectErrorType, ContentBelongMapView, ContentDatasourceConfig, ContentFieldDefine, ContentValueMap, ContentsTable, ContentsTableForRegist, CurrentMap, DataId, DataLinkTable, DataSourceTable, DataSourceTableForRegist, DatasTable, DatasourceLocationKindType, DatasourceTblConfigForContent, Exact, FeatureType, GeoProperties, GeocoderIdInfo, GeometryItemsTable, IconDefine, IconKey, ImagesTable, Incremental, InputMaybe, ItemDatasourceConfig, ItemLabelMode, LocationFieldDefine, MakeEmpty, MakeMaybe, MakeOptional, MapDataSourceLinkConfig, MapDataSourceLinkTable, MapDataSourceLinkTableForRegist, MapDefine, MapInfo, MapKind, MapPageInfoTable, MapPageInfoTableForRegist, MapPageOptions, Maybe, OdbaAPICallDefine, OdbaAPIFunc, OdbaConnection, OdbaGetImageUrlAPI, OdbaGetImageUrlParam, OdbaGetLinkableContentsAPI, OdbaGetLinkableContentsResult, OdbaGetUncachedDataAPI, OdbaGetUncachedDataParam, OdbaGetUncachedDataResult, OdbaInterface, OdbaLinkDataAPI, OdbaLinkDataParam, OdbaRegistDataAPI, OdbaRegistDataParam, OdbaRemoveDataAPI, OdbaRemoveDataParam, OdbaUnLinkDataParam, OdbaUnlinkDataAPI, OdbaUnlinkDataParam, OdbaUpdateDataAPI, OdbaUpdateDataParam, OriginalIconsTable, PopupMode, PublicRange, Scalars, SortCondition, UpdateContentLinkCacheParam, User, UserAuthData, callBroadcast, callOdbaApi, convertKmToLonLat, initializeOdba, initializeOriginalAuth, registAPIs, registFile, sleep };
{
"name": "279map-backend-common",
"version": "0.38.37",
"version": "0.39.0",
"description": "279map backend common modules",

@@ -42,8 +42,6 @@ "scripts": {

"@types/proj4": "^2.5.2",
"@types/sharp": "^0.31.0",
"axios": "^1.1.3",
"log4js": "^6.7.0",
"proj4": "^2.9.0",
"sharp": "^0.31.2"
"proj4": "^2.9.0"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc