fix: add public decorator

Signed-off-by: Elaine Mattos <elaine.mattos@gmail.com>
This commit is contained in:
Elaine Mattos
2023-12-19 19:03:14 +01:00
parent ae92a9d0fc
commit e61ed0901c
2 changed files with 8 additions and 11 deletions
@@ -22,9 +22,7 @@ export const createGitlabGroupEnsureExistsAction: (options: {
}
>;
// Warning: (ae-missing-release-tag) "createGitlabIssueAction" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
// @public
export const createGitlabIssueAction: (options: {
integrations: ScmIntegrationRegistry;
}) => TemplateAction<
@@ -169,7 +167,7 @@ export const createPublishGitlabMergeRequestAction: (options: {
sourcePath?: string | undefined;
targetPath?: string | undefined;
token?: string | undefined;
commitAction?: 'update' | 'create' | 'delete' | undefined;
commitAction?: 'update' | 'delete' | 'create' | undefined;
projectid?: string | undefined;
removeSourceBranch?: boolean | undefined;
assignee?: string | undefined;
@@ -23,13 +23,6 @@ import { z } from 'zod';
import { checkEpicScope, convertDate, getClient, parseRepoUrl } from '../util';
import { Gitlab, CreateIssueOptions, IssueSchema } from '@gitbeaker/rest';
/**
* Creates a `gitlab:issues:create` Scaffolder action.
*
* @param {} - Templating configuration.
* @public
*/
const enumIssueType = {
ISSUE: 'issue',
INCIDENT: 'incident',
@@ -124,6 +117,12 @@ const issueOutputProperties = z.object({
issueId: z.number({ description: 'Issue Id' }),
});
/**
* Creates a `gitlab:issues:create` Scaffolder action.
*
* @param options - Templating configuration.
* @public
*/
export const createGitlabIssueAction = (options: {
integrations: ScmIntegrationRegistry;
}) => {