@backstage/plugin-scaffolder-backend 1.5.0-next.1 → 1.5.0-next.2

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
@@ -21,6 +21,7 @@ import { Knex } from 'knex';
21
21
  import { LocationSpec } from '@backstage/plugin-catalog-backend';
22
22
  import { Logger } from 'winston';
23
23
  import { Observable } from '@backstage/types';
24
+ import { Octokit } from 'octokit';
24
25
  import { PluginDatabaseManager } from '@backstage/backend-common';
25
26
  import { Schema } from 'jsonschema';
26
27
  import { ScmIntegrationRegistry } from '@backstage/integration';
@@ -513,6 +514,8 @@ draft?: boolean | undefined;
513
514
  targetPath?: string | undefined;
514
515
  sourcePath?: string | undefined;
515
516
  token?: string | undefined;
517
+ reviewers?: string[] | undefined;
518
+ teamReviewers?: string[] | undefined;
516
519
  }>;
517
520
 
518
521
  /**
@@ -676,14 +679,14 @@ export declare function fetchContents({ reader, integrations, baseUrl, fetchUrl,
676
679
  }): Promise<void>;
677
680
 
678
681
  /** @public */
679
- export declare interface OctokitWithPullRequestPluginClient {
682
+ export declare type OctokitWithPullRequestPluginClient = Octokit & {
680
683
  createPullRequest(options: createPullRequest.Options): Promise<{
681
684
  data: {
682
685
  html_url: string;
683
686
  number: number;
684
687
  };
685
688
  } | null>;
686
- }
689
+ };
687
690
 
688
691
  /**
689
692
  * RouterOptions
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.5.0-next.1",
4
+ "version": "1.5.0-next.2",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -42,7 +42,7 @@
42
42
  "@backstage/config": "^1.0.1",
43
43
  "@backstage/errors": "^1.1.0",
44
44
  "@backstage/integration": "^1.3.0-next.1",
45
- "@backstage/plugin-catalog-backend": "^1.3.1-next.1",
45
+ "@backstage/plugin-catalog-backend": "^1.3.1-next.2",
46
46
  "@backstage/plugin-catalog-node": "^1.0.1-next.0",
47
47
  "@backstage/plugin-scaffolder-common": "^1.1.2",
48
48
  "@backstage/types": "^1.0.0",
@@ -80,7 +80,7 @@
80
80
  },
81
81
  "devDependencies": {
82
82
  "@backstage/backend-test-utils": "^0.1.27-next.0",
83
- "@backstage/cli": "^0.18.1-next.0",
83
+ "@backstage/cli": "^0.18.1-next.1",
84
84
  "@types/command-exists": "^1.2.0",
85
85
  "@types/fs-extra": "^9.0.1",
86
86
  "@types/git-url-parse": "^9.0.0",
@@ -103,5 +103,5 @@
103
103
  "assets"
104
104
  ],
105
105
  "configSchema": "config.d.ts",
106
- "gitHead": "62bee85ae500414d27d7828288786de8f4816ef8"
106
+ "gitHead": "9b7d23351cdbe29fb16060f6f9e8442932d3fa29"
107
107
  }