@datapos/datapos-shared 0.3.18 → 0.3.20

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.
@@ -1,9 +1,10 @@
1
1
  import { ComponentConfig, ComponentRef } from './component';
2
2
  export interface Context {
3
3
  readonly config: ContextConfig;
4
+ listFocuses(settings?: ContextFocusConfigListSettings): Promise<ContextFocusConfigListResult>;
4
5
  }
5
6
  export interface ContextConfig {
6
- focuses: ContextFocusConfig[];
7
+ focusConfigs: ContextFocusConfig[];
7
8
  }
8
9
  export interface ContextFocusConfig extends ComponentConfig {
9
10
  modelRefs: ContextModelConfig[];
@@ -81,6 +82,11 @@ export interface ContextViewConfig {
81
82
  id: string;
82
83
  label: Record<string, string>;
83
84
  }
85
+ export interface ContextFocusConfigListResult {
86
+ focusConfigs: ContextFocusConfig[];
87
+ }
88
+ export interface ContextFocusConfigListSettings {
89
+ }
84
90
  export interface Event {
85
91
  id?: number;
86
92
  entityId: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@datapos/datapos-shared",
3
3
  "license": "MIT",
4
4
  "private": false,
5
- "version": "0.3.18",
5
+ "version": "0.3.20",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"