Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/frontend/app-framework/actions-and-stores.ts
Views: 687
/*1* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45/*6Collecting together all of the named Actions and Stores interfaces,7so it's easier to use them elsewhere.89For every top level named store:1011- add a section below importing/exporting it12- add to the States interface13- also add to the States, Stores and Actions interfaces in redux-hooks.ts1415If you don't do this, then things don't get typechecked,16which is VERY BAD.17*/1819// account20export { AccountStore, AccountActions } from "@cocalc/frontend/account";21export type { AccountState } from "@cocalc/frontend/account/types";22// admin-site-licenses23export { SiteLicensesActions } from "@cocalc/frontend/site-licenses/admin/actions";24export { SiteLicensesStore } from "@cocalc/frontend/site-licenses/admin/store";25export type { SiteLicensesState } from "@cocalc/frontend/site-licenses/admin/types";26// admin-users27export { AdminUsersActions } from "@cocalc/frontend/admin/users/actions";28export { AdminUsersStore } from "@cocalc/frontend/admin/users/store";29export type { StoreState as AdminUsersState } from "@cocalc/frontend/admin/users/store";30// billing31export { BillingActions } from "@cocalc/frontend/billing/actions";32export { BillingStore } from "@cocalc/frontend/billing/store";33export type { BillingStoreState as BillingState } from "@cocalc/frontend/billing/store";3435// compute_images36export {37ComputeImagesActions,38ComputeImagesStore,39} from "../custom-software/init";40export type { ComputeImagesState } from "@cocalc/frontend/custom-software/init";41// customize42export { CustomizeActions, CustomizeStore } from "@cocalc/frontend/customize";43export type { CustomizeState } from "@cocalc/frontend/customize";44// file_use45export { FileUseStore } from "@cocalc/frontend/file-use/store";46export { FileUseActions } from "@cocalc/frontend/file-use/actions";47export type { FileUseState } from "@cocalc/frontend/file-use/store";48// mentions49export { MentionsActions, MentionsStore } from "@cocalc/frontend/notifications";50export type { MentionsState } from "@cocalc/frontend/notifications";51// page52export { PageActions } from "@cocalc/frontend/app/actions";53export { PageStore } from "@cocalc/frontend/app/store";54export type { PageState } from "@cocalc/frontend/app/store";55// projects56export { ProjectsActions } from "@cocalc/frontend/projects/actions";57export { ProjectsStore } from "@cocalc/frontend/projects/store";58export type { ProjectsState } from "@cocalc/frontend/projects/store";59// users60export { UsersStore } from "@cocalc/frontend/users/store";61export { UsersActions } from "@cocalc/frontend/users/actions";62export type { UsersState } from "@cocalc/frontend/users/types";63// news64export type { NewsState } from "@cocalc/frontend/notifications/news/init";65export { NewsStore } from "@cocalc/frontend/notifications/news/init";66export { NewsActions } from "@cocalc/frontend/notifications/news/init";676869