Developer Tools
Developer Tools is an app designed to support developers during local development. With Developer Tools, developers can modify permissions and environment settings to test and troubleshoot their code.
How to install
Install as developer dependency
npm install -D @webprovisions-registry/alliance-app-developer-tools --registry https://registry.webprovisions.io
Add app to your Alliance configuration file.
ts// alliance.config.ts import { defineConfig } from '@telia-ace/alliance-framework/config'; export default defineConfig({ server: { apps: ['@webprovisions-registry/alliance-app-developer-tools'], }, });
Capabilities
No available capabilities.
Managed Objects
currentUser
Object containing information about the current user.
Example
ts
// app.ts
import { queryObjects } from '@telia-ace/alliance-framework';
const query = queryObjects('currentUser');
const currentUser = await query.resolve();
Object Type
Property | Type | Description |
---|---|---|
displayName | string | Users name |
email | string | Users email address |
type | string | User type |
objectId | string | Users AD object id |
permissions | { permission: Permission }[] | Users permissions |
workspaces | { workspace: Workspace }[] | Workspaces that the current user has access to |
Permission
Property | Type | Description |
---|---|---|
name | string | Permission name |
app | { name: string } | App where the permission originates from |
Workspace
Property | Type | Description |
---|---|---|
name | string | Workspace name |
slug | string | URL friendly workspace name |
Query Args
No arguments.
currentWorkspace
Object containing information about the current workspace.
Example
ts
// app.ts
import { queryObjects } from '@telia-ace/alliance-framework';
const query = queryObjects('currentWorkspace');
const currentWorkspace = await query.resolve();
Object Type
Property | Type | Description |
---|---|---|
name | string | Workspace name |
slug | string | URL friendly workspace name |
Query Args
No arguments.