279map-backend-common
Advanced tools
Comparing version 0.43.1 to 0.43.2
import { APIDefine, CurrentMap } from "../types"; | ||
import { ContentValueMapForDB, DataId, GeoProperties } from "../types-common/common-types"; | ||
import { ContentValueMapInput, DataId, GeoProperties } from "../types-common/common-types"; | ||
type CommonParam = { | ||
@@ -13,3 +13,3 @@ currentMap: CurrentMap; | ||
}; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
linkItems?: DataId[]; | ||
@@ -30,3 +30,3 @@ }; | ||
} | null; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
}; | ||
@@ -33,0 +33,0 @@ export declare const OdbaRemoveDataAPI: APIDefine<OdbaRemoveDataParam, boolean>; |
import { Geometry } from 'geojson'; | ||
import { DataId, GeoProperties, GeocoderIdInfo, IconKey, ItemDatasourceConfig, ContentDatasourceConfig, ContentValueMap, MapKind, IconDefine } from '../../types-common/common-types'; | ||
import { DataId, GeoProperties, GeocoderIdInfo, IconKey, ItemDatasourceConfig, ContentDatasourceConfig, ContentValueMap, ContentValueMapInput, MapKind, IconDefine } from '../../types-common/common-types'; | ||
export type Maybe<T> = T | null; | ||
@@ -53,2 +53,6 @@ export type InputMaybe<T> = Maybe<T>; | ||
}; | ||
ContentValueMapInput: { | ||
input: ContentValueMapInput; | ||
output: ContentValueMapInput; | ||
}; | ||
DataId: { | ||
@@ -55,0 +59,0 @@ input: DataId; |
@@ -98,8 +98,2 @@ export type DataId = number; | ||
}; | ||
export type ContentValueMapForDB = { | ||
[key: string]: any; | ||
}; | ||
export type ContentValueMap = { | ||
[key: string]: ContentValue; | ||
}; | ||
export type ContentValue = { | ||
@@ -129,1 +123,18 @@ type: 'title' | 'string' | 'text' | 'date' | 'url'; | ||
}; | ||
export type ContentValueInput = Exclude<ContentValue, { | ||
type: 'image'; | ||
} | { | ||
type: 'link'; | ||
}> | { | ||
type: 'image'; | ||
value: string[]; | ||
} | { | ||
type: 'link'; | ||
value: DataId[]; | ||
}; | ||
export type ContentValueMapInput = { | ||
[key: string]: ContentValueInput['value']; | ||
}; | ||
export type ContentValueMap = { | ||
[key: string]: ContentValue['value']; | ||
}; |
import { MapPageOptions } from '../graphql/__generated__/types'; | ||
import { ContentDatasourceConfig, MapKind, ContentFieldDefine, DatasourceLocationKindType, LocationFieldDefine, IconKey, ContentValueMapForDB } from '../types-common/common-types'; | ||
import { ContentDatasourceConfig, MapKind, ContentFieldDefine, DatasourceLocationKindType, LocationFieldDefine, IconKey, ContentValueMapInput } from '../types-common/common-types'; | ||
export declare enum PublicRange { | ||
@@ -91,3 +91,3 @@ Public = "Public", | ||
data_id: number; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
category?: string[]; | ||
@@ -94,0 +94,0 @@ date?: string; |
import { APIDefine, CurrentMap } from "../types"; | ||
import { ContentValueMapForDB, DataId, GeoProperties } from "../types-common/common-types"; | ||
import { ContentValueMapInput, DataId, GeoProperties } from "../types-common/common-types"; | ||
type CommonParam = { | ||
@@ -13,3 +13,3 @@ currentMap: CurrentMap; | ||
}; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
linkItems?: DataId[]; | ||
@@ -30,3 +30,3 @@ }; | ||
} | null; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
}; | ||
@@ -33,0 +33,0 @@ export declare const OdbaRemoveDataAPI: APIDefine<OdbaRemoveDataParam, boolean>; |
import { Geometry } from 'geojson'; | ||
import { DataId, GeoProperties, GeocoderIdInfo, IconKey, ItemDatasourceConfig, ContentDatasourceConfig, ContentValueMap, MapKind, IconDefine } from '../../types-common/common-types'; | ||
import { DataId, GeoProperties, GeocoderIdInfo, IconKey, ItemDatasourceConfig, ContentDatasourceConfig, ContentValueMap, ContentValueMapInput, MapKind, IconDefine } from '../../types-common/common-types'; | ||
export type Maybe<T> = T | null; | ||
@@ -53,2 +53,6 @@ export type InputMaybe<T> = Maybe<T>; | ||
}; | ||
ContentValueMapInput: { | ||
input: ContentValueMapInput; | ||
output: ContentValueMapInput; | ||
}; | ||
DataId: { | ||
@@ -55,0 +59,0 @@ input: DataId; |
@@ -98,8 +98,2 @@ export type DataId = number; | ||
}; | ||
export type ContentValueMapForDB = { | ||
[key: string]: any; | ||
}; | ||
export type ContentValueMap = { | ||
[key: string]: ContentValue; | ||
}; | ||
export type ContentValue = { | ||
@@ -129,1 +123,18 @@ type: 'title' | 'string' | 'text' | 'date' | 'url'; | ||
}; | ||
export type ContentValueInput = Exclude<ContentValue, { | ||
type: 'image'; | ||
} | { | ||
type: 'link'; | ||
}> | { | ||
type: 'image'; | ||
value: string[]; | ||
} | { | ||
type: 'link'; | ||
value: DataId[]; | ||
}; | ||
export type ContentValueMapInput = { | ||
[key: string]: ContentValueInput['value']; | ||
}; | ||
export type ContentValueMap = { | ||
[key: string]: ContentValue['value']; | ||
}; |
import { MapPageOptions } from '../graphql/__generated__/types'; | ||
import { ContentDatasourceConfig, MapKind, ContentFieldDefine, DatasourceLocationKindType, LocationFieldDefine, IconKey, ContentValueMapForDB } from '../types-common/common-types'; | ||
import { ContentDatasourceConfig, MapKind, ContentFieldDefine, DatasourceLocationKindType, LocationFieldDefine, IconKey, ContentValueMapInput } from '../types-common/common-types'; | ||
export declare enum PublicRange { | ||
@@ -91,3 +91,3 @@ Public = "Public", | ||
data_id: number; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
category?: string[]; | ||
@@ -94,0 +94,0 @@ date?: string; |
@@ -103,8 +103,2 @@ /// <reference types="multer" /> | ||
}; | ||
type ContentValueMapForDB = { | ||
[key: string]: any; | ||
}; | ||
type ContentValueMap = { | ||
[key: string]: ContentValue; | ||
}; | ||
type ContentValue = { | ||
@@ -134,2 +128,19 @@ type: 'title' | 'string' | 'text' | 'date' | 'url'; | ||
}; | ||
type ContentValueInput = Exclude<ContentValue, { | ||
type: 'image'; | ||
} | { | ||
type: 'link'; | ||
}> | { | ||
type: 'image'; | ||
value: string[]; | ||
} | { | ||
type: 'link'; | ||
value: DataId[]; | ||
}; | ||
type ContentValueMapInput = { | ||
[key: string]: ContentValueInput['value']; | ||
}; | ||
type ContentValueMap = { | ||
[key: string]: ContentValue['value']; | ||
}; | ||
@@ -186,2 +197,6 @@ type Maybe<T> = T | null; | ||
}; | ||
ContentValueMapInput: { | ||
input: ContentValueMapInput; | ||
output: ContentValueMapInput; | ||
}; | ||
DataId: { | ||
@@ -370,3 +385,3 @@ input: DataId; | ||
data_id: number; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
category?: string[]; | ||
@@ -431,3 +446,3 @@ date?: string; | ||
}; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
linkItems?: DataId[]; | ||
@@ -448,3 +463,3 @@ }; | ||
} | null; | ||
contents?: ContentValueMapForDB; | ||
contents?: ContentValueMapInput; | ||
}; | ||
@@ -575,2 +590,2 @@ declare const OdbaRemoveDataAPI: APIDefine<OdbaRemoveDataParam, boolean>; | ||
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 }; | ||
export { APIDefine, Auth, AuthManagementInterface, BroadcastItemParam, ConnectErrorType, ContentBelongMapView, ContentDatasourceConfig, ContentFieldDefine, ContentValue, ContentValueInput, ContentValueMap, ContentValueMapInput, 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.43.1", | ||
"version": "0.43.2", | ||
"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
1170257
47923