@frontegg/rest-api
Advanced tools
Comparing version 1.15.1-alpha.434503369 to 1.15.1
@@ -131,3 +131,3 @@ import { IUserProfile } from '..'; | ||
secret?: string; | ||
roleIds?: Array<string>; | ||
roleIds?: string[]; | ||
} | ||
@@ -139,3 +139,3 @@ export interface IUpdateUserApiTokensData { | ||
description: string; | ||
roleIds: Array<string>; | ||
roleIds: string[]; | ||
} | ||
@@ -142,0 +142,0 @@ export interface IDeleteApiToken { |
{ | ||
"name": "@frontegg/rest-api", | ||
"libName": "FronteggRestApi", | ||
"version": "1.15.1-alpha.434503369", | ||
"version": "1.15.1", | ||
"author": "Frontegg LTD", | ||
@@ -12,5 +12,5 @@ "module": "index.esm.js", | ||
}, | ||
"gitHead": "d9e6d78bea7e24e4764f1742afac088c16544f26", | ||
"gitHead": "0e758c201191b797bbba81c96f7f416c70c9cc59", | ||
"main": "index.js", | ||
"peerDependencies": {} | ||
} |
import { QueryFilter, QuerySort } from '../interfaces'; | ||
export declare type IRole = { | ||
id: string; | ||
key: string; | ||
isDefault: boolean; | ||
name: string; | ||
description?: null; | ||
permissions: string[]; | ||
tenantId?: string; | ||
vendorId: string; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
}; | ||
export declare type IRolePermission = { | ||
id: string; | ||
key: string; | ||
name: string; | ||
description?: string; | ||
categoryId: string; | ||
fePermission: boolean; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
}; | ||
export declare type IUserProfile = { | ||
@@ -10,4 +32,4 @@ id: string; | ||
profilePictureUrl: string; | ||
roles: string[]; | ||
permissions: string[]; | ||
roles: IRole[]; | ||
permissions: IRolePermission[]; | ||
tenantId: string; | ||
@@ -14,0 +36,0 @@ tenantIds: string[]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
381485
4915
1
37