@drax/identity-back 0.12.2 → 0.12.7

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.
@@ -7,19 +7,19 @@ declare const UserBaseSchema: import("zod").ZodObject<{
7
7
  role: import("zod").ZodString;
8
8
  tenant: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
9
9
  }, "strip", import("zod").ZodTypeAny, {
10
+ name?: string;
10
11
  username?: string;
11
12
  email?: string;
12
- active?: boolean;
13
- name?: string;
14
13
  phone?: string;
14
+ active?: boolean;
15
15
  role?: string;
16
16
  tenant?: string;
17
17
  }, {
18
+ name?: string;
18
19
  username?: string;
19
20
  email?: string;
20
- active?: boolean;
21
- name?: string;
22
21
  phone?: string;
22
+ active?: boolean;
23
23
  role?: string;
24
24
  tenant?: string;
25
25
  }>;
@@ -34,23 +34,23 @@ declare const UserCreateSchema: import("zod").ZodObject<import("zod").objectUtil
34
34
  }, {
35
35
  password: import("zod").ZodString;
36
36
  }>, "strip", import("zod").ZodTypeAny, {
37
+ name?: string;
37
38
  username?: string;
38
39
  email?: string;
39
- password?: string;
40
- active?: boolean;
41
- name?: string;
42
40
  phone?: string;
41
+ active?: boolean;
43
42
  role?: string;
44
43
  tenant?: string;
44
+ password?: string;
45
45
  }, {
46
+ name?: string;
46
47
  username?: string;
47
48
  email?: string;
48
- password?: string;
49
- active?: boolean;
50
- name?: string;
51
49
  phone?: string;
50
+ active?: boolean;
52
51
  role?: string;
53
52
  tenant?: string;
53
+ password?: string;
54
54
  }>;
55
55
  declare const UserUpdateSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
56
56
  name: import("zod").ZodString;
@@ -61,19 +61,19 @@ declare const UserUpdateSchema: import("zod").ZodObject<import("zod").objectUtil
61
61
  role: import("zod").ZodString;
62
62
  tenant: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
63
63
  }, {}>, "strip", import("zod").ZodTypeAny, {
64
+ name?: string;
64
65
  username?: string;
65
66
  email?: string;
66
- active?: boolean;
67
- name?: string;
68
67
  phone?: string;
68
+ active?: boolean;
69
69
  role?: string;
70
70
  tenant?: string;
71
71
  }, {
72
+ name?: string;
72
73
  username?: string;
73
74
  email?: string;
74
- active?: boolean;
75
- name?: string;
76
75
  phone?: string;
76
+ active?: boolean;
77
77
  role?: string;
78
78
  tenant?: string;
79
79
  }>;
@@ -93,14 +93,14 @@ declare const UserSchema: import("zod").ZodObject<import("zod").objectUtil.exten
93
93
  name: import("zod").ZodString;
94
94
  permissions: import("zod").ZodArray<import("zod").ZodString, "many">;
95
95
  }, "strip", import("zod").ZodTypeAny, {
96
+ name?: string;
96
97
  _id?: string;
97
98
  id?: string;
98
- name?: string;
99
99
  permissions?: string[];
100
100
  }, {
101
+ name?: string;
101
102
  _id?: string;
102
103
  id?: string;
103
- name?: string;
104
104
  permissions?: string[];
105
105
  }>>;
106
106
  active: import("zod").ZodBoolean;
@@ -109,53 +109,56 @@ declare const UserSchema: import("zod").ZodObject<import("zod").objectUtil.exten
109
109
  id: import("zod").ZodOptional<import("zod").ZodString>;
110
110
  name: import("zod").ZodString;
111
111
  }, "strip", import("zod").ZodTypeAny, {
112
+ name?: string;
112
113
  _id?: string;
113
114
  id?: string;
114
- name?: string;
115
115
  }, {
116
+ name?: string;
116
117
  _id?: string;
117
118
  id?: string;
118
- name?: string;
119
119
  }>>>;
120
120
  createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
121
+ avatar: import("zod").ZodOptional<import("zod").ZodString>;
121
122
  }>, "strip", import("zod").ZodTypeAny, {
122
- _id?: string;
123
+ name?: string;
123
124
  username?: string;
124
125
  email?: string;
125
- active?: boolean;
126
- name?: string;
127
126
  phone?: string;
127
+ active?: boolean;
128
128
  role?: {
129
+ name?: string;
129
130
  _id?: string;
130
131
  id?: string;
131
- name?: string;
132
132
  permissions?: string[];
133
133
  };
134
- createdAt?: Date;
135
134
  tenant?: {
135
+ name?: string;
136
136
  _id?: string;
137
137
  id?: string;
138
- name?: string;
139
138
  };
140
- }, {
141
139
  _id?: string;
140
+ createdAt?: Date;
141
+ avatar?: string;
142
+ }, {
143
+ name?: string;
142
144
  username?: string;
143
145
  email?: string;
144
- active?: boolean;
145
- name?: string;
146
146
  phone?: string;
147
+ active?: boolean;
147
148
  role?: {
149
+ name?: string;
148
150
  _id?: string;
149
151
  id?: string;
150
- name?: string;
151
152
  permissions?: string[];
152
153
  };
153
- createdAt?: Date;
154
154
  tenant?: {
155
+ name?: string;
155
156
  _id?: string;
156
157
  id?: string;
157
- name?: string;
158
158
  };
159
+ _id?: string;
160
+ createdAt?: Date;
161
+ avatar?: string;
159
162
  }>;
160
163
  export { UserBaseSchema, UserSchema, UserCreateSchema, UserUpdateSchema, };
161
164
  //# sourceMappingURL=UserSchema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserSchema.d.ts","sourceRoot":"","sources":["../../src/schemas/UserSchema.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;EAclB,CAAA;AAEF,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpB,CAAC;AAGH,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EAEpB,CAAC;AAEH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBd,CAAC;AAGH,OAAO,EACH,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,gBAAgB,GACnB,CAAA"}
1
+ {"version":3,"file":"UserSchema.d.ts","sourceRoot":"","sources":["../../src/schemas/UserSchema.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;EAclB,CAAA;AAEF,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpB,CAAC;AAGH,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAC;AAEnD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBV,CAAC;AAGP,OAAO,EACH,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,gBAAgB,GACnB,CAAA"}