@tmlmobilidade/types 20250903.2353.43 → 20250903.2354.49

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.
@@ -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,7 +304,8 @@ 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20250903.2353.43",
3
+ "version": "20250903.2354.49",
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",