snapshot of https://github.com/makeplane/plane.git @ d868349a55de79979eb8b98701bf1702c67ad634 (2026-09-15)
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 16s
CodeQL / Analyze (python) (push) Failing after 3s
i18n sync check / check:sync (push) Failing after 3s
React Doctor / react-doctor (push) Failing after 16s
Branch Build CE / Build-Push Admin Docker Image (${{ matrix.arch }}) (push) Has been cancelled
Branch Build CE / Merge Admin Manifest (push) Has been cancelled
Branch Build CE / Build-Push Web Docker Image (${{ matrix.arch }}) (push) Has been cancelled
Branch Build CE / Merge Web Manifest (push) Has been cancelled
Branch Build CE / Build-Push Space Docker Image (${{ matrix.arch }}) (push) Has been cancelled
Branch Build CE / Merge Proxy Manifest (push) Has been cancelled
Branch Build CE / Merge Space Manifest (push) Has been cancelled
Branch Build CE / Prepare AIO Assets (push) Has been cancelled
Branch Build CE / Build Setup (push) Has been cancelled
Branch Build CE / Build-Push Live Collaboration Docker Image (${{ matrix.arch }}) (push) Has been cancelled
Branch Build CE / Merge Live Collaboration Manifest (push) Has been cancelled
Branch Build CE / Build-Push API Server Docker Image (${{ matrix.arch }}) (push) Has been cancelled
Branch Build CE / Merge API Server Manifest (push) Has been cancelled
Branch Build CE / Build-Push Proxy Docker Image (${{ matrix.arch }}) (push) Has been cancelled
Branch Build CE / Build-Push AIO Docker Image (${{ matrix.arch }}) (push) Has been cancelled
Branch Build CE / Merge AIO Manifest (push) Has been cancelled
Branch Build CE / Upload Build Assets (push) Has been cancelled
Branch Build CE / Build Release (push) Has been cancelled

This commit is contained in:
upstream-mirror
2026-09-15 15:14:58 +05:00
commit 23059a1de3
5252 changed files with 573834 additions and 0 deletions

32
apps/space/types/auth.ts Normal file
View File

@@ -0,0 +1,32 @@
/**
* Copyright (c) 2023-present Plane Software, Inc. and contributors
* SPDX-License-Identifier: AGPL-3.0-only
* See the LICENSE file for details.
*/
export enum EAuthModes {
SIGN_IN = "SIGN_IN",
SIGN_UP = "SIGN_UP",
}
export enum EAuthSteps {
EMAIL = "EMAIL",
PASSWORD = "PASSWORD",
UNIQUE_CODE = "UNIQUE_CODE",
}
export interface ICsrfTokenData {
csrf_token: string;
}
// email check types starts
export interface IEmailCheckData {
email: string;
}
export interface IEmailCheckResponse {
status: "MAGIC_CODE" | "CREDENTIAL";
is_password_autoset: boolean;
existing: boolean;
}
// email check types ends

5
apps/space/types/cycle.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
export type TPublicCycle = {
id: string;
name: string;
status: string;
};

6
apps/space/types/intake.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export type TIntakeIssueForm = {
name: string;
email: string;
username: string;
description_html: string;
};

117
apps/space/types/issue.d.ts vendored Normal file
View File

@@ -0,0 +1,117 @@
import type { ActorDetail, TIssue, TIssuePriorities, TStateGroups, TIssuePublicComment } from "@plane/types";
export type TIssueLayout = "list" | "kanban" | "calendar" | "spreadsheet" | "gantt";
export type TIssueLayoutOptions = {
[key in TIssueLayout]: boolean;
};
export type TIssueFilterPriorityObject = {
key: TIssuePriorities;
title: string;
className: string;
icon: string;
};
export type TIssueFilterKeys = "priority" | "state" | "labels";
export type TDisplayFilters = {
layout: TIssueLayout;
};
export type TFilters = {
state: TStateGroups[];
priority: TIssuePriorities[];
labels: string[];
};
export type TIssueFilters = {
display_filters: TDisplayFilters;
filters: TFilters;
};
export type TIssueQueryFilters = Partial<TFilters>;
export type TIssueQueryFiltersParams = Partial<Record<keyof TFilters, string>>;
export interface IIssue extends Pick<
TIssue,
| "description_html"
| "created_at"
| "updated_at"
| "created_by"
| "id"
| "name"
| "priority"
| "state_id"
| "project_id"
| "sequence_id"
| "sort_order"
| "start_date"
| "target_date"
| "cycle_id"
| "module_ids"
| "label_ids"
| "assignee_ids"
| "attachment_count"
| "sub_issues_count"
| "link_count"
| "estimate_point"
> {
comments: TIssuePublicComment[];
reaction_items: IIssueReaction[];
vote_items: IVote[];
}
export type IPeekMode = "side" | "modal" | "full";
type TIssueResponseResults =
| IIssue[]
| {
[key: string]: {
results:
| IIssue[]
| {
[key: string]: {
results: IIssue[];
total_results: number;
};
};
total_results: number;
};
};
export type TIssuesResponse = {
grouped_by: string;
next_cursor: string;
prev_cursor: string;
next_page_results: boolean;
prev_page_results: boolean;
total_count: number;
count: number;
total_pages: number;
extra_stats: null;
results: TIssueResponseResults;
};
export interface IIssueLabel {
id: string;
name: string;
color: string;
parent: string | null;
}
export interface IVote {
vote: -1 | 1;
actor_details: ActorDetail;
}
export interface IIssueReaction {
actor_details: ActorDetail;
reaction: string;
}
export interface IIssueFilterOptions {
state?: string[] | null;
labels?: string[] | null;
priority?: string[] | null;
}

6
apps/space/types/member.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export type TPublicMember = {
id: string;
member: string;
member__display_name: string;
member__avatar: string;
};

4
apps/space/types/modules.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
export type TPublicModule = {
id: string;
name: string;
};