@getstrata/core 0.5.50 → 0.5.51
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/dist/framework/public-api.d.ts +3 -2
- package/dist/index.js +3 -0
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@ export { runInTransaction } from "../core/database/transaction.ts";
|
|
|
47
47
|
export type { QueryJoin, QueryJoinOn, QueryOptions, QueryOrder, QuerySelectItem, QueryWhere, } from "../core/database/types.ts";
|
|
48
48
|
export type { WhereNode } from "../core/database/whereBuilder.ts";
|
|
49
49
|
export { WhereBuilder } from "../core/database/whereBuilder.ts";
|
|
50
|
-
export { BadRequestError, ConflictError, ForbiddenError, NotFoundError, PreconditionFailedError, UnauthorizedError, UnprocessableEntityError, ValidationError, } from "../core/errors/http.ts";
|
|
50
|
+
export { BadRequestError, ConflictError, ForbiddenError, HttpError, NotFoundError, PayloadTooLargeError, PreconditionFailedError, UnauthorizedError, UnprocessableEntityError, ValidationError, } from "../core/errors/http.ts";
|
|
51
51
|
export type { EventListener } from "../core/events/eventBus.ts";
|
|
52
52
|
export { EventBus, eventBus } from "../core/events/eventBus.ts";
|
|
53
53
|
export { modelEventName } from "../core/events/index.ts";
|
|
@@ -105,7 +105,8 @@ export type { SecurityEventDetails } from "../core/security/securityEvents.ts";
|
|
|
105
105
|
export { logSecurityEvent } from "../core/security/securityEvents.ts";
|
|
106
106
|
export type { StorageDriver } from "../core/storage/storage.ts";
|
|
107
107
|
export { createStorageDriver, LocalStorageDriver, resetDefaultStorage, StorageManager, } from "../core/storage/storage.ts";
|
|
108
|
-
export {
|
|
108
|
+
export type { TenantContext } from "../core/tenant/tenantContext.ts";
|
|
109
|
+
export { currentTenant, currentTenantId, rateLimitMultiplierForPlan, runWithTenant, } from "../core/tenant/tenantContext.ts";
|
|
109
110
|
export { isInsideTenantDatabaseScope, runWithTenantDatabase, } from "../core/tenant/tenantDatabaseScope.ts";
|
|
110
111
|
export { auditChecksum, createTenantMiddleware, DEFAULT_TENANT, resolveUserTenantId, } from "../core/tenant/tenantMiddleware.ts";
|
|
111
112
|
export type { TraceContext } from "../core/tracing/traceContext.ts";
|
package/dist/index.js
CHANGED
|
@@ -6758,6 +6758,7 @@ export {
|
|
|
6758
6758
|
readSubmittedCsrfToken,
|
|
6759
6759
|
readRequestCookie,
|
|
6760
6760
|
readBunRequestCookie,
|
|
6761
|
+
rateLimitMultiplierForPlan,
|
|
6761
6762
|
queue,
|
|
6762
6763
|
prometheusRegistry,
|
|
6763
6764
|
policyGate,
|
|
@@ -6907,6 +6908,7 @@ export {
|
|
|
6907
6908
|
PostgresGrammar,
|
|
6908
6909
|
PolicyGate,
|
|
6909
6910
|
Policy,
|
|
6911
|
+
PayloadTooLargeError,
|
|
6910
6912
|
NotificationDispatcher,
|
|
6911
6913
|
Notification,
|
|
6912
6914
|
NotFoundError,
|
|
@@ -6917,6 +6919,7 @@ export {
|
|
|
6917
6919
|
LogMailDriver,
|
|
6918
6920
|
LocalStorageDriver,
|
|
6919
6921
|
Job,
|
|
6922
|
+
HttpError,
|
|
6920
6923
|
GuestGuard,
|
|
6921
6924
|
FormRequest,
|
|
6922
6925
|
ForeignIdColumnDefinition,
|