jmapcloud-ng-core-types 2.0.23-qa.5 → 2.0.23-qa.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +0 -5
- package/package.json +1 -1
- package/public/core.d.ts +0 -25
- package/public/global-aliases.d.ts +0 -1
- package/public/jmap/layer.d.ts +1 -6
- package/public/jmap/table.d.ts +1 -0
package/index.d.ts
CHANGED
|
@@ -163,7 +163,6 @@ export interface JCoreService extends JCoreMainService {
|
|
|
163
163
|
Geometry: JGeometryService
|
|
164
164
|
MouseOver: JMouseOverService
|
|
165
165
|
Attachment: JAttachmentService
|
|
166
|
-
Form: JFormService
|
|
167
166
|
Event: JEventService
|
|
168
167
|
History: JHistoryService
|
|
169
168
|
Extension: JExtensionService
|
|
@@ -512,10 +511,6 @@ export interface JMapContextEventModule extends JEventModule {
|
|
|
512
511
|
|
|
513
512
|
export type JHistoryListener = (oldValue: string | undefined, newValue: string | undefined) => void
|
|
514
513
|
|
|
515
|
-
export interface JFormService {
|
|
516
|
-
getForm(dataSourceId: string): Promise<JForm | null>
|
|
517
|
-
}
|
|
518
|
-
|
|
519
514
|
export interface JAttachmentService {
|
|
520
515
|
getByItemId(dataSourceId: string, dataSourceOrganizationId: string, itemId: number): Promise<JAttachment[]>
|
|
521
516
|
create(dataSourceId: string, dataSourceOrganizationId: string, params: JCreateAttachmentParams): Promise<string>
|
package/package.json
CHANGED
package/public/core.d.ts
CHANGED
|
@@ -9426,31 +9426,6 @@ export namespace JMap {
|
|
|
9426
9426
|
*/
|
|
9427
9427
|
function renderMouseOver(layer: JLayer, feature: GeoJSON.Feature): Array<JExtensionMouseOver | undefined>
|
|
9428
9428
|
}
|
|
9429
|
-
/**
|
|
9430
|
-
* **JMap.Form**
|
|
9431
|
-
*
|
|
9432
|
-
* Here you'll find all form related methods
|
|
9433
|
-
*/
|
|
9434
|
-
namespace Form {
|
|
9435
|
-
/**
|
|
9436
|
-
* ***JMap.Form.getForm***
|
|
9437
|
-
*
|
|
9438
|
-
* Returns the form for a data source.
|
|
9439
|
-
*
|
|
9440
|
-
* @param dataSourceId the JMap data source id
|
|
9441
|
-
* @example
|
|
9442
|
-
* ```ts
|
|
9443
|
-
* // returns the form for data source id=f47ac10b-58cc-4372-a567-0e02b2c3d479
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
* JMap.Form
|
|
9447
|
-
* .getForm("f47ac10b-58cc-4372-a567-0e02b2c3d479")
|
|
9448
|
-
* .then(form => console.log("form of data source f47ac10b-58cc-4372-a567-0e02b2c3d479", form))
|
|
9449
|
-
* .catch(error => console.error("An error occurred when getting the form for data source f47ac10b-58cc-4372-a567-0e02b2c3d479", error))
|
|
9450
|
-
* ```
|
|
9451
|
-
*/
|
|
9452
|
-
function getForm(dataSourceId: string): Promise<JForm | null>
|
|
9453
|
-
}
|
|
9454
9429
|
/**
|
|
9455
9430
|
* **JMap.Attachment**
|
|
9456
9431
|
*
|
|
@@ -163,7 +163,6 @@ declare global {
|
|
|
163
163
|
/** @internal */ type JLayerPermissions = layer.JLayerPermissions
|
|
164
164
|
/** @internal */ type JLayerGroup = layer.JLayerGroup
|
|
165
165
|
/** @internal */ type JLayer = layer.JLayer
|
|
166
|
-
/** @internal */ type JLayerForm = layer.JLayerForm
|
|
167
166
|
/** @internal */ type JLayerAttribute = layer.JLayerAttribute
|
|
168
167
|
/** @internal */ type JLayerTreeElement = layer.JLayerTreeElement
|
|
169
168
|
/** @internal */ type JLayerTree = layer.JLayerTree
|
package/public/jmap/layer.d.ts
CHANGED
|
@@ -275,7 +275,7 @@ export interface JLayer extends JLayerTreeElementBase {
|
|
|
275
275
|
listedInTree: boolean
|
|
276
276
|
authorPropertyName: string
|
|
277
277
|
lowercasedAttributeNames: string[]
|
|
278
|
-
|
|
278
|
+
formId?: string
|
|
279
279
|
spatialDataSourceId: string
|
|
280
280
|
spatialDataSourceOrganizationId: string
|
|
281
281
|
spatialDataSourceAttributes: DataSourceAttribute[] | null
|
|
@@ -286,11 +286,6 @@ export interface JLayer extends JLayerTreeElementBase {
|
|
|
286
286
|
baseFilter?: JAnyFilterCondition
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
export interface JLayerForm {
|
|
290
|
-
id: string
|
|
291
|
-
name: string
|
|
292
|
-
}
|
|
293
|
-
|
|
294
289
|
/** @deprecated Legacy public view; use the shared LayerAttribute model for new consumers. */
|
|
295
290
|
export interface JLayerAttribute {
|
|
296
291
|
id: string
|
package/public/jmap/table.d.ts
CHANGED