@backstage/plugin-scaffolder-backend 1.3.0-next.1 → 1.3.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/index.d.ts CHANGED
@@ -148,6 +148,11 @@ interface TaskBroker {
148
148
  events: SerializedTaskEvent[];
149
149
  }>;
150
150
  get(taskId: string): Promise<SerializedTask>;
151
+ list?(options?: {
152
+ createdBy?: string;
153
+ }): Promise<{
154
+ tasks: SerializedTask[];
155
+ }>;
151
156
  }
152
157
  /**
153
158
  * TaskStoreEmitOptions
@@ -205,6 +210,11 @@ interface TaskStore {
205
210
  taskId: string;
206
211
  }[];
207
212
  }>;
213
+ list?(options: {
214
+ createdBy?: string;
215
+ }): Promise<{
216
+ tasks: SerializedTask[];
217
+ }>;
208
218
  emitLogEvent({ taskId, body }: TaskStoreEmitOptions): Promise<void>;
209
219
  listEvents({ taskId, after, }: TaskStoreListEventsOptions): Promise<{
210
220
  events: SerializedTaskEvent[];
@@ -498,10 +508,17 @@ declare function createPublishGithubAction(options: {
498
508
  requireCodeOwnerReviews?: boolean | undefined;
499
509
  requiredStatusCheckContexts?: string[] | undefined;
500
510
  repoVisibility?: "internal" | "private" | "public" | undefined;
501
- collaborators?: {
511
+ collaborators?: ({
512
+ user: string;
513
+ access: 'pull' | 'push' | 'admin' | 'maintain' | 'triage';
514
+ } | {
515
+ team: string;
516
+ access: 'pull' | 'push' | 'admin' | 'maintain' | 'triage';
517
+ } | {
518
+ /** @deprecated This field is deprecated in favor of team */
502
519
  username: string;
503
520
  access: 'pull' | 'push' | 'admin' | 'maintain' | 'triage';
504
- }[] | undefined;
521
+ })[] | undefined;
505
522
  token?: string | undefined;
506
523
  topics?: string[] | undefined;
507
524
  }>;
@@ -588,13 +605,14 @@ declare function createPublishGitlabAction(options: {
588
605
  declare const createPublishGitlabMergeRequestAction: (options: {
589
606
  integrations: ScmIntegrationRegistry;
590
607
  }) => TemplateAction<{
591
- projectid: string;
592
608
  repoUrl: string;
593
609
  title: string;
594
610
  description: string;
595
611
  branchName: string;
596
612
  targetPath: string;
597
613
  token?: string | undefined;
614
+ /** @deprecated Use projectPath instead */
615
+ projectid?: string | undefined;
598
616
  }>;
599
617
 
600
618
  /**
@@ -699,6 +717,11 @@ declare class DatabaseTaskStore implements TaskStore {
699
717
  private readonly db;
700
718
  static create(options: DatabaseTaskStoreOptions): Promise<DatabaseTaskStore>;
701
719
  private constructor();
720
+ list(options: {
721
+ createdBy?: string;
722
+ }): Promise<{
723
+ tasks: SerializedTask[];
724
+ }>;
702
725
  getTask(taskId: string): Promise<SerializedTask>;
703
726
  createTask(options: TaskStoreCreateTaskOptions): Promise<TaskStoreCreateTaskResult>;
704
727
  claimTask(): Promise<SerializedTask | undefined>;
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.3.0-next.1",
4
+ "version": "1.3.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -34,14 +34,14 @@
34
34
  "build:assets": "node scripts/build-nunjucks.js"
35
35
  },
36
36
  "dependencies": {
37
- "@backstage/backend-common": "^0.13.6-next.1",
38
- "@backstage/catalog-client": "^1.0.3-next.0",
39
- "@backstage/catalog-model": "^1.0.3-next.0",
37
+ "@backstage/backend-common": "^0.14.0",
38
+ "@backstage/catalog-client": "^1.0.3",
39
+ "@backstage/catalog-model": "^1.0.3",
40
40
  "@backstage/config": "^1.0.1",
41
41
  "@backstage/errors": "^1.0.0",
42
- "@backstage/integration": "^1.2.1-next.1",
43
- "@backstage/plugin-catalog-backend": "^1.2.0-next.1",
44
- "@backstage/plugin-scaffolder-common": "^1.1.1-next.0",
42
+ "@backstage/integration": "^1.2.1",
43
+ "@backstage/plugin-catalog-backend": "^1.2.0",
44
+ "@backstage/plugin-scaffolder-common": "^1.1.1",
45
45
  "@backstage/types": "^1.0.0",
46
46
  "@gitbeaker/core": "^35.6.0",
47
47
  "@gitbeaker/node": "^35.1.0",
@@ -76,8 +76,8 @@
76
76
  "zod": "^3.11.6"
77
77
  },
78
78
  "devDependencies": {
79
- "@backstage/backend-test-utils": "^0.1.25-next.1",
80
- "@backstage/cli": "^0.17.2-next.1",
79
+ "@backstage/backend-test-utils": "^0.1.25",
80
+ "@backstage/cli": "^0.17.2",
81
81
  "@types/command-exists": "^1.2.0",
82
82
  "@types/fs-extra": "^9.0.1",
83
83
  "@types/git-url-parse": "^9.0.0",
@@ -99,5 +99,5 @@
99
99
  "assets"
100
100
  ],
101
101
  "configSchema": "config.d.ts",
102
- "gitHead": "e15c24ddb5d14034629ced8a5a5d8f12b8f1a7dd"
102
+ "gitHead": "88c12dd1b2322503b6049718dce203413b29f5e8"
103
103
  }