@staffbase/widget-sdk 3.14.19 → 3.15.1
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/widget-api.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and
|
|
11
11
|
* limitations under the License.
|
|
12
12
|
*/
|
|
13
|
-
import { ColorTheme, IntegrationInformation, IntegrationType, SBUserProfile, UserListRequestQuery, UserListResponse } from './widget-api-types';
|
|
13
|
+
import { BranchInformation, ColorTheme, IntegrationInformation, IntegrationType, SBUserProfile, UserListRequestQuery, UserListResponse } from './widget-api-types';
|
|
14
14
|
/**
|
|
15
15
|
* Widget API class.
|
|
16
16
|
*
|
|
@@ -61,4 +61,10 @@ export interface WidgetApi {
|
|
|
61
61
|
* In case of an error, the promise is rejected.
|
|
62
62
|
*/
|
|
63
63
|
getIntegration(type: IntegrationType): Promise<IntegrationInformation>;
|
|
64
|
+
/**
|
|
65
|
+
* Call to retrieve information about the current branch.
|
|
66
|
+
*
|
|
67
|
+
* @returns An object containing the branch information.
|
|
68
|
+
*/
|
|
69
|
+
getBranchInformation(): BranchInformation;
|
|
64
70
|
}
|
package/package.json
CHANGED