@tmlmobilidade/types 20250903.2354.49 → 20250904.1.6
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 +3 -2
- package/dist/src/sams/sam.js +1 -1
- package/package.json +1 -1
package/dist/src/sams/sam.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type UnixTimestamp } from '../_common/unix-timestamp.js';
|
|
2
|
+
import { type SamAnalysis } from './sam-analysis.js';
|
|
2
3
|
import { z } from 'zod';
|
|
3
|
-
import { SamAnalysis } from './sam-analysis.js';
|
|
4
4
|
export declare const SamSchema: z.ZodObject<{
|
|
5
5
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
6
6
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
@@ -311,7 +311,8 @@ export interface Sam extends Omit<z.infer<typeof SamSchema>, 'analysis' | 'creat
|
|
|
311
311
|
seen_last_at: null | UnixTimestamp;
|
|
312
312
|
updated_at: UnixTimestamp;
|
|
313
313
|
}
|
|
314
|
-
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[];
|
|
315
316
|
seen_first_at: null | UnixTimestamp;
|
|
316
317
|
seen_last_at: null | UnixTimestamp;
|
|
317
318
|
}
|
package/dist/src/sams/sam.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* * */
|
|
2
2
|
import { DocumentSchema } from '../_common/document.js';
|
|
3
3
|
import { validateUnixTimestamp } from '../_common/unix-timestamp.js';
|
|
4
|
+
import { SamAnalysisSchema } from './sam-analysis.js';
|
|
4
5
|
import { ProcessingStatusSchema } from '../system/processing-status.js';
|
|
5
6
|
import { z } from 'zod';
|
|
6
|
-
import { SamAnalysisSchema } from './sam-analysis.js';
|
|
7
7
|
/* * */
|
|
8
8
|
export const SamSchema = DocumentSchema.extend({
|
|
9
9
|
_id: z.number(),
|
package/package.json
CHANGED