UNPKG

@jwpkg/gitversion

Version:

Gitversion is a complete customizable git-based release management system

70 lines (69 loc) 2.02 kB
import { VersionBranch } from '../../core/configuration'; import { PackedPackage } from '../../core/pack-artifact'; export interface PayloadUrl { readonly name: string; readonly url: string; } export interface PayloadProps { branch: VersionBranch; packedPackage: PackedPackage; } export declare const payload: (props: PayloadProps) => { type: string; attachments: { contentType: string; content: { type: string; msteams: { width: string; }; $schema: string; version: string; body: ({ type: string; separator: boolean; text: string; wrap: boolean; } | { type: string; items: { type: string; text: string; wrap: boolean; size: string; weight: string; }[]; style: string; bleed: boolean; text?: undefined; wrap?: undefined; weight?: undefined; separator?: undefined; facts?: undefined; } | { type: string; text: string; wrap: boolean; weight: string; items?: undefined; style?: undefined; bleed?: undefined; separator?: undefined; facts?: undefined; } | { type: string; separator: boolean; facts: { title: string; value: string; }[]; items?: undefined; style?: undefined; bleed?: undefined; text?: undefined; wrap?: undefined; weight?: undefined; })[]; }; }[]; };