Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@react-router/dev": "catalog:",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion apps/live/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/compression": "1.8.1",
"@types/cors": "^2.8.17",
"@types/express": "4.17.23",
Expand Down
49 changes: 24 additions & 25 deletions apps/space/core/types/issue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,30 @@ 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"
> {
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[];
Expand Down
2 changes: 1 addition & 1 deletion apps/space/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@react-router/dev": "catalog:",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
Expand Down
9 changes: 4 additions & 5 deletions apps/web/core/components/editor/sticky-editor/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ import { useParseEditorContent } from "@/hooks/use-parse-editor-content";
import { useEditorFlagging } from "@/plane-web/hooks/use-editor-flagging";
import { StickyEditorToolbar } from "./toolbar";

interface StickyEditorWrapperProps
extends Omit<
Omit<ILiteTextEditorProps, "extendedEditorProps">,
"disabledExtensions" | "editable" | "flaggedExtensions" | "fileHandler" | "mentionHandler" | "getEditorMetaData"
> {
interface StickyEditorWrapperProps extends Omit<
Omit<ILiteTextEditorProps, "extendedEditorProps">,
"disabledExtensions" | "editable" | "flaggedExtensions" | "fileHandler" | "mentionHandler" | "getEditorMetaData"
> {
workspaceSlug: string;
workspaceId: string;
projectId?: string;
Expand Down
4 changes: 2 additions & 2 deletions apps/web/core/components/onboarding/steps/profile/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ import { UserImageUploadModal } from "@/components/core/modals/user-image-upload
// helpers
import { captureError, captureView } from "@/helpers/event-tracker.helper";
// hooks
import { useInstance } from "@/hooks/store/use-instance";
import { useUser, useUserProfile } from "@/hooks/store/user";
// services
import { AuthService } from "@/services/auth.service";
// local components
import { CommonOnboardingHeader } from "../common";
import { MarketingConsent } from "./consent";
import { SetPasswordRoot } from "./set-password";
import { useInstance } from "@/hooks/store/use-instance";

type Props = {
handleStepChange: (step: EOnboardingSteps, skipInvites?: boolean) => void;
Expand Down Expand Up @@ -255,7 +255,7 @@ export const ProfileSetupStep = observer(function ProfileSetupStep({ handleStepC
</Button>

{/* Marketing Consent */}
{!instanceConfig.is_self_managed && (
{!instanceConfig?.is_self_managed && (
<MarketingConsent
isChecked={!!watch("has_marketing_email_consent")}
handleChange={(has_marketing_email_consent) =>
Expand Down
18 changes: 9 additions & 9 deletions apps/web/core/store/base-command-palette.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ export abstract class BaseCommandPaletteStore implements IBaseCommandPaletteStor
protected getCoreModalsState(): boolean {
return Boolean(
this.isCreateIssueModalOpen ||
this.isCreateCycleModalOpen ||
this.isCreateProjectModalOpen ||
this.isCreateModuleModalOpen ||
this.isCreateViewModalOpen ||
store.powerK.isShortcutsListModalOpen ||
this.isBulkDeleteIssueModalOpen ||
this.isDeleteIssueModalOpen ||
this.createPageModal.isOpen ||
this.allStickiesModal
this.isCreateCycleModalOpen ||
this.isCreateProjectModalOpen ||
this.isCreateModuleModalOpen ||
this.isCreateViewModalOpen ||
store.powerK.isShortcutsListModalOpen ||
this.isBulkDeleteIssueModalOpen ||
this.isDeleteIssueModalOpen ||
this.createPageModal.isOpen ||
this.allStickiesModal
);
}
// computedFn
Expand Down
3 changes: 2 additions & 1 deletion apps/web/core/store/issue/issue-details/root.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export type TIssueCrudOperationState = {
};

export interface IIssueDetail
extends IIssueStoreActions,
extends
IIssueStoreActions,
IIssueReactionStoreActions,
IIssueLinkStoreActions,
IIssueSubIssuesStoreActions,
Expand Down
3 changes: 1 addition & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,13 @@
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@react-router/dev": "catalog:",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-color": "^3.0.6",
"@types/react-dom": "catalog:",
"prettier": "^3.2.5",
"typescript": "catalog:",
"vite": "catalog:",
"vite-tsconfig-paths": "^5.1.4"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"check:types": "turbo run check:types"
},
"devDependencies": {
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"prettier": "^3.7.3",
"turbo": "2.6.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"tsdown": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/decorators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/express": "4.17.23",
"@types/node": "catalog:",
"@types/ws": "^8.5.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"tsdown": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/express": "4.17.23",
"@types/node": "catalog:",
"tsdown": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion packages/propel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@plane/eslint-config": "workspace:*",
"@plane/tailwind-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@storybook/addon-designs": "10.0.2",
"@storybook/addon-docs": "9.1.10",
"@storybook/react-vite": "9.1.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"tsdown": "catalog:",
"typescript": "catalog:"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"typescript": "catalog:"
Expand Down
7 changes: 4 additions & 3 deletions packages/shared-state/src/store/rich-filters/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import type { IFilterAdapter, TExternalFilter, TFilterExpression, TFilterPropert
* @template K - Property key type that extends TFilterProperty
* @template E - External filter type that extends TExternalFilter
*/
export abstract class FilterAdapter<K extends TFilterProperty, E extends TExternalFilter>
implements IFilterAdapter<K, E>
{
export abstract class FilterAdapter<K extends TFilterProperty, E extends TExternalFilter> implements IFilterAdapter<
K,
E
> {
/**
* Converts an external filter format to internal filter expression.
* Must be implemented by concrete adapter classes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ export type TConfigManagerParams = {
* @template V - The filter value type extending TFilterValue
* @template E - The external filter type extending TExternalFilter
*/
export class FilterConfigManager<P extends TFilterProperty, E extends TExternalFilter = TExternalFilter>
implements IFilterConfigManager<P>
{
export class FilterConfigManager<
P extends TFilterProperty,
E extends TExternalFilter = TExternalFilter,
> implements IFilterConfigManager<P> {
// observables
filterConfigs: IFilterConfigManager<P>["filterConfigs"];
configOptions: IFilterConfigManager<P>["configOptions"];
Expand Down
13 changes: 8 additions & 5 deletions packages/shared-state/src/store/rich-filters/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ type TOperatorOptionForDisplay = {
label: string;
};

export interface IFilterConfig<P extends TFilterProperty, V extends TFilterValue = TFilterValue>
extends TFilterConfig<P, V> {
export interface IFilterConfig<P extends TFilterProperty, V extends TFilterValue = TFilterValue> extends TFilterConfig<
P,
V
> {
// computed
allEnabledSupportedOperators: TSupportedOperators[];
firstOperator: TSupportedOperators | undefined;
Expand All @@ -44,9 +46,10 @@ export interface IFilterConfig<P extends TFilterProperty, V extends TFilterValue
mutate: (updates: Partial<TFilterConfig<P, V>>) => void;
}

export class FilterConfig<P extends TFilterProperty, V extends TFilterValue = TFilterValue>
implements IFilterConfig<P, V>
{
export class FilterConfig<P extends TFilterProperty, V extends TFilterValue = TFilterValue> implements IFilterConfig<
P,
V
> {
// observables
id: IFilterConfig<P, V>["id"];
label: IFilterConfig<P, V>["label"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ export interface IFilterInstanceHelper<P extends TFilterProperty, E extends TExt
* @template K - The filter property type extending TFilterProperty
* @template E - The external filter type extending TExternalFilter
*/
export class FilterInstanceHelper<P extends TFilterProperty, E extends TExternalFilter>
implements IFilterInstanceHelper<P, E>
{
export class FilterInstanceHelper<
P extends TFilterProperty,
E extends TExternalFilter,
> implements IFilterInstanceHelper<P, E> {
// parent filter instance
private _filterInstance: IFilterInstance<P, E>;
// adapter
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
Expand Down
6 changes: 2 additions & 4 deletions packages/types/src/base-layouts/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ export interface IBaseLayoutsBaseProps<T extends IBaseLayoutsBaseItem> extends I
// Group Props

export interface IBaseLayoutsBaseGroupProps<T extends IBaseLayoutsBaseItem>
extends IDragDropHandlers<T>,
IRenderProps<T> {
extends IDragDropHandlers<T>, IRenderProps<T> {
group: IBaseLayoutsBaseGroup;
itemIds: string[];
items: Record<string, T>;
Expand All @@ -92,8 +91,7 @@ export interface IBaseLayoutsBaseGroupProps<T extends IBaseLayoutsBaseItem>
// Item Props

export interface IBaseLayoutsBaseItemProps<T extends IBaseLayoutsBaseItem>
extends IDragDropHandlers<T>,
IItemRenderProps<T> {
extends IDragDropHandlers<T>, IItemRenderProps<T> {
item: T;
index: number;
groupId: string;
Expand Down
3 changes: 2 additions & 1 deletion packages/types/src/base-layouts/gantt/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export type TGanttDisplayOptions = {

// Main Gantt Layout Props
export interface IBaseLayoutsGanttProps<T extends IBaseLayoutsGanttItem>
extends Omit<IBaseLayoutsBaseProps<T>, "renderItem" | "enableDragDrop" | "onDrop" | "canDrag">,
extends
Omit<IBaseLayoutsBaseProps<T>, "renderItem" | "enableDragDrop" | "onDrop" | "canDrag">,
IGanttRenderProps<T>,
IGanttCapabilities,
TGanttDisplayOptions {
Expand Down
Loading
Loading