@wise/dynamic-flow-types 2.5.1 → 2.5.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.
- package/build/next/index.d.ts +10 -6
- package/build/next/misc/Image.d.ts +11 -0
- package/build/next/responses/error/ErrorResponseBody.d.ts +4 -0
- package/build/next/schema/AllOfSchema.d.ts +2 -2
- package/build/next/schema/ArraySchemaList.d.ts +2 -2
- package/build/next/schema/ArraySchemaTuple.d.ts +2 -2
- package/build/next/schema/BlobSchema.d.ts +2 -2
- package/build/next/schema/BooleanSchema.d.ts +2 -2
- package/build/next/schema/ConstSchema.d.ts +2 -2
- package/build/next/schema/IntegerSchema.d.ts +2 -2
- package/build/next/schema/NumberSchema.d.ts +2 -2
- package/build/next/schema/ObjectSchema.d.ts +2 -2
- package/build/next/schema/OneOfSchema.d.ts +2 -2
- package/build/next/schema/StringSchema.d.ts +2 -2
- package/package.json +1 -1
package/build/next/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ 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
8
|
export type { Icon } from './misc/Icon';
|
|
9
|
+
export type { Image } from './misc/Image';
|
|
9
10
|
export type { Layout } from './layout/Layout';
|
|
10
11
|
export type { AlertLayout } from './layout/AlertLayout';
|
|
11
12
|
export type { BoxLayout } from './layout/BoxLayout';
|
|
@@ -26,13 +27,16 @@ export type { OneOfSchema } from './schema/OneOfSchema';
|
|
|
26
27
|
export type { StringSchema } from './schema/StringSchema';
|
|
27
28
|
export type { NumberSchema } from './schema/NumberSchema';
|
|
28
29
|
export type { IntegerSchema } from './schema/IntegerSchema';
|
|
30
|
+
export type { ArraySchema } from './schema/ArraySchema';
|
|
31
|
+
export type { ArraySchemaList } from './schema/ArraySchemaList';
|
|
32
|
+
export type { ArraySchemaTuple } from './schema/ArraySchemaTuple';
|
|
29
33
|
export type { StringSchemaFormat } from './schema/StringSchemaFormat';
|
|
30
|
-
type BasicModel = boolean | number | string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export type Model = BasicModel | ObjectModel | ArrayModel
|
|
34
|
+
type BasicModel = boolean | number | string | null;
|
|
35
|
+
interface ObjectModel extends Record<string, BasicModel | ObjectModel | ArrayModel> {
|
|
36
|
+
}
|
|
37
|
+
export interface ArrayModel extends Array<BasicModel | ObjectModel | ArrayModel> {
|
|
38
|
+
}
|
|
39
|
+
export type Model = BasicModel | ObjectModel | ArrayModel;
|
|
36
40
|
export type { SearchResult } from './responses/search/SearchResult';
|
|
37
41
|
export type { SearchResponseBody } from './responses/search/SearchResponseBody';
|
|
38
42
|
type ValidationErrorObject = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Schema } from './Schema';
|
|
2
2
|
import type { Icon } from '../misc/Icon';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Image } from '../misc/Image';
|
|
4
4
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
5
5
|
import type { AlertLayout } from '../layout/AlertLayout';
|
|
6
6
|
export type AllOfSchema = {
|
|
@@ -12,7 +12,7 @@ export type AllOfSchema = {
|
|
|
12
12
|
control?: string;
|
|
13
13
|
hidden?: boolean;
|
|
14
14
|
icon?: Icon;
|
|
15
|
-
image?:
|
|
15
|
+
image?: Image;
|
|
16
16
|
keywords?: string[];
|
|
17
17
|
summary?: SummaryProvider;
|
|
18
18
|
analyticsId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Schema } from './Schema';
|
|
2
2
|
import type { Icon } from '../misc/Icon';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Image } from '../misc/Image';
|
|
4
4
|
import type { SummarySummariser } from '../feature/SummarySummariser';
|
|
5
5
|
import type { PersistAsync } from '../feature/PersistAsync';
|
|
6
6
|
import type { ValidateAsync } from '../feature/ValidateAsync';
|
|
@@ -18,7 +18,7 @@ export type ArraySchemaList = {
|
|
|
18
18
|
control?: string;
|
|
19
19
|
hidden?: boolean;
|
|
20
20
|
icon?: Icon;
|
|
21
|
-
image?:
|
|
21
|
+
image?: Image;
|
|
22
22
|
keywords?: string[];
|
|
23
23
|
summary?: SummarySummariser;
|
|
24
24
|
analyticsId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Schema } from './Schema';
|
|
2
2
|
import type { Icon } from '../misc/Icon';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Image } from '../misc/Image';
|
|
4
4
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
5
5
|
import type { PersistAsync } from '../feature/PersistAsync';
|
|
6
6
|
import type { ValidateAsync } from '../feature/ValidateAsync';
|
|
@@ -14,7 +14,7 @@ export type ArraySchemaTuple = {
|
|
|
14
14
|
control?: string;
|
|
15
15
|
hidden?: boolean;
|
|
16
16
|
icon?: Icon;
|
|
17
|
-
image?:
|
|
17
|
+
image?: Image;
|
|
18
18
|
keywords?: string[];
|
|
19
19
|
summary?: SummaryProvider;
|
|
20
20
|
analyticsId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BlobSchemaSource } from './BlobSchemaSource';
|
|
2
2
|
import type { Icon } from '../misc/Icon';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Image } from '../misc/Image';
|
|
4
4
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
5
5
|
import type { ValidateAsync } from '../feature/ValidateAsync';
|
|
6
6
|
import type { AlertLayout } from '../layout/AlertLayout';
|
|
@@ -16,7 +16,7 @@ export type BlobSchema = {
|
|
|
16
16
|
control?: string;
|
|
17
17
|
hidden?: boolean;
|
|
18
18
|
icon?: Icon;
|
|
19
|
-
image?:
|
|
19
|
+
image?: Image;
|
|
20
20
|
keywords?: string[];
|
|
21
21
|
summary?: SummaryProvider;
|
|
22
22
|
analyticsId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Icon } from '../misc/Icon';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Image } from '../misc/Image';
|
|
3
3
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
4
4
|
import type { PersistAsync } from '../feature/PersistAsync';
|
|
5
5
|
import type { ValidateAsync } from '../feature/ValidateAsync';
|
|
@@ -15,7 +15,7 @@ export type BooleanSchema = {
|
|
|
15
15
|
hidden?: boolean;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
icon?: Icon;
|
|
18
|
-
image?:
|
|
18
|
+
image?: Image;
|
|
19
19
|
keywords?: string[];
|
|
20
20
|
summary?: SummaryProvider;
|
|
21
21
|
analyticsId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AlertLayout } from '../layout/AlertLayout';
|
|
2
2
|
import type { Icon } from '../misc/Icon';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Image } from '../misc/Image';
|
|
4
4
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
5
5
|
export type ConstSchema = {
|
|
6
6
|
disabled?: boolean;
|
|
@@ -12,7 +12,7 @@ export type ConstSchema = {
|
|
|
12
12
|
title?: string;
|
|
13
13
|
description?: string;
|
|
14
14
|
icon?: Icon;
|
|
15
|
-
image?:
|
|
15
|
+
image?: Image;
|
|
16
16
|
keywords?: string[];
|
|
17
17
|
summary?: SummaryProvider;
|
|
18
18
|
analyticsId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Icon } from '../misc/Icon';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Image } from '../misc/Image';
|
|
3
3
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
4
4
|
import type { PersistAsync } from '../feature/PersistAsync';
|
|
5
5
|
import type { ValidateAsync } from '../feature/ValidateAsync';
|
|
@@ -19,7 +19,7 @@ export type IntegerSchema = {
|
|
|
19
19
|
hidden?: boolean;
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
icon?: Icon;
|
|
22
|
-
image?:
|
|
22
|
+
image?: Image;
|
|
23
23
|
keywords?: string[];
|
|
24
24
|
summary?: SummaryProvider;
|
|
25
25
|
analyticsId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Icon } from '../misc/Icon';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Image } from '../misc/Image';
|
|
3
3
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
4
4
|
import type { PersistAsync } from '../feature/PersistAsync';
|
|
5
5
|
import type { ValidateAsync } from '../feature/ValidateAsync';
|
|
@@ -19,7 +19,7 @@ export type NumberSchema = {
|
|
|
19
19
|
hidden?: boolean;
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
icon?: Icon;
|
|
22
|
-
image?:
|
|
22
|
+
image?: Image;
|
|
23
23
|
keywords?: string[];
|
|
24
24
|
summary?: SummaryProvider;
|
|
25
25
|
analyticsId?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Help } from '../feature/Help';
|
|
2
2
|
import type { Schema } from './Schema';
|
|
3
3
|
import type { Icon } from '../misc/Icon';
|
|
4
|
-
import type {
|
|
4
|
+
import type { Image } from '../misc/Image';
|
|
5
5
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
6
6
|
import type { AlertLayout } from '../layout/AlertLayout';
|
|
7
7
|
export type ObjectSchema = {
|
|
@@ -16,7 +16,7 @@ export type ObjectSchema = {
|
|
|
16
16
|
control?: string;
|
|
17
17
|
hidden?: boolean;
|
|
18
18
|
icon?: Icon;
|
|
19
|
-
image?:
|
|
19
|
+
image?: Image;
|
|
20
20
|
keywords?: string[];
|
|
21
21
|
summary?: SummaryProvider;
|
|
22
22
|
analyticsId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Schema } from './Schema';
|
|
2
2
|
import type { Icon } from '../misc/Icon';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Image } from '../misc/Image';
|
|
4
4
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
5
5
|
import type { AlertLayout } from '../layout/AlertLayout';
|
|
6
6
|
import type { Help } from '../feature/Help';
|
|
@@ -16,7 +16,7 @@ export type OneOfSchema = {
|
|
|
16
16
|
default?: unknown;
|
|
17
17
|
hidden?: boolean;
|
|
18
18
|
icon?: Icon;
|
|
19
|
-
image?:
|
|
19
|
+
image?: Image;
|
|
20
20
|
keywords?: string[];
|
|
21
21
|
summary?: SummaryProvider;
|
|
22
22
|
analyticsId?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { StringSchemaSource } from './StringSchemaSource';
|
|
2
2
|
import type { StringSchemaFormat } from './StringSchemaFormat';
|
|
3
3
|
import type { Icon } from '../misc/Icon';
|
|
4
|
-
import type {
|
|
4
|
+
import type { Image } from '../misc/Image';
|
|
5
5
|
import type { SummaryProvider } from '../feature/SummaryProvider';
|
|
6
6
|
import type { PersistAsync } from '../feature/PersistAsync';
|
|
7
7
|
import type { ValidateAsync } from '../feature/ValidateAsync';
|
|
@@ -26,7 +26,7 @@ export type StringSchema = {
|
|
|
26
26
|
hidden?: boolean;
|
|
27
27
|
disabled?: boolean;
|
|
28
28
|
icon?: Icon;
|
|
29
|
-
image?:
|
|
29
|
+
image?: Image;
|
|
30
30
|
keywords?: string[];
|
|
31
31
|
summary?: SummaryProvider;
|
|
32
32
|
analyticsId?: string;
|