@evoke-platform/context 1.0.1-dev.0 → 1.1.0-dev.1

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.
@@ -11,6 +11,7 @@ export type App = {
11
11
  pages?: Page[];
12
12
  navigation?: NavigationMenu;
13
13
  defaultPages?: Record<string, string>;
14
+ mfa?: 'required' | 'optional';
14
15
  };
15
16
  export type Page = {
16
17
  id: string;
@@ -139,6 +139,7 @@ export type VisibilityConfiguration = {
139
139
  property: string;
140
140
  operator: 'eq' | 'neq';
141
141
  value: string | number | boolean;
142
+ isInstanceProperty?: boolean;
142
143
  }[];
143
144
  };
144
145
  export type RelatedObjectDefaultValue = {
@@ -146,12 +147,13 @@ export type RelatedObjectDefaultValue = {
146
147
  sortBy?: string;
147
148
  orderBy?: 'asc' | 'desc' | 'ASC' | 'DESC';
148
149
  };
150
+ export type CriteriaDefaultValue = Record<string, unknown>;
149
151
  export type DisplayConfiguration = {
150
152
  label?: string;
151
153
  placeholder?: string;
152
154
  required?: boolean;
153
155
  description?: string;
154
- defaultValue?: string | number | string[] | RelatedObjectDefaultValue;
156
+ defaultValue?: string | number | string[] | RelatedObjectDefaultValue | CriteriaDefaultValue;
155
157
  readOnly?: boolean;
156
158
  tooltip?: string;
157
159
  prefix?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/context",
3
- "version": "1.0.1-dev.0",
3
+ "version": "1.1.0-dev.1",
4
4
  "description": "Utilities that provide context to Evoke platform widgets",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",