changes on global catalogue
This commit is contained in:
@@ -809,6 +809,7 @@ export async function getProductSubcategories(opts: {
|
||||
/** Best-effort role label from the numeric roleid (roles aren't fully resolvable for every config). */
|
||||
export function roleName(roleid: number): string {
|
||||
const map: Record<number, string> = {
|
||||
[-1]: 'Unassigned',
|
||||
0: 'Unassigned',
|
||||
1: 'Owner',
|
||||
2: 'Manager',
|
||||
@@ -914,6 +915,9 @@ export interface UpdateUserInput {
|
||||
state?: string;
|
||||
postcode?: string;
|
||||
status?: string;
|
||||
roleid?: number | null;
|
||||
locationid?: number | null;
|
||||
applocationid?: number | null;
|
||||
}
|
||||
|
||||
/** PUT /users/update — update an existing web staff user. */
|
||||
|
||||
Reference in New Issue
Block a user