@factorialco/gat
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -1,3 +0,3 @@ | ||
export declare type EventName = "push" | "pull_request"; | ||
export declare type EventOptions<T extends EventName> = T extends "push" ? PushEventOptions : T extends "pull_request" ? PullRequestEventOptions : never; | ||
export declare type EventName = "push" | "pull_request" | "pull_request_review" | "workflow_run"; | ||
export declare type EventOptions<T extends EventName> = T extends "push" ? PushEventOptions : T extends "pull_request" ? PullRequestEventOptions : T extends "pull_request_review" ? PullRequestReviewEventOptions : T extends "workflow_run" ? WorkflowRunEventOptions : never; | ||
interface PushEventOptions { | ||
@@ -8,5 +8,12 @@ branches?: string[]; | ||
interface PullRequestEventOptions { | ||
types?: Array<"opened" | "reopened" | "synchronize">; | ||
types?: Array<"opened" | "reopened" | "synchronize" | "labeled" | "unlabeled">; | ||
paths?: string[]; | ||
} | ||
interface PullRequestReviewEventOptions { | ||
types?: Array<"submitted">; | ||
} | ||
interface WorkflowRunEventOptions { | ||
workflows?: string[]; | ||
types?: Array<"completed">; | ||
} | ||
export interface Event { | ||
@@ -13,0 +20,0 @@ name: EventName; |
{ | ||
"name": "@factorialco/gat", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "TODO", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16158
415