@sudobility/types 1.9.45 → 1.9.48
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.cjs +224 -50
- package/dist/index.d.ts +46 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +224 -50
- package/dist/index.js.map +1 -1
- package/dist/types/entity/permissions.cjs +7 -7
- package/dist/types/entity/permissions.d.ts +17 -0
- package/dist/types/entity/permissions.d.ts.map +1 -1
- package/dist/types/entity/permissions.js +7 -7
- package/dist/types/entity/permissions.js.map +1 -1
- package/dist/types/infrastructure/firebase-user.cjs +10 -0
- package/dist/types/infrastructure/firebase-user.d.ts +27 -0
- package/dist/types/infrastructure/firebase-user.d.ts.map +1 -0
- package/dist/types/infrastructure/firebase-user.js +10 -0
- package/dist/types/infrastructure/firebase-user.js.map +1 -0
- package/dist/utils/async-helpers.cjs +6 -6
- package/dist/utils/async-helpers.js +6 -6
- package/dist/utils/async-helpers.js.map +1 -1
- package/dist/utils/auth/admin-emails.cjs +79 -0
- package/dist/utils/auth/admin-emails.d.ts +56 -0
- package/dist/utils/auth/admin-emails.d.ts.map +1 -0
- package/dist/utils/auth/admin-emails.js +79 -0
- package/dist/utils/auth/admin-emails.js.map +1 -0
- package/package.json +1 -1
- package/dist/types/blockchain/index.cjs +0 -18
- package/dist/types/blockchain/index.d.ts +0 -4
- package/dist/types/blockchain/index.d.ts.map +0 -1
- package/dist/types/blockchain/index.js +0 -18
- package/dist/types/blockchain/index.js.map +0 -1
- package/dist/types/business/index.cjs +0 -33
- package/dist/types/business/index.d.ts +0 -4
- package/dist/types/business/index.d.ts.map +0 -1
- package/dist/types/business/index.js +0 -33
- package/dist/types/business/index.js.map +0 -1
- package/dist/types/config/index.cjs +0 -6
- package/dist/types/config/index.d.ts +0 -4
- package/dist/types/config/index.d.ts.map +0 -1
- package/dist/types/config/index.js +0 -6
- package/dist/types/config/index.js.map +0 -1
- package/dist/types/entity/index.cjs +0 -29
- package/dist/types/entity/index.d.ts +0 -9
- package/dist/types/entity/index.d.ts.map +0 -1
- package/dist/types/entity/index.js +0 -29
- package/dist/types/entity/index.js.map +0 -1
- package/dist/types/index.cjs +0 -31
- package/dist/types/index.d.ts +0 -8
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -31
- package/dist/types/index.js.map +0 -1
- package/dist/types/infrastructure/index.cjs +0 -16
- package/dist/types/infrastructure/index.d.ts +0 -9
- package/dist/types/infrastructure/index.d.ts.map +0 -1
- package/dist/types/infrastructure/index.js +0 -16
- package/dist/types/infrastructure/index.js.map +0 -1
- package/dist/types/subscription/index.cjs +0 -19
- package/dist/types/subscription/index.d.ts +0 -2
- package/dist/types/subscription/index.d.ts.map +0 -1
- package/dist/types/subscription/index.js +0 -19
- package/dist/types/subscription/index.js.map +0 -1
- package/dist/utils/auth/index.cjs +0 -14
- package/dist/utils/auth/index.d.ts +0 -2
- package/dist/utils/auth/index.d.ts.map +0 -1
- package/dist/utils/auth/index.js +0 -14
- package/dist/utils/auth/index.js.map +0 -1
- package/dist/utils/blockchain/index.cjs +0 -28
- package/dist/utils/blockchain/index.d.ts +0 -6
- package/dist/utils/blockchain/index.d.ts.map +0 -1
- package/dist/utils/blockchain/index.js +0 -28
- package/dist/utils/blockchain/index.js.map +0 -1
- package/dist/utils/constants/index.cjs +0 -29
- package/dist/utils/constants/index.d.ts +0 -7
- package/dist/utils/constants/index.d.ts.map +0 -1
- package/dist/utils/constants/index.js +0 -29
- package/dist/utils/constants/index.js.map +0 -1
- package/dist/utils/formatting/index.cjs +0 -37
- package/dist/utils/formatting/index.d.ts +0 -4
- package/dist/utils/formatting/index.d.ts.map +0 -1
- package/dist/utils/formatting/index.js +0 -37
- package/dist/utils/formatting/index.js.map +0 -1
- package/dist/utils/index.cjs +0 -28
- package/dist/utils/index.d.ts +0 -12
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -28
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/logging/index.cjs +0 -16
- package/dist/utils/logging/index.d.ts +0 -5
- package/dist/utils/logging/index.d.ts.map +0 -1
- package/dist/utils/logging/index.js +0 -16
- package/dist/utils/logging/index.js.map +0 -1
- package/dist/utils/url/index.cjs +0 -13
- package/dist/utils/url/index.d.ts +0 -5
- package/dist/utils/url/index.d.ts.map +0 -1
- package/dist/utils/url/index.js +0 -13
- package/dist/utils/url/index.js.map +0 -1
- package/dist/utils/validation/index.cjs +0 -25
- package/dist/utils/validation/index.d.ts +0 -5
- package/dist/utils/validation/index.d.ts.map +0 -1
- package/dist/utils/validation/index.js +0 -25
- package/dist/utils/validation/index.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/url/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,KAAK,mBAAmB,GACzB,MAAM,cAAc,CAAC"}
|
package/dist/utils/url/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* URL utilities export
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.parseSearchParams = exports.searchParamsToString = exports.createSearchParams = exports.createURLSearchParams = void 0;
|
|
7
|
-
// URL parameter utilities
|
|
8
|
-
var url_params_1 = require("./url-params");
|
|
9
|
-
Object.defineProperty(exports, "createURLSearchParams", { enumerable: true, get: function () { return url_params_1.createURLSearchParams; } });
|
|
10
|
-
Object.defineProperty(exports, "createSearchParams", { enumerable: true, get: function () { return url_params_1.createSearchParams; } });
|
|
11
|
-
Object.defineProperty(exports, "searchParamsToString", { enumerable: true, get: function () { return url_params_1.searchParamsToString; } });
|
|
12
|
-
Object.defineProperty(exports, "parseSearchParams", { enumerable: true, get: function () { return url_params_1.parseSearchParams; } });
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/url/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0BAA0B;AAC1B,2CAMsB;AALpB,mHAAA,qBAAqB,OAAA;AACrB,gHAAA,kBAAkB,OAAA;AAClB,kHAAA,oBAAoB,OAAA;AACpB,+GAAA,iBAAiB,OAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateArray = exports.parseJson = exports.optional = exports.isValidDate = exports.isUrl = exports.isSuccessResponse = exports.isString = exports.isObject = exports.isNumber = exports.isNullish = exports.isErrorResponse = exports.isEmail = exports.isBoolean = exports.isArray = exports.isApiResponse = exports.hasRequiredProperties = exports.createValidator = exports.createAssertion = exports.Web3UsernameValidator = void 0;
|
|
4
|
-
var web3_username_validator_1 = require("./web3-username-validator");
|
|
5
|
-
Object.defineProperty(exports, "Web3UsernameValidator", { enumerable: true, get: function () { return web3_username_validator_1.Web3UsernameValidator; } });
|
|
6
|
-
var type_validation_1 = require("./type-validation");
|
|
7
|
-
Object.defineProperty(exports, "createAssertion", { enumerable: true, get: function () { return type_validation_1.createAssertion; } });
|
|
8
|
-
Object.defineProperty(exports, "createValidator", { enumerable: true, get: function () { return type_validation_1.createValidator; } });
|
|
9
|
-
Object.defineProperty(exports, "hasRequiredProperties", { enumerable: true, get: function () { return type_validation_1.hasRequiredProperties; } });
|
|
10
|
-
Object.defineProperty(exports, "isApiResponse", { enumerable: true, get: function () { return type_validation_1.isApiResponse; } });
|
|
11
|
-
Object.defineProperty(exports, "isArray", { enumerable: true, get: function () { return type_validation_1.isArray; } });
|
|
12
|
-
Object.defineProperty(exports, "isBoolean", { enumerable: true, get: function () { return type_validation_1.isBoolean; } });
|
|
13
|
-
Object.defineProperty(exports, "isEmail", { enumerable: true, get: function () { return type_validation_1.isEmail; } });
|
|
14
|
-
Object.defineProperty(exports, "isErrorResponse", { enumerable: true, get: function () { return type_validation_1.isErrorResponse; } });
|
|
15
|
-
Object.defineProperty(exports, "isNullish", { enumerable: true, get: function () { return type_validation_1.isNullish; } });
|
|
16
|
-
Object.defineProperty(exports, "isNumber", { enumerable: true, get: function () { return type_validation_1.isNumber; } });
|
|
17
|
-
Object.defineProperty(exports, "isObject", { enumerable: true, get: function () { return type_validation_1.isObject; } });
|
|
18
|
-
Object.defineProperty(exports, "isString", { enumerable: true, get: function () { return type_validation_1.isString; } });
|
|
19
|
-
Object.defineProperty(exports, "isSuccessResponse", { enumerable: true, get: function () { return type_validation_1.isSuccessResponse; } });
|
|
20
|
-
Object.defineProperty(exports, "isUrl", { enumerable: true, get: function () { return type_validation_1.isUrl; } });
|
|
21
|
-
Object.defineProperty(exports, "isValidDate", { enumerable: true, get: function () { return type_validation_1.isValidDate; } });
|
|
22
|
-
Object.defineProperty(exports, "optional", { enumerable: true, get: function () { return type_validation_1.optional; } });
|
|
23
|
-
Object.defineProperty(exports, "parseJson", { enumerable: true, get: function () { return type_validation_1.parseJson; } });
|
|
24
|
-
Object.defineProperty(exports, "validateArray", { enumerable: true, get: function () { return type_validation_1.validateArray; } });
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type { AddressValidationResult } from './web3-username-validator';
|
|
2
|
-
export { Web3UsernameValidator } from './web3-username-validator';
|
|
3
|
-
export type { ValidationResult } from './type-validation';
|
|
4
|
-
export { createAssertion, createValidator, hasRequiredProperties, isApiResponse, isArray, isBoolean, isEmail, isErrorResponse, isNullish, isNumber, isObject, isString, isSuccessResponse, isUrl, isValidDate, optional, parseJson, validateArray, } from './type-validation';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/validation/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,EACL,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,OAAO,EACP,SAAS,EACT,OAAO,EACP,eAAe,EACf,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,KAAK,EACL,WAAW,EACX,QAAQ,EACR,SAAS,EACT,aAAa,GACd,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateArray = exports.parseJson = exports.optional = exports.isValidDate = exports.isUrl = exports.isSuccessResponse = exports.isString = exports.isObject = exports.isNumber = exports.isNullish = exports.isErrorResponse = exports.isEmail = exports.isBoolean = exports.isArray = exports.isApiResponse = exports.hasRequiredProperties = exports.createValidator = exports.createAssertion = exports.Web3UsernameValidator = void 0;
|
|
4
|
-
var web3_username_validator_1 = require("./web3-username-validator");
|
|
5
|
-
Object.defineProperty(exports, "Web3UsernameValidator", { enumerable: true, get: function () { return web3_username_validator_1.Web3UsernameValidator; } });
|
|
6
|
-
var type_validation_1 = require("./type-validation");
|
|
7
|
-
Object.defineProperty(exports, "createAssertion", { enumerable: true, get: function () { return type_validation_1.createAssertion; } });
|
|
8
|
-
Object.defineProperty(exports, "createValidator", { enumerable: true, get: function () { return type_validation_1.createValidator; } });
|
|
9
|
-
Object.defineProperty(exports, "hasRequiredProperties", { enumerable: true, get: function () { return type_validation_1.hasRequiredProperties; } });
|
|
10
|
-
Object.defineProperty(exports, "isApiResponse", { enumerable: true, get: function () { return type_validation_1.isApiResponse; } });
|
|
11
|
-
Object.defineProperty(exports, "isArray", { enumerable: true, get: function () { return type_validation_1.isArray; } });
|
|
12
|
-
Object.defineProperty(exports, "isBoolean", { enumerable: true, get: function () { return type_validation_1.isBoolean; } });
|
|
13
|
-
Object.defineProperty(exports, "isEmail", { enumerable: true, get: function () { return type_validation_1.isEmail; } });
|
|
14
|
-
Object.defineProperty(exports, "isErrorResponse", { enumerable: true, get: function () { return type_validation_1.isErrorResponse; } });
|
|
15
|
-
Object.defineProperty(exports, "isNullish", { enumerable: true, get: function () { return type_validation_1.isNullish; } });
|
|
16
|
-
Object.defineProperty(exports, "isNumber", { enumerable: true, get: function () { return type_validation_1.isNumber; } });
|
|
17
|
-
Object.defineProperty(exports, "isObject", { enumerable: true, get: function () { return type_validation_1.isObject; } });
|
|
18
|
-
Object.defineProperty(exports, "isString", { enumerable: true, get: function () { return type_validation_1.isString; } });
|
|
19
|
-
Object.defineProperty(exports, "isSuccessResponse", { enumerable: true, get: function () { return type_validation_1.isSuccessResponse; } });
|
|
20
|
-
Object.defineProperty(exports, "isUrl", { enumerable: true, get: function () { return type_validation_1.isUrl; } });
|
|
21
|
-
Object.defineProperty(exports, "isValidDate", { enumerable: true, get: function () { return type_validation_1.isValidDate; } });
|
|
22
|
-
Object.defineProperty(exports, "optional", { enumerable: true, get: function () { return type_validation_1.optional; } });
|
|
23
|
-
Object.defineProperty(exports, "parseJson", { enumerable: true, get: function () { return type_validation_1.parseJson; } });
|
|
24
|
-
Object.defineProperty(exports, "validateArray", { enumerable: true, get: function () { return type_validation_1.validateArray; } });
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/validation/index.ts"],"names":[],"mappings":";;;AAGA,qEAAkE;AAAzD,gIAAA,qBAAqB,OAAA;AAK9B,qDAmB2B;AAlBzB,kHAAA,eAAe,OAAA;AACf,kHAAA,eAAe,OAAA;AACf,wHAAA,qBAAqB,OAAA;AACrB,gHAAA,aAAa,OAAA;AACb,0GAAA,OAAO,OAAA;AACP,4GAAA,SAAS,OAAA;AACT,0GAAA,OAAO,OAAA;AACP,kHAAA,eAAe,OAAA;AACf,4GAAA,SAAS,OAAA;AACT,2GAAA,QAAQ,OAAA;AACR,2GAAA,QAAQ,OAAA;AACR,2GAAA,QAAQ,OAAA;AACR,oHAAA,iBAAiB,OAAA;AACjB,wGAAA,KAAK,OAAA;AACL,8GAAA,WAAW,OAAA;AACX,2GAAA,QAAQ,OAAA;AACR,4GAAA,SAAS,OAAA;AACT,gHAAA,aAAa,OAAA"}
|