@cloudscape-design/chat-components 1.0.44 → 1.0.45
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.
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export interface ComponentDefinition {
|
|
2
|
+
name: string;
|
|
3
|
+
dashCaseName: string;
|
|
4
|
+
/** @deprecated */
|
|
5
|
+
releaseStatus: string;
|
|
6
|
+
/** @deprecated */
|
|
7
|
+
version?: string;
|
|
8
|
+
/** @deprecated */
|
|
9
|
+
description?: string;
|
|
10
|
+
systemTags?: Array<string>;
|
|
11
|
+
properties: ComponentProperty[];
|
|
12
|
+
regions: ComponentRegion[];
|
|
13
|
+
functions: ComponentFunction[];
|
|
14
|
+
events: EventHandler[];
|
|
15
|
+
}
|
|
16
|
+
interface Taggable {
|
|
17
|
+
deprecatedTag?: string;
|
|
18
|
+
visualRefreshTag?: string;
|
|
19
|
+
i18nTag?: true | undefined;
|
|
20
|
+
systemTags?: Array<string>;
|
|
21
|
+
}
|
|
22
|
+
export interface ValueDescription {
|
|
23
|
+
systemTags: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
export interface ComponentProperty extends Taggable {
|
|
26
|
+
name: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
optional: boolean;
|
|
29
|
+
type: string;
|
|
30
|
+
inlineType?: TypeDefinition;
|
|
31
|
+
defaultValue?: string;
|
|
32
|
+
analyticsTag?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ComponentRegion extends Taggable {
|
|
35
|
+
name: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
displayName?: string;
|
|
38
|
+
isDefault: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface ComponentFunction {
|
|
41
|
+
name: string;
|
|
42
|
+
description?: string;
|
|
43
|
+
parameters: FunctionParameter[];
|
|
44
|
+
returnType: string;
|
|
45
|
+
}
|
|
46
|
+
export type TypeDefinition = ObjectDefinition | FunctionDefinition | UnionTypeDefinition;
|
|
47
|
+
export interface ObjectDefinition {
|
|
48
|
+
name: string;
|
|
49
|
+
type: 'object';
|
|
50
|
+
properties: ObjectDefinitionProperty[];
|
|
51
|
+
}
|
|
52
|
+
export interface ObjectDefinitionProperty {
|
|
53
|
+
name: string;
|
|
54
|
+
optional: boolean;
|
|
55
|
+
type: string;
|
|
56
|
+
}
|
|
57
|
+
export interface FunctionDefinition {
|
|
58
|
+
name: string;
|
|
59
|
+
type: 'function';
|
|
60
|
+
returnType: string;
|
|
61
|
+
parameters: FunctionParameter[];
|
|
62
|
+
}
|
|
63
|
+
export interface FunctionParameter {
|
|
64
|
+
name: string;
|
|
65
|
+
type: string;
|
|
66
|
+
}
|
|
67
|
+
export interface UnionTypeDefinition {
|
|
68
|
+
name: string;
|
|
69
|
+
type: 'union';
|
|
70
|
+
valueDescriptions?: Record<string, ValueDescription>;
|
|
71
|
+
values: string[];
|
|
72
|
+
}
|
|
73
|
+
export interface EventHandler extends Taggable {
|
|
74
|
+
name: string;
|
|
75
|
+
description?: string;
|
|
76
|
+
detailType?: string;
|
|
77
|
+
detailInlineType?: TypeDefinition;
|
|
78
|
+
cancelable: boolean;
|
|
79
|
+
}
|
|
80
|
+
export {};
|
package/internal/environment.js
CHANGED
package/internal/manifest.json
CHANGED