@c-rex/types 0.1.0 → 0.1.2

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.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { LOG_LEVELS, ALL, LOG_CATEGORIES } from '@c-rex/constants';
1
+ import { LOG_LEVELS, ALL, LOG_CATEGORIES, RESULT_VIEW_STYLES } from '@c-rex/constants';
2
2
 
3
3
  type QueryParams = {
4
4
  key: string;
@@ -6,5 +6,6 @@ type QueryParams = {
6
6
  };
7
7
  type LogLevelType = keyof typeof LOG_LEVELS | typeof ALL;
8
8
  type LogCategoriesType = typeof LOG_CATEGORIES[number] | typeof ALL;
9
+ type ResultViewStyles = typeof RESULT_VIEW_STYLES[number];
9
10
 
10
- export type { LogCategoriesType, LogLevelType, QueryParams };
11
+ export type { LogCategoriesType, LogLevelType, QueryParams, ResultViewStyles };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { LOG_LEVELS, ALL, LOG_CATEGORIES } from '@c-rex/constants';
1
+ import { LOG_LEVELS, ALL, LOG_CATEGORIES, RESULT_VIEW_STYLES } from '@c-rex/constants';
2
2
 
3
3
  type QueryParams = {
4
4
  key: string;
@@ -6,5 +6,6 @@ type QueryParams = {
6
6
  };
7
7
  type LogLevelType = keyof typeof LOG_LEVELS | typeof ALL;
8
8
  type LogCategoriesType = typeof LOG_CATEGORIES[number] | typeof ALL;
9
+ type ResultViewStyles = typeof RESULT_VIEW_STYLES[number];
9
10
 
10
- export type { LogCategoriesType, LogLevelType, QueryParams };
11
+ export type { LogCategoriesType, LogLevelType, QueryParams, ResultViewStyles };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { LOG_CATEGORIES, LOG_LEVELS, ALL } from \"@c-rex/constants\";\n\nexport type QueryParams = { key: string; value: string };\nexport type LogLevelType = keyof typeof LOG_LEVELS | typeof ALL\nexport type LogCategoriesType = typeof LOG_CATEGORIES[number] | typeof ALL;"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { LOG_CATEGORIES, LOG_LEVELS, ALL, RESULT_VIEW_STYLES } from \"@c-rex/constants\";\n\nexport type QueryParams = { key: string; value: string };\nexport type LogLevelType = keyof typeof LOG_LEVELS | typeof ALL\nexport type LogCategoriesType = typeof LOG_CATEGORIES[number] | typeof ALL;\nexport type ResultViewStyles = typeof RESULT_VIEW_STYLES[number];"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/types",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",
@@ -14,7 +14,9 @@
14
14
  "dev": "tsup --watch",
15
15
  "build": "tsup",
16
16
  "test:watch": "jest --watch",
17
- "test": "jest"
17
+ "test": "jest",
18
+ "lint": "eslint .",
19
+ "lint:fix": "eslint . --fix"
18
20
  },
19
21
  "devDependencies": {
20
22
  "@c-rex/eslint-config": "*",