@tmlmobilidade/go-types-extractions 20260914.1727.46
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/create.d.ts +156 -0
- package/dist/create.js +11 -0
- package/dist/extraction.d.ts +264 -0
- package/dist/extraction.js +11 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/modules/index.d.ts +3 -0
- package/dist/modules/index.js +3 -0
- package/dist/modules/infrastructure/index.d.ts +1 -0
- package/dist/modules/infrastructure/index.js +1 -0
- package/dist/modules/infrastructure/stops/index.d.ts +1 -0
- package/dist/modules/infrastructure/stops/index.js +1 -0
- package/dist/modules/infrastructure/stops/v1/create.d.ts +26 -0
- package/dist/modules/infrastructure/stops/v1/create.js +9 -0
- package/dist/modules/infrastructure/stops/v1/extraction.d.ts +62 -0
- package/dist/modules/infrastructure/stops/v1/extraction.js +6 -0
- package/dist/modules/infrastructure/stops/v1/index.d.ts +4 -0
- package/dist/modules/infrastructure/stops/v1/index.js +4 -0
- package/dist/modules/infrastructure/stops/v1/properties.d.ts +9 -0
- package/dist/modules/infrastructure/stops/v1/properties.js +6 -0
- package/dist/modules/infrastructure/stops/v1/version.d.ts +4 -0
- package/dist/modules/infrastructure/stops/v1/version.js +5 -0
- package/dist/modules/offer/gtfs/index.d.ts +1 -0
- package/dist/modules/offer/gtfs/index.js +1 -0
- package/dist/modules/offer/gtfs/v29/create.d.ts +92 -0
- package/dist/modules/offer/gtfs/v29/create.js +9 -0
- package/dist/modules/offer/gtfs/v29/extraction.d.ts +128 -0
- package/dist/modules/offer/gtfs/v29/extraction.js +6 -0
- package/dist/modules/offer/gtfs/v29/index.d.ts +4 -0
- package/dist/modules/offer/gtfs/v29/index.js +4 -0
- package/dist/modules/offer/gtfs/v29/properties.d.ts +47 -0
- package/dist/modules/offer/gtfs/v29/properties.js +17 -0
- package/dist/modules/offer/gtfs/v29/version.d.ts +4 -0
- package/dist/modules/offer/gtfs/v29/version.js +5 -0
- package/dist/modules/offer/index.d.ts +1 -0
- package/dist/modules/offer/index.js +1 -0
- package/dist/modules/operation/index.d.ts +1 -0
- package/dist/modules/operation/index.js +1 -0
- package/dist/modules/operation/rides/index.d.ts +1 -0
- package/dist/modules/operation/rides/index.js +1 -0
- package/dist/modules/operation/rides/v1/create.d.ts +44 -0
- package/dist/modules/operation/rides/v1/create.js +9 -0
- package/dist/modules/operation/rides/v1/extraction.d.ts +80 -0
- package/dist/modules/operation/rides/v1/extraction.js +6 -0
- package/dist/modules/operation/rides/v1/index.d.ts +4 -0
- package/dist/modules/operation/rides/v1/index.js +4 -0
- package/dist/modules/operation/rides/v1/properties.d.ts +19 -0
- package/dist/modules/operation/rides/v1/properties.js +11 -0
- package/dist/modules/operation/rides/v1/version.d.ts +4 -0
- package/dist/modules/operation/rides/v1/version.js +5 -0
- package/dist/shared/base-create.d.ts +9 -0
- package/dist/shared/base-create.js +6 -0
- package/dist/shared/base.d.ts +41 -0
- package/dist/shared/base.js +10 -0
- package/dist/shared/index.d.ts +4 -0
- package/dist/shared/index.js +4 -0
- package/dist/shared/task-context.d.ts +12 -0
- package/dist/shared/task-context.js +7 -0
- package/dist/shared/task-result.d.ts +3 -0
- package/dist/shared/task-result.js +4 -0
- package/dist/version.d.ts +4 -0
- package/dist/version.js +12 -0
- package/package.json +49 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ExtractionVersionValues: readonly ["infrastructure-stops-v1", "offer-gtfs-v29", "operation-rides-v1"];
|
|
3
|
+
export declare const ExtractionVersionSchema: z.ZodEnum<["infrastructure-stops-v1", "offer-gtfs-v29", "operation-rides-v1"]>;
|
|
4
|
+
export type ExtractionVersion = z.infer<typeof ExtractionVersionSchema>;
|
package/dist/version.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* * */
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { InfrastructureStopsV1ExtractionVersionValue } from './modules/infrastructure/stops/v1/version.js';
|
|
4
|
+
import { OfferGtfsV29ExtractionVersionValue } from './modules/offer/gtfs/v29/version.js';
|
|
5
|
+
import { OperationRidesV1ExtractionVersionValue } from './modules/operation/rides/v1/version.js';
|
|
6
|
+
/* * */
|
|
7
|
+
export const ExtractionVersionValues = [
|
|
8
|
+
InfrastructureStopsV1ExtractionVersionValue,
|
|
9
|
+
OfferGtfsV29ExtractionVersionValue,
|
|
10
|
+
OperationRidesV1ExtractionVersionValue,
|
|
11
|
+
];
|
|
12
|
+
export const ExtractionVersionSchema = z.enum(ExtractionVersionValues);
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tmlmobilidade/go-types-extractions",
|
|
3
|
+
"version": "20260914.1727.46",
|
|
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/go-utils-tsconfig": "*",
|
|
44
|
+
"@types/node": "26.4.0",
|
|
45
|
+
"resolve-tspaths": "0.8.23",
|
|
46
|
+
"tsc-watch": "7.2.1",
|
|
47
|
+
"typescript": "6.0.3"
|
|
48
|
+
}
|
|
49
|
+
}
|