@getstrata/core 0.5.48 → 0.5.49
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.
- package/README.md +23 -0
- package/dist/entries/auth/scimAuthMiddleware.js +0 -3
- package/dist/entries/auth/sessionGuard.js +142 -2730
- package/dist/entries/http/formRequest.js +0 -3
- package/dist/entries/http/pagination.js +0 -3
- package/dist/entries/http/routeModelBinding.js +0 -3
- package/dist/entries/http/securedRouteModelBinding.js +0 -3
- package/dist/entries/http/throttleMiddleware.js +0 -3
- package/dist/entries/http/webErrorResponse.js +170 -2612
- package/dist/entries/http/webFormRequest.js +0 -3
- package/dist/entries/queue/createAppQueue.js +9 -8
- package/dist/entries/queue/jobRunner.js +9 -8
- package/dist/entries/queue/publicQueue.js +9 -8
- package/dist/entries/queue/queueMetrics.js +9 -8
- package/dist/entries/queue/redisQueue.js +9 -8
- package/dist/entries/tenant/tenantDatabaseScope.js +0 -3
- package/dist/entries/view.js +161 -2726
- package/package.json +2 -2
|
@@ -96,9 +96,6 @@ function runWithTenant(tenant, callback) {
|
|
|
96
96
|
function currentTenant() {
|
|
97
97
|
return tenantContext.getStore() ?? null;
|
|
98
98
|
}
|
|
99
|
-
function currentTenantId() {
|
|
100
|
-
return currentTenant()?.id ?? 1;
|
|
101
|
-
}
|
|
102
99
|
function rateLimitMultiplierForPlan(plan) {
|
|
103
100
|
switch (plan) {
|
|
104
101
|
case "enterprise":
|
|
@@ -107,9 +107,6 @@ function runWithTenant(tenant, callback) {
|
|
|
107
107
|
function currentTenant() {
|
|
108
108
|
return tenantContext.getStore() ?? null;
|
|
109
109
|
}
|
|
110
|
-
function currentTenantId() {
|
|
111
|
-
return currentTenant()?.id ?? 1;
|
|
112
|
-
}
|
|
113
110
|
function rateLimitMultiplierForPlan(plan) {
|
|
114
111
|
switch (plan) {
|
|
115
112
|
case "enterprise":
|
|
@@ -96,9 +96,6 @@ function runWithTenant(tenant, callback) {
|
|
|
96
96
|
function currentTenant() {
|
|
97
97
|
return tenantContext.getStore() ?? null;
|
|
98
98
|
}
|
|
99
|
-
function currentTenantId() {
|
|
100
|
-
return currentTenant()?.id ?? 1;
|
|
101
|
-
}
|
|
102
99
|
function rateLimitMultiplierForPlan(plan) {
|
|
103
100
|
switch (plan) {
|
|
104
101
|
case "enterprise":
|
|
@@ -285,9 +285,6 @@ function runWithTenant(tenant, callback) {
|
|
|
285
285
|
function currentTenant() {
|
|
286
286
|
return tenantContext.getStore() ?? null;
|
|
287
287
|
}
|
|
288
|
-
function currentTenantId() {
|
|
289
|
-
return currentTenant()?.id ?? 1;
|
|
290
|
-
}
|
|
291
288
|
function rateLimitMultiplierForPlan(plan) {
|
|
292
289
|
switch (plan) {
|
|
293
290
|
case "enterprise":
|
|
@@ -33,9 +33,6 @@ function runWithTenant(tenant, callback) {
|
|
|
33
33
|
function currentTenant() {
|
|
34
34
|
return tenantContext.getStore() ?? null;
|
|
35
35
|
}
|
|
36
|
-
function currentTenantId() {
|
|
37
|
-
return currentTenant()?.id ?? 1;
|
|
38
|
-
}
|
|
39
36
|
function rateLimitMultiplierForPlan(plan) {
|
|
40
37
|
switch (plan) {
|
|
41
38
|
case "enterprise":
|