@evoke-platform/context 1.7.0-dev.0 → 1.7.0-dev.2

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.
@@ -4,6 +4,7 @@ export type App = {
4
4
  id: string;
5
5
  name: string;
6
6
  type: AppType;
7
+ offlineEnabled?: boolean;
7
8
  description?: string;
8
9
  initials?: string;
9
10
  icon?: string;
@@ -14,6 +14,7 @@ const defaultApp = {
14
14
  id: '_evoke',
15
15
  name: 'Evoke Platform',
16
16
  type: 'public',
17
+ offlineEnabled: false,
17
18
  };
18
19
  const defaultAppExtended = Object.assign(Object.assign({}, defaultApp), { findDefaultPageSlugFor: (objectId) => Promise.resolve(undefined) });
19
20
  const AppContext = createContext(defaultAppExtended);
@@ -87,7 +87,7 @@ export type Obj = {
87
87
  export type ObjWithRoot = Obj & {
88
88
  rootObjectId: string;
89
89
  };
90
- export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'criteria' | 'date' | 'date-time' | 'document' | 'fileContent' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
90
+ export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'criteria' | 'date' | 'date-time' | 'document' | 'file' | 'fileContent' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
91
91
  export type NumericValidation = {
92
92
  errorMessage?: string;
93
93
  minimum?: number;
@@ -289,7 +289,7 @@ export type FormEntry = InputField | InputParameterReference | ReadonlyField | S
289
289
  export type Form = {
290
290
  entries?: FormEntry[];
291
291
  };
292
- export type ActionInputType = 'button' | 'Boolean' | 'Columns' | 'Content' | 'Criteria' | 'Date' | 'DateTime' | 'Decimal' | 'Document' | 'Image' | 'Integer' | 'ManyToManyRepeatableField' | 'MultiSelect' | 'Object' | 'RepeatableField' | 'RichText' | 'Section' | 'Select' | 'TextField' | 'Time' | 'User';
292
+ export type ActionInputType = 'button' | 'Boolean' | 'Columns' | 'Content' | 'Criteria' | 'Date' | 'DateTime' | 'Decimal' | 'Document' | 'File' | 'Image' | 'Integer' | 'ManyToManyRepeatableField' | 'MultiSelect' | 'Object' | 'RepeatableField' | 'RichText' | 'Section' | 'Select' | 'TextField' | 'Time' | 'User';
293
293
  /**
294
294
  * Represents an object action inputProperty object.
295
295
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/context",
3
- "version": "1.7.0-dev.0",
3
+ "version": "1.7.0-dev.2",
4
4
  "description": "Utilities that provide context to Evoke platform widgets",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",