Skip to content

Commit e685bc8

Browse files
committed
fix: add missing dependencies and fix build for CI publish
- Add @backstage/catalog-model and qs as runtime dependencies (were used but not declared) - Add jest, jest-environment-jsdom, @types/jest as devDependencies - Exclude test files and dist dirs from tsconfig - Fix tuple type narrowing in extractAnnotationEntries
1 parent 70495c5 commit e685bc8

20 files changed

Lines changed: 2580 additions & 295 deletions

.yarn/install-state.gz

407 KB
Binary file not shown.

dist-types/src/api.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,13 @@ export interface RootlyCatalogEntitiesResponse {
168168
};
169169
data: RootlyCatalogEntity[];
170170
}
171+
/** @public */
172+
export declare function extractPassthroughAttributes(annotations: Record<string, string> | undefined, prefix: string): Record<string, unknown>;
173+
/** @public */
174+
export declare function extractProperties(annotations: Record<string, string> | undefined, prefix: string): Array<{
175+
catalog_property_id: string;
176+
value: string;
177+
}>;
171178
type Options = {
172179
/**
173180
* apiProxyUrl used to access Rootly API through proxy

dist-types/src/client.d.ts

Lines changed: 0 additions & 192 deletions
This file was deleted.

dist-types/src/constants.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,15 @@ export declare const ROOTLY_ANNOTATION_CATALOG_ID = "rootly.com/catalog-id";
3838
export declare const ROOTLY_ANNOTATION_CATALOG_SLUG = "rootly.com/catalog-slug";
3939
/** @public */
4040
export declare const ROOTLY_ANNOTATION_CATALOG_DESCRIPTION = "rootly.com/catalog-description";
41+
/** @public */
42+
export declare const ROOTLY_ANNOTATION_SERVICE_ATTR_PREFIX = "rootly.com/service-attr-";
43+
/** @public */
44+
export declare const ROOTLY_ANNOTATION_SERVICE_PROPERTY_PREFIX = "rootly.com/service-property-";
45+
/** @public */
46+
export declare const ROOTLY_ANNOTATION_FUNCTIONALITY_ATTR_PREFIX = "rootly.com/functionality-attr-";
47+
/** @public */
48+
export declare const ROOTLY_ANNOTATION_TEAM_ATTR_PREFIX = "rootly.com/team-attr-";
49+
/** @public */
50+
export declare const ROOTLY_ANNOTATION_CATALOG_ENTITY_ATTR_PREFIX = "rootly.com/catalog-entity-attr-";
51+
/** @public */
52+
export declare const ROOTLY_ANNOTATION_CATALOG_ENTITY_PROPERTY_PREFIX = "rootly.com/catalog-entity-property-";

0 commit comments

Comments
 (0)