sentry 0.32.0 → 0.33.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.d.cts CHANGED
@@ -542,6 +542,18 @@ export type DashboardWidgetDeleteParams = {
542
542
  dryRun?: boolean;
543
543
  };
544
544
 
545
+ export type DashboardRevisionsParams = {
546
+ /** Maximum number of revisions to list */
547
+ limit?: number;
548
+ /** Navigate pages: "next", "prev", "first" (or raw cursor string) */
549
+ cursor?: string;
550
+ };
551
+
552
+ export type DashboardRestoreParams = {
553
+ /** Revision ID to restore */
554
+ revision: string;
555
+ };
556
+
545
557
  export type OrgListParams = {
546
558
  /** Maximum number of organizations to list */
547
559
  limit?: number;
@@ -940,7 +952,7 @@ export type InitParams = {
940
952
  features?: string;
941
953
  /** Team slug to create the project under */
942
954
  team?: string;
943
- /** Use the Ink-based interactive UI (default on the Bun binary). Pass --no-tui to fall back to plain log output. */
955
+ /** Use the Ink-based interactive UI (default). Pass --no-tui to fall back to plain log output. */
944
956
  tui?: boolean;
945
957
  };
946
958
 
@@ -1021,6 +1033,10 @@ export type SentrySDK = {
1021
1033
  };
1022
1034
  /** Create a dashboard */
1023
1035
  create(...positional: string[]): Promise<unknown>;
1036
+ /** List dashboard revisions */
1037
+ revisions(params?: DashboardRevisionsParams, ...positional: string[]): Promise<unknown>;
1038
+ /** Restore a dashboard revision */
1039
+ restore(params: DashboardRestoreParams, ...positional: string[]): Promise<unknown>;
1024
1040
  widget: {
1025
1041
  /** Add a widget to a dashboard */
1026
1042
  add(params: DashboardWidgetAddParams, ...positional: string[]): Promise<unknown>;