@backstage/plugin-scaffolder 1.11.0 → 1.11.1-next.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/alpha/package.json +4 -3
  3. package/dist/alpha.d.ts +73 -0
  4. package/dist/alpha.esm.js +98 -0
  5. package/dist/alpha.esm.js.map +1 -0
  6. package/dist/esm/alpha/ListTasksPage-5aa6305b.esm.js +192 -0
  7. package/dist/esm/alpha/ListTasksPage-5aa6305b.esm.js.map +1 -0
  8. package/dist/esm/alpha/Router-0b12a83d.esm.js +1563 -0
  9. package/dist/esm/alpha/Router-0b12a83d.esm.js.map +1 -0
  10. package/dist/esm/alpha/alpha-d9ed6c0a.esm.js +3664 -0
  11. package/dist/esm/alpha/alpha-d9ed6c0a.esm.js.map +1 -0
  12. package/dist/esm/alpha/index-9804fdae.esm.js +446 -0
  13. package/dist/esm/alpha/index-9804fdae.esm.js.map +1 -0
  14. package/dist/esm/{ListTasksPage-a0fe74a9.esm.js → index/ListTasksPage-e88f6608.esm.js} +2 -2
  15. package/dist/esm/index/ListTasksPage-e88f6608.esm.js.map +1 -0
  16. package/dist/esm/{Router-fae7a62f.esm.js → index/Router-dc8c17c7.esm.js} +6 -5
  17. package/dist/esm/index/Router-dc8c17c7.esm.js.map +1 -0
  18. package/dist/esm/{index-83c9fe8a.esm.js → index/index-509695ba.esm.js} +6 -5
  19. package/dist/esm/index/index-509695ba.esm.js.map +1 -0
  20. package/dist/esm/{index-5b3a75fa.esm.js → index/index-d9b6a6fb.esm.js} +8 -7
  21. package/dist/esm/index/index-d9b6a6fb.esm.js.map +1 -0
  22. package/dist/index.d.ts +292 -392
  23. package/dist/index.esm.js +27 -26
  24. package/dist/index.esm.js.map +1 -1
  25. package/package.json +35 -24
  26. package/dist/esm/ListTasksPage-a0fe74a9.esm.js.map +0 -1
  27. package/dist/esm/Router-fae7a62f.esm.js.map +0 -1
  28. package/dist/esm/index-5b3a75fa.esm.js.map +0 -1
  29. package/dist/esm/index-83c9fe8a.esm.js.map +0 -1
  30. package/dist/index.alpha.d.ts +0 -642
  31. package/dist/index.beta.d.ts +0 -598
