@supernova-studio/client 0.46.10 → 0.46.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/index.mjs CHANGED
@@ -4972,6 +4972,9 @@ import { z as z184 } from "zod";
4972
4972
 
4973
4973
  // src/api/dto/workspaces/npm-registry.ts
4974
4974
  import { z as z183 } from "zod";
4975
+ var DTONpmRegistryConfigConstants = {
4976
+ passwordPlaceholder: "redacted"
4977
+ };
4975
4978
  var DTONpmRegistryConfig = z183.object({
4976
4979
  // Registry basic configuration
4977
4980
  registryType: NpmRegistryType,
@@ -4981,9 +4984,9 @@ var DTONpmRegistryConfig = z183.object({
4981
4984
  proxyUrl: z183.string(),
4982
4985
  // Auth configuration
4983
4986
  authType: NpmRegistryAuthType,
4984
- accessToken: z183.literal("redacted").optional(),
4987
+ accessToken: z183.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
4985
4988
  username: z183.string().optional(),
4986
- password: z183.literal("redacted").optional(),
4989
+ password: z183.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
4987
4990
  // NPM package scopes for whih the proxy should be enabled
4988
4991
  enabledScopes: z183.array(z183.string()),
4989
4992
  // True if client should bypass Supernova proxy and connect directly to the registry
@@ -8844,6 +8847,7 @@ export {
8844
8847
  DTOMoveDocumentationGroupInput,
8845
8848
  DTOMoveDocumentationPageInputV2,
8846
8849
  DTONpmRegistryConfig,
8850
+ DTONpmRegistryConfigConstants,
8847
8851
  DTOPropertyDefinitionCreateActionInputV2,
8848
8852
  DTOPropertyDefinitionCreateActionOutputV2,
8849
8853
  DTOPropertyDefinitionDeleteActionInputV2,