@geolonia/geonicdb-sdk 0.11.0 → 0.11.1
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/README.md +2 -0
- package/geonicdb.d.ts +19 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -414,6 +414,7 @@ handle.stop();
|
|
|
414
414
|
| `limit` | `number` | Max results |
|
|
415
415
|
| `offset` | `number` | Pagination offset |
|
|
416
416
|
| `q` | `string` | NGSI-LD query expression |
|
|
417
|
+
| `options` | `string` | NGSI-LD representation options (comma-separated): `sysAttrs` (include `createdAt`/`modifiedAt`), `keyValues`, `concise`, `normalized` |
|
|
417
418
|
|
|
418
419
|
#### `CountEntitiesParams`
|
|
419
420
|
|
|
@@ -453,6 +454,7 @@ handle.stop();
|
|
|
453
454
|
| `timerel` | `string` | Temporal relation (`before`, `after`, `between`) |
|
|
454
455
|
| `limit` | `number` | Max results |
|
|
455
456
|
| `offset` | `number` | Pagination offset |
|
|
457
|
+
| `options` | `string` | NGSI-LD representation options (comma-separated): `sysAttrs`, `temporalValues`, `aggregatedValues` |
|
|
456
458
|
|
|
457
459
|
### Batch Operations
|
|
458
460
|
|
package/geonicdb.d.ts
CHANGED
|
@@ -121,6 +121,16 @@ export interface GetEntitiesParams {
|
|
|
121
121
|
count?: boolean;
|
|
122
122
|
/** GeoProperty key to use (default `location`) */
|
|
123
123
|
geoproperty?: string;
|
|
124
|
+
/**
|
|
125
|
+
* NGSI-LD representation options (`options` query param)。カンマ区切りで複数指定可。
|
|
126
|
+
* - `sysAttrs` — システム属性 (`createdAt` / `modifiedAt`) を含める
|
|
127
|
+
* - `keyValues` — 簡易表現 (属性を値だけに圧縮)
|
|
128
|
+
* - `concise` — concise 表現
|
|
129
|
+
* - `normalized` — 正規化表現 (デフォルト)
|
|
130
|
+
*
|
|
131
|
+
* 例: `'sysAttrs'`, `'keyValues,sysAttrs'`。
|
|
132
|
+
*/
|
|
133
|
+
options?: string;
|
|
124
134
|
}
|
|
125
135
|
/** Parameters for counting entities. */
|
|
126
136
|
export interface CountEntitiesParams {
|
|
@@ -254,6 +264,15 @@ export interface GetTemporalEntitiesParams {
|
|
|
254
264
|
limit?: number;
|
|
255
265
|
/** Pagination offset */
|
|
256
266
|
offset?: number;
|
|
267
|
+
/**
|
|
268
|
+
* NGSI-LD representation options (`options` query param)。カンマ区切りで複数指定可。
|
|
269
|
+
* - `sysAttrs` — システム属性 (`createdAt` / `modifiedAt`) を含める
|
|
270
|
+
* - `temporalValues` — 時系列を簡易配列表現で返す
|
|
271
|
+
* - `aggregatedValues` — 集約表現で返す
|
|
272
|
+
*
|
|
273
|
+
* 例: `'sysAttrs'`, `'temporalValues'`。
|
|
274
|
+
*/
|
|
275
|
+
options?: string;
|
|
257
276
|
}
|
|
258
277
|
export type Listener<T> = (data: T) => void;
|
|
259
278
|
declare class EventEmitter {
|