2024-03-05 10:02:16 +00:00
|
|
|
import { APITokenData, IAPITokenData } from "./api-token.data.store";
|
2024-03-05 09:38:18 +00:00
|
|
|
import { IWebhookData, WebhookData } from "./webhook.data.store";
|
2024-03-04 14:39:46 +00:00
|
|
|
import { IWorkspaceData, WorkspaceData } from "./workspace.data.store";
|
|
|
|
|
|
|
|
export class DataStore {
|
2024-03-04 15:02:36 +00:00
|
|
|
workspace: IWorkspaceData;
|
2024-03-05 09:38:18 +00:00
|
|
|
webhook: IWebhookData;
|
2024-03-05 10:02:16 +00:00
|
|
|
apiToken: IAPITokenData;
|
2024-03-04 14:39:46 +00:00
|
|
|
|
|
|
|
constructor() {
|
2024-03-04 15:02:36 +00:00
|
|
|
this.workspace = new WorkspaceData(this);
|
2024-03-05 09:38:18 +00:00
|
|
|
this.webhook = new WebhookData(this);
|
2024-03-05 10:02:16 +00:00
|
|
|
this.apiToken = new APITokenData(this);
|
2024-03-04 14:39:46 +00:00
|
|
|
}
|
|
|
|
|
2024-03-05 09:38:18 +00:00
|
|
|
resetOnSignOut() {}
|
2024-03-04 14:39:46 +00:00
|
|
|
}
|