@blurpaper/shared 1.1.1 → 2.0.1

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.
@@ -6,8 +6,3 @@ export declare const GUID_REGEX: RegExp;
6
6
  export declare const NUMBER_REGEX: RegExp;
7
7
  export declare const VISITED_SESSION_GENERATION_KEY: string;
8
8
  export declare const LARGE_REPETITABLE_KEY: string;
9
- export declare const SAVE_UPLOAD_FILE_LARGE_REPETITABLES: string;
10
- export declare const SAVE_UPLOAD_FILE_REPETITABLE_INDEX_DATA: string;
11
- export declare const SAVE_UPLOAD_FILE_MINIFIED_OBJECTS: string;
12
- export declare const SAVE_UPLOAD_FILE_ALPHABET: string;
13
- export declare const SAVE_UPLOAD_FILE_REPETITABLE_OBJECTS: string;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SAVE_UPLOAD_FILE_REPETITABLE_OBJECTS = exports.SAVE_UPLOAD_FILE_ALPHABET = exports.SAVE_UPLOAD_FILE_MINIFIED_OBJECTS = exports.SAVE_UPLOAD_FILE_REPETITABLE_INDEX_DATA = exports.SAVE_UPLOAD_FILE_LARGE_REPETITABLES = exports.LARGE_REPETITABLE_KEY = exports.VISITED_SESSION_GENERATION_KEY = exports.NUMBER_REGEX = exports.GUID_REGEX = exports.ALPHABET_DEFAULT_SESSION = exports.FIRST_ALPHABET = exports.NUMERIC_ALPHABET = exports.ALPHABET = void 0;
3
+ exports.LARGE_REPETITABLE_KEY = exports.VISITED_SESSION_GENERATION_KEY = exports.NUMBER_REGEX = exports.GUID_REGEX = exports.ALPHABET_DEFAULT_SESSION = exports.FIRST_ALPHABET = exports.NUMERIC_ALPHABET = exports.ALPHABET = void 0;
4
4
  exports.ALPHABET = 'abcdefghijklmnopqrstuvwxyz';
5
5
  exports.NUMERIC_ALPHABET = exports.ALPHABET.split('');
6
6
  exports.FIRST_ALPHABET = exports.NUMERIC_ALPHABET[0];
@@ -9,8 +9,3 @@ exports.GUID_REGEX = /^[a-z0-9]+(?:-[a-z0-9]+){2,}$/;
9
9
  exports.NUMBER_REGEX = /\d/;
10
10
  exports.VISITED_SESSION_GENERATION_KEY = 'visitedBlurPaperGeneratedObjectCurrentSession';
11
11
  exports.LARGE_REPETITABLE_KEY = 'list';
12
- exports.SAVE_UPLOAD_FILE_LARGE_REPETITABLES = 'large-repetitables';
13
- exports.SAVE_UPLOAD_FILE_REPETITABLE_INDEX_DATA = 'repetitable-index-data';
14
- exports.SAVE_UPLOAD_FILE_MINIFIED_OBJECTS = 'minified-objects';
15
- exports.SAVE_UPLOAD_FILE_ALPHABET = 'alphabet';
16
- exports.SAVE_UPLOAD_FILE_REPETITABLE_OBJECTS = 'repetitable-ojects';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blurpaper/shared",
3
- "version": "1.1.1",
3
+ "version": "2.0.1",
4
4
  "description": "Shared base with interfaces and helper methods for blurpaper",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/tsconfig.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "CommonJS",
5
+ "declaration": true,
6
+ "outDir": "dist",
7
+ "strict": true,
8
+ "esModuleInterop": true
9
+ },
10
+ "include": ["src/**/*"]
11
+ }