plugin-build-guide-block 1.0.10 → 1.0.11
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/dist/client/UserGuideBlock.d.ts +2 -0
- package/dist/client/UserGuideBlockInitializer.d.ts +2 -0
- package/dist/client/UserGuideBlockProvider.d.ts +2 -0
- package/dist/client/UserGuideManager.d.ts +2 -0
- package/dist/client/components/BuildButton.d.ts +2 -0
- package/dist/client/components/LLMServiceSelect.d.ts +2 -0
- package/dist/client/components/ModelSelect.d.ts +2 -0
- package/dist/client/components/StatusTag.d.ts +2 -0
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.js +1 -1
- package/dist/client/models/UserGuideBlockModel.d.ts +9 -0
- package/dist/client/models/index.d.ts +9 -0
- package/dist/client/plugin.d.ts +5 -0
- package/dist/client/schemas/spacesSchema.d.ts +315 -0
- package/dist/index.d.ts +2 -0
- package/dist/node_modules/sanitize-html/index.js +2 -2
- package/dist/node_modules/sanitize-html/package.json +1 -1
- package/dist/server/actions/build.d.ts +2 -0
- package/dist/server/actions/getHtml.d.ts +2 -0
- package/dist/server/collections/ai-build-guide-spaces.d.ts +2 -0
- package/dist/server/index.d.ts +2 -0
- package/dist/server/index.js +3 -4
- package/dist/server/plugin.d.ts +12 -0
- package/package.json +1 -1
- package/src/client/UserGuideManager.tsx +3 -2
- package/src/server/index.ts +1 -2
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export declare const spacesSchema: {
|
|
2
|
+
type: string;
|
|
3
|
+
name: string;
|
|
4
|
+
properties: {
|
|
5
|
+
card: {
|
|
6
|
+
type: string;
|
|
7
|
+
'x-component': string;
|
|
8
|
+
'x-decorator': string;
|
|
9
|
+
'x-decorator-props': {
|
|
10
|
+
collection: string;
|
|
11
|
+
action: string;
|
|
12
|
+
rowKey: string;
|
|
13
|
+
params: {
|
|
14
|
+
appends: string[];
|
|
15
|
+
sort: string[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
properties: {
|
|
19
|
+
actions: {
|
|
20
|
+
type: string;
|
|
21
|
+
'x-component': string;
|
|
22
|
+
'x-component-props': {
|
|
23
|
+
style: {
|
|
24
|
+
marginBottom: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
properties: {
|
|
28
|
+
create: {
|
|
29
|
+
type: string;
|
|
30
|
+
'x-component': string;
|
|
31
|
+
'x-component-props': {
|
|
32
|
+
type: string;
|
|
33
|
+
title: string;
|
|
34
|
+
icon: string;
|
|
35
|
+
};
|
|
36
|
+
properties: {
|
|
37
|
+
drawer: {
|
|
38
|
+
type: string;
|
|
39
|
+
'x-component': string;
|
|
40
|
+
'x-component-props': {
|
|
41
|
+
title: string;
|
|
42
|
+
};
|
|
43
|
+
properties: {
|
|
44
|
+
form: {
|
|
45
|
+
type: string;
|
|
46
|
+
'x-component': string;
|
|
47
|
+
'x-use-component-props': string;
|
|
48
|
+
properties: {
|
|
49
|
+
title: {
|
|
50
|
+
type: string;
|
|
51
|
+
title: string;
|
|
52
|
+
required: boolean;
|
|
53
|
+
'x-decorator': string;
|
|
54
|
+
'x-component': string;
|
|
55
|
+
};
|
|
56
|
+
llmService: {
|
|
57
|
+
type: string;
|
|
58
|
+
title: string;
|
|
59
|
+
required: boolean;
|
|
60
|
+
'x-decorator': string;
|
|
61
|
+
'x-component': string;
|
|
62
|
+
};
|
|
63
|
+
model: {
|
|
64
|
+
type: string;
|
|
65
|
+
title: string;
|
|
66
|
+
required: boolean;
|
|
67
|
+
'x-decorator': string;
|
|
68
|
+
'x-component': string;
|
|
69
|
+
'x-reactions': {
|
|
70
|
+
dependencies: string[];
|
|
71
|
+
fulfill: {
|
|
72
|
+
state: {
|
|
73
|
+
value: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
systemPrompt: {
|
|
79
|
+
type: string;
|
|
80
|
+
title: string;
|
|
81
|
+
'x-decorator': string;
|
|
82
|
+
'x-component': string;
|
|
83
|
+
'x-component-props': {
|
|
84
|
+
rows: number;
|
|
85
|
+
};
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
documents: {
|
|
89
|
+
type: string;
|
|
90
|
+
title: string;
|
|
91
|
+
'x-decorator': string;
|
|
92
|
+
'x-component': string;
|
|
93
|
+
'x-component-props': {
|
|
94
|
+
multiple: boolean;
|
|
95
|
+
action: string;
|
|
96
|
+
maxCount: number;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
footer: {
|
|
100
|
+
type: string;
|
|
101
|
+
'x-component': string;
|
|
102
|
+
properties: {
|
|
103
|
+
cancel: {
|
|
104
|
+
type: string;
|
|
105
|
+
title: string;
|
|
106
|
+
'x-component': string;
|
|
107
|
+
'x-use-component-props': string;
|
|
108
|
+
};
|
|
109
|
+
submit: {
|
|
110
|
+
type: string;
|
|
111
|
+
title: string;
|
|
112
|
+
'x-component': string;
|
|
113
|
+
'x-use-component-props': string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
table: {
|
|
126
|
+
type: string;
|
|
127
|
+
'x-component': string;
|
|
128
|
+
'x-use-component-props': string;
|
|
129
|
+
'x-component-props': {
|
|
130
|
+
rowKey: string;
|
|
131
|
+
rowSelection: {
|
|
132
|
+
type: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
properties: {
|
|
136
|
+
title: {
|
|
137
|
+
type: string;
|
|
138
|
+
title: string;
|
|
139
|
+
'x-decorator': string;
|
|
140
|
+
'x-component': string;
|
|
141
|
+
properties: {
|
|
142
|
+
title: {
|
|
143
|
+
type: string;
|
|
144
|
+
'x-component': string;
|
|
145
|
+
'x-read-pretty': boolean;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
status: {
|
|
150
|
+
type: string;
|
|
151
|
+
title: string;
|
|
152
|
+
'x-decorator': string;
|
|
153
|
+
'x-component': string;
|
|
154
|
+
properties: {
|
|
155
|
+
status: {
|
|
156
|
+
type: string;
|
|
157
|
+
'x-component': string;
|
|
158
|
+
'x-read-pretty': boolean;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
buildLog: {
|
|
163
|
+
type: string;
|
|
164
|
+
title: string;
|
|
165
|
+
'x-decorator': string;
|
|
166
|
+
'x-component': string;
|
|
167
|
+
properties: {
|
|
168
|
+
buildLog: {
|
|
169
|
+
type: string;
|
|
170
|
+
'x-component': string;
|
|
171
|
+
'x-read-pretty': boolean;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
actions: {
|
|
176
|
+
type: string;
|
|
177
|
+
title: string;
|
|
178
|
+
'x-decorator': string;
|
|
179
|
+
'x-component': string;
|
|
180
|
+
properties: {
|
|
181
|
+
actions: {
|
|
182
|
+
type: string;
|
|
183
|
+
'x-component': string;
|
|
184
|
+
'x-component-props': {
|
|
185
|
+
split: string;
|
|
186
|
+
};
|
|
187
|
+
properties: {
|
|
188
|
+
build: {
|
|
189
|
+
type: string;
|
|
190
|
+
'x-component': string;
|
|
191
|
+
};
|
|
192
|
+
update: {
|
|
193
|
+
type: string;
|
|
194
|
+
title: string;
|
|
195
|
+
'x-component': string;
|
|
196
|
+
'x-component-props': {
|
|
197
|
+
type: string;
|
|
198
|
+
};
|
|
199
|
+
properties: {
|
|
200
|
+
drawer: {
|
|
201
|
+
type: string;
|
|
202
|
+
'x-component': string;
|
|
203
|
+
'x-component-props': {
|
|
204
|
+
title: string;
|
|
205
|
+
};
|
|
206
|
+
properties: {
|
|
207
|
+
form: {
|
|
208
|
+
type: string;
|
|
209
|
+
'x-component': string;
|
|
210
|
+
'x-use-component-props': string;
|
|
211
|
+
properties: {
|
|
212
|
+
title: {
|
|
213
|
+
type: string;
|
|
214
|
+
title: string;
|
|
215
|
+
required: boolean;
|
|
216
|
+
'x-decorator': string;
|
|
217
|
+
'x-component': string;
|
|
218
|
+
};
|
|
219
|
+
llmService: {
|
|
220
|
+
type: string;
|
|
221
|
+
title: string;
|
|
222
|
+
required: boolean;
|
|
223
|
+
'x-decorator': string;
|
|
224
|
+
'x-component': string;
|
|
225
|
+
};
|
|
226
|
+
model: {
|
|
227
|
+
type: string;
|
|
228
|
+
title: string;
|
|
229
|
+
required: boolean;
|
|
230
|
+
'x-decorator': string;
|
|
231
|
+
'x-component': string;
|
|
232
|
+
};
|
|
233
|
+
systemPrompt: {
|
|
234
|
+
type: string;
|
|
235
|
+
title: string;
|
|
236
|
+
'x-decorator': string;
|
|
237
|
+
'x-component': string;
|
|
238
|
+
'x-component-props': {
|
|
239
|
+
rows: number;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
documents: {
|
|
243
|
+
type: string;
|
|
244
|
+
title: string;
|
|
245
|
+
'x-decorator': string;
|
|
246
|
+
'x-component': string;
|
|
247
|
+
'x-component-props': {
|
|
248
|
+
multiple: boolean;
|
|
249
|
+
action: string;
|
|
250
|
+
maxCount: number;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
generatedHtml: {
|
|
254
|
+
type: string;
|
|
255
|
+
title: string;
|
|
256
|
+
'x-decorator': string;
|
|
257
|
+
'x-component': string;
|
|
258
|
+
'x-component-props': {
|
|
259
|
+
rows: number;
|
|
260
|
+
};
|
|
261
|
+
'x-read-pretty': boolean;
|
|
262
|
+
};
|
|
263
|
+
buildLog: {
|
|
264
|
+
type: string;
|
|
265
|
+
title: string;
|
|
266
|
+
'x-decorator': string;
|
|
267
|
+
'x-component': string;
|
|
268
|
+
'x-read-pretty': boolean;
|
|
269
|
+
};
|
|
270
|
+
footer: {
|
|
271
|
+
type: string;
|
|
272
|
+
'x-component': string;
|
|
273
|
+
properties: {
|
|
274
|
+
cancel: {
|
|
275
|
+
type: string;
|
|
276
|
+
title: string;
|
|
277
|
+
'x-component': string;
|
|
278
|
+
'x-use-component-props': string;
|
|
279
|
+
};
|
|
280
|
+
submit: {
|
|
281
|
+
type: string;
|
|
282
|
+
title: string;
|
|
283
|
+
'x-component': string;
|
|
284
|
+
'x-use-component-props': string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
delete: {
|
|
295
|
+
type: string;
|
|
296
|
+
title: string;
|
|
297
|
+
'x-component': string;
|
|
298
|
+
'x-use-component-props': string;
|
|
299
|
+
'x-component-props': {
|
|
300
|
+
confirm: {
|
|
301
|
+
title: string;
|
|
302
|
+
content: string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
package/dist/index.d.ts
ADDED