Adding id as a metadata file come card ressource

This commit is contained in:
2025-05-03 20:32:20 +02:00
parent 32ce981d40
commit 2f2c5a035d

View File

@@ -12,7 +12,7 @@ type CrudRJSFSchema = RJSFSchema & {
} | undefined; } | undefined;
} }
const meta_fields = ["label", "created_at", "created_by", "updated_at", "updated_by"] const meta_fields = ["id", "label", "created_at", "created_by", "updated_at", "updated_by"]
export const jsonschemaProvider = { export const jsonschemaProvider = {
getCardResourceSchema: async (resourceName: string): Promise<CrudRJSFSchema> => { getCardResourceSchema: async (resourceName: string): Promise<CrudRJSFSchema> => {