@tmlmobilidade/interfaces 20250917.1133.15 → 20250917.1305.2

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.
@@ -24,8 +24,8 @@ declare class RolesClass extends MongoCollectionClass<Role, CreateRoleDto, Updat
24
24
  };
25
25
  name: string;
26
26
  permissions: {
27
- scope: string;
28
27
  action: string;
28
+ scope: string;
29
29
  resource?: Record<string, any> | null | undefined;
30
30
  }[];
31
31
  created_by?: string | undefined;
@@ -60,6 +60,18 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
60
60
  curr_value?: any;
61
61
  metadata?: Record<string, unknown> | null | undefined;
62
62
  prev_value?: any;
63
+ } | {
64
+ created_at: number & {
65
+ __brand: "UnixTimestamp";
66
+ };
67
+ updated_at: number & {
68
+ __brand: "UnixTimestamp";
69
+ };
70
+ type: "crud";
71
+ action: "create" | "update" | "delete" | "archived" | "restored";
72
+ _id?: string | undefined;
73
+ created_by?: string | undefined;
74
+ updated_by?: string | undefined;
63
75
  })[];
64
76
  is_archived: boolean;
65
77
  jurisdiction: "unknown" | "ip" | "municipality" | "other";
@@ -147,6 +159,18 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
147
159
  curr_value?: any;
148
160
  metadata?: Record<string, unknown> | null | undefined;
149
161
  prev_value?: any;
162
+ } | {
163
+ created_at: number & {
164
+ __brand: "UnixTimestamp";
165
+ };
166
+ updated_at: number & {
167
+ __brand: "UnixTimestamp";
168
+ };
169
+ type: "crud";
170
+ action: "create" | "update" | "delete" | "archived" | "restored";
171
+ _id?: string | undefined;
172
+ created_by?: string | undefined;
173
+ updated_by?: string | undefined;
150
174
  })[];
151
175
  is_archived: boolean;
152
176
  jurisdiction: "unknown" | "ip" | "municipality" | "other";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/interfaces",
3
- "version": "20250917.1133.15",
3
+ "version": "20250917.1305.2",
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",