@posx/core 5.5.105 → 5.5.107

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/build/index.d.ts CHANGED
@@ -406,6 +406,11 @@ declare module '@posx/core/services/abstract.service' {
406
406
  updateOne(id: number, item: Partial<T>): Promise<T>;
407
407
  updateMany(items: T[]): Promise<T[]>;
408
408
  deleteOne(model: T): Promise<T>;
409
+ /**
410
+ * Hard delete one entity
411
+ * @param model
412
+ */
413
+ hardDeleteOne(model: T): Promise<T>;
409
414
  }
410
415
  export class AppRemoteService<T extends IAppCoreModel> extends AppCoreService<T> implements IAppRemoteService<T> {
411
416
  protected readonly http: AxiosInstance;
@@ -416,6 +421,7 @@ declare module '@posx/core/services/abstract.service' {
416
421
  updateOne(id: number, item: Partial<T>): Promise<T>;
417
422
  updateMany(items: T[]): Promise<T[]>;
418
423
  deleteOne(model: T): Promise<T>;
424
+ hardDeleteOne(model: T): Promise<T>;
419
425
  }
420
426
  export interface IAppModelSequence {
421
427
  sequence: number;