enso/app/ide-desktop
Nikita Pekin ecd56bbba8
impr(enso/cloud-v2#912): Add organization_id and user_id fields to SimpleUser (#9489)
This PR updates the model types for the request/response bodies to match the backend.

Some of these changes are for the (already merged) user groups PRs, (i.e., the switch to `actorsIds`):
- https://github.com/enso-org/cloud-v2/pull/926
- https://github.com/enso-org/cloud-v2/pull/939

Some of these changes are for the (yet to be merged) changes to the `User` types:
- https://github.com/enso-org/cloud-v2/pull/1073

Note that this PR must be **merged after the above PRs have been merged and deployed** to the backend.

- Rename `CreatePermissionRequestBody::userSubjects` to match `CreatePermissionRequestBody::actorsIds` on the backend
- Add `SimpleUser::organizationId` to match the backend
- Add `SimpleUser::userId` to match the backend
- Rename `UserInfo::pk` to `UserInfo::user_subject` to match the backend
- Rename `UserInfo::organization_id` to `UserInfo::pk` to match the backend
- Add `UserInfo::sk: UserId` to match the backend
2024-03-20 18:01:11 +00:00
..
.vscode Switch to AJV for validating JSON Schema (#9191) 2024-02-29 10:36:47 +00:00
lib impr(enso/cloud-v2#912): Add organization_id and user_id fields to SimpleUser (#9489) 2024-03-20 18:01:11 +00:00
.example.env Refactor configuration keys out of repository (#8895) 2024-03-08 03:14:26 +00:00
.gitignore Refactor configuration keys out of repository (#8895) 2024-03-08 03:14:26 +00:00
eslint.config.js "Activity log" settings page (#9311) 2024-03-19 06:17:28 +00:00
package.json Add Stripe for Billing Support (#8841) 2024-02-22 19:56:36 +03:00
README.md Use backend errors in toast notifications (#9078) 2024-02-26 14:51:44 +00:00
tsconfig.json [Gui2] Opening projects and language server connection (#7813) 2023-09-22 03:43:25 +00:00

Desktop app

This folder contains projects related to the desktop app.

Folder structure

Refer to the README.md in each individual module (if it exists) for the internal folder structure of the module.

  • assets/: Icons and images used by other modules. Currently these are only used by dashboard/.
  • client/: The code for the Electron desktop app.
  • common/: Utility functions required by multiple other modules.
  • content/: The entry point for the GUI1 web app. This is the main page for the desktop app.
  • content-config/: The statically-typed configuration object for content/.
  • dashboard/: The dashboard, used to manage projects. It launches the GUI (located in content/ for GUI1, or /app/gui2/ for GUI2) when a project is opened.
  • esbuild-plugin-copy-directories/: An ESBuild plugin for continuously copying directories from the a given location to a given subdirectory of the build output directory.
  • icons/: Generates the logo for the app.
  • ts-plugin-namespace-auto-import/: (WIP) A TypeScript plugin to change auto-import to use import * as moduleName rather than import {}.
  • types/: Miscellaneous types used by multiple modules.