@byline/admin 3.7.0 → 3.8.0
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.
|
@@ -111,6 +111,13 @@ export interface CountAdminUsersOptions {
|
|
|
111
111
|
export interface AdminUsersRepository {
|
|
112
112
|
create(input: CreateAdminUserInput): Promise<AdminUserRow>;
|
|
113
113
|
getById(id: string): Promise<AdminUserRow | null>;
|
|
114
|
+
/**
|
|
115
|
+
* Bulk lookup for audit actor-label resolution (the `actors`
|
|
116
|
+
* map on admin document reads — see docs/AUDIT.md, Workstream 1). Ids
|
|
117
|
+
* with no matching row are simply absent from the result; callers
|
|
118
|
+
* render a tombstone label for them.
|
|
119
|
+
*/
|
|
120
|
+
getByIds(ids: string[]): Promise<AdminUserRow[]>;
|
|
114
121
|
getByEmail(email: string): Promise<AdminUserRow | null>;
|
|
115
122
|
getByUsername(username: string): Promise<AdminUserRow | null>;
|
|
116
123
|
/**
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@byline/admin",
|
|
3
3
|
"private": false,
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.8.0",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.9.0"
|
|
8
8
|
},
|
|
@@ -146,10 +146,10 @@
|
|
|
146
146
|
"uuid": "^14.0.0",
|
|
147
147
|
"zod": "^4.4.3",
|
|
148
148
|
"zod-form-data": "^3.0.1",
|
|
149
|
-
"@byline/
|
|
150
|
-
"@byline/
|
|
151
|
-
"@byline/
|
|
152
|
-
"@byline/
|
|
149
|
+
"@byline/i18n": "3.8.0",
|
|
150
|
+
"@byline/auth": "3.8.0",
|
|
151
|
+
"@byline/ui": "3.8.0",
|
|
152
|
+
"@byline/core": "3.8.0"
|
|
153
153
|
},
|
|
154
154
|
"peerDependencies": {
|
|
155
155
|
"react": "^19.0.0",
|
|
@@ -126,6 +126,13 @@ export interface CountAdminUsersOptions {
|
|
|
126
126
|
export interface AdminUsersRepository {
|
|
127
127
|
create(input: CreateAdminUserInput): Promise<AdminUserRow>
|
|
128
128
|
getById(id: string): Promise<AdminUserRow | null>
|
|
129
|
+
/**
|
|
130
|
+
* Bulk lookup for audit actor-label resolution (the `actors`
|
|
131
|
+
* map on admin document reads — see docs/AUDIT.md, Workstream 1). Ids
|
|
132
|
+
* with no matching row are simply absent from the result; callers
|
|
133
|
+
* render a tombstone label for them.
|
|
134
|
+
*/
|
|
135
|
+
getByIds(ids: string[]): Promise<AdminUserRow[]>
|
|
129
136
|
getByEmail(email: string): Promise<AdminUserRow | null>
|
|
130
137
|
getByUsername(username: string): Promise<AdminUserRow | null>
|
|
131
138
|
/**
|