import { type ObjRef, type ObjectType } from "../../objRef/index.js"; /** * @public */ export interface IMetadataObjectIdentity { /** * Metadata object reference */ ref: ObjRef; /** * Metadata object identifier * Currently, our implementation still depends on converting id to uri (or uri to id) * So until we add cache, keep both id and uri exposed on metadata objects */ id: string; /** * Metadata object uri * Currently, our implementation still depends on converting id to uri (or uri to id) * So until we add cache, keep both id and uri exposed on metadata objects * * @deprecated - use id whenever possible instead */ uri: string; } /** * @public */ export interface IMetadataObjectBase { /** * Type of metadata object */ type: ObjectType; /** * Title */ title: string; /** * Description */ description: string; /** * Tags */ tags?: string[]; /** * Is production */ production: boolean; /** * Is metadata object deprecated? * Deprecated metadata objects still work in created reports or insights, * but you cannot select them for new ones (they are not displayed in the lists). */ deprecated: boolean; /** * Indicates whether the item is unlisted. Depending on the context, unlisted items may * not be shown to the users at all or may be shown with a special indicator. */ unlisted: boolean; /** * Whether the metadata object is hidden from users. */ isHidden?: boolean; /** * Whether the metadata object is hidden from key driver analysis. */ isHiddenFromKda?: boolean; } /** * @public */ export interface IMetadataObject extends IMetadataObjectBase, IMetadataObjectIdentity { } /** * Type guard checking whether input is an instance of {@link IMetadataObject}. * * @public */ export declare function isMetadataObject(obj: unknown): obj is IMetadataObject; /** * @public */ export interface IMetadataObjectDefinition extends Partial, Partial> { } //# sourceMappingURL=types.d.ts.map