eas-cli 24.6.0 → 24.8.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.
Files changed (64) hide show
  1. package/README.md +453 -244
  2. package/build/build/createContext.js +1 -2
  3. package/build/build/runBuildAndSubmit.js +4 -1
  4. package/build/commandUtils/supabase.d.ts +6 -1
  5. package/build/commandUtils/supabase.js +53 -0
  6. package/build/commandUtils/workflow/validation.d.ts +1 -0
  7. package/build/commandUtils/workflow/validation.js +8 -3
  8. package/build/commands/account/view.js +12 -0
  9. package/build/commands/integrations/asc/connect.js +3 -0
  10. package/build/commands/integrations/supabase/advisors.d.ts +16 -0
  11. package/build/commands/integrations/supabase/advisors.js +153 -0
  12. package/build/commands/simulator/availability.d.ts +0 -1
  13. package/build/commands/simulator/availability.js +0 -1
  14. package/build/commands/simulator/egress.d.ts +0 -1
  15. package/build/commands/simulator/egress.js +0 -1
  16. package/build/commands/simulator/events.d.ts +0 -1
  17. package/build/commands/simulator/events.js +0 -1
  18. package/build/commands/simulator/exec.d.ts +0 -1
  19. package/build/commands/simulator/exec.js +0 -1
  20. package/build/commands/simulator/get.d.ts +0 -1
  21. package/build/commands/simulator/get.js +0 -1
  22. package/build/commands/simulator/index.d.ts +2 -1
  23. package/build/commands/simulator/index.js +29 -11
  24. package/build/commands/simulator/list.d.ts +0 -1
  25. package/build/commands/simulator/list.js +0 -1
  26. package/build/commands/simulator/stop.d.ts +0 -1
  27. package/build/commands/simulator/stop.js +0 -1
  28. package/build/commands/submit/internal.d.ts +6 -0
  29. package/build/commands/submit/internal.js +6 -2
  30. package/build/credentials/context.js +7 -0
  31. package/build/credentials/ios/actions/AscApiKeyUtils.d.ts +2 -1
  32. package/build/credentials/ios/actions/AscApiKeyUtils.js +43 -4
  33. package/build/credentials/ios/appstore/AppStoreApi.d.ts +5 -0
  34. package/build/credentials/ios/appstore/AppStoreApi.js +18 -9
  35. package/build/credentials/ios/appstore/authenticate.d.ts +6 -0
  36. package/build/credentials/ios/appstore/authenticate.js +22 -1
  37. package/build/credentials/ios/appstore/resolveCredentials.js +16 -4
  38. package/build/devices/actions/create/developerPortalMethod.js +1 -1
  39. package/build/env.d.ts +4 -0
  40. package/build/env.js +4 -0
  41. package/build/fetch.js +2 -2
  42. package/build/graphql/generated.d.ts +178 -3
  43. package/build/graphql/generated.js +14 -2
  44. package/build/graphql/queries/DeviceRunSessionQuery.js +5 -0
  45. package/build/graphql/queries/SupabaseQuery.d.ts +2 -1
  46. package/build/graphql/queries/SupabaseQuery.js +42 -0
  47. package/build/graphql/queries/WorkflowJobSshQuery.d.ts +1 -0
  48. package/build/graphql/queries/WorkflowJobSshQuery.js +43 -0
  49. package/build/graphql/types/SupabaseConnection.d.ts +9 -2
  50. package/build/graphql/types/SupabaseConnection.js +16 -1
  51. package/build/integrations/asc/ascApiKey.js +2 -1
  52. package/build/integrations/shared/envFile.js +5 -3
  53. package/build/integrations/supabase/provision.d.ts +2 -2
  54. package/build/integrations/supabase/provision.js +6 -4
  55. package/build/metadata/auth.js +4 -4
  56. package/build/simulator/utils.d.ts +7 -6
  57. package/build/simulator/utils.js +34 -13
  58. package/build/submit/ios/AscApiKeySource.js +1 -1
  59. package/build/submit/ios/IosSubmitCommand.js +2 -2
  60. package/build/submit/ios/ensureTestFlightSetup.js +1 -4
  61. package/build/worker/upload.js +2 -2
  62. package/oclif.manifest.json +1166 -1062
  63. package/package.json +9 -8
  64. package/build/commandUtils/new/templates/CLAUDE.md +0 -1
