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

279map-backend-common

Package Overview
Dependencies
Maintainers
1
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.28 to 0.38.29

35

dist/cjs/types/api/dba-api-interface.d.ts

@@ -29,24 +29,7 @@ import { APIDefine, CurrentMap } from "../types";

};
export declare const OdbaUnlinkContentAPI: APIDefine<OdbaUnlinkContentParam, void>;
export type OdbaUnlinkContentParam = CommonParam & {
export declare const OdbaUnlinkDataAPI: APIDefine<OdbaUnlinkDataParam, void>;
export type OdbaUnlinkDataParam = CommonParam & {
id: DataId;
parent: {
type: 'item';
itemId: DataId;
} | {
type: 'content';
contentId: DataId;
};
parent: DataId;
};
export declare const OdbaUpdateItemAPI: APIDefine<OdbaUpdateItemParam, void>;
export type OdbaUpdateItemParam = CommonParam & {
id: DataId;
geometry?: GeoJSON.Geometry;
geoProperties?: GeoProperties;
};
export declare const OdbaUpdateContentAPI: APIDefine<OdbaUpdateContentParam, void>;
export type OdbaUpdateContentParam = CommonParam & {
id: DataId;
values: ContentValueMap;
};
export declare const OdbaGetUnpointDataAPI: APIDefine<OdbaGetUnpointDataParam, OdbaGetUnpointDataResult>;

@@ -68,10 +51,6 @@ export type OdbaGetUnpointDataParam = CommonParam & {

};
export declare const OdbaLinkContentToItemAPI: APIDefine<OdbaLinkContentToItemParam, void>;
export type OdbaLinkContentToItemParam = CommonParam & {
childContentId: DataId;
parent: {
itemId: DataId;
} | {
contentId: DataId;
};
export declare const OdbaLinkDataAPI: APIDefine<OdbaLinkDataParam, void>;
export type OdbaLinkDataParam = CommonParam & {
id: DataId;
parent: DataId;
};

@@ -78,0 +57,0 @@ export declare const OdbaGetImageUrlAPI: APIDefine<OdbaGetImageUrlParam, string | undefined>;

16

dist/cjs/types/api/OdbaInterface.d.ts
import { CurrentMap } from "../types";
import { DataId } from "../types-common/common-types";
import { OdbaAPIFunc } from "./api-initializer";
import { OdbaGetImageUrlParam, OdbaGetLinkableContentsResult, OdbaGetUnpointDataParam, OdbaGetUnpointDataResult, OdbaLinkContentToItemParam, OdbaRegistDataParam, OdbaRemoveDataParam, OdbaUpdateContentParam, OdbaUpdateDataParam, OdbaUpdateItemParam } from "./dba-api-interface";
import { OdbaGetImageUrlParam, OdbaGetLinkableContentsResult, OdbaGetUnpointDataParam, OdbaGetUnpointDataResult, OdbaLinkDataParam, OdbaRegistDataParam, OdbaRemoveDataParam, OdbaUpdateDataParam } from "./dba-api-interface";
export type UpdateContentLinkCacheParam = {

@@ -16,15 +16,9 @@ currentMap: CurrentMap;

abstract registData: (param: OdbaRegistDataParam) => Promise<DataId>;
abstract updateDataOdb: (param: OdbaUpdateDataParam) => Promise<boolean>;
abstract removeDataOdb: (param: OdbaRemoveDataParam) => Promise<boolean>;
abstract updateItemCache: (_: {
currentMap: CurrentMap;
itemId: DataId;
}) => Promise<'insert' | 'update'>;
abstract updateItemOdb: (param: OdbaUpdateItemParam) => Promise<void>;
abstract updateContent: (param: OdbaUpdateContentParam) => Promise<void>;
abstract updateData: (param: OdbaUpdateDataParam) => Promise<boolean>;
abstract removeData: (param: OdbaRemoveDataParam) => Promise<boolean>;
abstract getUnpointData: OdbaAPIFunc<OdbaGetUnpointDataParam, OdbaGetUnpointDataResult>;
abstract linkContent: (param: OdbaLinkContentToItemParam) => Promise<void>;
abstract unlinkContent: (param: OdbaLinkContentToItemParam) => Promise<void>;
abstract linkData: (param: OdbaLinkDataParam) => Promise<void>;
abstract unlinkData: (param: OdbaLinkDataParam) => Promise<void>;
abstract getImageUrl: (param: OdbaGetImageUrlParam) => Promise<string | undefined>;
abstract getLinkableContents: (currentMap: CurrentMap) => Promise<OdbaGetLinkableContentsResult>;
}

@@ -29,24 +29,7 @@ import { APIDefine, CurrentMap } from "../types";

};
export declare const OdbaUnlinkContentAPI: APIDefine<OdbaUnlinkContentParam, void>;
export type OdbaUnlinkContentParam = CommonParam & {
export declare const OdbaUnlinkDataAPI: APIDefine<OdbaUnlinkDataParam, void>;
export type OdbaUnlinkDataParam = CommonParam & {
id: DataId;
parent: {
type: 'item';
itemId: DataId;
} | {
type: 'content';
contentId: DataId;
};
parent: DataId;
};
export declare const OdbaUpdateItemAPI: APIDefine<OdbaUpdateItemParam, void>;
export type OdbaUpdateItemParam = CommonParam & {
id: DataId;
geometry?: GeoJSON.Geometry;
geoProperties?: GeoProperties;
};
export declare const OdbaUpdateContentAPI: APIDefine<OdbaUpdateContentParam, void>;
export type OdbaUpdateContentParam = CommonParam & {
id: DataId;
values: ContentValueMap;
};
export declare const OdbaGetUnpointDataAPI: APIDefine<OdbaGetUnpointDataParam, OdbaGetUnpointDataResult>;

@@ -68,10 +51,6 @@ export type OdbaGetUnpointDataParam = CommonParam & {

};
export declare const OdbaLinkContentToItemAPI: APIDefine<OdbaLinkContentToItemParam, void>;
export type OdbaLinkContentToItemParam = CommonParam & {
childContentId: DataId;
parent: {
itemId: DataId;
} | {
contentId: DataId;
};
export declare const OdbaLinkDataAPI: APIDefine<OdbaLinkDataParam, void>;
export type OdbaLinkDataParam = CommonParam & {
id: DataId;
parent: DataId;
};

@@ -78,0 +57,0 @@ export declare const OdbaGetImageUrlAPI: APIDefine<OdbaGetImageUrlParam, string | undefined>;

import { CurrentMap } from "../types";
import { DataId } from "../types-common/common-types";
import { OdbaAPIFunc } from "./api-initializer";
import { OdbaGetImageUrlParam, OdbaGetLinkableContentsResult, OdbaGetUnpointDataParam, OdbaGetUnpointDataResult, OdbaLinkContentToItemParam, OdbaRegistDataParam, OdbaRemoveDataParam, OdbaUpdateContentParam, OdbaUpdateDataParam, OdbaUpdateItemParam } from "./dba-api-interface";
import { OdbaGetImageUrlParam, OdbaGetLinkableContentsResult, OdbaGetUnpointDataParam, OdbaGetUnpointDataResult, OdbaLinkDataParam, OdbaRegistDataParam, OdbaRemoveDataParam, OdbaUpdateDataParam } from "./dba-api-interface";
export type UpdateContentLinkCacheParam = {

@@ -16,15 +16,9 @@ currentMap: CurrentMap;

abstract registData: (param: OdbaRegistDataParam) => Promise<DataId>;
abstract updateDataOdb: (param: OdbaUpdateDataParam) => Promise<boolean>;
abstract removeDataOdb: (param: OdbaRemoveDataParam) => Promise<boolean>;
abstract updateItemCache: (_: {
currentMap: CurrentMap;
itemId: DataId;
}) => Promise<'insert' | 'update'>;
abstract updateItemOdb: (param: OdbaUpdateItemParam) => Promise<void>;
abstract updateContent: (param: OdbaUpdateContentParam) => Promise<void>;
abstract updateData: (param: OdbaUpdateDataParam) => Promise<boolean>;
abstract removeData: (param: OdbaRemoveDataParam) => Promise<boolean>;
abstract getUnpointData: OdbaAPIFunc<OdbaGetUnpointDataParam, OdbaGetUnpointDataResult>;
abstract linkContent: (param: OdbaLinkContentToItemParam) => Promise<void>;
abstract unlinkContent: (param: OdbaLinkContentToItemParam) => Promise<void>;
abstract linkData: (param: OdbaLinkDataParam) => Promise<void>;
abstract unlinkData: (param: OdbaLinkDataParam) => Promise<void>;
abstract getImageUrl: (param: OdbaGetImageUrlParam) => Promise<string | undefined>;
abstract getLinkableContents: (currentMap: CurrentMap) => Promise<OdbaGetLinkableContentsResult>;
}

@@ -385,24 +385,7 @@ /// <reference types="multer" />

};
declare const OdbaUnlinkContentAPI: APIDefine<OdbaUnlinkContentParam, void>;
type OdbaUnlinkContentParam = CommonParam & {
declare const OdbaUnlinkDataAPI: APIDefine<OdbaUnlinkDataParam, void>;
type OdbaUnlinkDataParam = CommonParam & {
id: DataId;
parent: {
type: 'item';
itemId: DataId;
} | {
type: 'content';
contentId: DataId;
};
parent: DataId;
};
declare const OdbaUpdateItemAPI: APIDefine<OdbaUpdateItemParam, void>;
type OdbaUpdateItemParam = CommonParam & {
id: DataId;
geometry?: GeoJSON.Geometry;
geoProperties?: GeoProperties;
};
declare const OdbaUpdateContentAPI: APIDefine<OdbaUpdateContentParam, void>;
type OdbaUpdateContentParam = CommonParam & {
id: DataId;
values: ContentValueMap;
};
declare const OdbaGetUnpointDataAPI: APIDefine<OdbaGetUnpointDataParam, OdbaGetUnpointDataResult>;

@@ -424,10 +407,6 @@ type OdbaGetUnpointDataParam = CommonParam & {

};
declare const OdbaLinkContentToItemAPI: APIDefine<OdbaLinkContentToItemParam, void>;
type OdbaLinkContentToItemParam = CommonParam & {
childContentId: DataId;
parent: {
itemId: DataId;
} | {
contentId: DataId;
};
declare const OdbaLinkDataAPI: APIDefine<OdbaLinkDataParam, void>;
type OdbaLinkDataParam = CommonParam & {
id: DataId;
parent: DataId;
};

@@ -457,13 +436,7 @@ declare const OdbaGetImageUrlAPI: APIDefine<OdbaGetImageUrlParam, string | undefined>;

abstract registData: (param: OdbaRegistDataParam) => Promise<DataId>;
abstract updateDataOdb: (param: OdbaUpdateDataParam) => Promise<boolean>;
abstract removeDataOdb: (param: OdbaRemoveDataParam) => Promise<boolean>;
abstract updateItemCache: (_: {
currentMap: CurrentMap;
itemId: DataId;
}) => Promise<'insert' | 'update'>;
abstract updateItemOdb: (param: OdbaUpdateItemParam) => Promise<void>;
abstract updateContent: (param: OdbaUpdateContentParam) => Promise<void>;
abstract updateData: (param: OdbaUpdateDataParam) => Promise<boolean>;
abstract removeData: (param: OdbaRemoveDataParam) => Promise<boolean>;
abstract getUnpointData: OdbaAPIFunc<OdbaGetUnpointDataParam, OdbaGetUnpointDataResult>;
abstract linkContent: (param: OdbaLinkContentToItemParam) => Promise<void>;
abstract unlinkContent: (param: OdbaLinkContentToItemParam) => Promise<void>;
abstract linkData: (param: OdbaLinkDataParam) => Promise<void>;
abstract unlinkData: (param: OdbaLinkDataParam) => Promise<void>;
abstract getImageUrl: (param: OdbaGetImageUrlParam) => Promise<string | undefined>;

@@ -528,2 +501,2 @@ abstract getLinkableContents: (currentMap: CurrentMap) => Promise<OdbaGetLinkableContentsResult>;

export { APIDefine, Auth, AuthManagementInterface, BroadcastItemParam, ConnectErrorType, 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, OdbaGetUnpointDataAPI, OdbaGetUnpointDataParam, OdbaGetUnpointDataResult, OdbaInterface, OdbaLinkContentToItemAPI, OdbaLinkContentToItemParam, OdbaRegistDataAPI, OdbaRegistDataParam, OdbaRemoveDataAPI, OdbaRemoveDataParam, OdbaUnlinkContentAPI, OdbaUnlinkContentParam, OdbaUpdateContentAPI, OdbaUpdateContentParam, OdbaUpdateDataAPI, OdbaUpdateDataParam, OdbaUpdateItemAPI, OdbaUpdateItemParam, OriginalIconsTable, PopupMode, PublicRange, Scalars, SortCondition, UnpointContent, UpdateContentLinkCacheParam, User, callBroadcast, callOdbaApi, convertKmToLonLat, getImageBase64, initializeOdba, initializeOriginalAuth, registAPIs, registFile, sleep };
export { APIDefine, Auth, AuthManagementInterface, BroadcastItemParam, ConnectErrorType, 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, OdbaGetUnpointDataAPI, OdbaGetUnpointDataParam, OdbaGetUnpointDataResult, OdbaInterface, OdbaLinkDataAPI, OdbaLinkDataParam, OdbaRegistDataAPI, OdbaRegistDataParam, OdbaRemoveDataAPI, OdbaRemoveDataParam, OdbaUnlinkDataAPI, OdbaUnlinkDataParam, OdbaUpdateDataAPI, OdbaUpdateDataParam, OriginalIconsTable, PopupMode, PublicRange, Scalars, SortCondition, UnpointContent, UpdateContentLinkCacheParam, User, callBroadcast, callOdbaApi, convertKmToLonLat, getImageBase64, initializeOdba, initializeOriginalAuth, registAPIs, registFile, sleep };
{
"name": "279map-backend-common",
"version": "0.38.28",
"version": "0.38.29",
"description": "279map backend common modules",

@@ -5,0 +5,0 @@ "scripts": {

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