Skip to content

Commit df69acc

Browse files
committed
[frontend] Fix missing executor constructor in the SQL Scratchpad example project
1 parent b25aa13 commit df69acc

File tree

2 files changed

+8
-9
lines changed
  • desktop/core/src/desktop/js/apps/editor/execution
  • tools/examples/components/sql-scratchpad

2 files changed

+8
-9
lines changed

desktop/core/src/desktop/js/apps/editor/execution/executor.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface ExecutorRaw {
2424
executables: ExecutableRaw[];
2525
}
2626

27-
declare class Executor {
27+
export default class Executor {
2828
connector: KnockoutObservable<Connector>;
2929
compute: KnockoutObservable<Compute>;
3030
namespace: KnockoutObservable<Namespace>;

tools/examples/components/sql-scratchpad/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ We wrap the web components to be able to set certain attributes/properties on th
1313

1414
## To run this project
1515

16-
### In the Hue root folder:
17-
1. `npm install`
18-
2. `npm run webpack-npm`
19-
20-
### In this project folder:
21-
3. `npm install`
22-
4. `npm start`
23-
5. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
16+
1. Go to the Hue root folder `cd ../../../../`
17+
2. `npm install`
18+
3. `npm run webpack-npm`
19+
4. Go to the example project `cd tools/examples/components/sql-scratchpad`
20+
5. `npm install`
21+
6. `npm start`
22+
7. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
2423

2524
## Base project creation steps (for reference)
2625

0 commit comments

Comments
 (0)