@encatch/schema 1.2.0-beta.0 → 1.2.0-beta.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/dist/esm/index.js +7 -3
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +7 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +7 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +14 -0
- package/dist/types/schemas/fields/other-screen-schema.d.ts +3 -0
- package/dist/types/schemas/fields/theme-schema.d.ts +2 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1289,7 +1289,9 @@ var OtherFieldsSchema = z5.object({
|
|
|
1289
1289
|
aiEnhancementMaxReachedErrorMessage: z5.string().min(1).max(100).describe("Message shown when maximum AI enhancements reached (max 100 characters)"),
|
|
1290
1290
|
remindMeLaterButtonLabel: z5.string().max(50).optional().describe("Label for the remind me later button; when absent or blank the button is not shown"),
|
|
1291
1291
|
estimatedCompletionLabel: z5.string().max(100).optional().describe("Estimated completion time label shown on the welcome or first screen (e.g. 'Takes about 2 minutes'); when absent the label is not shown"),
|
|
1292
|
-
respondentsShowMinThreshold: z5.number().int().min(1).optional().describe("Minimum number of respondents required before the respondents badge is shown; when absent the badge is never shown")
|
|
1292
|
+
respondentsShowMinThreshold: z5.number().int().min(1).optional().describe("Minimum number of respondents required before the respondents badge is shown; when absent the badge is never shown"),
|
|
1293
|
+
respondentsLabel: z5.string().max(100).optional().describe("Label template for the respondents badge (e.g. '{count} people have already responded'); client interpolates {count} at render time"),
|
|
1294
|
+
windowTitle: z5.string().max(100).optional().describe("Custom browser window/tab title for the form; when absent the platform uses a default (e.g. the form title or app name)")
|
|
1293
1295
|
}).describe("Schema for other form configuration fields");
|
|
1294
1296
|
var LanguageFieldSchema = z5.object({
|
|
1295
1297
|
value: z5.string().min(1).max(10).describe("Language code (e.g., 'en', 'es', 'fr')"),
|
|
@@ -1304,7 +1306,8 @@ var OtherFieldsTranslationSchema = z5.object({
|
|
|
1304
1306
|
aiEnhancementMaxReachedErrorMessage: z5.string().min(1).max(100).describe("Translated message shown when maximum AI enhancements reached (max 100 characters)"),
|
|
1305
1307
|
remindMeLaterButtonLabel: z5.string().max(50).optional().describe("Translated label for the remind me later button"),
|
|
1306
1308
|
estimatedCompletionLabel: z5.string().max(100).optional().describe("Translated estimated completion time label"),
|
|
1307
|
-
respondentsLabel: z5.string().max(100).optional().describe("Translated label template for the respondents badge (e.g. '{count} people have already responded'); client interpolates {count} at render time")
|
|
1309
|
+
respondentsLabel: z5.string().max(100).optional().describe("Translated label template for the respondents badge (e.g. '{count} people have already responded'); client interpolates {count} at render time"),
|
|
1310
|
+
windowTitle: z5.string().max(100).optional().describe("Translated browser window/tab title for the form")
|
|
1308
1311
|
}).describe("Schema for other form configuration field translations");
|
|
1309
1312
|
|
|
1310
1313
|
// src/schemas/fields/theme-schema.ts
|
|
@@ -1368,7 +1371,8 @@ var featureSettingsSchema = z6.object({
|
|
|
1368
1371
|
),
|
|
1369
1372
|
rtl: z6.boolean().default(false).describe("Whether right-to-left text direction is enabled"),
|
|
1370
1373
|
previousButton: previousButtonModeSchema.default(PreviousButtonModes.ALWAYS).describe("Previous button: never (hidden) or always (shown)"),
|
|
1371
|
-
maxDialogHeightPercentInApp: z6.number().int().min(10).max(100).optional().describe("Maximum height of the in-app dialog as a percentage of the viewport height (10\u2013100); when absent the dialog uses its default height")
|
|
1374
|
+
maxDialogHeightPercentInApp: z6.number().int().min(10).max(100).optional().describe("Maximum height of the in-app dialog as a percentage of the viewport height (10\u2013100); when absent the dialog uses its default height"),
|
|
1375
|
+
faviconUrl: z6.string().optional().describe("URL of a custom favicon image to display in the browser tab; when absent the platform default favicon is used")
|
|
1372
1376
|
}).describe("Feature settings controlling widget UI behavior and appearance");
|
|
1373
1377
|
var themeColorsSchema = z6.object({
|
|
1374
1378
|
theme: z6.string().optional().describe("Theme for a single mode (shadcn variables JSON)")
|