outlet-orm 2.5.0 → 2.5.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.
package/types/index.d.ts CHANGED
@@ -191,6 +191,10 @@ declare module 'outlet-orm' {
191
191
  static whereNotNull<T extends Model>(this: new () => T, column: string): QueryBuilder<T>;
192
192
  static count(): Promise<number>;
193
193
  static with<T extends Model>(this: new () => T, ...relations: string[] | [Record<string, (qb: QueryBuilder<any>) => void> | string[]]): QueryBuilder<T>;
194
+ /** Include hidden attributes in query results */
195
+ static withHidden<T extends Model>(this: new () => T): QueryBuilder<T>;
196
+ /** Control visibility of hidden attributes (false = hide, true = show) */
197
+ static withoutHidden<T extends Model>(this: new () => T, show?: boolean): QueryBuilder<T>;
194
198
 
195
199
  // Instance methods
196
200
  fill(attributes: Record<string, any>): this;