@evoke-platform/context 1.5.0-testing.5 → 1.5.0-testing.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.
@@ -31,6 +31,7 @@ type ViewLayoutEntity = {
31
31
  };
32
32
  export type TableViewLayoutEntity = ViewLayoutEntity & TableViewLayout;
33
33
  export type DropdownViewLayoutEntity = ViewLayoutEntity & DropdownViewLayout;
34
+ export type PanelViewLayoutEntity = ViewLayoutEntity & PanelViewLayout;
34
35
  export type ViewLayout = {
35
36
  table?: TableViewLayout;
36
37
  dropdown?: DropdownViewLayout;
@@ -47,6 +48,22 @@ export type TableViewLayout = {
47
48
  properties: PropertyReference[];
48
49
  sort?: Sort;
49
50
  };
51
+ export type ViewSection = {
52
+ entries?: ViewEntry[];
53
+ };
54
+ export type ViewSections = {
55
+ sections: ViewSection[];
56
+ };
57
+ export type ViewColumn = {
58
+ entries?: ViewEntry[];
59
+ };
60
+ export type ViewColumns = {
61
+ columns: ViewColumn[];
62
+ };
63
+ export type ViewEntry = ReadonlyField | ViewSections | ViewColumns;
64
+ export type PanelViewLayout = {
65
+ entries: ViewEntry[];
66
+ };
50
67
  export type PropertyReference = {
51
68
  id: string;
52
69
  format?: string;
@@ -117,6 +134,12 @@ export type Property = {
117
134
  validation?: PropertyValidation;
118
135
  manyToManyPropertyId?: string;
119
136
  textTransform?: 'titleCase' | 'upperCase' | 'lowerCase' | 'sentenceCase';
137
+ protection?: PropertyProtection;
138
+ };
139
+ export type PropertyProtection = {
140
+ maskChar: string;
141
+ preserveFirst?: number;
142
+ preserveLast?: number;
120
143
  };
121
144
  export type ActionType = 'create' | 'update' | 'delete';
122
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-testing.5",
3
+ "version": "1.5.0-testing.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",