@supernova-studio/model 1.0.4 → 1.0.6

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
@@ -5494,9 +5494,19 @@ var ExporterWorkspaceMembership = z171.object({
5494
5494
  role: ExporterWorkspaceMembershipRole
5495
5495
  });
5496
5496
 
5497
- // src/feature-flags/feature-flags.ts
5497
+ // src/export/exporter-list-query.ts
5498
5498
  import { z as z172 } from "zod";
5499
- var FlaggedFeature = z172.enum([
5499
+ var ExporterType2 = z172.enum(["documentation", "code"]);
5500
+ var ListExporterQuery = z172.object({
5501
+ limit: z172.number().optional(),
5502
+ offset: z172.number().optional(),
5503
+ type: ExporterType2.optional(),
5504
+ search: z172.string().optional()
5505
+ });
5506
+
5507
+ // src/feature-flags/feature-flags.ts
5508
+ import { z as z173 } from "zod";
5509
+ var FlaggedFeature = z173.enum([
5500
5510
  "FigmaImporterV2",
5501
5511
  "ShadowOpacityOptional",
5502
5512
  "DisableImporter",
@@ -5506,20 +5516,20 @@ var FlaggedFeature = z172.enum([
5506
5516
  "ShadowPropsKeepAliases",
5507
5517
  "NonCompatibleTypeChanges"
5508
5518
  ]);
5509
- var FeatureFlagMap = z172.record(FlaggedFeature, z172.boolean());
5510
- var FeatureFlag = z172.object({
5511
- id: z172.string(),
5519
+ var FeatureFlagMap = z173.record(FlaggedFeature, z173.boolean());
5520
+ var FeatureFlag = z173.object({
5521
+ id: z173.string(),
5512
5522
  feature: FlaggedFeature,
5513
- createdAt: z172.coerce.date(),
5514
- enabled: z172.boolean(),
5515
- designSystemId: z172.string().optional()
5523
+ createdAt: z173.coerce.date(),
5524
+ enabled: z173.boolean(),
5525
+ designSystemId: z173.string().optional()
5516
5526
  });
5517
5527
 
5518
5528
  // src/integrations/external-oauth-request.ts
5519
- import { z as z174 } from "zod";
5529
+ import { z as z175 } from "zod";
5520
5530
 
5521
5531
  // src/integrations/oauth-providers.ts
5522
- import { z as z173 } from "zod";
5532
+ import { z as z174 } from "zod";
5523
5533
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5524
5534
  OAuthProviderNames2["Figma"] = "figma";
5525
5535
  OAuthProviderNames2["Azure"] = "azure";
@@ -5528,128 +5538,128 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5528
5538
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
5529
5539
  return OAuthProviderNames2;
5530
5540
  })(OAuthProviderNames || {});
5531
- var OAuthProviderSchema = z173.nativeEnum(OAuthProviderNames);
5541
+ var OAuthProviderSchema = z174.nativeEnum(OAuthProviderNames);
5532
5542
  var OAuthProvider = OAuthProviderSchema.enum;
5533
5543
 
5534
5544
  // src/integrations/external-oauth-request.ts
5535
- var ExternalOAuthRequest = z174.object({
5536
- id: z174.string(),
5545
+ var ExternalOAuthRequest = z175.object({
5546
+ id: z175.string(),
5537
5547
  provider: OAuthProviderSchema,
5538
- userId: z174.string(),
5539
- state: z174.string(),
5540
- createdAt: z174.coerce.date()
5548
+ userId: z175.string(),
5549
+ state: z175.string(),
5550
+ createdAt: z175.coerce.date()
5541
5551
  });
5542
5552
 
5543
5553
  // src/integrations/git.ts
5544
- import { z as z175 } from "zod";
5545
- var GitObjectsQuery = z175.object({
5546
- organization: z175.string().optional(),
5554
+ import { z as z176 } from "zod";
5555
+ var GitObjectsQuery = z176.object({
5556
+ organization: z176.string().optional(),
5547
5557
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
5548
- project: z175.string().optional(),
5558
+ project: z176.string().optional(),
5549
5559
  // Only for Bitbucket and Azure
5550
- repository: z175.string().optional(),
5560
+ repository: z176.string().optional(),
5551
5561
  // For all providers. For Gitlab, it's called "project".
5552
- branch: z175.string().optional(),
5562
+ branch: z176.string().optional(),
5553
5563
  // For all providers.
5554
- user: z175.string().optional()
5564
+ user: z176.string().optional()
5555
5565
  // Gitlab user
5556
5566
  });
5557
- var GitOrganization = z175.object({
5558
- id: z175.string(),
5559
- name: z175.string(),
5560
- url: z175.string(),
5561
- slug: z175.string()
5567
+ var GitOrganization = z176.object({
5568
+ id: z176.string(),
5569
+ name: z176.string(),
5570
+ url: z176.string(),
5571
+ slug: z176.string()
5562
5572
  });
5563
- var GitProject = z175.object({
5564
- id: z175.string(),
5565
- name: z175.string(),
5566
- url: z175.string(),
5567
- slug: z175.string()
5573
+ var GitProject = z176.object({
5574
+ id: z176.string(),
5575
+ name: z176.string(),
5576
+ url: z176.string(),
5577
+ slug: z176.string()
5568
5578
  });
5569
- var GitRepository = z175.object({
5570
- id: z175.string(),
5571
- name: z175.string(),
5572
- url: z175.string(),
5573
- slug: z175.string(),
5579
+ var GitRepository = z176.object({
5580
+ id: z176.string(),
5581
+ name: z176.string(),
5582
+ url: z176.string(),
5583
+ slug: z176.string(),
5574
5584
  /**
5575
5585
  * Can be undefined when:
5576
5586
  * - there are no branches in the repository yet
5577
5587
  * - Git provider doesn't expose this information on a repository via their API
5578
5588
  */
5579
- defaultBranch: z175.string().optional()
5589
+ defaultBranch: z176.string().optional()
5580
5590
  });
5581
- var GitBranch = z175.object({
5582
- name: z175.string(),
5583
- lastCommitId: z175.string()
5591
+ var GitBranch = z176.object({
5592
+ name: z176.string(),
5593
+ lastCommitId: z176.string()
5584
5594
  });
5585
5595
 
5586
5596
  // src/integrations/oauth-token.ts
5587
- import { z as z176 } from "zod";
5588
- var IntegrationTokenSchemaOld = z176.object({
5589
- id: z176.string(),
5597
+ import { z as z177 } from "zod";
5598
+ var IntegrationTokenSchemaOld = z177.object({
5599
+ id: z177.string(),
5590
5600
  provider: OAuthProviderSchema,
5591
- scope: z176.string(),
5592
- userId: z176.string(),
5593
- accessToken: z176.string(),
5594
- refreshToken: z176.string(),
5595
- expiresAt: z176.coerce.date(),
5596
- externalUserId: z176.string().nullish()
5601
+ scope: z177.string(),
5602
+ userId: z177.string(),
5603
+ accessToken: z177.string(),
5604
+ refreshToken: z177.string(),
5605
+ expiresAt: z177.coerce.date(),
5606
+ externalUserId: z177.string().nullish()
5597
5607
  });
5598
5608
 
5599
5609
  // src/integrations/workspace-oauth-requests.ts
5600
- import { z as z177 } from "zod";
5601
- var WorkspaceOAuthRequestSchema = z177.object({
5602
- id: z177.string(),
5603
- workspaceId: z177.string(),
5610
+ import { z as z178 } from "zod";
5611
+ var WorkspaceOAuthRequestSchema = z178.object({
5612
+ id: z178.string(),
5613
+ workspaceId: z178.string(),
5604
5614
  provider: OAuthProviderSchema,
5605
- userId: z177.string(),
5606
- createdAt: z177.coerce.date()
5615
+ userId: z178.string(),
5616
+ createdAt: z178.coerce.date()
5607
5617
  });
5608
5618
 
5609
5619
  // src/npm/npm-package.ts
5610
- import { z as z178 } from "zod";
5611
- var AnyRecord = z178.record(z178.any());
5620
+ import { z as z179 } from "zod";
5621
+ var AnyRecord = z179.record(z179.any());
5612
5622
  var NpmPackageVersionDist = AnyRecord.and(
5613
- z178.object({
5614
- tarball: z178.string()
5623
+ z179.object({
5624
+ tarball: z179.string()
5615
5625
  })
5616
5626
  );
5617
5627
  var NpmPackageVersion = AnyRecord.and(
5618
- z178.object({
5628
+ z179.object({
5619
5629
  dist: NpmPackageVersionDist
5620
5630
  })
5621
5631
  );
5622
5632
  var NpmPackage = AnyRecord.and(
5623
- z178.object({
5624
- _id: z178.string(),
5625
- name: z178.string(),
5633
+ z179.object({
5634
+ _id: z179.string(),
5635
+ name: z179.string(),
5626
5636
  // e.g. "latest": "1.2.3"
5627
- "dist-tags": z178.record(z178.string(), z178.string()),
5637
+ "dist-tags": z179.record(z179.string(), z179.string()),
5628
5638
  // "1.2.3": {...}
5629
- versions: z178.record(NpmPackageVersion)
5639
+ versions: z179.record(NpmPackageVersion)
5630
5640
  })
5631
5641
  );
5632
5642
 
5633
5643
  // src/npm/npm-proxy-token-payload.ts
5634
- import { z as z179 } from "zod";
5635
- var NpmProxyTokenPayload = z179.object({
5636
- npmProxyRegistryConfigId: z179.string()
5644
+ import { z as z180 } from "zod";
5645
+ var NpmProxyTokenPayload = z180.object({
5646
+ npmProxyRegistryConfigId: z180.string()
5637
5647
  });
5638
5648
 
5639
5649
  // src/tokens/personal-access-token.ts
5640
- import { z as z180 } from "zod";
5641
- var PersonalAccessToken = z180.object({
5642
- id: z180.string(),
5643
- userId: z180.string(),
5644
- workspaceId: z180.string().optional(),
5645
- designSystemId: z180.string().optional(),
5650
+ import { z as z181 } from "zod";
5651
+ var PersonalAccessToken = z181.object({
5652
+ id: z181.string(),
5653
+ userId: z181.string(),
5654
+ workspaceId: z181.string().optional(),
5655
+ designSystemId: z181.string().optional(),
5646
5656
  workspaceRole: WorkspaceRoleSchema.optional(),
5647
- name: z180.string(),
5648
- hidden: z180.boolean(),
5649
- token: z180.string(),
5650
- scope: z180.string().optional(),
5651
- createdAt: z180.coerce.date(),
5652
- expireAt: z180.coerce.date().optional()
5657
+ name: z181.string(),
5658
+ hidden: z181.boolean(),
5659
+ token: z181.string(),
5660
+ scope: z181.string().optional(),
5661
+ createdAt: z181.coerce.date(),
5662
+ expireAt: z181.coerce.date().optional()
5653
5663
  });
5654
5664
  export {
5655
5665
  Address,
@@ -5991,6 +6001,7 @@ export {
5991
6001
  LineHeightTokenData,
5992
6002
  LineHeightUnit,
5993
6003
  LineHeightValue,
6004
+ ListExporterQuery,
5994
6005
  LiveblocksNotificationSettings,
5995
6006
  MAX_MEMBERS_COUNT,
5996
6007
  NpmPackage,