UNPKG

@loopback/docs

Version:
1,597 lines 251 kB
{ "metadata": { "toolPackage": "@microsoft/api-extractor", "toolVersion": "7.3.8", "schemaVersion": 1003, "oldestForwardsCompatibleVersion": 1001 }, "kind": "Package", "canonicalReference": "@loopback/metadata!", "docComment": "", "name": "@loopback/metadata", "members": [ { "kind": "EntryPoint", "canonicalReference": "@loopback/metadata!", "name": "", "members": [ { "kind": "Class", "canonicalReference": "@loopback/metadata!ClassDecoratorFactory:class", "docComment": "/**\n * Factory for class decorators\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class " }, { "kind": "Reference", "text": "ClassDecoratorFactory" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": "> extends " }, { "kind": "Reference", "text": "DecoratorFactory" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "ClassDecorator" }, { "kind": "Content", "text": "> " } ], "releaseTag": "Public", "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "ClassDecoratorFactory", "members": [ { "kind": "Method", "canonicalReference": "@loopback/metadata!ClassDecoratorFactory#create:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Reference", "text": "create" }, { "kind": "Content", "text": "(): " }, { "kind": "Reference", "text": "ClassDecorator" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 2, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "create" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!ClassDecoratorFactory.createDecorator:member(1)", "docComment": "/**\n * Create a class decorator function\n *\n * @param key - Metadata key\n *\n * @param spec - Metadata object from the decorator function\n *\n * @param options - Options for the decorator\n */\n", "excerptTokens": [ { "kind": "Content", "text": "static " }, { "kind": "Reference", "text": "createDecorator" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ">(" }, { "kind": "Reference", "text": "key" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "MetadataKey" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "ClassDecorator" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "spec" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "options" }, { "kind": "Content", "text": "?: " }, { "kind": "Reference", "text": "DecoratorOptions" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "ClassDecorator" }, { "kind": "Content", "text": ";" } ], "isStatic": true, "returnTypeTokenRange": { "startIndex": 22, "endIndex": 23 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "key", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 13 } }, { "parameterName": "spec", "parameterTypeTokenRange": { "startIndex": 16, "endIndex": 17 } }, { "parameterName": "options", "parameterTypeTokenRange": { "startIndex": 20, "endIndex": 21 } } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "createDecorator" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!ClassDecoratorFactory#mergeWithInherited:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "protected " }, { "kind": "Reference", "text": "mergeWithInherited" }, { "kind": "Content", "text": "(" }, { "kind": "Reference", "text": "inheritedMetadata" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "target" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "Object" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "member" }, { "kind": "Content", "text": "?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "descriptorOrIndex" }, { "kind": "Content", "text": "?: " }, { "kind": "Reference", "text": "TypedPropertyDescriptor" }, { "kind": "Content", "text": "<any> | number" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 20, "endIndex": 21 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "inheritedMetadata", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 } }, { "parameterName": "member", "parameterTypeTokenRange": { "startIndex": 13, "endIndex": 14 } }, { "parameterName": "descriptorOrIndex", "parameterTypeTokenRange": { "startIndex": 17, "endIndex": 19 } } ], "name": "mergeWithInherited" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!ClassDecoratorFactory#mergeWithOwn:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "protected " }, { "kind": "Reference", "text": "mergeWithOwn" }, { "kind": "Content", "text": "(" }, { "kind": "Reference", "text": "ownMetadata" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "target" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "Object" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "member" }, { "kind": "Content", "text": "?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "descriptorOrIndex" }, { "kind": "Content", "text": "?: " }, { "kind": "Reference", "text": "TypedPropertyDescriptor" }, { "kind": "Content", "text": "<any> | number" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 20, "endIndex": 21 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "ownMetadata", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 } }, { "parameterName": "member", "parameterTypeTokenRange": { "startIndex": 13, "endIndex": 14 } }, { "parameterName": "descriptorOrIndex", "parameterTypeTokenRange": { "startIndex": 17, "endIndex": 19 } } ], "name": "mergeWithOwn" } ], "extendsTokenRange": { "startIndex": 5, "endIndex": 13 }, "implementsTokenRanges": [] }, { "kind": "Class", "canonicalReference": "@loopback/metadata!DecoratorFactory:class", "docComment": "/**\n * Base factory class for decorator functions\n *\n * @example\n * ```\n * function classDecorator(spec: MySpec): ClassDecorator {\n * return ClassDecoratorFactory.createDecorator('my-key', spec);\n * }\n * ```\n *\n * or\n * ```\n * function classDecorator(spec: MySpec): ClassDecorator {\n * const factory: ClassDecoratorFactory<MySpec>('my-key', spec);\n * return factory.create();\n * }\n * ```\n *\n * These functions above declare `@classDecorator` that can be used as follows:\n * ```\n * @classDecorator({x: 1})\n * class MyController {}\n * ```\n *\n */\n", "excerptTokens": [ { "kind": "Content", "text": "export declare class " }, { "kind": "Reference", "text": "DecoratorFactory" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", // Type of the metadata spec for individual class/method/property/parameter\n" }, { "kind": "Reference", "text": "M" }, { "kind": "Content", "text": " extends " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "MetadataMap" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": "> | " }, { "kind": "Reference", "text": "MetadataMap" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": "[]>" }, { "kind": "Content", "text": ", // Type of the metadata\n" }, { "kind": "Reference", "text": "D" }, { "kind": "Content", "text": " extends " }, { "kind": "Reference", "text": "DecoratorType" }, { "kind": "Content", "text": "> " } ], "releaseTag": "Public", "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "typeParameterName": "M", "constraintTokenRange": { "startIndex": 7, "endIndex": 17 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "typeParameterName": "D", "constraintTokenRange": { "startIndex": 20, "endIndex": 21 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "DecoratorFactory", "members": [ { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory._createDecorator:member(1)", "docComment": "/**\n * Create a decorator function\n *\n * @param key - Metadata key\n *\n * @param spec - Metadata object from the decorator function\n *\n * @param options - Options for the decorator\n */\n", "excerptTokens": [ { "kind": "Content", "text": "protected static " }, { "kind": "Reference", "text": "_createDecorator" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "M" }, { "kind": "Content", "text": " extends " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": " | " }, { "kind": "Reference", "text": "MetadataMap" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": "> | " }, { "kind": "Reference", "text": "MetadataMap" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": "[]>" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "D" }, { "kind": "Content", "text": " extends " }, { "kind": "Reference", "text": "DecoratorType" }, { "kind": "Content", "text": ">(" }, { "kind": "Reference", "text": "key" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "MetadataKey" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "D" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "spec" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "options" }, { "kind": "Content", "text": "?: " }, { "kind": "Reference", "text": "DecoratorOptions" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "D" }, { "kind": "Content", "text": ";" } ], "isStatic": true, "returnTypeTokenRange": { "startIndex": 39, "endIndex": 40 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "key", "parameterTypeTokenRange": { "startIndex": 24, "endIndex": 30 } }, { "parameterName": "spec", "parameterTypeTokenRange": { "startIndex": 33, "endIndex": 34 } }, { "parameterName": "options", "parameterTypeTokenRange": { "startIndex": 37, "endIndex": 38 } } ], "typeParameters": [ { "typeParameterName": "T", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "typeParameterName": "M", "constraintTokenRange": { "startIndex": 7, "endIndex": 17 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } }, { "typeParameterName": "D", "constraintTokenRange": { "startIndex": 20, "endIndex": 21 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "_createDecorator" }, { "kind": "Constructor", "canonicalReference": "@loopback/metadata!DecoratorFactory:constructor(1)", "docComment": "/**\n * Construct a new class decorator factory\n *\n * @param key - Metadata key\n *\n * @param spec - Metadata object from the decorator function\n *\n * @param options - Options for the decorator. Default to `{allowInheritance: true}` if not provided\n */\n", "excerptTokens": [ { "kind": "Content", "text": "constructor(" }, { "kind": "Reference", "text": "key" }, { "kind": "Content", "text": ": " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "spec" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "options" }, { "kind": "Content", "text": "?: " }, { "kind": "Reference", "text": "DecoratorOptions" }, { "kind": "Content", "text": " | undefined" }, { "kind": "Content", "text": ");" } ], "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "key", "parameterTypeTokenRange": { "startIndex": 3, "endIndex": 4 } }, { "parameterName": "spec", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 8 } }, { "parameterName": "options", "parameterTypeTokenRange": { "startIndex": 11, "endIndex": 13 } } ] }, { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory#allowInheritance:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "protected " }, { "kind": "Reference", "text": "allowInheritance" }, { "kind": "Content", "text": "(): " }, { "kind": "Content", "text": "boolean" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 3, "endIndex": 4 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "allowInheritance" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory.cloneDeep:member(1)", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "static " }, { "kind": "Reference", "text": "cloneDeep" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "V" }, { "kind": "Content", "text": ">(" }, { "kind": "Reference", "text": "val" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "Readonly" }, { "kind": "Content", "text": "<" }, { "kind": "Reference", "text": "V" }, { "kind": "Content", "text": ">" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "V" }, { "kind": "Content", "text": ";" } ], "isStatic": true, "returnTypeTokenRange": { "startIndex": 12, "endIndex": 13 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "val", "parameterTypeTokenRange": { "startIndex": 7, "endIndex": 11 } } ], "typeParameters": [ { "typeParameterName": "V", "constraintTokenRange": { "startIndex": 0, "endIndex": 0 }, "defaultTypeTokenRange": { "startIndex": 0, "endIndex": 0 } } ], "name": "cloneDeep" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory#create:member(1)", "docComment": "/**\n * Create a decorator function of the given type. Each sub class MUST implement this method.\n */\n", "excerptTokens": [ { "kind": "Reference", "text": "create" }, { "kind": "Content", "text": "(): " }, { "kind": "Reference", "text": "D" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 2, "endIndex": 3 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [], "name": "create" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory#decorate:member(1)", "docComment": "/**\n * Base implementation of the decorator function\n *\n * @param target - Decorator target\n *\n * @param member - Optional property or method\n *\n * @param descriptorOrIndex - Optional method descriptor or parameter index\n */\n", "excerptTokens": [ { "kind": "Content", "text": "protected " }, { "kind": "Reference", "text": "decorate" }, { "kind": "Content", "text": "(" }, { "kind": "Reference", "text": "target" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "Object" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "member" }, { "kind": "Content", "text": "?: " }, { "kind": "Content", "text": "string | symbol" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "descriptorOrIndex" }, { "kind": "Content", "text": "?: " }, { "kind": "Reference", "text": "TypedPropertyDescriptor" }, { "kind": "Content", "text": "<any> | number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "void" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 16, "endIndex": 17 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "member", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 } }, { "parameterName": "descriptorOrIndex", "parameterTypeTokenRange": { "startIndex": 13, "endIndex": 15 } } ], "name": "decorate" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory.getNumberOfParameters:member(1)", "docComment": "/**\n * Get the number of parameters for a given constructor or method\n *\n * @param target - Class or the prototype\n *\n * @param member - Method name\n */\n", "excerptTokens": [ { "kind": "Content", "text": "static " }, { "kind": "Reference", "text": "getNumberOfParameters" }, { "kind": "Content", "text": "(" }, { "kind": "Reference", "text": "target" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "Object" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "member" }, { "kind": "Content", "text": "?: " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "number" }, { "kind": "Content", "text": ";" } ], "isStatic": true, "returnTypeTokenRange": { "startIndex": 11, "endIndex": 12 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "member", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 } } ], "name": "getNumberOfParameters" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory#getTarget:member(1)", "docComment": "/**\n * Get the optional decoration target of a given spec\n *\n * @param spec - Metadata spec\n */\n", "excerptTokens": [ { "kind": "Reference", "text": "getTarget" }, { "kind": "Content", "text": "(" }, { "kind": "Reference", "text": "spec" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "any" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 6, "endIndex": 7 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "spec", "parameterTypeTokenRange": { "startIndex": 4, "endIndex": 5 } } ], "name": "getTarget" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory.getTargetName:member(1)", "docComment": "/**\n * Get the qualified name of a decoration target. For example:\n * ```\n * class MyClass\n * MyClass.constructor[0] // First parameter of the constructor\n * MyClass.myStaticProperty\n * MyClass.myStaticMethod()\n * MyClass.myStaticMethod[0] // First parameter of the myStaticMethod\n * MyClass.prototype.myProperty\n * MyClass.prototype.myMethod()\n * MyClass.prototype.myMethod[1] // Second parameter of myMethod\n * ```\n *\n * @param target - Class or prototype of a class\n *\n * @param member - Optional property/method name\n *\n * @param descriptorOrIndex - Optional method descriptor or parameter index\n */\n", "excerptTokens": [ { "kind": "Content", "text": "static " }, { "kind": "Reference", "text": "getTargetName" }, { "kind": "Content", "text": "(" }, { "kind": "Reference", "text": "target" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "Object" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "member" }, { "kind": "Content", "text": "?: " }, { "kind": "Content", "text": "string | symbol" }, { "kind": "Content", "text": ", " }, { "kind": "Reference", "text": "descriptorOrIndex" }, { "kind": "Content", "text": "?: " }, { "kind": "Reference", "text": "TypedPropertyDescriptor" }, { "kind": "Content", "text": "<any> | number" }, { "kind": "Content", "text": "): " }, { "kind": "Content", "text": "string" }, { "kind": "Content", "text": ";" } ], "isStatic": true, "returnTypeTokenRange": { "startIndex": 16, "endIndex": 17 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "target", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 6 } }, { "parameterName": "member", "parameterTypeTokenRange": { "startIndex": 9, "endIndex": 10 } }, { "parameterName": "descriptorOrIndex", "parameterTypeTokenRange": { "startIndex": 13, "endIndex": 15 } } ], "name": "getTargetName" }, { "kind": "Method", "canonicalReference": "@loopback/metadata!DecoratorFactory#inherit:member(1)", "docComment": "/**\n * Inherit metadata from base classes. By default, this method merges base metadata into the spec if `allowInheritance` is set to `true`. To customize the behavior, this method can be overridden by sub classes.\n *\n * @param inheritedMetadata - Metadata from base classes for the member\n */\n", "excerptTokens": [ { "kind": "Content", "text": "protected " }, { "kind": "Reference", "text": "inherit" }, { "kind": "Content", "text": "(" }, { "kind": "Reference", "text": "inheritedMetadata" }, { "kind": "Content", "text": ": " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": " | undefined | null" }, { "kind": "Content", "text": "): " }, { "kind": "Reference", "text": "T" }, { "kind": "Content", "text": ";" } ], "isStatic": false, "returnTypeTokenRange": { "startIndex": 8, "endIndex": 9 }, "releaseTag": "Public", "overloadIndex": 1, "parameters": [ { "parameterName": "inheritedMetadata", "parameterTypeTokenRange": { "startIndex": 5, "endIndex": 7 } } ], "name": "inherit" }, { "kind": "Property", "canonicalReference": "@loopback/metadata!DecoratorFactory#key:member", "docComment": "", "excerptTokens": [ { "kind": "Content", "text": "protected " }, { "kind": "Reference", "text": "key" },