[WEB-1255] chore: Required Spaces refactor (#5177)
* Changes required to enable Publish Views * default views to not found page * refactor exports * remove uncessary view service * fix review comments
This commit is contained in:
parent
2ee6cd20d8
commit
8577a56068
77 changed files with 2772 additions and 484 deletions
2
packages/types/src/view-props.d.ts
vendored
2
packages/types/src/view-props.d.ts
vendored
|
|
@ -202,4 +202,6 @@ export interface IssuePaginationOptions {
|
|||
before?: string;
|
||||
after?: string;
|
||||
groupedBy?: TIssueGroupByOptions;
|
||||
subGroupedBy?: TIssueGroupByOptions;
|
||||
orderBy?: TIssueOrderByOptions;
|
||||
}
|
||||
|
|
|
|||
12
packages/types/src/views.d.ts
vendored
12
packages/types/src/views.d.ts
vendored
|
|
@ -25,9 +25,21 @@ export interface IProjectView {
|
|||
workspace: string;
|
||||
logo_props: TLogoProps | undefined;
|
||||
is_locked: boolean;
|
||||
anchor?: string;
|
||||
owned_by: string;
|
||||
}
|
||||
|
||||
export type TPublishViewSettings = {
|
||||
is_comments_enabled: boolean;
|
||||
is_reactions_enabled: boolean;
|
||||
is_votes_enabled: boolean;
|
||||
};
|
||||
|
||||
export type TPublishViewDetails = TPublishViewSettings & {
|
||||
id: string;
|
||||
anchor: string;
|
||||
};
|
||||
|
||||
export type TViewFiltersSortKey = "name" | "created_at" | "updated_at";
|
||||
|
||||
export type TViewFiltersSortBy = "asc" | "desc";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue