fix build

This commit is contained in:
Wells Bunker 2025-09-17 15:37:05 -06:00
parent 3b3a4f5a5a
commit 18e7bd2902
No known key found for this signature in database
GPG Key ID: DB16D6F2679B78FC
3 changed files with 9 additions and 4 deletions

View File

@ -16,8 +16,7 @@ export const TextSearchResultSchema = z.object({
searchableText: z.string(),
});
// Asset type enum matching the database schema
export const AssetTypeSchema = z.enum(assetTypeEnum.enumValues);
import { AssetTypeSchema } from '../../schema-types/enums';
/**
* Date range filter schema

View File

@ -1,7 +1,13 @@
// Type definitions for database enums
import { z } from 'zod';
export const AssetTypeSchema = z.enum(['chat', 'metric_file', 'dashboard_file', 'report_file', 'collection']);
export const AssetTypeSchema = z.enum([
'chat',
'metric_file',
'dashboard_file',
'report_file',
'collection',
]);
export type AssetType = z.infer<typeof AssetTypeSchema>;
export type AssetPermissionRole =