Skip to main content
Version: Next

LocationSpec

Home > @backstage/plugin-catalog-common > LocationSpec

Holds the entity location information.

Signature:

export type LocationSpec = {
type: string;
target: string;
presence?: 'optional' | 'required';
};

Remarks

presence flag: when using repo importer plugin, location is being created before the component yaml file is merged to the main branch. This flag is then set to indicate that the file can be not present. default value: 'required'.