Fix WFS errors by moving typedefs to own file
The WFS typedefs are the only sub-sub-namespace ones which are marked 'api', so cannot be renamed. Moving them to their own file resolves the errors.
This commit is contained in:
26
src/ol/typedefs-wfs.js
Normal file
26
src/ol/typedefs-wfs.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* typedefs for the WFS sub-sub-namespace
|
||||
* See typedefs.js for more details
|
||||
*/
|
||||
goog.provide('ol.format.WFS.FeatureCollectionMetadata');
|
||||
goog.provide('ol.format.WFS.TransactionResponse');
|
||||
|
||||
|
||||
/**
|
||||
* Number of features; bounds/extent.
|
||||
* @typedef {{numberOfFeatures: number,
|
||||
* bounds: ol.Extent}}
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.FeatureCollectionMetadata;
|
||||
|
||||
|
||||
/**
|
||||
* Total deleted; total inserted; total updated; array of insert ids.
|
||||
* @typedef {{totalDeleted: number,
|
||||
* totalInserted: number,
|
||||
* totalUpdated: number,
|
||||
* insertIds: Array.<string>}}
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.TransactionResponse;
|
||||
@@ -367,26 +367,6 @@ ol.format.KMLVec2_;
|
||||
ol.format.KMLGxTrackObject_;
|
||||
|
||||
|
||||
/**
|
||||
* Number of features; bounds/extent.
|
||||
* @typedef {{numberOfFeatures: number,
|
||||
* bounds: ol.Extent}}
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.FeatureCollectionMetadata;
|
||||
|
||||
|
||||
/**
|
||||
* Total deleted; total inserted; total updated; array of insert ids.
|
||||
* @typedef {{totalDeleted: number,
|
||||
* totalInserted: number,
|
||||
* totalUpdated: number,
|
||||
* insertIds: Array.<string>}}
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.TransactionResponse;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{type: number, value: (number|string|undefined), position: number}}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user