@tmlmobilidade/interfaces 20250915.1655.9 → 20250916.1050.43

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.
@@ -45,20 +45,6 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
45
45
  type: "note";
46
46
  created_by?: string | undefined;
47
47
  updated_by?: string | undefined;
48
- metadata?: Record<string, unknown> | null | undefined;
49
- } | {
50
- _id: string;
51
- created_at: number & {
52
- __brand: "UnixTimestamp";
53
- };
54
- created_by: "system";
55
- updated_at: number & {
56
- __brand: "UnixTimestamp";
57
- };
58
- updated_by: "system";
59
- message: string;
60
- type: "system_info";
61
- metadata?: Record<string, unknown> | null | undefined;
62
48
  } | {
63
49
  _id: string;
64
50
  created_at: number & {
@@ -67,13 +53,13 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
67
53
  updated_at: number & {
68
54
  __brand: "UnixTimestamp";
69
55
  };
70
- type: "status_changed";
71
- accessor: string;
72
- curr_status: string | boolean;
73
- prev_status: string | boolean;
56
+ type: "field_changed";
57
+ field: string;
74
58
  created_by?: string | undefined;
75
59
  updated_by?: string | undefined;
60
+ curr_value?: any;
76
61
  metadata?: Record<string, unknown> | null | undefined;
62
+ prev_value?: any;
77
63
  })[];
78
64
  is_archived: boolean;
79
65
  jurisdiction: "unknown" | "ip" | "municipality" | "other";
@@ -146,20 +132,6 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
146
132
  type: "note";
147
133
  created_by?: string | undefined;
148
134
  updated_by?: string | undefined;
149
- metadata?: Record<string, unknown> | null | undefined;
150
- } | {
151
- _id: string;
152
- created_at: number & {
153
- __brand: "UnixTimestamp";
154
- };
155
- created_by: "system";
156
- updated_at: number & {
157
- __brand: "UnixTimestamp";
158
- };
159
- updated_by: "system";
160
- message: string;
161
- type: "system_info";
162
- metadata?: Record<string, unknown> | null | undefined;
163
135
  } | {
164
136
  _id: string;
165
137
  created_at: number & {
@@ -168,13 +140,13 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
168
140
  updated_at: number & {
169
141
  __brand: "UnixTimestamp";
170
142
  };
171
- type: "status_changed";
172
- accessor: string;
173
- curr_status: string | boolean;
174
- prev_status: string | boolean;
143
+ type: "field_changed";
144
+ field: string;
175
145
  created_by?: string | undefined;
176
146
  updated_by?: string | undefined;
147
+ curr_value?: any;
177
148
  metadata?: Record<string, unknown> | null | undefined;
149
+ prev_value?: any;
178
150
  })[];
179
151
  is_archived: boolean;
180
152
  jurisdiction: "unknown" | "ip" | "municipality" | "other";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/interfaces",
3
- "version": "20250915.1655.9",
3
+ "version": "20250916.1050.43",
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",