@gravito/core 2.0.4 → 3.0.0
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/PlanetCore.d.ts +6 -0
- package/dist/compat/async-local-storage.browser.js +71 -0
- package/dist/compat/async-local-storage.browser.js.map +10 -0
- package/dist/compat/async-local-storage.js +94 -0
- package/dist/compat/async-local-storage.js.map +10 -0
- package/dist/compat/crypto.browser.js +91 -0
- package/dist/compat/crypto.browser.js.map +10 -0
- package/dist/compat/crypto.js +111 -0
- package/dist/compat/crypto.js.map +10 -0
- package/dist/events/CircuitBreaker.d.ts +12 -0
- package/dist/exceptions/AuthException.d.ts +10 -0
- package/dist/exceptions/AuthenticationException.d.ts +2 -2
- package/dist/exceptions/AuthorizationException.d.ts +2 -2
- package/dist/exceptions/CacheException.d.ts +9 -0
- package/dist/exceptions/CircularDependencyException.d.ts +2 -1
- package/dist/exceptions/ConfigurationException.d.ts +9 -0
- package/dist/exceptions/DatabaseException.d.ts +9 -0
- package/dist/exceptions/DomainException.d.ts +9 -0
- package/dist/exceptions/InfrastructureException.d.ts +17 -0
- package/dist/exceptions/QueueException.d.ts +9 -0
- package/dist/exceptions/StorageException.d.ts +9 -0
- package/dist/exceptions/StreamException.d.ts +9 -0
- package/dist/exceptions/SystemException.d.ts +9 -0
- package/dist/exceptions/ValidationException.d.ts +2 -2
- package/dist/exceptions/index.d.ts +10 -0
- package/dist/ffi/NativeAccelerator.js +398 -0
- package/dist/ffi/NativeAccelerator.js.map +12 -0
- package/dist/ffi/NativeHasher.js +125 -0
- package/dist/ffi/{index.js.map → NativeHasher.js.map} +2 -2
- package/dist/ffi/cbor-fallback.js +344 -0
- package/dist/ffi/cbor-fallback.js.map +11 -0
- package/dist/ffi/hash-fallback.js +63 -0
- package/dist/ffi/hash-fallback.js.map +10 -0
- package/dist/ffi/index.js +5 -131
- package/dist/ffi/types.js +82 -0
- package/dist/ffi/types.js.map +10 -0
- package/dist/index.browser.js +9055 -0
- package/dist/index.browser.js.map +90 -0
- package/dist/index.d.ts +479 -1
- package/dist/index.js +401 -158
- package/dist/index.js.map +27 -16
- package/dist/testing/HttpTester.d.ts +1 -0
- package/package.json +7 -7
package/dist/PlanetCore.d.ts
CHANGED
|
@@ -183,6 +183,12 @@ export declare class PlanetCore {
|
|
|
183
183
|
private deferredProviders;
|
|
184
184
|
private bootedProviders;
|
|
185
185
|
private isShuttingDown;
|
|
186
|
+
/**
|
|
187
|
+
* Global shutdown timeout in milliseconds (D-10).
|
|
188
|
+
* If the entire shutdown sequence does not complete within this limit,
|
|
189
|
+
* a warning is logged and shutdown is force-completed so the process can exit.
|
|
190
|
+
*/
|
|
191
|
+
private static readonly GLOBAL_SHUTDOWN_TIMEOUT;
|
|
186
192
|
/**
|
|
187
193
|
* Initialize observability asynchronously (metrics, tracing, Prometheus).
|
|
188
194
|
* This is called from constructor but doesn't block initialization.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __toESMCache_node;
|
|
11
|
+
var __toESMCache_esm;
|
|
12
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
+
var canCache = mod != null && typeof mod === "object";
|
|
14
|
+
if (canCache) {
|
|
15
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
+
var cached = cache.get(mod);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
}
|
|
20
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
+
for (let key of __getOwnPropNames(mod))
|
|
23
|
+
if (!__hasOwnProp.call(to, key))
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
26
|
+
enumerable: true
|
|
27
|
+
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
30
|
+
return to;
|
|
31
|
+
};
|
|
32
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
33
|
+
var __returnValue = (v) => v;
|
|
34
|
+
function __exportSetter(name, newValue) {
|
|
35
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
36
|
+
}
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, {
|
|
40
|
+
get: all[name],
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
set: __exportSetter.bind(all, name)
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
var __require = import.meta.require;
|
|
47
|
+
|
|
48
|
+
// src/compat/async-local-storage.browser.ts
|
|
49
|
+
class AsyncLocalStorage {
|
|
50
|
+
store;
|
|
51
|
+
run(store, fn) {
|
|
52
|
+
const prev = this.store;
|
|
53
|
+
this.store = store;
|
|
54
|
+
try {
|
|
55
|
+
return fn();
|
|
56
|
+
} finally {
|
|
57
|
+
this.store = prev;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
getStore() {
|
|
61
|
+
return this.store;
|
|
62
|
+
}
|
|
63
|
+
disable() {
|
|
64
|
+
this.store = undefined;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
AsyncLocalStorage
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
//# debugId=1CD94D2F311BBD0564756E2164756E21
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/compat/async-local-storage.browser.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"/**\n * Browser-safe AsyncLocalStorage mock\n */\nexport class AsyncLocalStorage<T> {\n private store: T | undefined\n\n run<R>(store: T, fn: () => R): R {\n const prev = this.store\n this.store = store\n try {\n return fn()\n } finally {\n this.store = prev\n }\n }\n\n getStore(): T | undefined {\n return this.store\n }\n\n disable(): void {\n this.store = undefined\n }\n}\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,MAAM,kBAAqB;AAAA,EACxB;AAAA,EAER,GAAM,CAAC,OAAU,IAAgB;AAAA,IAC/B,MAAM,OAAO,KAAK;AAAA,IAClB,KAAK,QAAQ;AAAA,IACb,IAAI;AAAA,MACF,OAAO,GAAG;AAAA,cACV;AAAA,MACA,KAAK,QAAQ;AAAA;AAAA;AAAA,EAIjB,QAAQ,GAAkB;AAAA,IACxB,OAAO,KAAK;AAAA;AAAA,EAGd,OAAO,GAAS;AAAA,IACd,KAAK,QAAQ;AAAA;AAEjB;",
|
|
8
|
+
"debugId": "1CD94D2F311BBD0564756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __toESMCache_node;
|
|
11
|
+
var __toESMCache_esm;
|
|
12
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
+
var canCache = mod != null && typeof mod === "object";
|
|
14
|
+
if (canCache) {
|
|
15
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
+
var cached = cache.get(mod);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
}
|
|
20
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
+
for (let key of __getOwnPropNames(mod))
|
|
23
|
+
if (!__hasOwnProp.call(to, key))
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
26
|
+
enumerable: true
|
|
27
|
+
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
30
|
+
return to;
|
|
31
|
+
};
|
|
32
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
33
|
+
var __returnValue = (v) => v;
|
|
34
|
+
function __exportSetter(name, newValue) {
|
|
35
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
36
|
+
}
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, {
|
|
40
|
+
get: all[name],
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
set: __exportSetter.bind(all, name)
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
var __require = import.meta.require;
|
|
47
|
+
|
|
48
|
+
// src/compat/async-local-storage.ts
|
|
49
|
+
var AsyncLocalStorageClass;
|
|
50
|
+
var tryGetNodeAsyncHooks = () => {
|
|
51
|
+
try {
|
|
52
|
+
if (typeof window === "undefined" && typeof process !== "undefined" && true) {
|
|
53
|
+
try {
|
|
54
|
+
const module = __require("async_hooks");
|
|
55
|
+
return module.AsyncLocalStorage;
|
|
56
|
+
} catch (_e1) {
|
|
57
|
+
try {
|
|
58
|
+
return eval("require")("node:async_hooks").AsyncLocalStorage;
|
|
59
|
+
} catch (_e2) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
} catch (_e) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
AsyncLocalStorageClass = tryGetNodeAsyncHooks();
|
|
69
|
+
if (!AsyncLocalStorageClass) {
|
|
70
|
+
AsyncLocalStorageClass = class AsyncLocalStorage {
|
|
71
|
+
store;
|
|
72
|
+
run(store, fn) {
|
|
73
|
+
const prev = this.store;
|
|
74
|
+
this.store = store;
|
|
75
|
+
try {
|
|
76
|
+
return fn();
|
|
77
|
+
} finally {
|
|
78
|
+
this.store = prev;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
getStore() {
|
|
82
|
+
return this.store;
|
|
83
|
+
}
|
|
84
|
+
disable() {
|
|
85
|
+
this.store = undefined;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
var AsyncLocalStorage = AsyncLocalStorageClass;
|
|
90
|
+
export {
|
|
91
|
+
AsyncLocalStorage
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
//# debugId=AEC51513D62BFF6864756E2164756E21
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/compat/async-local-storage.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"/**\n * Universal AsyncLocalStorage wrapper.\n * Automatically switches between node:async_hooks and a browser mock.\n */\n\nlet AsyncLocalStorageClass: any\n\n// Try to load Node.js AsyncLocalStorage\nconst tryGetNodeAsyncHooks = () => {\n try {\n if (\n typeof window === 'undefined' &&\n typeof process !== 'undefined' &&\n !(process as any).browser\n ) {\n // Try direct import for Bun/Node.js ESM compatibility\n try {\n const module = require('node:async_hooks')\n return module.AsyncLocalStorage\n } catch (_e1) {\n // Fallback to eval for CommonJS require hiding\n try {\n // biome-ignore lint/security/noGlobalEval: specialized case for hiding node built-ins\n return eval('require')('node:async_hooks').AsyncLocalStorage\n } catch (_e2) {\n return null\n }\n }\n }\n } catch (_e) {\n return null\n }\n}\n\nAsyncLocalStorageClass = tryGetNodeAsyncHooks()\n\nif (!AsyncLocalStorageClass) {\n /**\n * Browser-safe AsyncLocalStorage mock.\n * Note: This mock only works with synchronous functions.\n * For proper async support, ensure Node.js AsyncLocalStorage is available.\n */\n AsyncLocalStorageClass = class AsyncLocalStorage<T> {\n private store: T | undefined\n\n run<R>(store: T, fn: () => R): R {\n const prev = this.store\n this.store = store\n try {\n return fn()\n } finally {\n this.store = prev\n }\n }\n\n getStore(): T | undefined {\n return this.store\n }\n\n disable(): void {\n this.store = undefined\n }\n }\n}\n\n// biome-ignore lint/suspicious/noExplicitAny: generic class mock\nexport const AsyncLocalStorage: { new <_T>(): any } = AsyncLocalStorageClass\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAI;AAGJ,IAAM,uBAAuB,MAAM;AAAA,EACjC,IAAI;AAAA,IACF,IACE,OAAO,WAAW,eAClB,OAAO,YAAY,eACnB,MACA;AAAA,MAEA,IAAI;AAAA,QACF,MAAM;AAAA,QACN,OAAO,OAAO;AAAA,QACd,OAAO,KAAK;AAAA,QAEZ,IAAI;AAAA,UAEF,OAAO,KAAK,SAAS,EAAE,kBAAkB,EAAE;AAAA,UAC3C,OAAO,KAAK;AAAA,UACZ,OAAO;AAAA;AAAA;AAAA,IAGb;AAAA,IACA,OAAO,IAAI;AAAA,IACX,OAAO;AAAA;AAAA;AAIX,yBAAyB,qBAAqB;AAE9C,IAAI,CAAC,wBAAwB;AAAA,EAM3B,yBAAyB,MAAM,kBAAqB;AAAA,IAC1C;AAAA,IAER,GAAM,CAAC,OAAU,IAAgB;AAAA,MAC/B,MAAM,OAAO,KAAK;AAAA,MAClB,KAAK,QAAQ;AAAA,MACb,IAAI;AAAA,QACF,OAAO,GAAG;AAAA,gBACV;AAAA,QACA,KAAK,QAAQ;AAAA;AAAA;AAAA,IAIjB,QAAQ,GAAkB;AAAA,MACxB,OAAO,KAAK;AAAA;AAAA,IAGd,OAAO,GAAS;AAAA,MACd,KAAK,QAAQ;AAAA;AAAA,EAEjB;AACF;AAGO,IAAM,oBAAyC;",
|
|
8
|
+
"debugId": "AEC51513D62BFF6864756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __toESMCache_node;
|
|
11
|
+
var __toESMCache_esm;
|
|
12
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
+
var canCache = mod != null && typeof mod === "object";
|
|
14
|
+
if (canCache) {
|
|
15
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
+
var cached = cache.get(mod);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
}
|
|
20
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
+
for (let key of __getOwnPropNames(mod))
|
|
23
|
+
if (!__hasOwnProp.call(to, key))
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
26
|
+
enumerable: true
|
|
27
|
+
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
30
|
+
return to;
|
|
31
|
+
};
|
|
32
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
33
|
+
var __returnValue = (v) => v;
|
|
34
|
+
function __exportSetter(name, newValue) {
|
|
35
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
36
|
+
}
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, {
|
|
40
|
+
get: all[name],
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
set: __exportSetter.bind(all, name)
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
var __require = import.meta.require;
|
|
47
|
+
|
|
48
|
+
// src/compat/crypto.browser.ts
|
|
49
|
+
var randomUUID = () => {
|
|
50
|
+
if (typeof globalThis.crypto?.randomUUID === "function") {
|
|
51
|
+
return globalThis.crypto.randomUUID();
|
|
52
|
+
}
|
|
53
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
54
|
+
const r = Math.random() * 16 | 0;
|
|
55
|
+
const v = c === "x" ? r : r & 3 | 8;
|
|
56
|
+
return v.toString(16);
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
var randomBytes = (size) => {
|
|
60
|
+
const bytes = new Uint8Array(size);
|
|
61
|
+
if (typeof globalThis.crypto?.getRandomValues === "function") {
|
|
62
|
+
globalThis.crypto.getRandomValues(bytes);
|
|
63
|
+
} else {
|
|
64
|
+
for (let i = 0;i < size; i++) {
|
|
65
|
+
bytes[i] = Math.floor(Math.random() * 256);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
length: size,
|
|
70
|
+
[Symbol.iterator]: () => bytes[Symbol.iterator](),
|
|
71
|
+
toString: (encoding) => {
|
|
72
|
+
if (encoding === "base64") {
|
|
73
|
+
let binary = "";
|
|
74
|
+
for (let i = 0;i < bytes.byteLength; i++) {
|
|
75
|
+
binary += String.fromCharCode(bytes[i]);
|
|
76
|
+
}
|
|
77
|
+
return btoa(binary);
|
|
78
|
+
}
|
|
79
|
+
if (encoding === "hex") {
|
|
80
|
+
return Array.from(bytes).map((b) => b.toString(16).padStart(2, "0")).join("");
|
|
81
|
+
}
|
|
82
|
+
return "";
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export {
|
|
87
|
+
randomUUID,
|
|
88
|
+
randomBytes
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
//# debugId=DA2B8600ADBAB27E64756E2164756E21
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/compat/crypto.browser.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"/**\n * Browser-safe crypto mock\n */\nexport const randomUUID = () => {\n if (typeof globalThis.crypto?.randomUUID === 'function') {\n return globalThis.crypto.randomUUID()\n }\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\n const r = (Math.random() * 16) | 0\n const v = c === 'x' ? r : (r & 0x3) | 0x8\n return v.toString(16)\n })\n}\n\nexport const randomBytes = (size: number) => {\n const bytes = new Uint8Array(size)\n if (typeof globalThis.crypto?.getRandomValues === 'function') {\n globalThis.crypto.getRandomValues(bytes)\n } else {\n for (let i = 0; i < size; i++) {\n bytes[i] = Math.floor(Math.random() * 256)\n }\n }\n\n // Basic Buffer-like object for Str.ts compatibility\n return {\n length: size,\n [Symbol.iterator]: () => bytes[Symbol.iterator](),\n toString: (encoding: string) => {\n if (encoding === 'base64') {\n let binary = ''\n for (let i = 0; i < bytes.byteLength; i++) {\n binary += String.fromCharCode(bytes[i])\n }\n return btoa(binary)\n }\n if (encoding === 'hex') {\n return Array.from(bytes)\n .map((b) => b.toString(16).padStart(2, '0'))\n .join('')\n }\n return ''\n },\n } as unknown as Buffer\n}\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,IAAM,aAAa,MAAM;AAAA,EAC9B,IAAI,OAAO,WAAW,QAAQ,eAAe,YAAY;AAAA,IACvD,OAAO,WAAW,OAAO,WAAW;AAAA,EACtC;AAAA,EACA,OAAO,uCAAuC,QAAQ,SAAS,CAAC,MAAM;AAAA,IACpE,MAAM,IAAK,KAAK,OAAO,IAAI,KAAM;AAAA,IACjC,MAAM,IAAI,MAAM,MAAM,IAAK,IAAI,IAAO;AAAA,IACtC,OAAO,EAAE,SAAS,EAAE;AAAA,GACrB;AAAA;AAGI,IAAM,cAAc,CAAC,SAAiB;AAAA,EAC3C,MAAM,QAAQ,IAAI,WAAW,IAAI;AAAA,EACjC,IAAI,OAAO,WAAW,QAAQ,oBAAoB,YAAY;AAAA,IAC5D,WAAW,OAAO,gBAAgB,KAAK;AAAA,EACzC,EAAO;AAAA,IACL,SAAS,IAAI,EAAG,IAAI,MAAM,KAAK;AAAA,MAC7B,MAAM,KAAK,KAAK,MAAM,KAAK,OAAO,IAAI,GAAG;AAAA,IAC3C;AAAA;AAAA,EAIF,OAAO;AAAA,IACL,QAAQ;AAAA,KACP,OAAO,WAAW,MAAM,MAAM,OAAO,UAAU;AAAA,IAChD,UAAU,CAAC,aAAqB;AAAA,MAC9B,IAAI,aAAa,UAAU;AAAA,QACzB,IAAI,SAAS;AAAA,QACb,SAAS,IAAI,EAAG,IAAI,MAAM,YAAY,KAAK;AAAA,UACzC,UAAU,OAAO,aAAa,MAAM,EAAE;AAAA,QACxC;AAAA,QACA,OAAO,KAAK,MAAM;AAAA,MACpB;AAAA,MACA,IAAI,aAAa,OAAO;AAAA,QACtB,OAAO,MAAM,KAAK,KAAK,EACpB,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,EAC1C,KAAK,EAAE;AAAA,MACZ;AAAA,MACA,OAAO;AAAA;AAAA,EAEX;AAAA;",
|
|
8
|
+
"debugId": "DA2B8600ADBAB27E64756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __toESMCache_node;
|
|
11
|
+
var __toESMCache_esm;
|
|
12
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
+
var canCache = mod != null && typeof mod === "object";
|
|
14
|
+
if (canCache) {
|
|
15
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
+
var cached = cache.get(mod);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
}
|
|
20
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
+
for (let key of __getOwnPropNames(mod))
|
|
23
|
+
if (!__hasOwnProp.call(to, key))
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
26
|
+
enumerable: true
|
|
27
|
+
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
30
|
+
return to;
|
|
31
|
+
};
|
|
32
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
33
|
+
var __returnValue = (v) => v;
|
|
34
|
+
function __exportSetter(name, newValue) {
|
|
35
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
36
|
+
}
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, {
|
|
40
|
+
get: all[name],
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
set: __exportSetter.bind(all, name)
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
var __require = import.meta.require;
|
|
47
|
+
|
|
48
|
+
// src/compat/crypto.ts
|
|
49
|
+
var randomUUIDFn;
|
|
50
|
+
var randomBytesFn;
|
|
51
|
+
var tryGetNodeCrypto = () => {
|
|
52
|
+
try {
|
|
53
|
+
if (typeof window === "undefined" && typeof process !== "undefined" && true) {
|
|
54
|
+
return eval("require")("node:crypto");
|
|
55
|
+
}
|
|
56
|
+
} catch (_e) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
var nodeCrypto = tryGetNodeCrypto();
|
|
61
|
+
if (nodeCrypto) {
|
|
62
|
+
randomUUIDFn = nodeCrypto.randomUUID;
|
|
63
|
+
randomBytesFn = nodeCrypto.randomBytes;
|
|
64
|
+
} else {
|
|
65
|
+
randomUUIDFn = () => {
|
|
66
|
+
if (typeof globalThis.crypto?.randomUUID === "function") {
|
|
67
|
+
return globalThis.crypto.randomUUID();
|
|
68
|
+
}
|
|
69
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
70
|
+
const r = Math.random() * 16 | 0;
|
|
71
|
+
const v = c === "x" ? r : r & 3 | 8;
|
|
72
|
+
return v.toString(16);
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
randomBytesFn = (size) => {
|
|
76
|
+
const bytes = new Uint8Array(size);
|
|
77
|
+
if (typeof globalThis.crypto?.getRandomValues === "function") {
|
|
78
|
+
globalThis.crypto.getRandomValues(bytes);
|
|
79
|
+
} else {
|
|
80
|
+
for (let i = 0;i < size; i++) {
|
|
81
|
+
bytes[i] = Math.floor(Math.random() * 256);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
...Array.from(bytes),
|
|
86
|
+
length: size,
|
|
87
|
+
[Symbol.iterator]: () => bytes[Symbol.iterator](),
|
|
88
|
+
toString: (encoding) => {
|
|
89
|
+
if (encoding === "base64") {
|
|
90
|
+
let binary = "";
|
|
91
|
+
for (let i = 0;i < bytes.byteLength; i++) {
|
|
92
|
+
binary += String.fromCharCode(bytes[i]);
|
|
93
|
+
}
|
|
94
|
+
return btoa(binary);
|
|
95
|
+
}
|
|
96
|
+
if (encoding === "hex") {
|
|
97
|
+
return Array.from(bytes).map((b) => b.toString(16).padStart(2, "0")).join("");
|
|
98
|
+
}
|
|
99
|
+
return "";
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
var randomUUID = randomUUIDFn;
|
|
105
|
+
var randomBytes = randomBytesFn;
|
|
106
|
+
export {
|
|
107
|
+
randomUUID,
|
|
108
|
+
randomBytes
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
//# debugId=90A5E907AAB9EDB264756E2164756E21
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/compat/crypto.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"/**\n * Universal Crypto wrapper.\n * Automatically switches between node:crypto and globalThis.crypto.\n */\n\nlet randomUUIDFn: () => string\nlet randomBytesFn: (size: number) => any\n\nconst tryGetNodeCrypto = () => {\n try {\n if (\n typeof window === 'undefined' &&\n typeof process !== 'undefined' &&\n !(process as any).browser\n ) {\n // biome-ignore lint/security/noGlobalEval: specialized case for hiding node built-ins\n return eval('require')('node:crypto')\n }\n } catch (_e) {\n return null\n }\n}\n\nconst nodeCrypto = tryGetNodeCrypto()\n\nif (nodeCrypto) {\n randomUUIDFn = nodeCrypto.randomUUID\n randomBytesFn = nodeCrypto.randomBytes\n} else {\n // Browser implementations\n randomUUIDFn = () => {\n if (typeof globalThis.crypto?.randomUUID === 'function') {\n return globalThis.crypto.randomUUID()\n }\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\n const r = (Math.random() * 16) | 0\n const v = c === 'x' ? r : (r & 0x3) | 0x8\n return v.toString(16)\n })\n }\n\n randomBytesFn = (size: number) => {\n const bytes = new Uint8Array(size)\n if (typeof globalThis.crypto?.getRandomValues === 'function') {\n globalThis.crypto.getRandomValues(bytes)\n } else {\n for (let i = 0; i < size; i++) {\n bytes[i] = Math.floor(Math.random() * 256)\n }\n }\n // Return a Buffer-like object\n return {\n ...Array.from(bytes),\n length: size,\n [Symbol.iterator]: () => bytes[Symbol.iterator](),\n toString: (encoding: string) => {\n if (encoding === 'base64') {\n let binary = ''\n for (let i = 0; i < bytes.byteLength; i++) {\n binary += String.fromCharCode(bytes[i])\n }\n return btoa(binary)\n }\n if (encoding === 'hex') {\n return Array.from(bytes)\n .map((b) => b.toString(16).padStart(2, '0'))\n .join('')\n }\n return ''\n },\n }\n }\n}\n\nexport const randomUUID = randomUUIDFn\nexport const randomBytes = randomBytesFn\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAI;AACJ,IAAI;AAEJ,IAAM,mBAAmB,MAAM;AAAA,EAC7B,IAAI;AAAA,IACF,IACE,OAAO,WAAW,eAClB,OAAO,YAAY,eACnB,MACA;AAAA,MAEA,OAAO,KAAK,SAAS,EAAE,aAAa;AAAA,IACtC;AAAA,IACA,OAAO,IAAI;AAAA,IACX,OAAO;AAAA;AAAA;AAIX,IAAM,aAAa,iBAAiB;AAEpC,IAAI,YAAY;AAAA,EACd,eAAe,WAAW;AAAA,EAC1B,gBAAgB,WAAW;AAC7B,EAAO;AAAA,EAEL,eAAe,MAAM;AAAA,IACnB,IAAI,OAAO,WAAW,QAAQ,eAAe,YAAY;AAAA,MACvD,OAAO,WAAW,OAAO,WAAW;AAAA,IACtC;AAAA,IACA,OAAO,uCAAuC,QAAQ,SAAS,CAAC,MAAM;AAAA,MACpE,MAAM,IAAK,KAAK,OAAO,IAAI,KAAM;AAAA,MACjC,MAAM,IAAI,MAAM,MAAM,IAAK,IAAI,IAAO;AAAA,MACtC,OAAO,EAAE,SAAS,EAAE;AAAA,KACrB;AAAA;AAAA,EAGH,gBAAgB,CAAC,SAAiB;AAAA,IAChC,MAAM,QAAQ,IAAI,WAAW,IAAI;AAAA,IACjC,IAAI,OAAO,WAAW,QAAQ,oBAAoB,YAAY;AAAA,MAC5D,WAAW,OAAO,gBAAgB,KAAK;AAAA,IACzC,EAAO;AAAA,MACL,SAAS,IAAI,EAAG,IAAI,MAAM,KAAK;AAAA,QAC7B,MAAM,KAAK,KAAK,MAAM,KAAK,OAAO,IAAI,GAAG;AAAA,MAC3C;AAAA;AAAA,IAGF,OAAO;AAAA,SACF,MAAM,KAAK,KAAK;AAAA,MACnB,QAAQ;AAAA,OACP,OAAO,WAAW,MAAM,MAAM,OAAO,UAAU;AAAA,MAChD,UAAU,CAAC,aAAqB;AAAA,QAC9B,IAAI,aAAa,UAAU;AAAA,UACzB,IAAI,SAAS;AAAA,UACb,SAAS,IAAI,EAAG,IAAI,MAAM,YAAY,KAAK;AAAA,YACzC,UAAU,OAAO,aAAa,MAAM,EAAE;AAAA,UACxC;AAAA,UACA,OAAO,KAAK,MAAM;AAAA,QACpB;AAAA,QACA,IAAI,aAAa,OAAO;AAAA,UACtB,OAAO,MAAM,KAAK,KAAK,EACpB,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,GAAG,GAAG,CAAC,EAC1C,KAAK,EAAE;AAAA,QACZ;AAAA,QACA,OAAO;AAAA;AAAA,IAEX;AAAA;AAAA;AAIG,IAAM,aAAa;AACnB,IAAM,cAAc;",
|
|
8
|
+
"debugId": "90A5E907AAB9EDB264756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Event-system CircuitBreaker — standalone copy.
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This is intentionally NOT a re-export from @gravito/resilience
|
|
5
|
+
* to avoid a circular dependency (core <-> resilience):
|
|
6
|
+
* @gravito/core -> @gravito/resilience (peerDep of resilience -> core)
|
|
7
|
+
*
|
|
8
|
+
* The canonical CB implementation lives in @gravito/resilience.
|
|
9
|
+
* Keep this file in sync manually if the canonical CB API changes.
|
|
10
|
+
*
|
|
11
|
+
* Per D-02 decision recorded in 17-RESEARCH.md.
|
|
12
|
+
*/
|
|
1
13
|
/**
|
|
2
14
|
* Circuit Breaker state enum.
|
|
3
15
|
* @public
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ExceptionOptions } from './GravitoException';
|
|
2
|
+
import { DomainException } from './DomainException';
|
|
3
|
+
/**
|
|
4
|
+
* Abstract base class for authentication/authorization-related domain errors.
|
|
5
|
+
* Used by fortify and sentinel packages.
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class AuthException extends DomainException {
|
|
9
|
+
constructor(status: number, code: string, options?: ExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DomainException } from './DomainException';
|
|
2
2
|
/**
|
|
3
3
|
* Exception thrown when authentication fails.
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export declare class AuthenticationException extends
|
|
6
|
+
export declare class AuthenticationException extends DomainException {
|
|
7
7
|
constructor(message?: string);
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DomainException } from './DomainException';
|
|
2
2
|
/**
|
|
3
3
|
* Exception thrown when user is not authorized to perform an action.
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export declare class AuthorizationException extends
|
|
6
|
+
export declare class AuthorizationException extends DomainException {
|
|
7
7
|
constructor(message?: string);
|
|
8
8
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InfrastructureException, type InfrastructureExceptionOptions } from './InfrastructureException';
|
|
2
|
+
/**
|
|
3
|
+
* Abstract base class for cache/Redis-related infrastructure errors.
|
|
4
|
+
* All plasma error classes extend this instead of bare Error.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class CacheException extends InfrastructureException {
|
|
8
|
+
constructor(status: number, code: string, options?: InfrastructureExceptionOptions);
|
|
9
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { ServiceKey } from '../Container';
|
|
2
|
+
import { SystemException } from './SystemException';
|
|
2
3
|
/**
|
|
3
4
|
* CircularDependencyException - Thrown when the container detects an infinite loop.
|
|
4
5
|
*
|
|
5
6
|
* @module @gravito/core
|
|
6
7
|
*/
|
|
7
|
-
export declare class CircularDependencyException extends
|
|
8
|
+
export declare class CircularDependencyException extends SystemException {
|
|
8
9
|
constructor(key: ServiceKey, stack: ServiceKey[]);
|
|
9
10
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ExceptionOptions } from './GravitoException';
|
|
2
|
+
import { SystemException } from './SystemException';
|
|
3
|
+
/**
|
|
4
|
+
* Thrown when the framework encounters an invalid or missing configuration value.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ConfigurationException extends SystemException {
|
|
8
|
+
constructor(message: string, options?: Omit<ExceptionOptions, 'message'>);
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InfrastructureException, type InfrastructureExceptionOptions } from './InfrastructureException';
|
|
2
|
+
/**
|
|
3
|
+
* Abstract base class for database-related infrastructure errors.
|
|
4
|
+
* All atlas error classes extend this instead of bare Error.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class DatabaseException extends InfrastructureException {
|
|
8
|
+
constructor(status: number, code: string, options?: InfrastructureExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ExceptionOptions, GravitoException } from './GravitoException';
|
|
2
|
+
/**
|
|
3
|
+
* Abstract base class for business logic / domain rule violations.
|
|
4
|
+
* Extend this for exceptions that represent a caller mistake (invalid input, constraint violation, etc.).
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class DomainException extends GravitoException {
|
|
8
|
+
constructor(status: number, code: string, options?: ExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ExceptionOptions, GravitoException } from './GravitoException';
|
|
2
|
+
/**
|
|
3
|
+
* Options for creating an InfrastructureException
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface InfrastructureExceptionOptions extends ExceptionOptions {
|
|
7
|
+
retryable?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Abstract base class for infrastructure / I/O errors (database, network, filesystem, etc.).
|
|
11
|
+
* Carries a `retryable` flag that callers can inspect to decide whether the operation should be retried.
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export declare abstract class InfrastructureException extends GravitoException {
|
|
15
|
+
readonly retryable: boolean;
|
|
16
|
+
constructor(status: number, code: string, options?: InfrastructureExceptionOptions);
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InfrastructureException, type InfrastructureExceptionOptions } from './InfrastructureException';
|
|
2
|
+
/**
|
|
3
|
+
* Abstract base class for message queue infrastructure errors.
|
|
4
|
+
* Used by quasar and flux packages.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class QueueException extends InfrastructureException {
|
|
8
|
+
constructor(status: number, code: string, options?: InfrastructureExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InfrastructureException, type InfrastructureExceptionOptions } from './InfrastructureException';
|
|
2
|
+
/**
|
|
3
|
+
* Abstract base class for file/object storage infrastructure errors.
|
|
4
|
+
* Used by constellation, nebula, nebula-s3, freeze, stasis packages.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class StorageException extends InfrastructureException {
|
|
8
|
+
constructor(status: number, code: string, options?: InfrastructureExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InfrastructureException, type InfrastructureExceptionOptions } from './InfrastructureException';
|
|
2
|
+
/**
|
|
3
|
+
* Abstract base class for stream/message processing infrastructure errors.
|
|
4
|
+
* Used by the stream package (Kafka, RabbitMQ, SQS).
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class StreamException extends InfrastructureException {
|
|
8
|
+
constructor(status: number, code: string, options?: InfrastructureExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ExceptionOptions, GravitoException } from './GravitoException';
|
|
2
|
+
/**
|
|
3
|
+
* Abstract base class for internal framework / system-level errors.
|
|
4
|
+
* Extend this for exceptions that represent an unexpected or unrecoverable framework state.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class SystemException extends GravitoException {
|
|
8
|
+
constructor(status: number, code: string, options?: ExceptionOptions);
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DomainException } from './DomainException';
|
|
2
2
|
/**
|
|
3
3
|
* Structure of a validation error
|
|
4
4
|
* @public
|
|
@@ -12,7 +12,7 @@ export interface ValidationError {
|
|
|
12
12
|
* Exception thrown when data validation fails.
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export declare class ValidationException extends
|
|
15
|
+
export declare class ValidationException extends DomainException {
|
|
16
16
|
readonly errors: ValidationError[];
|
|
17
17
|
redirectTo?: string;
|
|
18
18
|
input?: unknown;
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
export * from './AuthenticationException';
|
|
2
|
+
export * from './AuthException';
|
|
2
3
|
export * from './AuthorizationException';
|
|
4
|
+
export * from './CacheException';
|
|
3
5
|
export * from './CircularDependencyException';
|
|
6
|
+
export * from './ConfigurationException';
|
|
7
|
+
export * from './DatabaseException';
|
|
8
|
+
export * from './DomainException';
|
|
4
9
|
export * from './GravitoException';
|
|
5
10
|
export * from './HttpException';
|
|
11
|
+
export * from './InfrastructureException';
|
|
6
12
|
export * from './ModelNotFoundException';
|
|
13
|
+
export * from './QueueException';
|
|
14
|
+
export * from './StorageException';
|
|
15
|
+
export * from './StreamException';
|
|
16
|
+
export * from './SystemException';
|
|
7
17
|
export * from './ValidationException';
|