@serverless-devs/kv
Version:
发布 阿里云 jamstack 站点 kvstore 的组件
780 lines • 14.6 kB
JSON
{
"id": 0,
"name": "@serverless-devs/kv",
"kind": 0,
"kindString": "Project",
"flags": {},
"originalName": "",
"children": [
{
"id": 1,
"name": "default",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
"id": 2,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
"id": 3,
"name": "new default",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
"id": 4,
"name": "props",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "reference",
"id": 1,
"name": "default"
},
"overwrites": {
"type": "reference",
"name": "BaseComponent.constructor"
}
}
],
"overwrites": {
"type": "reference",
"name": "BaseComponent.constructor"
}
},
{
"id": 36,
"name": "client",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"sources": [
{
"fileName": "common/base.ts",
"line": 15,
"character": 20
}
],
"type": {
"type": "intrinsic",
"name": "any"
},
"inheritedFrom": {
"type": "reference",
"name": "BaseComponent.client"
}
},
{
"id": 37,
"name": "inputs",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true
},
"type": {
"type": "intrinsic",
"name": "any"
},
"inheritedFrom": {
"type": "reference",
"name": "BaseComponent.inputs"
}
},
{
"id": 40,
"name": "__doc",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "common/base.ts",
"line": 40,
"character": 9
}
],
"signatures": [
{
"id": 41,
"name": "__doc",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 42,
"name": "projectName",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isOptional": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "BaseComponent.__doc"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "BaseComponent.__doc"
}
},
{
"id": 38,
"name": "__getBasePath",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "common/base.ts",
"line": 27,
"character": 17
}
],
"signatures": [
{
"id": 39,
"name": "__getBasePath",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"name": "BaseComponent.__getBasePath"
}
}
],
"inheritedFrom": {
"type": "reference",
"name": "BaseComponent.__getBasePath"
}
},
{
"id": 18,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 172,
"character": 21
}
],
"signatures": [
{
"id": 19,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "删除指定的key 及其内容",
"returns": "\n"
},
"parameters": [
{
"id": 20,
"name": "inputs",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {},
"type": {
"type": "reference",
"name": "InputProps"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
],
"name": "Promise"
}
}
]
},
{
"id": 33,
"name": "deleteApi",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 270,
"character": 24
}
],
"signatures": [
{
"id": 34,
"name": "deleteApi",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "api 主动删除key value"
},
"parameters": [
{
"id": 35,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "Object"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "Promise"
}
}
]
},
{
"id": 21,
"name": "deploy",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 210,
"character": 21
}
],
"signatures": [
{
"id": 22,
"name": "deploy",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "配合配置文件进行上传",
"returns": "\n"
},
"parameters": [
{
"id": 23,
"name": "inputs",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {},
"type": {
"type": "reference",
"name": "InputProps"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
],
"name": "Promise"
}
}
]
},
{
"id": 15,
"name": "get",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 135,
"character": 18
}
],
"signatures": [
{
"id": 16,
"name": "get",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "根据指定的key获取其值",
"returns": "\n"
},
"parameters": [
{
"id": 17,
"name": "inputs",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {},
"type": {
"type": "reference",
"name": "InputProps"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
],
"name": "Promise"
}
}
]
},
{
"id": 27,
"name": "getApi",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 251,
"character": 21
}
],
"signatures": [
{
"id": 28,
"name": "getApi",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "api 获取具体的key"
},
"parameters": [
{
"id": 29,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "Object"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "Promise"
}
}
]
},
{
"id": 12,
"name": "list",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 101,
"character": 19
}
],
"signatures": [
{
"id": 13,
"name": "list",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "查询所有的keys 信息",
"returns": "\n"
},
"parameters": [
{
"id": 14,
"name": "inputs",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {},
"type": {
"type": "reference",
"name": "InputProps"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
],
"name": "Promise"
}
}
]
},
{
"id": 30,
"name": "listApi",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 261,
"character": 22
}
],
"signatures": [
{
"id": 31,
"name": "listApi",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "api 查看key 列表"
},
"parameters": [
{
"id": 32,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "Object"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "Promise"
}
}
]
},
{
"id": 9,
"name": "put",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 49,
"character": 18
}
],
"signatures": [
{
"id": 10,
"name": "put",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "上传kv",
"returns": "\n"
},
"parameters": [
{
"id": 11,
"name": "inputs",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"comment": {},
"type": {
"type": "reference",
"name": "InputProps"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "string"
}
],
"name": "Promise"
}
}
]
},
{
"id": 24,
"name": "putApi",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPublic": true
},
"sources": [
{
"fileName": "index.ts",
"line": 241,
"character": 21
}
],
"signatures": [
{
"id": 25,
"name": "putApi",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "api 主动创建key value"
},
"parameters": [
{
"id": 26,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "Object"
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "any"
}
],
"name": "Promise"
}
}
]
},
{
"id": 5,
"name": "setEnv",
"kind": 2048,
"kindString": "Method",
"flags": {
"isPrivate": true
},
"sources": [
{
"fileName": "index.ts",
"line": 32,
"character": 22
}
],
"signatures": [
{
"id": 6,
"name": "setEnv",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
"id": 7,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
"name": "ICredentials"
}
},
{
"id": 8,
"name": "aliasName",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "'default'"
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "intrinsic",
"name": "void"
}
],
"name": "Promise"
}
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [
2
]
},
{
"title": "Properties",
"kind": 1024,
"children": [
36,
37
]
},
{
"title": "Methods",
"kind": 2048,
"children": [
40,
38,
18,
33,
21,
15,
27,
12,
30,
9,
24,
5
]
}
],
"sources": [
{
"fileName": "index.ts",
"line": 28,
"character": 34
}
],
"extendedTypes": [
{
"type": "reference",
"name": "BaseComponent"
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [
1
]
}
],
"sources": [
{
"fileName": "index.ts",
"line": 1,
"character": 0
}
]
}