@evoke-platform/context 1.5.0-dev.4 → 1.5.0-dev.6

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.
@@ -48,21 +48,21 @@ export type TableViewLayout = {
48
48
  properties: PropertyReference[];
49
49
  sort?: Sort;
50
50
  };
51
- export type ViewSection = {
52
- entries?: ViewEntry[];
51
+ export type PanelViewSection = {
52
+ entries?: PanelViewEntry[];
53
53
  };
54
- export type ViewSections = {
55
- sections: ViewSection[];
54
+ export type PanelViewSections = {
55
+ sections: PanelViewSection[];
56
56
  };
57
- export type ViewColumn = {
58
- entries?: ViewEntry[];
57
+ export type PanelViewColumn = {
58
+ entries?: PanelViewEntry[];
59
59
  };
60
- export type ViewColumns = {
61
- columns: ViewColumn[];
60
+ export type PanelViewColumns = {
61
+ columns: PanelViewColumn[];
62
62
  };
63
- export type ViewEntry = ReadonlyField | ViewSections | ViewColumns;
63
+ export type PanelViewEntry = ReadonlyField | PanelViewSections | PanelViewColumns | Content;
64
64
  export type PanelViewLayout = {
65
- entries: ViewEntry[];
65
+ entries: PanelViewEntry[];
66
66
  };
67
67
  export type PropertyReference = {
68
68
  id: string;
@@ -134,6 +134,12 @@ export type Property = {
134
134
  validation?: PropertyValidation;
135
135
  manyToManyPropertyId?: string;
136
136
  textTransform?: 'titleCase' | 'upperCase' | 'lowerCase' | 'sentenceCase';
137
+ protection?: PropertyProtection;
138
+ };
139
+ export type PropertyProtection = {
140
+ maskChar: string;
141
+ preserveFirst?: number;
142
+ preserveLast?: number;
137
143
  };
138
144
  export type ActionType = 'create' | 'update' | 'delete';
139
145
  export type InputStringValidation = StringValidation & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/context",
3
- "version": "1.5.0-dev.4",
3
+ "version": "1.5.0-dev.6",
4
4
  "description": "Utilities that provide context to Evoke platform widgets",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",