279map-backend-common
Advanced tools
Comparing version 0.41.2 to 0.41.3
import { Geometry } from 'geojson'; | ||
import { DataId, GeoProperties, GeocoderIdInfo, IconKey, ItemDatasourceConfig, ContentDatasourceConfig, MapKind, IconDefine } from '../../types-common/common-types'; | ||
import { DataId, GeoProperties, GeocoderIdInfo, IconKey, ItemDatasourceConfig, ContentDatasourceConfig, ContentValueMap, MapKind, IconDefine } from '../../types-common/common-types'; | ||
export type Maybe<T> = T | null; | ||
@@ -50,4 +50,4 @@ export type InputMaybe<T> = Maybe<T>; | ||
ContentValueMap: { | ||
input: any; | ||
output: any; | ||
input: ContentValueMap; | ||
output: ContentValueMap; | ||
}; | ||
@@ -54,0 +54,0 @@ DataId: { |
@@ -81,5 +81,10 @@ export type DataId = number; | ||
key: string; | ||
type: 'title' | 'string' | 'date' | 'url' | 'text' | 'category' | 'single-category' | 'number' | 'image' | 'link'; | ||
type: 'title' | 'string' | 'date' | 'url' | 'text' | 'category' | 'single-category' | 'number' | 'image'; | ||
label: string; | ||
readonly?: boolean; | ||
} | { | ||
key: string; | ||
type: 'link'; | ||
label: string; | ||
databaseId: string; | ||
}; | ||
@@ -93,1 +98,21 @@ export type LocationFieldDefine = { | ||
}; | ||
export type ContentValueMap = { | ||
[key: string]: ContentValue; | ||
}; | ||
export type ContentValue = { | ||
type: 'title' | 'string' | 'text' | 'date' | 'image' | 'url'; | ||
value: string; | ||
} | { | ||
type: 'number'; | ||
value: number; | ||
} | { | ||
type: 'category' | 'single-category'; | ||
value: string[]; | ||
} | { | ||
type: 'link'; | ||
value: { | ||
dataId: DataId; | ||
name: string; | ||
mapKind: MapKind[]; | ||
}[]; | ||
}; |
import { Geometry } from 'geojson'; | ||
import { DataId, GeoProperties, GeocoderIdInfo, IconKey, ItemDatasourceConfig, ContentDatasourceConfig, MapKind, IconDefine } from '../../types-common/common-types'; | ||
import { DataId, GeoProperties, GeocoderIdInfo, IconKey, ItemDatasourceConfig, ContentDatasourceConfig, ContentValueMap, MapKind, IconDefine } from '../../types-common/common-types'; | ||
export type Maybe<T> = T | null; | ||
@@ -50,4 +50,4 @@ export type InputMaybe<T> = Maybe<T>; | ||
ContentValueMap: { | ||
input: any; | ||
output: any; | ||
input: ContentValueMap; | ||
output: ContentValueMap; | ||
}; | ||
@@ -54,0 +54,0 @@ DataId: { |
@@ -81,5 +81,10 @@ export type DataId = number; | ||
key: string; | ||
type: 'title' | 'string' | 'date' | 'url' | 'text' | 'category' | 'single-category' | 'number' | 'image' | 'link'; | ||
type: 'title' | 'string' | 'date' | 'url' | 'text' | 'category' | 'single-category' | 'number' | 'image'; | ||
label: string; | ||
readonly?: boolean; | ||
} | { | ||
key: string; | ||
type: 'link'; | ||
label: string; | ||
databaseId: string; | ||
}; | ||
@@ -93,1 +98,21 @@ export type LocationFieldDefine = { | ||
}; | ||
export type ContentValueMap = { | ||
[key: string]: ContentValue; | ||
}; | ||
export type ContentValue = { | ||
type: 'title' | 'string' | 'text' | 'date' | 'image' | 'url'; | ||
value: string; | ||
} | { | ||
type: 'number'; | ||
value: number; | ||
} | { | ||
type: 'category' | 'single-category'; | ||
value: string[]; | ||
} | { | ||
type: 'link'; | ||
value: { | ||
dataId: DataId; | ||
name: string; | ||
mapKind: MapKind[]; | ||
}[]; | ||
}; |
@@ -86,5 +86,10 @@ /// <reference types="multer" /> | ||
key: string; | ||
type: 'title' | 'string' | 'date' | 'url' | 'text' | 'category' | 'single-category' | 'number' | 'image' | 'link'; | ||
type: 'title' | 'string' | 'date' | 'url' | 'text' | 'category' | 'single-category' | 'number' | 'image'; | ||
label: string; | ||
readonly?: boolean; | ||
} | { | ||
key: string; | ||
type: 'link'; | ||
label: string; | ||
databaseId: string; | ||
}; | ||
@@ -98,2 +103,22 @@ type LocationFieldDefine = { | ||
}; | ||
type ContentValueMap = { | ||
[key: string]: ContentValue; | ||
}; | ||
type ContentValue = { | ||
type: 'title' | 'string' | 'text' | 'date' | 'image' | 'url'; | ||
value: string; | ||
} | { | ||
type: 'number'; | ||
value: number; | ||
} | { | ||
type: 'category' | 'single-category'; | ||
value: string[]; | ||
} | { | ||
type: 'link'; | ||
value: { | ||
dataId: DataId; | ||
name: string; | ||
mapKind: MapKind[]; | ||
}[]; | ||
}; | ||
@@ -147,4 +172,4 @@ type Maybe<T> = T | null; | ||
ContentValueMap: { | ||
input: any; | ||
output: any; | ||
input: ContentValueMap; | ||
output: ContentValueMap; | ||
}; | ||
@@ -535,2 +560,2 @@ DataId: { | ||
export { APIDefine, Auth, AuthManagementInterface, BroadcastItemParam, ConnectErrorType, ContentBelongMapView, ContentDatasourceConfig, ContentFieldDefine, ContentValueMapForDB, 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 }; | ||
export { APIDefine, Auth, AuthManagementInterface, BroadcastItemParam, ConnectErrorType, ContentBelongMapView, ContentDatasourceConfig, ContentFieldDefine, ContentValue, ContentValueMap, ContentValueMapForDB, 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.41.2", | ||
"version": "0.41.3", | ||
"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
1168476
47842