@tmlmobilidade/go-types-performance 20260620.940.32

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.
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ export declare const DemandByAgencyByOperationalDateSchema: z.ZodObject<{
3
+ agency_id: z.ZodString;
4
+ operational_date: z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>;
5
+ qty: z.ZodNumber;
6
+ updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ agency_id: string;
9
+ operational_date: string & {
10
+ __brand: "OperationalDate";
11
+ };
12
+ qty: number;
13
+ updated_at: number & {
14
+ __brand: "UnixTimestamp";
15
+ };
16
+ }, {
17
+ agency_id: string;
18
+ operational_date: string;
19
+ qty: number;
20
+ updated_at: number;
21
+ }>;
22
+ export type DemandByAgencyByOperationalDate = z.infer<typeof DemandByAgencyByOperationalDateSchema>;
@@ -0,0 +1,10 @@
1
+ /* * */
2
+ import { OperationalDateSchema, UnixTimestampSchema } from '@tmlmobilidade/go-types-shared';
3
+ import { z } from 'zod';
4
+ /* * */
5
+ export const DemandByAgencyByOperationalDateSchema = z.object({
6
+ agency_id: z.string(),
7
+ operational_date: OperationalDateSchema,
8
+ qty: z.number(),
9
+ updated_at: UnixTimestampSchema,
10
+ });
@@ -0,0 +1 @@
1
+ export * from './by-agency-by-operational-date.js';
@@ -0,0 +1 @@
1
+ export * from './by-agency-by-operational-date.js';
@@ -0,0 +1 @@
1
+ export * from './demand/index.js';
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './demand/index.js';
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@tmlmobilidade/go-types-performance",
3
+ "version": "20260620.940.32",
4
+ "author": {
5
+ "email": "iso@tmlmobilidade.pt",
6
+ "name": "TML-ISO"
7
+ },
8
+ "license": "AGPL-3.0-or-later",
9
+ "homepage": "https://go.tmlmobilidade.pt",
10
+ "bugs": {
11
+ "url": "https://github.com/tmlmobilidade/go/issues"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/tmlmobilidade/go.git"
16
+ },
17
+ "keywords": [
18
+ "public transit",
19
+ "tml",
20
+ "transportes metropolitanos de lisboa",
21
+ "go"
22
+ ],
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "type": "module",
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "main": "./dist/index.js",
31
+ "types": "./dist/index.d.ts",
32
+ "scripts": {
33
+ "build": "tsc && resolve-tspaths",
34
+ "lint": "eslint ./src/ && tsc --noEmit",
35
+ "lint:fix": "eslint ./src/ --fix",
36
+ "watch": "tsc-watch --onSuccess 'resolve-tspaths'"
37
+ },
38
+ "dependencies": {
39
+ "@tmlmobilidade/go-types-shared": "*",
40
+ "zod": "3.25.76"
41
+ },
42
+ "devDependencies": {
43
+ "@tmlmobilidade/tsconfig": "*",
44
+ "@types/node": "25.9.3",
45
+ "resolve-tspaths": "0.8.23",
46
+ "tsc-watch": "7.2.0",
47
+ "typescript": "6.0.3"
48
+ }
49
+ }