@stackbit/types
Advanced tools
Comparing version 0.6.3-develop.2 to 0.7.0-develop.0
@@ -517,2 +517,3 @@ /// <reference types="node" /> | ||
}) => Promise<void>; | ||
export declare type GitServicePushListener = () => Promise<void>; | ||
export interface GitServiceInterface { | ||
@@ -529,2 +530,4 @@ getRepoUrl(): string; | ||
removePullListener(listener: GitServicePullListener): void; | ||
addPushListener(listener: GitServicePushListener): void; | ||
removePushListener(listener: GitServicePushListener): void; | ||
} | ||
@@ -531,0 +534,0 @@ /** |
{ | ||
"name": "@stackbit/types", | ||
"version": "0.6.3-develop.2", | ||
"version": "0.7.0-develop.0", | ||
"description": "Types for Stackbit config and Content Source Interface", | ||
@@ -42,3 +42,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "6d1a7cc5a183aa943b67fd9d4f00d07472c1c880" | ||
"gitHead": "bd00df42441d4708d32e1c7aee35a8f27c8468d4" | ||
} |
@@ -530,3 +530,5 @@ import type { ChildProcessWithoutNullStreams } from 'child_process'; | ||
// Git service listeners | ||
export type GitServicePullListener = (options: { branch: string; updatedFiles: string[] }) => Promise<void>; | ||
export type GitServicePushListener = () => Promise<void>; | ||
@@ -544,2 +546,4 @@ export interface GitServiceInterface { | ||
removePullListener(listener: GitServicePullListener): void; | ||
addPushListener(listener: GitServicePushListener): void; | ||
removePushListener(listener: GitServicePushListener): void; | ||
} | ||
@@ -546,0 +550,0 @@ |
Sorry, the diff of this file is not supported yet
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
233947
4742