@encatch/schema 1.2.0-beta.0 → 1.2.0-beta.1
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 +6 -3
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +5 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +5 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +10 -0
- package/dist/types/schemas/fields/other-screen-schema.d.ts +2 -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,8 @@ 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
|
+
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
1294
|
}).describe("Schema for other form configuration fields");
|
|
1294
1295
|
var LanguageFieldSchema = z5.object({
|
|
1295
1296
|
value: z5.string().min(1).max(10).describe("Language code (e.g., 'en', 'es', 'fr')"),
|
|
@@ -1304,7 +1305,8 @@ var OtherFieldsTranslationSchema = z5.object({
|
|
|
1304
1305
|
aiEnhancementMaxReachedErrorMessage: z5.string().min(1).max(100).describe("Translated message shown when maximum AI enhancements reached (max 100 characters)"),
|
|
1305
1306
|
remindMeLaterButtonLabel: z5.string().max(50).optional().describe("Translated label for the remind me later button"),
|
|
1306
1307
|
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")
|
|
1308
|
+
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
|
+
windowTitle: z5.string().max(100).optional().describe("Translated browser window/tab title for the form")
|
|
1308
1310
|
}).describe("Schema for other form configuration field translations");
|
|
1309
1311
|
|
|
1310
1312
|
// src/schemas/fields/theme-schema.ts
|
|
@@ -1368,7 +1370,8 @@ var featureSettingsSchema = z6.object({
|
|
|
1368
1370
|
),
|
|
1369
1371
|
rtl: z6.boolean().default(false).describe("Whether right-to-left text direction is enabled"),
|
|
1370
1372
|
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")
|
|
1373
|
+
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
|
+
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
1375
|
}).describe("Feature settings controlling widget UI behavior and appearance");
|
|
1373
1376
|
var themeColorsSchema = z6.object({
|
|
1374
1377
|
theme: z6.string().optional().describe("Theme for a single mode (shadcn variables JSON)")
|