Skip to content

Commit 6418195

Browse files
authored
Chore: Updated packages (#978)
1 parent 68856f7 commit 6418195

8 files changed

Lines changed: 760 additions & 991 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
ide-build:
4444
docker:
45-
- image: cimg/node:19.8
45+
- image: cimg/node:18
4646
resource_class: medium
4747
steps:
4848
- checkout

.circleci/continue_config.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090

9191
ui_test:
9292
docker:
93-
- image: node:18
93+
- image: mcr.microsoft.com/playwright:v1.35.0-jammy
9494
resource_class: medium
9595
steps:
9696
- checkout
@@ -100,9 +100,6 @@ jobs:
100100
- run:
101101
name: Install packages
102102
command: npm --prefix web/client ci
103-
- run:
104-
name: Install Playwright Browsers
105-
command: npm --prefix web/client run playwright:install
106103
- save_cache:
107104
key: v1-nm-cache-{{ checksum "web/client/package-lock.json" }}
108105
paths:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ repos:
6060
"@typescript-eslint/parser",
6161
eslint@8.40.0,
6262
eslint-config-prettier@8.8.0,
63-
eslint-config-standard-with-typescript@34.0.1,
63+
eslint-config-standard-with-typescript@35.0.0,
6464
eslint-plugin-import@2.27.4,
65-
eslint-plugin-n@15.7.0,
65+
eslint-plugin-n@16.0.0,
6666
eslint-plugin-promise@6.1.1,
6767
eslint-plugin-react@7.32.2,
6868
]

Dockerfile.app

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM node:16
2-
FROM mcr.microsoft.com/playwright:focal
1+
FROM mcr.microsoft.com/playwright:v1.35.0-jammy
32

43
WORKDIR /app
54

web/client/openapi.json

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,69 @@
544544
}
545545
}
546546
},
547+
"/api/table_diff": {
548+
"get": {
549+
"summary": "Get Table Diff",
550+
"description": "Calculate differences between tables, taking into account schema and row level differences.",
551+
"operationId": "get_table_diff_api_table_diff_get",
552+
"parameters": [
553+
{
554+
"required": true,
555+
"schema": { "title": "Source", "type": "string" },
556+
"name": "source",
557+
"in": "query"
558+
},
559+
{
560+
"required": true,
561+
"schema": { "title": "Target", "type": "string" },
562+
"name": "target",
563+
"in": "query"
564+
},
565+
{
566+
"required": false,
567+
"schema": { "title": "On", "type": "string" },
568+
"name": "on",
569+
"in": "query"
570+
},
571+
{
572+
"required": false,
573+
"schema": { "title": "Model Or Snapshot", "type": "string" },
574+
"name": "model_or_snapshot",
575+
"in": "query"
576+
},
577+
{
578+
"required": false,
579+
"schema": { "title": "Where", "type": "string" },
580+
"name": "where",
581+
"in": "query"
582+
},
583+
{
584+
"required": false,
585+
"schema": { "title": "Limit", "type": "integer", "default": 20 },
586+
"name": "limit",
587+
"in": "query"
588+
}
589+
],
590+
"responses": {
591+
"200": {
592+
"description": "Successful Response",
593+
"content": {
594+
"application/json": {
595+
"schema": { "$ref": "#/components/schemas/TableDiff" }
596+
}
597+
}
598+
},
599+
"422": {
600+
"description": "Validation Error",
601+
"content": {
602+
"application/json": {
603+
"schema": { "$ref": "#/components/schemas/HTTPValidationError" }
604+
}
605+
}
606+
}
607+
}
608+
}
609+
},
547610
"/health": {
548611
"get": {
549612
"summary": "Health",
@@ -1047,6 +1110,7 @@
10471110
"storage_format": { "title": "Storage Format", "type": "string" },
10481111
"time_column": { "title": "Time Column", "type": "string" },
10491112
"tags": { "title": "Tags", "type": "string" },
1113+
"grain": { "title": "Grain", "type": "string" },
10501114
"partitioned_by": { "title": "Partitioned By", "type": "string" },
10511115
"lookback": { "title": "Lookback", "type": "integer" },
10521116
"cron_prev": {
@@ -1225,6 +1289,74 @@
12251289
"dialect": { "title": "Dialect", "type": "string" }
12261290
}
12271291
},
1292+
"RowDiff": {
1293+
"title": "RowDiff",
1294+
"required": [
1295+
"source",
1296+
"target",
1297+
"stats",
1298+
"sample",
1299+
"source_count",
1300+
"target_count",
1301+
"count_pct_change"
1302+
],
1303+
"type": "object",
1304+
"properties": {
1305+
"source": { "title": "Source", "type": "string" },
1306+
"target": { "title": "Target", "type": "string" },
1307+
"stats": {
1308+
"title": "Stats",
1309+
"type": "object",
1310+
"additionalProperties": { "type": "number" }
1311+
},
1312+
"sample": { "title": "Sample", "type": "object" },
1313+
"source_count": { "title": "Source Count", "type": "integer" },
1314+
"target_count": { "title": "Target Count", "type": "integer" },
1315+
"count_pct_change": { "title": "Count Pct Change", "type": "number" }
1316+
}
1317+
},
1318+
"SchemaDiff": {
1319+
"title": "SchemaDiff",
1320+
"required": [
1321+
"source",
1322+
"target",
1323+
"source_schema",
1324+
"target_schema",
1325+
"added",
1326+
"removed",
1327+
"modified"
1328+
],
1329+
"type": "object",
1330+
"properties": {
1331+
"source": { "title": "Source", "type": "string" },
1332+
"target": { "title": "Target", "type": "string" },
1333+
"source_schema": {
1334+
"title": "Source Schema",
1335+
"type": "object",
1336+
"additionalProperties": { "type": "string" }
1337+
},
1338+
"target_schema": {
1339+
"title": "Target Schema",
1340+
"type": "object",
1341+
"additionalProperties": { "type": "string" }
1342+
},
1343+
"added": {
1344+
"title": "Added",
1345+
"type": "object",
1346+
"additionalProperties": { "type": "string" }
1347+
},
1348+
"removed": {
1349+
"title": "Removed",
1350+
"type": "object",
1351+
"additionalProperties": { "type": "string" }
1352+
},
1353+
"modified": {
1354+
"title": "Modified",
1355+
"type": "object",
1356+
"additionalProperties": { "type": "string" }
1357+
}
1358+
}
1359+
},
12281360
"SnapshotChangeCategory": {
12291361
"title": "SnapshotChangeCategory",
12301362
"enum": [1, 2, 3, 4, 5],
@@ -1311,6 +1443,15 @@
13111443
},
13121444
"additionalProperties": false
13131445
},
1446+
"TableDiff": {
1447+
"title": "TableDiff",
1448+
"required": ["schema_diff", "row_diff"],
1449+
"type": "object",
1450+
"properties": {
1451+
"schema_diff": { "$ref": "#/components/schemas/SchemaDiff" },
1452+
"row_diff": { "$ref": "#/components/schemas/RowDiff" }
1453+
}
1454+
},
13141455
"ValidationError": {
13151456
"title": "ValidationError",
13161457
"required": ["loc", "msg", "type"],

0 commit comments

Comments
 (0)