@supernova-studio/client 0.5.0 → 0.6.0

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 CHANGED
@@ -377,7 +377,8 @@ var DataSourceFigmaRemote = _zod.z.object({
377
377
  scope: DataSourceFigmaScope,
378
378
  state: DataSourceFigmaState,
379
379
  lastImportMetadata: DataSourceFigmaImportMetadata.optional(),
380
- downloadChunkSize: _zod.z.number().optional()
380
+ downloadChunkSize: _zod.z.number().optional(),
381
+ figmaRenderChunkSize: _zod.z.number().optional()
381
382
  });
382
383
  var DataSourceTokenStudioRemote = _zod.z.object({
383
384
  type: _zod.z.literal(DataSourceRemoteType.Enum.TokenStudio)
@@ -1977,20 +1978,26 @@ var DocumentationPage = _zod.z.object({
1977
1978
  updatedAt: _zod.z.date()
1978
1979
  });
1979
1980
  var NpmRegistryAuthType = _zod.z.enum(["Basic", "Bearer", "None", "Custom"]);
1980
- var NpmRegistryType = _zod.z.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
1981
+ var registryTypesWithoutAzure = ["NPMJS", "GitHub", "Artifactory", "Custom"];
1982
+ var NpmRegistryType = _zod.z.enum([...registryTypesWithoutAzure, "AzureDevOps"]);
1983
+ var NpmRegistryTypeWithoutAzure = _zod.z.enum(registryTypesWithoutAzure);
1981
1984
  var NpmRegistryBasicAuthConfig = _zod.z.object({
1985
+ registryType: NpmRegistryType,
1982
1986
  authType: _zod.z.literal(NpmRegistryAuthType.Enum.Basic),
1983
1987
  username: _zod.z.string(),
1984
1988
  password: _zod.z.string()
1985
1989
  });
1986
1990
  var NpmRegistryBearerAuthConfig = _zod.z.object({
1991
+ registryType: NpmRegistryTypeWithoutAzure,
1987
1992
  authType: _zod.z.literal(NpmRegistryAuthType.Enum.Bearer),
1988
1993
  accessToken: _zod.z.string()
1989
1994
  });
1990
1995
  var NpmRegistryNoAuthConfig = _zod.z.object({
1996
+ registryType: NpmRegistryTypeWithoutAzure,
1991
1997
  authType: _zod.z.literal(NpmRegistryAuthType.Enum.None)
1992
1998
  });
1993
1999
  var NpmRegistrCustomAuthConfig = _zod.z.object({
2000
+ registryType: NpmRegistryTypeWithoutAzure,
1994
2001
  authType: _zod.z.literal(NpmRegistryAuthType.Enum.Custom),
1995
2002
  authHeaderName: _zod.z.string(),
1996
2003
  authHeaderValue: _zod.z.string()
@@ -2002,7 +2009,6 @@ var NpmRegistryAuthConfig = _zod.z.discriminatedUnion("authType", [
2002
2009
  NpmRegistrCustomAuthConfig
2003
2010
  ]);
2004
2011
  var NpmRegistryConfigBase = _zod.z.object({
2005
- registryType: NpmRegistryType,
2006
2012
  enabledScopes: _zod.z.array(_zod.z.string()),
2007
2013
  customRegistryUrl: _zod.z.string().optional(),
2008
2014
  bypassProxy: _zod.z.boolean().default(false),