@@ -992,6 +992,8 @@ export type AgentDeviceRunSessionRemoteConfig = {
992
992
  * session does not use local egress.
993
993
  */
994
994
  egressUrl?: Maybe<Scalars['String']['output']>;
995
+ /** URL of the preview server, for reaching its API rather than its page. */
996
+ previewApiUrl?: Maybe<Scalars['String']['output']>;
995
997
  /** Session token gating the web preview. Null when the preview runs ungated. */
996
998
  webPreviewToken?: Maybe<Scalars['String']['output']>;
997
999
  /**
@@ -2545,6 +2547,8 @@ export type AppObserveErrorOccurrencesFilter = {
2545
2547
  appEasBuildId?: InputMaybe<Scalars['String']['input']>;
2546
2548
  appUpdateId?: InputMaybe<Scalars['String']['input']>;
2547
2549
  appVersion?: InputMaybe<Scalars['String']['input']>;
2550
+ countryCode?: InputMaybe<Scalars['String']['input']>;
2551
+ deviceModel?: InputMaybe<Scalars['String']['input']>;
2548
2552
  easClientId?: InputMaybe<Scalars['String']['input']>;
2549
2553
  endTime?: InputMaybe<Scalars['DateTime']['input']>;
2550
2554
  environment?: InputMaybe<Scalars['String']['input']>;
@@ -2704,6 +2708,8 @@ export type AppObserveErrorsBreakdownInput = {
2704
2708
  appEasBuildId?: InputMaybe<Scalars['String']['input']>;
2705
2709
  appUpdateId?: InputMaybe<Scalars['String']['input']>;
2706
2710
  appVersion?: InputMaybe<Scalars['String']['input']>;
2711
+ countryCode?: InputMaybe<Scalars['String']['input']>;
2712
+ deviceModel?: InputMaybe<Scalars['String']['input']>;
2707
2713
  dimension: AppObserveErrorBreakdownDimension;
2708
2714
  endTime: Scalars['DateTime']['input'];
2709
2715
  environment?: InputMaybe<Scalars['String']['input']>;
@@ -2722,6 +2728,8 @@ export type AppObserveErrorsGroupsInput = {
2722
2728
  appVersion?: InputMaybe<Scalars['String']['input']>;
2723
2729
  /** Bucket size for each group's timeSeries. Defaults to daily. */
2724
2730
  bucketIntervalMinutes?: InputMaybe<Scalars['Int']['input']>;
2731
+ countryCode?: InputMaybe<Scalars['String']['input']>;
2732
+ deviceModel?: InputMaybe<Scalars['String']['input']>;
2725
2733
  endTime: Scalars['DateTime']['input'];
2726
2734
  environment?: InputMaybe<Scalars['String']['input']>;
2727
2735
  /** Restrict to one error group. */
@@ -2741,6 +2749,8 @@ export type AppObserveErrorsStatsInput = {
2741
2749
  appEasBuildId?: InputMaybe<Scalars['String']['input']>;
2742
2750
  appUpdateId?: InputMaybe<Scalars['String']['input']>;
2743
2751
  appVersion?: InputMaybe<Scalars['String']['input']>;
2752
+ countryCode?: InputMaybe<Scalars['String']['input']>;
2753
+ deviceModel?: InputMaybe<Scalars['String']['input']>;
2744
2754
  endTime: Scalars['DateTime']['input'];
2745
2755
  environment?: InputMaybe<Scalars['String']['input']>;
2746
2756
  isEmbeddedUpdate?: InputMaybe<Scalars['Boolean']['input']>;
@@ -2756,6 +2766,8 @@ export type AppObserveErrorsTimeSeriesInput = {
2756
2766
  appUpdateId?: InputMaybe<Scalars['String']['input']>;
2757
2767
  appVersion?: InputMaybe<Scalars['String']['input']>;
2758
2768
  bucketIntervalMinutes?: InputMaybe<Scalars['Int']['input']>;
2769
+ countryCode?: InputMaybe<Scalars['String']['input']>;
2770
+ deviceModel?: InputMaybe<Scalars['String']['input']>;
2759
2771
  endTime: Scalars['DateTime']['input'];
2760
2772
  environment?: InputMaybe<Scalars['String']['input']>;
2761
2773
  /** Restrict to one error group. */
@@ -4089,6 +4101,8 @@ export type AppiumRunSessionRemoteConfig = {
4089
4101
  * session does not use local egress.
4090
4102
  */
4091
4103
  egressUrl?: Maybe<Scalars['String']['output']>;
4104
+ /** URL of the preview server, for reaching its API rather than its page. */
4105
+ previewApiUrl?: Maybe<Scalars['String']['output']>;
4092
4106
  /** Session token gating the web preview. Null when the preview runs ungated. */
4093
4107
  webPreviewToken?: Maybe<Scalars['String']['output']>;
4094
4108
  /**
@@ -4436,6 +4450,8 @@ export type ArgentRunSessionRemoteConfig = {
4436
4450
  * session does not use local egress.
4437
4451
  */
4438
4452
  egressUrl?: Maybe<Scalars['String']['output']>;
4453
+ /** URL of the preview server, for reaching its API rather than its page. */
4454
+ previewApiUrl?: Maybe<Scalars['String']['output']>;
4439
4455
  toolsAuthToken?: Maybe<Scalars['String']['output']>;
4440
4456
  toolsUrl: Scalars['String']['output'];
4441
4457
  /** Session token gating the web preview. Null when the preview runs ungated. */
@@ -4895,12 +4911,14 @@ export type BuildFilterInput = {
4895
4911
  channel?: InputMaybe<Scalars['String']['input']>;
4896
4912
  developmentClient?: InputMaybe<Scalars['Boolean']['input']>;
4897
4913
  distributions?: InputMaybe<Array<DistributionType>>;
4914
+ expired?: InputMaybe<Scalars['Boolean']['input']>;
4898
4915
  fingerprintHash?: InputMaybe<Scalars['String']['input']>;
4899
4916
  hasFingerprint?: InputMaybe<Scalars['Boolean']['input']>;
4900
4917
  platforms?: InputMaybe<Array<AppPlatform>>;
4901
4918
  releaseChannel?: InputMaybe<Scalars['String']['input']>;
4902
4919
  runtimeVersion?: InputMaybe<Scalars['String']['input']>;
4903
4920
  simulator?: InputMaybe<Scalars['Boolean']['input']>;
4921
+ statuses?: InputMaybe<Array<BuildStatus>>;
4904
4922
  };
4905
4923
  export declare enum BuildIosEnterpriseProvisioning {
4906
4924
  Adhoc = "ADHOC",
@@ -5683,6 +5701,13 @@ export type CreatePostHogDeepLinkInput = {
5683
5701
  /** Which EAS surface opened the link; omitted lets PostHog apply its own default. */
5684
5702
  purpose?: InputMaybe<PostHogDeepLinkPurpose>;
5685
5703
  };
5704
+ export type CreateSandboxInput = {
5705
+ appId: Scalars['ID']['input'];
5706
+ image?: InputMaybe<Scalars['String']['input']>;
5707
+ operatingSystem: SandboxOperatingSystem;
5708
+ projectArchive?: InputMaybe<SandboxProjectArchiveInput>;
5709
+ resourceClass: SandboxResourceClass;
5710
+ };
5686
5711
  export type CreateSentryProjectInput = {
5687
5712
  appId: Scalars['ID']['input'];
5688
5713
  sentryProjectId: Scalars['String']['input'];
@@ -8602,6 +8627,7 @@ export declare enum Permission {
8602
8627
  Admin = "ADMIN",
8603
8628
  Own = "OWN",
8604
8629
  Publish = "PUBLISH",
8630
+ PublishProtected = "PUBLISH_PROTECTED",
8605
8631
  View = "VIEW"
8606
8632
  }
8607
8633
  export type PinnedDashboardView = {
@@ -8728,7 +8754,6 @@ export type ProjectArchiveSourceInput = {
8728
8754
  bucketKey?: InputMaybe<Scalars['String']['input']>;
8729
8755
  gitRef?: InputMaybe<Scalars['String']['input']>;
8730
8756
  metadataLocation?: InputMaybe<Scalars['String']['input']>;
8731
- repositoryUrl?: InputMaybe<Scalars['String']['input']>;
8732
8757
  type: ProjectArchiveSourceType;
8733
8758
  url?: InputMaybe<Scalars['String']['input']>;
8734
8759
  };
@@ -8776,6 +8801,7 @@ export type PublishUpdateGroupInput = {
8776
8801
  isGitWorkingTreeDirty?: InputMaybe<Scalars['Boolean']['input']>;
8777
8802
  manifestHostOverride?: InputMaybe<Scalars['String']['input']>;
8778
8803
  message?: InputMaybe<Scalars['String']['input']>;
8804
+ previousRolloutUpdateToClobberIdGroup?: InputMaybe<UpdateIdGroup>;
8779
8805
  rollBackToEmbeddedInfoGroup?: InputMaybe<UpdateRollBackToEmbeddedGroup>;
8780
8806
  rolloutInfoGroup?: InputMaybe<UpdateRolloutInfoGroup>;
8781
8807
  runtimeVersion: Scalars['String']['input'];
@@ -8945,6 +8971,7 @@ export declare enum Role {
8945
8971
  HasAdmin = "HAS_ADMIN",
8946
8972
  NotAdmin = "NOT_ADMIN",
8947
8973
  Owner = "OWNER",
8974
+ ReleaseManager = "RELEASE_MANAGER",
8948
8975
  ViewOnly = "VIEW_ONLY"
8949
8976
  }
8950
8977
  export type RootMutation = {
@@ -9070,6 +9097,7 @@ export type RootMutation = {
9070
9097
  realtimeLogs: RealtimeLogsMutation;
9071
9098
  /** Mutations that create, update, and delete Robots */
9072
9099
  robot: RobotMutation;
9100
+ sandbox: SandboxMutation;
9073
9101
  /** Mutations for Sentry installations */
9074
9102
  sentryInstallation: SentryInstallationMutation;
9075
9103
  /** Mutations for Sentry projects */
@@ -9085,6 +9113,7 @@ export type RootMutation = {
9085
9113
  updateBranch: UpdateBranchMutation;
9086
9114
  updateChannel: UpdateChannelMutation;
9087
9115
  uploadSession: UploadSession;
9116
+ usageBudget: UsageBudgetMutation;
9088
9117
  /** Mutations that create, update, and delete pinned apps */
9089
9118
  userAppPins: UserAppPinMutation;
9090
9119
  userAuditLog: UserAuditLogMutation;
@@ -9429,13 +9458,67 @@ export type Sandbox = {
9429
9458
  turtleJobRun: JobRun;
9430
9459
  updatedAt: Scalars['DateTime']['output'];
9431
9460
  };
9461
+ export type SandboxConnection = {
9462
+ __typename?: 'SandboxConnection';
9463
+ edges: Array<SandboxEdge>;
9464
+ pageInfo: PageInfo;
9465
+ };
9466
+ export type SandboxEdge = {
9467
+ __typename?: 'SandboxEdge';
9468
+ cursor: Scalars['String']['output'];
9469
+ node: Sandbox;
9470
+ };
9471
+ export type SandboxFilterInput = {
9472
+ statuses?: InputMaybe<Array<SandboxStatus>>;
9473
+ };
9474
+ export type SandboxMutation = {
9475
+ __typename?: 'SandboxMutation';
9476
+ createSandbox: Sandbox;
9477
+ markSandboxReady: Sandbox;
9478
+ stopSandbox: Sandbox;
9479
+ touchSandbox: Sandbox;
9480
+ };
9481
+ export type SandboxMutation_CreateSandboxArgs = {
9482
+ input: CreateSandboxInput;
9483
+ };
9484
+ export type SandboxMutation_MarkSandboxReadyArgs = {
9485
+ sandboxId: Scalars['ID']['input'];
9486
+ };
9487
+ export type SandboxMutation_StopSandboxArgs = {
9488
+ sandboxId: Scalars['ID']['input'];
9489
+ };
9490
+ export type SandboxMutation_TouchSandboxArgs = {
9491
+ sandboxId: Scalars['ID']['input'];
9492
+ };
9493
+ export declare enum SandboxOperatingSystem {
9494
+ Linux = "LINUX",
9495
+ Macos = "MACOS"
9496
+ }
9497
+ export type SandboxProjectArchiveInput = {
9498
+ gitRef?: InputMaybe<Scalars['String']['input']>;
9499
+ url?: InputMaybe<Scalars['String']['input']>;
9500
+ };
9432
9501
  export type SandboxQuery = {
9433
9502
  __typename?: 'SandboxQuery';
9503
+ /** Project sandboxes, newest first. An omitted or empty status filter includes all statuses. */
9504
+ byAppIdPaginated: SandboxConnection;
9434
9505
  byId: Sandbox;
9435
9506
  };
9507
+ export type SandboxQuery_ByAppIdPaginatedArgs = {
9508
+ after?: InputMaybe<Scalars['String']['input']>;
9509
+ appId: Scalars['ID']['input'];
9510
+ before?: InputMaybe<Scalars['String']['input']>;
9511
+ filter?: InputMaybe<SandboxFilterInput>;
9512
+ first?: InputMaybe<Scalars['Int']['input']>;
9513
+ last?: InputMaybe<Scalars['Int']['input']>;
9514
+ };
9436
9515
  export type SandboxQuery_ByIdArgs = {
9437
9516
  sandboxId: Scalars['ID']['input'];
9438
9517
  };
9518
+ export declare enum SandboxResourceClass {
9519
+ Large = "LARGE",
9520
+ Medium = "MEDIUM"
9521
+ }
9439
9522
  export declare enum SandboxStatus {
9440
9523
  Errored = "ERRORED",
9441
9524
  Running = "RUNNING",
@@ -9558,6 +9641,8 @@ export type ServeSimRunSessionRemoteConfig = {
9558
9641
  * session does not use local egress.
9559
9642
  */
9560
9643
  egressUrl?: Maybe<Scalars['String']['output']>;
9644
+ /** URL of the preview server, for reaching its API rather than its page. */
9645
+ previewApiUrl?: Maybe<Scalars['String']['output']>;
9561
9646
  /** Session token gating the preview. Null when the preview runs ungated. */
9562
9647
  previewToken?: Maybe<Scalars['String']['output']>;
9563
9648
  previewUrl: Scalars['String']['output'];
@@ -10281,7 +10366,7 @@ export type UpdateChannel = {
10281
10366
  embeddedUpdateCount: Scalars['Int']['output'];
10282
10367
  id: Scalars['ID']['output'];
10283
10368
  isPaused: Scalars['Boolean']['output'];
10284
- /** Only account admins may release to a protected channel. */
10369
+ /** Only allowed publishers (Release Managers, Admins, Owners) may release to a protected channel. */
10285
10370
  isProtected: Scalars['Boolean']['output'];
10286
10371
  lastDeletionAttemptTime?: Maybe<Scalars['DateTime']['output']>;
10287
10372
  latestRuntimes: ChannelRuntimesConnection;
@@ -10329,7 +10414,7 @@ export type UpdateChannelMutation = {
10329
10414
  editUpdateChannel: UpdateChannel;
10330
10415
  /** Pause updates for an EAS channel. */
10331
10416
  pauseUpdateChannel: UpdateChannel;
10332
- /** Protect an EAS channel, so only account admins may release to it. */
10417
+ /** Protect an EAS channel, so only allowed publishers (Release Managers, Admins, Owners) may release to it. */
10333
10418
  protectUpdateChannel: UpdateChannel;
10334
10419
  /** Resume updates for an EAS channel. */
10335
10420
  resumeUpdateChannel: UpdateChannel;
@@ -10534,6 +10619,11 @@ export type UpdateGroupsConnection = {
10534
10619
  edges: Array<UpdateGroupEdge>;
10535
10620
  pageInfo: PageInfo;
10536
10621
  };
10622
+ export type UpdateIdGroup = {
10623
+ android?: InputMaybe<Scalars['ID']['input']>;
10624
+ ios?: InputMaybe<Scalars['ID']['input']>;
10625
+ web?: InputMaybe<Scalars['ID']['input']>;
10626
+ };
10537
10627
  export type UpdateInfoGroup = {
10538
10628
  android?: InputMaybe<PartialManifest>;
10539
10629
  ios?: InputMaybe<PartialManifest>;
@@ -10692,6 +10782,25 @@ export declare enum UploadSessionType {
10692
10782
  EasUpdateAssetsMetadata = "EAS_UPDATE_ASSETS_METADATA",
10693
10783
  EasUpdateFingerprint = "EAS_UPDATE_FINGERPRINT"
10694
10784
  }
10785
+ export type UsageBudget = {
10786
+ __typename?: 'UsageBudget';
10787
+ id: Scalars['ID']['output'];
10788
+ limits: UsageBudgetLimits;
10789
+ };
10790
+ export type UsageBudgetLimits = {
10791
+ __typename?: 'UsageBudgetLimits';
10792
+ builds?: Maybe<Scalars['Int']['output']>;
10793
+ };
10794
+ export type UsageBudgetLimitsInput = {
10795
+ builds?: InputMaybe<Scalars['Int']['input']>;
10796
+ };
10797
+ export type UsageBudgetMutation = {
10798
+ __typename?: 'UsageBudgetMutation';
10799
+ createUsageBudget: UsageBudget;
10800
+ };
10801
+ export type UsageBudgetMutation_CreateUsageBudgetArgs = {
10802
+ limits: UsageBudgetLimitsInput;
10803
+ };
10695
10804
  export type UsageMetricTotal = {
10696
10805
  __typename?: 'UsageMetricTotal';
10697
10806
  billingPeriod: BillingPeriod;
@@ -11342,6 +11451,8 @@ export type WebPreviewOnlyRunSessionRemoteConfig = {
11342
11451
  * session does not use local egress.
11343
11452
  */
11344
11453
  egressUrl?: Maybe<Scalars['String']['output']>;
11454
+ /** URL of the preview server, for reaching its API rather than its page. */
11455
+ previewApiUrl?: Maybe<Scalars['String']['output']>;
11345
11456
  /** Session token gating the web preview. Null when the preview runs ungated. */
11346
11457
  webPreviewToken?: Maybe<Scalars['String']['output']>;
11347
11458
  webPreviewUrl: Scalars['String']['output'];
@@ -12391,6 +12502,7 @@ export type WorkflowRun = ActivityTimelineProjectActivity & {
12391
12502
  __typename?: 'WorkflowRun';
12392
12503
  activityTimestamp: Scalars['DateTime']['output'];
12393
12504
  actor?: Maybe<Actor>;
12505
+ app: App;
12394
12506
  /**
12395
12507
  * Why the server canceled this run. Null for manually canceled runs and for
12396
12508
  * runs canceled before the reason was recorded.
@@ -19858,6 +19970,7 @@ export type DeviceRunSessionByIdQuery = {
19858
19970
  agentDeviceRemoteSessionToken: string;
19859
19971
  webPreviewUrl?: string | null;
19860
19972
  webPreviewToken?: string | null;
19973
+ previewApiUrl?: string | null;
19861
19974
  egressUrl?: string | null;
19862
19975
  egressToken?: string | null;
19863
19976
  egressFingerprint?: string | null;
@@ -19872,6 +19985,7 @@ export type DeviceRunSessionByIdQuery = {
19872
19985
  capabilities: any;
19873
19986
  webPreviewUrl?: string | null;
19874
19987
  webPreviewToken?: string | null;
19988
+ previewApiUrl?: string | null;
19875
19989
  } | {
19876
19990
  __typename: 'ArgentRunSessionRemoteConfig';
19877
19991
  egressUrl?: string | null;
@@ -19882,6 +19996,7 @@ export type DeviceRunSessionByIdQuery = {
19882
19996
  toolsAuthToken?: string | null;
19883
19997
  webPreviewUrl?: string | null;
19884
19998
  webPreviewToken?: string | null;
19999
+ previewApiUrl?: string | null;
19885
20000
  } | {
19886
20001
  __typename: 'ServeSimRunSessionRemoteConfig';
19887
20002
  egressUrl?: string | null;
@@ -19890,12 +20005,14 @@ export type DeviceRunSessionByIdQuery = {
19890
20005
  egressPort?: number | null;
19891
20006
  previewUrl: string;
19892
20007
  previewToken?: string | null;
20008
+ previewApiUrl?: string | null;
19893
20009
  } | {
19894
20010
  __typename: 'WebPreviewOnlyRunSessionRemoteConfig';
19895
20011
  egressUrl?: string | null;
19896
20012
  egressToken?: string | null;
19897
20013
  egressFingerprint?: string | null;
19898
20014
  egressPort?: number | null;
20015
+ previewApiUrl?: string | null;
19899
20016
  previewUrl: string;
19900
20017
  previewToken?: string | null;
19901
20018
  } | null;
@@ -21452,6 +21569,53 @@ export type SupabaseProjectByAppIdQuery = {
21452
21569
  };
21453
21570
  };
21454
21571
  };
21572
+ export type SupabaseAdvisorLintsByAppIdQueryVariables = Exact<{
21573
+ appId: Scalars['String']['input'];
21574
+ security: Scalars['Boolean']['input'];
21575
+ performance: Scalars['Boolean']['input'];
21576
+ }>;
21577
+ export type SupabaseAdvisorLintsByAppIdQuery = {
21578
+ __typename?: 'RootQuery';
21579
+ app: {
21580
+ __typename?: 'AppQuery';
21581
+ byId: {
21582
+ __typename?: 'App';
21583
+ id: string;
21584
+ supabaseProject?: {
21585
+ __typename?: 'SupabaseProject';
21586
+ id: string;
21587
+ supabaseProjectRef: string;
21588
+ supabaseProjectName: string;
21589
+ supabaseProjectUrl: string;
21590
+ supabaseRegion: string;
21591
+ createdAt: any;
21592
+ updatedAt: any;
21593
+ security?: Array<{
21594
+ __typename?: 'SupabaseAdvisorLint';
21595
+ name: string;
21596
+ title: string;
21597
+ level: SupabaseAdvisorLintLevel;
21598
+ description: string;
21599
+ detail: string;
21600
+ entity?: string | null;
21601
+ remediation?: string | null;
21602
+ cacheKey: string;
21603
+ }> | null;
21604
+ performance?: Array<{
21605
+ __typename?: 'SupabaseAdvisorLint';
21606
+ name: string;
21607
+ title: string;
21608
+ level: SupabaseAdvisorLintLevel;
21609
+ description: string;
21610
+ detail: string;
21611
+ entity?: string | null;
21612
+ remediation?: string | null;
21613
+ cacheKey: string;
21614
+ }> | null;
21615
+ } | null;
21616
+ };
21617
+ };
21618
+ };
21455
21619
  export type ViewUpdateGroupInsightsQueryVariables = Exact<{
21456
21620
  groupId: Scalars['ID']['input'];
21457
21621
  timespan: InsightsTimespan;
@@ -24079,6 +24243,17 @@ export type SupabaseProjectFragment = {
24079
24243
  createdAt: any;
24080
24244
  updatedAt: any;
24081
24245
  };
24246
+ export type SupabaseAdvisorLintFragment = {
24247
+ __typename?: 'SupabaseAdvisorLint';
24248
+ name: string;
24249
+ title: string;
24250
+ level: SupabaseAdvisorLintLevel;
24251
+ description: string;
24252
+ detail: string;
24253
+ entity?: string | null;
24254
+ remediation?: string | null;
24255
+ cacheKey: string;
24256
+ };
24082
24257
  export type UpdateFragment = {
24083
24258
  __typename?: 'Update';
24084
24259
  id: string;
@@ -8,8 +8,8 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectWorkflowConnectionStatus = exports.AppStoreConnectUserRole = exports.AppStoreConnectBuildUploadState = exports.AppStoreConnectBuildProcessingState = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObserveUserEventNamesOrderByField = exports.AppObserveUserEventListOrderByField = exports.AppObserveUserEventBreakdownDimension = exports.AppObserveUpdatesOrderByField = exports.AppObserveUpdatesOrderByDirection = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveOrderDirection = exports.AppObserveNavigationRoutesOrderByField = exports.AppObserveMetricsListOrderByField = exports.AppObserveLogsOrderByField = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppObserveErrorSeverity = exports.AppObserveErrorOccurrencesOrderByField = exports.AppObserveErrorKind = exports.AppObserveErrorGroupsOrderBy = exports.AppObserveErrorBreakdownDimension = exports.AppObserveCustomEventNamesOrderByField = exports.AppObserveCustomEventNamesOrderByDirection = exports.AppObserveCustomEventListOrderByField = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.AgentProviderConnectionStatus = exports.AgentProviderConnectionAuthorizationStatus = exports.AgentProvider = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
10
10
  exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.ExitInterviewOutcome = exports.ExitInterviewMessageRole = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoTurnCompletionStatus = exports.EchoProjectVisibility = exports.EchoProjectUploadSessionType = exports.EchoProjectIconSource = exports.EchoMessageRole = exports.EchoMessagePartType = exports.EchoChatState = exports.EchoChangeType = exports.EchoBuildStatus = exports.EchoAgentType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DeviceRunSessionResourceClass = exports.DeviceRunSessionEgress = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = void 0;
11
- exports.TurtleSshTargetType = exports.TargetEntityMutationType = exports.SupabaseAdvisorType = exports.SupabaseAdvisorLintLevel = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.SandboxStatus = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.RealtimeLogsTargetType = exports.ProjectArchiveSourceType = exports.PostHogRegion = exports.PostHogDeepLinkPurpose = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = void 0;
12
- exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDispatchInputType = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = exports.WorkflowDeviceTestCaseSortDirection = exports.WorkflowDeviceTestCaseInsightsTimeSeriesGranularity = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdatesTimelineItemType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TurtleSshTransportType = void 0;
11
+ exports.SupabaseAdvisorType = exports.SupabaseAdvisorLintLevel = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.SandboxStatus = exports.SandboxResourceClass = exports.SandboxOperatingSystem = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.RealtimeLogsTargetType = exports.ProjectArchiveSourceType = exports.PostHogRegion = exports.PostHogDeepLinkPurpose = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = void 0;
12
+ exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDispatchInputType = exports.WorkflowDeviceTestCaseStatusFilter = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowDeviceTestCaseStatSortField = exports.WorkflowDeviceTestCaseSortDirection = exports.WorkflowDeviceTestCaseInsightsTimeSeriesGranularity = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdatesTimelineItemType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TurtleSshTransportType = exports.TurtleSshTargetType = exports.TargetEntityMutationType = void 0;
13
13
  var AccountAppsSortByField;
14
14
  (function (AccountAppsSortByField) {
15
15
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -909,6 +909,7 @@ var Permission;
909
909
  Permission["Admin"] = "ADMIN";
910
910
  Permission["Own"] = "OWN";
911
911
  Permission["Publish"] = "PUBLISH";
912
+ Permission["PublishProtected"] = "PUBLISH_PROTECTED";
912
913
  Permission["View"] = "VIEW";
913
914
  })(Permission || (exports.Permission = Permission = {}));
914
915
  /** Which EAS surface a deep link was opened from; PostHog records it as an analytics label. */
@@ -993,8 +994,19 @@ var Role;
993
994
  Role["HasAdmin"] = "HAS_ADMIN";
994
995
  Role["NotAdmin"] = "NOT_ADMIN";
995
996
  Role["Owner"] = "OWNER";
997
+ Role["ReleaseManager"] = "RELEASE_MANAGER";
996
998
  Role["ViewOnly"] = "VIEW_ONLY";
997
999
  })(Role || (exports.Role = Role = {}));
1000
+ var SandboxOperatingSystem;
1001
+ (function (SandboxOperatingSystem) {
1002
+ SandboxOperatingSystem["Linux"] = "LINUX";
1003
+ SandboxOperatingSystem["Macos"] = "MACOS";
1004
+ })(SandboxOperatingSystem || (exports.SandboxOperatingSystem = SandboxOperatingSystem = {}));
1005
+ var SandboxResourceClass;
1006
+ (function (SandboxResourceClass) {
1007
+ SandboxResourceClass["Large"] = "LARGE";
1008
+ SandboxResourceClass["Medium"] = "MEDIUM";
1009
+ })(SandboxResourceClass || (exports.SandboxResourceClass = SandboxResourceClass = {}));
998
1010
  var SandboxStatus;
999
1011
  (function (SandboxStatus) {
1000
1012
  SandboxStatus["Errored"] = "ERRORED";
@@ -66,6 +66,7 @@ exports.DeviceRunSessionQuery = {
66
66
  agentDeviceRemoteSessionToken
67
67
  webPreviewUrl
68
68
  webPreviewToken
69
+ previewApiUrl
69
70
  egressUrl
70
71
  egressToken
71
72
  egressFingerprint
@@ -80,6 +81,7 @@ exports.DeviceRunSessionQuery = {
80
81
  toolsAuthToken
81
82
  webPreviewUrl
82
83
  webPreviewToken
84
+ previewApiUrl
83
85
  }
84
86
  ... on AppiumRunSessionRemoteConfig {
85
87
  egressUrl
@@ -90,6 +92,7 @@ exports.DeviceRunSessionQuery = {
90
92
  capabilities
91
93
  webPreviewUrl
92
94
  webPreviewToken
95
+ previewApiUrl
93
96
  }
94
97
  ... on ServeSimRunSessionRemoteConfig {
95
98
  egressUrl
@@ -98,6 +101,7 @@ exports.DeviceRunSessionQuery = {
98
101
  egressPort
99
102
  previewUrl
100
103
  previewToken
104
+ previewApiUrl
101
105
  }
102
106
  ... on WebPreviewOnlyRunSessionRemoteConfig {
103
107
  egressUrl
@@ -106,6 +110,7 @@ exports.DeviceRunSessionQuery = {
106
110
  egressPort
107
111
  previewUrl: webPreviewUrl
108
112
  previewToken: webPreviewToken
113
+ previewApiUrl
109
114
  }
110
115
  }
111
116
  turtleJobRun {
@@ -1,5 +1,5 @@
1
1
  import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
2
- import { SupabaseConnectionData, SupabaseProjectData } from '../types/SupabaseConnection';
2
+ import { SupabaseAdvisorLintsData, SupabaseAdvisorType, SupabaseConnectionData, SupabaseProjectData } from '../types/SupabaseConnection';
3
3
  export declare const SupabaseQuery: {
4
4
  getSupabaseConnectionByAccountIdAsync(graphqlClient: ExpoGraphqlClient, accountId: string, { useCache }?: {
5
5
  useCache?: boolean;
@@ -7,4 +7,5 @@ export declare const SupabaseQuery: {
7
7
  getSupabaseProjectByAppIdAsync(graphqlClient: ExpoGraphqlClient, appId: string, { useCache }?: {
8
8
  useCache?: boolean;
9
9
  }): Promise<SupabaseProjectData | null>;
10
+ getSupabaseAdvisorLintsByAppIdAsync(graphqlClient: ExpoGraphqlClient, appId: string, types?: readonly SupabaseAdvisorType[]): Promise<SupabaseAdvisorLintsData | null>;
10
11
  };
@@ -51,4 +51,46 @@ exports.SupabaseQuery = {
51
51
  .toPromise());
52
52
  return data.app.byId.supabaseProject ?? null;
53
53
  },
54
+ async getSupabaseAdvisorLintsByAppIdAsync(graphqlClient, appId, types = [
55
+ SupabaseConnection_1.SupabaseAdvisorType.Security,
56
+ SupabaseConnection_1.SupabaseAdvisorType.Performance,
57
+ ]) {
58
+ const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
59
+ .query((0, graphql_tag_1.default) `
60
+ query SupabaseAdvisorLintsByAppId(
61
+ $appId: String!
62
+ $security: Boolean!
63
+ $performance: Boolean!
64
+ ) {
65
+ app {
66
+ byId(appId: $appId) {
67
+ id
68
+ supabaseProject {
69
+ id
70
+ ...SupabaseProjectFragment
71
+ security: advisorLints(type: SECURITY) @include(if: $security) {
72
+ ...SupabaseAdvisorLintFragment
73
+ }
74
+ performance: advisorLints(type: PERFORMANCE) @include(if: $performance) {
75
+ ...SupabaseAdvisorLintFragment
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ ${(0, graphql_1.print)(SupabaseConnection_1.SupabaseProjectFragmentNode)}
82
+ ${(0, graphql_1.print)(SupabaseConnection_1.SupabaseAdvisorLintFragmentNode)}
83
+ `, {
84
+ appId,
85
+ security: types.includes(SupabaseConnection_1.SupabaseAdvisorType.Security),
86
+ performance: types.includes(SupabaseConnection_1.SupabaseAdvisorType.Performance),
87
+ }, { additionalTypenames: ['App', 'SupabaseProject'], requestPolicy: 'network-only' })
88
+ .toPromise());
89
+ const project = data.app.byId.supabaseProject;
90
+ if (!project) {
91
+ return null;
92
+ }
93
+ const { security, performance, ...projectData } = project;
94
+ return { project: projectData, security: security ?? null, performance: performance ?? null };
95
+ },
54
96
  };
@@ -15,6 +15,7 @@ export type WorkflowJobSshConnectInfo = {
15
15
  };
16
16
  export declare const WorkflowJobSshQuery: {
17
17
  connectInfoForWorkflowJobAsync(graphqlClient: ExpoGraphqlClient, workflowJobId: string): Promise<WorkflowJobSshConnectInfo | null>;
18
+ connectInfoForBuildAsync(graphqlClient: ExpoGraphqlClient, buildId: string): Promise<WorkflowJobSshConnectInfo | null>;
18
19
  connectInfoForJobRunAsync(graphqlClient: ExpoGraphqlClient, jobRunId: string): Promise<WorkflowJobSshConnectInfo | null>;
19
20
  connectInfoForResourceIdAsync(graphqlClient: ExpoGraphqlClient, resourceId: string): Promise<WorkflowJobSshConnectInfo | null>;
20
21
  };
@@ -11,6 +11,11 @@ const FINAL_WORKFLOW_JOB_STATUSES = new Set([
11
11
  generated_1.WorkflowJobStatus.Canceled,
12
12
  generated_1.WorkflowJobStatus.Skipped,
13
13
  ]);
14
+ const FINAL_BUILD_STATUSES = new Set([
15
+ generated_1.BuildStatus.Errored,
16
+ generated_1.BuildStatus.Finished,
17
+ generated_1.BuildStatus.Canceled,
18
+ ]);
14
19
  const FINAL_JOB_RUN_STATUSES = new Set([
15
20
  generated_1.JobRunStatus.Errored,
16
21
  generated_1.JobRunStatus.Finished,
@@ -88,6 +93,43 @@ exports.WorkflowJobSshQuery = {
88
93
  }
89
94
  return toConnectInfo(data.workflowJobs.byId);
90
95
  },
96
+ async connectInfoForBuildAsync(graphqlClient, buildId) {
97
+ let data;
98
+ try {
99
+ data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
100
+ .query((0, graphql_tag_1.default) `
101
+ query BuildSshPoll($buildId: ID!) {
102
+ builds {
103
+ byId(buildId: $buildId) {
104
+ id
105
+ status
106
+ sshSession {
107
+ id
108
+ connectionConfig {
109
+ host
110
+ secret
111
+ reconnecting
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ `, { buildId }, { requestPolicy: 'network-only' })
118
+ .toPromise());
119
+ }
120
+ catch (error) {
121
+ if (isNotFoundError(error)) {
122
+ return null;
123
+ }
124
+ throw error;
125
+ }
126
+ const build = data.builds.byId;
127
+ return {
128
+ sshRequested: build.sshSession !== null,
129
+ jobCompleted: FINAL_BUILD_STATUSES.has(build.status),
130
+ session: build.sshSession,
131
+ };
132
+ },
91
133
  async connectInfoForJobRunAsync(graphqlClient, jobRunId) {
92
134
  let data;
93
135
  try {
@@ -128,6 +170,7 @@ exports.WorkflowJobSshQuery = {
128
170
  },
129
171
  async connectInfoForResourceIdAsync(graphqlClient, resourceId) {
130
172
  return ((await exports.WorkflowJobSshQuery.connectInfoForWorkflowJobAsync(graphqlClient, resourceId)) ??
173
+ (await exports.WorkflowJobSshQuery.connectInfoForBuildAsync(graphqlClient, resourceId)) ??
131
174
  (await exports.WorkflowJobSshQuery.connectInfoForJobRunAsync(graphqlClient, resourceId)));
132
175
  },
133
176
  };
@@ -1,8 +1,15 @@
1
- import { SupabaseConnection, SupabaseOAuthStart, SupabaseOrganization, SupabaseProject } from '../generated';
2
- export { BeginSupabaseOAuthInput, LinkSupabaseProjectInput, ProvisionAdditionalSupabaseProjectInput, ProvisionSupabaseProjectInput, SetSupabaseConnectionOrganizationInput, } from '../generated';
1
+ import { SupabaseAdvisorLint, SupabaseConnection, SupabaseOAuthStart, SupabaseOrganization, SupabaseProject } from '../generated';
2
+ export { SupabaseAdvisorLintLevel, SupabaseAdvisorType, BeginSupabaseOAuthInput, LinkSupabaseProjectInput, ProvisionAdditionalSupabaseProjectInput, ProvisionSupabaseProjectInput, SetSupabaseConnectionOrganizationInput, } from '../generated';
3
3
  export type SupabaseOrganizationData = Pick<SupabaseOrganization, 'id' | 'slug' | 'name'>;
4
4
  export type SupabaseConnectionData = Pick<SupabaseConnection, 'id' | 'supabaseOrganizationSlug' | 'supabaseOrganizationName' | 'createdAt' | 'updatedAt'>;
5
5
  export type SupabaseProjectData = Pick<SupabaseProject, 'id' | 'supabaseProjectRef' | 'supabaseProjectName' | 'supabaseProjectUrl' | 'supabaseRegion' | 'createdAt' | 'updatedAt'>;
6
6
  export type SupabaseOAuthStartData = Pick<SupabaseOAuthStart, 'url'>;
7
+ export type SupabaseAdvisorLintData = Pick<SupabaseAdvisorLint, 'name' | 'title' | 'level' | 'description' | 'detail' | 'entity' | 'remediation' | 'cacheKey'>;
8
+ export type SupabaseAdvisorLintsData = {
9
+ project: SupabaseProjectData;
10
+ security: SupabaseAdvisorLintData[] | null;
11
+ performance: SupabaseAdvisorLintData[] | null;
12
+ };
7
13
  export declare const SupabaseConnectionFragmentNode: import("graphql").DocumentNode;
8
14
  export declare const SupabaseProjectFragmentNode: import("graphql").DocumentNode;
15
+ export declare const SupabaseAdvisorLintFragmentNode: import("graphql").DocumentNode;