@c-rex/types 0.3.0-build.26 → 0.3.0-build.27710
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 +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js.map +1 -1
- package/package.json +7 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Constants from '@c-rex/constants';
|
|
2
|
-
import { DEVICE_OPTIONS, FILES_EXTENSIONS, LOG_CATEGORIES, ALL, LOG_LEVELS, OPERATOR_OPTIONS, RESULT_TYPES, RESULT_VIEW_STYLES, WILD_CARD_OPTIONS, ARTICLE_PAGE_LAYOUT } from '@c-rex/constants';
|
|
2
|
+
import { DEVICE_OPTIONS, FILES_EXTENSIONS, LOG_CATEGORIES, ALL, LOG_LEVELS, OPERATOR_OPTIONS, PERSONALIZATION_MODES, RESULT_TYPES, RESULT_VIEW_STYLES, TOKEN_SOURCES, WILD_CARD_OPTIONS, ARTICLE_PAGE_LAYOUT } from '@c-rex/constants';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Auto-generated from OpenAPI spec
|
|
@@ -93,12 +93,14 @@ type QueryParams = {
|
|
|
93
93
|
value: string;
|
|
94
94
|
};
|
|
95
95
|
type LogLevelType = keyof typeof LOG_LEVELS | typeof ALL;
|
|
96
|
-
type LogCategoriesType = typeof LOG_CATEGORIES[number] | typeof ALL;
|
|
97
|
-
type ResultViewStyles = typeof RESULT_VIEW_STYLES[number];
|
|
96
|
+
type LogCategoriesType = (typeof LOG_CATEGORIES)[number] | typeof ALL;
|
|
97
|
+
type ResultViewStyles = (typeof RESULT_VIEW_STYLES)[number];
|
|
98
98
|
type FilesExtensions = keyof typeof FILES_EXTENSIONS;
|
|
99
99
|
type ResultTypes = keyof typeof RESULT_TYPES;
|
|
100
100
|
type WildCardType = keyof typeof WILD_CARD_OPTIONS;
|
|
101
101
|
type OperatorType = keyof typeof OPERATOR_OPTIONS;
|
|
102
|
+
type TokenSource = (typeof TOKEN_SOURCES)[keyof typeof TOKEN_SOURCES];
|
|
103
|
+
type PersonalizationMode = (typeof PERSONALIZATION_MODES)[keyof typeof PERSONALIZATION_MODES];
|
|
102
104
|
type FileRenditionType = {
|
|
103
105
|
format: string;
|
|
104
106
|
link: string;
|
|
@@ -119,7 +121,7 @@ type metaTags = {
|
|
|
119
121
|
name: string;
|
|
120
122
|
content: string;
|
|
121
123
|
}[];
|
|
122
|
-
type DeviceType = typeof DEVICE_OPTIONS[keyof typeof DEVICE_OPTIONS];
|
|
124
|
+
type DeviceType = (typeof DEVICE_OPTIONS)[keyof typeof DEVICE_OPTIONS];
|
|
123
125
|
type Favorite = {
|
|
124
126
|
id: string;
|
|
125
127
|
label: string;
|
|
@@ -130,4 +132,4 @@ type WarningVars = {
|
|
|
130
132
|
default: any;
|
|
131
133
|
};
|
|
132
134
|
|
|
133
|
-
export type { AdministrativeMetadataModelField, AuditStateModelField, AuthStateModelField, CategoryModelField, ComponentModelField, ContentLifeCycleStatusModelField, ContentLifeCycleStatusValueModelField, DeviceType, DirectoryNodeModelField, DirectoryNodeTypeModelField, DocumentModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentsType, DomainEntityModelField, EventModelField, ExternalProductGraphicModelField, ExternalProductOntologyModelField, Favorite, FileRenditionType, FilesExtensions, FragmentModelField, FunctionalMetadataModelField, IdentityDomainModelField, IdentityModelField, InformationObjectModelField, InformationSubjectCollectionModelField, InformationSubjectConformityModelField, InformationSubjectFormalityModelField, InformationSubjectFunctionalityModelField, InformationSubjectModelField, InformationSubjectProcessModelField, InformationSubjectSafetyModelField, InformationSubjectSafetyWarningMessageModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, InformationTypeModelField, InformationUnitModelField, LogCategoriesType, LogLevelType, OperatorType, OwlClassModelField, PackageModelField, PartyModelField, PartyRoleModelField, PlanningDownTimeModelField, PlanningMaintenanceIntervalModelField, PlanningSetupTimeModelField, PlanningTimeModelField, PlanningWorkingTimeModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLcpAfterUseModelField, ProductLcpDesignAndRealizationModelField, ProductLcpPuttingToUseModelField, ProductLcpUseModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, QualificationModelField, QualificationRoleModelField, QualificationSkillLevelModelField, QueryParams, RenditionModelField, RenditionSelectorModelField, ResultTypes, ResultViewStyles, SupplyConsumableModelField, SupplyHardwareToolModelField, SupplyLubricantModelField, SupplyModelField, SupplyOperatingModelField, SupplySparePartModelField, TopicModelField, TopicTypeConceptModelField, TopicTypeFormModelField, TopicTypeLearningModelField, TopicTypeModelField, TopicTypeReferenceModelField, TopicTypeTaskModelField, TopicTypeTroubleShootingModelField, VCardCalendarModelField, VCardGroupModelField, VCardImageModelField, VCardIndividualModelField, VCardInfoModelField, VCardLocationModelField, VCardModelField, VCardOrganizationModelField, WarningVars, WildCardType, articleInfoItemType, articlePageLayoutType, metaTags };
|
|
135
|
+
export type { AdministrativeMetadataModelField, AuditStateModelField, AuthStateModelField, CategoryModelField, ComponentModelField, ContentLifeCycleStatusModelField, ContentLifeCycleStatusValueModelField, DeviceType, DirectoryNodeModelField, DirectoryNodeTypeModelField, DocumentModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentsType, DomainEntityModelField, EventModelField, ExternalProductGraphicModelField, ExternalProductOntologyModelField, Favorite, FileRenditionType, FilesExtensions, FragmentModelField, FunctionalMetadataModelField, IdentityDomainModelField, IdentityModelField, InformationObjectModelField, InformationSubjectCollectionModelField, InformationSubjectConformityModelField, InformationSubjectFormalityModelField, InformationSubjectFunctionalityModelField, InformationSubjectModelField, InformationSubjectProcessModelField, InformationSubjectSafetyModelField, InformationSubjectSafetyWarningMessageModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, InformationTypeModelField, InformationUnitModelField, LogCategoriesType, LogLevelType, OperatorType, OwlClassModelField, PackageModelField, PartyModelField, PartyRoleModelField, PersonalizationMode, PlanningDownTimeModelField, PlanningMaintenanceIntervalModelField, PlanningSetupTimeModelField, PlanningTimeModelField, PlanningWorkingTimeModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLcpAfterUseModelField, ProductLcpDesignAndRealizationModelField, ProductLcpPuttingToUseModelField, ProductLcpUseModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, QualificationModelField, QualificationRoleModelField, QualificationSkillLevelModelField, QueryParams, RenditionModelField, RenditionSelectorModelField, ResultTypes, ResultViewStyles, SupplyConsumableModelField, SupplyHardwareToolModelField, SupplyLubricantModelField, SupplyModelField, SupplyOperatingModelField, SupplySparePartModelField, TokenSource, TopicModelField, TopicTypeConceptModelField, TopicTypeFormModelField, TopicTypeLearningModelField, TopicTypeModelField, TopicTypeReferenceModelField, TopicTypeTaskModelField, TopicTypeTroubleShootingModelField, VCardCalendarModelField, VCardGroupModelField, VCardImageModelField, VCardIndividualModelField, VCardInfoModelField, VCardLocationModelField, VCardModelField, VCardOrganizationModelField, WarningVars, WildCardType, articleInfoItemType, articlePageLayoutType, metaTags };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Constants from '@c-rex/constants';
|
|
2
|
-
import { DEVICE_OPTIONS, FILES_EXTENSIONS, LOG_CATEGORIES, ALL, LOG_LEVELS, OPERATOR_OPTIONS, RESULT_TYPES, RESULT_VIEW_STYLES, WILD_CARD_OPTIONS, ARTICLE_PAGE_LAYOUT } from '@c-rex/constants';
|
|
2
|
+
import { DEVICE_OPTIONS, FILES_EXTENSIONS, LOG_CATEGORIES, ALL, LOG_LEVELS, OPERATOR_OPTIONS, PERSONALIZATION_MODES, RESULT_TYPES, RESULT_VIEW_STYLES, TOKEN_SOURCES, WILD_CARD_OPTIONS, ARTICLE_PAGE_LAYOUT } from '@c-rex/constants';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Auto-generated from OpenAPI spec
|
|
@@ -93,12 +93,14 @@ type QueryParams = {
|
|
|
93
93
|
value: string;
|
|
94
94
|
};
|
|
95
95
|
type LogLevelType = keyof typeof LOG_LEVELS | typeof ALL;
|
|
96
|
-
type LogCategoriesType = typeof LOG_CATEGORIES[number] | typeof ALL;
|
|
97
|
-
type ResultViewStyles = typeof RESULT_VIEW_STYLES[number];
|
|
96
|
+
type LogCategoriesType = (typeof LOG_CATEGORIES)[number] | typeof ALL;
|
|
97
|
+
type ResultViewStyles = (typeof RESULT_VIEW_STYLES)[number];
|
|
98
98
|
type FilesExtensions = keyof typeof FILES_EXTENSIONS;
|
|
99
99
|
type ResultTypes = keyof typeof RESULT_TYPES;
|
|
100
100
|
type WildCardType = keyof typeof WILD_CARD_OPTIONS;
|
|
101
101
|
type OperatorType = keyof typeof OPERATOR_OPTIONS;
|
|
102
|
+
type TokenSource = (typeof TOKEN_SOURCES)[keyof typeof TOKEN_SOURCES];
|
|
103
|
+
type PersonalizationMode = (typeof PERSONALIZATION_MODES)[keyof typeof PERSONALIZATION_MODES];
|
|
102
104
|
type FileRenditionType = {
|
|
103
105
|
format: string;
|
|
104
106
|
link: string;
|
|
@@ -119,7 +121,7 @@ type metaTags = {
|
|
|
119
121
|
name: string;
|
|
120
122
|
content: string;
|
|
121
123
|
}[];
|
|
122
|
-
type DeviceType = typeof DEVICE_OPTIONS[keyof typeof DEVICE_OPTIONS];
|
|
124
|
+
type DeviceType = (typeof DEVICE_OPTIONS)[keyof typeof DEVICE_OPTIONS];
|
|
123
125
|
type Favorite = {
|
|
124
126
|
id: string;
|
|
125
127
|
label: string;
|
|
@@ -130,4 +132,4 @@ type WarningVars = {
|
|
|
130
132
|
default: any;
|
|
131
133
|
};
|
|
132
134
|
|
|
133
|
-
export type { AdministrativeMetadataModelField, AuditStateModelField, AuthStateModelField, CategoryModelField, ComponentModelField, ContentLifeCycleStatusModelField, ContentLifeCycleStatusValueModelField, DeviceType, DirectoryNodeModelField, DirectoryNodeTypeModelField, DocumentModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentsType, DomainEntityModelField, EventModelField, ExternalProductGraphicModelField, ExternalProductOntologyModelField, Favorite, FileRenditionType, FilesExtensions, FragmentModelField, FunctionalMetadataModelField, IdentityDomainModelField, IdentityModelField, InformationObjectModelField, InformationSubjectCollectionModelField, InformationSubjectConformityModelField, InformationSubjectFormalityModelField, InformationSubjectFunctionalityModelField, InformationSubjectModelField, InformationSubjectProcessModelField, InformationSubjectSafetyModelField, InformationSubjectSafetyWarningMessageModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, InformationTypeModelField, InformationUnitModelField, LogCategoriesType, LogLevelType, OperatorType, OwlClassModelField, PackageModelField, PartyModelField, PartyRoleModelField, PlanningDownTimeModelField, PlanningMaintenanceIntervalModelField, PlanningSetupTimeModelField, PlanningTimeModelField, PlanningWorkingTimeModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLcpAfterUseModelField, ProductLcpDesignAndRealizationModelField, ProductLcpPuttingToUseModelField, ProductLcpUseModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, QualificationModelField, QualificationRoleModelField, QualificationSkillLevelModelField, QueryParams, RenditionModelField, RenditionSelectorModelField, ResultTypes, ResultViewStyles, SupplyConsumableModelField, SupplyHardwareToolModelField, SupplyLubricantModelField, SupplyModelField, SupplyOperatingModelField, SupplySparePartModelField, TopicModelField, TopicTypeConceptModelField, TopicTypeFormModelField, TopicTypeLearningModelField, TopicTypeModelField, TopicTypeReferenceModelField, TopicTypeTaskModelField, TopicTypeTroubleShootingModelField, VCardCalendarModelField, VCardGroupModelField, VCardImageModelField, VCardIndividualModelField, VCardInfoModelField, VCardLocationModelField, VCardModelField, VCardOrganizationModelField, WarningVars, WildCardType, articleInfoItemType, articlePageLayoutType, metaTags };
|
|
135
|
+
export type { AdministrativeMetadataModelField, AuditStateModelField, AuthStateModelField, CategoryModelField, ComponentModelField, ContentLifeCycleStatusModelField, ContentLifeCycleStatusValueModelField, DeviceType, DirectoryNodeModelField, DirectoryNodeTypeModelField, DocumentModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentsType, DomainEntityModelField, EventModelField, ExternalProductGraphicModelField, ExternalProductOntologyModelField, Favorite, FileRenditionType, FilesExtensions, FragmentModelField, FunctionalMetadataModelField, IdentityDomainModelField, IdentityModelField, InformationObjectModelField, InformationSubjectCollectionModelField, InformationSubjectConformityModelField, InformationSubjectFormalityModelField, InformationSubjectFunctionalityModelField, InformationSubjectModelField, InformationSubjectProcessModelField, InformationSubjectSafetyModelField, InformationSubjectSafetyWarningMessageModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, InformationTypeModelField, InformationUnitModelField, LogCategoriesType, LogLevelType, OperatorType, OwlClassModelField, PackageModelField, PartyModelField, PartyRoleModelField, PersonalizationMode, PlanningDownTimeModelField, PlanningMaintenanceIntervalModelField, PlanningSetupTimeModelField, PlanningTimeModelField, PlanningWorkingTimeModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLcpAfterUseModelField, ProductLcpDesignAndRealizationModelField, ProductLcpPuttingToUseModelField, ProductLcpUseModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, QualificationModelField, QualificationRoleModelField, QualificationSkillLevelModelField, QueryParams, RenditionModelField, RenditionSelectorModelField, ResultTypes, ResultViewStyles, SupplyConsumableModelField, SupplyHardwareToolModelField, SupplyLubricantModelField, SupplyModelField, SupplyOperatingModelField, SupplySparePartModelField, TokenSource, TopicModelField, TopicTypeConceptModelField, TopicTypeFormModelField, TopicTypeLearningModelField, TopicTypeModelField, TopicTypeReferenceModelField, TopicTypeTaskModelField, TopicTypeTroubleShootingModelField, VCardCalendarModelField, VCardGroupModelField, VCardImageModelField, VCardIndividualModelField, VCardInfoModelField, VCardLocationModelField, VCardModelField, VCardOrganizationModelField, WarningVars, WildCardType, articleInfoItemType, articlePageLayoutType, metaTags };
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import {\r\n
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import {\r\n LOG_CATEGORIES,\r\n LOG_LEVELS,\r\n ALL,\r\n RESULT_VIEW_STYLES,\r\n FILES_EXTENSIONS,\r\n RESULT_TYPES,\r\n WILD_CARD_OPTIONS,\r\n ARTICLE_PAGE_LAYOUT,\r\n DEVICE_OPTIONS,\r\n OPERATOR_OPTIONS,\r\n TOKEN_SOURCES,\r\n PERSONALIZATION_MODES,\r\n} from \"@c-rex/constants\";\r\n\r\nexport * from \"./generated/model-fields\";\r\n\r\nexport type QueryParams = { key: string; value: string };\r\nexport type LogLevelType = keyof typeof LOG_LEVELS | typeof ALL;\r\nexport type LogCategoriesType = (typeof LOG_CATEGORIES)[number] | typeof ALL;\r\nexport type ResultViewStyles = (typeof RESULT_VIEW_STYLES)[number];\r\nexport type FilesExtensions = keyof typeof FILES_EXTENSIONS;\r\nexport type ResultTypes = keyof typeof RESULT_TYPES;\r\n\r\nexport type WildCardType = keyof typeof WILD_CARD_OPTIONS;\r\nexport type OperatorType = keyof typeof OPERATOR_OPTIONS;\r\nexport type TokenSource = (typeof TOKEN_SOURCES)[keyof typeof TOKEN_SOURCES];\r\nexport type PersonalizationMode =\r\n (typeof PERSONALIZATION_MODES)[keyof typeof PERSONALIZATION_MODES];\r\n\r\nexport type FileRenditionType = {\r\n format: string;\r\n link: string;\r\n};\r\n\r\nexport type articlePageLayoutType = keyof typeof ARTICLE_PAGE_LAYOUT;\r\n\r\nexport type DocumentsType = {\r\n [key: string]: {\r\n view: string;\r\n download: string;\r\n };\r\n};\r\n\r\nexport type articleInfoItemType = {\r\n label: string;\r\n value: string;\r\n link?: string;\r\n};\r\n\r\nexport type metaTags = { name: string; content: string }[];\r\n\r\nexport type DeviceType = (typeof DEVICE_OPTIONS)[keyof typeof DEVICE_OPTIONS];\r\n\r\nexport type Favorite = {\r\n id: string;\r\n label: string;\r\n color: string;\r\n};\r\n\r\nexport type WarningVars = {\r\n key: string;\r\n default: any;\r\n};\r\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c-rex/types",
|
|
3
|
-
"version": "0.3.0-build.
|
|
3
|
+
"version": "0.3.0-build.27710",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
"dev": "tsup --watch",
|
|
15
15
|
"build": "tsup",
|
|
16
16
|
"lint": "eslint .",
|
|
17
|
-
"lint:fix": "eslint . --fix"
|
|
17
|
+
"lint:fix": "eslint . --fix",
|
|
18
|
+
"check-types": "tsc --noEmit",
|
|
19
|
+
"test": "echo \u0027No tests\u0027",
|
|
20
|
+
"format:check": "prettier --check .",
|
|
21
|
+
"validate": "npm run lint \u0026\u0026 npm run check-types \u0026\u0026 npm run test \u0026\u0026 npm run build"
|
|
18
22
|
},
|
|
19
23
|
"devDependencies": {
|
|
20
24
|
"@c-rex/eslint-config": "*",
|
|
@@ -24,7 +28,7 @@
|
|
|
24
28
|
"@types/node": "^22.13.10",
|
|
25
29
|
"eslint": "^9.23.0",
|
|
26
30
|
"tsup": "^8.4.0",
|
|
27
|
-
"typescript": "
|
|
31
|
+
"typescript": "5.8.3"
|
|
28
32
|
},
|
|
29
33
|
"dependencies": {
|
|
30
34
|
"@c-rex/constants": "*"
|