@digitaldefiance/suite-core-lib 2.1.43 → 2.1.44

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/README.md CHANGED
@@ -406,6 +406,8 @@ MIT © [Digital Defiance](https://github.com/digitaldefiance)
406
406
 
407
407
  ## ChangeLog
408
408
 
409
+ ## V2.1.44: Export flags
410
+
409
411
  ## V2.1.43: Add string
410
412
 
411
413
  ## V2.1.42: Upgrade ecies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitaldefiance/suite-core-lib",
3
- "version": "2.1.43",
3
+ "version": "2.1.44",
4
4
  "description": "Generic user system and document system common core for applications",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -0,0 +1,6 @@
1
+ import { CoreLanguageCode } from '@digitaldefiance/i18n-lib';
2
+ export type LanguageFlagCollection = {
3
+ [key in CoreLanguageCode]: string;
4
+ };
5
+ export declare const LanguageFlags: LanguageFlagCollection;
6
+ //# sourceMappingURL=flags.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/lib/flags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG;KAAG,GAAG,IAAI,gBAAgB,GAAG,MAAM;CAAE,CAAC;AAE3E,eAAO,MAAM,aAAa,EAAE,sBAS3B,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LanguageFlags = void 0;
4
+ exports.LanguageFlags = {
5
+ ['en-US']: 'us',
6
+ ['en-GB']: 'gb',
7
+ ['fr']: 'fr',
8
+ ['zh-CN']: 'cn',
9
+ ['es']: 'es',
10
+ ['uk']: 'ua',
11
+ ['de']: 'de',
12
+ ['ja']: 'jp',
13
+ };
14
+ //# sourceMappingURL=flags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flags.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/lib/flags.ts"],"names":[],"mappings":";;;AAIa,QAAA,aAAa,GAA2B;IACnD,CAAC,OAAO,CAAC,EAAE,IAAI;IACf,CAAC,OAAO,CAAC,EAAE,IAAI;IACf,CAAC,IAAI,CAAC,EAAE,IAAI;IACZ,CAAC,OAAO,CAAC,EAAE,IAAI;IACf,CAAC,IAAI,CAAC,EAAE,IAAI;IACZ,CAAC,IAAI,CAAC,EAAE,IAAI;IACZ,CAAC,IAAI,CAAC,EAAE,IAAI;IACZ,CAAC,IAAI,CAAC,EAAE,IAAI;CACb,CAAC"}
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * Library utilities - validators, formatters, and helpers
3
3
  */
4
+ export * from './flags';
5
+ export * from './formatters';
4
6
  export * from './validators';
5
7
  export * from './validators-with-constants';
6
- export * from './formatters';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/lib/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/lib/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC"}
package/src/lib/index.js CHANGED
@@ -4,7 +4,8 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const tslib_1 = require("tslib");
7
+ tslib_1.__exportStar(require("./flags"), exports);
8
+ tslib_1.__exportStar(require("./formatters"), exports);
7
9
  tslib_1.__exportStar(require("./validators"), exports);
8
10
  tslib_1.__exportStar(require("./validators-with-constants"), exports);
9
- tslib_1.__exportStar(require("./formatters"), exports);
10
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/lib/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,uDAA6B;AAC7B,sEAA4C;AAC5C,uDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-suite-core-lib/src/lib/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kDAAwB;AACxB,uDAA6B;AAC7B,uDAA6B;AAC7B,sEAA4C"}