Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(dx): fix prettier version in ee (#7722)

Nimara71ac105b95f
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 100fb97223..937ed948ff 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -28,7 +28,7 @@ Fixes # (issue)
<!-- Remove bullet points below that don't apply to you -->
- I haven't read the [contributing guide](https://github.com/langfuse/langfuse/blob/main/CONTRIBUTING.md)
-- My code doesn't follow the style guidelines of this project (`npm run prettier`)
+- My code doesn't follow the style guidelines of this project (`pnpm run format`)
- I haven't commented my code, particularly in hard-to-understand areas
- I haven't checked if my PR needs changes to the documentation
- I haven't checked if my changes generate no new warnings (`npm run lint`)
diff --git a/.husky/pre-commit b/.husky/pre-commit
index b04c55d546..46d7f4e4eb 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -12,7 +12,7 @@ if [ "$current_branch" = "$protected_branch" ]; then
read -r answer < /dev/tty
if [ "$answer" != "${answer#[Yy]}" ]; then
# Commit approved, run formatting
- pnpm run format
+ pnpm run format-fast
exit 0 # Commit will proceed
else
echo "Commit to $protected_branch branch has been canceled."
@@ -21,5 +21,5 @@ if [ "$current_branch" = "$protected_branch" ]; then
fi
# If not the protected branch, run formatting and proceed with the commit
-pnpm run format
+pnpm run format-fast
exit 0
diff --git a/.prettierignore b/.prettierignore
index 518fbfdfa1..173af102d4 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,2 +1,2 @@
-# ignore auto generated code
-packages/shared/prisma/generated/
+# Generated code
+packages/shared/prisma/generated
diff --git a/ee/package.json b/ee/package.json
index e533c7dd5f..ce7eb6b9b8 100644
--- a/ee/package.json
+++ b/ee/package.json
@@ -41,7 +41,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-prettier": "^5.1.3",
- "prettier": "^3.4.2",
+ "prettier": "^3.6.2",
"ts-node": "^10.9.2",
"tsc-watch": "^6.2.0",
"typescript": "^5.4.5"
diff --git a/package.json b/package.json
index 44bb36453a..89c19d211f 100644
--- a/package.json
+++ b/package.json
@@ -28,6 +28,7 @@
"dev:web-turbo": "turbo run dev --filter=web -- --turbo",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
+ "format-fast": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\" --experimental-cli",
"test": "turbo run test",
"release": "dotenv -e ../.env -- release-it",
"prepare": "husky"
diff --git a/packages/shared/prisma/generated/types.ts b/packages/shared/prisma/generated/types.ts
index 73003895c5..c0ce64aa50 100644
--- a/packages/shared/prisma/generated/types.ts
+++ b/packages/shared/prisma/generated/types.ts
@@ -1,809 +1,824 @@
import type { ColumnType } from "kysely";
-export type Generated<T> = T extends ColumnType<infer S, infer I, infer U>
- ? ColumnType<S, I | undefined, U>
- : ColumnType<T, T | undefined, T>;
+export type Generated<T> =
+ T extends ColumnType<infer S, infer I, infer U>
+ ? ColumnType<S, I | undefined, U>
+ : ColumnType<T, T | undefined, T>;
export type Timestamp = ColumnType<Date, Date | string, Date | string>;
export const ApiKeyScope = {
- ORGANIZATION: "ORGANIZATION",
- PROJECT: "PROJECT"
+ ORGANIZATION: "ORGANIZATION",
+ PROJECT: "PROJECT",
} as const;
export type ApiKeyScope = (typeof ApiKeyScope)[keyof typeof ApiKeyScope];
export const Role = {
- OWNER: "OWNER",
- ADMIN: "ADMIN",
- MEMBER: "MEMBER",
- VIEWER: "VIEWER",
- NONE: "NONE"
+ OWNER: "OWNER",
+ ADMIN: "ADMIN",
+ MEMBER: "MEMBER",
+ VIEWER: "VIEWER",
+ NONE: "NONE",
} as const;
export type Role = (typeof Role)[keyof typeof Role];
export const LegacyPrismaObservationType = {
- SPAN: "SPAN",
- EVENT: "EVENT",
- GENERATION: "GENERATION"
+ SPAN: "SPAN",
+ EVENT: "EVENT",
+ GENERATION: "GENERATION",
} as const;
-export type LegacyPrismaObservationType = (typeof LegacyPrismaObservationType)[keyof typeof LegacyPrismaObservationType];
+export type LegacyPrismaObservationType =
+ (typeof LegacyPrismaObservationType)[keyof typeof LegacyPrismaObservationType];
export const LegacyPrismaObservationLevel = {
- DEBUG: "DEBUG",
- DEFAULT: "DEFAULT",
- WARNING: "WARNING",
- ERROR: "ERROR"
+ DEBUG: "DEBUG",
+ DEFAULT: "DEFAULT",
+ WARNING: "WARNING",
+ ERROR: "ERROR",
} as const;
-export type LegacyPrismaObservationLevel = (typeof LegacyPrismaObservationLevel)[keyof typeof LegacyPrismaObservationLevel];
+export type LegacyPrismaObservationLevel =
+ (typeof LegacyPrismaObservationLevel)[keyof typeof LegacyPrismaObservationLevel];
export const LegacyPrismaScoreSource = {
- ANNOTATION: "ANNOTATION",
- API: "API",
- EVAL: "EVAL"
+ ANNOTATION: "ANNOTATION",
+ API: "API",
+ EVAL: "EVAL",
} as const;
-export type LegacyPrismaScoreSource = (typeof LegacyPrismaScoreSource)[keyof typeof LegacyPrismaScoreSource];
+export type LegacyPrismaScoreSource =
+ (typeof LegacyPrismaScoreSource)[keyof typeof LegacyPrismaScoreSource];
export const ScoreDataType = {
- CATEGORICAL: "CATEGORICAL",
- NUMERIC: "NUMERIC",
- BOOLEAN: "BOOLEAN"
+ CATEGORICAL: "CATEGORICAL",
+ NUMERIC: "NUMERIC",
+ BOOLEAN: "BOOLEAN",
} as const;
export type ScoreDataType = (typeof ScoreDataType)[keyof typeof ScoreDataType];
export const AnnotationQueueStatus = {
- PENDING: "PENDING",
- COMPLETED: "COMPLETED"
+ PENDING: "PENDING",
+ COMPLETED: "COMPLETED",
} as const;
-export type AnnotationQueueStatus = (typeof AnnotationQueueStatus)[keyof typeof AnnotationQueueStatus];
+export type AnnotationQueueStatus =
+ (typeof AnnotationQueueStatus)[keyof typeof AnnotationQueueStatus];
export const AnnotationQueueObjectType = {
- TRACE: "TRACE",
- OBSERVATION: "OBSERVATION"
+ TRACE: "TRACE",
+ OBSERVATION: "OBSERVATION",
} as const;
-export type AnnotationQueueObjectType = (typeof AnnotationQueueObjectType)[keyof typeof AnnotationQueueObjectType];
+export type AnnotationQueueObjectType =
+ (typeof AnnotationQueueObjectType)[keyof typeof AnnotationQueueObjectType];
export const DatasetStatus = {
- ACTIVE: "ACTIVE",
- ARCHIVED: "ARCHIVED"
+ ACTIVE: "ACTIVE",
+ ARCHIVED: "ARCHIVED",
} as const;
export type DatasetStatus = (typeof DatasetStatus)[keyof typeof DatasetStatus];
export const CommentObjectType = {
- TRACE: "TRACE",
- OBSERVATION: "OBSERVATION",
- SESSION: "SESSION",
- PROMPT: "PROMPT"
+ TRACE: "TRACE",
+ OBSERVATION: "OBSERVATION",
+ SESSION: "SESSION",
+ PROMPT: "PROMPT",
} as const;
-export type CommentObjectType = (typeof CommentObjectType)[keyof typeof CommentObjectType];
+export type CommentObjectType =
+ (typeof CommentObjectType)[keyof typeof CommentObjectType];
export const AuditLogRecordType = {
- USER: "USER",
- API_KEY: "API_KEY"
+ USER: "USER",
+ API_KEY: "API_KEY",
} as const;
-export type AuditLogRecordType = (typeof AuditLogRecordType)[keyof typeof AuditLogRecordType];
+export type AuditLogRecordType =
+ (typeof AuditLogRecordType)[keyof typeof AuditLogRecordType];
export const JobType = {
- EVAL: "EVAL"
+ EVAL: "EVAL",
} as const;
export type JobType = (typeof JobType)[keyof typeof JobType];
export const JobConfigState = {
- ACTIVE: "ACTIVE",
- INACTIVE: "INACTIVE"
+ ACTIVE: "ACTIVE",
+ INACTIVE: "INACTIVE",
} as const;
-export type JobConfigState = (typeof JobConfigState)[keyof typeof JobConfigState];
+export type JobConfigState =
+ (typeof JobConfigState)[keyof typeof JobConfigState];
export const JobExecutionStatus = {
- COMPLETED: "COMPLETED",
- ERROR: "ERROR",
- PENDING: "PENDING",
- CANCELLED: "CANCELLED"
+ COMPLETED: "COMPLETED",
+ ERROR: "ERROR",
+ PENDING: "PENDING",
+ CANCELLED: "CANCELLED",
} as const;
-export type JobExecutionStatus = (typeof JobExecutionStatus)[keyof typeof JobExecutionStatus];
+export type JobExecutionStatus =
+ (typeof JobExecutionStatus)[keyof typeof JobExecutionStatus];
export const BlobStorageIntegrationFileType = {
- JSON: "JSON",
- CSV: "CSV",
- JSONL: "JSONL"
+ JSON: "JSON",
+ CSV: "CSV",
+ JSONL: "JSONL",
} as const;
-export type BlobStorageIntegrationFileType = (typeof BlobStorageIntegrationFileType)[keyof typeof BlobStorageIntegrationFileType];
+export type BlobStorageIntegrationFileType =
+ (typeof BlobStorageIntegrationFileType)[keyof typeof BlobStorageIntegrationFileType];
export const BlobStorageIntegrationType = {
- S3: "S3",
- S3_COMPATIBLE: "S3_COMPATIBLE",
- AZURE_BLOB_STORAGE: "AZURE_BLOB_STORAGE"
+ S3: "S3",
+ S3_COMPATIBLE: "S3_COMPATIBLE",
+ AZURE_BLOB_STORAGE: "AZURE_BLOB_STORAGE",
} as const;
-export type BlobStorageIntegrationType = (typeof BlobStorageIntegrationType)[keyof typeof BlobStorageIntegrationType];
+export type BlobStorageIntegrationType =
+ (typeof BlobStorageIntegrationType)[keyof typeof BlobStorageIntegrationType];
export const DashboardWidgetViews = {
- TRACES: "TRACES",
- OBSERVATIONS: "OBSERVATIONS",
- SCORES_NUMERIC: "SCORES_NUMERIC",
- SCORES_CATEGORICAL: "SCORES_CATEGORICAL"
+ TRACES: "TRACES",
+ OBSERVATIONS: "OBSERVATIONS",
+ SCORES_NUMERIC: "SCORES_NUMERIC",
+ SCORES_CATEGORICAL: "SCORES_CATEGORICAL",
} as const;
-export type DashboardWidgetViews = (typeof DashboardWidgetViews)[keyof typeof DashboardWidgetViews];
+export type DashboardWidgetViews =
+ (typeof DashboardWidgetViews)[keyof typeof DashboardWidgetViews];
export const DashboardWidgetChartType = {
- LINE_TIME_SERIES: "LINE_TIME_SERIES",
- BAR_TIME_SERIES: "BAR_TIME_SERIES",
- HORIZONTAL_BAR: "HORIZONTAL_BAR",
- VERTICAL_BAR: "VERTICAL_BAR",
- PIE: "PIE",
- NUMBER: "NUMBER",
- HISTOGRAM: "HISTOGRAM",
- PIVOT_TABLE: "PIVOT_TABLE"
+ LINE_TIME_SERIES: "LINE_TIME_SERIES",
+ BAR_TIME_SERIES: "BAR_TIME_SERIES",
+ HORIZONTAL_BAR: "HORIZONTAL_BAR",
+ VERTICAL_BAR: "VERTICAL_BAR",
+ PIE: "PIE",
+ NUMBER: "NUMBER",
+ HISTOGRAM: "HISTOGRAM",
+ PIVOT_TABLE: "PIVOT_TABLE",
} as const;
-export type DashboardWidgetChartType = (typeof DashboardWidgetChartType)[keyof typeof DashboardWidgetChartType];
+export type DashboardWidgetChartType =
+ (typeof DashboardWidgetChartType)[keyof typeof DashboardWidgetChartType];
export const ActionType = {
- WEBHOOK: "WEBHOOK"
+ WEBHOOK: "WEBHOOK",
} as const;
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
export const ActionExecutionStatus = {
- COMPLETED: "COMPLETED",
- ERROR: "ERROR",
- PENDING: "PENDING",
- CANCELLED: "CANCELLED"
+ COMPLETED: "COMPLETED",
+ ERROR: "ERROR",
+ PENDING: "PENDING",
+ CANCELLED: "CANCELLED",
} as const;
-export type ActionExecutionStatus = (typeof ActionExecutionStatus)[keyof typeof ActionExecutionStatus];
+export type ActionExecutionStatus =
+ (typeof ActionExecutionStatus)[keyof typeof ActionExecutionStatus];
export type Account = {
- id: string;
- user_id: string;
- type: string;
- provider: string;
- providerAccountId: string;
- refresh_token: string | null;
- access_token: string | null;
- expires_at: number | null;
- expires_in: number | null;
- ext_expires_in: number | null;
- token_type: string | null;
- scope: string | null;
- id_token: string | null;
- session_state: string | null;
- refresh_token_expires_in: number | null;
- created_at: number | null;
+ id: string;
+ user_id: string;
+ type: string;
+ provider: string;
+ providerAccountId: string;
+ refresh_token: string | null;
+ access_token: string | null;
+ expires_at: number | null;
+ expires_in: number | null;
+ ext_expires_in: number | null;
+ token_type: string | null;
+ scope: string | null;
+ id_token: string | null;
+ session_state: string | null;
+ refresh_token_expires_in: number | null;
+ created_at: number | null;
};
export type Action = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- type: ActionType;
- config: unknown;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ type: ActionType;
+ config: unknown;
};
export type AnnotationQueue = {
- id: string;
- name: string;
- description: string | null;
- score_config_ids: Generated<string[]>;
- project_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ name: string;
+ description: string | null;
+ score_config_ids: Generated<string[]>;
+ project_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type AnnotationQueueItem = {
- id: string;
- queue_id: string;
- object_id: string;
- object_type: AnnotationQueueObjectType;
- status: Generated<AnnotationQueueStatus>;
- locked_at: Timestamp | null;
- locked_by_user_id: string | null;
- annotator_user_id: string | null;
- completed_at: Timestamp | null;
- project_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ queue_id: string;
+ object_id: string;
+ object_type: AnnotationQueueObjectType;
+ status: Generated<AnnotationQueueStatus>;
+ locked_at: Timestamp | null;
+ locked_by_user_id: string | null;
+ annotator_user_id: string | null;
+ completed_at: Timestamp | null;
+ project_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type ApiKey = {
- id: string;
- created_at: Generated<Timestamp>;
- note: string | null;
- public_key: string;
- hashed_secret_key: string;
- fast_hashed_secret_key: string | null;
- display_secret_key: string;
- last_used_at: Timestamp | null;
- expires_at: Timestamp | null;
- project_id: string | null;
- organization_id: string | null;
- scope: Generated<ApiKeyScope>;
+ id: string;
+ created_at: Generated<Timestamp>;
+ note: string | null;
+ public_key: string;
+ hashed_secret_key: string;
+ fast_hashed_secret_key: string | null;
+ display_secret_key: string;
+ last_used_at: Timestamp | null;
+ expires_at: Timestamp | null;
+ project_id: string | null;
+ organization_id: string | null;
+ scope: Generated<ApiKeyScope>;
};
export type AuditLog = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- type: Generated<AuditLogRecordType>;
- api_key_id: string | null;
- user_id: string | null;
- org_id: string;
- user_org_role: string | null;
- project_id: string | null;
- user_project_role: string | null;
- resource_type: string;
- resource_id: string;
- action: string;
- before: string | null;
- after: string | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ type: Generated<AuditLogRecordType>;
+ api_key_id: string | null;
+ user_id: string | null;
+ org_id: string;
+ user_org_role: string | null;
+ project_id: string | null;
+ user_project_role: string | null;
+ resource_type: string;
+ resource_id: string;
+ action: string;
+ before: string | null;
+ after: string | null;
};
export type Automation = {
- id: string;
- name: string;
- trigger_id: string;
- action_id: string;
- created_at: Generated<Timestamp>;
- project_id: string;
+ id: string;
+ name: string;
+ trigger_id: string;
+ action_id: string;
+ created_at: Generated<Timestamp>;
+ project_id: string;
};
export type AutomationExecution = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- source_id: string;
- automation_id: string;
- trigger_id: string;
- action_id: string;
- project_id: string;
- status: Generated<ActionExecutionStatus>;
- input: unknown;
- output: unknown | null;
- started_at: Timestamp | null;
- finished_at: Timestamp | null;
- error: string | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ source_id: string;
+ automation_id: string;
+ trigger_id: string;
+ action_id: string;
+ project_id: string;
+ status: Generated<ActionExecutionStatus>;
+ input: unknown;
+ output: unknown | null;
+ started_at: Timestamp | null;
+ finished_at: Timestamp | null;
+ error: string | null;
};
export type BackgroundMigration = {
- id: string;
- name: string;
- script: string;
- args: unknown;
- state: Generated<unknown>;
- finished_at: Timestamp | null;
- failed_at: Timestamp | null;
- failed_reason: string | null;
- worker_id: string | null;
- locked_at: Timestamp | null;
+ id: string;
+ name: string;
+ script: string;
+ args: unknown;
+ state: Generated<unknown>;
+ finished_at: Timestamp | null;
+ failed_at: Timestamp | null;
+ failed_reason: string | null;
+ worker_id: string | null;
+ locked_at: Timestamp | null;
};
export type BatchExport = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- user_id: string;
- finished_at: Timestamp | null;
- expires_at: Timestamp | null;
- name: string;
- status: string;
- query: unknown;
- format: string;
- url: string | null;
- log: string | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ user_id: string;
+ finished_at: Timestamp | null;
+ expires_at: Timestamp | null;
+ name: string;
+ status: string;
+ query: unknown;
+ format: string;
+ url: string | null;
+ log: string | null;
};
export type BillingMeterBackup = {
- stripe_customer_id: string;
- meter_id: string;
- start_time: Timestamp;
- end_time: Timestamp;
- aggregated_value: number;
- event_name: string;
- org_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ stripe_customer_id: string;
+ meter_id: string;
+ start_time: Timestamp;
+ end_time: Timestamp;
+ aggregated_value: number;
+ event_name: string;
+ org_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type BlobStorageIntegration = {
- project_id: string;
- type: BlobStorageIntegrationType;
- bucket_name: string;
- prefix: string;
- access_key_id: string | null;
- secret_access_key: string | null;
- region: string;
- endpoint: string | null;
- force_path_style: boolean;
- next_sync_at: Timestamp | null;
- last_sync_at: Timestamp | null;
- enabled: boolean;
- export_frequency: string;
- file_type: Generated<BlobStorageIntegrationFileType>;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ project_id: string;
+ type: BlobStorageIntegrationType;
+ bucket_name: string;
+ prefix: string;
+ access_key_id: string | null;
+ secret_access_key: string | null;
+ region: string;
+ endpoint: string | null;
+ force_path_style: boolean;
+ next_sync_at: Timestamp | null;
+ last_sync_at: Timestamp | null;
+ enabled: boolean;
+ export_frequency: string;
+ file_type: Generated<BlobStorageIntegrationFileType>;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type Comment = {
- id: string;
- project_id: string;
- object_type: CommentObjectType;
- object_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- content: string;
- author_user_id: string | null;
+ id: string;
+ project_id: string;
+ object_type: CommentObjectType;
+ object_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ content: string;
+ author_user_id: string | null;
};
export type CronJobs = {
- name: string;
- last_run: Timestamp | null;
- job_started_at: Timestamp | null;
- state: string | null;
+ name: string;
+ last_run: Timestamp | null;
+ job_started_at: Timestamp | null;
+ state: string | null;
};
export type Dashboard = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- created_by: string | null;
- updated_by: string | null;
- project_id: string | null;
- name: string;
- description: string;
- definition: unknown;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ created_by: string | null;
+ updated_by: string | null;
+ project_id: string | null;
+ name: string;
+ description: string;
+ definition: unknown;
};
export type DashboardWidget = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- created_by: string | null;
- updated_by: string | null;
- project_id: string | null;
- name: string;
- description: string;
- view: DashboardWidgetViews;
- dimensions: unknown;
- metrics: unknown;
- filters: unknown;
- chart_type: DashboardWidgetChartType;
- chart_config: unknown;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ created_by: string | null;
+ updated_by: string | null;
+ project_id: string | null;
+ name: string;
+ description: string;
+ view: DashboardWidgetViews;
+ dimensions: unknown;
+ metrics: unknown;
+ filters: unknown;
+ chart_type: DashboardWidgetChartType;
+ chart_config: unknown;
};
export type Dataset = {
- id: string;
- project_id: string;
- name: string;
- description: string | null;
- metadata: unknown | null;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ project_id: string;
+ name: string;
+ description: string | null;
+ metadata: unknown | null;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type DatasetItem = {
- id: string;
- project_id: string;
- status: Generated<DatasetStatus>;
- input: unknown | null;
- expected_output: unknown | null;
- metadata: unknown | null;
- source_trace_id: string | null;
- source_observation_id: string | null;
- dataset_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ project_id: string;
+ status: Generated<DatasetStatus>;
+ input: unknown | null;
+ expected_output: unknown | null;
+ metadata: unknown | null;
+ source_trace_id: string | null;
+ source_observation_id: string | null;
+ dataset_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type DatasetRunItems = {
- id: string;
- project_id: string;
- dataset_run_id: string;
- dataset_item_id: string;
- trace_id: string;
- observation_id: string | null;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ project_id: string;
+ dataset_run_id: string;
+ dataset_item_id: string;
+ trace_id: string;
+ observation_id: string | null;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type DatasetRuns = {
- id: string;
- project_id: string;
- name: string;
- description: string | null;
- metadata: unknown | null;
- dataset_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ project_id: string;
+ name: string;
+ description: string | null;
+ metadata: unknown | null;
+ dataset_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type DefaultLlmModel = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- llm_api_key_id: string;
- provider: string;
- adapter: string;
- model: string;
- model_params: unknown | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ llm_api_key_id: string;
+ provider: string;
+ adapter: string;
+ model: string;
+ model_params: unknown | null;
};
export type EvalTemplate = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string | null;
- name: string;
- version: number;
- prompt: string;
- partner: string | null;
- model: string | null;
- provider: string | null;
- model_params: unknown | null;
- vars: Generated<string[]>;
- output_schema: unknown;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string | null;
+ name: string;
+ version: number;
+ prompt: string;
+ partner: string | null;
+ model: string | null;
+ provider: string | null;
+ model_params: unknown | null;
+ vars: Generated<string[]>;
+ output_schema: unknown;
};
export type JobConfiguration = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- job_type: JobType;
- status: Generated<JobConfigState>;
- eval_template_id: string | null;
- score_name: string;
- filter: unknown;
- target_object: string;
- variable_mapping: unknown;
- sampling: string;
- delay: number;
- time_scope: Generated<string[]>;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ job_type: JobType;
+ status: Generated<JobConfigState>;
+ eval_template_id: string | null;
+ score_name: string;
+ filter: unknown;
+ target_object: string;
+ variable_mapping: unknown;
+ sampling: string;
+ delay: number;
+ time_scope: Generated<string[]>;
};
export type JobExecution = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- job_configuration_id: string;
- job_template_id: string | null;
- status: JobExecutionStatus;
- start_time: Timestamp | null;
- end_time: Timestamp | null;
- error: string | null;
- job_input_trace_id: string | null;
- job_input_observation_id: string | null;
- job_input_dataset_item_id: string | null;
- job_output_score_id: string | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ job_configuration_id: string;
+ job_template_id: string | null;
+ status: JobExecutionStatus;
+ start_time: Timestamp | null;
+ end_time: Timestamp | null;
+ error: string | null;
+ job_input_trace_id: string | null;
+ job_input_observation_id: string | null;
+ job_input_dataset_item_id: string | null;
+ job_output_score_id: string | null;
};
export type LegacyPrismaObservation = {
- id: string;
- trace_id: string | null;
- project_id: string;
- type: LegacyPrismaObservationType;
- start_time: Generated<Timestamp>;
- end_time: Timestamp | null;
- name: string | null;
- metadata: unknown | null;
- parent_observation_id: string | null;
- level: Generated<LegacyPrismaObservationLevel>;
- status_message: string | null;
- version: string | null;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- model: string | null;
- internal_model: string | null;
- internal_model_id: string | null;
- modelParameters: unknown | null;
- input: unknown | null;
- output: unknown | null;
- prompt_tokens: Generated<number>;
- completion_tokens: Generated<number>;
- total_tokens: Generated<number>;
- unit: string | null;
- input_cost: string | null;
- output_cost: string | null;
- total_cost: string | null;
- calculated_input_cost: string | null;
- calculated_output_cost: string | null;
- calculated_total_cost: string | null;
- completion_start_time: Timestamp | null;
- prompt_id: string | null;
+ id: string;
+ trace_id: string | null;
+ project_id: string;
+ type: LegacyPrismaObservationType;
+ start_time: Generated<Timestamp>;
+ end_time: Timestamp | null;
+ name: string | null;
+ metadata: unknown | null;
+ parent_observation_id: string | null;
+ level: Generated<LegacyPrismaObservationLevel>;
+ status_message: string | null;
+ version: string | null;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ model: string | null;
+ internal_model: string | null;
+ internal_model_id: string | null;
+ modelParameters: unknown | null;
+ input: unknown | null;
+ output: unknown | null;
+ prompt_tokens: Generated<number>;
+ completion_tokens: Generated<number>;
+ total_tokens: Generated<number>;
+ unit: string | null;
+ input_cost: string | null;
+ output_cost: string | null;
+ total_cost: string | null;
+ calculated_input_cost: string | null;
+ calculated_output_cost: string | null;
+ calculated_total_cost: string | null;
+ completion_start_time: Timestamp | null;
+ prompt_id: string | null;
};
export type LegacyPrismaScore = {
- id: string;
- timestamp: Generated<Timestamp>;
- project_id: string;
- name: string;
- value: number | null;
- source: LegacyPrismaScoreSource;
- author_user_id: string | null;
- comment: string | null;
- trace_id: string;
- observation_id: string | null;
- config_id: string | null;
- string_value: string | null;
- queue_id: string | null;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- data_type: Generated<ScoreDataType>;
+ id: string;
+ timestamp: Generated<Timestamp>;
+ project_id: string;
+ name: string;
+ value: number | null;
+ source: LegacyPrismaScoreSource;
+ author_user_id: string | null;
+ comment: string | null;
+ trace_id: string;
+ observation_id: string | null;
+ config_id: string | null;
+ string_value: string | null;
+ queue_id: string | null;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ data_type: Generated<ScoreDataType>;
};
export type LegacyPrismaTrace = {
- id: string;
- external_id: string | null;
- timestamp: Generated<Timestamp>;
- name: string | null;
- user_id: string | null;
- metadata: unknown | null;
- release: string | null;
- version: string | null;
- project_id: string;
- public: Generated<boolean>;
- bookmarked: Generated<boolean>;
- tags: Generated<string[]>;
- input: unknown | null;
- output: unknown | null;
- session_id: string | null;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ external_id: string | null;
+ timestamp: Generated<Timestamp>;
+ name: string | null;
+ user_id: string | null;
+ metadata: unknown | null;
+ release: string | null;
+ version: string | null;
+ project_id: string;
+ public: Generated<boolean>;
+ bookmarked: Generated<boolean>;
+ tags: Generated<string[]>;
+ input: unknown | null;
+ output: unknown | null;
+ session_id: string | null;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type LlmApiKeys = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- provider: string;
- adapter: string;
- display_secret_key: string;
- secret_key: string;
- base_url: string | null;
- custom_models: Generated<string[]>;
- with_default_models: Generated<boolean>;
- extra_headers: string | null;
- extra_header_keys: Generated<string[]>;
- config: unknown | null;
- project_id: string;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ provider: string;
+ adapter: string;
+ display_secret_key: string;
+ secret_key: string;
+ base_url: string | null;
+ custom_models: Generated<string[]>;
+ with_default_models: Generated<boolean>;
+ extra_headers: string | null;
+ extra_header_keys: Generated<string[]>;
+ config: unknown | null;
+ project_id: string;
};
export type LlmSchema = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- name: string;
- description: string;
- schema: unknown;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ name: string;
+ description: string;
+ schema: unknown;
};
export type LlmTool = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- name: string;
- description: string;
- parameters: unknown;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ name: string;
+ description: string;
+ parameters: unknown;
};
export type Media = {
- id: string;
- sha_256_hash: string;
- project_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- uploaded_at: Timestamp | null;
- upload_http_status: number | null;
- upload_http_error: string | null;
- bucket_path: string;
- bucket_name: string;
- content_type: string;
- content_length: string;
+ id: string;
+ sha_256_hash: string;
+ project_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ uploaded_at: Timestamp | null;
+ upload_http_status: number | null;
+ upload_http_error: string | null;
+ bucket_path: string;
+ bucket_name: string;
+ content_type: string;
+ content_length: string;
};
export type MembershipInvitation = {
- id: string;
- email: string;
- org_id: string;
- org_role: Role;
- project_id: string | null;
- project_role: Role | null;
- invited_by_user_id: string | null;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ email: string;
+ org_id: string;
+ org_role: Role;
+ project_id: string | null;
+ project_role: Role | null;
+ invited_by_user_id: string | null;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type Model = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string | null;
- model_name: string;
- match_pattern: string;
- start_date: Timestamp | null;
- input_price: string | null;
- output_price: string | null;
- total_price: string | null;
- unit: string | null;
- tokenizer_id: string | null;
- tokenizer_config: unknown | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string | null;
+ model_name: string;
+ match_pattern: string;
+ start_date: Timestamp | null;
+ input_price: string | null;
+ output_price: string | null;
+ total_price: string | null;
+ unit: string | null;
+ tokenizer_id: string | null;
+ tokenizer_config: unknown | null;
};
export type ObservationMedia = {
- id: string;
- project_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- media_id: string;
- trace_id: string;
- observation_id: string;
- field: string;
+ id: string;
+ project_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ media_id: string;
+ trace_id: string;
+ observation_id: string;
+ field: string;
};
export type Organization = {
- id: string;
- name: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- cloud_config: unknown | null;
- metadata: unknown | null;
+ id: string;
+ name: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ cloud_config: unknown | null;
+ metadata: unknown | null;
};
export type OrganizationMembership = {
- id: string;
- org_id: string;
- user_id: string;
- role: Role;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ id: string;
+ org_id: string;
+ user_id: string;
+ role: Role;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type PosthogIntegration = {
- project_id: string;
- encrypted_posthog_api_key: string;
- posthog_host_name: string;
- last_sync_at: Timestamp | null;
- enabled: boolean;
- created_at: Generated<Timestamp>;
+ project_id: string;
+ encrypted_posthog_api_key: string;
+ posthog_host_name: string;
+ last_sync_at: Timestamp | null;
+ enabled: boolean;
+ created_at: Generated<Timestamp>;
};
export type Price = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- model_id: string;
- usage_type: string;
- price: string;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ model_id: string;
+ usage_type: string;
+ price: string;
};
export type Project = {
- id: string;
- org_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- deleted_at: Timestamp | null;
- name: string;
- retention_days: number | null;
- metadata: unknown | null;
+ id: string;
+ org_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ deleted_at: Timestamp | null;
+ name: string;
+ retention_days: number | null;
+ metadata: unknown | null;
};
export type ProjectMembership = {
- org_membership_id: string;
- project_id: string;
- user_id: string;
- role: Role;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
+ org_membership_id: string;
+ project_id: string;
+ user_id: string;
+ role: Role;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
};
export type Prompt = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- created_by: string;
- prompt: unknown;
- name: string;
- version: number;
- type: Generated<string>;
- is_active: boolean | null;
- config: Generated<unknown>;
- tags: Generated<string[]>;
- labels: Generated<string[]>;
- commit_message: string | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ created_by: string;
+ prompt: unknown;
+ name: string;
+ version: number;
+ type: Generated<string>;
+ is_active: boolean | null;
+ config: Generated<unknown>;
+ tags: Generated<string[]>;
+ labels: Generated<string[]>;
+ commit_message: string | null;
};
export type PromptDependency = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- parent_id: string;
- child_name: string;
- child_label: string | null;
- child_version: number | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ parent_id: string;
+ child_name: string;
+ child_label: string | null;
+ child_version: number | null;
};
export type PromptProtectedLabels = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- label: string;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ label: string;
};
export type ScoreConfig = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- name: string;
- data_type: ScoreDataType;
- is_archived: Generated<boolean>;
- min_value: number | null;
- max_value: number | null;
- categories: unknown | null;
- description: string | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ name: string;
+ data_type: ScoreDataType;
+ is_archived: Generated<boolean>;
+ min_value: number | null;
+ max_value: number | null;
+ categories: unknown | null;
+ description: string | null;
};
export type Session = {
- id: string;
- session_token: string;
- user_id: string;
- expires: Timestamp;
+ id: string;
+ session_token: string;
+ user_id: string;
+ expires: Timestamp;
};
export type SsoConfig = {
- domain: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- auth_provider: string;
- auth_config: unknown | null;
+ domain: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ auth_provider: string;
+ auth_config: unknown | null;
};
export type TableViewPreset = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- name: string;
- table_name: string;
- created_by: string | null;
- updated_by: string | null;
- filters: unknown;
- column_order: unknown;
- column_visibility: unknown;
- search_query: string | null;
- order_by: unknown | null;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ name: string;
+ table_name: string;
+ created_by: string | null;
+ updated_by: string | null;
+ filters: unknown;
+ column_order: unknown;
+ column_visibility: unknown;
+ search_query: string | null;
+ order_by: unknown | null;
};
export type TraceMedia = {
- id: string;
- project_id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- media_id: string;
- trace_id: string;
- field: string;
+ id: string;
+ project_id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ media_id: string;
+ trace_id: string;
+ field: string;
};
export type TraceSession = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- bookmarked: Generated<boolean>;
- public: Generated<boolean>;
- environment: Generated<string>;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ bookmarked: Generated<boolean>;
+ public: Generated<boolean>;
+ environment: Generated<string>;
};
export type Trigger = {
- id: string;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- project_id: string;
- eventSource: string;
- eventActions: string[];
- filter: unknown | null;
- status: Generated<JobConfigState>;
+ id: string;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ project_id: string;
+ eventSource: string;
+ eventActions: string[];
+ filter: unknown | null;
+ status: Generated<JobConfigState>;
};
export type User = {
- id: string;
- name: string | null;
- email: string | null;
- email_verified: Timestamp | null;
- password: string | null;
- image: string | null;
- admin: Generated<boolean>;
- created_at: Generated<Timestamp>;
- updated_at: Generated<Timestamp>;
- feature_flags: Generated<string[]>;
+ id: string;
+ name: string | null;
+ email: string | null;
+ email_verified: Timestamp | null;
+ password: string | null;
+ image: string | null;
+ admin: Generated<boolean>;
+ created_at: Generated<Timestamp>;
+ updated_at: Generated<Timestamp>;
+ feature_flags: Generated<string[]>;
};
export type VerificationToken = {
- identifier: string;
- token: string;
- expires: Timestamp;
+ identifier: string;
+ token: string;
+ expires: Timestamp;
};
export type DB = {
- Account: Account;
- actions: Action;
- annotation_queue_items: AnnotationQueueItem;
- annotation_queues: AnnotationQueue;
- api_keys: ApiKey;
- audit_logs: AuditLog;
- automation_executions: AutomationExecution;
- automations: Automation;
- background_migrations: BackgroundMigration;
- batch_exports: BatchExport;
- billing_meter_backups: BillingMeterBackup;
- blob_storage_integrations: BlobStorageIntegration;
- comments: Comment;
- cron_jobs: CronJobs;
- dashboard_widgets: DashboardWidget;
- dashboards: Dashboard;
- dataset_items: DatasetItem;
- dataset_run_items: DatasetRunItems;
- dataset_runs: DatasetRuns;
- datasets: Dataset;
- default_llm_models: DefaultLlmModel;
- eval_templates: EvalTemplate;
- job_configurations: JobConfiguration;
- job_executions: JobExecution;
- llm_api_keys: LlmApiKeys;
- llm_schemas: LlmSchema;
- llm_tools: LlmTool;
- media: Media;
- membership_invitations: MembershipInvitation;
- models: Model;
- observation_media: ObservationMedia;
- observations: LegacyPrismaObservation;
- organization_memberships: OrganizationMembership;
- organizations: Organization;
- posthog_integrations: PosthogIntegration;
- prices: Price;
- project_memberships: ProjectMembership;
- projects: Project;
- prompt_dependencies: PromptDependency;
- prompt_protected_labels: PromptProtectedLabels;
- prompts: Prompt;
- score_configs: ScoreConfig;
- scores: LegacyPrismaScore;
- Session: Session;
- sso_configs: SsoConfig;
- table_view_presets: TableViewPreset;
- trace_media: TraceMedia;
- trace_sessions: TraceSession;
- traces: LegacyPrismaTrace;
- triggers: Trigger;
- users: User;
- verification_tokens: VerificationToken;
+ Account: Account;
+ actions: Action;
+ annotation_queue_items: AnnotationQueueItem;
+ annotation_queues: AnnotationQueue;
+ api_keys: ApiKey;
+ audit_logs: AuditLog;
+ automation_executions: AutomationExecution;
+ automations: Automation;
+ background_migrations: BackgroundMigration;
+ batch_exports: BatchExport;
+ billing_meter_backups: BillingMeterBackup;
+ blob_storage_integrations: BlobStorageIntegration;
+ comments: Comment;
+ cron_jobs: CronJobs;
+ dashboard_widgets: DashboardWidget;
+ dashboards: Dashboard;
+ dataset_items: DatasetItem;
+ dataset_run_items: DatasetRunItems;
+ dataset_runs: DatasetRuns;
+ datasets: Dataset;
+ default_llm_models: DefaultLlmModel;
+ eval_templates: EvalTemplate;
+ job_configurations: JobConfiguration;
+ job_executions: JobExecution;
+ llm_api_keys: LlmApiKeys;
+ llm_schemas: LlmSchema;
+ llm_tools: LlmTool;
+ media: Media;
+ membership_invitations: MembershipInvitation;
+ models: Model;
+ observation_media: ObservationMedia;
+ observations: LegacyPrismaObservation;
+ organization_memberships: OrganizationMembership;
+ organizations: Organization;
+ posthog_integrations: PosthogIntegration;
+ prices: Price;
+ project_memberships: ProjectMembership;
+ projects: Project;
+ prompt_dependencies: PromptDependency;
+ prompt_protected_labels: PromptProtectedLabels;
+ prompts: Prompt;
+ score_configs: ScoreConfig;
+ scores: LegacyPrismaScore;
+ Session: Session;
+ sso_configs: SsoConfig;
+ table_view_presets: TableViewPreset;
+ trace_media: TraceMedia;
+ trace_sessions: TraceSession;
+ traces: LegacyPrismaTrace;
+ triggers: Trigger;
+ users: User;
+ verification_tokens: VerificationToken;
};
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 4e8beb180e..cd930e9c04 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -60,7 +60,7 @@ importers:
next-auth:
specifier: ^4.24.11
zod:
specifier: ^3.25.62
version: 3.25.62
@@ -88,10 +88,10 @@ importers:
eslint-plugin-prettier:
specifier: ^5.1.3
prettier:
- specifier: ^3.4.2
- version: 3.4.2
+ specifier: ^3.6.2
+ version: 3.6.2
ts-node:
specifier: ^10.9.2
version: 10.9.2(@types/[email protected])([email protected])
@@ -234,7 +234,7 @@ importers:
version: 4.1.1
next-auth:
specifier: ^4.24.11
nodemailer:
specifier: ^6.9.15
version: 6.9.15
@@ -634,7 +634,7 @@ importers:
next-auth:
specifier: ^4.24.11
next-query-params:
specifier: ^5.0.1
@@ -835,8 +835,8 @@ importers:
specifier: ^3.6.2
version: 3.6.2
prettier-plugin-tailwindcss:
- specifier: ^0.6.6
- version: 0.6.6([email protected])
+ specifier: ^0.6.13
+ version: 0.6.13([email protected])
tailwindcss:
specifier: ^3.4.17
@@ -10222,15 +10222,15 @@ packages:
prettier:
optional: true
- resolution: {integrity: sha512-OPva5S7WAsPLEsOuOWXATi13QrCKACCiIonFgIR6V4lYv4QLp++UXVhZSzRbZxXGimkQtQT86CC6fQqTOybGng==}
+ resolution: {integrity: sha512-uQ0asli1+ic8xrrSmIOaElDu0FacR4x69GynTh2oZjFY10JUt6EEumTQl5tB4fMeD6I1naKd+4rXQQ7esT2i1g==}
engines: {node: '>=14.21.3'}
peerDependencies:
'@ianvs/prettier-plugin-sort-imports': '*'
'@prettier/plugin-pug': '*'
'@shopify/prettier-plugin-liquid': '*'
'@trivago/prettier-plugin-sort-imports': '*'
- '@zackad/prettier-plugin-twig-melody': '*'
+ '@zackad/prettier-plugin-twig': '*'
prettier: ^3.0
prettier-plugin-astro: '*'
prettier-plugin-css-order: '*'
@@ -10252,7 +10252,7 @@ packages:
optional: true
'@trivago/prettier-plugin-sort-imports':
optional: true
- '@zackad/prettier-plugin-twig-melody':
+ '@zackad/prettier-plugin-twig':
optional: true
prettier-plugin-astro:
optional: true
@@ -10277,11 +10277,6 @@ packages:
prettier-plugin-svelte:
optional: true
- resolution: {integrity: sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==}
- engines: {node: '>=14'}
- hasBin: true
-
resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==}
engines: {node: '>=14'}
@@ -15069,7 +15064,7 @@ snapshots:
dependencies:
'@next/[email protected]': {}
@@ -18397,7 +18392,7 @@ snapshots:
'@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
eslint-config-prettier: 9.1.0([email protected])
+ eslint-import-resolver-alias: 1.1.2([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected]))
eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
eslint-plugin-eslint-comments: 3.2.0([email protected])
@@ -20388,7 +20383,7 @@ snapshots:
eslint-plugin-turbo: 2.5.4([email protected])([email protected])
turbo: 2.5.4
dependencies:
@@ -20479,7 +20474,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -20506,7 +20501,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.15.1
is-glob: 4.0.3
@@ -20578,16 +20573,6 @@ snapshots:
optionalDependencies:
- dependencies:
- eslint: 8.57.0
- prettier: 3.4.2
- prettier-linter-helpers: 1.0.0
- synckit: 0.8.8
- optionalDependencies:
- '@types/eslint': 8.56.12
- eslint-config-prettier: 9.1.0([email protected])
-
dependencies:
eslint: 8.57.0
@@ -23232,7 +23217,7 @@ snapshots:
dependencies:
type-fest: 2.19.0
dependencies:
'@babel/runtime': 7.26.0
'@panva/hkdf': 1.1.1
@@ -23957,12 +23942,10 @@ snapshots:
optionalDependencies:
prettier: 3.6.2
dependencies:
prettier: 3.6.2
-
diff --git a/web/package.json b/web/package.json
index 6bb15f57f0..06555dd16b 100644
--- a/web/package.json
+++ b/web/package.json
@@ -11,7 +11,6 @@
"dev": "dotenv -e ../.env -- next dev",
"lint": "dotenv -e ../.env -- next lint --max-warnings 0",
"lint:fix": "dotenv -e ../.env -- next lint --fix",
- "prettier": "prettier --write ./src *.{ts,js}",
"clean": "rm -rf node_modules",
"start": "dotenv -e ../.env -- sh -c 'NEXT_MANUAL_SIG_HANDLE=true next start'",
"test": "cross-env NODE_OPTIONS='--no-experimental-require-module' dotenv -e ../.env.test -e ../.env -- jest --verbose --runInBand --detectOpenHandles --selectProjects async-server",
@@ -191,7 +190,7 @@
"jest-environment-jsdom": "^29.7.0",
"node-mocks-http": "^1.14.1",
"prettier": "^3.6.2",
- "prettier-plugin-tailwindcss": "^0.6.6",
+ "prettier-plugin-tailwindcss": "^0.6.13",
"tailwindcss": "^3.4.17",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",