Skip to content

[V] $lib

const $lib: TypeSpecLibrary<{
file-not-found: {
default: CallableMessage<["decoratorName", "propertyName", "filePath"]>;
};
invalid-apiversion: {
promotionVersion: CallableMessage<["version"]>;
serviceVersion: CallableMessage<["version"]>;
versionsList: CallableMessage<["version"]>;
};
invalid-link: {
default: CallableMessage<["link"]>;
};
invalid-offer-id: {
marketplaceOfferId: "@marketplaceOffer id cannot have a blank space.";
};
invalid-type: {
argQueryFile: CallableMessage<["filePath"]>;
argQueryString: CallableMessage<["query"]>;
iconSvg: CallableMessage<["filePath"]>;
};
not-a-resource: {
browse: "@browse can only be applied to TrackedResource models";
default: CallableMessage<["decoratorName"]>;
};
too-many-essentials: {
default: "essentials can be only used 5 times in ModelProperty.";
};
}, Record<string, any>, "browse" | "about" | "marketplaceOffer" | "displayName" | "promotion">;