@c-rex/interfaces 0.1.1 → 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
@@ -77,7 +77,7 @@ interface ConfigInterface {
77
77
  sparqlWhere?: string;
78
78
  };
79
79
  logs: {
80
- console: logInfo;
80
+ console: Omit<logInfo, "url" | "app" | "categoriesLevel">;
81
81
  graylog: logInfo;
82
82
  matomo: logInfo;
83
83
  };
@@ -153,5 +153,11 @@ interface TreeOfContent {
153
153
  active: boolean;
154
154
  children: TreeOfContent[];
155
155
  }
156
+ interface SidebarAvailableVersionsInterface {
157
+ shortId: string;
158
+ lang: string;
159
+ country: string;
160
+ link: string;
161
+ }
156
162
 
157
- export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, TreeOfContent, idShortID, informationUnits, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
163
+ export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, SidebarAvailableVersionsInterface, TreeOfContent, idShortID, informationUnits, informationUnitsClass, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
package/dist/index.d.ts CHANGED
@@ -77,7 +77,7 @@ interface ConfigInterface {
77
77
  sparqlWhere?: string;
78
78
  };
79
79
  logs: {
80
- console: logInfo;
80
+ console: Omit<logInfo, "url" | "app" | "categoriesLevel">;
81
81
  graylog: logInfo;
82
82
  matomo: logInfo;
83
83
  };
@@ -153,5 +153,11 @@ interface TreeOfContent {
153
153
  active: boolean;
154
154
  children: TreeOfContent[];
155
155
  }
156
+ interface SidebarAvailableVersionsInterface {
157
+ shortId: string;
158
+ lang: string;
159
+ country: string;
160
+ link: string;
161
+ }
156
162
 
157
- export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, TreeOfContent, idShortID, informationUnits, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
163
+ export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, SidebarAvailableVersionsInterface, TreeOfContent, idShortID, informationUnits, informationUnitsClass, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/interfaces",
3
- "version": "0.1.1",
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/typescript-config": "*",