@dpuse/dpuse-shared 0.3.668 → 0.3.670

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.
@@ -20,12 +20,12 @@ function r(e, t) {
20
20
  };
21
21
  }
22
22
  function i(e, t) {
23
- return e.map((e) => ({
23
+ return console.log(111, e, t), e.map((e) => ({
24
24
  ...e,
25
25
  label: e.label[t] ?? e.id,
26
26
  description: e.description[t] ?? e.id,
27
27
  verb: e.verb?.[t] ?? void 0
28
- }));
28
+ })).toSorted((e, t) => e.label.localeCompare(t.label) || e.id.localeCompare(t.id));
29
29
  }
30
30
  function a(e, t, n = "en") {
31
31
  let r = e.get(t);
@@ -2,7 +2,7 @@ import { FileTypeResult } from 'file-type';
2
2
  import { Component, ComponentConfig } from '..';
3
3
  import { ConnectionNodeConfig, ObjectColumnConfig } from '../connection';
4
4
  type DataViewInterface = Component;
5
- interface DataViewConfig extends ComponentConfig {
5
+ export interface DataViewConfig extends ComponentConfig {
6
6
  connectionId: string | undefined;
7
7
  connectionNodeConfig: ConnectionNodeConfig | undefined;
8
8
  previewConfig: PreviewConfig | undefined;
@@ -134,7 +134,7 @@ interface UnknownInferenceResult {
134
134
  inferredValue: null;
135
135
  }
136
136
  export { ORDERED_VALUE_DELIMITER_IDS };
137
- export type { DataViewInterface, DataViewConfig, PreviewConfig, ContentAuditConfig, RelationshipsAuditConfig, DataFormatId, RecordDelimiterId, ValueDelimiterId, ParsingRecord, ParsingResult, DataTypeId, // Data type.
137
+ export type { DataViewInterface, PreviewConfig, ContentAuditConfig, RelationshipsAuditConfig, DataFormatId, RecordDelimiterId, ValueDelimiterId, ParsingRecord, ParsingResult, DataTypeId, // Data type.
138
138
  DataSubtypeId, NumericSubtypeId, // Numeric subtype and characteristics.
139
139
  NumericSignId, NumericUnitsId, StringSubtypeId, // String subtype.
140
140
  TemporalSubtypeId, // Temporal subtype.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "0.3.668",
3
+ "version": "0.3.670",
4
4
  "description": "Common constants, types and utilities used across all DPUse projects.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",
@@ -116,8 +116,8 @@
116
116
  ],
117
117
  "prettier": "@dpuse/dpuse-development/prettierrc",
118
118
  "devDependencies": {
119
- "@dpuse/dpuse-development": "^0.3.497",
120
- "@dpuse/eslint-config-dpuse": "^1.0.66",
119
+ "@dpuse/dpuse-development": "^0.3.500",
120
+ "@dpuse/eslint-config-dpuse": "^1.0.69",
121
121
  "@types/node": "^25.7.0",
122
122
  "@typescript-eslint/eslint-plugin": "^8.59.3",
123
123
  "@typescript-eslint/parser": "^8.59.3",
@@ -145,7 +145,7 @@
145
145
  "typedoc-material-theme": "^1.4.1",
146
146
  "typescript": "^6.0.3",
147
147
  "valibot": "^1.4.0",
148
- "vite": "^8.0.12",
148
+ "vite": "^8.0.13",
149
149
  "vite-plugin-dts": "^5.0.0",
150
150
  "vitest": "^4.1.6"
151
151
  },