Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit ab9b89f

Browse files
authored
Merge branch 'master' into tracking-schema-updates
2 parents f2ace53 + 7f5fca9 commit ab9b89f

File tree

71 files changed

+3881
-3771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+3881
-3771
lines changed

api/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,8 @@
7777
"ssl-validator": "^1.0.7",
7878
"stripe": "^8.207.0",
7979
"twing": "^5.1.0"
80+
},
81+
"resolutions": {
82+
"merge": "^2.1.1"
8083
}
8184
}

api/src/backends/databases/MongoDb.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export default class MongoDb extends BaseDatabase {
274274
getErrorFile(),
275275
getErrorMessage(),
276276
].reduce((a, c) => {
277-
return c === undefined ? a : Object.assign(a, c);
277+
return c === undefined ? a : Object.assign(a as Record<string, any>, c);
278278
}, {} as { [k: string]: any }) as { [p: string]: any };
279279
}
280280

@@ -1030,7 +1030,7 @@ export default class MongoDb extends BaseDatabase {
10301030
);
10311031

10321032
return [getRange(), getRevisionFilter(), getEnvironmentFilter()].reduce((a, c) => {
1033-
return c === undefined ? a : Object.assign(a, c);
1033+
return c === undefined ? a : Object.assign(a as Record<string, any>, c);
10341034
}, {} as { [k: string]: any }) as { [p: string]: any };
10351035
}
10361036

api/yarn.lock

Lines changed: 1576 additions & 1504 deletions
Large diffs are not rendered by default.

edge/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<dependency>
112112
<groupId>com.google.code.gson</groupId>
113113
<artifactId>gson</artifactId>
114-
<version>2.8.7</version>
114+
<version>2.9.0</version>
115115
</dependency>
116116
<dependency>
117117
<groupId>com.maxmind.db</groupId>
@@ -138,11 +138,6 @@
138138
<artifactId>mongodb-driver-sync</artifactId>
139139
<version>4.1.2</version>
140140
</dependency>
141-
<dependency>
142-
<groupId>org.postgresql</groupId>
143-
<artifactId>postgresql</artifactId>
144-
<version>42.2.23</version>
145-
</dependency>
146141
<dependency>
147142
<groupId>software.amazon.awssdk</groupId>
148143
<artifactId>s3</artifactId>

ui/package.json

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"apollo:generate": "apollo codegen:generate --target typescript --endpoint http://localhost:8082/graphql --outputFlat src/gql/generated --passthroughCustomScalars --customScalarsPrefix S8"
2222
},
2323
"dependencies": {
24-
"@apollo/client": "^3.4.17",
24+
"@apollo/client": "^3.6.6",
2525
"@babel/core": "^7.16.0",
2626
"@emotion/react": "^11.4.1",
2727
"@emotion/server": "^11.4.0",
2828
"@emotion/styled": "^11.3.0",
29-
"@hcaptcha/react-hcaptcha": "^0.3.7",
29+
"@hcaptcha/react-hcaptcha": "^0.3.10",
3030
"@mui/icons-material": "^5.0.4",
3131
"@mui/lab": "^5.0.0-alpha.51",
3232
"@mui/material": "^5.0.4",
@@ -39,9 +39,9 @@
3939
"@types/js-beautify": "^1.13.3",
4040
"@types/node": "^16.7.10",
4141
"@types/qrcode.react": "^1.0.2",
42-
"@types/react": "^17.0.34",
42+
"@types/react": "^17.0.45",
4343
"@types/react-color": "^3.0.5",
44-
"@types/react-dom": "^17.0.9",
44+
"@types/react-dom": "^17.0.17",
4545
"@types/react-sparklines": "^1.7.1",
4646
"@types/rimraf": "^3.0.2",
4747
"@typescript-eslint/eslint-plugin": "^5.3.1",
@@ -75,15 +75,22 @@
7575
"react-chartjs-2": "3.3.0",
7676
"react-color": "^2.19.3",
7777
"react-dom": "17.0.2",
78-
"react-json-tree": "^0.15.0",
78+
"react-json-tree": "^0.17.0",
7979
"react-sparklines": "^1.7.0",
8080
"rimraf": "^3.0.2",
81-
"shiki": "^0.9.11",
81+
"shiki": "^0.10.1",
8282
"ts-node": "^10.4.0",
83-
"typescript": "^4.4.4",
83+
"typescript": "^4.7.2",
8484
"wasm-dce": "^1.0.2",
8585
"wasm-loader": "^1.3.0",
8686
"webpack": "^5.51.2",
8787
"webpack-bundle-analyzer": "^4.5.0"
88+
},
89+
"resolutions": {
90+
"lodash": "4.17.21",
91+
"git-parse": "^2.1.1",
92+
"@types/react": "17.0.45",
93+
"@types/react-dom": "^17.0.17",
94+
"shelljs": "^0.8.5"
8895
}
8996
}

