Skip to content
Open
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
460 changes: 376 additions & 84 deletions backend/prisma/generated/commonInputTypes.ts

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions backend/prisma/generated/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,74 @@ export const TaskStatus = {
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus]


export const ProjectMethodology = {
SCRUM: 'SCRUM',
WATERFALL: 'WATERFALL',
KANBAN: 'KANBAN',
AGILE: 'AGILE',
OTHER: 'OTHER'
} as const

export type ProjectMethodology = (typeof ProjectMethodology)[keyof typeof ProjectMethodology]


export const ProjectVisibility = {
PRIVATE: 'PRIVATE',
TEAM: 'TEAM',
PUBLIC: 'PUBLIC'
} as const

export type ProjectVisibility = (typeof ProjectVisibility)[keyof typeof ProjectVisibility]


export const ProjectPriority = {
LOW: 'LOW',
MEDIUM: 'MEDIUM',
HIGH: 'HIGH',
CRITICAL: 'CRITICAL'
} as const

export type ProjectPriority = (typeof ProjectPriority)[keyof typeof ProjectPriority]


export const TaskType = {
TASK: 'TASK',
BUG: 'BUG',
STORY: 'STORY',
EPIC: 'EPIC'
} as const

export type TaskType = (typeof TaskType)[keyof typeof TaskType]


export const TaskPriority = {
LOW: 'LOW',
MEDIUM: 'MEDIUM',
HIGH: 'HIGH',
URGENT: 'URGENT'
} as const

export type TaskPriority = (typeof TaskPriority)[keyof typeof TaskPriority]


export const TimesheetSource = {
MANUAL: 'MANUAL',
TIMER: 'TIMER',
INTEGRATION: 'INTEGRATION'
} as const

export type TimesheetSource = (typeof TimesheetSource)[keyof typeof TimesheetSource]


export const ApprovalStatus = {
PENDING: 'PENDING',
APPROVED: 'APPROVED',
REJECTED: 'REJECTED'
} as const

export type ApprovalStatus = (typeof ApprovalStatus)[keyof typeof ApprovalStatus]


