@tmlmobilidade/types 20251001.1147.43 → 20251001.1537.11

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.
@@ -247,3 +247,8 @@ export interface User extends Omit<z.infer<typeof UserSchema>, 'permissions'> {
247
247
  }
248
248
  export type CreateUserDto = z.infer<typeof CreateUserSchema>;
249
249
  export type UpdateUserDto = z.infer<typeof UpdateUserSchema>;
250
+ export type UserDisplay = Pick<User, 'avatar' | 'email' | 'first_name' | 'last_name' | 'phone'>;
251
+ export type WithUser<T> = T & {
252
+ created_by: Partial<UserDisplay>;
253
+ updated_by: Partial<UserDisplay>;
254
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20251001.1147.43",
3
+ "version": "20251001.1537.11",
4
4
  "author": "João de Vasconcelos & Jusi Monteiro",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "homepage": "https://github.com/tmlmobilidade/services#readme",