Skip to content

Commit

Permalink
dependency updates + misc typings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benkeen committed Apr 29, 2022
1 parent 309efbe commit 7d3e9b7
Show file tree
Hide file tree
Showing 6 changed files with 1,661 additions and 1,581 deletions.
12 changes: 6 additions & 6 deletions client/_pluginWebWorkers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default {
"coreWorker": "",
"coreDataTypeWorker": "dataTypes.worker-66b442524f84509e3a98b84cffeafdb8.js",
"coreExportTypeWorker": "exportTypes.worker-9b546d7c7909e02146fafee124180d37.js",
"workerUtils": "workerUtils-95d23a18b0b0b50d72d6ba0e501b3f14.js",
"workerUtils": "workerUtils-267bd9274649c80e3c0bda05cc761708.js",
"dataTypes": {
"Alphanumeric": "DT-Alphanumeric.generator-0185a235eabc5b0a7ba6afdbb2af8676.js",
"AutoIncrement": "DT-AutoIncrement.generator-eccb050ece38a91e2a849d125e417298.js",
Expand All @@ -16,11 +16,11 @@ export default {
"Constant": "DT-Constant.generator-ca9cf12d5f32cc92c9158072a5231bd9.js",
"Country": "DT-Country.generator-a76bcf6ce202d7ed3902c67b26a566f6.js",
"Currency": "DT-Currency.generator-a5a862ac03206548ee1458fcf6a958a2.js",
"Date": "DT-Date.generator-f6604b2cd22cdcc0b4339b3a55cdc719.js",
"Date": "DT-Date.generator-9f5028f78c4b61d980fcb3e05b501fcb.js",
"Email": "DT-Email.generator-51b7a552887bb25b88f15633805b48f1.js",
"GUID": "DT-GUID.generator-54966dabad4987a193e4cf4a467d4d93.js",
"IBAN": "DT-IBAN.generator-b92eaa02e83c98a15767dfd6866d8bd1.js",
"LatLng": "DT-LatLng.generator-e54a6ba6fdf1679297e01d8729131379.js",
"LatLng": "DT-LatLng.generator-01b6ddd5d4d551c65ba4eee81d60e703.js",
"List": "DT-List.generator-e37ce48cda8b003ddba3ef1cafe34346.js",
"Names": "DT-Names.generator-1196b22273319c62350d579ca42b926f.js",
"NormalDistribution": "DT-NormalDistribution.generator-adbc977198013088e21d0c3ad5a62e7e.js",
Expand All @@ -30,14 +30,14 @@ export default {
"PIN": "DT-PIN.generator-4148c7f0f2190e7ee7e83a06e0143247.js",
"PersonalNumber": "DT-PersonalNumber.generator-68b329da9893e34099c7d8ad5cb9c940.js",
"Phone": "DT-Phone.generator-ca7bb8282784726ece5e8ced1ccfd964.js",
"PostalZip": "DT-PostalZip.generator-cb358d5ab424dd19fde4b694e4e591c4.js",
"Region": "DT-Region.generator-13c509fcd5339090bdfb938671eb7fba.js",
"PostalZip": "DT-PostalZip.generator-8f4b66730aebbcc088fd8eafe9297a5a.js",
"Region": "DT-Region.generator-fe400cc310312bd150d46dbae7c8d1af.js",
"Rut": "DT-Rut.generator-9b365251acec194f57b64031c112bfbc.js",
"SIRET": "DT-SIRET.generator-853bfefc8d3f8a2a9d055de5f7c6a1f7.js",
"StreetAddress": "DT-StreetAddress.generator-562c2395fbd1e5308000516909d2a3b6.js",
"TextFixed": "DT-TextFixed.generator-dbdafbc3a1a8e232f2d1ae874ec8fca3.js",
"TextRandom": "DT-TextRandom.generator-8438585e9d15fcb44940588d3fb7ecde.js",
"Time": "DT-Time.generator-629cb5166754c653025699463e18f511.js",
"Time": "DT-Time.generator-ff1595b785284c3f7b90e6fa8689b30a.js",
"Track1": "DT-Track1.generator-b7067c479e2399d9bb686057045e21e7.js",
"Track2": "DT-Track2.generator-d6f9fd9a693fdcb128fab9bbc7ddacdf.js",
"URLs": "DT-URLs.generator-b20bf78f3c4fec66a953652a53e6628f.js"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const createOption = (label: string): DropdownOption => ({
value: label,
});

const SortableCreatableSelect = SortableContainer(CreatableSelect);
const SortableCreatableSelect: any = SortableContainer(CreatableSelect);


export type CreatablePillFieldProps = {
Expand Down Expand Up @@ -124,12 +124,12 @@ const CreatablePillField = ({ onChange, onValidateNewItem, value, error, placeho
inputValue={tempValue}
axis="xy"
distance={4}
getHelperDimensions={({ node }): any => node.getBoundingClientRect()}
getHelperDimensions={({ node }: any): any => node.getBoundingClientRect()}
isClearable
isMulti
onSortEnd={onSortEnd}
menuIsOpen={false}
onChange={(options): void => {
onChange={(options: any): void => {
const newValues = options ? options.map(({ value }: DropdownOption) => value) : [];
onChange(newValues);
}}
Expand Down
2 changes: 2 additions & 0 deletions client/src/core/generator/Generator.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ const Builder = ({
}

if (isGridVisible && isPreviewVisible) {

return (
/* @ts-ignore-line */
<SplitPane
className="gdGridPanel"
split={generatorLayout}
Expand Down
2 changes: 1 addition & 1 deletion client/src/plugins/exportTypes/SQL/SQL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const initialState: SQLSettings = {
quotes: 'single'
};

export const Settings: React.ReactNode = ({ coreI18n, i18n, onUpdate, id, data }: ETSettings) => {
export const Settings = ({ coreI18n, i18n, onUpdate, id, data }: ETSettings): any => {
const onChange = (field: string, value: any): void => {
onUpdate({
...data,
Expand Down
2 changes: 1 addition & 1 deletion client/src/utils/authUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const hasVendorLogin = (): boolean => {
};

export const getVendorLoginButtons = (): React.ReactNode[] => {
const buttons = [];
const buttons: any[] = [];

if (env.googleAuthClientId) {
buttons.push(SignInWithGoogleButton);
Expand Down
Loading

0 comments on commit 7d3e9b7

Please sign in to comment.