@backstage/plugin-scaffolder 1.34.4-next.0 → 1.34.4-next.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/CHANGELOG.md +26 -0
- package/dist/alpha.d.ts +3 -3
- package/dist/index.d.ts +168 -167
- package/dist/plugins/scaffolder/package.json.esm.js +8 -8
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder
|
|
2
2
|
|
|
3
|
+
## 1.34.4-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- be21c5c: Updated dependency `@rjsf/utils` to `5.24.13`.
|
|
8
|
+
Updated dependency `@rjsf/core` to `5.24.13`.
|
|
9
|
+
Updated dependency `@rjsf/material-ui` to `5.24.13`.
|
|
10
|
+
Updated dependency `@rjsf/validator-ajv8` to `5.24.13`.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @backstage/frontend-plugin-api@0.13.2-next.1
|
|
13
|
+
- @backstage/plugin-scaffolder-react@1.19.4-next.2
|
|
14
|
+
- @backstage/integration@1.18.3-next.1
|
|
15
|
+
- @backstage/plugin-catalog-react@1.21.4-next.2
|
|
16
|
+
- @backstage/core-components@0.18.4-next.2
|
|
17
|
+
- @backstage/catalog-client@1.12.1
|
|
18
|
+
- @backstage/catalog-model@1.7.6
|
|
19
|
+
- @backstage/core-plugin-api@1.12.1-next.0
|
|
20
|
+
- @backstage/errors@1.2.7
|
|
21
|
+
- @backstage/integration-react@1.2.13-next.0
|
|
22
|
+
- @backstage/types@1.2.2
|
|
23
|
+
- @backstage/plugin-catalog-common@1.1.7
|
|
24
|
+
- @backstage/plugin-permission-react@0.4.39-next.0
|
|
25
|
+
- @backstage/plugin-scaffolder-common@1.7.4-next.0
|
|
26
|
+
- @backstage/plugin-techdocs-common@0.1.1
|
|
27
|
+
- @backstage/plugin-techdocs-react@1.3.6-next.0
|
|
28
|
+
|
|
3
29
|
## 1.34.4-next.0
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { ComponentType } from 'react';
|
|
|
3
3
|
import { TemplateEntityV1beta3 } from '@backstage/plugin-scaffolder-common';
|
|
4
4
|
import { TemplateGroupFilter, FieldExtensionOptions, ReviewStepProps, LayoutOptions, FormProps as FormProps$1 } from '@backstage/plugin-scaffolder-react';
|
|
5
5
|
import { FormProps as FormProps$2 } from '@rjsf/core';
|
|
6
|
-
import * as _backstage_core_plugin_api_alpha from '@backstage/core-plugin-api/alpha';
|
|
7
6
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
8
7
|
import * as _backstage_plugin_scaffolder_react_alpha from '@backstage/plugin-scaffolder-react/alpha';
|
|
9
8
|
import { ScaffolderFormDecorator } from '@backstage/plugin-scaffolder-react/alpha';
|
|
@@ -76,7 +75,7 @@ type TemplateWizardPageProps = {
|
|
|
76
75
|
type FormProps = Pick<FormProps$2, 'transformErrors' | 'noHtml5Validate'>;
|
|
77
76
|
|
|
78
77
|
/** @alpha */
|
|
79
|
-
declare const scaffolderTranslationRef:
|
|
78
|
+
declare const scaffolderTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"scaffolder", {
|
|
80
79
|
readonly "fields.entityNamePicker.title": "Name";
|
|
81
80
|
readonly "fields.entityNamePicker.description": "Unique name of the component";
|
|
82
81
|
readonly "fields.entityPicker.title": "Entity";
|
|
@@ -509,4 +508,5 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
509
508
|
}>;
|
|
510
509
|
}>;
|
|
511
510
|
|
|
512
|
-
export { DefaultScaffolderFormDecoratorsApi,
|
|
511
|
+
export { DefaultScaffolderFormDecoratorsApi, _default as default, formDecoratorsApi, formDecoratorsApiRef, scaffolderTranslationRef };
|
|
512
|
+
export type { FormProps, ScaffolderCustomFieldExplorerClassKey, ScaffolderFormDecoratorsApi, ScaffolderTemplateEditorClassKey, ScaffolderTemplateFormPreviewerClassKey, TemplateListPageProps, TemplateWizardPageProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ComponentType, PropsWithChildren } from 'react';
|
|
5
5
|
import * as _backstage_plugin_scaffolder_react from '@backstage/plugin-scaffolder-react';
|
|
6
|
-
import { ReviewStepProps, ScaffolderTaskOutput as ScaffolderTaskOutput$1, TemplateGroupFilter, FormProps,
|
|
6
|
+
import { FieldSchema as FieldSchema$1, ReviewStepProps, ScaffolderTaskOutput as ScaffolderTaskOutput$1, TemplateGroupFilter, FormProps, createScaffolderFieldExtension as createScaffolderFieldExtension$1, ScaffolderUseTemplateSecrets as ScaffolderUseTemplateSecrets$1, CustomFieldExtensionSchema as CustomFieldExtensionSchema$1, CustomFieldValidator as CustomFieldValidator$1, FieldExtensionOptions as FieldExtensionOptions$1, FieldExtensionComponentProps as FieldExtensionComponentProps$1, FieldExtensionComponent as FieldExtensionComponent$1, createScaffolderLayout as createScaffolderLayout$1, LayoutTemplate as LayoutTemplate$1, LayoutOptions as LayoutOptions$1 } from '@backstage/plugin-scaffolder-react';
|
|
7
7
|
export { ReviewStepProps } from '@backstage/plugin-scaffolder-react';
|
|
8
|
-
import { TemplateListPageProps, TemplateWizardPageProps } from '@backstage/plugin-scaffolder/alpha';
|
|
9
8
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
10
9
|
import { ApiHolder } from '@backstage/core-plugin-api';
|
|
10
|
+
import { TemplateListPageProps, TemplateWizardPageProps } from '@backstage/plugin-scaffolder/alpha';
|
|
11
11
|
import { z } from 'zod';
|
|
12
12
|
import { FieldValidation } from '@rjsf/utils';
|
|
13
13
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
@@ -21,6 +21,161 @@ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api'
|
|
|
21
21
|
declare class ScaffolderClient extends ScaffolderClient$1 {
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @deprecated - import from {@link @backstage/plugin-scaffolder-react#FieldSchema} instead
|
|
27
|
+
*/
|
|
28
|
+
interface FieldSchema<T, P> extends FieldSchema$1<T, P> {
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @deprecated use `makeFieldSchema` instead
|
|
33
|
+
* Utility function to convert zod return and UI options schemas to a
|
|
34
|
+
* CustomFieldExtensionSchema with FieldExtensionComponentProps type inference
|
|
35
|
+
*/
|
|
36
|
+
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>;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
declare const EntityPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
42
|
+
defaultKind?: string | undefined;
|
|
43
|
+
defaultNamespace?: string | false | undefined;
|
|
44
|
+
catalogFilter?: Record<string, string | string[] | {
|
|
45
|
+
exists?: boolean | undefined;
|
|
46
|
+
}> | Record<string, string | string[] | {
|
|
47
|
+
exists?: boolean | undefined;
|
|
48
|
+
}>[] | undefined;
|
|
49
|
+
allowedKinds?: string[] | undefined;
|
|
50
|
+
allowArbitraryValues?: boolean | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* The input props that can be specified under `ui:options` for the
|
|
54
|
+
* `EntityPicker` field extension.
|
|
55
|
+
*
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
type EntityPickerUiOptions = NonNullable<(typeof EntityPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
declare const EntityTagsPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string[], {
|
|
64
|
+
helperText?: string | undefined;
|
|
65
|
+
showCounts?: boolean | undefined;
|
|
66
|
+
kinds?: string[] | undefined;
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
* The input props that can be specified under `ui:options` for the
|
|
70
|
+
* `EntityTagsPicker` field extension.
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
type EntityTagsPickerUiOptions = NonNullable<(typeof EntityTagsPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Field schema for the MyGroupsPicker.
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
declare const MyGroupsPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, any>;
|
|
80
|
+
/**
|
|
81
|
+
* UI options for the MyGroupsPicker.
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
type MyGroupsPickerUiOptions = NonNullable<(typeof MyGroupsPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
85
|
+
/**
|
|
86
|
+
* Schema for the MyGroupsPicker.
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
declare const MyGroupsPickerSchema: _backstage_plugin_scaffolder_react.CustomFieldExtensionSchema;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
declare const OwnedEntityPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
95
|
+
defaultKind?: string | undefined;
|
|
96
|
+
defaultNamespace?: string | false | undefined;
|
|
97
|
+
catalogFilter?: Record<string, string | string[] | {
|
|
98
|
+
exists?: boolean | undefined;
|
|
99
|
+
}> | Record<string, string | string[] | {
|
|
100
|
+
exists?: boolean | undefined;
|
|
101
|
+
}>[] | undefined;
|
|
102
|
+
allowedKinds?: string[] | undefined;
|
|
103
|
+
allowArbitraryValues?: boolean | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
/**
|
|
106
|
+
* The input props that can be specified under `ui:options` for the
|
|
107
|
+
* `OwnedEntityPicker` field extension.
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
type OwnedEntityPickerUiOptions = NonNullable<(typeof OwnedEntityPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
declare const OwnerPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
116
|
+
defaultNamespace?: string | false | undefined;
|
|
117
|
+
catalogFilter?: Record<string, string | string[] | {
|
|
118
|
+
exists?: boolean | undefined;
|
|
119
|
+
}> | Record<string, string | string[] | {
|
|
120
|
+
exists?: boolean | undefined;
|
|
121
|
+
}>[] | undefined;
|
|
122
|
+
allowedKinds?: string[] | undefined;
|
|
123
|
+
allowArbitraryValues?: boolean | undefined;
|
|
124
|
+
}>;
|
|
125
|
+
/**
|
|
126
|
+
* The input props that can be specified under `ui:options` for the
|
|
127
|
+
* `OwnerPicker` field extension.
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
type OwnerPickerUiOptions = NonNullable<(typeof OwnerPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
declare const RepoUrlPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
136
|
+
allowedOrganizations?: string[] | undefined;
|
|
137
|
+
allowedOwners?: string[] | undefined;
|
|
138
|
+
allowedProjects?: string[] | undefined;
|
|
139
|
+
allowedRepos?: string[] | undefined;
|
|
140
|
+
allowedHosts?: string[] | undefined;
|
|
141
|
+
requestUserCredentials?: {
|
|
142
|
+
secretsKey: string;
|
|
143
|
+
additionalScopes?: {
|
|
144
|
+
azure?: string[] | undefined;
|
|
145
|
+
github?: string[] | undefined;
|
|
146
|
+
gitlab?: string[] | undefined;
|
|
147
|
+
bitbucket?: string[] | undefined;
|
|
148
|
+
gerrit?: string[] | undefined;
|
|
149
|
+
gitea?: string[] | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
} | undefined;
|
|
152
|
+
}>;
|
|
153
|
+
/**
|
|
154
|
+
* The input props that can be specified under `ui:options` for the
|
|
155
|
+
* `RepoUrlPicker` field extension.
|
|
156
|
+
*
|
|
157
|
+
* @public
|
|
158
|
+
* @deprecated this will be removed as it's no longer used
|
|
159
|
+
*/
|
|
160
|
+
type RepoUrlPickerUiOptions = NonNullable<(typeof RepoUrlPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The validation function for the `repoUrl` that is returned from the
|
|
164
|
+
* field extension. Ensures that you have all the required fields filled for
|
|
165
|
+
* the different providers that exist.
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
declare const repoPickerValidation: (value: string, validation: FieldValidation, context: {
|
|
169
|
+
apiHolder: ApiHolder;
|
|
170
|
+
}) => void;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* The component to select the `type` of `Template` that you will see in the table.
|
|
174
|
+
*
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
declare const TemplateTypePicker: () => react_jsx_runtime.JSX.Element | null;
|
|
178
|
+
|
|
24
179
|
/**
|
|
25
180
|
* The Props for the Scaffolder Router
|
|
26
181
|
*
|
|
@@ -62,6 +217,15 @@ type RouterProps = {
|
|
|
62
217
|
};
|
|
63
218
|
};
|
|
64
219
|
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
declare const OngoingTask: (props: {
|
|
224
|
+
TemplateOutputsComponent?: ComponentType<{
|
|
225
|
+
output?: ScaffolderTaskOutput$1;
|
|
226
|
+
}>;
|
|
227
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
228
|
+
|
|
65
229
|
/**
|
|
66
230
|
* The main plugin export for the scaffolder.
|
|
67
231
|
* @public
|
|
@@ -217,170 +381,6 @@ declare const RepoBranchPickerFieldExtension: _backstage_plugin_scaffolder_react
|
|
|
217
381
|
} | undefined;
|
|
218
382
|
}>;
|
|
219
383
|
|
|
220
|
-
/**
|
|
221
|
-
* @public
|
|
222
|
-
* @deprecated - import from {@link @backstage/plugin-scaffolder-react#FieldSchema} instead
|
|
223
|
-
*/
|
|
224
|
-
interface FieldSchema<T, P> extends FieldSchema$1<T, P> {
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* @public
|
|
228
|
-
* @deprecated use `makeFieldSchema` instead
|
|
229
|
-
* Utility function to convert zod return and UI options schemas to a
|
|
230
|
-
* CustomFieldExtensionSchema with FieldExtensionComponentProps type inference
|
|
231
|
-
*/
|
|
232
|
-
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>;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* @public
|
|
236
|
-
*/
|
|
237
|
-
declare const EntityPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
238
|
-
defaultKind?: string | undefined;
|
|
239
|
-
defaultNamespace?: string | false | undefined;
|
|
240
|
-
catalogFilter?: Record<string, string | string[] | {
|
|
241
|
-
exists?: boolean | undefined;
|
|
242
|
-
}> | Record<string, string | string[] | {
|
|
243
|
-
exists?: boolean | undefined;
|
|
244
|
-
}>[] | undefined;
|
|
245
|
-
allowedKinds?: string[] | undefined;
|
|
246
|
-
allowArbitraryValues?: boolean | undefined;
|
|
247
|
-
}>;
|
|
248
|
-
/**
|
|
249
|
-
* The input props that can be specified under `ui:options` for the
|
|
250
|
-
* `EntityPicker` field extension.
|
|
251
|
-
*
|
|
252
|
-
* @public
|
|
253
|
-
*/
|
|
254
|
-
type EntityPickerUiOptions = NonNullable<(typeof EntityPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* @public
|
|
258
|
-
*/
|
|
259
|
-
declare const EntityTagsPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string[], {
|
|
260
|
-
helperText?: string | undefined;
|
|
261
|
-
showCounts?: boolean | undefined;
|
|
262
|
-
kinds?: string[] | undefined;
|
|
263
|
-
}>;
|
|
264
|
-
/**
|
|
265
|
-
* The input props that can be specified under `ui:options` for the
|
|
266
|
-
* `EntityTagsPicker` field extension.
|
|
267
|
-
* @public
|
|
268
|
-
*/
|
|
269
|
-
type EntityTagsPickerUiOptions = NonNullable<(typeof EntityTagsPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* Field schema for the MyGroupsPicker.
|
|
273
|
-
* @public
|
|
274
|
-
*/
|
|
275
|
-
declare const MyGroupsPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, any>;
|
|
276
|
-
/**
|
|
277
|
-
* UI options for the MyGroupsPicker.
|
|
278
|
-
* @public
|
|
279
|
-
*/
|
|
280
|
-
type MyGroupsPickerUiOptions = NonNullable<(typeof MyGroupsPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
281
|
-
/**
|
|
282
|
-
* Schema for the MyGroupsPicker.
|
|
283
|
-
* @public
|
|
284
|
-
*/
|
|
285
|
-
declare const MyGroupsPickerSchema: _backstage_plugin_scaffolder_react.CustomFieldExtensionSchema;
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* @public
|
|
289
|
-
*/
|
|
290
|
-
declare const OwnedEntityPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
291
|
-
defaultKind?: string | undefined;
|
|
292
|
-
defaultNamespace?: string | false | undefined;
|
|
293
|
-
catalogFilter?: Record<string, string | string[] | {
|
|
294
|
-
exists?: boolean | undefined;
|
|
295
|
-
}> | Record<string, string | string[] | {
|
|
296
|
-
exists?: boolean | undefined;
|
|
297
|
-
}>[] | undefined;
|
|
298
|
-
allowedKinds?: string[] | undefined;
|
|
299
|
-
allowArbitraryValues?: boolean | undefined;
|
|
300
|
-
}>;
|
|
301
|
-
/**
|
|
302
|
-
* The input props that can be specified under `ui:options` for the
|
|
303
|
-
* `OwnedEntityPicker` field extension.
|
|
304
|
-
* @public
|
|
305
|
-
*/
|
|
306
|
-
type OwnedEntityPickerUiOptions = NonNullable<(typeof OwnedEntityPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* @public
|
|
310
|
-
*/
|
|
311
|
-
declare const OwnerPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
312
|
-
defaultNamespace?: string | false | undefined;
|
|
313
|
-
catalogFilter?: Record<string, string | string[] | {
|
|
314
|
-
exists?: boolean | undefined;
|
|
315
|
-
}> | Record<string, string | string[] | {
|
|
316
|
-
exists?: boolean | undefined;
|
|
317
|
-
}>[] | undefined;
|
|
318
|
-
allowedKinds?: string[] | undefined;
|
|
319
|
-
allowArbitraryValues?: boolean | undefined;
|
|
320
|
-
}>;
|
|
321
|
-
/**
|
|
322
|
-
* The input props that can be specified under `ui:options` for the
|
|
323
|
-
* `OwnerPicker` field extension.
|
|
324
|
-
* @public
|
|
325
|
-
*/
|
|
326
|
-
type OwnerPickerUiOptions = NonNullable<(typeof OwnerPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* @public
|
|
330
|
-
*/
|
|
331
|
-
declare const RepoUrlPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
332
|
-
allowedOrganizations?: string[] | undefined;
|
|
333
|
-
allowedOwners?: string[] | undefined;
|
|
334
|
-
allowedProjects?: string[] | undefined;
|
|
335
|
-
allowedRepos?: string[] | undefined;
|
|
336
|
-
allowedHosts?: string[] | undefined;
|
|
337
|
-
requestUserCredentials?: {
|
|
338
|
-
secretsKey: string;
|
|
339
|
-
additionalScopes?: {
|
|
340
|
-
azure?: string[] | undefined;
|
|
341
|
-
github?: string[] | undefined;
|
|
342
|
-
gitlab?: string[] | undefined;
|
|
343
|
-
bitbucket?: string[] | undefined;
|
|
344
|
-
gerrit?: string[] | undefined;
|
|
345
|
-
gitea?: string[] | undefined;
|
|
346
|
-
} | undefined;
|
|
347
|
-
} | undefined;
|
|
348
|
-
}>;
|
|
349
|
-
/**
|
|
350
|
-
* The input props that can be specified under `ui:options` for the
|
|
351
|
-
* `RepoUrlPicker` field extension.
|
|
352
|
-
*
|
|
353
|
-
* @public
|
|
354
|
-
* @deprecated this will be removed as it's no longer used
|
|
355
|
-
*/
|
|
356
|
-
type RepoUrlPickerUiOptions = NonNullable<(typeof RepoUrlPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* The validation function for the `repoUrl` that is returned from the
|
|
360
|
-
* field extension. Ensures that you have all the required fields filled for
|
|
361
|
-
* the different providers that exist.
|
|
362
|
-
* @public
|
|
363
|
-
*/
|
|
364
|
-
declare const repoPickerValidation: (value: string, validation: FieldValidation, context: {
|
|
365
|
-
apiHolder: ApiHolder;
|
|
366
|
-
}) => void;
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* The component to select the `type` of `Template` that you will see in the table.
|
|
370
|
-
*
|
|
371
|
-
* @public
|
|
372
|
-
*/
|
|
373
|
-
declare const TemplateTypePicker: () => react_jsx_runtime.JSX.Element | null;
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* @public
|
|
377
|
-
*/
|
|
378
|
-
declare const OngoingTask: (props: {
|
|
379
|
-
TemplateOutputsComponent?: ComponentType<{
|
|
380
|
-
output?: ScaffolderTaskOutput$1;
|
|
381
|
-
}>;
|
|
382
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
383
|
-
|
|
384
384
|
/**
|
|
385
385
|
* @public
|
|
386
386
|
* @deprecated use import from `{@link @backstage/plugin-scaffolder#scaffolderPlugin}.routes.root` instead.
|
|
@@ -544,4 +544,5 @@ type TaskPageProps = {
|
|
|
544
544
|
loadingText?: string;
|
|
545
545
|
};
|
|
546
546
|
|
|
547
|
-
export {
|
|
547
|
+
export { EntityNamePickerFieldExtension, EntityPickerFieldExtension, EntityPickerFieldSchema, EntityTagsPickerFieldExtension, EntityTagsPickerFieldSchema, MultiEntityPickerFieldExtension, MyGroupsPickerFieldExtension, MyGroupsPickerFieldSchema, MyGroupsPickerSchema, OwnedEntityPickerFieldExtension, OwnedEntityPickerFieldSchema, OwnerPickerFieldExtension, OwnerPickerFieldSchema, RepoBranchPickerFieldExtension, RepoUrlPickerFieldExtension, RepoUrlPickerFieldSchema, ScaffolderClient, ScaffolderFieldExtensions, ScaffolderLayouts, ScaffolderPage, OngoingTask as TaskPage, TemplateTypePicker, createScaffolderFieldExtension, createScaffolderLayout, makeFieldSchemaFromZod, repoPickerValidation, rootRouteRef, scaffolderApiRef, scaffolderPlugin, useTemplateSecrets };
|
|
548
|
+
export type { CustomFieldExtensionSchema, CustomFieldValidator, EntityPickerUiOptions, EntityTagsPickerUiOptions, FieldExtensionComponent, FieldExtensionComponentProps, FieldExtensionOptions, FieldSchema, LayoutOptions, LayoutTemplate, ListActionsResponse, LogEvent, MyGroupsPickerUiOptions, OwnedEntityPickerUiOptions, OwnerPickerUiOptions, RepoUrlPickerUiOptions, RouterProps, ScaffolderApi, ScaffolderDryRunOptions, ScaffolderDryRunResponse, ScaffolderGetIntegrationsListOptions, ScaffolderGetIntegrationsListResponse, ScaffolderOutputlink, ScaffolderScaffoldOptions, ScaffolderScaffoldResponse, ScaffolderStreamLogsOptions, ScaffolderTask, ScaffolderTaskOutput, ScaffolderTaskStatus, ScaffolderUseTemplateSecrets, TaskPageProps, TemplateParameterSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage/plugin-scaffolder";
|
|
2
|
-
var version = "1.34.4-next.
|
|
2
|
+
var version = "1.34.4-next.1";
|
|
3
3
|
var description = "The Backstage plugin that helps you create new things";
|
|
4
4
|
var backstage = {
|
|
5
5
|
role: "frontend-plugin",
|
|
@@ -27,7 +27,7 @@ var repository = {
|
|
|
27
27
|
};
|
|
28
28
|
var license = "Apache-2.0";
|
|
29
29
|
var sideEffects = false;
|
|
30
|
-
var exports = {
|
|
30
|
+
var exports$1 = {
|
|
31
31
|
".": "./src/index.ts",
|
|
32
32
|
"./alpha": "./src/alpha/index.ts",
|
|
33
33
|
"./package.json": "./package.json"
|
|
@@ -80,10 +80,10 @@ var dependencies = {
|
|
|
80
80
|
"@material-ui/icons": "^4.9.1",
|
|
81
81
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
82
82
|
"@react-hookz/web": "^24.0.0",
|
|
83
|
-
"@rjsf/core": "5.
|
|
84
|
-
"@rjsf/material-ui": "5.
|
|
85
|
-
"@rjsf/utils": "5.
|
|
86
|
-
"@rjsf/validator-ajv8": "5.
|
|
83
|
+
"@rjsf/core": "5.24.13",
|
|
84
|
+
"@rjsf/material-ui": "5.24.13",
|
|
85
|
+
"@rjsf/utils": "5.24.13",
|
|
86
|
+
"@rjsf/validator-ajv8": "5.24.13",
|
|
87
87
|
"@uiw/react-codemirror": "^4.9.3",
|
|
88
88
|
classnames: "^2.2.6",
|
|
89
89
|
"git-url-parse": "^15.0.0",
|
|
@@ -147,7 +147,7 @@ var _package = {
|
|
|
147
147
|
repository: repository,
|
|
148
148
|
license: license,
|
|
149
149
|
sideEffects: sideEffects,
|
|
150
|
-
exports: exports,
|
|
150
|
+
exports: exports$1,
|
|
151
151
|
main: main,
|
|
152
152
|
types: types,
|
|
153
153
|
typesVersions: typesVersions,
|
|
@@ -159,5 +159,5 @@ var _package = {
|
|
|
159
159
|
peerDependenciesMeta: peerDependenciesMeta
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
export { backstage, _package as default, dependencies, description, devDependencies, exports, files, homepage, keywords, license, main, name, peerDependencies, peerDependenciesMeta, publishConfig, repository, scripts, sideEffects, types, typesVersions, version };
|
|
162
|
+
export { backstage, _package as default, dependencies, description, devDependencies, exports$1 as exports, files, homepage, keywords, license, main, name, peerDependencies, peerDependenciesMeta, publishConfig, repository, scripts, sideEffects, types, typesVersions, version };
|
|
163
163
|
//# sourceMappingURL=package.json.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-scaffolder",
|
|
3
|
-
"version": "1.34.4-next.
|
|
3
|
+
"version": "1.34.4-next.1",
|
|
4
4
|
"description": "The Backstage plugin that helps you create new things",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -72,17 +72,17 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@backstage/catalog-client": "1.12.1",
|
|
74
74
|
"@backstage/catalog-model": "1.7.6",
|
|
75
|
-
"@backstage/core-components": "0.18.4-next.
|
|
75
|
+
"@backstage/core-components": "0.18.4-next.2",
|
|
76
76
|
"@backstage/core-plugin-api": "1.12.1-next.0",
|
|
77
77
|
"@backstage/errors": "1.2.7",
|
|
78
|
-
"@backstage/frontend-plugin-api": "0.13.2-next.
|
|
79
|
-
"@backstage/integration": "1.18.3-next.
|
|
78
|
+
"@backstage/frontend-plugin-api": "0.13.2-next.1",
|
|
79
|
+
"@backstage/integration": "1.18.3-next.1",
|
|
80
80
|
"@backstage/integration-react": "1.2.13-next.0",
|
|
81
81
|
"@backstage/plugin-catalog-common": "1.1.7",
|
|
82
|
-
"@backstage/plugin-catalog-react": "1.21.4-next.
|
|
82
|
+
"@backstage/plugin-catalog-react": "1.21.4-next.2",
|
|
83
83
|
"@backstage/plugin-permission-react": "0.4.39-next.0",
|
|
84
84
|
"@backstage/plugin-scaffolder-common": "1.7.4-next.0",
|
|
85
|
-
"@backstage/plugin-scaffolder-react": "1.19.4-next.
|
|
85
|
+
"@backstage/plugin-scaffolder-react": "1.19.4-next.2",
|
|
86
86
|
"@backstage/plugin-techdocs-common": "0.1.1",
|
|
87
87
|
"@backstage/plugin-techdocs-react": "1.3.6-next.0",
|
|
88
88
|
"@backstage/types": "1.2.2",
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
"@material-ui/icons": "^4.9.1",
|
|
94
94
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
95
95
|
"@react-hookz/web": "^24.0.0",
|
|
96
|
-
"@rjsf/core": "5.
|
|
97
|
-
"@rjsf/material-ui": "5.
|
|
98
|
-
"@rjsf/utils": "5.
|
|
99
|
-
"@rjsf/validator-ajv8": "5.
|
|
96
|
+
"@rjsf/core": "5.24.13",
|
|
97
|
+
"@rjsf/material-ui": "5.24.13",
|
|
98
|
+
"@rjsf/utils": "5.24.13",
|
|
99
|
+
"@rjsf/validator-ajv8": "5.24.13",
|
|
100
100
|
"@uiw/react-codemirror": "^4.9.3",
|
|
101
101
|
"classnames": "^2.2.6",
|
|
102
102
|
"git-url-parse": "^15.0.0",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"zod-to-json-schema": "^3.20.4"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@backstage/cli": "0.
|
|
121
|
-
"@backstage/core-app-api": "1.19.3-next.
|
|
122
|
-
"@backstage/dev-utils": "1.1.18-next.
|
|
123
|
-
"@backstage/plugin-catalog": "1.32.1-next.
|
|
120
|
+
"@backstage/cli": "0.35.0-next.2",
|
|
121
|
+
"@backstage/core-app-api": "1.19.3-next.1",
|
|
122
|
+
"@backstage/dev-utils": "1.1.18-next.1",
|
|
123
|
+
"@backstage/plugin-catalog": "1.32.1-next.1",
|
|
124
124
|
"@backstage/plugin-permission-common": "0.9.3",
|
|
125
|
-
"@backstage/plugin-techdocs": "1.16.1-next.
|
|
125
|
+
"@backstage/plugin-techdocs": "1.16.1-next.2",
|
|
126
126
|
"@backstage/test-utils": "1.7.14-next.0",
|
|
127
127
|
"@testing-library/dom": "^10.0.0",
|
|
128
128
|
"@testing-library/jest-dom": "^6.0.0",
|