NODEDC_TASKMANAGER/plane-src/apps/web/ce/store/pages/extended-base-page.ts

23 lines
729 B
TypeScript

/**
* Copyright (c) 2023-present Plane Software, Inc. and contributors
* SPDX-License-Identifier: AGPL-3.0-only
* See the LICENSE file for details.
*/
import type { TPage, TPageExtended } from "@plane/types";
import type { RootStore } from "@/plane-web/store/root.store";
import type { TBasePageServices } from "@/store/pages/base-page";
export type TExtendedPageInstance = TPageExtended & {
asJSONExtended: TPageExtended;
};
export class ExtendedBasePage implements TExtendedPageInstance {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
constructor(store: RootStore, page: TPage, services: TBasePageServices) {}
get asJSONExtended(): TExtendedPageInstance["asJSONExtended"] {
return {};
}
}