Skip to content

[V] $lib

const $lib: TypeSpecLibrary<object, Record<string, any>,
| "browse"
| "about"
| "marketplaceOffer"
| "displayName"
| "promotion">;

Type declaration

NameType
file-not-foundobject
file-not-found.defaultCallableMessage<["decoratorName", "propertyName", "filePath"]>
invalid-apiversionobject
invalid-apiversion.promotionVersionCallableMessage<["version"]>
invalid-apiversion.serviceVersionCallableMessage<["version"]>
invalid-apiversion.versionsListCallableMessage<["version"]>
invalid-linkobject
invalid-link.defaultCallableMessage<["link"]>
invalid-offer-idobject
invalid-offer-id.marketplaceOfferId"@marketplaceOffer id cannot have a blank space."
invalid-typeobject
invalid-type.argQueryFileCallableMessage<["filePath"]>
invalid-type.argQueryStringCallableMessage<["query"]>
invalid-type.iconSvgCallableMessage<["filePath"]>
not-a-resourceobject
not-a-resource.browse"@browse can only be applied to TrackedResource models"
not-a-resource.defaultCallableMessage<["decoratorName"]>
too-many-essentialsobject
too-many-essentials.default"essentials can be only used 5 times in ModelProperty."