Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,41 @@ export interface SentryCliPluginOptions {
*/
auto?: boolean;
};

/**
* Creates a new release deployment
*/
deploy?: {
/**
* Environment for this release. Values that make sense here would be `production` or `staging`
*/
env: string;

/**
* Unix timestamp when the deployment started
*/
started?: number;

/**
* Unix timestamp when the deployment finished
*/
finished?: number;

/**
* Deployment duration in seconds. This can be specified alternatively to `started` and `finished`
*/
time?: number;

/**
* Human readable name for this deployment
*/
name?: string;

/**
* URL that points to the deployment
*/
url?: string;
};
}

declare class SentryCliPlugin extends Plugin {
Expand Down