@posx/core 5.5.115 → 5.5.117

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
@@ -501,7 +501,7 @@ declare module '@posx/core/services/app.service' {
501
501
  * @param newPassword The new password to set for the user.
502
502
  * @returns A promise that resolves to true if the password was changed successfully, or false otherwise.
503
503
  */
504
- changePassword(userUid: string, newPassword: string): Promise<boolean>;
504
+ changePassword(newPassword: string): Promise<string>;
505
505
  }
506
506
  export class EmployeeService extends AppRemoteService<Employee> implements IEmployeeService {
507
507
  readonly http: any;
@@ -512,7 +512,7 @@ declare module '@posx/core/services/app.service' {
512
512
  constructor(http: any, db: Dexie, options: IServiceOptions, moduleName?: string, methodName?: string);
513
513
  login(userUid: string, password: string): Promise<boolean>;
514
514
  createEmployee(employee: IEmployee): Promise<IEmployee>;
515
- changePassword(userUid: string, newPassword: string): Promise<boolean>;
515
+ changePassword(newPassword: string): Promise<string>;
516
516
  }
517
517
  export interface IItemService extends IAppRemoteService<IItem> {
518
518
  /**