@frontegg/client
Advanced tools
Comparing version 1.0.40 to 1.0.41-0
import { AuditsClient } from './src/audits'; | ||
import { frontegg, IFronteggOptions } from './src/middleware'; | ||
import { FronteggPermissions } from './src/permissions'; | ||
export { AuditsClient, frontegg, FronteggPermissions, IFronteggOptions, }; | ||
import { TenantsClient } from './src/tenants'; | ||
export { AuditsClient, TenantsClient, frontegg, FronteggPermissions, IFronteggOptions, }; |
@@ -9,1 +9,3 @@ "use strict"; | ||
exports.FronteggPermissions = permissions_1.FronteggPermissions; | ||
var tenants_1 = require("./src/tenants"); | ||
exports.TenantsClient = tenants_1.TenantsClient; |
@@ -5,4 +5,5 @@ export declare namespace config { | ||
static auditsService: string; | ||
static tenantsService: string; | ||
static metadataService: string; | ||
} | ||
} |
@@ -16,2 +16,3 @@ "use strict"; | ||
urls.auditsService = process.env.FRONTEGG_AUDITS_SERVICE_URL || baseUrl + "/audits/"; | ||
urls.tenantsService = process.env.FRONTEGG_TENANTS_SERVICE_URL || baseUrl + "/tenants/"; | ||
urls.metadataService = process.env.FRONTEGG_METADATA_SERVICE_URL || baseUrl + "/metadata/"; | ||
@@ -18,0 +19,0 @@ return urls; |
@@ -8,2 +8,12 @@ export declare class FronteggPermissions { | ||
}; | ||
static Tenants: { | ||
Read: string; | ||
Add: string; | ||
Update: string; | ||
Replace: string; | ||
Delete: string; | ||
ReadKeyHistory: string; | ||
AddTenantEvent: string; | ||
ReadTenantEvent: string; | ||
}; | ||
static Team: { | ||
@@ -10,0 +20,0 @@ Read: string[]; |
@@ -12,2 +12,12 @@ "use strict"; | ||
}; | ||
FronteggPermissions.Tenants = { | ||
Read: 'GET /tenants', | ||
Add: 'POST /tenants', | ||
Update: 'PATCH /tenants', | ||
Replace: 'PUT /tenants', | ||
Delete: 'DELETE /tenants', | ||
ReadKeyHistory: 'GET /tenants/history', | ||
AddTenantEvent: 'POST /tenants/events', | ||
ReadTenantEvent: 'GET /tenants/events', | ||
}; | ||
FronteggPermissions.Team = { | ||
@@ -14,0 +24,0 @@ Read: ['GET /team', 'GET /team/roles'], |
import { AuditsClient } from './src/audits'; | ||
import { frontegg, IFronteggOptions } from './src/middleware'; | ||
import { FronteggPermissions } from './src/permissions'; | ||
import { TenantsClient } from './src/tenants'; | ||
export { | ||
AuditsClient, | ||
TenantsClient, | ||
frontegg, | ||
@@ -8,0 +10,0 @@ FronteggPermissions, |
{ | ||
"name": "@frontegg/client", | ||
"version": "1.0.40", | ||
"version": "1.0.41-0", | ||
"description": "Frontegg Javascript Library for backend", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
57485
19
1173
3