@@ -1,598 +0,0 @@
1
- /**
2
- * The Backstage plugin that helps you create new things
3
- *
4
- * @packageDocumentation
5
- */
6
-
7
- /// <reference types="react" />
8
-
9
- import { ApiHolder } from '@backstage/core-plugin-api';
10
- import { ApiRef } from '@backstage/core-plugin-api';
11
- import { BackstagePlugin } from '@backstage/core-plugin-api';
12
- import { ComponentType } from 'react';
13
- import { createScaffolderFieldExtension as createScaffolderFieldExtension_2 } from '@backstage/plugin-scaffolder-react';
14
- import { createScaffolderLayout as createScaffolderLayout_2 } from '@backstage/plugin-scaffolder-react';
15
- import { CustomFieldExtensionSchema as CustomFieldExtensionSchema_2 } from '@backstage/plugin-scaffolder-react';
16
- import { CustomFieldValidator as CustomFieldValidator_2 } from '@backstage/plugin-scaffolder-react';
17
- import { DiscoveryApi } from '@backstage/core-plugin-api';
18
- import { Entity } from '@backstage/catalog-model';
19
- import { ExternalRouteRef } from '@backstage/core-plugin-api';
20
- import { FetchApi } from '@backstage/core-plugin-api';
21
- import { FieldExtensionComponent as FieldExtensionComponent_2 } from '@backstage/plugin-scaffolder-react';
22
- import { FieldExtensionComponentProps as FieldExtensionComponentProps_2 } from '@backstage/plugin-scaffolder-react';
23
- import { FieldExtensionOptions as FieldExtensionOptions_2 } from '@backstage/plugin-scaffolder-react';
24
- import { FieldValidation } from '@rjsf/core';
25
- import { FormProps as FormProps_2 } from '@backstage/plugin-scaffolder-react';
26
- import type { FormProps as FormProps_3 } from '@rjsf/core-v5';
27
- import { IdentityApi } from '@backstage/core-plugin-api';
28
- import { JsonObject } from '@backstage/types';
29
- import { LayoutOptions as LayoutOptions_2 } from '@backstage/plugin-scaffolder-react';
30
- import { LayoutTemplate as LayoutTemplate_2 } from '@backstage/plugin-scaffolder-react';
31
- import { ListActionsResponse as ListActionsResponse_2 } from '@backstage/plugin-scaffolder-react';
32
- import { LogEvent as LogEvent_2 } from '@backstage/plugin-scaffolder-react';
33
- import { Observable } from '@backstage/types';
34
- import { PathParams } from '@backstage/core-plugin-api';
35
- import { PropsWithChildren } from 'react';
36
- import { default as React_2 } from 'react';
37
- import { ReactNode } from 'react';
38
- import { RouteRef } from '@backstage/core-plugin-api';
39
- import { ScaffolderApi as ScaffolderApi_2 } from '@backstage/plugin-scaffolder-react';
40
- import { ScaffolderDryRunOptions as ScaffolderDryRunOptions_2 } from '@backstage/plugin-scaffolder-react';
41
- import { ScaffolderDryRunResponse as ScaffolderDryRunResponse_2 } from '@backstage/plugin-scaffolder-react';
42
- import { ScaffolderGetIntegrationsListOptions as ScaffolderGetIntegrationsListOptions_2 } from '@backstage/plugin-scaffolder-react';
43
- import { ScaffolderGetIntegrationsListResponse as ScaffolderGetIntegrationsListResponse_2 } from '@backstage/plugin-scaffolder-react';
44
- import { ScaffolderOutputLink } from '@backstage/plugin-scaffolder-react';
45
- import { ScaffolderScaffoldOptions as ScaffolderScaffoldOptions_2 } from '@backstage/plugin-scaffolder-react';
46
- import { ScaffolderScaffoldResponse as ScaffolderScaffoldResponse_2 } from '@backstage/plugin-scaffolder-react';
47
- import { ScaffolderStreamLogsOptions as ScaffolderStreamLogsOptions_2 } from '@backstage/plugin-scaffolder-react';
48
- import { ScaffolderTask as ScaffolderTask_2 } from '@backstage/plugin-scaffolder-react';
49
- import { ScaffolderTaskOutput as ScaffolderTaskOutput_2 } from '@backstage/plugin-scaffolder-react';
50
- import { ScaffolderTaskStatus as ScaffolderTaskStatus_2 } from '@backstage/plugin-scaffolder-react';
51
- import { ScaffolderUseTemplateSecrets as ScaffolderUseTemplateSecrets_2 } from '@backstage/plugin-scaffolder-react';
52
- import { ScmIntegrationRegistry } from '@backstage/integration';
53
- import { SubRouteRef } from '@backstage/core-plugin-api';
54
- import { TemplateEntityV1beta3 } from '@backstage/plugin-scaffolder-common';
55
- import { TemplateParameterSchema as TemplateParameterSchema_2 } from '@backstage/plugin-scaffolder-react';
56
- import { UiSchema } from '@rjsf/utils';
57
- import { z } from 'zod';
58
-
59
- /**
60
- * @public
61
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#createScaffolderFieldExtension} instead as this has now been moved.
62
- */
63
- export declare const createScaffolderFieldExtension: typeof createScaffolderFieldExtension_2;
64
-
65
- /**
66
- * @public
67
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#createScaffolderLayout} instead as this has now been moved.
68
- */
69
- export declare const createScaffolderLayout: typeof createScaffolderLayout_2;
70
-
71
- /**
72
- * @public
73
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#CustomFieldExtensionSchema} instead as this has now been moved.
74
- */
75
- export declare type CustomFieldExtensionSchema = CustomFieldExtensionSchema_2;
76
-
77
- /**
78
- * @public
79
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#CustomFieldValidator} instead as this has now been moved.
80
- */
81
- export declare type CustomFieldValidator<TReturnFieldData> = CustomFieldValidator_2<TReturnFieldData>;
82
-
83
- /**
84
- * The field extension for selecting a name for a new Entity in the Catalog.
85
- *
86
- * @public
87
- */
88
- export declare const EntityNamePickerFieldExtension: FieldExtensionComponent_2<string, {}>;
89
-
90
- /**
91
- * A field extension for selecting an Entity that exists in the Catalog.
92
- *
93
- * @public
94
- */
95
- export declare const EntityPickerFieldExtension: FieldExtensionComponent_2<string, {
96
- defaultKind?: string | undefined;
97
- defaultNamespace?: string | false | undefined;
98
- allowedKinds?: string[] | undefined;
99
- allowArbitraryValues?: boolean | undefined;
100
- catalogFilter?: Record<string, string | string[]> | Record<string, string | string[]>[] | undefined;
101
- }>;
102
-
103
- /**
104
- * @public
105
- */
106
- export declare const EntityPickerFieldSchema: FieldSchema<string, {
107
- defaultKind?: string | undefined;
108
- defaultNamespace?: string | false | undefined;
109
- allowedKinds?: string[] | undefined;
110
- allowArbitraryValues?: boolean | undefined;
111
- catalogFilter?: Record<string, string | string[]> | Record<string, string | string[]>[] | undefined;
112
- }>;
113
-
114
- /**
115
- * The input props that can be specified under `ui:options` for the
116
- * `EntityPicker` field extension.
117
- *
118
- * @public
119
- */
120
- export declare type EntityPickerUiOptions = typeof EntityPickerFieldSchema.uiOptionsType;
121
-
122
- /**
123
- * EntityTagsPickerFieldExtension
124
- * @public
125
- */
126
- export declare const EntityTagsPickerFieldExtension: FieldExtensionComponent_2<string[], {
127
- showCounts?: boolean | undefined;
128
- kinds?: string[] | undefined;
129
- helperText?: string | undefined;
130
- }>;
131
-
132
- /**
133
- * @public
134
- */
135
- export declare const EntityTagsPickerFieldSchema: FieldSchema<string[], {
136
- showCounts?: boolean | undefined;
137
- kinds?: string[] | undefined;
138
- helperText?: string | undefined;
139
- }>;
140
-
141
- /**
142
- * The input props that can be specified under `ui:options` for the
143
- * `EntityTagsPicker` field extension.
144
- *
145
- * @public
146
- */
147
- export declare type EntityTagsPickerUiOptions = typeof EntityTagsPickerFieldSchema.uiOptionsType;
148
-
149
- /**
150
- * @public
151
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#FieldExtensionComponent} instead as this has now been moved.
152
- */
153
- export declare type FieldExtensionComponent<_TReturnValue, _TInputProps> = FieldExtensionComponent_2<_TReturnValue, _TInputProps>;
154
-
155
- /**
156
- * @public
157
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#FieldExtensionComponentProps} instead as this has now been moved.
158
- */
159
- export declare type FieldExtensionComponentProps<TFieldReturnValue, TUiOptions extends {} = {}> = FieldExtensionComponentProps_2<TFieldReturnValue, TUiOptions>;
160
-
161
- /**
162
- * @public
163
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#FieldExtensionOptions} instead as this has now been moved.
164
- */
165
- export declare type FieldExtensionOptions = FieldExtensionOptions_2;
166
-
167
- /**
168
- * @public
169
- * FieldSchema encapsulates a JSONSchema7 along with the
170
- * matching FieldExtensionComponentProps type for a field extension.
171
- */
172
- export declare interface FieldSchema<TReturn, TUiOptions> {
173
- readonly schema: CustomFieldExtensionSchema_2;
174
- readonly type: FieldExtensionComponentProps_2<TReturn, TUiOptions>;
175
- readonly uiOptionsType: TUiOptions;
176
- }
177
-
178
- /* Excluded from this release type: FormProps */
179
-
180
- /**
181
- * @public
182
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#LayoutOptions} instead as this has now been moved.
183
- */
184
- export declare type LayoutOptions = LayoutOptions_2;
185
-
186
- /**
187
- * @public
188
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#LayoutTemplate} instead as this has now been moved.
189
- */
190
- export declare type LayoutTemplate = LayoutTemplate_2;
191
-
192
- /**
193
- * @public
194
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ListActionsResponse} instead as this has now been moved.
195
- */
196
- export declare type ListActionsResponse = ListActionsResponse_2;
197
-
198
- /**
199
- * @public
200
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#LogEvent} instead as this has now been moved.
201
- */
202
- export declare type LogEvent = LogEvent_2;
203
-
204
- /**
205
- * @public
206
- * Utility function to convert zod return and UI options schemas to a
207
- * CustomFieldExtensionSchema with FieldExtensionComponentProps type inference
208
- */
209
- export declare function makeFieldSchemaFromZod<TReturnSchema extends z.ZodType, TUiOptionsSchema extends z.ZodType = z.ZodType<any, any, {}>>(returnSchema: TReturnSchema, uiOptionsSchema?: TUiOptionsSchema): FieldSchema<TReturnSchema extends z.ZodType<any, any, infer IReturn> ? IReturn : never, TUiOptionsSchema extends z.ZodType<any, any, infer IUiOptions> ? IUiOptions : never>;
210
-
211
- /* Excluded from this release type: nextRouteRef */
212
-
213
- /* Excluded from this release type: NextRouterProps */
214
-
215
- /* Excluded from this release type: NextScaffolderPage */
216
-
217
- /* Excluded from this release type: nextScaffolderTaskRouteRef */
218
-
219
- /* Excluded from this release type: nextSelectedTemplateRouteRef */
220
-
221
- /**
222
- * A field extension to show all the Entities that are owned by the current logged-in User for use in templates.
223
- *
224
- * @public
225
- */
226
- export declare const OwnedEntityPickerFieldExtension: FieldExtensionComponent_2<string, {
227
- defaultKind?: string | undefined;
228
- defaultNamespace?: string | false | undefined;
229
- allowedKinds?: string[] | undefined;
230
- allowArbitraryValues?: boolean | undefined;
231
- }>;
232
-
233
- /**
234
- * @public
235
- */
236
- export declare const OwnedEntityPickerFieldSchema: FieldSchema<string, {
237
- defaultKind?: string | undefined;
238
- defaultNamespace?: string | false | undefined;
239
- allowedKinds?: string[] | undefined;
240
- allowArbitraryValues?: boolean | undefined;
241
- }>;
242
-
243
- /**
244
- * The input props that can be specified under `ui:options` for the
245
- * `OwnedEntityPicker` field extension.
246
- *
247
- * @public
248
- */
249
- export declare type OwnedEntityPickerUiOptions = typeof OwnedEntityPickerFieldSchema.uiOptionsType;
250
-
251
- /**
252
- * A field extension for picking users and groups out of the Catalog.
253
- *
254
- * @public
255
- */
256
- export declare const OwnerPickerFieldExtension: FieldExtensionComponent_2<string, {
257
- defaultNamespace?: string | false | undefined;
258
- allowedKinds?: string[] | undefined;
259
- allowArbitraryValues?: boolean | undefined;
260
- catalogFilter?: Record<string, string | string[]> | Record<string, string | string[]>[] | undefined;
261
- }>;
262
-
263
- /**
264
- * @public
265
- */
266
- export declare const OwnerPickerFieldSchema: FieldSchema<string, {
267
- defaultNamespace?: string | false | undefined;
268
- allowedKinds?: string[] | undefined;
269
- allowArbitraryValues?: boolean | undefined;
270
- catalogFilter?: Record<string, string | string[]> | Record<string, string | string[]>[] | undefined;
271
- }>;
272
-
273
- /**
274
- * The input props that can be specified under `ui:options` for the
275
- * `OwnerPicker` field extension.
276
- *
277
- * @public
278
- */
279
- export declare type OwnerPickerUiOptions = typeof OwnerPickerFieldSchema.uiOptionsType;
280
-
281
- /**
282
- * The validation function for the `repoUrl` that is returned from the
283
- * field extension. Ensures that you have all the required fields filled for
284
- * the different providers that exist.
285
- *
286
- * @public
287
- */
288
- export declare const repoPickerValidation: (value: string, validation: FieldValidation, context: {
289
- apiHolder: ApiHolder;
290
- }) => void;
291
-
292
- /**
293
- * The field extension which provides the ability to select a RepositoryUrl.
294
- * Currently, this is an encoded URL that looks something like the following `github.com?repo=myRepoName&owner=backstage`.
295
- *
296
- * @public
297
- */
298
- export declare const RepoUrlPickerFieldExtension: FieldExtensionComponent_2<string, {
299
- allowedHosts?: string[] | undefined;
300
- allowedOrganizations?: string[] | undefined;
301
- allowedOwners?: string[] | undefined;
302
- allowedProjects?: string[] | undefined;
303
- allowedRepos?: string[] | undefined;
304
- requestUserCredentials?: {
305
- additionalScopes?: {
306
- azure?: string[] | undefined;
307
- github?: string[] | undefined;
308
- gitlab?: string[] | undefined;
309
- bitbucket?: string[] | undefined;
310
- gerrit?: string[] | undefined;
311
- } | undefined;
312
- secretsKey: string;
313
- } | undefined;
314
- }>;
315
-
316
- /**
317
- * @public
318
- */
319
- export declare const RepoUrlPickerFieldSchema: FieldSchema<string, {
320
- allowedHosts?: string[] | undefined;
321
- allowedOrganizations?: string[] | undefined;
322
- allowedOwners?: string[] | undefined;
323
- allowedProjects?: string[] | undefined;
324
- allowedRepos?: string[] | undefined;
325
- requestUserCredentials?: {
326
- additionalScopes?: {
327
- azure?: string[] | undefined;
328
- github?: string[] | undefined;
329
- gitlab?: string[] | undefined;
330
- bitbucket?: string[] | undefined;
331
- gerrit?: string[] | undefined;
332
- } | undefined;
333
- secretsKey: string;
334
- } | undefined;
335
- }>;
336
-
337
- /**
338
- * The input props that can be specified under `ui:options` for the
339
- * `RepoUrlPicker` field extension.
340
- *
341
- * @public
342
- */
343
- export declare type RepoUrlPickerUiOptions = typeof RepoUrlPickerFieldSchema.uiOptionsType;
344
-
345
- /**
346
- * The props for the Last Step in scaffolder template form.
347
- * Which represents the summary of the input provided by the end user.
348
- *
349
- * @public
350
- */
351
- export declare type ReviewStepProps = {
352
- disableButtons: boolean;
353
- formData: JsonObject;
354
- handleBack: () => void;
355
- handleReset: () => void;
356
- handleCreate: () => void;
357
- steps: {
358
- uiSchema: UiSchema;
359
- mergedSchema: JsonObject;
360
- schema: JsonObject;
361
- }[];
362
- };
363
-
364
- /**
365
- * @public
366
- * @deprecated use import from `{@link @backstage/plugin-scaffolder#scaffolderPlugin}.routes.root` instead.
367
- */
368
- export declare const rootRouteRef: RouteRef<undefined>;
369
-
370
- /**
371
- * The props for the entrypoint `ScaffolderPage` component the plugin.
372
- * @public
373
- */
374
- export declare type RouterProps = {
375
- components?: {
376
- ReviewStepComponent?: ComponentType<ReviewStepProps>;
377
- TemplateCardComponent?: ComponentType<{
378
- template: TemplateEntityV1beta3;
379
- }> | undefined;
380
- TaskPageComponent?: ComponentType<{}>;
381
- };
382
- groups?: Array<{
383
- title?: React_2.ReactNode;
384
- filter: (entity: Entity) => boolean;
385
- }>;
386
- defaultPreviewTemplate?: string;
387
- headerOptions?: {
388
- pageTitleOverride?: string;
389
- title?: string;
390
- subtitle?: string;
391
- };
392
- /**
393
- * Options for the context menu on the scaffolder page.
394
- */
395
- contextMenu?: {
396
- /** Whether to show a link to the template editor */
397
- editor?: boolean;
398
- /** Whether to show a link to the actions documentation */
399
- actions?: boolean;
400
- };
401
- };
402
-
403
- /**
404
- * @public
405
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderApi} instead as this has now been moved.
406
- */
407
- export declare type ScaffolderApi = ScaffolderApi_2;
408
-
409
- /**
410
- * @public
411
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#scaffolderApiRef} instead as this has now been moved.
412
- */
413
- export declare const scaffolderApiRef: ApiRef<ScaffolderApi_2>;
414
-
415
- /**
416
- * An API to interact with the scaffolder backend.
417
- *
418
- * @public
419
- */
420
- export declare class ScaffolderClient implements ScaffolderApi_2 {
421
- private readonly discoveryApi;
422
- private readonly scmIntegrationsApi;
423
- private readonly fetchApi;
424
- private readonly identityApi?;
425
- private readonly useLongPollingLogs;
426
- constructor(options: {
427
- discoveryApi: DiscoveryApi;
428
- fetchApi: FetchApi;
429
- identityApi?: IdentityApi;
430
- scmIntegrationsApi: ScmIntegrationRegistry;
431
- useLongPollingLogs?: boolean;
432
- });
433
- listTasks(options: {
434
- filterByOwnership: 'owned' | 'all';
435
- }): Promise<{
436
- tasks: ScaffolderTask_2[];
437
- }>;
438
- getIntegrationsList(options: ScaffolderGetIntegrationsListOptions_2): Promise<ScaffolderGetIntegrationsListResponse_2>;
439
- getTemplateParameterSchema(templateRef: string): Promise<TemplateParameterSchema_2>;
440
- scaffold(options: ScaffolderScaffoldOptions_2): Promise<ScaffolderScaffoldResponse_2>;
441
- getTask(taskId: string): Promise<ScaffolderTask_2>;
442
- streamLogs(options: ScaffolderStreamLogsOptions_2): Observable<LogEvent_2>;
443
- dryRun(options: ScaffolderDryRunOptions_2): Promise<ScaffolderDryRunResponse_2>;
444
- private streamLogsEventStream;
445
- private streamLogsPolling;
446
- listActions(): Promise<ListActionsResponse_2>;
447
- }
448
-
449
- /**
450
- * @public
451
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderDryRunOptions} instead as this has now been moved.
452
- */
453
- export declare type ScaffolderDryRunOptions = ScaffolderDryRunOptions_2;
454
-
455
- /**
456
- * @public
457
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderDryRunResponse} instead as this has now been moved.
458
- */
459
- export declare type ScaffolderDryRunResponse = ScaffolderDryRunResponse_2;
460
-
461
- /**
462
- * @public
463
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderFieldExtensions} instead as this has now been moved.
464
- */
465
- export declare const ScaffolderFieldExtensions: ComponentType< {
466
- children?: ReactNode;
467
- }>;
468
-
469
- /**
470
- * @public
471
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderGetIntegrationsListOptions} instead as this has now been moved.
472
- */
473
- export declare type ScaffolderGetIntegrationsListOptions = ScaffolderGetIntegrationsListOptions_2;
474
-
475
- /**
476
- * @public
477
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderGetIntegrationsListResponse} instead as this has now been moved.
478
- */
479
- export declare type ScaffolderGetIntegrationsListResponse = ScaffolderGetIntegrationsListResponse_2;
480
-
481
- /**
482
- * @public
483
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderLayouts} instead as this has now been moved.
484
- */
485
- export declare const ScaffolderLayouts: ComponentType< {}>;
486
-
487
- /**
488
- * @public
489
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderOutputlink} instead as this has now been moved.
490
- */
491
- export declare type ScaffolderOutputlink = ScaffolderOutputLink;
492
-
493
- /**
494
- * The Router and main entrypoint to the Scaffolder plugin.
495
- *
496
- * @public
497
- */
498
- export declare const ScaffolderPage: (props: RouterProps) => JSX.Element;
499
-
500
- /**
501
- * The main plugin export for the scaffolder.
502
- * @public
503
- */
504
- export declare const scaffolderPlugin: BackstagePlugin< {
505
- root: RouteRef<undefined>;
506
- selectedTemplate: SubRouteRef<PathParams<"/templates/:namespace/:templateName">>;
507
- ongoingTask: SubRouteRef<PathParams<"/tasks/:taskId">>;
508
- }, {
509
- registerComponent: ExternalRouteRef<undefined, true>;
510
- viewTechDoc: ExternalRouteRef< {
511
- name: string;
512
- kind: string;
513
- namespace: string;
514
- }, true>;
515
- }, {}>;
516
-
517
- /**
518
- * @public
519
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderScaffoldOptions} instead as this has now been moved.
520
- */
521
- export declare type ScaffolderScaffoldOptions = ScaffolderScaffoldOptions_2;
522
-
523
- /**
524
- * @public
525
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderScaffoldResponse} instead as this has now been moved.
526
- */
527
- export declare type ScaffolderScaffoldResponse = ScaffolderScaffoldResponse_2;
528
-
529
- /**
530
- * @public
531
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderStreamLogsOptions} instead as this has now been moved.
532
- */
533
- export declare type ScaffolderStreamLogsOptions = ScaffolderStreamLogsOptions_2;
534
-
535
- /**
536
- * @public
537
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderTask} instead as this has now been moved.
538
- */
539
- export declare type ScaffolderTask = ScaffolderTask_2;
540
-
541
- /**
542
- * @public
543
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderTaskOutput} instead as this has now been moved.
544
- */
545
- export declare type ScaffolderTaskOutput = ScaffolderTaskOutput_2;
546
-
547
- /**
548
- * @public
549
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderTaskStatus} instead as this has now been moved.
550
- */
551
- export declare type ScaffolderTaskStatus = ScaffolderTaskStatus_2;
552
-
553
- /**
554
- * @public
555
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#ScaffolderUseTemplateSecrets} instead as this has now been moved.
556
- */
557
- export declare type ScaffolderUseTemplateSecrets = ScaffolderUseTemplateSecrets_2;
558
-
559
- /**
560
- * TaskPage for showing the status of the taskId provided as a param
561
- * @param loadingText - Optional loading text shown before a task begins executing.
562
- *
563
- * @public
564
- */
565
- export declare const TaskPage: ({ loadingText }: TaskPageProps) => JSX.Element;
566
-
567
- /**
568
- * TaskPageProps for constructing a TaskPage
569
- * @param loadingText - Optional loading text shown before a task begins executing.
570
- *
571
- * @public
572
- */
573
- export declare type TaskPageProps = {
574
- loadingText?: string;
575
- };
576
-
577
- /* Excluded from this release type: TemplateGroupFilter */
578
-
579
- /**
580
- * @public
581
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#TemplateParameterSchema} instead as this has now been moved.
582
- */
583
- export declare type TemplateParameterSchema = TemplateParameterSchema_2;
584
-
585
- /**
586
- * The component to select the `type` of `Template` that you will see in the table.
587
- *
588
- * @public
589
- */
590
- export declare const TemplateTypePicker: () => JSX.Element | null;
591
-
592
- /**
593
- * @public
594
- * @deprecated use import from {@link @backstage/plugin-scaffolder-react#useTemplateSecrets} instead as this has now been moved.
595
- */
596
- export declare const useTemplateSecrets: () => ScaffolderUseTemplateSecrets_2;
597
-
598
- export { }