Skip to content

Commit

Permalink
Expose backend API to IDE (#10442)
Browse files Browse the repository at this point in the history
Move `Backend` and supporting APIs from `dashboard` to `enso-common`.

Closes #10400.

# Important Notes
- The utility modules required by `Backend` have been moved to `enso-common`. Those defining general-purpose helpers for working with standard types are now in a submodule `utilities/data` to match the IDE organization; in the future we can merge them with the `util/data` gui2 subtree. Moved utilities are reexported from their dashboard locations, so that moved and not-yet-moved modules can be imported consistently.
- The `text` module has been moved to `enso-common`; the IDE doesn't have any localization mechanism yet, so we can share this one.
  • Loading branch information
kazcw authored Jul 10, 2024
1 parent 60c1a0e commit 32e843c
Show file tree
Hide file tree
Showing 33 changed files with 2,110 additions and 2,094 deletions.
9 changes: 8 additions & 1 deletion app/ide-desktop/lib/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@
"./src/detect": "./src/detect.ts",
"./src/gtag": "./src/gtag.ts",
"./src/load": "./src/load.ts",
"./src/queryClient": "./src/queryClient.ts"
"./src/queryClient": "./src/queryClient.ts",
"./src/utilities/data/array": "./src/utilities/data/array.ts",
"./src/utilities/data/dateTime": "./src/utilities/data/dateTime.ts",
"./src/utilities/data/newtype": "./src/utilities/data/newtype.ts",
"./src/utilities/uniqueString": "./src/utilities/uniqueString.ts",
"./src/text": "./src/text/index.ts",
"./src/utilities/permissions": "./src/utilities/permissions.ts",
"./src/services/Backend": "./src/services/Backend.ts"
},
"peerDependencies": {
"@tanstack/query-core": "5.45.0",
Expand Down
Loading

0 comments on commit 32e843c

Please sign in to comment.