@tmlmobilidade/databases 20260620.940.32 → 20260620.1229.43
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/interfaces/apex/simplified/simplified-apex-banking-taps.d.ts +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-banking-taps.js +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-inspection-decisions.d.ts +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-inspection-decisions.js +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-inspections.d.ts +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-inspections.js +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-locations.d.ts +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-locations.js +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-refunds.d.ts +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-refunds.js +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-sales.d.ts +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-sales.js +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-validations.d.ts +1 -1
- package/dist/interfaces/apex/simplified/simplified-apex-validations.js +1 -1
- package/dist/interfaces/api-cache/keys.d.ts +1 -1
- package/dist/interfaces/api-cache/keys.js +1 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ declare class SimplifiedApexBankingTapsNewClass extends ClickHouseInterfaceTempl
|
|
|
5
5
|
private static _instance;
|
|
6
6
|
protected readonly databaseName = "simplified_apex";
|
|
7
7
|
protected readonly engine: ClickHouseTableEngine<SimplifiedApexBankingTap>;
|
|
8
|
-
protected readonly orderBy = "agency_id, created_at, _id";
|
|
8
|
+
protected readonly orderBy = "agency_id, operational_date, created_at, _id";
|
|
9
9
|
protected readonly partitionBy = "intDiv(operational_date, 100)";
|
|
10
10
|
protected readonly schema: ClickHouseTableSchema<{
|
|
11
11
|
is_ok: boolean;
|
|
@@ -34,7 +34,7 @@ class SimplifiedApexBankingTapsNewClass extends ClickHouseInterfaceTemplate {
|
|
|
34
34
|
static _instance = null;
|
|
35
35
|
databaseName = 'simplified_apex';
|
|
36
36
|
engine = 'ReplacingMergeTree(updated_at)';
|
|
37
|
-
orderBy = 'agency_id, created_at, _id';
|
|
37
|
+
orderBy = 'agency_id, operational_date, created_at, _id';
|
|
38
38
|
partitionBy = 'intDiv(operational_date, 100)';
|
|
39
39
|
schema = tableSchema;
|
|
40
40
|
tableName = 'banking_taps';
|
|
@@ -5,7 +5,7 @@ declare class SimplifiedApexInspectionDecisionsNewClass extends ClickHouseInterf
|
|
|
5
5
|
private static _instance;
|
|
6
6
|
protected readonly databaseName = "simplified_apex";
|
|
7
7
|
protected readonly engine: ClickHouseTableEngine<SimplifiedApexInspectionDecision>;
|
|
8
|
-
protected readonly orderBy = "agency_id, created_at, _id";
|
|
8
|
+
protected readonly orderBy = "agency_id, operational_date, created_at, _id";
|
|
9
9
|
protected readonly partitionBy = "intDiv(operational_date, 100)";
|
|
10
10
|
protected readonly schema: ClickHouseTableSchema<{
|
|
11
11
|
is_ok: boolean;
|
|
@@ -25,7 +25,7 @@ class SimplifiedApexInspectionDecisionsNewClass extends ClickHouseInterfaceTempl
|
|
|
25
25
|
static _instance = null;
|
|
26
26
|
databaseName = 'simplified_apex';
|
|
27
27
|
engine = 'ReplacingMergeTree(updated_at)';
|
|
28
|
-
orderBy = 'agency_id, created_at, _id';
|
|
28
|
+
orderBy = 'agency_id, operational_date, created_at, _id';
|
|
29
29
|
partitionBy = 'intDiv(operational_date, 100)';
|
|
30
30
|
schema = tableSchema;
|
|
31
31
|
tableName = 'inspection_decisions';
|
|
@@ -5,7 +5,7 @@ declare class SimplifiedApexInspectionsNewClass extends ClickHouseInterfaceTempl
|
|
|
5
5
|
private static _instance;
|
|
6
6
|
protected readonly databaseName = "simplified_apex";
|
|
7
7
|
protected readonly engine: ClickHouseTableEngine<SimplifiedApexInspection>;
|
|
8
|
-
protected readonly orderBy = "agency_id, created_at, _id";
|
|
8
|
+
protected readonly orderBy = "agency_id, operational_date, created_at, _id";
|
|
9
9
|
protected readonly partitionBy = "intDiv(operational_date, 100)";
|
|
10
10
|
protected readonly schema: ClickHouseTableSchema<{
|
|
11
11
|
is_ok: boolean;
|
|
@@ -34,7 +34,7 @@ class SimplifiedApexInspectionsNewClass extends ClickHouseInterfaceTemplate {
|
|
|
34
34
|
static _instance = null;
|
|
35
35
|
databaseName = 'simplified_apex';
|
|
36
36
|
engine = 'ReplacingMergeTree(updated_at)';
|
|
37
|
-
orderBy = 'agency_id, created_at, _id';
|
|
37
|
+
orderBy = 'agency_id, operational_date, created_at, _id';
|
|
38
38
|
partitionBy = 'intDiv(operational_date, 100)';
|
|
39
39
|
schema = tableSchema;
|
|
40
40
|
tableName = 'inspections';
|
|
@@ -5,7 +5,7 @@ declare class SimplifiedApexLocationsNewClass extends ClickHouseInterfaceTemplat
|
|
|
5
5
|
private static _instance;
|
|
6
6
|
protected readonly databaseName = "simplified_apex";
|
|
7
7
|
protected readonly engine: ClickHouseTableEngine<SimplifiedApexLocation>;
|
|
8
|
-
protected readonly orderBy = "agency_id, created_at, _id";
|
|
8
|
+
protected readonly orderBy = "agency_id, operational_date, created_at, _id";
|
|
9
9
|
protected readonly partitionBy = "intDiv(operational_date, 100)";
|
|
10
10
|
protected readonly schema: ClickHouseTableSchema<{
|
|
11
11
|
is_ok: boolean;
|
|
@@ -28,7 +28,7 @@ class SimplifiedApexLocationsNewClass extends ClickHouseInterfaceTemplate {
|
|
|
28
28
|
static _instance = null;
|
|
29
29
|
databaseName = 'simplified_apex';
|
|
30
30
|
engine = 'ReplacingMergeTree(updated_at)';
|
|
31
|
-
orderBy = 'agency_id, created_at, _id';
|
|
31
|
+
orderBy = 'agency_id, operational_date, created_at, _id';
|
|
32
32
|
partitionBy = 'intDiv(operational_date, 100)';
|
|
33
33
|
schema = tableSchema;
|
|
34
34
|
tableName = 'locations';
|
|
@@ -5,7 +5,7 @@ declare class SimplifiedApexOnBoardRefundsNewClass extends ClickHouseInterfaceTe
|
|
|
5
5
|
private static _instance;
|
|
6
6
|
protected readonly databaseName = "simplified_apex";
|
|
7
7
|
protected readonly engine: ClickHouseTableEngine<SimplifiedApexOnBoardRefund>;
|
|
8
|
-
protected readonly orderBy = "agency_id, created_at, _id";
|
|
8
|
+
protected readonly orderBy = "agency_id, operational_date, created_at, _id";
|
|
9
9
|
protected readonly partitionBy = "intDiv(operational_date, 100)";
|
|
10
10
|
protected readonly schema: ClickHouseTableSchema<{
|
|
11
11
|
is_ok: boolean;
|
|
@@ -36,7 +36,7 @@ class SimplifiedApexOnBoardRefundsNewClass extends ClickHouseInterfaceTemplate {
|
|
|
36
36
|
static _instance = null;
|
|
37
37
|
databaseName = 'simplified_apex';
|
|
38
38
|
engine = 'ReplacingMergeTree(updated_at)';
|
|
39
|
-
orderBy = 'agency_id, created_at, _id';
|
|
39
|
+
orderBy = 'agency_id, operational_date, created_at, _id';
|
|
40
40
|
partitionBy = 'intDiv(operational_date, 100)';
|
|
41
41
|
schema = tableSchema;
|
|
42
42
|
tableName = 'refunds';
|
|
@@ -5,7 +5,7 @@ declare class SimplifiedApexOnBoardSalesNewClass extends ClickHouseInterfaceTemp
|
|
|
5
5
|
private static _instance;
|
|
6
6
|
protected readonly databaseName = "simplified_apex";
|
|
7
7
|
protected readonly engine: ClickHouseTableEngine<SimplifiedApexOnBoardSale>;
|
|
8
|
-
protected readonly orderBy = "agency_id, created_at, _id";
|
|
8
|
+
protected readonly orderBy = "agency_id, operational_date, created_at, _id";
|
|
9
9
|
protected readonly partitionBy = "intDiv(operational_date, 100)";
|
|
10
10
|
protected readonly schema: ClickHouseTableSchema<{
|
|
11
11
|
is_ok: boolean;
|
|
@@ -37,7 +37,7 @@ class SimplifiedApexOnBoardSalesNewClass extends ClickHouseInterfaceTemplate {
|
|
|
37
37
|
static _instance = null;
|
|
38
38
|
databaseName = 'simplified_apex';
|
|
39
39
|
engine = 'ReplacingMergeTree(updated_at)';
|
|
40
|
-
orderBy = 'agency_id, created_at, _id';
|
|
40
|
+
orderBy = 'agency_id, operational_date, created_at, _id';
|
|
41
41
|
partitionBy = 'intDiv(operational_date, 100)';
|
|
42
42
|
schema = tableSchema;
|
|
43
43
|
tableName = 'sales';
|
|
@@ -5,7 +5,7 @@ declare class SimplifiedApexValidationsNewClass extends ClickHouseInterfaceTempl
|
|
|
5
5
|
private static _instance;
|
|
6
6
|
protected readonly databaseName = "simplified_apex";
|
|
7
7
|
protected readonly engine: ClickHouseTableEngine<SimplifiedApexValidation>;
|
|
8
|
-
protected readonly orderBy = "agency_id, created_at, _id";
|
|
8
|
+
protected readonly orderBy = "agency_id, operational_date, created_at, _id";
|
|
9
9
|
protected readonly partitionBy = "intDiv(operational_date, 100)";
|
|
10
10
|
protected readonly schema: ClickHouseTableSchema<{
|
|
11
11
|
is_passenger: boolean;
|
|
@@ -37,7 +37,7 @@ class SimplifiedApexValidationsNewClass extends ClickHouseInterfaceTemplate {
|
|
|
37
37
|
static _instance = null;
|
|
38
38
|
databaseName = 'simplified_apex';
|
|
39
39
|
engine = 'ReplacingMergeTree(updated_at)';
|
|
40
|
-
orderBy = 'agency_id, created_at, _id';
|
|
40
|
+
orderBy = 'agency_id, operational_date, created_at, _id';
|
|
41
41
|
partitionBy = 'intDiv(operational_date, 100)';
|
|
42
42
|
schema = tableSchema;
|
|
43
43
|
tableName = 'validations';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ApiCacheKeyValues: readonly ["hub:v1:navegante:app-enabled", "hub:v1:alerts:published:json", "hub:v1:alerts:published:json:cm", "hub:v1:alerts:published:gtfs", "hub:v1:alerts:published:gtfs:cm", "hub:v1:alerts:published:rss", "hub:v1:alerts:published:rss:cm", "hub:v1:plans:approved:json", "hub:v1:realtime:vehicles:metadata:json", "hub:v1:realtime:vehicles:positions:json", "hub:v1:realtime:vehicles:positions:gtfs", "hub:v1:realtime:eta:json", "hub:v1:realtime:eta:gtfs", "hub:v1:network:dates", "hub:v1:network:periods", "hub:v1:network:stops", "hub:v1:network:legacy-stops-map", "hub:v1:network:lines", "hub:v1:network:routes", "hub:v1:network:plans", "hub:v1:network:vehicles:protobuf", `hub:v1:network:patterns:${string}`, `hub:v1:network:shapes:${string}`];
|
|
1
|
+
export declare const ApiCacheKeyValues: readonly ["hub:v1:navegante:app-enabled", "hub:v1:alerts:published:json", "hub:v1:alerts:published:json:cm", "hub:v1:alerts:published:gtfs", "hub:v1:alerts:published:gtfs:cm", "hub:v1:alerts:published:rss", "hub:v1:alerts:published:rss:cm", "hub:v1:plans:approved:json", "hub:v1:realtime:vehicles:metadata:json", "hub:v1:realtime:vehicles:positions:json", "hub:v1:realtime:vehicles:positions:gtfs", "hub:v1:realtime:eta:json", "hub:v1:realtime:eta:gtfs", "hub:v1:network:dates", "hub:v1:network:periods", "hub:v1:network:stops", "hub:v1:network:legacy-stops-map", "hub:v1:network:lines", "hub:v1:network:routes", "hub:v1:network:plans", "hub:v1:metrics:demand:by-agency:by-operational-date:json", "hub:v1:network:vehicles:protobuf", `hub:v1:network:patterns:${string}`, `hub:v1:network:shapes:${string}`];
|
|
2
2
|
export type ApiCacheKey = typeof ApiCacheKeyValues[number];
|
|
@@ -21,6 +21,7 @@ export const ApiCacheKeyValues = [
|
|
|
21
21
|
'hub:v1:network:lines',
|
|
22
22
|
'hub:v1:network:routes',
|
|
23
23
|
'hub:v1:network:plans',
|
|
24
|
+
'hub:v1:metrics:demand:by-agency:by-operational-date:json',
|
|
24
25
|
'hub:v1:network:vehicles:protobuf',
|
|
25
26
|
`hub:v1:network:patterns:${dynamicKey()}`,
|
|
26
27
|
`hub:v1:network:shapes:${dynamicKey()}`,
|