@tak-ps/cloudtak 13.102.5 → 13.104.0

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.
@@ -1,5 +1,7 @@
1
1
  import type { Feature } from '../types.ts';
2
2
  import jsonata from 'jsonata';
3
+ /** External id prefix of the per-feature filter that hides a feature while it is being edited */
4
+ export declare const EDIT_HIDE_PREFIX = "hidden-";
3
5
  /**
4
6
  * High Level Wrapper around the Data Filters
5
7
  *
@@ -16,6 +18,11 @@ export default class Filter {
16
18
  expression: jsonata.Expression;
17
19
  constructor(name: string, external: string, source: string, internal: boolean, query: string);
18
20
  test(feature: Feature): Promise<boolean>;
21
+ /**
22
+ * Drop edit-hide filters left behind when an edit never reached stop(),
23
+ * which otherwise hide the feature from the map on every repaint
24
+ */
25
+ static purgeEditHides(): Promise<number>;
19
26
  static list(): Promise<Filter[]>;
20
27
  static from(id: string): Promise<Filter | null>;
21
28
  update(body: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.102.5",
4
+ "version": "13.104.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"