@c-rex/interfaces 0.3.0-build.41 → 0.3.0-build.49
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 +20 -1
- package/dist/index.d.ts +20 -1
- package/package.json +7 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, OperatorType, AdministrativeMetadataModelField, ProductLcpAfterUseModelField, CategoryModelField, InformationSubjectCollectionModelField, ComponentModelField, TopicTypeConceptModelField, InformationSubjectConformityModelField, SupplyConsumableModelField, ContentLifeCycleStatusModelField, ProductLcpDesignAndRealizationModelField, DirectoryNodeTypeModelField, DirectoryNodeModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentModelField, DomainEntityModelField, PlanningDownTimeModelField, EventModelField, InformationSubjectFormalityModelField, TopicTypeFormModelField, FragmentModelField, FunctionalMetadataModelField, InformationSubjectFunctionalityModelField, VCardGroupModelField, SupplyHardwareToolModelField, IdentityModelField, IdentityDomainModelField, VCardIndividualModelField, InformationObjectModelField, InformationSubjectModelField, InformationTypeModelField, InformationUnitModelField, TopicTypeLearningModelField, VCardLocationModelField, SupplyLubricantModelField, PlanningMaintenanceIntervalModelField, SupplyOperatingModelField, VCardOrganizationModelField, PackageModelField, PartyModelField, PlanningTimeModelField, InformationSubjectProcessModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, ProductLcpPuttingToUseModelField, QualificationModelField, TopicTypeReferenceModelField, RenditionModelField, QualificationRoleModelField, InformationSubjectSafetyModelField, PlanningSetupTimeModelField, QualificationSkillLevelModelField, SupplySparePartModelField, SupplyModelField, TopicTypeTaskModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, TopicTypeModelField, TopicModelField, TopicTypeTroubleShootingModelField, ProductLcpUseModelField, VCardModelField, InformationSubjectSafetyWarningMessageModelField, PlanningWorkingTimeModelField } from '@c-rex/types';
|
|
1
|
+
import { TokenSource, LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, OperatorType, AdministrativeMetadataModelField, ProductLcpAfterUseModelField, CategoryModelField, InformationSubjectCollectionModelField, ComponentModelField, TopicTypeConceptModelField, InformationSubjectConformityModelField, SupplyConsumableModelField, ContentLifeCycleStatusModelField, ProductLcpDesignAndRealizationModelField, DirectoryNodeTypeModelField, DirectoryNodeModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentModelField, DomainEntityModelField, PlanningDownTimeModelField, EventModelField, InformationSubjectFormalityModelField, TopicTypeFormModelField, FragmentModelField, FunctionalMetadataModelField, InformationSubjectFunctionalityModelField, VCardGroupModelField, SupplyHardwareToolModelField, IdentityModelField, IdentityDomainModelField, VCardIndividualModelField, InformationObjectModelField, InformationSubjectModelField, InformationTypeModelField, InformationUnitModelField, TopicTypeLearningModelField, VCardLocationModelField, SupplyLubricantModelField, PlanningMaintenanceIntervalModelField, SupplyOperatingModelField, VCardOrganizationModelField, PackageModelField, PartyModelField, PlanningTimeModelField, InformationSubjectProcessModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, ProductLcpPuttingToUseModelField, QualificationModelField, TopicTypeReferenceModelField, RenditionModelField, QualificationRoleModelField, InformationSubjectSafetyModelField, PlanningSetupTimeModelField, QualificationSkillLevelModelField, SupplySparePartModelField, SupplyModelField, TopicTypeTaskModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, TopicTypeModelField, TopicModelField, TopicTypeTroubleShootingModelField, ProductLcpUseModelField, VCardModelField, InformationSubjectSafetyWarningMessageModelField, PlanningWorkingTimeModelField } from '@c-rex/types';
|
|
2
|
+
export { TokenSource } from '@c-rex/types';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Auto-generated from OpenAPI spec
|
|
@@ -1509,6 +1510,7 @@ interface OIDCInterface {
|
|
|
1509
1510
|
scope?: string;
|
|
1510
1511
|
userInfoEndPoint?: string;
|
|
1511
1512
|
}
|
|
1513
|
+
|
|
1512
1514
|
interface SearchSettings {
|
|
1513
1515
|
fields: string[];
|
|
1514
1516
|
tags: string[];
|
|
@@ -1536,9 +1538,18 @@ interface OrganizationConfig {
|
|
|
1536
1538
|
}
|
|
1537
1539
|
interface CookiesConfigs extends CustomerConfig {
|
|
1538
1540
|
publicNextApiUrl: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* IDS API base URL (origin + base path, e.g. `https://host/ids/api/`),
|
|
1543
|
+
* derived from `CREX_IDS_API_URL`. Exposed in the client cookie config so
|
|
1544
|
+
* the browser can build absolute IDS asset URLs (e.g. article images)
|
|
1545
|
+
* without a build-time `NEXT_PUBLIC_*` env. Distinct from `publicNextApiUrl`
|
|
1546
|
+
* (the Next app origin).
|
|
1547
|
+
*/
|
|
1548
|
+
apiBaseUrl: string;
|
|
1539
1549
|
OIDC: {
|
|
1540
1550
|
clientEnabled: boolean;
|
|
1541
1551
|
userEnabled: boolean;
|
|
1552
|
+
tokenSource: TokenSource;
|
|
1542
1553
|
};
|
|
1543
1554
|
}
|
|
1544
1555
|
interface ConfigInterface extends CustomerConfig {
|
|
@@ -1546,6 +1557,7 @@ interface ConfigInterface extends CustomerConfig {
|
|
|
1546
1557
|
OIDC: {
|
|
1547
1558
|
client: OIDCInterface;
|
|
1548
1559
|
user: OIDCInterface;
|
|
1560
|
+
tokenSource: TokenSource;
|
|
1549
1561
|
issuerMetadata?: any;
|
|
1550
1562
|
};
|
|
1551
1563
|
logs: {
|
|
@@ -1561,6 +1573,13 @@ interface CustomerConfig {
|
|
|
1561
1573
|
sub: string;
|
|
1562
1574
|
};
|
|
1563
1575
|
languageSwitcher: LanguageSwitcherConfig;
|
|
1576
|
+
/** Default language used to initialize content-language search settings. */
|
|
1577
|
+
defaultContentLanguage?: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Read-only presentation mode. When enabled, article action bars are not
|
|
1580
|
+
* rendered while normal reading and navigation remain available.
|
|
1581
|
+
*/
|
|
1582
|
+
readOnlyMode?: boolean;
|
|
1564
1583
|
organization?: OrganizationConfig;
|
|
1565
1584
|
}
|
|
1566
1585
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, OperatorType, AdministrativeMetadataModelField, ProductLcpAfterUseModelField, CategoryModelField, InformationSubjectCollectionModelField, ComponentModelField, TopicTypeConceptModelField, InformationSubjectConformityModelField, SupplyConsumableModelField, ContentLifeCycleStatusModelField, ProductLcpDesignAndRealizationModelField, DirectoryNodeTypeModelField, DirectoryNodeModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentModelField, DomainEntityModelField, PlanningDownTimeModelField, EventModelField, InformationSubjectFormalityModelField, TopicTypeFormModelField, FragmentModelField, FunctionalMetadataModelField, InformationSubjectFunctionalityModelField, VCardGroupModelField, SupplyHardwareToolModelField, IdentityModelField, IdentityDomainModelField, VCardIndividualModelField, InformationObjectModelField, InformationSubjectModelField, InformationTypeModelField, InformationUnitModelField, TopicTypeLearningModelField, VCardLocationModelField, SupplyLubricantModelField, PlanningMaintenanceIntervalModelField, SupplyOperatingModelField, VCardOrganizationModelField, PackageModelField, PartyModelField, PlanningTimeModelField, InformationSubjectProcessModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, ProductLcpPuttingToUseModelField, QualificationModelField, TopicTypeReferenceModelField, RenditionModelField, QualificationRoleModelField, InformationSubjectSafetyModelField, PlanningSetupTimeModelField, QualificationSkillLevelModelField, SupplySparePartModelField, SupplyModelField, TopicTypeTaskModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, TopicTypeModelField, TopicModelField, TopicTypeTroubleShootingModelField, ProductLcpUseModelField, VCardModelField, InformationSubjectSafetyWarningMessageModelField, PlanningWorkingTimeModelField } from '@c-rex/types';
|
|
1
|
+
import { TokenSource, LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, OperatorType, AdministrativeMetadataModelField, ProductLcpAfterUseModelField, CategoryModelField, InformationSubjectCollectionModelField, ComponentModelField, TopicTypeConceptModelField, InformationSubjectConformityModelField, SupplyConsumableModelField, ContentLifeCycleStatusModelField, ProductLcpDesignAndRealizationModelField, DirectoryNodeTypeModelField, DirectoryNodeModelField, DocumentTypeModelField, DocumentationMetadataModelField, DocumentModelField, DomainEntityModelField, PlanningDownTimeModelField, EventModelField, InformationSubjectFormalityModelField, TopicTypeFormModelField, FragmentModelField, FunctionalMetadataModelField, InformationSubjectFunctionalityModelField, VCardGroupModelField, SupplyHardwareToolModelField, IdentityModelField, IdentityDomainModelField, VCardIndividualModelField, InformationObjectModelField, InformationSubjectModelField, InformationTypeModelField, InformationUnitModelField, TopicTypeLearningModelField, VCardLocationModelField, SupplyLubricantModelField, PlanningMaintenanceIntervalModelField, SupplyOperatingModelField, VCardOrganizationModelField, PackageModelField, PartyModelField, PlanningTimeModelField, InformationSubjectProcessModelField, ProductFeatureModelField, ProductFunctionModelField, ProductLifeCyclePhaseModelField, ProductMetadataModelField, ProductPropertyModelField, ProductVariantModelField, ProductLcpPuttingToUseModelField, QualificationModelField, TopicTypeReferenceModelField, RenditionModelField, QualificationRoleModelField, InformationSubjectSafetyModelField, PlanningSetupTimeModelField, QualificationSkillLevelModelField, SupplySparePartModelField, SupplyModelField, TopicTypeTaskModelField, InformationSubjectTechnicalDataModelField, InformationSubjectTechnicalOverviewModelField, TopicTypeModelField, TopicModelField, TopicTypeTroubleShootingModelField, ProductLcpUseModelField, VCardModelField, InformationSubjectSafetyWarningMessageModelField, PlanningWorkingTimeModelField } from '@c-rex/types';
|
|
2
|
+
export { TokenSource } from '@c-rex/types';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Auto-generated from OpenAPI spec
|
|
@@ -1509,6 +1510,7 @@ interface OIDCInterface {
|
|
|
1509
1510
|
scope?: string;
|
|
1510
1511
|
userInfoEndPoint?: string;
|
|
1511
1512
|
}
|
|
1513
|
+
|
|
1512
1514
|
interface SearchSettings {
|
|
1513
1515
|
fields: string[];
|
|
1514
1516
|
tags: string[];
|
|
@@ -1536,9 +1538,18 @@ interface OrganizationConfig {
|
|
|
1536
1538
|
}
|
|
1537
1539
|
interface CookiesConfigs extends CustomerConfig {
|
|
1538
1540
|
publicNextApiUrl: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* IDS API base URL (origin + base path, e.g. `https://host/ids/api/`),
|
|
1543
|
+
* derived from `CREX_IDS_API_URL`. Exposed in the client cookie config so
|
|
1544
|
+
* the browser can build absolute IDS asset URLs (e.g. article images)
|
|
1545
|
+
* without a build-time `NEXT_PUBLIC_*` env. Distinct from `publicNextApiUrl`
|
|
1546
|
+
* (the Next app origin).
|
|
1547
|
+
*/
|
|
1548
|
+
apiBaseUrl: string;
|
|
1539
1549
|
OIDC: {
|
|
1540
1550
|
clientEnabled: boolean;
|
|
1541
1551
|
userEnabled: boolean;
|
|
1552
|
+
tokenSource: TokenSource;
|
|
1542
1553
|
};
|
|
1543
1554
|
}
|
|
1544
1555
|
interface ConfigInterface extends CustomerConfig {
|
|
@@ -1546,6 +1557,7 @@ interface ConfigInterface extends CustomerConfig {
|
|
|
1546
1557
|
OIDC: {
|
|
1547
1558
|
client: OIDCInterface;
|
|
1548
1559
|
user: OIDCInterface;
|
|
1560
|
+
tokenSource: TokenSource;
|
|
1549
1561
|
issuerMetadata?: any;
|
|
1550
1562
|
};
|
|
1551
1563
|
logs: {
|
|
@@ -1561,6 +1573,13 @@ interface CustomerConfig {
|
|
|
1561
1573
|
sub: string;
|
|
1562
1574
|
};
|
|
1563
1575
|
languageSwitcher: LanguageSwitcherConfig;
|
|
1576
|
+
/** Default language used to initialize content-language search settings. */
|
|
1577
|
+
defaultContentLanguage?: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Read-only presentation mode. When enabled, article action bars are not
|
|
1580
|
+
* rendered while normal reading and navigation remain available.
|
|
1581
|
+
*/
|
|
1582
|
+
readOnlyMode?: boolean;
|
|
1564
1583
|
organization?: OrganizationConfig;
|
|
1565
1584
|
}
|
|
1566
1585
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c-rex/interfaces",
|
|
3
|
-
"version": "0.3.0-build.
|
|
3
|
+
"version": "0.3.0-build.49",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -14,12 +14,16 @@
|
|
|
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/typescript-config": "*",
|
|
21
25
|
"tsup": "^8.4.0",
|
|
22
|
-
"typescript": "
|
|
26
|
+
"typescript": "~5.8.3"
|
|
23
27
|
},
|
|
24
28
|
"dependencies": {
|
|
25
29
|
"@c-rex/types": "*"
|