@backstage/plugin-scaffolder-backend 1.12.0-next.1 → 1.12.0

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/index.d.ts CHANGED
@@ -48,13 +48,15 @@ declare function createCatalogWriteAction(): _backstage_plugin_scaffolder_node.T
48
48
  }>;
49
49
 
50
50
  /**
51
- * Returns entity from the catalog by entity reference.
51
+ * Returns entity or entities from the catalog by entity reference(s).
52
+ *
52
53
  * @public
53
54
  */
54
55
  declare function createFetchCatalogEntityAction(options: {
55
56
  catalogClient: CatalogApi;
56
57
  }): _backstage_plugin_scaffolder_node.TemplateAction<{
57
- entityRef: string;
58
+ entityRef?: string | undefined;
59
+ entityRefs?: string[] | undefined;
58
60
  optional?: boolean | undefined;
59
61
  }>;
60
62
 
@@ -409,7 +411,7 @@ interface CreateGithubPullRequestActionOptions {
409
411
  * Creates a Github Pull Request action.
410
412
  * @public
411
413
  */
412
- declare const createPublishGithubPullRequestAction: ({ integrations, githubCredentialsProvider, clientFactory, }: CreateGithubPullRequestActionOptions) => _backstage_plugin_scaffolder_node.TemplateAction<{
414
+ declare const createPublishGithubPullRequestAction: (options: CreateGithubPullRequestActionOptions) => _backstage_plugin_scaffolder_node.TemplateAction<{
413
415
  title: string;
414
416
  branchName: string;
415
417
  description: string;
@@ -813,11 +815,11 @@ interface TaskStore {
813
815
  }): Promise<{
814
816
  tasks: SerializedTask[];
815
817
  }>;
816
- emitLogEvent({ taskId, body }: TaskStoreEmitOptions): Promise<void>;
817
- listEvents({ taskId, after, }: TaskStoreListEventsOptions): Promise<{
818
+ emitLogEvent(options: TaskStoreEmitOptions): Promise<void>;
819
+ listEvents(options: TaskStoreListEventsOptions): Promise<{
818
820
  events: SerializedTaskEvent[];
819
821
  }>;
820
- shutdownTask?({ taskId }: TaskStoreShutDownTaskOptions): Promise<void>;
822
+ shutdownTask?(options: TaskStoreShutDownTaskOptions): Promise<void>;
821
823
  }
822
824
 
823
825
  /**
@@ -866,7 +868,7 @@ declare class DatabaseTaskStore implements TaskStore {
866
868
  listEvents(options: TaskStoreListEventsOptions): Promise<{
867
869
  events: SerializedTaskEvent[];
868
870
  }>;
869
- shutdownTask({ taskId }: TaskStoreShutDownTaskOptions): Promise<void>;
871
+ shutdownTask(options: TaskStoreShutDownTaskOptions): Promise<void>;
870
872
  }
871
873
 
872
874
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend",
3
3
  "description": "The Backstage backend plugin that helps you create new things",
4
- "version": "1.12.0-next.1",
4
+ "version": "1.12.0",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -44,19 +44,19 @@
44
44
  "build:assets": "node scripts/build-nunjucks.js"
45
45
  },
46
46
  "dependencies": {
47
- "@backstage/backend-common": "^0.18.3-next.1",
48
- "@backstage/backend-plugin-api": "^0.4.1-next.1",
49
- "@backstage/backend-tasks": "^0.4.4-next.1",
50
- "@backstage/catalog-client": "^1.4.0-next.1",
51
- "@backstage/catalog-model": "^1.2.1-next.1",
52
- "@backstage/config": "^1.0.7-next.0",
53
- "@backstage/errors": "^1.1.5-next.0",
54
- "@backstage/integration": "^1.4.3-next.0",
55
- "@backstage/plugin-auth-node": "^0.2.12-next.1",
56
- "@backstage/plugin-catalog-backend": "^1.8.0-next.1",
57
- "@backstage/plugin-catalog-node": "^1.3.4-next.1",
58
- "@backstage/plugin-scaffolder-common": "^1.2.6-next.1",
59
- "@backstage/plugin-scaffolder-node": "^0.1.1-next.1",
47
+ "@backstage/backend-common": "^0.18.3",
48
+ "@backstage/backend-plugin-api": "^0.5.0",
49
+ "@backstage/backend-tasks": "^0.5.0",
50
+ "@backstage/catalog-client": "^1.4.0",
51
+ "@backstage/catalog-model": "^1.2.1",
52
+ "@backstage/config": "^1.0.7",
53
+ "@backstage/errors": "^1.1.5",
54
+ "@backstage/integration": "^1.4.3",
55
+ "@backstage/plugin-auth-node": "^0.2.12",
56
+ "@backstage/plugin-catalog-backend": "^1.8.0",
57
+ "@backstage/plugin-catalog-node": "^1.3.4",
58
+ "@backstage/plugin-scaffolder-common": "^1.2.6",
59
+ "@backstage/plugin-scaffolder-node": "^0.1.1",
60
60
  "@backstage/types": "^1.0.2",
61
61
  "@gitbeaker/core": "^35.6.0",
62
62
  "@gitbeaker/node": "^35.1.0",
@@ -93,8 +93,8 @@
93
93
  "zod": "~3.18.0"
94
94
  },
95
95
  "devDependencies": {
96
- "@backstage/backend-test-utils": "^0.1.35-next.1",
97
- "@backstage/cli": "^0.22.4-next.1",
96
+ "@backstage/backend-test-utils": "^0.1.35",
97
+ "@backstage/cli": "^0.22.4",
98
98
  "@types/command-exists": "^1.2.0",
99
99
  "@types/fs-extra": "^9.0.1",
100
100
  "@types/git-url-parse": "^9.0.0",