You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-08 23:07:06 +02:00
refactor(mobile): remove int user id (#16814)
* refactor: user entity * chore: rebase fixes * refactor: remove int user Id * refactor: migrate store userId from int to string * refactor: rename uid to id * fix: migration * pr feedback --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
6
mobile/test/fixtures/user.stub.dart
vendored
6
mobile/test/fixtures/user.stub.dart
vendored
@ -4,7 +4,7 @@ abstract final class UserStub {
|
||||
const UserStub._();
|
||||
|
||||
static final admin = UserDto(
|
||||
uid: "admin",
|
||||
id: "admin",
|
||||
email: "admin@test.com",
|
||||
name: "admin",
|
||||
isAdmin: true,
|
||||
@ -14,7 +14,7 @@ abstract final class UserStub {
|
||||
);
|
||||
|
||||
static final user1 = UserDto(
|
||||
uid: "user1",
|
||||
id: "user1",
|
||||
email: "user1@test.com",
|
||||
name: "user1",
|
||||
isAdmin: false,
|
||||
@ -24,7 +24,7 @@ abstract final class UserStub {
|
||||
);
|
||||
|
||||
static final user2 = UserDto(
|
||||
uid: "user2",
|
||||
id: "user2",
|
||||
email: "user2@test.com",
|
||||
name: "user2",
|
||||
isAdmin: false,
|
||||
|
Reference in New Issue
Block a user