@dpuse/dpuse-shared 0.3.607 → 0.3.609

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.
@@ -214,5 +214,5 @@ type ConnectorCategoryLocalisedConfig = Omit<ConnectorCategoryConfig, 'label'> &
214
214
  declare const constructConnectorCategoryConfig: (id: string, localeId?: import('../../locale').LocaleCode) => ConnectorCategoryLocalisedConfig;
215
215
  export { connectorConfigSchema } from './connectorConfig.schema';
216
216
  export { constructConnectorCategoryConfig };
217
- export type { ConnectionConfig, ConnectionNodeConfig, ObjectColumnConfig } from './connection';
217
+ export type { ConnectionConfig, ConnectionLocalisedConfig, ConnectionNodeConfig, ObjectColumnConfig } from './connection';
218
218
  export type { AuditObjectContentOptions1, AuditObjectContentResult1, AuditObjectContentOptions, AuditObjectContentResult, ConnectorConfig, ConnectorLocalisedConfig, ConnectorUsageId, CreateObjectOptions, DropObjectOptions, FindObjectOptions, FindObjectResult, GetReadableStreamOptions, GetRecordOptions, GetRecordResult, ListNodesOptions, ListNodesResult, PreviewObjectOptions, RemoveRecordsOptions, RetrieveChunksOptions, RetrieveRecordsOptions, RetrieveRecordsSummary, UpsertRecordsOptions };
@@ -1,15 +1,17 @@
1
1
  import { InferOutput } from 'valibot';
2
2
  import { componentConfigSchema, componentReferenceSchema, componentStatusSchema } from './componentConfig.schema';
3
3
  import { LocaleCode } from '../locale';
4
- /** Component. */
5
- interface Component {
4
+ export interface Component {
6
5
  readonly config: ComponentConfig;
7
6
  }
8
- type ComponentConfig = InferOutput<typeof componentConfigSchema>;
9
- type ComponentReference = InferOutput<typeof componentReferenceSchema>;
7
+ export type ComponentConfig = InferOutput<typeof componentConfigSchema>;
8
+ export type ComponentLocalisedConfig = Omit<ComponentConfig, 'label' | 'description'> & {
9
+ label: string;
10
+ description: string;
11
+ };
12
+ export type ComponentReference = InferOutput<typeof componentReferenceSchema>;
10
13
  type ComponentStatus = InferOutput<typeof componentStatusSchema>;
11
14
  declare function getComponentStatus(id: string, localeId?: LocaleCode): ComponentStatus;
12
15
  export { getComponentStatus };
13
16
  export { componentConfigSchema } from './componentConfig.schema';
14
- export type { Component, ComponentConfig, ComponentReference };
15
17
  export type { ModuleConfig, ModuleTypeId } from './module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "0.3.607",
3
+ "version": "0.3.609",
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>",