@inf-monkeys-tech/monkeys 1.0.60 → 1.0.62
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/lib/contracts/agent.d.ts +157 -0
- package/lib/contracts/agent.d.ts.map +1 -1
- package/lib/contracts/agent.js +84 -1
- package/lib/contracts/agent.js.map +1 -1
- package/lib/contracts/tenant.d.ts +363 -0
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +19 -12
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +99 -9
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +98 -8
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +76 -8
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +82 -8
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/tenant-product-config.schema.json +277 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +277 -0
- package/lib/schemas/index.d.ts +172 -2
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +10 -4
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/tenant-product-config.public.json +1 -1
|
@@ -79,6 +79,113 @@ export declare const TenantTrendRadarSourcesSchema: z.ZodObject<{
|
|
|
79
79
|
ontologyId: z.ZodString;
|
|
80
80
|
}, z.core.$strict>>;
|
|
81
81
|
}, z.core.$strict>;
|
|
82
|
+
export declare const TenantAgentThemeConfigSchema: z.ZodObject<{
|
|
83
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
light: z.ZodOptional<z.ZodString>;
|
|
85
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, z.core.$strict>>;
|
|
87
|
+
brandDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
88
|
+
auto: "auto";
|
|
89
|
+
"logo-only": "logo-only";
|
|
90
|
+
"logo-name": "logo-name";
|
|
91
|
+
"name-only": "name-only";
|
|
92
|
+
}>>;
|
|
93
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
94
|
+
default: "default";
|
|
95
|
+
compact: "compact";
|
|
96
|
+
comfortable: "comfortable";
|
|
97
|
+
}>>;
|
|
98
|
+
sidebar: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
navigationMode: z.ZodOptional<z.ZodEnum<{
|
|
100
|
+
default: "default";
|
|
101
|
+
session: "session";
|
|
102
|
+
trend: "trend";
|
|
103
|
+
}>>;
|
|
104
|
+
defaultOpen: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
widthPercent: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
visibleSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
107
|
+
search: "search";
|
|
108
|
+
agents: "agents";
|
|
109
|
+
sessions: "sessions";
|
|
110
|
+
header: "header";
|
|
111
|
+
"new-session": "new-session";
|
|
112
|
+
groups: "groups";
|
|
113
|
+
footer: "footer";
|
|
114
|
+
}>>>;
|
|
115
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
|
+
id: z.ZodString;
|
|
117
|
+
label: z.ZodString;
|
|
118
|
+
items: z.ZodArray<z.ZodObject<{
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
title: z.ZodString;
|
|
121
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
122
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
123
|
+
prompt: z.ZodString;
|
|
124
|
+
mediaVariant: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
cover: "cover";
|
|
126
|
+
"cover-with-label": "cover-with-label";
|
|
127
|
+
logo: "logo";
|
|
128
|
+
}>>;
|
|
129
|
+
mediaTreatment: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
preserve: "preserve";
|
|
131
|
+
"monochrome-light": "monochrome-light";
|
|
132
|
+
invert: "invert";
|
|
133
|
+
}>>;
|
|
134
|
+
}, z.core.$strict>>;
|
|
135
|
+
itemAspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
}, z.core.$strict>>>;
|
|
137
|
+
defaultGroupId: z.ZodOptional<z.ZodString>;
|
|
138
|
+
quickStartEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
139
|
+
quickStartCategories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
|
+
id: z.ZodString;
|
|
141
|
+
label: z.ZodString;
|
|
142
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
143
|
+
code: "code";
|
|
144
|
+
search: "search";
|
|
145
|
+
"file-text": "file-text";
|
|
146
|
+
sparkles: "sparkles";
|
|
147
|
+
palette: "palette";
|
|
148
|
+
"shopping-bag": "shopping-bag";
|
|
149
|
+
}>>;
|
|
150
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
label: z.ZodString;
|
|
153
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
154
|
+
id: z.ZodString;
|
|
155
|
+
title: z.ZodString;
|
|
156
|
+
description: z.ZodOptional<z.ZodString>;
|
|
157
|
+
prompt: z.ZodString;
|
|
158
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
159
|
+
prompt: "prompt";
|
|
160
|
+
upload: "upload";
|
|
161
|
+
}>>;
|
|
162
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
163
|
+
code: "code";
|
|
164
|
+
search: "search";
|
|
165
|
+
"file-text": "file-text";
|
|
166
|
+
sparkles: "sparkles";
|
|
167
|
+
palette: "palette";
|
|
168
|
+
"shopping-bag": "shopping-bag";
|
|
169
|
+
}>>;
|
|
170
|
+
coverImageUrl: z.ZodOptional<z.ZodString>;
|
|
171
|
+
accept: z.ZodDefault<z.ZodString>;
|
|
172
|
+
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
173
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
174
|
+
chat: "chat";
|
|
175
|
+
work: "work";
|
|
176
|
+
}>>>;
|
|
177
|
+
}, z.core.$strict>>;
|
|
178
|
+
}, z.core.$strict>>;
|
|
179
|
+
}, z.core.$strict>>>;
|
|
180
|
+
trendEntryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
+
}, z.core.$strict>>;
|
|
182
|
+
navigationMode: z.ZodOptional<z.ZodEnum<{
|
|
183
|
+
default: "default";
|
|
184
|
+
session: "session";
|
|
185
|
+
trend: "trend";
|
|
186
|
+
}>>;
|
|
187
|
+
quickStartEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
}, z.core.$strict>;
|
|
82
189
|
export declare const LEGACY_CURRENT_USER_MENU_ITEM_IDS: readonly ["dark-mode", "language", "settings", "logout"];
|
|
83
190
|
export declare const CURRENT_USER_MENU_CONTROL_REFS: readonly ["dark-mode", "language"];
|
|
84
191
|
export declare const CURRENT_USER_MENU_ACTION_REFS: readonly ["logout"];
|
|
@@ -1291,6 +1398,90 @@ export declare const TenantApplicationConfigSchema: z.ZodObject<{
|
|
|
1291
1398
|
compact: "compact";
|
|
1292
1399
|
comfortable: "comfortable";
|
|
1293
1400
|
}>>;
|
|
1401
|
+
sidebar: z.ZodOptional<z.ZodObject<{
|
|
1402
|
+
navigationMode: z.ZodOptional<z.ZodEnum<{
|
|
1403
|
+
default: "default";
|
|
1404
|
+
session: "session";
|
|
1405
|
+
trend: "trend";
|
|
1406
|
+
}>>;
|
|
1407
|
+
defaultOpen: z.ZodOptional<z.ZodBoolean>;
|
|
1408
|
+
widthPercent: z.ZodOptional<z.ZodNumber>;
|
|
1409
|
+
visibleSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1410
|
+
search: "search";
|
|
1411
|
+
agents: "agents";
|
|
1412
|
+
sessions: "sessions";
|
|
1413
|
+
header: "header";
|
|
1414
|
+
"new-session": "new-session";
|
|
1415
|
+
groups: "groups";
|
|
1416
|
+
footer: "footer";
|
|
1417
|
+
}>>>;
|
|
1418
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1419
|
+
id: z.ZodString;
|
|
1420
|
+
label: z.ZodString;
|
|
1421
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1422
|
+
id: z.ZodString;
|
|
1423
|
+
title: z.ZodString;
|
|
1424
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
1425
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1426
|
+
prompt: z.ZodString;
|
|
1427
|
+
mediaVariant: z.ZodOptional<z.ZodEnum<{
|
|
1428
|
+
cover: "cover";
|
|
1429
|
+
"cover-with-label": "cover-with-label";
|
|
1430
|
+
logo: "logo";
|
|
1431
|
+
}>>;
|
|
1432
|
+
mediaTreatment: z.ZodOptional<z.ZodEnum<{
|
|
1433
|
+
preserve: "preserve";
|
|
1434
|
+
"monochrome-light": "monochrome-light";
|
|
1435
|
+
invert: "invert";
|
|
1436
|
+
}>>;
|
|
1437
|
+
}, z.core.$strict>>;
|
|
1438
|
+
itemAspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
1439
|
+
}, z.core.$strict>>>;
|
|
1440
|
+
defaultGroupId: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
quickStartEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1442
|
+
quickStartCategories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1443
|
+
id: z.ZodString;
|
|
1444
|
+
label: z.ZodString;
|
|
1445
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
1446
|
+
code: "code";
|
|
1447
|
+
search: "search";
|
|
1448
|
+
"file-text": "file-text";
|
|
1449
|
+
sparkles: "sparkles";
|
|
1450
|
+
palette: "palette";
|
|
1451
|
+
"shopping-bag": "shopping-bag";
|
|
1452
|
+
}>>;
|
|
1453
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
1454
|
+
id: z.ZodString;
|
|
1455
|
+
label: z.ZodString;
|
|
1456
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
1457
|
+
id: z.ZodString;
|
|
1458
|
+
title: z.ZodString;
|
|
1459
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
prompt: z.ZodString;
|
|
1461
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
1462
|
+
prompt: "prompt";
|
|
1463
|
+
upload: "upload";
|
|
1464
|
+
}>>;
|
|
1465
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
1466
|
+
code: "code";
|
|
1467
|
+
search: "search";
|
|
1468
|
+
"file-text": "file-text";
|
|
1469
|
+
sparkles: "sparkles";
|
|
1470
|
+
palette: "palette";
|
|
1471
|
+
"shopping-bag": "shopping-bag";
|
|
1472
|
+
}>>;
|
|
1473
|
+
coverImageUrl: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
accept: z.ZodDefault<z.ZodString>;
|
|
1475
|
+
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
1476
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1477
|
+
chat: "chat";
|
|
1478
|
+
work: "work";
|
|
1479
|
+
}>>>;
|
|
1480
|
+
}, z.core.$strict>>;
|
|
1481
|
+
}, z.core.$strict>>;
|
|
1482
|
+
}, z.core.$strict>>>;
|
|
1483
|
+
trendEntryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1484
|
+
}, z.core.$strict>>;
|
|
1294
1485
|
navigationMode: z.ZodOptional<z.ZodEnum<{
|
|
1295
1486
|
default: "default";
|
|
1296
1487
|
session: "session";
|
|
@@ -1334,6 +1525,7 @@ export declare const TenantApplicationConfigSchema: z.ZodObject<{
|
|
|
1334
1525
|
autoSignin: z.ZodOptional<z.ZodBoolean>;
|
|
1335
1526
|
}, z.core.$strict>>;
|
|
1336
1527
|
password: z.ZodOptional<z.ZodObject<{
|
|
1528
|
+
registrationEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1337
1529
|
disableAutoRegister: z.ZodOptional<z.ZodBoolean>;
|
|
1338
1530
|
}, z.core.$strict>>;
|
|
1339
1531
|
hideAuthToast: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2213,6 +2405,90 @@ export declare const TenantProductConfigSchema: z.ZodObject<{
|
|
|
2213
2405
|
compact: "compact";
|
|
2214
2406
|
comfortable: "comfortable";
|
|
2215
2407
|
}>>;
|
|
2408
|
+
sidebar: z.ZodOptional<z.ZodObject<{
|
|
2409
|
+
navigationMode: z.ZodOptional<z.ZodEnum<{
|
|
2410
|
+
default: "default";
|
|
2411
|
+
session: "session";
|
|
2412
|
+
trend: "trend";
|
|
2413
|
+
}>>;
|
|
2414
|
+
defaultOpen: z.ZodOptional<z.ZodBoolean>;
|
|
2415
|
+
widthPercent: z.ZodOptional<z.ZodNumber>;
|
|
2416
|
+
visibleSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2417
|
+
search: "search";
|
|
2418
|
+
agents: "agents";
|
|
2419
|
+
sessions: "sessions";
|
|
2420
|
+
header: "header";
|
|
2421
|
+
"new-session": "new-session";
|
|
2422
|
+
groups: "groups";
|
|
2423
|
+
footer: "footer";
|
|
2424
|
+
}>>>;
|
|
2425
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2426
|
+
id: z.ZodString;
|
|
2427
|
+
label: z.ZodString;
|
|
2428
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2429
|
+
id: z.ZodString;
|
|
2430
|
+
title: z.ZodString;
|
|
2431
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
2432
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2433
|
+
prompt: z.ZodString;
|
|
2434
|
+
mediaVariant: z.ZodOptional<z.ZodEnum<{
|
|
2435
|
+
cover: "cover";
|
|
2436
|
+
"cover-with-label": "cover-with-label";
|
|
2437
|
+
logo: "logo";
|
|
2438
|
+
}>>;
|
|
2439
|
+
mediaTreatment: z.ZodOptional<z.ZodEnum<{
|
|
2440
|
+
preserve: "preserve";
|
|
2441
|
+
"monochrome-light": "monochrome-light";
|
|
2442
|
+
invert: "invert";
|
|
2443
|
+
}>>;
|
|
2444
|
+
}, z.core.$strict>>;
|
|
2445
|
+
itemAspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
2446
|
+
}, z.core.$strict>>>;
|
|
2447
|
+
defaultGroupId: z.ZodOptional<z.ZodString>;
|
|
2448
|
+
quickStartEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2449
|
+
quickStartCategories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2450
|
+
id: z.ZodString;
|
|
2451
|
+
label: z.ZodString;
|
|
2452
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
2453
|
+
code: "code";
|
|
2454
|
+
search: "search";
|
|
2455
|
+
"file-text": "file-text";
|
|
2456
|
+
sparkles: "sparkles";
|
|
2457
|
+
palette: "palette";
|
|
2458
|
+
"shopping-bag": "shopping-bag";
|
|
2459
|
+
}>>;
|
|
2460
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
2461
|
+
id: z.ZodString;
|
|
2462
|
+
label: z.ZodString;
|
|
2463
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
2464
|
+
id: z.ZodString;
|
|
2465
|
+
title: z.ZodString;
|
|
2466
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2467
|
+
prompt: z.ZodString;
|
|
2468
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
2469
|
+
prompt: "prompt";
|
|
2470
|
+
upload: "upload";
|
|
2471
|
+
}>>;
|
|
2472
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
2473
|
+
code: "code";
|
|
2474
|
+
search: "search";
|
|
2475
|
+
"file-text": "file-text";
|
|
2476
|
+
sparkles: "sparkles";
|
|
2477
|
+
palette: "palette";
|
|
2478
|
+
"shopping-bag": "shopping-bag";
|
|
2479
|
+
}>>;
|
|
2480
|
+
coverImageUrl: z.ZodOptional<z.ZodString>;
|
|
2481
|
+
accept: z.ZodDefault<z.ZodString>;
|
|
2482
|
+
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
2483
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2484
|
+
chat: "chat";
|
|
2485
|
+
work: "work";
|
|
2486
|
+
}>>>;
|
|
2487
|
+
}, z.core.$strict>>;
|
|
2488
|
+
}, z.core.$strict>>;
|
|
2489
|
+
}, z.core.$strict>>>;
|
|
2490
|
+
trendEntryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2491
|
+
}, z.core.$strict>>;
|
|
2216
2492
|
navigationMode: z.ZodOptional<z.ZodEnum<{
|
|
2217
2493
|
default: "default";
|
|
2218
2494
|
session: "session";
|
|
@@ -2256,6 +2532,7 @@ export declare const TenantProductConfigSchema: z.ZodObject<{
|
|
|
2256
2532
|
autoSignin: z.ZodOptional<z.ZodBoolean>;
|
|
2257
2533
|
}, z.core.$strict>>;
|
|
2258
2534
|
password: z.ZodOptional<z.ZodObject<{
|
|
2535
|
+
registrationEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2259
2536
|
disableAutoRegister: z.ZodOptional<z.ZodBoolean>;
|
|
2260
2537
|
}, z.core.$strict>>;
|
|
2261
2538
|
hideAuthToast: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3147,6 +3424,90 @@ export declare const TenantRuntimeConfigSchema: z.ZodObject<{
|
|
|
3147
3424
|
compact: "compact";
|
|
3148
3425
|
comfortable: "comfortable";
|
|
3149
3426
|
}>>;
|
|
3427
|
+
sidebar: z.ZodOptional<z.ZodObject<{
|
|
3428
|
+
navigationMode: z.ZodOptional<z.ZodEnum<{
|
|
3429
|
+
default: "default";
|
|
3430
|
+
session: "session";
|
|
3431
|
+
trend: "trend";
|
|
3432
|
+
}>>;
|
|
3433
|
+
defaultOpen: z.ZodOptional<z.ZodBoolean>;
|
|
3434
|
+
widthPercent: z.ZodOptional<z.ZodNumber>;
|
|
3435
|
+
visibleSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3436
|
+
search: "search";
|
|
3437
|
+
agents: "agents";
|
|
3438
|
+
sessions: "sessions";
|
|
3439
|
+
header: "header";
|
|
3440
|
+
"new-session": "new-session";
|
|
3441
|
+
groups: "groups";
|
|
3442
|
+
footer: "footer";
|
|
3443
|
+
}>>>;
|
|
3444
|
+
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3445
|
+
id: z.ZodString;
|
|
3446
|
+
label: z.ZodString;
|
|
3447
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3448
|
+
id: z.ZodString;
|
|
3449
|
+
title: z.ZodString;
|
|
3450
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
3451
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3452
|
+
prompt: z.ZodString;
|
|
3453
|
+
mediaVariant: z.ZodOptional<z.ZodEnum<{
|
|
3454
|
+
cover: "cover";
|
|
3455
|
+
"cover-with-label": "cover-with-label";
|
|
3456
|
+
logo: "logo";
|
|
3457
|
+
}>>;
|
|
3458
|
+
mediaTreatment: z.ZodOptional<z.ZodEnum<{
|
|
3459
|
+
preserve: "preserve";
|
|
3460
|
+
"monochrome-light": "monochrome-light";
|
|
3461
|
+
invert: "invert";
|
|
3462
|
+
}>>;
|
|
3463
|
+
}, z.core.$strict>>;
|
|
3464
|
+
itemAspectRatio: z.ZodOptional<z.ZodNumber>;
|
|
3465
|
+
}, z.core.$strict>>>;
|
|
3466
|
+
defaultGroupId: z.ZodOptional<z.ZodString>;
|
|
3467
|
+
quickStartEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3468
|
+
quickStartCategories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3469
|
+
id: z.ZodString;
|
|
3470
|
+
label: z.ZodString;
|
|
3471
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
3472
|
+
code: "code";
|
|
3473
|
+
search: "search";
|
|
3474
|
+
"file-text": "file-text";
|
|
3475
|
+
sparkles: "sparkles";
|
|
3476
|
+
palette: "palette";
|
|
3477
|
+
"shopping-bag": "shopping-bag";
|
|
3478
|
+
}>>;
|
|
3479
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
3480
|
+
id: z.ZodString;
|
|
3481
|
+
label: z.ZodString;
|
|
3482
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
3483
|
+
id: z.ZodString;
|
|
3484
|
+
title: z.ZodString;
|
|
3485
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3486
|
+
prompt: z.ZodString;
|
|
3487
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
3488
|
+
prompt: "prompt";
|
|
3489
|
+
upload: "upload";
|
|
3490
|
+
}>>;
|
|
3491
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
3492
|
+
code: "code";
|
|
3493
|
+
search: "search";
|
|
3494
|
+
"file-text": "file-text";
|
|
3495
|
+
sparkles: "sparkles";
|
|
3496
|
+
palette: "palette";
|
|
3497
|
+
"shopping-bag": "shopping-bag";
|
|
3498
|
+
}>>;
|
|
3499
|
+
coverImageUrl: z.ZodOptional<z.ZodString>;
|
|
3500
|
+
accept: z.ZodDefault<z.ZodString>;
|
|
3501
|
+
multiple: z.ZodDefault<z.ZodBoolean>;
|
|
3502
|
+
modes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3503
|
+
chat: "chat";
|
|
3504
|
+
work: "work";
|
|
3505
|
+
}>>>;
|
|
3506
|
+
}, z.core.$strict>>;
|
|
3507
|
+
}, z.core.$strict>>;
|
|
3508
|
+
}, z.core.$strict>>>;
|
|
3509
|
+
trendEntryEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3510
|
+
}, z.core.$strict>>;
|
|
3150
3511
|
navigationMode: z.ZodOptional<z.ZodEnum<{
|
|
3151
3512
|
default: "default";
|
|
3152
3513
|
session: "session";
|
|
@@ -3190,6 +3551,7 @@ export declare const TenantRuntimeConfigSchema: z.ZodObject<{
|
|
|
3190
3551
|
autoSignin: z.ZodOptional<z.ZodBoolean>;
|
|
3191
3552
|
}, z.core.$strict>>;
|
|
3192
3553
|
password: z.ZodOptional<z.ZodObject<{
|
|
3554
|
+
registrationEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3193
3555
|
disableAutoRegister: z.ZodOptional<z.ZodBoolean>;
|
|
3194
3556
|
}, z.core.$strict>>;
|
|
3195
3557
|
hideAuthToast: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3393,6 +3755,7 @@ export declare const TenantRuntimeConfigSchema: z.ZodObject<{
|
|
|
3393
3755
|
export type TenantProductConfig = z.infer<typeof TenantProductConfigSchema>;
|
|
3394
3756
|
export type TenantRuntimeConfig = z.infer<typeof TenantRuntimeConfigSchema>;
|
|
3395
3757
|
export type TenantApplicationConfig = z.infer<typeof TenantApplicationConfigSchema>;
|
|
3758
|
+
export type TenantAgentThemeConfig = z.infer<typeof TenantAgentThemeConfigSchema>;
|
|
3396
3759
|
export type TenantListFooterConfig = z.infer<typeof TenantListFooterConfigSchema>;
|
|
3397
3760
|
export type CurrentUserMenuDisplayText = z.infer<typeof CurrentUserMenuDisplayTextSchema>;
|
|
3398
3761
|
export type CurrentUserMenuNavigationItem = z.infer<typeof CurrentUserMenuNavigationItemSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../../src/contracts/tenant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../../src/contracts/tenant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgDxB,uEAAuE;AACvE,eAAO,MAAM,uBAAuB;;;;;;;;;4BAIlC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;kBAKhC,CAAC;AAEZ,kFAAkF;AAClF,eAAO,MAAM,uBAAuB;;;;kBAMzB,CAAC;AAEZ,wEAAwE;AACxE,eAAO,MAAM,uBAAuB;;;;;;;;4BAgBh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GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AACtG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
package/lib/contracts/tenant.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TenantRuntimeConfigSchema = exports.TenantProductConfigSchema = exports.TenantApplicationConfigSchema = exports.TenantListFooterConfigSchema = exports.TenantLandingPageConfigSchema = exports.TenantWorkbenchConfigSchema = exports.TenantWorkbenchPageGroupSchema = exports.TenantWorkbenchPageEnvelopeSchema = exports.TenantWorkbenchPageContextSchema = exports.TenantHeadbarModuleItemSchema = exports.ThemeHeadbarSchema = exports.CurrentUserMenuProfileSchema = exports.CurrentUserMenuConfigSchema = exports.CurrentUserMenuSectionSchema = exports.CurrentUserMenuItemSchema = exports.CurrentUserMenuActionItemSchema = exports.CurrentUserMenuControlItemSchema = exports.CurrentUserMenuNavigationItemSchema = exports.CurrentUserMenuDisplayTextSchema = exports.CURRENT_USER_MENU_ACTION_REFS = exports.CURRENT_USER_MENU_CONTROL_REFS = exports.LEGACY_CURRENT_USER_MENU_ITEM_IDS = exports.TenantTrendRadarSourcesSchema = exports.TenantTrendRadarCollectionTargetSchema = exports.TenantTrendRadarSourceSchema = exports.TenantDataBindingsSchema = exports.TenantAuthBindingsSchema = exports.TenantDataBindingSchema = exports.TenantAuthBindingSchema = exports.TenantDesignTokensConfigSchema = exports.DesignTokenSourceSchema = void 0;
|
|
3
|
+
exports.TenantRuntimeConfigSchema = exports.TenantProductConfigSchema = exports.TenantApplicationConfigSchema = exports.TenantListFooterConfigSchema = exports.TenantLandingPageConfigSchema = exports.TenantWorkbenchConfigSchema = exports.TenantWorkbenchPageGroupSchema = exports.TenantWorkbenchPageEnvelopeSchema = exports.TenantWorkbenchPageContextSchema = exports.TenantHeadbarModuleItemSchema = exports.ThemeHeadbarSchema = exports.CurrentUserMenuProfileSchema = exports.CurrentUserMenuConfigSchema = exports.CurrentUserMenuSectionSchema = exports.CurrentUserMenuItemSchema = exports.CurrentUserMenuActionItemSchema = exports.CurrentUserMenuControlItemSchema = exports.CurrentUserMenuNavigationItemSchema = exports.CurrentUserMenuDisplayTextSchema = exports.CURRENT_USER_MENU_ACTION_REFS = exports.CURRENT_USER_MENU_CONTROL_REFS = exports.LEGACY_CURRENT_USER_MENU_ITEM_IDS = exports.TenantAgentThemeConfigSchema = exports.TenantTrendRadarSourcesSchema = exports.TenantTrendRadarCollectionTargetSchema = exports.TenantTrendRadarSourceSchema = exports.TenantDataBindingsSchema = exports.TenantAuthBindingsSchema = exports.TenantDataBindingSchema = exports.TenantAuthBindingSchema = exports.TenantDesignTokensConfigSchema = exports.DesignTokenSourceSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const agent_1 = require("./agent");
|
|
5
6
|
const common_1 = require("./common");
|
|
6
7
|
const menu_1 = require("./menu");
|
|
7
8
|
const page_1 = require("./page");
|
|
@@ -107,6 +108,18 @@ const AssetVariantsSchema = zod_1.z
|
|
|
107
108
|
dark: zod_1.z.string().optional(),
|
|
108
109
|
})
|
|
109
110
|
.strict();
|
|
111
|
+
exports.TenantAgentThemeConfigSchema = zod_1.z
|
|
112
|
+
.object({
|
|
113
|
+
logo: AssetVariantsSchema.optional(),
|
|
114
|
+
brandDisplayMode: zod_1.z.enum(['auto', 'logo-only', 'logo-name', 'name-only']).optional(),
|
|
115
|
+
density: zod_1.z.enum(['compact', 'default', 'comfortable']).optional(),
|
|
116
|
+
sidebar: agent_1.AgentWorkbenchSidebarConfigSchema.optional(),
|
|
117
|
+
/** @deprecated Use sidebar.navigationMode. */
|
|
118
|
+
navigationMode: zod_1.z.enum(['default', 'session', 'trend']).optional(),
|
|
119
|
+
/** @deprecated Use sidebar.quickStartEnabled. */
|
|
120
|
+
quickStartEnabled: zod_1.z.boolean().optional(),
|
|
121
|
+
})
|
|
122
|
+
.strict();
|
|
110
123
|
exports.LEGACY_CURRENT_USER_MENU_ITEM_IDS = ['dark-mode', 'language', 'settings', 'logout'];
|
|
111
124
|
exports.CURRENT_USER_MENU_CONTROL_REFS = ['dark-mode', 'language'];
|
|
112
125
|
exports.CURRENT_USER_MENU_ACTION_REFS = ['logout'];
|
|
@@ -662,16 +675,7 @@ exports.TenantApplicationConfigSchema = zod_1.z
|
|
|
662
675
|
})
|
|
663
676
|
.strict()
|
|
664
677
|
.optional(),
|
|
665
|
-
agent:
|
|
666
|
-
.object({
|
|
667
|
-
logo: AssetVariantsSchema.optional(),
|
|
668
|
-
brandDisplayMode: zod_1.z.enum(['auto', 'logo-only', 'logo-name', 'name-only']).optional(),
|
|
669
|
-
density: zod_1.z.enum(['compact', 'default', 'comfortable']).optional(),
|
|
670
|
-
navigationMode: zod_1.z.enum(['default', 'session', 'trend']).optional(),
|
|
671
|
-
quickStartEnabled: zod_1.z.boolean().optional(),
|
|
672
|
-
})
|
|
673
|
-
.strict()
|
|
674
|
-
.optional(),
|
|
678
|
+
agent: exports.TenantAgentThemeConfigSchema.optional(),
|
|
675
679
|
})
|
|
676
680
|
.strict(),
|
|
677
681
|
landingPage: exports.TenantLandingPageConfigSchema.optional(),
|
|
@@ -683,7 +687,10 @@ exports.TenantApplicationConfigSchema = zod_1.z
|
|
|
683
687
|
.strict()
|
|
684
688
|
.optional(),
|
|
685
689
|
password: zod_1.z
|
|
686
|
-
.object({
|
|
690
|
+
.object({
|
|
691
|
+
registrationEnabled: zod_1.z.boolean().optional(),
|
|
692
|
+
disableAutoRegister: zod_1.z.boolean().optional(),
|
|
693
|
+
})
|
|
687
694
|
.strict()
|
|
688
695
|
.optional(),
|
|
689
696
|
hideAuthToast: zod_1.z.boolean().optional(),
|