@tmlmobilidade/types 20250903.2353.43 → 20250904.0.29
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.
- package/dist/src/sams/sam.d.ts +5 -2
- package/package.json +1 -1
package/dist/src/sams/sam.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type UnixTimestamp } from '../_common/unix-timestamp.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
import { SamAnalysis } from './sam-analysis.js';
|
|
3
4
|
export declare const SamSchema: z.ZodObject<{
|
|
4
5
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
5
6
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
@@ -303,13 +304,15 @@ export declare const UpdateSamSchema: z.ZodObject<{
|
|
|
303
304
|
* the transactions are real, unique and incremental. This allows the system to
|
|
304
305
|
* detect if a transaction has been tampered with or if any transactions are missing.
|
|
305
306
|
*/
|
|
306
|
-
export interface Sam extends Omit<z.infer<typeof SamSchema>, 'created_at' | 'seen_first_at' | 'seen_last_at' | 'updated_at'> {
|
|
307
|
+
export interface Sam extends Omit<z.infer<typeof SamSchema>, 'analysis' | 'created_at' | 'seen_first_at' | 'seen_last_at' | 'updated_at'> {
|
|
308
|
+
analysis: SamAnalysis[];
|
|
307
309
|
created_at: UnixTimestamp;
|
|
308
310
|
seen_first_at: null | UnixTimestamp;
|
|
309
311
|
seen_last_at: null | UnixTimestamp;
|
|
310
312
|
updated_at: UnixTimestamp;
|
|
311
313
|
}
|
|
312
|
-
export interface CreateSamDto extends Omit<z.infer<typeof CreateSamSchema>, 'seen_first_at' | 'seen_last_at'> {
|
|
314
|
+
export interface CreateSamDto extends Omit<z.infer<typeof CreateSamSchema>, 'analysis' | 'seen_first_at' | 'seen_last_at'> {
|
|
315
|
+
analysis: SamAnalysis[];
|
|
313
316
|
seen_first_at: null | UnixTimestamp;
|
|
314
317
|
seen_last_at: null | UnixTimestamp;
|
|
315
318
|
}
|
package/package.json
CHANGED