@rudderhq/cli 0.2.0-canary.0 → 0.2.0-canary.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/index.js +3 -2
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -411,7 +411,7 @@ var init_workspace_backup = __esm({
|
|
|
411
411
|
|
|
412
412
|
// ../packages/shared/src/validators/instance.ts
|
|
413
413
|
import { z } from "zod";
|
|
414
|
-
var instanceLocaleSchema, instanceGeneralSettingsSchema, patchInstanceGeneralSettingsSchema, instanceNotificationSettingsSchema, patchInstanceNotificationSettingsSchema, instanceLangfuseSettingsSchema, patchInstanceLangfuseSettingsSchema, operatorProfileSettingsSchema, patchOperatorProfileSettingsSchema, instancePathPickerSelectionTypeSchema, instancePathPickerRequestSchema, instancePathPickerResultSchema;
|
|
414
|
+
var instanceLocaleSchema, instanceGeneralSettingsSchema, patchInstanceGeneralSettingsSchema, instanceNotificationSettingsSchema, patchInstanceNotificationSettingsSchema, instanceLangfuseSettingsSchema, patchInstanceLangfuseSettingsSchema, OPERATOR_PROFILE_MORE_ABOUT_YOU_MAX_LENGTH, operatorProfileSettingsSchema, patchOperatorProfileSettingsSchema, instancePathPickerSelectionTypeSchema, instancePathPickerRequestSchema, instancePathPickerResultSchema;
|
|
415
415
|
var init_instance = __esm({
|
|
416
416
|
"../packages/shared/src/validators/instance.ts"() {
|
|
417
417
|
"use strict";
|
|
@@ -444,9 +444,10 @@ var init_instance = __esm({
|
|
|
444
444
|
environment: z.string().optional(),
|
|
445
445
|
clearSecretKey: z.boolean().optional()
|
|
446
446
|
}).strict();
|
|
447
|
+
OPERATOR_PROFILE_MORE_ABOUT_YOU_MAX_LENGTH = 8e3;
|
|
447
448
|
operatorProfileSettingsSchema = z.object({
|
|
448
449
|
nickname: z.string().max(80).default(""),
|
|
449
|
-
moreAboutYou: z.string().max(
|
|
450
|
+
moreAboutYou: z.string().max(OPERATOR_PROFILE_MORE_ABOUT_YOU_MAX_LENGTH).default("")
|
|
450
451
|
}).strict();
|
|
451
452
|
patchOperatorProfileSettingsSchema = operatorProfileSettingsSchema.partial();
|
|
452
453
|
instancePathPickerSelectionTypeSchema = z.enum(["file", "directory"]);
|