@kinevolution/appwrite-functions-shared-utils 0.1.22 → 0.1.24

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.
@@ -25,13 +25,13 @@ export type ProfilesRequester = Models.Row & {
25
25
  notesForCompanions: string | null;
26
26
  emergencyContactName: string | null;
27
27
  emergencyContactPhone: string | null;
28
- user: Roles;
28
+ user: string;
29
29
  };
30
30
  export type ProfilesCompanion = Models.Row & {
31
31
  hasVehicle: boolean;
32
32
  ratingCount: number;
33
33
  ratingAvg: number;
34
- user: Roles;
34
+ user: string;
35
35
  };
36
36
  export type CompanionZones = Models.Row & {
37
37
  label: string;
@@ -39,7 +39,7 @@ export type CompanionZones = Models.Row & {
39
39
  active: boolean;
40
40
  notes: string | null;
41
41
  zone: string | null;
42
- profilesCompanion: ProfilesCompanion;
42
+ profilesCompanion: string;
43
43
  center: string | null;
44
44
  radius: number | null;
45
45
  };
@@ -48,7 +48,7 @@ export type Roles = Models.Row & {
48
48
  role: Role;
49
49
  };
50
50
  export type ProfilesExtras = Models.Row & {
51
- user: Roles;
51
+ user: string;
52
52
  bio: string | null;
53
53
  photoIds: string[] | null;
54
54
  activities: Activities[] | null;
@@ -63,5 +63,5 @@ export type ProfilesCore = Models.Row & {
63
63
  firstName: string;
64
64
  lastName: string;
65
65
  sex: Sex;
66
- user: Roles;
66
+ user: string;
67
67
  };
@@ -5,7 +5,7 @@ export interface GetAllUsersInput {
5
5
  offset?: number;
6
6
  limit?: number;
7
7
  search?: string;
8
- order?: string;
8
+ order?: 'ASC' | 'DESC';
9
9
  orderBy?: string;
10
10
  }
11
11
  export declare const GetAllUsersConfig: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.1.22",
6
+ "version": "0.1.24",
7
7
  "license": "ISC",
8
8
  "author": "Nicolas Forêt <nicolas4@gmail.com>",
9
9
  "description": "Shared utilities for Appwrite functions",