export const ProjectRole = {
OWNER: 'OWNER',
ADMIN: 'ADMIN',
Expand Down
4 changes: 2 additions & 2 deletions backend/prisma/generated/internal/class.ts

Large diffs are not rendered by default.

179 changes: 167 additions & 12 deletions backend/prisma/generated/internal/prismaNamespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,22 @@ export const ProjectScalarFieldEnum = {
responsibleId: 'responsibleId',
stageId: 'stageId',
workspaceId: 'workspaceId',
key: 'key',
visibility: 'visibility',
priority: 'priority',
budgetPlanned: 'budgetPlanned',
budgetActual: 'budgetActual',
startDate: 'startDate',
endDate: 'endDate',
actualStartDate: 'actualStartDate',
actualEndDate: 'actualEndDate',
progress: 'progress',
currency: 'currency',
phasesCount: 'phasesCount',
methodology: 'methodology',
tags: 'tags',
customFields: 'customFields',
archivedAt: 'archivedAt',
sequence: 'sequence',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
Expand All @@ -1592,6 +1608,22 @@ export const TaskScalarFieldEnum = {
userId: 'userId',
projectId: 'projectId',
stageId: 'stageId',
parentTaskId: 'parentTaskId',
type: 'type',
reporterId: 'reporterId',
watchers: 'watchers',
startDate: 'startDate',
dueDate: 'dueDate',
completedAt: 'completedAt',
estimatedHours: 'estimatedHours',
remainingHours: 'remainingHours',
progress: 'progress',
priority: 'priority',
tags: 'tags',
checklist: 'checklist',
dependencies: 'dependencies',
customFields: 'customFields',
deletedAt: 'deletedAt',
sequence: 'sequence',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
Expand All @@ -1608,6 +1640,17 @@ export const TimesheetScalarFieldEnum = {
userId: 'userId',
projectId: 'projectId',
taskId: 'taskId',
startTime: 'startTime',
endTime: 'endTime',
billable: 'billable',
hourlyRate: 'hourlyRate',
cost: 'cost',
source: 'source',
approvalStatus: 'approvalStatus',
approvedById: 'approvedById',
approvedAt: 'approvedAt',
tags: 'tags',
customFields: 'customFields',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
Expand Down Expand Up @@ -1841,44 +1884,58 @@ export type ListEnumWorkspaceRoleFieldRefInput<$PrismaModel> = FieldRefInputType


/**
* Reference to a field of type 'Float'
* Reference to a field of type 'ProjectVisibility'
*/
export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
export type EnumProjectVisibilityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectVisibility'>



/**
* Reference to a field of type 'Float[]'
* Reference to a field of type 'ProjectVisibility[]'
*/
export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>
export type ListEnumProjectVisibilityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectVisibility[]'>



/**
* Reference to a field of type 'ProjectRole'
* Reference to a field of type 'ProjectPriority'
*/
export type EnumProjectRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectRole'>
export type EnumProjectPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectPriority'>



/**
* Reference to a field of type 'ProjectRole[]'
* Reference to a field of type 'ProjectPriority[]'
*/
export type ListEnumProjectRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectRole[]'>
export type ListEnumProjectPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectPriority[]'>



/**
* Reference to a field of type 'ConversationType'
* Reference to a field of type 'Float'
*/
export type EnumConversationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ConversationType'>
export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>



/**
* Reference to a field of type 'ConversationType[]'
* Reference to a field of type 'Float[]'
*/
export type ListEnumConversationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ConversationType[]'>
export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>



/**
* Reference to a field of type 'ProjectMethodology'
*/
export type EnumProjectMethodologyFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectMethodology'>



/**
* Reference to a field of type 'ProjectMethodology[]'
*/
export type ListEnumProjectMethodologyFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectMethodology[]'>



Expand All @@ -1896,6 +1953,104 @@ export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$Prisma



/**
* Reference to a field of type 'TaskType'
*/
export type EnumTaskTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskType'>



/**
* Reference to a field of type 'TaskType[]'
*/
export type ListEnumTaskTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskType[]'>



/**
* Reference to a field of type 'TaskPriority'
*/
export type EnumTaskPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskPriority'>



/**
* Reference to a field of type 'TaskPriority[]'
*/
export type ListEnumTaskPriorityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskPriority[]'>



/**
* Reference to a field of type 'Decimal'
*/
export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'>



/**
* Reference to a field of type 'Decimal[]'
*/
export type ListDecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal[]'>



/**
* Reference to a field of type 'TimesheetSource'
*/
export type EnumTimesheetSourceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TimesheetSource'>



/**
* Reference to a field of type 'TimesheetSource[]'
*/
export type ListEnumTimesheetSourceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TimesheetSource[]'>



/**
* Reference to a field of type 'ApprovalStatus'
*/
export type EnumApprovalStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApprovalStatus'>



/**
* Reference to a field of type 'ApprovalStatus[]'
*/
export type ListEnumApprovalStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApprovalStatus[]'>



/**
* Reference to a field of type 'ProjectRole'
*/
export type EnumProjectRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectRole'>



/**
* Reference to a field of type 'ProjectRole[]'
*/
export type ListEnumProjectRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectRole[]'>



/**
* Reference to a field of type 'ConversationType'
*/
export type EnumConversationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ConversationType'>



/**
* Reference to a field of type 'ConversationType[]'
*/
export type ListEnumConversationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ConversationType[]'>



/**
* Reference to a field of type 'MessageType'
*/
Expand Down
43 changes: 43 additions & 0 deletions backend/prisma/generated/internal/prismaNamespaceBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,22 @@ export const ProjectScalarFieldEnum = {
responsibleId: 'responsibleId',
stageId: 'stageId',
workspaceId: 'workspaceId',
key: 'key',
visibility: 'visibility',
priority: 'priority',
budgetPlanned: 'budgetPlanned',
budgetActual: 'budgetActual',
startDate: 'startDate',
endDate: 'endDate',
actualStartDate: 'actualStartDate',
actualEndDate: 'actualEndDate',
progress: 'progress',
currency: 'currency',
phasesCount: 'phasesCount',
methodology: 'methodology',
tags: 'tags',
customFields: 'customFields',
archivedAt: 'archivedAt',
sequence: 'sequence',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
Expand All @@ -183,6 +199,22 @@ export const TaskScalarFieldEnum = {
userId: 'userId',
projectId: 'projectId',
stageId: 'stageId',
parentTaskId: 'parentTaskId',
type: 'type',
reporterId: 'reporterId',
watchers: 'watchers',
startDate: 'startDate',
dueDate: 'dueDate',
completedAt: 'completedAt',
estimatedHours: 'estimatedHours',
remainingHours: 'remainingHours',
progress: 'progress',
priority: 'priority',
tags: 'tags',
checklist: 'checklist',
dependencies: 'dependencies',
customFields: 'customFields',
deletedAt: 'deletedAt',
sequence: 'sequence',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
Expand All @@ -199,6 +231,17 @@ export const TimesheetScalarFieldEnum = {
userId: 'userId',
projectId: 'projectId',
taskId: 'taskId',
startTime: 'startTime',
endTime: 'endTime',
billable: 'billable',
hourlyRate: 'hourlyRate',
cost: 'cost',
source: 'source',
approvalStatus: 'approvalStatus',
approvedById: 'approvedById',
approvedAt: 'approvedAt',
tags: 'tags',
customFields: 'customFields',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
Expand Down
Loading