@sudobility/types 1.9.38 → 1.9.39
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/index.js +7 -45
- package/dist/index.js.map +1 -1
- package/dist/types/blockchain/common.js +9 -16
- package/dist/types/blockchain/common.js.map +1 -1
- package/dist/types/blockchain/index.js +2 -16
- package/dist/types/blockchain/index.js.map +1 -1
- package/dist/types/blockchain/validation.js +6 -12
- package/dist/types/blockchain/validation.js.map +1 -1
- package/dist/types/business/enums.js +46 -49
- package/dist/types/business/enums.js.map +1 -1
- package/dist/types/business/index.js +2 -31
- package/dist/types/business/index.js.map +1 -1
- package/dist/types/business/wallet-status.js +10 -16
- package/dist/types/business/wallet-status.js.map +1 -1
- package/dist/types/common.js +1 -2
- package/dist/types/common.js.map +1 -1
- package/dist/types/config/app-config.js +1 -2
- package/dist/types/config/app-config.js.map +1 -1
- package/dist/types/config/environment.js +2 -5
- package/dist/types/config/environment.js.map +1 -1
- package/dist/types/config/index.js +1 -5
- package/dist/types/config/index.js.map +1 -1
- package/dist/types/entity/entity.js +6 -9
- package/dist/types/entity/entity.js.map +1 -1
- package/dist/types/entity/index.js +4 -20
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/entity/permissions.js +9 -14
- package/dist/types/entity/permissions.js.map +1 -1
- package/dist/types/entity/requests.js +1 -2
- package/dist/types/entity/requests.js.map +1 -1
- package/dist/types/entity/responses.js +1 -2
- package/dist/types/entity/responses.js.map +1 -1
- package/dist/types/index.js +7 -23
- package/dist/types/index.js.map +1 -1
- package/dist/types/infrastructure/analytics.js +3 -7
- package/dist/types/infrastructure/analytics.js.map +1 -1
- package/dist/types/infrastructure/api.js +5 -9
- package/dist/types/infrastructure/api.js.map +1 -1
- package/dist/types/infrastructure/index.js +4 -14
- package/dist/types/infrastructure/index.js.map +1 -1
- package/dist/types/infrastructure/navigation.js +1 -2
- package/dist/types/infrastructure/network.js +1 -4
- package/dist/types/infrastructure/network.js.map +1 -1
- package/dist/types/infrastructure/wallet.js +2 -5
- package/dist/types/infrastructure/wallet.js.map +1 -1
- package/dist/types/subscription/index.js +1 -17
- package/dist/types/subscription/index.js.map +1 -1
- package/dist/types/subscription/rate-limits.js +2 -5
- package/dist/types/subscription/rate-limits.js.map +1 -1
- package/dist/utils/async-helpers.js +7 -16
- package/dist/utils/async-helpers.js.map +1 -1
- package/dist/utils/auth/auth.js +14 -24
- package/dist/utils/auth/auth.js.map +1 -1
- package/dist/utils/auth/index.js +1 -12
- package/dist/utils/auth/index.js.map +1 -1
- package/dist/utils/blockchain/address.js +20 -31
- package/dist/utils/blockchain/address.js.map +1 -1
- package/dist/utils/blockchain/event-helpers.js +9 -20
- package/dist/utils/blockchain/event-helpers.js.map +1 -1
- package/dist/utils/blockchain/index.js +3 -26
- package/dist/utils/blockchain/index.js.map +1 -1
- package/dist/utils/constants/application.js +2 -20
- package/dist/utils/constants/application.js.map +1 -1
- package/dist/utils/constants/index.js +2 -23
- package/dist/utils/constants/index.js.map +1 -1
- package/dist/utils/constants/status-values.js +1 -4
- package/dist/utils/constants/status-values.js.map +1 -1
- package/dist/utils/formatting/currency.js +6 -11
- package/dist/utils/formatting/currency.js.map +1 -1
- package/dist/utils/formatting/date.js +7 -16
- package/dist/utils/formatting/date.js.map +1 -1
- package/dist/utils/formatting/index.js +3 -33
- package/dist/utils/formatting/index.js.map +1 -1
- package/dist/utils/formatting/string.js +16 -34
- package/dist/utils/formatting/string.js.map +1 -1
- package/dist/utils/index.js +8 -24
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/logging/index.js +1 -11
- package/dist/utils/logging/index.js.map +1 -1
- package/dist/utils/logging/logger.js +2 -10
- package/dist/utils/logging/logger.js.map +1 -1
- package/dist/utils/url/index.js +1 -8
- package/dist/utils/url/index.js.map +1 -1
- package/dist/utils/url/url-params.js +1 -6
- package/dist/utils/url/url-params.js.map +1 -1
- package/dist/utils/validation/index.js +2 -24
- package/dist/utils/validation/index.js.map +1 -1
- package/dist/utils/validation/type-validation.js +27 -48
- package/dist/utils/validation/type-validation.js.map +1 -1
- package/dist/utils/validation/web3-username-validator.js +6 -10
- package/dist/utils/validation/web3-username-validator.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,38 +1,32 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Wallet status management types
|
|
4
3
|
* Defines the structure for tracking wallet connection and verification state
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
exports.getWalletConnectionState = exports.isWalletVerified = exports.isWalletConnected = void 0;
|
|
8
|
-
const enums_1 = require("./enums");
|
|
5
|
+
import { ConnectionState } from './enums';
|
|
9
6
|
/**
|
|
10
7
|
* Type guard to check if wallet status is defined
|
|
11
8
|
*/
|
|
12
|
-
const isWalletConnected = (status) => {
|
|
9
|
+
export const isWalletConnected = (status) => {
|
|
13
10
|
return (status !== undefined && status !== null && Boolean(status.walletAddress));
|
|
14
11
|
};
|
|
15
|
-
exports.isWalletConnected = isWalletConnected;
|
|
16
12
|
/**
|
|
17
13
|
* Type guard to check if wallet is verified (has message and signature)
|
|
18
14
|
*/
|
|
19
|
-
const isWalletVerified = (status) => {
|
|
20
|
-
return (
|
|
15
|
+
export const isWalletVerified = (status) => {
|
|
16
|
+
return (isWalletConnected(status) &&
|
|
21
17
|
Boolean(status.message) &&
|
|
22
18
|
Boolean(status.signature));
|
|
23
19
|
};
|
|
24
|
-
exports.isWalletVerified = isWalletVerified;
|
|
25
20
|
/**
|
|
26
21
|
* Get current wallet connection state
|
|
27
22
|
*/
|
|
28
|
-
const getWalletConnectionState = (status) => {
|
|
29
|
-
if (!
|
|
30
|
-
return
|
|
23
|
+
export const getWalletConnectionState = (status) => {
|
|
24
|
+
if (!isWalletConnected(status)) {
|
|
25
|
+
return ConnectionState.DISCONNECTED;
|
|
31
26
|
}
|
|
32
|
-
if (
|
|
33
|
-
return
|
|
27
|
+
if (isWalletVerified(status)) {
|
|
28
|
+
return ConnectionState.VERIFIED;
|
|
34
29
|
}
|
|
35
|
-
return
|
|
30
|
+
return ConnectionState.CONNECTED;
|
|
36
31
|
};
|
|
37
|
-
exports.getWalletConnectionState = getWalletConnectionState;
|
|
38
32
|
//# sourceMappingURL=wallet-status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-status.js","sourceRoot":"","sources":["../../../src/types/business/wallet-status.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wallet-status.js","sourceRoot":"","sources":["../../../src/types/business/wallet-status.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,eAAe,EAAa,MAAM,SAAS,CAAC;AAgBrD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,MAA+B,EACP,EAAE;IAC1B,OAAO,CACL,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC,CACzE,CAAC;AACJ,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,MAA+B,EACG,EAAE;IACpC,OAAO,CACL,iBAAiB,CAAC,MAAM,CAAC;QACzB,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC;QACvB,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAC1B,CAAC;AACJ,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,MAA+B,EACd,EAAE;IACnB,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,CAAC;QAC/B,OAAO,eAAe,CAAC,YAAY,CAAC;IACtC,CAAC;IAED,IAAI,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;QAC7B,OAAO,eAAe,CAAC,QAAQ,CAAC;IAClC,CAAC;IAED,OAAO,eAAe,CAAC,SAAS,CAAC;AACnC,CAAC,CAAC"}
|
package/dist/types/common.js
CHANGED
package/dist/types/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-config.js","sourceRoot":"","sources":["../../../src/types/config/app-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-config.js","sourceRoot":"","sources":["../../../src/types/config/app-config.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Environment configuration types for cross-platform applications
|
|
4
3
|
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.StorageType = void 0;
|
|
7
4
|
/**
|
|
8
5
|
* Storage type enumeration for cross-platform storage abstraction.
|
|
9
6
|
*
|
|
10
7
|
* Provides runtime-accessible values for different storage mechanisms
|
|
11
8
|
* across web browsers, React Native, and Node.js environments.
|
|
12
9
|
*/
|
|
13
|
-
var StorageType;
|
|
10
|
+
export var StorageType;
|
|
14
11
|
(function (StorageType) {
|
|
15
12
|
/** Web browser localStorage for persistent client-side storage */
|
|
16
13
|
StorageType["LOCAL_STORAGE"] = "localStorage";
|
|
@@ -20,5 +17,5 @@ var StorageType;
|
|
|
20
17
|
StorageType["ASYNC_STORAGE"] = "asyncStorage";
|
|
21
18
|
/** In-memory storage for testing or temporary data */
|
|
22
19
|
StorageType["MEMORY"] = "memory";
|
|
23
|
-
})(StorageType || (
|
|
20
|
+
})(StorageType || (StorageType = {}));
|
|
24
21
|
//# sourceMappingURL=environment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../src/types/config/environment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../src/types/config/environment.ts"],"names":[],"mappings":"AAAA;;GAEG;AA4DH;;;;;GAKG;AACH,MAAM,CAAN,IAAY,WASX;AATD,WAAY,WAAW;IACrB,kEAAkE;IAClE,6CAA8B,CAAA;IAC9B,2DAA2D;IAC3D,iDAAkC,CAAA;IAClC,8DAA8D;IAC9D,6CAA8B,CAAA;IAC9B,sDAAsD;IACtD,gCAAiB,CAAA;AACnB,CAAC,EATW,WAAW,KAAX,WAAW,QAStB"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StorageType = void 0;
|
|
4
|
-
var environment_1 = require("./environment");
|
|
5
|
-
Object.defineProperty(exports, "StorageType", { enumerable: true, get: function () { return environment_1.StorageType; } });
|
|
1
|
+
export { StorageType } from './environment';
|
|
6
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/config/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/config/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* @fileoverview Entity Type Definitions
|
|
4
3
|
* @description Core types for the entity/organization system used across shapeshyft and whisperly
|
|
5
4
|
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.InvitationStatus = exports.EntityRole = exports.EntityType = void 0;
|
|
8
5
|
// ========================================
|
|
9
6
|
// ENUMS
|
|
10
7
|
// ========================================
|
|
@@ -13,16 +10,16 @@ exports.InvitationStatus = exports.EntityRole = exports.EntityType = void 0;
|
|
|
13
10
|
* - personal: Auto-created for each user, cannot be deleted
|
|
14
11
|
* - organization: User-created, supports multiple members
|
|
15
12
|
*/
|
|
16
|
-
var EntityType;
|
|
13
|
+
export var EntityType;
|
|
17
14
|
(function (EntityType) {
|
|
18
15
|
EntityType["PERSONAL"] = "personal";
|
|
19
16
|
EntityType["ORGANIZATION"] = "organization";
|
|
20
|
-
})(EntityType || (
|
|
17
|
+
})(EntityType || (EntityType = {}));
|
|
21
18
|
/**
|
|
22
19
|
* Role of a user within an entity.
|
|
23
20
|
* Determines permissions for various operations.
|
|
24
21
|
*/
|
|
25
|
-
var EntityRole;
|
|
22
|
+
export var EntityRole;
|
|
26
23
|
(function (EntityRole) {
|
|
27
24
|
/** Full access: manage entity, members, projects, and API keys */
|
|
28
25
|
EntityRole["ADMIN"] = "admin";
|
|
@@ -30,11 +27,11 @@ var EntityRole;
|
|
|
30
27
|
EntityRole["MANAGER"] = "manager";
|
|
31
28
|
/** Read-only access to projects and API keys */
|
|
32
29
|
EntityRole["VIEWER"] = "viewer";
|
|
33
|
-
})(EntityRole || (
|
|
30
|
+
})(EntityRole || (EntityRole = {}));
|
|
34
31
|
/**
|
|
35
32
|
* Status of an entity invitation.
|
|
36
33
|
*/
|
|
37
|
-
var InvitationStatus;
|
|
34
|
+
export var InvitationStatus;
|
|
38
35
|
(function (InvitationStatus) {
|
|
39
36
|
/** Invitation sent, awaiting response */
|
|
40
37
|
InvitationStatus["PENDING"] = "pending";
|
|
@@ -44,5 +41,5 @@ var InvitationStatus;
|
|
|
44
41
|
InvitationStatus["DECLINED"] = "declined";
|
|
45
42
|
/** Invitation expired (not accepted within time limit) */
|
|
46
43
|
InvitationStatus["EXPIRED"] = "expired";
|
|
47
|
-
})(InvitationStatus || (
|
|
44
|
+
})(InvitationStatus || (InvitationStatus = {}));
|
|
48
45
|
//# sourceMappingURL=entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../src/types/entity/entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../src/types/entity/entity.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,2CAA2C;AAC3C,QAAQ;AACR,2CAA2C;AAE3C;;;;GAIG;AACH,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,2CAA6B,CAAA;AAC/B,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAED;;;GAGG;AACH,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,kEAAkE;IAClE,6BAAe,CAAA;IACf,uEAAuE;IACvE,iCAAmB,CAAA;IACnB,gDAAgD;IAChD,+BAAiB,CAAA;AACnB,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,yCAAyC;IACzC,uCAAmB,CAAA;IACnB,gDAAgD;IAChD,yCAAqB,CAAA;IACrB,yCAAyC;IACzC,yCAAqB,CAAA;IACrB,0DAA0D;IAC1D,uCAAmB,CAAA;AACrB,CAAC,EATW,gBAAgB,KAAhB,gBAAgB,QAS3B"}
|
|
@@ -1,29 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* @fileoverview Entity Types Module
|
|
4
3
|
* @description Exports all entity-related types for organization/workspace management
|
|
5
4
|
*/
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
18
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
5
|
// Core entity types and enums
|
|
22
|
-
|
|
6
|
+
export * from './entity';
|
|
23
7
|
// Request types
|
|
24
|
-
|
|
8
|
+
export * from './requests';
|
|
25
9
|
// Response types
|
|
26
|
-
|
|
10
|
+
export * from './responses';
|
|
27
11
|
// Permission types and utilities
|
|
28
|
-
|
|
12
|
+
export * from './permissions';
|
|
29
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,8BAA8B;AAC9B,cAAc,UAAU,CAAC;AAEzB,gBAAgB;AAChB,cAAc,YAAY,CAAC;AAE3B,iBAAiB;AACjB,cAAc,aAAa,CAAC;AAE5B,iCAAiC;AACjC,cAAc,eAAe,CAAC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* @fileoverview Entity Permission Type Definitions
|
|
4
3
|
* @description Permission types and constants for role-based access control
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
exports.ROLE_PERMISSIONS = void 0;
|
|
8
|
-
exports.getPermissionsForRole = getPermissionsForRole;
|
|
9
|
-
exports.hasPermission = hasPermission;
|
|
10
|
-
const entity_1 = require("./entity");
|
|
5
|
+
import { EntityRole } from './entity';
|
|
11
6
|
// ========================================
|
|
12
7
|
// ROLE PERMISSION MAPPINGS
|
|
13
8
|
// ========================================
|
|
@@ -63,10 +58,10 @@ const VIEWER_PERMISSIONS = {
|
|
|
63
58
|
* Maps each role to its permission set.
|
|
64
59
|
* Used by permission checking utilities.
|
|
65
60
|
*/
|
|
66
|
-
|
|
67
|
-
[
|
|
68
|
-
[
|
|
69
|
-
[
|
|
61
|
+
export const ROLE_PERMISSIONS = {
|
|
62
|
+
[EntityRole.ADMIN]: ADMIN_PERMISSIONS,
|
|
63
|
+
[EntityRole.MANAGER]: MANAGER_PERMISSIONS,
|
|
64
|
+
[EntityRole.VIEWER]: VIEWER_PERMISSIONS,
|
|
70
65
|
};
|
|
71
66
|
// ========================================
|
|
72
67
|
// UTILITY FUNCTIONS
|
|
@@ -76,8 +71,8 @@ exports.ROLE_PERMISSIONS = {
|
|
|
76
71
|
* @param role - The entity role
|
|
77
72
|
* @returns The permission set for that role
|
|
78
73
|
*/
|
|
79
|
-
function getPermissionsForRole(role) {
|
|
80
|
-
return
|
|
74
|
+
export function getPermissionsForRole(role) {
|
|
75
|
+
return ROLE_PERMISSIONS[role];
|
|
81
76
|
}
|
|
82
77
|
/**
|
|
83
78
|
* Check if a role has a specific permission.
|
|
@@ -85,7 +80,7 @@ function getPermissionsForRole(role) {
|
|
|
85
80
|
* @param permission - The permission key to check
|
|
86
81
|
* @returns Whether the role has the permission
|
|
87
82
|
*/
|
|
88
|
-
function hasPermission(role, permission) {
|
|
89
|
-
return
|
|
83
|
+
export function hasPermission(role, permission) {
|
|
84
|
+
return ROLE_PERMISSIONS[role][permission];
|
|
90
85
|
}
|
|
91
86
|
//# sourceMappingURL=permissions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../../../src/types/entity/permissions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../../../src/types/entity/permissions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAiCtC,2CAA2C;AAC3C,2BAA2B;AAC3B,2CAA2C;AAE3C;;;GAGG;AACH,MAAM,iBAAiB,GAAsB;IAC3C,aAAa,EAAE,IAAI;IACnB,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,gBAAgB,EAAE,IAAI;IACtB,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE,IAAI;CACrB,CAAC;AAEF;;;GAGG;AACH,MAAM,mBAAmB,GAAsB;IAC7C,aAAa,EAAE,IAAI;IACnB,aAAa,EAAE,KAAK;IACpB,eAAe,EAAE,KAAK;IACtB,gBAAgB,EAAE,KAAK;IACvB,gBAAgB,EAAE,KAAK;IACvB,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE,IAAI;CACrB,CAAC;AAEF;;;GAGG;AACH,MAAM,kBAAkB,GAAsB;IAC5C,aAAa,EAAE,IAAI;IACnB,aAAa,EAAE,KAAK;IACpB,eAAe,EAAE,KAAK;IACtB,gBAAgB,EAAE,KAAK;IACvB,gBAAgB,EAAE,KAAK;IACvB,iBAAiB,EAAE,KAAK;IACxB,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,KAAK;IACvB,cAAc,EAAE,IAAI;CACrB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA0C;IACrE,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,iBAAiB;IACrC,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,mBAAmB;IACzC,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,kBAAkB;CACxC,CAAC;AAEF,2CAA2C;AAC3C,oBAAoB;AACpB,2CAA2C;AAE3C;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CAAC,IAAgB;IACpD,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAC3B,IAAgB,EAChB,UAAmC;IAEnC,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC;AAC5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requests.js","sourceRoot":"","sources":["../../../src/types/entity/requests.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"requests.js","sourceRoot":"","sources":["../../../src/types/entity/requests.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../src/types/entity/responses.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../src/types/entity/responses.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/types/index.js
CHANGED
|
@@ -1,31 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
1
|
// Common utility types
|
|
18
|
-
|
|
2
|
+
export * from './common';
|
|
19
3
|
// Business domain types
|
|
20
|
-
|
|
4
|
+
export * from './business';
|
|
21
5
|
// Blockchain and crypto types
|
|
22
|
-
|
|
6
|
+
export * from './blockchain';
|
|
23
7
|
// Application configuration
|
|
24
|
-
|
|
8
|
+
export * from './config';
|
|
25
9
|
// Infrastructure types
|
|
26
|
-
|
|
10
|
+
export * from './infrastructure';
|
|
27
11
|
// Subscription types (rate limits, etc.)
|
|
28
|
-
|
|
12
|
+
export * from './subscription';
|
|
29
13
|
// Entity types (organizations, workspaces, members)
|
|
30
|
-
|
|
14
|
+
export * from './entity';
|
|
31
15
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,cAAc,UAAU,CAAC;AAEzB,wBAAwB;AACxB,cAAc,YAAY,CAAC;AAE3B,8BAA8B;AAC9B,cAAc,cAAc,CAAC;AAE7B,4BAA4B;AAC5B,cAAc,UAAU,CAAC;AAEzB,uBAAuB;AACvB,cAAc,kBAAkB,CAAC;AAEjC,yCAAyC;AACzC,cAAc,gBAAgB,CAAC;AAE/B,oDAAoD;AACpD,cAAc,UAAU,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Analytics types and interfaces
|
|
4
3
|
* Platform-agnostic analytics service interface for dependency injection
|
|
@@ -8,8 +7,6 @@
|
|
|
8
7
|
* @ai-platform Cross-platform compatible (Web, React Native, Node.js)
|
|
9
8
|
* @ai-usage Implement this interface to create analytics services for Firebase, Mixpanel, etc.
|
|
10
9
|
*/
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.AnalyticsEventBuilder = exports.AnalyticsEvent = void 0;
|
|
13
10
|
/**
|
|
14
11
|
* Standardized analytics events enumeration.
|
|
15
12
|
*
|
|
@@ -23,7 +20,7 @@ exports.AnalyticsEventBuilder = exports.AnalyticsEvent = void 0;
|
|
|
23
20
|
* analytics.track(AnalyticsEvent.EMAIL_OPENED, { email_id: 'msg-123' });
|
|
24
21
|
* ```
|
|
25
22
|
*/
|
|
26
|
-
var AnalyticsEvent;
|
|
23
|
+
export var AnalyticsEvent;
|
|
27
24
|
(function (AnalyticsEvent) {
|
|
28
25
|
/** User successfully logged into the application */
|
|
29
26
|
AnalyticsEvent["USER_LOGIN"] = "user_login";
|
|
@@ -73,7 +70,7 @@ var AnalyticsEvent;
|
|
|
73
70
|
AnalyticsEvent["AB_TEST_CONVERTED"] = "ab_test_converted";
|
|
74
71
|
/** Custom application-specific event */
|
|
75
72
|
AnalyticsEvent["CUSTOM_EVENT"] = "custom_event";
|
|
76
|
-
})(AnalyticsEvent || (
|
|
73
|
+
})(AnalyticsEvent || (AnalyticsEvent = {}));
|
|
77
74
|
/**
|
|
78
75
|
* Utility class for building standardized analytics event properties.
|
|
79
76
|
*
|
|
@@ -92,7 +89,7 @@ var AnalyticsEvent;
|
|
|
92
89
|
* analytics.trackEvent(AnalyticsEvent.EMAIL_OPENED, properties);
|
|
93
90
|
* ```
|
|
94
91
|
*/
|
|
95
|
-
class AnalyticsEventBuilder {
|
|
92
|
+
export class AnalyticsEventBuilder {
|
|
96
93
|
/**
|
|
97
94
|
* Build properties for email action events.
|
|
98
95
|
*
|
|
@@ -208,5 +205,4 @@ class AnalyticsEventBuilder {
|
|
|
208
205
|
};
|
|
209
206
|
}
|
|
210
207
|
}
|
|
211
|
-
exports.AnalyticsEventBuilder = AnalyticsEventBuilder;
|
|
212
208
|
//# sourceMappingURL=analytics.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/types/infrastructure/analytics.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/types/infrastructure/analytics.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* @fileoverview Core API Type Definitions
|
|
4
3
|
* @description Centralized type definitions for API requests/responses and data structures
|
|
@@ -9,23 +8,20 @@
|
|
|
9
8
|
* - Multi-chain data structures
|
|
10
9
|
* - Database entity interfaces
|
|
11
10
|
*/
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.ProcessedEventName = exports.ContractType = exports.ChainType = void 0;
|
|
14
11
|
// Re-export ChainType from business enums
|
|
15
|
-
|
|
16
|
-
Object.defineProperty(exports, "ChainType", { enumerable: true, get: function () { return enums_1.ChainType; } });
|
|
12
|
+
export { ChainType } from '../business/enums';
|
|
17
13
|
/**
|
|
18
14
|
* Contract types supported by the indexer
|
|
19
15
|
*/
|
|
20
|
-
var ContractType;
|
|
16
|
+
export var ContractType;
|
|
21
17
|
(function (ContractType) {
|
|
22
18
|
ContractType["Mailer"] = "Mailer";
|
|
23
19
|
ContractType["MailService"] = "MailService";
|
|
24
|
-
})(ContractType || (
|
|
20
|
+
})(ContractType || (ContractType = {}));
|
|
25
21
|
/**
|
|
26
22
|
* Event names processed by the indexer
|
|
27
23
|
*/
|
|
28
|
-
var ProcessedEventName;
|
|
24
|
+
export var ProcessedEventName;
|
|
29
25
|
(function (ProcessedEventName) {
|
|
30
26
|
ProcessedEventName["MailSent"] = "MailSent";
|
|
31
27
|
ProcessedEventName["PreparedMailSent"] = "PreparedMailSent";
|
|
@@ -39,5 +35,5 @@ var ProcessedEventName;
|
|
|
39
35
|
ProcessedEventName["RecipientClaimed"] = "RecipientClaimed";
|
|
40
36
|
ProcessedEventName["OwnerClaimed"] = "OwnerClaimed";
|
|
41
37
|
ProcessedEventName["ExpiredSharesClaimed"] = "ExpiredSharesClaimed";
|
|
42
|
-
})(ProcessedEventName || (
|
|
38
|
+
})(ProcessedEventName || (ProcessedEventName = {}));
|
|
43
39
|
//# sourceMappingURL=api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/types/infrastructure/api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/types/infrastructure/api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,0CAA0C;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AA0L9C;;GAEG;AACH,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,2CAA2B,CAAA;AAC7B,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC5B,2CAAqB,CAAA;IACrB,2DAAqC,CAAA;IACrC,qDAA+B,CAAA;IAC/B,6DAAuC,CAAA;IACvC,2DAAqC,CAAA;IACrC,uDAAiC,CAAA;IACjC,uDAAiC,CAAA;IACjC,+CAAyB,CAAA;IACzB,uDAAiC,CAAA;IACjC,2DAAqC,CAAA;IACrC,mDAA6B,CAAA;IAC7B,mEAA6C,CAAA;AAC/C,CAAC,EAbW,kBAAkB,KAAlB,kBAAkB,QAa7B"}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var analytics_1 = require("./analytics");
|
|
5
|
-
Object.defineProperty(exports, "AnalyticsEvent", { enumerable: true, get: function () { return analytics_1.AnalyticsEvent; } });
|
|
6
|
-
Object.defineProperty(exports, "AnalyticsEventBuilder", { enumerable: true, get: function () { return analytics_1.AnalyticsEventBuilder; } });
|
|
7
|
-
var api_1 = require("./api");
|
|
8
|
-
Object.defineProperty(exports, "ChainType", { enumerable: true, get: function () { return api_1.ChainType; } });
|
|
9
|
-
Object.defineProperty(exports, "ContractType", { enumerable: true, get: function () { return api_1.ContractType; } });
|
|
10
|
-
Object.defineProperty(exports, "ProcessedEventName", { enumerable: true, get: function () { return api_1.ProcessedEventName; } });
|
|
11
|
-
var network_1 = require("./network");
|
|
12
|
-
Object.defineProperty(exports, "NetworkError", { enumerable: true, get: function () { return network_1.NetworkError; } });
|
|
1
|
+
export { AnalyticsEvent, AnalyticsEventBuilder } from './analytics';
|
|
2
|
+
export { ChainType, ContractType, ProcessedEventName } from './api';
|
|
3
|
+
export { NetworkError } from './network';
|
|
13
4
|
// Wallet types
|
|
14
|
-
|
|
15
|
-
Object.defineProperty(exports, "WalletType", { enumerable: true, get: function () { return wallet_1.WalletType; } });
|
|
5
|
+
export { WalletType } from './wallet';
|
|
16
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/infrastructure/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/infrastructure/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAoBpE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AASpE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAYzC,eAAe;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Network client interface for dependency injection
|
|
4
3
|
* Platform-agnostic HTTP client interface
|
|
5
4
|
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.NetworkError = void 0;
|
|
8
5
|
class NetworkError extends Error {
|
|
9
6
|
constructor(message, status, statusText, response) {
|
|
10
7
|
super(message);
|
|
@@ -14,5 +11,5 @@ class NetworkError extends Error {
|
|
|
14
11
|
this.response = response;
|
|
15
12
|
}
|
|
16
13
|
}
|
|
17
|
-
|
|
14
|
+
export { NetworkError, };
|
|
18
15
|
//# sourceMappingURL=network.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../../src/types/infrastructure/network.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../../src/types/infrastructure/network.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+DH,MAAM,YAAa,SAAQ,KAAK;IAK9B,YACE,OAAe,EACf,MAAc,EACd,UAAkB,EAClB,QAA4B;QAE5B,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF;AAED,OAAO,EAIL,YAAY,GACb,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Wallet and blockchain types
|
|
4
3
|
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.WalletType = void 0;
|
|
7
4
|
/**
|
|
8
5
|
* Cryptocurrency wallet type enumeration.
|
|
9
6
|
*
|
|
@@ -21,7 +18,7 @@ exports.WalletType = void 0;
|
|
|
21
18
|
* }
|
|
22
19
|
* ```
|
|
23
20
|
*/
|
|
24
|
-
var WalletType;
|
|
21
|
+
export var WalletType;
|
|
25
22
|
(function (WalletType) {
|
|
26
23
|
/** MetaMask browser extension wallet */
|
|
27
24
|
WalletType["METAMASK"] = "metamask";
|
|
@@ -33,5 +30,5 @@ var WalletType;
|
|
|
33
30
|
WalletType["WALLETCONNECT"] = "walletconnect";
|
|
34
31
|
/** Generic injected wallet provider */
|
|
35
32
|
WalletType["INJECTED"] = "injected";
|
|
36
|
-
})(WalletType || (
|
|
33
|
+
})(WalletType || (WalletType = {}));
|
|
37
34
|
//# sourceMappingURL=wallet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.js","sourceRoot":"","sources":["../../../src/types/infrastructure/wallet.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wallet.js","sourceRoot":"","sources":["../../../src/types/infrastructure/wallet.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAN,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,wCAAwC;IACxC,mCAAqB,CAAA;IACrB,4CAA4C;IAC5C,iCAAmB,CAAA;IACnB,sBAAsB;IACtB,mCAAqB,CAAA;IACrB,gDAAgD;IAChD,6CAA+B,CAAA;IAC/B,uCAAuC;IACvC,mCAAqB,CAAA;AACvB,CAAC,EAXW,UAAU,KAAV,UAAU,QAWrB"}
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
1
|
// Rate limit types
|
|
18
|
-
|
|
2
|
+
export * from "./rate-limits";
|
|
19
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/subscription/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/subscription/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,cAAc,eAAe,CAAC"}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* @fileoverview Rate Limit Type Definitions
|
|
4
3
|
* @description Types for rate limiting endpoints across sudojo_api, shapeshyft_api, and whisperly_api
|
|
5
4
|
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.RateLimitPeriodType = void 0;
|
|
8
5
|
// ========================================
|
|
9
6
|
// RATE LIMIT HISTORY TYPES
|
|
10
7
|
// ========================================
|
|
11
8
|
/**
|
|
12
9
|
* Valid period types for rate limit history.
|
|
13
10
|
*/
|
|
14
|
-
var RateLimitPeriodType;
|
|
11
|
+
export var RateLimitPeriodType;
|
|
15
12
|
(function (RateLimitPeriodType) {
|
|
16
13
|
RateLimitPeriodType["HOUR"] = "hour";
|
|
17
14
|
RateLimitPeriodType["DAY"] = "day";
|
|
18
15
|
RateLimitPeriodType["MONTH"] = "month";
|
|
19
|
-
})(RateLimitPeriodType || (
|
|
16
|
+
})(RateLimitPeriodType || (RateLimitPeriodType = {}));
|
|
20
17
|
//# sourceMappingURL=rate-limits.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate-limits.js","sourceRoot":"","sources":["../../../src/types/subscription/rate-limits.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rate-limits.js","sourceRoot":"","sources":["../../../src/types/subscription/rate-limits.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiEH,2CAA2C;AAC3C,2BAA2B;AAC3B,2CAA2C;AAE3C;;GAEG;AACH,MAAM,CAAN,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,kCAAW,CAAA;IACX,sCAAe,CAAA;AACjB,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,QAI9B"}
|