@wise/dynamic-flow-types 2.4.1 → 2.5.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.
@@ -5,6 +5,7 @@ export type { Align } from './misc/Align';
5
5
  export type { Context } from './misc/Context';
6
6
  export type { Size } from './misc/Size';
7
7
  export type { Size as Margin } from './misc/Size';
8
+ export type { Icon } from './misc/Icon';
8
9
  export type { Layout } from './layout/Layout';
9
10
  export type { AlertLayout } from './layout/AlertLayout';
10
11
  export type { BoxLayout } from './layout/BoxLayout';
@@ -15,7 +16,10 @@ export type FormLayout = GeneratedFormLayout & {
15
16
  };
16
17
  export type { HeadingLayout } from './layout/HeadingLayout';
17
18
  export type { ParagraphLayout } from './layout/ParagraphLayout';
19
+ export type { ImageLayout } from './layout/ImageLayout';
18
20
  export type { Schema } from './schema/Schema';
21
+ export type { BooleanSchema } from './schema/BooleanSchema';
22
+ export type { ConstSchema } from './schema/ConstSchema';
19
23
  export type { ObjectSchema } from './schema/ObjectSchema';
20
24
  export type { AllOfSchema } from './schema/AllOfSchema';
21
25
  export type { OneOfSchema } from './schema/OneOfSchema';
@@ -29,6 +33,8 @@ type ObjectModel = {
29
33
  };
30
34
  type ArrayModel = (Model | null)[];
31
35
  export type Model = BasicModel | ObjectModel | ArrayModel | null;
36
+ export type { SearchResult } from './responses/search/SearchResult';
37
+ export type { SearchResponseBody } from './responses/search/SearchResponseBody';
32
38
  type ValidationErrorObject = {
33
39
  [key: string]: ValidationError;
34
40
  };
@@ -3,7 +3,7 @@ import type { Action } from '../feature/Action';
3
3
  import type { Context } from '../misc/Context';
4
4
  export type ButtonLayout = {
5
5
  type: 'button';
6
- title: string;
6
+ title?: string;
7
7
  action: Action;
8
8
  context?: Context;
9
9
  disabled?: boolean;
@@ -6,7 +6,7 @@ import type { ValidateAsync } from '../feature/ValidateAsync';
6
6
  import type { AlertLayout } from '../layout/AlertLayout';
7
7
  export type BlobSchema = {
8
8
  type: 'blob';
9
- disabled: boolean;
9
+ disabled?: boolean;
10
10
  $id?: string;
11
11
  accepts: string[];
12
12
  maxSize?: number;
@@ -8,7 +8,7 @@ export type ConstSchema = {
8
8
  alert?: AlertLayout;
9
9
  control?: string;
10
10
  $id?: string;
11
- const?: unknown;
11
+ const: unknown;
12
12
  title?: string;
13
13
  description?: string;
14
14
  icon?: Icon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-types",
3
- "version": "2.4.1",
3
+ "version": "2.5.1",
4
4
  "description": "Dynamic Flow TypeScript Types",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {