@c-rex/types 0.1.8 → 0.1.10

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, RESULT_VIEW_STYLES, FILES_EXTENSIONS, RESULT_TYPES, WILD_CARD_OPTIONS, ARTICLE_PAGE_LAYOUT } from '@c-rex/constants';
1
+ import { LOG_LEVELS, ALL, LOG_CATEGORIES, RESULT_VIEW_STYLES, FILES_EXTENSIONS, RESULT_TYPES, WILD_CARD_OPTIONS, OPERATOR_OPTIONS, ARTICLE_PAGE_LAYOUT, DEVICE_OPTIONS } from '@c-rex/constants';
2
2
 
3
3
  type QueryParams = {
4
4
  key: string;
@@ -10,10 +10,27 @@ type ResultViewStyles = typeof RESULT_VIEW_STYLES[number];
10
10
  type FilesExtensions = keyof typeof FILES_EXTENSIONS;
11
11
  type ResultTypes = keyof typeof RESULT_TYPES;
12
12
  type WildCardType = keyof typeof WILD_CARD_OPTIONS;
13
+ type OperatorType = keyof typeof OPERATOR_OPTIONS;
13
14
  type FileRenditionType = {
14
15
  format: string;
15
16
  link: string;
16
17
  };
17
18
  type articlePageLayoutType = keyof typeof ARTICLE_PAGE_LAYOUT;
19
+ type DocumentsType = {
20
+ [key: string]: {
21
+ view: string;
22
+ download: string;
23
+ };
24
+ };
25
+ type articleInfoItemType = {
26
+ label: string;
27
+ value: string;
28
+ link?: string;
29
+ };
30
+ type metaTags = {
31
+ name: string;
32
+ content: string;
33
+ }[];
34
+ type DeviceType = typeof DEVICE_OPTIONS[keyof typeof DEVICE_OPTIONS];
18
35
 
19
- export type { FileRenditionType, FilesExtensions, LogCategoriesType, LogLevelType, QueryParams, ResultTypes, ResultViewStyles, WildCardType, articlePageLayoutType };
36
+ export type { DeviceType, DocumentsType, FileRenditionType, FilesExtensions, LogCategoriesType, LogLevelType, OperatorType, QueryParams, ResultTypes, ResultViewStyles, WildCardType, articleInfoItemType, articlePageLayoutType, metaTags };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { LOG_LEVELS, ALL, LOG_CATEGORIES, RESULT_VIEW_STYLES, FILES_EXTENSIONS, RESULT_TYPES, WILD_CARD_OPTIONS, ARTICLE_PAGE_LAYOUT } from '@c-rex/constants';
1
+ import { LOG_LEVELS, ALL, LOG_CATEGORIES, RESULT_VIEW_STYLES, FILES_EXTENSIONS, RESULT_TYPES, WILD_CARD_OPTIONS, OPERATOR_OPTIONS, ARTICLE_PAGE_LAYOUT, DEVICE_OPTIONS } from '@c-rex/constants';
2
2
 
3
3
  type QueryParams = {
4
4
  key: string;
@@ -10,10 +10,27 @@ type ResultViewStyles = typeof RESULT_VIEW_STYLES[number];
10
10
  type FilesExtensions = keyof typeof FILES_EXTENSIONS;
11
11
  type ResultTypes = keyof typeof RESULT_TYPES;
12
12
  type WildCardType = keyof typeof WILD_CARD_OPTIONS;
13
+ type OperatorType = keyof typeof OPERATOR_OPTIONS;
13
14
  type FileRenditionType = {
14
15
  format: string;
15
16
  link: string;
16
17
  };
17
18
  type articlePageLayoutType = keyof typeof ARTICLE_PAGE_LAYOUT;
19
+ type DocumentsType = {
20
+ [key: string]: {
21
+ view: string;
22
+ download: string;
23
+ };
24
+ };
25
+ type articleInfoItemType = {
26
+ label: string;
27
+ value: string;
28
+ link?: string;
29
+ };
30
+ type metaTags = {
31
+ name: string;
32
+ content: string;
33
+ }[];
34
+ type DeviceType = typeof DEVICE_OPTIONS[keyof typeof DEVICE_OPTIONS];
18
35
 
19
- export type { FileRenditionType, FilesExtensions, LogCategoriesType, LogLevelType, QueryParams, ResultTypes, ResultViewStyles, WildCardType, articlePageLayoutType };
36
+ export type { DeviceType, DocumentsType, FileRenditionType, FilesExtensions, LogCategoriesType, LogLevelType, OperatorType, QueryParams, ResultTypes, ResultViewStyles, WildCardType, articleInfoItemType, articlePageLayoutType, metaTags };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { LOG_CATEGORIES, LOG_LEVELS, ALL, RESULT_VIEW_STYLES, FILES_EXTENSIONS, RESULT_TYPES, WILD_CARD_OPTIONS, ARTICLE_PAGE_LAYOUT } 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];\nexport type FilesExtensions = keyof typeof FILES_EXTENSIONS;\nexport type ResultTypes = keyof typeof RESULT_TYPES\n\nexport type WildCardType = keyof typeof WILD_CARD_OPTIONS;\n\nexport type FileRenditionType = {\n format: string;\n link: string;\n}\n\nexport type articlePageLayoutType = keyof typeof ARTICLE_PAGE_LAYOUT"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["import {\n LOG_CATEGORIES,\n LOG_LEVELS,\n ALL,\n RESULT_VIEW_STYLES,\n FILES_EXTENSIONS,\n RESULT_TYPES,\n WILD_CARD_OPTIONS,\n ARTICLE_PAGE_LAYOUT,\n DEVICE_OPTIONS,\n OPERATOR_OPTIONS\n} 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];\nexport type FilesExtensions = keyof typeof FILES_EXTENSIONS;\nexport type ResultTypes = keyof typeof RESULT_TYPES\n\nexport type WildCardType = keyof typeof WILD_CARD_OPTIONS;\nexport type OperatorType = keyof typeof OPERATOR_OPTIONS;\n\nexport type FileRenditionType = {\n format: string;\n link: string;\n}\n\nexport type articlePageLayoutType = keyof typeof ARTICLE_PAGE_LAYOUT\n\nexport type DocumentsType = {\n [key: string]: {\n view: string;\n download: string;\n }\n}\n\nexport type articleInfoItemType = {\n label: string;\n value: string;\n link?: string;\n}\n\nexport type metaTags = { name: string; content: string }[];\n\nexport type DeviceType = typeof DEVICE_OPTIONS[keyof typeof DEVICE_OPTIONS];"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/types",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",