@backstage/plugin-scaffolder 1.31.0-next.2 → 1.31.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/CHANGELOG.md +57 -0
- package/dist/alpha.d.ts +2 -0
- package/dist/components/fields/EntityNamePicker/schema.esm.js +4 -3
- package/dist/components/fields/EntityNamePicker/schema.esm.js.map +1 -1
- package/dist/components/fields/EntityPicker/EntityPicker.esm.js +1 -1
- package/dist/components/fields/EntityPicker/EntityPicker.esm.js.map +1 -1
- package/dist/components/fields/EntityPicker/schema.esm.js +10 -9
- package/dist/components/fields/EntityPicker/schema.esm.js.map +1 -1
- package/dist/components/fields/EntityTagsPicker/EntityTagsPicker.esm.js +44 -24
- package/dist/components/fields/EntityTagsPicker/EntityTagsPicker.esm.js.map +1 -1
- package/dist/components/fields/EntityTagsPicker/schema.esm.js +8 -7
- package/dist/components/fields/EntityTagsPicker/schema.esm.js.map +1 -1
- package/dist/components/fields/MultiEntityPicker/MultiEntityPicker.esm.js +15 -7
- package/dist/components/fields/MultiEntityPicker/MultiEntityPicker.esm.js.map +1 -1
- package/dist/components/fields/MultiEntityPicker/schema.esm.js +5 -5
- package/dist/components/fields/MultiEntityPicker/schema.esm.js.map +1 -1
- package/dist/components/fields/MyGroupsPicker/MyGroupsPicker.esm.js +10 -6
- package/dist/components/fields/MyGroupsPicker/MyGroupsPicker.esm.js.map +1 -1
- package/dist/components/fields/MyGroupsPicker/schema.esm.js +4 -9
- package/dist/components/fields/MyGroupsPicker/schema.esm.js.map +1 -1
- package/dist/components/fields/OwnedEntityPicker/OwnedEntityPicker.esm.js +25 -14
- package/dist/components/fields/OwnedEntityPicker/OwnedEntityPicker.esm.js.map +1 -1
- package/dist/components/fields/OwnedEntityPicker/schema.esm.js +2 -19
- package/dist/components/fields/OwnedEntityPicker/schema.esm.js.map +1 -1
- package/dist/components/fields/OwnerPicker/schema.esm.js +9 -8
- package/dist/components/fields/OwnerPicker/schema.esm.js.map +1 -1
- package/dist/components/fields/RepoBranchPicker/RepoBranchPicker.esm.js +3 -1
- package/dist/components/fields/RepoBranchPicker/RepoBranchPicker.esm.js.map +1 -1
- package/dist/components/fields/RepoBranchPicker/schema.esm.js +5 -6
- package/dist/components/fields/RepoBranchPicker/schema.esm.js.map +1 -1
- package/dist/components/fields/RepoUrlPicker/RepoUrlPicker.esm.js +3 -1
- package/dist/components/fields/RepoUrlPicker/RepoUrlPicker.esm.js.map +1 -1
- package/dist/components/fields/RepoUrlPicker/schema.esm.js.map +1 -1
- package/dist/components/fields/SecretInput/SecretInput.esm.js +3 -2
- package/dist/components/fields/SecretInput/SecretInput.esm.js.map +1 -1
- package/dist/index.d.ts +28 -34
- package/dist/translation.esm.js +4 -0
- package/dist/translation.esm.js.map +1 -1
- package/package.json +22 -22
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import * as react from 'react';
|
|
|
10
10
|
import { ComponentType, PropsWithChildren } from 'react';
|
|
11
11
|
import { TemplateEntityV1beta3 } from '@backstage/plugin-scaffolder-common';
|
|
12
12
|
import { TemplateListPageProps, TemplateWizardPageProps } from '@backstage/plugin-scaffolder/alpha';
|
|
13
|
-
import { z } from 'zod';
|
|
14
13
|
import { FieldValidation } from '@rjsf/utils';
|
|
14
|
+
import { z } from 'zod';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* An API to interact with the scaffolder backend.
|
|
@@ -147,7 +147,7 @@ declare const EntityPickerFieldExtension: _backstage_plugin_scaffolder_react.Fie
|
|
|
147
147
|
*
|
|
148
148
|
* @public
|
|
149
149
|
*/
|
|
150
|
-
declare const EntityNamePickerFieldExtension: _backstage_plugin_scaffolder_react.FieldExtensionComponent<string,
|
|
150
|
+
declare const EntityNamePickerFieldExtension: _backstage_plugin_scaffolder_react.FieldExtensionComponent<string, any>;
|
|
151
151
|
/**
|
|
152
152
|
* A field extension for selecting multiple entities that exists in the Catalog.
|
|
153
153
|
*
|
|
@@ -207,10 +207,7 @@ declare const OwnerPickerFieldExtension: _backstage_plugin_scaffolder_react.Fiel
|
|
|
207
207
|
*
|
|
208
208
|
* @public
|
|
209
209
|
*/
|
|
210
|
-
declare const MyGroupsPickerFieldExtension: _backstage_plugin_scaffolder_react.FieldExtensionComponent<string,
|
|
211
|
-
title?: string | undefined;
|
|
212
|
-
description?: string | undefined;
|
|
213
|
-
}>;
|
|
210
|
+
declare const MyGroupsPickerFieldExtension: _backstage_plugin_scaffolder_react.FieldExtensionComponent<string, any>;
|
|
214
211
|
/**
|
|
215
212
|
* The Router and main entrypoint to the Scaffolder plugin.
|
|
216
213
|
*
|
|
@@ -261,24 +258,10 @@ declare const RepoBranchPickerFieldExtension: _backstage_plugin_scaffolder_react
|
|
|
261
258
|
} | undefined;
|
|
262
259
|
}>;
|
|
263
260
|
|
|
264
|
-
/**
|
|
265
|
-
* @public
|
|
266
|
-
* @deprecated - import from {@link @backstage/plugin-scaffolder-react#FieldSchema} instead
|
|
267
|
-
*/
|
|
268
|
-
interface FieldSchema<T, P> extends FieldSchema$1<T, P> {
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* @public
|
|
272
|
-
* @deprecated use `makeFieldSchema` instead
|
|
273
|
-
* Utility function to convert zod return and UI options schemas to a
|
|
274
|
-
* CustomFieldExtensionSchema with FieldExtensionComponentProps type inference
|
|
275
|
-
*/
|
|
276
|
-
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>;
|
|
277
|
-
|
|
278
261
|
/**
|
|
279
262
|
* @public
|
|
280
263
|
*/
|
|
281
|
-
declare const EntityPickerFieldSchema: FieldSchema<string, {
|
|
264
|
+
declare const EntityPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
282
265
|
defaultKind?: string | undefined;
|
|
283
266
|
defaultNamespace?: string | false | undefined;
|
|
284
267
|
catalogFilter?: Record<string, string | string[] | {
|
|
@@ -295,12 +278,12 @@ declare const EntityPickerFieldSchema: FieldSchema<string, {
|
|
|
295
278
|
*
|
|
296
279
|
* @public
|
|
297
280
|
*/
|
|
298
|
-
type EntityPickerUiOptions = typeof EntityPickerFieldSchema.
|
|
281
|
+
type EntityPickerUiOptions = NonNullable<(typeof EntityPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
299
282
|
|
|
300
283
|
/**
|
|
301
284
|
* @public
|
|
302
285
|
*/
|
|
303
|
-
declare const OwnerPickerFieldSchema: FieldSchema<string, {
|
|
286
|
+
declare const OwnerPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
304
287
|
defaultNamespace?: string | false | undefined;
|
|
305
288
|
catalogFilter?: Record<string, string | string[] | {
|
|
306
289
|
exists?: boolean | undefined;
|
|
@@ -316,7 +299,7 @@ declare const OwnerPickerFieldSchema: FieldSchema<string, {
|
|
|
316
299
|
*
|
|
317
300
|
* @public
|
|
318
301
|
*/
|
|
319
|
-
type OwnerPickerUiOptions = typeof OwnerPickerFieldSchema.
|
|
302
|
+
type OwnerPickerUiOptions = NonNullable<(typeof OwnerPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
320
303
|
|
|
321
304
|
/**
|
|
322
305
|
* @public
|
|
@@ -346,7 +329,7 @@ declare const RepoUrlPickerFieldSchema: _backstage_plugin_scaffolder_react.Field
|
|
|
346
329
|
* @public
|
|
347
330
|
* @deprecated this will be removed as it's no longer used
|
|
348
331
|
*/
|
|
349
|
-
type RepoUrlPickerUiOptions = typeof RepoUrlPickerFieldSchema.
|
|
332
|
+
type RepoUrlPickerUiOptions = NonNullable<(typeof RepoUrlPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
350
333
|
|
|
351
334
|
/**
|
|
352
335
|
* The validation function for the `repoUrl` that is returned from the
|
|
@@ -362,7 +345,7 @@ declare const repoPickerValidation: (value: string, validation: FieldValidation,
|
|
|
362
345
|
/**
|
|
363
346
|
* @public
|
|
364
347
|
*/
|
|
365
|
-
declare const OwnedEntityPickerFieldSchema: FieldSchema<string, {
|
|
348
|
+
declare const OwnedEntityPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, {
|
|
366
349
|
defaultKind?: string | undefined;
|
|
367
350
|
defaultNamespace?: string | false | undefined;
|
|
368
351
|
catalogFilter?: Record<string, string | string[] | {
|
|
@@ -379,12 +362,12 @@ declare const OwnedEntityPickerFieldSchema: FieldSchema<string, {
|
|
|
379
362
|
*
|
|
380
363
|
* @public
|
|
381
364
|
*/
|
|
382
|
-
type OwnedEntityPickerUiOptions = typeof OwnedEntityPickerFieldSchema.
|
|
365
|
+
type OwnedEntityPickerUiOptions = NonNullable<(typeof OwnedEntityPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
383
366
|
|
|
384
367
|
/**
|
|
385
368
|
* @public
|
|
386
369
|
*/
|
|
387
|
-
declare const EntityTagsPickerFieldSchema: FieldSchema<string[], {
|
|
370
|
+
declare const EntityTagsPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string[], {
|
|
388
371
|
helperText?: string | undefined;
|
|
389
372
|
showCounts?: boolean | undefined;
|
|
390
373
|
kinds?: string[] | undefined;
|
|
@@ -395,27 +378,38 @@ declare const EntityTagsPickerFieldSchema: FieldSchema<string[], {
|
|
|
395
378
|
*
|
|
396
379
|
* @public
|
|
397
380
|
*/
|
|
398
|
-
type EntityTagsPickerUiOptions = typeof EntityTagsPickerFieldSchema.
|
|
381
|
+
type EntityTagsPickerUiOptions = NonNullable<(typeof EntityTagsPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
399
382
|
|
|
400
383
|
/**
|
|
401
384
|
* Field schema for the MyGroupsPicker.
|
|
402
385
|
* @public
|
|
403
386
|
*/
|
|
404
|
-
declare const MyGroupsPickerFieldSchema: FieldSchema<string,
|
|
405
|
-
title?: string | undefined;
|
|
406
|
-
description?: string | undefined;
|
|
407
|
-
}>;
|
|
387
|
+
declare const MyGroupsPickerFieldSchema: _backstage_plugin_scaffolder_react.FieldSchema<string, any>;
|
|
408
388
|
/**
|
|
409
389
|
* UI options for the MyGroupsPicker.
|
|
410
390
|
* @public
|
|
411
391
|
*/
|
|
412
|
-
type MyGroupsPickerUiOptions = typeof MyGroupsPickerFieldSchema.
|
|
392
|
+
type MyGroupsPickerUiOptions = NonNullable<(typeof MyGroupsPickerFieldSchema.TProps.uiSchema)['ui:options']>;
|
|
413
393
|
/**
|
|
414
394
|
* Schema for the MyGroupsPicker.
|
|
415
395
|
* @public
|
|
416
396
|
*/
|
|
417
397
|
declare const MyGroupsPickerSchema: _backstage_plugin_scaffolder_react.CustomFieldExtensionSchema;
|
|
418
398
|
|
|
399
|
+
/**
|
|
400
|
+
* @public
|
|
401
|
+
* @deprecated - import from {@link @backstage/plugin-scaffolder-react#FieldSchema} instead
|
|
402
|
+
*/
|
|
403
|
+
interface FieldSchema<T, P> extends FieldSchema$1<T, P> {
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
* @deprecated use `makeFieldSchema` instead
|
|
408
|
+
* Utility function to convert zod return and UI options schemas to a
|
|
409
|
+
* CustomFieldExtensionSchema with FieldExtensionComponentProps type inference
|
|
410
|
+
*/
|
|
411
|
+
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>;
|
|
412
|
+
|
|
419
413
|
/**
|
|
420
414
|
* The component to select the `type` of `Template` that you will see in the table.
|
|
421
415
|
*
|
package/dist/translation.esm.js
CHANGED
|
@@ -33,6 +33,10 @@ const scaffolderTranslationRef = createTranslationRef({
|
|
|
33
33
|
title: "Tags",
|
|
34
34
|
description: "Add any relevant tags, hit 'Enter' to add new tags. Valid format: [a-z0-9+#] separated by [-], at most 63 characters"
|
|
35
35
|
},
|
|
36
|
+
multiEntityPicker: {
|
|
37
|
+
title: "Entity",
|
|
38
|
+
description: "An entity from the catalog"
|
|
39
|
+
},
|
|
36
40
|
myGroupsPicker: {
|
|
37
41
|
title: "Entity",
|
|
38
42
|
description: "An entity from the catalog"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const scaffolderTranslationRef = createTranslationRef({\n id: 'scaffolder',\n messages: {\n actionsPage: {\n title: 'Installed actions',\n pageTitle: 'Create a New Component',\n subtitle: 'This is the collection of all installed actions',\n content: {\n emptyState: {\n title: 'No information to display',\n description:\n 'There are no actions installed or there was an issue communicating with backend.',\n },\n searchFieldPlaceholder: 'Search for an action',\n },\n action: {\n input: 'Input',\n output: 'Output',\n examples: 'Examples',\n },\n },\n fields: {\n entityNamePicker: {\n title: 'Name',\n description: 'Unique name of the component',\n },\n entityPicker: {\n title: 'Entity',\n description: 'An entity from the catalog',\n },\n entityTagsPicker: {\n title: 'Tags',\n description:\n \"Add any relevant tags, hit 'Enter' to add new tags. Valid format: [a-z0-9+#] separated by [-], at most 63 characters\",\n },\n myGroupsPicker: {\n title: 'Entity',\n description: 'An entity from the catalog',\n },\n ownedEntityPicker: {\n title: 'Entity',\n description: 'An entity from the catalog',\n },\n ownerPicker: {\n title: 'Owner',\n description: 'The owner of the component',\n },\n azureRepoPicker: {\n organization: {\n title: 'Organization',\n description: 'The Organization that this repo will belong to',\n },\n project: {\n title: 'Project',\n description: 'The Project that this repo will belong to',\n },\n },\n bitbucketRepoPicker: {\n workspaces: {\n title: 'Allowed Workspaces',\n inputTitle: 'Workspaces',\n description: 'The Workspace that this repo will belong to',\n },\n project: {\n title: 'Allowed Projects',\n inputTitle: 'Projects',\n description: 'The Project that this repo will belong to',\n },\n },\n gerritRepoPicker: {\n owner: {\n title: 'Owner',\n description: 'The owner of the project (optional)',\n },\n parent: {\n title: 'Parent',\n description: 'The project parent that the repo will belong to',\n },\n },\n giteaRepoPicker: {\n owner: {\n title: 'Owner Available',\n inputTitle: 'Owner',\n description:\n 'Gitea namespace where this repository will belong to. It can be the name of organization, group, subgroup, user, or the project.',\n },\n },\n githubRepoPicker: {\n owner: {\n title: 'Owner Available',\n inputTitle: 'Owner',\n description:\n 'The organization, user or project that this repo will belong to',\n },\n },\n gitlabRepoPicker: {\n owner: {\n title: 'Owner Available',\n inputTitle: 'Owner',\n description:\n 'GitLab namespace where this repository will belong to. It can be the name of organization, group, subgroup, user, or the project.',\n },\n },\n repoUrlPicker: {\n host: {\n title: 'Host',\n description: 'The host where the repository will be created',\n },\n repository: {\n title: 'Repositories Available',\n inputTitle: 'Repository',\n description: 'The name of the repository',\n },\n },\n },\n listTaskPage: {\n title: 'List template tasks',\n pageTitle: 'Templates Tasks',\n subtitle: 'All tasks that have been started',\n content: {\n emptyState: {\n title: 'No information to display',\n description:\n 'There are no tasks or there was an issue communicating with backend.',\n },\n tableTitle: 'Tasks',\n tableCell: {\n taskID: 'Task ID',\n template: 'Template',\n created: 'Created',\n owner: 'Owner',\n status: 'Status',\n },\n },\n },\n ownerListPicker: {\n title: 'Task Owner',\n options: {\n owned: 'Owned',\n all: 'All',\n },\n },\n ongoingTask: {\n title: 'Run of',\n pageTitle: {\n hasTemplateName: 'Run of {{templateName}}',\n noTemplateName: 'Scaffolder Run',\n },\n subtitle: 'Task {{taskId}}',\n cancelButtonTitle: 'Cancel',\n retryButtonTitle: 'Retry',\n startOverButtonTitle: 'Start Over',\n hideLogsButtonTitle: 'Hide Logs',\n showLogsButtonTitle: 'Show Logs',\n contextMenu: {\n hideLogs: 'Hide Logs',\n showLogs: 'Show Logs',\n hideButtonBar: 'Hide Button Bar',\n retry: 'Retry',\n showButtonBar: 'Show Button Bar',\n startOver: 'Start Over',\n cancel: 'Cancel',\n },\n },\n templateEditorForm: {\n stepper: {\n emptyText: 'There are no spec parameters in the template to preview.',\n },\n },\n renderSchema: {\n tableCell: {\n name: 'Name',\n title: 'Title',\n description: 'Description',\n type: 'Type',\n },\n undefined: 'No schema defined',\n },\n templatingExtensions: {\n title: 'Templating Extensions',\n pageTitle: 'Templating Extensions',\n subtitle: 'This is the collection of available templating extensions',\n content: {\n emptyState: {\n title: 'No information to display',\n description:\n 'There are no templating extensions available or there was an issue communicating with the backend.',\n },\n searchFieldPlaceholder: 'Search for an extension',\n filters: {\n title: 'Filters',\n notAvailable: 'There are no template filters defined.',\n metadataAbsent: 'Filter metadata unavailable',\n schema: {\n input: 'Input',\n arguments: 'Arguments',\n output: 'Output',\n },\n examples: 'Examples',\n },\n functions: {\n title: 'Functions',\n notAvailable: 'There are no global template functions defined.',\n schema: {\n arguments: 'Arguments',\n output: 'Output',\n },\n examples: 'Examples',\n },\n values: {\n title: 'Values',\n notAvailable: 'There are no global template values defined.',\n },\n },\n },\n templateTypePicker: {\n title: 'Categories',\n },\n templateIntroPage: {\n title: 'Manage Templates',\n subtitle:\n 'Edit, preview, and try out templates, forms, and custom fields',\n },\n templateFormPage: {\n title: 'Template Editor',\n subtitle: 'Edit, preview, and try out templates forms',\n },\n templateCustomFieldPage: {\n title: 'Custom Field Explorer',\n subtitle: 'Edit, preview, and try out custom fields',\n },\n templateEditorPage: {\n title: 'Template Editor',\n subtitle: 'Edit, preview, and try out templates and template forms',\n dryRunResults: {\n title: 'Dry-run results',\n },\n dryRunResultsList: {\n title: 'Result {{resultId}}',\n downloadButtonTitle: 'Download as .zip',\n deleteButtonTitle: 'Delete result',\n },\n dryRunResultsView: {\n tab: {\n files: 'Files',\n log: 'Log',\n output: 'Output',\n },\n },\n taskStatusStepper: {\n skippedStepTitle: 'Skipped',\n },\n customFieldExplorer: {\n selectFieldLabel: 'Choose Custom Field Extension',\n fieldForm: {\n title: 'Field Options',\n applyButtonTitle: 'Apply',\n },\n fieldPreview: {\n title: 'Field Preview',\n },\n preview: {\n title: 'Template Spec',\n },\n },\n templateEditorBrowser: {\n closeConfirmMessage: 'Are you sure? Unsaved changes will be lost',\n saveIconTooltip: 'Save all files',\n reloadIconTooltip: 'Reload directory',\n closeIconTooltip: 'Close directory',\n },\n templateEditorIntro: {\n title: 'Get started by choosing one of the options below',\n loadLocal: {\n title: 'Load Template Directory',\n description:\n 'Load a local template directory, allowing you to both edit and try executing your own template.',\n unsupportedTooltip:\n 'Only supported in some Chromium-based browsers with the page loaded over HTTPS',\n },\n createLocal: {\n title: 'Create New Template',\n description:\n 'Create a local template directory, allowing you to both edit and try executing your own template.',\n unsupportedTooltip:\n 'Only supported in some Chromium-based browsers with the page loaded over HTTPS',\n },\n formEditor: {\n title: 'Template Form Playground',\n description:\n 'Preview and edit a template form, either using a sample template or by loading a template from the catalog.',\n },\n fieldExplorer: {\n title: 'Custom Field Explorer',\n description:\n 'View and play around with available installed custom field extensions.',\n },\n },\n templateEditorTextArea: {\n saveIconTooltip: 'Save file',\n refreshIconTooltip: 'Reload file',\n emptyStateParagraph: 'Please select an action on the file menu.',\n },\n templateFormPreviewer: {\n title: 'Load Existing Template',\n },\n },\n templateListPage: {\n title: 'Create a new component',\n subtitle:\n 'Create new software components using standard templates in your organization',\n pageTitle: 'Create a new component',\n templateGroups: {\n defaultTitle: 'Templates',\n otherTitle: 'Other Templates',\n },\n contentHeader: {\n registerExistingButtonTitle: 'Register Existing Component',\n supportButtonTitle:\n 'Create new software components using standard templates. Different templates create different kinds of components (services, websites, documentation, ...).',\n },\n additionalLinksForEntity: {\n viewTechDocsTitle: 'View TechDocs',\n },\n },\n templateWizardPage: {\n title: 'Create a new component',\n subtitle:\n 'Create new software components using standard templates in your organization',\n pageTitle: 'Create a new component',\n pageContextMenu: {\n editConfigurationTitle: 'Edit Configuration',\n },\n },\n templateEditorToolbar: {\n customFieldExplorerTooltip: 'Custom Fields Explorer',\n installedActionsDocumentationTooltip: 'Installed Actions Documentation',\n templatingExtensionsDocumentationTooltip:\n 'Templating Extensions Documentation',\n addToCatalogButton: 'Publish',\n addToCatalogDialogTitle: 'Publish changes',\n addToCatalogDialogContent: {\n stepsIntroduction:\n 'Follow the instructions below to create or update a template:',\n stepsListItems:\n 'Save the template files in a local directory\\nCreate a pull request to a new or existing git repository\\nIf the template already exists, the changes will be reflected in the software catalog once the pull request gets merged\\nBut if you are creating a new template, follow the documentation linked below to register the new template repository in software catalog',\n },\n addToCatalogDialogActions: {\n documentationButton: 'Go to the documentation',\n documentationUrl:\n 'https://backstage.io/docs/features/software-templates/adding-templates/',\n },\n },\n templateEditorToolbarFileMenu: {\n button: 'File',\n options: {\n openDirectory: 'Open template directory',\n createDirectory: 'Create template directory',\n closeEditor: 'Close template editor',\n },\n },\n templateEditorToolbarTemplatesMenu: {\n button: 'Templates',\n },\n },\n});\n"],"names":[],"mappings":";;AAkBO,MAAM,2BAA2B,oBAAqB,CAAA;AAAA,EAC3D,EAAI,EAAA,YAAA;AAAA,EACJ,QAAU,EAAA;AAAA,IACR,WAAa,EAAA;AAAA,MACX,KAAO,EAAA,mBAAA;AAAA,MACP,SAAW,EAAA,wBAAA;AAAA,MACX,QAAU,EAAA,iDAAA;AAAA,MACV,OAAS,EAAA;AAAA,QACP,UAAY,EAAA;AAAA,UACV,KAAO,EAAA,2BAAA;AAAA,UACP,WACE,EAA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AClC,MAAQ,EAAA;AAAA;AACV;AAEJ,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"translation.esm.js","sources":["../src/translation.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/** @alpha */\nexport const scaffolderTranslationRef = createTranslationRef({\n id: 'scaffolder',\n messages: {\n actionsPage: {\n title: 'Installed actions',\n pageTitle: 'Create a New Component',\n subtitle: 'This is the collection of all installed actions',\n content: {\n emptyState: {\n title: 'No information to display',\n description:\n 'There are no actions installed or there was an issue communicating with backend.',\n },\n searchFieldPlaceholder: 'Search for an action',\n },\n action: {\n input: 'Input',\n output: 'Output',\n examples: 'Examples',\n },\n },\n fields: {\n entityNamePicker: {\n title: 'Name',\n description: 'Unique name of the component',\n },\n entityPicker: {\n title: 'Entity',\n description: 'An entity from the catalog',\n },\n entityTagsPicker: {\n title: 'Tags',\n description:\n \"Add any relevant tags, hit 'Enter' to add new tags. Valid format: [a-z0-9+#] separated by [-], at most 63 characters\",\n },\n multiEntityPicker: {\n title: 'Entity',\n description: 'An entity from the catalog',\n },\n myGroupsPicker: {\n title: 'Entity',\n description: 'An entity from the catalog',\n },\n ownedEntityPicker: {\n title: 'Entity',\n description: 'An entity from the catalog',\n },\n ownerPicker: {\n title: 'Owner',\n description: 'The owner of the component',\n },\n azureRepoPicker: {\n organization: {\n title: 'Organization',\n description: 'The Organization that this repo will belong to',\n },\n project: {\n title: 'Project',\n description: 'The Project that this repo will belong to',\n },\n },\n bitbucketRepoPicker: {\n workspaces: {\n title: 'Allowed Workspaces',\n inputTitle: 'Workspaces',\n description: 'The Workspace that this repo will belong to',\n },\n project: {\n title: 'Allowed Projects',\n inputTitle: 'Projects',\n description: 'The Project that this repo will belong to',\n },\n },\n gerritRepoPicker: {\n owner: {\n title: 'Owner',\n description: 'The owner of the project (optional)',\n },\n parent: {\n title: 'Parent',\n description: 'The project parent that the repo will belong to',\n },\n },\n giteaRepoPicker: {\n owner: {\n title: 'Owner Available',\n inputTitle: 'Owner',\n description:\n 'Gitea namespace where this repository will belong to. It can be the name of organization, group, subgroup, user, or the project.',\n },\n },\n githubRepoPicker: {\n owner: {\n title: 'Owner Available',\n inputTitle: 'Owner',\n description:\n 'The organization, user or project that this repo will belong to',\n },\n },\n gitlabRepoPicker: {\n owner: {\n title: 'Owner Available',\n inputTitle: 'Owner',\n description:\n 'GitLab namespace where this repository will belong to. It can be the name of organization, group, subgroup, user, or the project.',\n },\n },\n repoUrlPicker: {\n host: {\n title: 'Host',\n description: 'The host where the repository will be created',\n },\n repository: {\n title: 'Repositories Available',\n inputTitle: 'Repository',\n description: 'The name of the repository',\n },\n },\n },\n listTaskPage: {\n title: 'List template tasks',\n pageTitle: 'Templates Tasks',\n subtitle: 'All tasks that have been started',\n content: {\n emptyState: {\n title: 'No information to display',\n description:\n 'There are no tasks or there was an issue communicating with backend.',\n },\n tableTitle: 'Tasks',\n tableCell: {\n taskID: 'Task ID',\n template: 'Template',\n created: 'Created',\n owner: 'Owner',\n status: 'Status',\n },\n },\n },\n ownerListPicker: {\n title: 'Task Owner',\n options: {\n owned: 'Owned',\n all: 'All',\n },\n },\n ongoingTask: {\n title: 'Run of',\n pageTitle: {\n hasTemplateName: 'Run of {{templateName}}',\n noTemplateName: 'Scaffolder Run',\n },\n subtitle: 'Task {{taskId}}',\n cancelButtonTitle: 'Cancel',\n retryButtonTitle: 'Retry',\n startOverButtonTitle: 'Start Over',\n hideLogsButtonTitle: 'Hide Logs',\n showLogsButtonTitle: 'Show Logs',\n contextMenu: {\n hideLogs: 'Hide Logs',\n showLogs: 'Show Logs',\n hideButtonBar: 'Hide Button Bar',\n retry: 'Retry',\n showButtonBar: 'Show Button Bar',\n startOver: 'Start Over',\n cancel: 'Cancel',\n },\n },\n templateEditorForm: {\n stepper: {\n emptyText: 'There are no spec parameters in the template to preview.',\n },\n },\n renderSchema: {\n tableCell: {\n name: 'Name',\n title: 'Title',\n description: 'Description',\n type: 'Type',\n },\n undefined: 'No schema defined',\n },\n templatingExtensions: {\n title: 'Templating Extensions',\n pageTitle: 'Templating Extensions',\n subtitle: 'This is the collection of available templating extensions',\n content: {\n emptyState: {\n title: 'No information to display',\n description:\n 'There are no templating extensions available or there was an issue communicating with the backend.',\n },\n searchFieldPlaceholder: 'Search for an extension',\n filters: {\n title: 'Filters',\n notAvailable: 'There are no template filters defined.',\n metadataAbsent: 'Filter metadata unavailable',\n schema: {\n input: 'Input',\n arguments: 'Arguments',\n output: 'Output',\n },\n examples: 'Examples',\n },\n functions: {\n title: 'Functions',\n notAvailable: 'There are no global template functions defined.',\n schema: {\n arguments: 'Arguments',\n output: 'Output',\n },\n examples: 'Examples',\n },\n values: {\n title: 'Values',\n notAvailable: 'There are no global template values defined.',\n },\n },\n },\n templateTypePicker: {\n title: 'Categories',\n },\n templateIntroPage: {\n title: 'Manage Templates',\n subtitle:\n 'Edit, preview, and try out templates, forms, and custom fields',\n },\n templateFormPage: {\n title: 'Template Editor',\n subtitle: 'Edit, preview, and try out templates forms',\n },\n templateCustomFieldPage: {\n title: 'Custom Field Explorer',\n subtitle: 'Edit, preview, and try out custom fields',\n },\n templateEditorPage: {\n title: 'Template Editor',\n subtitle: 'Edit, preview, and try out templates and template forms',\n dryRunResults: {\n title: 'Dry-run results',\n },\n dryRunResultsList: {\n title: 'Result {{resultId}}',\n downloadButtonTitle: 'Download as .zip',\n deleteButtonTitle: 'Delete result',\n },\n dryRunResultsView: {\n tab: {\n files: 'Files',\n log: 'Log',\n output: 'Output',\n },\n },\n taskStatusStepper: {\n skippedStepTitle: 'Skipped',\n },\n customFieldExplorer: {\n selectFieldLabel: 'Choose Custom Field Extension',\n fieldForm: {\n title: 'Field Options',\n applyButtonTitle: 'Apply',\n },\n fieldPreview: {\n title: 'Field Preview',\n },\n preview: {\n title: 'Template Spec',\n },\n },\n templateEditorBrowser: {\n closeConfirmMessage: 'Are you sure? Unsaved changes will be lost',\n saveIconTooltip: 'Save all files',\n reloadIconTooltip: 'Reload directory',\n closeIconTooltip: 'Close directory',\n },\n templateEditorIntro: {\n title: 'Get started by choosing one of the options below',\n loadLocal: {\n title: 'Load Template Directory',\n description:\n 'Load a local template directory, allowing you to both edit and try executing your own template.',\n unsupportedTooltip:\n 'Only supported in some Chromium-based browsers with the page loaded over HTTPS',\n },\n createLocal: {\n title: 'Create New Template',\n description:\n 'Create a local template directory, allowing you to both edit and try executing your own template.',\n unsupportedTooltip:\n 'Only supported in some Chromium-based browsers with the page loaded over HTTPS',\n },\n formEditor: {\n title: 'Template Form Playground',\n description:\n 'Preview and edit a template form, either using a sample template or by loading a template from the catalog.',\n },\n fieldExplorer: {\n title: 'Custom Field Explorer',\n description:\n 'View and play around with available installed custom field extensions.',\n },\n },\n templateEditorTextArea: {\n saveIconTooltip: 'Save file',\n refreshIconTooltip: 'Reload file',\n emptyStateParagraph: 'Please select an action on the file menu.',\n },\n templateFormPreviewer: {\n title: 'Load Existing Template',\n },\n },\n templateListPage: {\n title: 'Create a new component',\n subtitle:\n 'Create new software components using standard templates in your organization',\n pageTitle: 'Create a new component',\n templateGroups: {\n defaultTitle: 'Templates',\n otherTitle: 'Other Templates',\n },\n contentHeader: {\n registerExistingButtonTitle: 'Register Existing Component',\n supportButtonTitle:\n 'Create new software components using standard templates. Different templates create different kinds of components (services, websites, documentation, ...).',\n },\n additionalLinksForEntity: {\n viewTechDocsTitle: 'View TechDocs',\n },\n },\n templateWizardPage: {\n title: 'Create a new component',\n subtitle:\n 'Create new software components using standard templates in your organization',\n pageTitle: 'Create a new component',\n pageContextMenu: {\n editConfigurationTitle: 'Edit Configuration',\n },\n },\n templateEditorToolbar: {\n customFieldExplorerTooltip: 'Custom Fields Explorer',\n installedActionsDocumentationTooltip: 'Installed Actions Documentation',\n templatingExtensionsDocumentationTooltip:\n 'Templating Extensions Documentation',\n addToCatalogButton: 'Publish',\n addToCatalogDialogTitle: 'Publish changes',\n addToCatalogDialogContent: {\n stepsIntroduction:\n 'Follow the instructions below to create or update a template:',\n stepsListItems:\n 'Save the template files in a local directory\\nCreate a pull request to a new or existing git repository\\nIf the template already exists, the changes will be reflected in the software catalog once the pull request gets merged\\nBut if you are creating a new template, follow the documentation linked below to register the new template repository in software catalog',\n },\n addToCatalogDialogActions: {\n documentationButton: 'Go to the documentation',\n documentationUrl:\n 'https://backstage.io/docs/features/software-templates/adding-templates/',\n },\n },\n templateEditorToolbarFileMenu: {\n button: 'File',\n options: {\n openDirectory: 'Open template directory',\n createDirectory: 'Create template directory',\n closeEditor: 'Close template editor',\n },\n },\n templateEditorToolbarTemplatesMenu: {\n button: 'Templates',\n },\n },\n});\n"],"names":[],"mappings":";;AAkBO,MAAM,2BAA2B,oBAAqB,CAAA;AAAA,EAC3D,EAAI,EAAA,YAAA;AAAA,EACJ,QAAU,EAAA;AAAA,IACR,WAAa,EAAA;AAAA,MACX,KAAO,EAAA,mBAAA;AAAA,MACP,SAAW,EAAA,wBAAA;AAAA,MACX,QAAU,EAAA,iDAAA;AAAA,MACV,OAAS,EAAA;AAAA,QACP,UAAY,EAAA;AAAA,UACV,KAAO,EAAA,2BAAA;AAAA,UACP,WACE,EAAA;AAAA,SACJ;AAAA,QACA,sBAAwB,EAAA;AAAA,OAC1B;AAAA,MACA,MAAQ,EAAA;AAAA,QACN,KAAO,EAAA,OAAA;AAAA,QACP,MAAQ,EAAA,QAAA;AAAA,QACR,QAAU,EAAA;AAAA;AACZ,KACF;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,gBAAkB,EAAA;AAAA,QAChB,KAAO,EAAA,MAAA;AAAA,Q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
+
"version": "1.31.0",
|
|
4
4
|
"description": "The Backstage plugin that helps you create new things",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -70,21 +70,21 @@
|
|
|
70
70
|
"test": "backstage-cli package test"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@backstage/catalog-client": "1.10.0
|
|
74
|
-
"@backstage/catalog-model": "1.7.
|
|
75
|
-
"@backstage/core-compat-api": "0.4.2
|
|
76
|
-
"@backstage/core-components": "0.17.2
|
|
77
|
-
"@backstage/core-plugin-api": "1.10.7
|
|
78
|
-
"@backstage/errors": "1.2.7",
|
|
79
|
-
"@backstage/frontend-plugin-api": "0.10.2
|
|
80
|
-
"@backstage/integration": "1.17.0
|
|
81
|
-
"@backstage/integration-react": "1.2.7
|
|
82
|
-
"@backstage/plugin-catalog-common": "1.1.4
|
|
83
|
-
"@backstage/plugin-catalog-react": "1.18.0
|
|
84
|
-
"@backstage/plugin-permission-react": "0.4.34
|
|
85
|
-
"@backstage/plugin-scaffolder-common": "1.5.11
|
|
86
|
-
"@backstage/plugin-scaffolder-react": "1.16.0
|
|
87
|
-
"@backstage/types": "1.2.1",
|
|
73
|
+
"@backstage/catalog-client": "^1.10.0",
|
|
74
|
+
"@backstage/catalog-model": "^1.7.4",
|
|
75
|
+
"@backstage/core-compat-api": "^0.4.2",
|
|
76
|
+
"@backstage/core-components": "^0.17.2",
|
|
77
|
+
"@backstage/core-plugin-api": "^1.10.7",
|
|
78
|
+
"@backstage/errors": "^1.2.7",
|
|
79
|
+
"@backstage/frontend-plugin-api": "^0.10.2",
|
|
80
|
+
"@backstage/integration": "^1.17.0",
|
|
81
|
+
"@backstage/integration-react": "^1.2.7",
|
|
82
|
+
"@backstage/plugin-catalog-common": "^1.1.4",
|
|
83
|
+
"@backstage/plugin-catalog-react": "^1.18.0",
|
|
84
|
+
"@backstage/plugin-permission-react": "^0.4.34",
|
|
85
|
+
"@backstage/plugin-scaffolder-common": "^1.5.11",
|
|
86
|
+
"@backstage/plugin-scaffolder-react": "^1.16.0",
|
|
87
|
+
"@backstage/types": "^1.2.1",
|
|
88
88
|
"@codemirror/language": "^6.0.0",
|
|
89
89
|
"@codemirror/legacy-modes": "^6.1.0",
|
|
90
90
|
"@codemirror/view": "^6.0.0",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"zod-to-json-schema": "^3.20.4"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@backstage/cli": "0.32.1
|
|
121
|
-
"@backstage/core-app-api": "1.
|
|
122
|
-
"@backstage/dev-utils": "1.1.10
|
|
123
|
-
"@backstage/plugin-catalog": "1.
|
|
124
|
-
"@backstage/plugin-permission-common": "0.9.0
|
|
125
|
-
"@backstage/test-utils": "1.7.8
|
|
120
|
+
"@backstage/cli": "^0.32.1",
|
|
121
|
+
"@backstage/core-app-api": "^1.17.0",
|
|
122
|
+
"@backstage/dev-utils": "^1.1.10",
|
|
123
|
+
"@backstage/plugin-catalog": "^1.30.0",
|
|
124
|
+
"@backstage/plugin-permission-common": "^0.9.0",
|
|
125
|
+
"@backstage/test-utils": "^1.7.8",
|
|
126
126
|
"@testing-library/dom": "^10.0.0",
|
|
127
127
|
"@testing-library/jest-dom": "^6.0.0",
|
|
128
128
|
"@testing-library/react": "^16.0.0",
|