@datapos/datapos-shared 0.3.302 → 0.3.303

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.
@@ -31,7 +31,7 @@ export interface Connector extends Component {
31
31
  upsertRecords?(connector: Connector, settings: UpsertSettings): Promise<void>;
32
32
  }
33
33
  export interface ConnectorConfig extends ModuleConfig {
34
- category?: ConnectorCategory;
34
+ category: ConnectorCategory | null;
35
35
  categoryId: ConnectorModuleCategoryId;
36
36
  implementations: Record<string, ConnectorImplementation>;
37
37
  operations: ConnectorOperation[];
@@ -1,4 +1,3 @@
1
- import { Timestamp } from '../timestamp';
2
1
  import { LocaleCode, LocalisedString, StatusColorId } from '../index';
3
2
  export interface Component {
4
3
  readonly config: ComponentConfig;
@@ -7,11 +6,11 @@ export interface ComponentConfig {
7
6
  id: string;
8
7
  label: Partial<LocalisedString>;
9
8
  description: Partial<LocalisedString>;
10
- firstCreatedAt?: Timestamp;
11
- icon?: string;
12
- iconDark?: string;
13
- lastUpdatedAt?: Timestamp;
14
- status?: ComponentStatus;
9
+ firstCreatedAt?: number;
10
+ icon: string | null;
11
+ iconDark: string | null;
12
+ lastUpdatedAt: number | null;
13
+ status: ComponentStatus | null;
15
14
  statusId: ComponentStatusId;
16
15
  typeId: ComponentTypeId;
17
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.302",
3
+ "version": "0.3.303",
4
4
  "description": "A library containing common constants, types and utilities used across all Data Positioning projects.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",