@kinevolution/appwrite-functions-shared-utils 0.1.47 → 0.1.49
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/dist/appwrite.d.ts +11 -1
- package/dist/utils.d.ts +3 -0
- package/dist/utils.js +3 -0
- package/package.json +1 -1
package/dist/appwrite.d.ts
CHANGED
|
@@ -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
|
-
|
|
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/dist/utils.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ export declare const APPWRITE_TABLE_IDS: {
|
|
|
6
6
|
POLYGON_ZONES_TABLE_ID: string;
|
|
7
7
|
REQUESTERS_TABLE_ID: string;
|
|
8
8
|
COMPANIONS_TABLE_ID: string;
|
|
9
|
+
RADIUS_ZONE_CELLS_TABLE_ID: string;
|
|
10
|
+
MUNICIPALITY_CELLS_TABLE_ID: string;
|
|
11
|
+
MUNICIPALITIES_TABLE_ID: string;
|
|
9
12
|
};
|
|
10
13
|
export declare const APPWRITE_BUCKET_IDS: {
|
|
11
14
|
PHOTOS_BUCKET_ID: string;
|
package/dist/utils.js
CHANGED
|
@@ -6,6 +6,9 @@ export const APPWRITE_TABLE_IDS = {
|
|
|
6
6
|
POLYGON_ZONES_TABLE_ID: 'polygonZones',
|
|
7
7
|
REQUESTERS_TABLE_ID: 'requesters',
|
|
8
8
|
COMPANIONS_TABLE_ID: 'companions',
|
|
9
|
+
RADIUS_ZONE_CELLS_TABLE_ID: 'radiusZoneCells',
|
|
10
|
+
MUNICIPALITY_CELLS_TABLE_ID: 'municipalityCells',
|
|
11
|
+
MUNICIPALITIES_TABLE_ID: 'municipalities',
|
|
9
12
|
};
|
|
10
13
|
export const APPWRITE_BUCKET_IDS = {
|
|
11
14
|
PHOTOS_BUCKET_ID: '694178120017a66e686b',
|