Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion licenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6537,6 +6537,16 @@ license_file_path: licenses/bin/upper-case.MIT

---

name: "use-sync-external-store"
license_category: binary
module: web-console
license_name: MIT License
copyright: Facebook, Inc. and its affiliates.
version: 1.2.0
license_file_path: licenses/bin/use-sync-external-store.MIT

---

name: "value-equal"
license_category: binary
module: web-console
Expand Down Expand Up @@ -6572,6 +6582,6 @@ license_category: binary
module: web-console
license_name: MIT License
copyright: Paul Henschel
version: 3.7.2
version: 4.3.2
license_file_path: licenses/bin/zustand.MIT
# Web console modules end
21 changes: 21 additions & 0 deletions licenses/bin/use-sync-external-store.MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Facebook, Inc. and its affiliates.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions web-console/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
},
},
rules: {
'@typescript-eslint/consistent-type-imports': ['warn', { prefer: 'type-imports' }],
'header/header': [
2,
'block',
Expand Down
4 changes: 2 additions & 2 deletions web-console/e2e-tests/auto-compaction.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
*/

import path from 'path';
import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { CompactionConfig } from './component/datasources/compaction';
import { Datasource } from './component/datasources/datasource';
import type { Datasource } from './component/datasources/datasource';
import { DatasourcesOverview } from './component/datasources/overview';
import { HashedPartitionsSpec } from './component/load-data/config/partition';
import { saveScreenshotIfError } from './util/debug';
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/cancel-query.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { QueryOverview } from './component/query/overview';
import { saveScreenshotIfError } from './util/debug';
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/component/datasources/compaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import { PartitionsSpec } from '../load-data/config/partition';
import type { PartitionsSpec } from '../load-data/config/partition';

/**
* Datasource compaction configuration
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/component/datasources/overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { clickButton, getLabeledInput, setLabeledInput } from '../../util/playwright';
import { extractTable } from '../../util/table';
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/component/ingestion/overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { extractTable } from '../../util/table';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/* eslint-disable max-classes-per-file */

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import {
getLabeledInput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { clickButton } from '../../../util/playwright';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { setLabeledInput } from '../../../util/playwright';

import { clickApplyButton, DataConnector } from './data-connector';
import type { DataConnector } from './data-connector';
import { clickApplyButton } from './data-connector';

/**
* Local file connector for data loader input data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { setLabeledInput } from '../../../util/playwright';

import { clickApplyButton, DataConnector } from './data-connector';
import type { DataConnector } from './data-connector';
import { clickApplyButton } from './data-connector';

/**
* Reindexing connector for data loader input data.
Expand Down
12 changes: 6 additions & 6 deletions web-console/e2e-tests/component/load-data/data-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { clickButton, setLabeledInput, setLabeledTextarea } from '../../util/playwright';

import { ConfigureSchemaConfig } from './config/configure-schema';
import { ConfigureTimestampConfig } from './config/configure-timestamp';
import { PartitionConfig } from './config/partition';
import { PublishConfig } from './config/publish';
import { DataConnector } from './data-connector/data-connector';
import type { ConfigureSchemaConfig } from './config/configure-schema';
import type { ConfigureTimestampConfig } from './config/configure-timestamp';
import type { PartitionConfig } from './config/partition';
import type { PublishConfig } from './config/publish';
import type { DataConnector } from './data-connector/data-connector';

/**
* Represents load data tab.
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/component/query/overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { clickButton, clickText } from '../../util/playwright';
import { extractTable } from '../../util/table';
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/component/workbench/overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { clickButton } from '../../util/playwright';
import { extractTable } from '../../util/table';
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/multi-stage-query.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { WorkbenchOverview } from './component/workbench/overview';
import { saveScreenshotIfError } from './util/debug';
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/reindexing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import path from 'path';
import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { DatasourcesOverview } from './component/datasources/overview';
import { IngestionOverview } from './component/ingestion/overview';
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/tutorial-batch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import { T } from 'druid-query-toolkit';
import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

import { DatasourcesOverview } from './component/datasources/overview';
import { IngestionOverview } from './component/ingestion/overview';
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/util/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

export async function saveScreenshotIfError(
filenamePrefix: string,
Expand Down
2 changes: 1 addition & 1 deletion web-console/e2e-tests/util/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import * as playwright from 'playwright-chromium';
import type * as playwright from 'playwright-chromium';

/**
* Extracts an HTML table into a text representation.
Expand Down
1 change: 0 additions & 1 deletion web-console/jest.unit.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module.exports = Object.assign(common, {
moduleNameMapper: {
'\\.s?css$': 'identity-obj-proxy',
},
snapshotSerializers: ['enzyme-to-json/serializer'],
setupFilesAfterEnv: ['<rootDir>src/setup-tests.ts'],
testMatch: ['**/src/**/?(*.)+(spec).(ts|tsx)'],
});
Loading