ui/src/abstractions/QueryLoaderAndError.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { useRefresh } from '../hooks/useRefresh';
88

99
const QueryLoaderAndError = <T,>(
1010
isPage: boolean,
11-
queryResult: QueryResult<T>,
11+
queryResult: QueryResult<T, any>,
1212
afterLoad: (
1313
data: T,
1414
valuesRefresh: (mustResetCache: boolean) => void,

ui/src/abstractions/TablePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { AlertRevisionFinal } from '../components/atoms/AlertRevisionFinal';
2121
export type TablePageProps<Row extends RowData, TableData> = {
2222
title: string;
2323
mainInfoProps?: InfoProps;
24-
mainQuery: QueryResult<TableData>;
24+
mainQuery: QueryResult<TableData, any>;
2525
tableId: string;
2626
entityName: string;
2727
columns: Column<Row>[];

ui/src/components/atoms/CopyBlock.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { FC, MouseEvent, SyntheticEvent, useState } from 'react';
2-
import { Box, Paper, Snackbar } from '@mui/material';
3-
import { Alert } from '@mui/material';
1+
import { FC, useState } from 'react';
2+
import { Alert, Box, Paper, Snackbar } from '@mui/material';
43
import { CopyBlockProps } from '../../types/props/CopyBlockProps';
54
import LazyShiki from './LibraryLoaders/LazyShiki';
5+
import { SnackbarProps } from '@mui/material/Snackbar/Snackbar';
66

77
const CopyBlock: FC<CopyBlockProps> = (props: CopyBlockProps) => {
88
const [open, setOpen] = useState(false);
@@ -19,7 +19,7 @@ const CopyBlock: FC<CopyBlockProps> = (props: CopyBlockProps) => {
1919
})();
2020
};
2121

22-
const handleClose = (event: SyntheticEvent | MouseEvent, reason?: string) => {
22+
const handleClose: SnackbarProps['onClose'] = (event, reason) => {
2323
if (reason === 'clickaway') {
2424
return;
2525
}

ui/src/components/atoms/DialogFormInputs/DialogInfoAlert.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { FC } from 'react';
21
import { Alert } from '@mui/material';
2+
import { ChildrenOnlyProps } from '../../../types/props/ChildrenOnlyProps';
3+
import { FC } from 'react';
34

4-
export const DialogInfoAlert: FC = ({ children }) => {
5+
export const DialogInfoAlert: FC<ChildrenOnlyProps> = ({ children }) => {
56
return (
67
<Alert severity="info" className="DialogFormField">
78
{children}

ui/src/components/atoms/GqlError.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { logError } from '../../utils/logUtils';
99

1010
type GqlErrorProps = {
1111
error: ApolloError;
12-
onClose?: (event: SyntheticEvent | MouseEvent, reason?: string) => void;
12+
onClose?: (event: SyntheticEvent | MouseEvent) => void;
1313
};
1414

1515
const GqlError: FC<GqlErrorProps> = (props: GqlErrorProps) => {

0 commit comments

Comments
 (0)