@base44-preview/sdk 0.8.18-pr.117.92568e3 → 0.8.18-pr.117.d0ffb77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -95,6 +95,7 @@ export interface EntityTypeRegistry {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Full record type for each entity: schema fields + server-injected fields (id, created_date, etc.).
|
|
98
|
+
* Use for state that holds results of list()/get(), e.g. `useState<EntityRecord['Task']>([])`.
|
|
98
99
|
*/
|
|
99
100
|
export type EntityRecord = {
|
|
100
101
|
[K in keyof EntityTypeRegistry]: EntityTypeRegistry[K] & ServerEntityFields;
|