@thisisagile/easy 15.8.5 → 15.8.6

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/dist/index.d.mts CHANGED
@@ -2457,21 +2457,21 @@ declare class App extends Scope {
2457
2457
  declare class Search<T, Options = FetchOptions> {
2458
2458
  protected repo: Repository<T, Options>;
2459
2459
  constructor(repo: Repository<T, Options>);
2460
- all: (options?: Options) => Promise<PageList<T>>;
2461
- byId: (id: Id) => Promise<T>;
2462
- byIds: (...ids: Id[]) => Promise<List<T>>;
2463
- byKey: (key: Key, options?: Options) => Promise<PageList<T>>;
2464
- query: ({ query, skip, take }: Req) => Promise<PageList<T>>;
2465
- search: (query: JsonValue, options?: Options) => Promise<PageList<T>>;
2466
- filter: (options?: Options) => Promise<PageList<T>>;
2467
- exists: (id: Id) => Promise<boolean>;
2460
+ all(options?: Options): Promise<PageList<T>>;
2461
+ byId(id: Id): Promise<T>;
2462
+ byIds(...ids: Id[]): Promise<List<T>>;
2463
+ byKey(key: Key, options?: Options): Promise<PageList<T>>;
2464
+ query({ query, skip, take }: Req): Promise<PageList<T>>;
2465
+ search(query: JsonValue, options?: Options): Promise<PageList<T>>;
2466
+ filter(options?: Options): Promise<PageList<T>>;
2467
+ exists(id: Id): Promise<boolean>;
2468
2468
  }
2469
2469
 
2470
2470
  declare class Manage<T, Options = FetchOptions> extends Search<T, Options> {
2471
- add: (json: Json) => Promise<T>;
2472
- update: (id: Id, json: Json) => Promise<T>;
2473
- upsert: (id: Id, json: Json) => Promise<T>;
2474
- remove: (id: Id) => Promise<boolean>;
2471
+ add(json: Json): Promise<T>;
2472
+ update(id: Id, json: Json): Promise<T>;
2473
+ upsert(id: Id, json: Json): Promise<T>;
2474
+ remove(id: Id): Promise<boolean>;
2475
2475
  }
2476
2476
 
2477
2477
  declare class UseCase extends Enum {
package/dist/index.d.ts CHANGED
@@ -2457,21 +2457,21 @@ declare class App extends Scope {
2457
2457
  declare class Search<T, Options = FetchOptions> {
2458
2458
  protected repo: Repository<T, Options>;
2459
2459
  constructor(repo: Repository<T, Options>);
2460
- all: (options?: Options) => Promise<PageList<T>>;
2461
- byId: (id: Id) => Promise<T>;
2462
- byIds: (...ids: Id[]) => Promise<List<T>>;
2463
- byKey: (key: Key, options?: Options) => Promise<PageList<T>>;
2464
- query: ({ query, skip, take }: Req) => Promise<PageList<T>>;
2465
- search: (query: JsonValue, options?: Options) => Promise<PageList<T>>;
2466
- filter: (options?: Options) => Promise<PageList<T>>;
2467
- exists: (id: Id) => Promise<boolean>;
2460
+ all(options?: Options): Promise<PageList<T>>;
2461
+ byId(id: Id): Promise<T>;
2462
+ byIds(...ids: Id[]): Promise<List<T>>;
2463
+ byKey(key: Key, options?: Options): Promise<PageList<T>>;
2464
+ query({ query, skip, take }: Req): Promise<PageList<T>>;
2465
+ search(query: JsonValue, options?: Options): Promise<PageList<T>>;
2466
+ filter(options?: Options): Promise<PageList<T>>;
2467
+ exists(id: Id): Promise<boolean>;
2468
2468
  }
2469
2469
 
2470
2470
  declare class Manage<T, Options = FetchOptions> extends Search<T, Options> {
2471
- add: (json: Json) => Promise<T>;
2472
- update: (id: Id, json: Json) => Promise<T>;
2473
- upsert: (id: Id, json: Json) => Promise<T>;
2474
- remove: (id: Id) => Promise<boolean>;
2471
+ add(json: Json): Promise<T>;
2472
+ update(id: Id, json: Json): Promise<T>;
2473
+ upsert(id: Id, json: Json): Promise<T>;
2474
+ remove(id: Id): Promise<boolean>;
2475
2475
  }
2476
2476
 
2477
2477
  declare class UseCase extends Enum {