@kinevolution/appwrite-functions-shared-utils 0.1.31 → 0.1.32
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 +4 -6
- package/dist/appwrite.js +5 -8
- package/package.json +1 -1
package/dist/appwrite.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { Models } from 'appwrite';
|
|
2
2
|
type Point = [number, number];
|
|
3
3
|
type Polygon = Point[][];
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
COMPANION = "companion"
|
|
8
|
-
}
|
|
4
|
+
export declare enum RoleType {
|
|
5
|
+
REQUESTER = "requester",
|
|
6
|
+
COMPANION = "companion"
|
|
9
7
|
}
|
|
10
8
|
declare enum Sex {
|
|
11
9
|
FEMALE = "female",
|
|
@@ -23,7 +21,7 @@ declare enum Activity {
|
|
|
23
21
|
}
|
|
24
22
|
export type Role = Models.Row & {
|
|
25
23
|
userId: string;
|
|
26
|
-
role:
|
|
24
|
+
role: RoleType;
|
|
27
25
|
};
|
|
28
26
|
export type Core = Models.Row & {
|
|
29
27
|
role: string;
|
package/dist/appwrite.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
export var
|
|
2
|
-
(function (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Type["COMPANION"] = "companion";
|
|
7
|
-
})(Type = Role.Type || (Role.Type = {}));
|
|
8
|
-
})(Role || (Role = {}));
|
|
1
|
+
export var RoleType;
|
|
2
|
+
(function (RoleType) {
|
|
3
|
+
RoleType["REQUESTER"] = "requester";
|
|
4
|
+
RoleType["COMPANION"] = "companion";
|
|
5
|
+
})(RoleType || (RoleType = {}));
|
|
9
6
|
var Sex;
|
|
10
7
|
(function (Sex) {
|
|
11
8
|
Sex["FEMALE"] = "female";
|