@digitaldefiance/suite-core-lib 3.13.3 → 3.13.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitaldefiance/suite-core-lib",
3
- "version": "3.13.3",
3
+ "version": "3.13.4",
4
4
  "homepage": "https://github.com/Digital-Defiance/suite-core-lib",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,8 +28,9 @@
28
28
  "publish:public": "npm publish --access public"
29
29
  },
30
30
  "dependencies": {
31
- "@digitaldefiance/ecies-lib": "4.19.3",
32
- "@digitaldefiance/i18n-lib": "4.6.2"
31
+ "@digitaldefiance/branded-interface": "^0.0.4",
32
+ "@digitaldefiance/ecies-lib": "4.19.4",
33
+ "@digitaldefiance/i18n-lib": "4.6.3"
33
34
  },
34
35
  "files": [
35
36
  "src",
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Branded interface definitions for ICoreConstants and IConstants.
3
+ *
4
+ * Provides runtime validation for suite-core-lib constants using
5
+ * `@digitaldefiance/branded-interface`. Validates numeric fields as positive
6
+ * integers, string role/user fields as non-empty, email fields against an
7
+ * email pattern, and color fields as valid CSS hex color strings.
8
+ *
9
+ * @module branded-constants
10
+ */
11
+ import type { BrandedInstance, InterfaceSafeParseResult } from '@digitaldefiance/branded-interface';
12
+ import type { IConstants } from './interfaces/constants';
13
+ import type { ICoreConstants } from './interfaces/core-consts';
14
+ /**
15
+ * Utility type that adds an index signature to an interface,
16
+ * making it compatible with Record<string, unknown> constraints.
17
+ * This is needed because TypeScript interfaces without explicit
18
+ * index signatures don't satisfy Record<string, unknown>.
19
+ */
20
+ type Indexable<T> = {
21
+ [K in keyof T]: T[K];
22
+ } & Record<string, unknown>;
23
+ /**
24
+ * Returns true if the value is a positive integer (> 0, finite, no fractional part).
25
+ */
26
+ export declare function isPositiveInt(v: unknown): boolean;
27
+ /**
28
+ * Returns true if the value is a non-empty string.
29
+ */
30
+ export declare function isNonEmpty(v: unknown): boolean;
31
+ /**
32
+ * Returns true if the value matches a basic email pattern (contains @ with text on both sides).
33
+ */
34
+ export declare function isEmail(v: unknown): boolean;
35
+ /**
36
+ * Returns true if the value is a valid CSS hex color string (#RGB, #RGBA, #RRGGBB, or #RRGGBBAA).
37
+ */
38
+ export declare function isHexColor(v: unknown): boolean;
39
+ /**
40
+ * Branded interface definition mirroring ICoreConstants with field-level validation.
41
+ *
42
+ * - Numeric fields are validated as positive integers
43
+ * - String role/user fields are validated as non-empty
44
+ * - Object fields (RegExp, IIdProviderBase, IBackupCodeConstants) use type: 'object'
45
+ */
46
+ export declare const BrandedCoreConstants: import("@digitaldefiance/branded-interface", { with: { "resolution-mode": "import" } }).BrandedInterfaceDefinition<Indexable<ICoreConstants>>;
47
+ /**
48
+ * Branded interface definition for IConstants-specific fields (those not in ICoreConstants).
49
+ *
50
+ * - Email fields are validated against an email pattern
51
+ * - Color fields are validated as CSS hex color strings
52
+ */
53
+ export declare const BrandedSiteConstants: import("@digitaldefiance/branded-interface", { with: { "resolution-mode": "import" } }).BrandedInterfaceDefinition<Indexable<Omit<IConstants, keyof ICoreConstants>>>;
54
+ /**
55
+ * Validates a plain IConstants object against both BrandedCoreConstants and
56
+ * BrandedSiteConstants definitions.
57
+ *
58
+ * Returns the first failure encountered, or the success result from the core
59
+ * validation (which carries all fields).
60
+ */
61
+ export declare function validateConstants(constants: IConstants): InterfaceSafeParseResult<BrandedInstance<Indexable<IConstants>>>;
62
+ /**
63
+ * Serializer for BrandedCoreConstants instances.
64
+ *
65
+ * Note: RegExp and IIdProviderBase fields are type: 'object' — the serializer
66
+ * will serialize their JSON representation. For full round-trip fidelity,
67
+ * consumers should use the serializer only for the serializable subset of
68
+ * constants, or provide custom codec pipelines for non-JSON-safe fields.
69
+ */
70
+ export declare const coreConstantsSerializer: import("@digitaldefiance/branded-interface", { with: { "resolution-mode": "import" } }).InterfaceSerializer<Indexable<ICoreConstants>>;
71
+ export {};
72
+ //# sourceMappingURL=branded-constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branded-constants.d.ts","sourceRoot":"","sources":["../../../../packages/digitaldefiance-suite-core-lib/src/branded-constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;;;;GAKG;AACH,KAAK,SAAS,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAMvE;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAIjD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAE9C;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAE3C;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CAK9C;AAMD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,+IAqC/B,CAAC;AAMH;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,uKAgB/B,CAAC;AAMH;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,UAAU,GACpB,wBAAwB,CAAC,eAAe,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAgBlE;AAMD;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,wIACO,CAAC"}
@@ -0,0 +1,151 @@
1
+ "use strict";
2
+ /**
3
+ * Branded interface definitions for ICoreConstants and IConstants.
4
+ *
5
+ * Provides runtime validation for suite-core-lib constants using
6
+ * `@digitaldefiance/branded-interface`. Validates numeric fields as positive
7
+ * integers, string role/user fields as non-empty, email fields against an
8
+ * email pattern, and color fields as valid CSS hex color strings.
9
+ *
10
+ * @module branded-constants
11
+ */
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.coreConstantsSerializer = exports.BrandedSiteConstants = exports.BrandedCoreConstants = void 0;
14
+ exports.isPositiveInt = isPositiveInt;
15
+ exports.isNonEmpty = isNonEmpty;
16
+ exports.isEmail = isEmail;
17
+ exports.isHexColor = isHexColor;
18
+ exports.validateConstants = validateConstants;
19
+ const branded_interface_1 = require("@digitaldefiance/branded-interface");
20
+ // =============================================================================
21
+ // Validation Helpers
22
+ // =============================================================================
23
+ /**
24
+ * Returns true if the value is a positive integer (> 0, finite, no fractional part).
25
+ */
26
+ function isPositiveInt(v) {
27
+ return (typeof v === 'number' && Number.isFinite(v) && Number.isInteger(v) && v > 0);
28
+ }
29
+ /**
30
+ * Returns true if the value is a non-empty string.
31
+ */
32
+ function isNonEmpty(v) {
33
+ return typeof v === 'string' && v.length > 0;
34
+ }
35
+ /**
36
+ * Returns true if the value matches a basic email pattern (contains @ with text on both sides).
37
+ */
38
+ function isEmail(v) {
39
+ return typeof v === 'string' && /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(v);
40
+ }
41
+ /**
42
+ * Returns true if the value is a valid CSS hex color string (#RGB, #RGBA, #RRGGBB, or #RRGGBBAA).
43
+ */
44
+ function isHexColor(v) {
45
+ return (typeof v === 'string' &&
46
+ /^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(v));
47
+ }
48
+ // =============================================================================
49
+ // BrandedCoreConstants
50
+ // =============================================================================
51
+ /**
52
+ * Branded interface definition mirroring ICoreConstants with field-level validation.
53
+ *
54
+ * - Numeric fields are validated as positive integers
55
+ * - String role/user fields are validated as non-empty
56
+ * - Object fields (RegExp, IIdProviderBase, IBackupCodeConstants) use type: 'object'
57
+ */
58
+ exports.BrandedCoreConstants = (0, branded_interface_1.createBrandedInterface)('SuiteCoreCoreConstants', {
59
+ idProvider: { type: 'object' },
60
+ BACKUP_CODES: { type: 'object' },
61
+ LoginChallengeExpiration: { type: 'number', validate: isPositiveInt },
62
+ DefaultExpireMemoryMnemonicSeconds: {
63
+ type: 'number',
64
+ validate: isPositiveInt,
65
+ },
66
+ DefaultExpireMemoryWalletSeconds: { type: 'number', validate: isPositiveInt },
67
+ DirectLoginChallengeLength: { type: 'number', validate: isPositiveInt },
68
+ EmailTokenExpiration: { type: 'number', validate: isPositiveInt },
69
+ EmailTokenLength: { type: 'number', validate: isPositiveInt },
70
+ BcryptRounds: { type: 'number', validate: isPositiveInt },
71
+ AdministratorUser: { type: 'string', validate: isNonEmpty },
72
+ AdministratorRole: { type: 'string', validate: isNonEmpty },
73
+ MemberRole: { type: 'string', validate: isNonEmpty },
74
+ MemberUser: { type: 'string', validate: isNonEmpty },
75
+ SystemRole: { type: 'string', validate: isNonEmpty },
76
+ SystemUser: { type: 'string', validate: isNonEmpty },
77
+ UsernameMinLength: { type: 'number', validate: isPositiveInt },
78
+ UsernameMaxLength: { type: 'number', validate: isPositiveInt },
79
+ UsernameRegex: { type: 'object' },
80
+ PasswordMinLength: { type: 'number', validate: isPositiveInt },
81
+ PasswordRegex: { type: 'object' },
82
+ JwtSecretRegex: { type: 'object' },
83
+ MnemonicRegex: { type: 'object' },
84
+ MnemonicHmacRegex: { type: 'object' },
85
+ MnemonicEncryptionKeyRegex: { type: 'object' },
86
+ EmailTokenResendInterval: { type: 'number', validate: isPositiveInt },
87
+ EmailTokenResendIntervalMinutes: { type: 'number', validate: isPositiveInt },
88
+ Site: { type: 'string', validate: isNonEmpty },
89
+ SiteTagline: { type: 'string' },
90
+ SiteDescription: { type: 'string' },
91
+ SiteEmailDomain: { type: 'string', validate: isNonEmpty },
92
+ SiteHostname: { type: 'string', validate: isNonEmpty },
93
+ });
94
+ // =============================================================================
95
+ // BrandedSiteConstants
96
+ // =============================================================================
97
+ /**
98
+ * Branded interface definition for IConstants-specific fields (those not in ICoreConstants).
99
+ *
100
+ * - Email fields are validated against an email pattern
101
+ * - Color fields are validated as CSS hex color strings
102
+ */
103
+ exports.BrandedSiteConstants = (0, branded_interface_1.createBrandedInterface)('SuiteCoreSiteConstants', {
104
+ AdministratorEmail: { type: 'string', validate: isEmail },
105
+ MemberEmail: { type: 'string', validate: isEmail },
106
+ SystemEmail: { type: 'string', validate: isEmail },
107
+ logo_primary_color: { type: 'string', validate: isHexColor },
108
+ logo_primary_text: { type: 'string', validate: isHexColor },
109
+ logo_secondary_text: { type: 'string', validate: isHexColor },
110
+ success_color: { type: 'string', validate: isHexColor },
111
+ warning_color: { type: 'string', validate: isHexColor },
112
+ failure_color: { type: 'string', validate: isHexColor },
113
+ primary_text_light: { type: 'string', validate: isHexColor },
114
+ primary_text_dark: { type: 'string', validate: isHexColor },
115
+ secondary_text_light: { type: 'string', validate: isHexColor },
116
+ secondary_text_dark: { type: 'string', validate: isHexColor },
117
+ });
118
+ // =============================================================================
119
+ // validateConstants
120
+ // =============================================================================
121
+ /**
122
+ * Validates a plain IConstants object against both BrandedCoreConstants and
123
+ * BrandedSiteConstants definitions.
124
+ *
125
+ * Returns the first failure encountered, or the success result from the core
126
+ * validation (which carries all fields).
127
+ */
128
+ function validateConstants(constants) {
129
+ const coreResult = (0, branded_interface_1.safeParseInterface)(constants, exports.BrandedCoreConstants);
130
+ if (!coreResult.success) {
131
+ return coreResult;
132
+ }
133
+ const siteResult = (0, branded_interface_1.safeParseInterface)(constants, exports.BrandedSiteConstants);
134
+ if (!siteResult.success) {
135
+ return siteResult;
136
+ }
137
+ return coreResult;
138
+ }
139
+ // =============================================================================
140
+ // Serializer
141
+ // =============================================================================
142
+ /**
143
+ * Serializer for BrandedCoreConstants instances.
144
+ *
145
+ * Note: RegExp and IIdProviderBase fields are type: 'object' — the serializer
146
+ * will serialize their JSON representation. For full round-trip fidelity,
147
+ * consumers should use the serializer only for the serializable subset of
148
+ * constants, or provide custom codec pipelines for non-JSON-safe fields.
149
+ */
150
+ exports.coreConstantsSerializer = (0, branded_interface_1.interfaceSerializer)(exports.BrandedCoreConstants);
151
+ //# sourceMappingURL=branded-constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branded-constants.js","sourceRoot":"","sources":["../../../../packages/digitaldefiance-suite-core-lib/src/branded-constants.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AA6BH,sCAIC;AAKD,gCAEC;AAKD,0BAEC;AAKD,gCAKC;AA2FD,8CAkBC;AApKD,0EAI4C;AAgB5C,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAEhF;;GAEG;AACH,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,OAAO,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;AAC/C,CAAC;AAED;;GAEG;AACH,SAAgB,OAAO,CAAC,CAAU;IAChC,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,4BAA4B,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACvE,CAAC;AAED;;GAEG;AACH,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,OAAO,CAAC,KAAK,QAAQ;QACrB,qDAAqD,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,gFAAgF;AAChF,uBAAuB;AACvB,gFAAgF;AAEhF;;;;;;GAMG;AACU,QAAA,oBAAoB,GAAG,IAAA,0CAAsB,EAExD,wBAAwB,EAAE;IAC1B,UAAU,EAAE,EAAE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AED,gFAAgF;AAChF,aAAa;AACb,gFAAgF;AAEhF;;;;;;;GAOG;AACU,QAAA,uBAAuB,GAClC,IAAA,uCAAmB,EAAC,4BAAoB,CAAC,CAAC"}
package/src/index.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  * Main entry point for the suite-core library.
3
3
  * Exports all public APIs including builders, constants, enumerations, errors, interfaces, and utilities.
4
4
  */
5
+ export * from './branded-constants';
5
6
  export * from './backup-code-string';
6
7
  export * from './builders';
7
8
  export * from './constants';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/digitaldefiance-suite-core-lib/src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/digitaldefiance-suite-core-lib/src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,yBAAyB,CAAC"}
package/src/index.js CHANGED
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  * Main entry point for the suite-core library.
6
6
  * Exports all public APIs including builders, constants, enumerations, errors, interfaces, and utilities.
7
7
  */
8
+ tslib_1.__exportStar(require("./branded-constants"), exports);
8
9
  tslib_1.__exportStar(require("./backup-code-string"), exports);
9
10
  tslib_1.__exportStar(require("./builders"), exports);
10
11
  tslib_1.__exportStar(require("./constants"), exports);
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/digitaldefiance-suite-core-lib/src/index.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,+DAAqC;AACrC,qDAA2B;AAC3B,sDAA4B;AAC5B,iDAAuB;AACvB,qDAA2B;AAC3B,yDAA+B;AAC/B,mDAAyB;AACzB,uDAA6B;AAC7B,uDAA6B;AAC7B,gDAAsB;AACtB,kEAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/digitaldefiance-suite-core-lib/src/index.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,8DAAoC;AACpC,+DAAqC;AACrC,qDAA2B;AAC3B,sDAA4B;AAC5B,iDAAuB;AACvB,qDAA2B;AAC3B,yDAA+B;AAC/B,mDAAyB;AACzB,uDAA6B;AAC7B,uDAA6B;AAC7B,gDAAsB;AACtB,kEAAwC"}