@tmlmobilidade/types 20250916.1050.43 → 20250916.1106.34

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.
@@ -186,4 +186,9 @@ export declare const CommentSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type",
186
186
  }>;
187
187
  export type Comment = z.infer<typeof CommentSchema>;
188
188
  export type NoteComment = z.infer<typeof NoteCommentSchema>;
189
- export type FieldChangedComment = z.infer<typeof FieldChangedCommentSchema>;
189
+ export interface FieldChangedComment<T, K extends keyof T> {
190
+ curr_value: T[K];
191
+ field: K;
192
+ prev_value: T[K];
193
+ type: typeof CommentTypeSchema.enum.field_changed;
194
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20250916.1050.43",
3
+ "version": "20250916.1106.34",
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",