@danielhritcu/zenstack-custom 1.2.0 → 1.2.1

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.
@@ -92,7 +92,9 @@ declare function defineConfig<T extends Record<string, PgTable>, D extends Recor
92
92
  derived?: D;
93
93
  models: (orm: T & {
94
94
  [K in keyof D]: D[K] extends DerivedModelDescriptor<infer TBase> ? TBase & D[K] : D[K];
95
- }) => Record<string, ModelConfig>;
95
+ }) => {
96
+ [K in keyof T]: ModelConfig;
97
+ };
96
98
  }): ZenConfig;
97
99
 
98
100
  export { type AnyRelation as A, type DerivedField as D, type ExtendedSchema as E, type GlobalConfig as G, type ManyRelation as M, type OneRelation as O, type SchemaConfig as S, type ThroughPath as T, type ZenConfig as Z, type DerivedModelDescriptor as a, type ModelConfig as b, type ModelsOutput as c, type SearchField as d, type SearchProfile as e, type ThroughRelation as f, defineConfig as g };
@@ -92,7 +92,9 @@ declare function defineConfig<T extends Record<string, PgTable>, D extends Recor
92
92
  derived?: D;
93
93
  models: (orm: T & {
94
94
  [K in keyof D]: D[K] extends DerivedModelDescriptor<infer TBase> ? TBase & D[K] : D[K];
95
- }) => Record<string, ModelConfig>;
95
+ }) => {
96
+ [K in keyof T]: ModelConfig;
97
+ };
96
98
  }): ZenConfig;
97
99
 
98
100
  export { type AnyRelation as A, type DerivedField as D, type ExtendedSchema as E, type GlobalConfig as G, type ManyRelation as M, type OneRelation as O, type SchemaConfig as S, type ThroughPath as T, type ZenConfig as Z, type DerivedModelDescriptor as a, type ModelConfig as b, type ModelsOutput as c, type SearchField as d, type SearchProfile as e, type ThroughRelation as f, defineConfig as g };