279map-backend-common
Advanced tools
Comparing version 0.45.0 to 0.46.0
@@ -1,7 +0,15 @@ | ||
import { DataId } from '../types-common/common-types'; | ||
import { DataId, MapKind } from '../types-common/common-types'; | ||
export type BroadcastItemParam = { | ||
mapId: string; | ||
operation: 'insert' | 'update' | 'delete'; | ||
itemIdList: DataId[]; | ||
operation: 'data-insert' | 'data-update'; | ||
targets: DataId[]; | ||
} | { | ||
operation: 'data-delete'; | ||
targets: { | ||
id: DataId; | ||
map: { | ||
id: string; | ||
kind: MapKind; | ||
}[]; | ||
}[]; | ||
} | { | ||
operation: 'datasource-define-update'; | ||
@@ -8,0 +16,0 @@ datasourceId: string; |
@@ -42,3 +42,2 @@ export type DataId = string; | ||
featureType: FeatureType.ROAD; | ||
lineJson: GeoJSON.Feature; | ||
width: string; | ||
@@ -45,0 +44,0 @@ } | { |
@@ -1,7 +0,15 @@ | ||
import { DataId } from '../types-common/common-types'; | ||
import { DataId, MapKind } from '../types-common/common-types'; | ||
export type BroadcastItemParam = { | ||
mapId: string; | ||
operation: 'insert' | 'update' | 'delete'; | ||
itemIdList: DataId[]; | ||
operation: 'data-insert' | 'data-update'; | ||
targets: DataId[]; | ||
} | { | ||
operation: 'data-delete'; | ||
targets: { | ||
id: DataId; | ||
map: { | ||
id: string; | ||
kind: MapKind; | ||
}[]; | ||
}[]; | ||
} | { | ||
operation: 'datasource-define-update'; | ||
@@ -8,0 +16,0 @@ datasourceId: string; |
@@ -42,3 +42,2 @@ export type DataId = string; | ||
featureType: FeatureType.ROAD; | ||
lineJson: GeoJSON.Feature; | ||
width: string; | ||
@@ -45,0 +44,0 @@ } | { |
@@ -47,3 +47,2 @@ /// <reference types="multer" /> | ||
featureType: FeatureType.ROAD; | ||
lineJson: GeoJSON.Feature; | ||
width: string; | ||
@@ -543,6 +542,14 @@ } | { | ||
type BroadcastItemParam = { | ||
mapId: string; | ||
operation: 'insert' | 'update' | 'delete'; | ||
itemIdList: DataId[]; | ||
operation: 'data-insert' | 'data-update'; | ||
targets: DataId[]; | ||
} | { | ||
operation: 'data-delete'; | ||
targets: { | ||
id: DataId; | ||
map: { | ||
id: string; | ||
kind: MapKind; | ||
}[]; | ||
}[]; | ||
} | { | ||
operation: 'datasource-define-update'; | ||
@@ -549,0 +556,0 @@ datasourceId: string; |
{ | ||
"name": "279map-backend-common", | ||
"version": "0.45.0", | ||
"version": "0.46.0", | ||
"description": "279map backend common modules", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1170861
47953