@kinevolution/appwrite-functions-shared-utils 0.1.46 → 0.1.48

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.
Files changed (2) hide show
  1. package/dist/appwrite.d.ts +11 -1
  2. package/package.json +3 -3
@@ -33,13 +33,14 @@ export type RadiusZone = Models.Row & {
33
33
  radius: number;
34
34
  notes: string | null;
35
35
  center: Point;
36
+ h3Resolution: number;
36
37
  };
37
38
  export type PolygonZone = Models.Row & {
38
39
  core: string;
39
40
  label: string;
40
41
  active: boolean;
41
42
  notes: string | null;
42
- zone: Polygon;
43
+ municipalityId: string;
43
44
  };
44
45
  export type Municipality = Models.Row & {
45
46
  regionCode: RegionCode;
@@ -49,6 +50,15 @@ export type Municipality = Models.Row & {
49
50
  center: Point;
50
51
  shape: Polygon;
51
52
  };
53
+ export type MunicipalityCell = Models.Row & {
54
+ cellId: string;
55
+ municipalityId: string;
56
+ };
57
+ export type RadiusZoneCell = Models.Row & {
58
+ radiusZoneId: string;
59
+ h3Resolution: number;
60
+ cellId: string;
61
+ };
52
62
  type Point = [number, number];
53
63
  type Polygon = Point[][];
54
64
  export declare enum Role {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.1.46",
6
+ "version": "0.1.48",
7
7
  "license": "ISC",
8
8
  "author": "Nicolas Forêt <nicolas4@gmail.com>",
9
9
  "description": "Shared utilities for Appwrite functions",
@@ -27,11 +27,11 @@
27
27
  "bump-version:major": "gulp bump-version --type=major",
28
28
  "bump-version:minor": "gulp bump-version --type=minor",
29
29
  "bump-version:patch": "gulp bump-version --type=patch",
30
- "deploy": "npm run build && npm run bump-version && npm publish --access public && npm run bat-update",
30
+ "deploy": "npm login && npm run build && npm run bump-version && npm publish --access public && npm run bat-update",
31
31
  "npm-update": "npx npkill && del package-lock.json && ncu -u && npm i"
32
32
  },
33
33
  "devDependencies": {
34
- "@types/node": "25.0.3",
34
+ "@types/node": "25.0.9",
35
35
  "gulp": "5.0.1",
36
36
  "gulp-replace": "1.1.4",
37
37
  "minimist": "1.2.8",