diff --git a/gatsby-node.js b/gatsby-node.js
index 71d7ebb3..bdbbf51f 100755
--- a/gatsby-node.js
+++ b/gatsby-node.js
@@ -145,7 +145,8 @@ exports.createPages = ({ graphql, actions }) => {
//
const createTypeDocPage = async (createPage, name, downloadUrl) => {
try {
- const typedoc = await fetch(downloadUrl)
+ const typedoc = require('./ocean.js.json')
+ // const typedoc = await fetch(downloadUrl)
const typedocTemplate = path.resolve('./src/templates/Typedoc/index.jsx')
const slug = `/references/${name}/`
@@ -154,7 +155,8 @@ const createTypeDocPage = async (createPage, name, downloadUrl) => {
component: typedocTemplate,
context: {
slug,
- typedoc: await typedoc.json()
+ typedoc
+ // typedoc: await typedoc.json()
}
})
} catch (error) {
diff --git a/ocean.js.json b/ocean.js.json
index 7a2acbd5..4f6f621a 100644
--- a/ocean.js.json
+++ b/ocean.js.json
@@ -1,9 +1,9 @@
{
"info": {
- "title": "Ocean.js",
- "description": "JavaScript client library for Ocean Protocol",
- "version": "0.10.1",
- "sourceUrl": "https://github.com/oceanprotocol/ocean.js/blob/main/"
+ "title": "Hello",
+ "description": "Hello",
+ "version": "vhello",
+ "sourceUrl": "https://github.com/oceanprotocol/ocean.js/blob/main/"
},
"id": 0,
"name": "@oceanprotocol/lib",
@@ -13,7 +13,7 @@
"originalName": "",
"children": [
{
- "id": 314,
+ "id": 305,
"name": "utils",
"kind": 2,
"kindString": "Namespace",
@@ -27,14 +27,14 @@
]
},
{
- "id": 1,
+ "id": 342,
"name": "CreateProgressStep",
"kind": 4,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 2,
+ "id": 343,
"name": "CreatingDataToken",
"kind": 16,
"kindString": "Enumeration member",
@@ -49,7 +49,7 @@
"defaultValue": "0"
},
{
- "id": 3,
+ "id": 344,
"name": "DataTokenCreated",
"kind": 16,
"kindString": "Enumeration member",
@@ -64,7 +64,7 @@
"defaultValue": "1"
},
{
- "id": 7,
+ "id": 348,
"name": "DdoStored",
"kind": 16,
"kindString": "Enumeration member",
@@ -79,7 +79,7 @@
"defaultValue": "5"
},
{
- "id": 4,
+ "id": 345,
"name": "EncryptingFiles",
"kind": 16,
"kindString": "Enumeration member",
@@ -94,7 +94,7 @@
"defaultValue": "2"
},
{
- "id": 5,
+ "id": 346,
"name": "FilesEncrypted",
"kind": 16,
"kindString": "Enumeration member",
@@ -109,7 +109,7 @@
"defaultValue": "3"
},
{
- "id": 6,
+ "id": 347,
"name": "StoringDdo",
"kind": 16,
"kindString": "Enumeration member",
@@ -128,14 +128,7 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [
- 2,
- 3,
- 7,
- 4,
- 5,
- 6
- ]
+ "children": [343, 344, 348, 345, 346, 347]
}
],
"sources": [
@@ -147,14 +140,14 @@
]
},
{
- "id": 10,
+ "id": 1,
"name": "OceanPlatformTechStatus",
"kind": 4,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 11,
+ "id": 2,
"name": "Loading",
"kind": 16,
"kindString": "Enumeration member",
@@ -169,7 +162,7 @@
"defaultValue": "\"Loading\""
},
{
- "id": 13,
+ "id": 4,
"name": "Stopped",
"kind": 16,
"kindString": "Enumeration member",
@@ -184,7 +177,7 @@
"defaultValue": "\"Stopped\""
},
{
- "id": 12,
+ "id": 3,
"name": "Unknown",
"kind": 16,
"kindString": "Enumeration member",
@@ -199,7 +192,7 @@
"defaultValue": "\"Unknown\""
},
{
- "id": 14,
+ "id": 5,
"name": "Working",
"kind": 16,
"kindString": "Enumeration member",
@@ -218,12 +211,7 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [
- 11,
- 13,
- 12,
- 14
- ]
+ "children": [2, 4, 3, 5]
}
],
"sources": [
@@ -235,14 +223,14 @@
]
},
{
- "id": 8,
+ "id": 349,
"name": "OrderProgressStep",
"kind": 4,
"kindString": "Enumeration",
"flags": {},
"children": [
{
- "id": 9,
+ "id": 350,
"name": "TransferDataToken",
"kind": 16,
"kindString": "Enumeration member",
@@ -261,9 +249,7 @@
{
"title": "Enumeration members",
"kind": 16,
- "children": [
- 9
- ]
+ "children": [350]
}
],
"sources": [
@@ -275,7 +261,7 @@
]
},
{
- "id": 64,
+ "id": 55,
"name": "Account",
"kind": 128,
"kindString": "Class",
@@ -285,21 +271,21 @@
},
"children": [
{
- "id": 73,
+ "id": 64,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 74,
+ "id": 65,
"name": "new Account",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 75,
+ "id": 66,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -311,7 +297,7 @@
"defaultValue": "'0x0'"
},
{
- "id": 76,
+ "id": 67,
"name": "config",
"kind": 32768,
"kindString": "Parameter",
@@ -326,14 +312,14 @@
],
"type": {
"type": "reference",
- "id": 64,
+ "id": 55,
"name": "default"
}
}
]
},
{
- "id": 77,
+ "id": 68,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -354,7 +340,7 @@
}
},
{
- "id": 78,
+ "id": 69,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -375,7 +361,7 @@
}
},
{
- "id": 103,
+ "id": 94,
"name": "config",
"kind": 262144,
"kindString": "Accessor",
@@ -389,21 +375,21 @@
],
"getSignature": [
{
- "id": 104,
+ "id": 95,
"name": "config",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
- "id": 112,
+ "id": 103,
"name": "Config"
}
}
]
},
{
- "id": 107,
+ "id": 98,
"name": "instanceConfig",
"kind": 262144,
"kindString": "Accessor",
@@ -417,7 +403,7 @@
],
"getSignature": [
{
- "id": 108,
+ "id": 99,
"name": "instanceConfig",
"kind": 524288,
"kindString": "Get signature",
@@ -430,7 +416,7 @@
]
},
{
- "id": 105,
+ "id": 96,
"name": "logger",
"kind": 262144,
"kindString": "Accessor",
@@ -444,7 +430,7 @@
],
"getSignature": [
{
- "id": 106,
+ "id": 97,
"name": "logger",
"kind": 524288,
"kindString": "Get signature",
@@ -457,7 +443,7 @@
]
},
{
- "id": 99,
+ "id": 90,
"name": "ocean",
"kind": 262144,
"kindString": "Accessor",
@@ -471,21 +457,21 @@
],
"getSignature": [
{
- "id": 100,
+ "id": 91,
"name": "ocean",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
- "id": 27,
+ "id": 18,
"name": "Ocean"
}
}
]
},
{
- "id": 101,
+ "id": 92,
"name": "web3",
"kind": 262144,
"kindString": "Accessor",
@@ -499,7 +485,7 @@
],
"getSignature": [
{
- "id": 102,
+ "id": 93,
"name": "web3",
"kind": 524288,
"kindString": "Get signature",
@@ -512,7 +498,7 @@
]
},
{
- "id": 97,
+ "id": 88,
"name": "getEtherBalance",
"kind": 2048,
"kindString": "Method",
@@ -528,7 +514,7 @@
],
"signatures": [
{
- "id": 98,
+ "id": 89,
"name": "getEtherBalance",
"kind": 4096,
"kindString": "Call signature",
@@ -551,7 +537,7 @@
]
},
{
- "id": 79,
+ "id": 70,
"name": "getId",
"kind": 2048,
"kindString": "Method",
@@ -567,7 +553,7 @@
],
"signatures": [
{
- "id": 80,
+ "id": 71,
"name": "getId",
"kind": 4096,
"kindString": "Call signature",
@@ -580,7 +566,7 @@
]
},
{
- "id": 92,
+ "id": 83,
"name": "getOceanBalance",
"kind": 2048,
"kindString": "Method",
@@ -596,7 +582,7 @@
],
"signatures": [
{
- "id": 93,
+ "id": 84,
"name": "getOceanBalance",
"kind": 4096,
"kindString": "Call signature",
@@ -619,7 +605,7 @@
]
},
{
- "id": 87,
+ "id": 78,
"name": "getPassword",
"kind": 2048,
"kindString": "Method",
@@ -635,7 +621,7 @@
],
"signatures": [
{
- "id": 88,
+ "id": 79,
"name": "getPassword",
"kind": 4096,
"kindString": "Call signature",
@@ -652,7 +638,7 @@
]
},
{
- "id": 89,
+ "id": 80,
"name": "getTokenBalance",
"kind": 2048,
"kindString": "Method",
@@ -668,7 +654,7 @@
],
"signatures": [
{
- "id": 90,
+ "id": 81,
"name": "getTokenBalance",
"kind": 4096,
"kindString": "Call signature",
@@ -679,7 +665,7 @@
},
"parameters": [
{
- "id": 91,
+ "id": 82,
"name": "TokenAdress",
"kind": 32768,
"kindString": "Parameter",
@@ -704,7 +690,7 @@
]
},
{
- "id": 94,
+ "id": 85,
"name": "getTokenSymbol",
"kind": 2048,
"kindString": "Method",
@@ -720,7 +706,7 @@
],
"signatures": [
{
- "id": 95,
+ "id": 86,
"name": "getTokenSymbol",
"kind": 4096,
"kindString": "Call signature",
@@ -731,7 +717,7 @@
},
"parameters": [
{
- "id": 96,
+ "id": 87,
"name": "TokenAdress",
"kind": 32768,
"kindString": "Parameter",
@@ -756,7 +742,7 @@
]
},
{
- "id": 81,
+ "id": 72,
"name": "setId",
"kind": 2048,
"kindString": "Method",
@@ -772,14 +758,14 @@
],
"signatures": [
{
- "id": 82,
+ "id": 73,
"name": "setId",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 83,
+ "id": 74,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -798,7 +784,7 @@
]
},
{
- "id": 109,
+ "id": 100,
"name": "setInstanceConfig",
"kind": 2048,
"kindString": "Method",
@@ -814,14 +800,14 @@
],
"signatures": [
{
- "id": 110,
+ "id": 101,
"name": "setInstanceConfig",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 111,
+ "id": 102,
"name": "config",
"kind": 32768,
"kindString": "Parameter",
@@ -840,7 +826,7 @@
]
},
{
- "id": 84,
+ "id": 75,
"name": "setPassword",
"kind": 2048,
"kindString": "Method",
@@ -856,7 +842,7 @@
],
"signatures": [
{
- "id": 85,
+ "id": 76,
"name": "setPassword",
"kind": 4096,
"kindString": "Call signature",
@@ -866,7 +852,7 @@
},
"parameters": [
{
- "id": 86,
+ "id": 77,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -888,7 +874,7 @@
]
},
{
- "id": 65,
+ "id": 56,
"name": "getInstance",
"kind": 2048,
"kindString": "Method",
@@ -905,14 +891,14 @@
],
"signatures": [
{
- "id": 66,
+ "id": 57,
"name": "getInstance",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 67,
+ "id": 58,
"name": "args",
"kind": 32768,
"kindString": "Parameter",
@@ -942,7 +928,7 @@
]
},
{
- "id": 68,
+ "id": 59,
"name": "setInstanceConfig",
"kind": 2048,
"kindString": "Method",
@@ -959,14 +945,14 @@
],
"signatures": [
{
- "id": 69,
+ "id": 60,
"name": "setInstanceConfig",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 70,
+ "id": 61,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -985,7 +971,7 @@
],
"parameters": [
{
- "id": 71,
+ "id": 62,
"name": "instance",
"kind": 32768,
"kindString": "Parameter",
@@ -996,7 +982,7 @@
}
},
{
- "id": 72,
+ "id": 63,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -1019,45 +1005,22 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 73
- ]
+ "children": [64]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 77,
- 78
- ]
+ "children": [68, 69]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [
- 103,
- 107,
- 105,
- 99,
- 101
- ]
+ "children": [94, 98, 96, 90, 92]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 97,
- 79,
- 92,
- 87,
- 89,
- 94,
- 81,
- 109,
- 84,
- 65,
- 68
- ]
+ "children": [88, 70, 83, 78, 80, 85, 72, 100, 75, 56, 59]
}
],
"sources": [
@@ -1075,35 +1038,35 @@
]
},
{
- "id": 112,
+ "id": 103,
"name": "Config",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 113,
+ "id": 104,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 114,
+ "id": 105,
"name": "new Config",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 112,
+ "id": 103,
"name": "Config"
}
}
]
},
{
- "id": 133,
+ "id": 124,
"name": "authMessage",
"kind": 1024,
"kindString": "Property",
@@ -1127,7 +1090,7 @@
}
},
{
- "id": 134,
+ "id": 125,
"name": "authTokenExpiration",
"kind": 1024,
"kindString": "Property",
@@ -1151,7 +1114,7 @@
}
},
{
- "id": 123,
+ "id": 114,
"name": "datatokensABI",
"kind": 1024,
"kindString": "Property",
@@ -1187,7 +1150,7 @@
}
},
{
- "id": 122,
+ "id": 113,
"name": "factoryABI",
"kind": 1024,
"kindString": "Property",
@@ -1223,7 +1186,7 @@
}
},
{
- "id": 121,
+ "id": 112,
"name": "factoryAddress",
"kind": 1024,
"kindString": "Property",
@@ -1247,7 +1210,7 @@
}
},
{
- "id": 127,
+ "id": 118,
"name": "fixedRateExchangeAddress",
"kind": 1024,
"kindString": "Property",
@@ -1271,7 +1234,7 @@
}
},
{
- "id": 128,
+ "id": 119,
"name": "fixedRateExchangeAddressABI",
"kind": 1024,
"kindString": "Property",
@@ -1307,7 +1270,7 @@
}
},
{
- "id": 117,
+ "id": 108,
"name": "metadataCacheUri",
"kind": 1024,
"kindString": "Property",
@@ -1331,7 +1294,7 @@
}
},
{
- "id": 130,
+ "id": 121,
"name": "metadataContractABI",
"kind": 1024,
"kindString": "Property",
@@ -1367,7 +1330,7 @@
}
},
{
- "id": 129,
+ "id": 120,
"name": "metadataContractAddress",
"kind": 1024,
"kindString": "Property",
@@ -1391,7 +1354,7 @@
}
},
{
- "id": 115,
+ "id": 106,
"name": "nodeUri",
"kind": 1024,
"kindString": "Property",
@@ -1415,7 +1378,7 @@
}
},
{
- "id": 120,
+ "id": 111,
"name": "oceanTokenAddress",
"kind": 1024,
"kindString": "Property",
@@ -1439,7 +1402,7 @@
}
},
{
- "id": 135,
+ "id": 126,
"name": "parityUri",
"kind": 1024,
"kindString": "Property",
@@ -1460,7 +1423,7 @@
}
},
{
- "id": 126,
+ "id": 117,
"name": "poolABI",
"kind": 1024,
"kindString": "Property",
@@ -1496,7 +1459,7 @@
}
},
{
- "id": 125,
+ "id": 116,
"name": "poolFactoryABI",
"kind": 1024,
"kindString": "Property",
@@ -1532,7 +1495,7 @@
}
},
{
- "id": 124,
+ "id": 115,
"name": "poolFactoryAddress",
"kind": 1024,
"kindString": "Property",
@@ -1556,7 +1519,7 @@
}
},
{
- "id": 116,
+ "id": 107,
"name": "providerAddress",
"kind": 1024,
"kindString": "Property",
@@ -1580,7 +1543,7 @@
}
},
{
- "id": 118,
+ "id": 109,
"name": "providerUri",
"kind": 1024,
"kindString": "Property",
@@ -1604,7 +1567,7 @@
}
},
{
- "id": 131,
+ "id": 122,
"name": "startBlock",
"kind": 1024,
"kindString": "Property",
@@ -1628,7 +1591,7 @@
}
},
{
- "id": 136,
+ "id": 127,
"name": "threshold",
"kind": 1024,
"kindString": "Property",
@@ -1649,7 +1612,7 @@
}
},
{
- "id": 132,
+ "id": 123,
"name": "verbose",
"kind": 1024,
"kindString": "Property",
@@ -1698,7 +1661,7 @@
}
},
{
- "id": 119,
+ "id": 110,
"name": "web3Provider",
"kind": 1024,
"kindString": "Property",
@@ -1726,36 +1689,34 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 113
- ]
+ "children": [104]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 133,
- 134,
- 123,
- 122,
- 121,
- 127,
- 128,
- 117,
- 130,
- 129,
- 115,
- 120,
- 135,
- 126,
- 125,
124,
- 116,
+ 125,
+ 114,
+ 113,
+ 112,
118,
- 131,
- 136,
- 132,
- 119
+ 119,
+ 108,
+ 121,
+ 120,
+ 106,
+ 111,
+ 126,
+ 117,
+ 116,
+ 115,
+ 107,
+ 109,
+ 122,
+ 127,
+ 123,
+ 110
]
}
],
@@ -1765,38 +1726,45 @@
"line": 4,
"character": 19
}
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 316,
+ "name": "ConfigHelperConfig"
+ }
]
},
{
- "id": 315,
+ "id": 306,
"name": "ConfigHelper",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 316,
+ "id": 307,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 317,
+ "id": 308,
"name": "new ConfigHelper",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 315,
+ "id": 306,
"name": "ConfigHelper"
}
}
]
},
{
- "id": 318,
+ "id": 309,
"name": "getAddressesFromEnv",
"kind": 2048,
"kindString": "Method",
@@ -1812,14 +1780,14 @@
],
"signatures": [
{
- "id": 319,
+ "id": 310,
"name": "getAddressesFromEnv",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 320,
+ "id": 311,
"name": "network",
"kind": 32768,
"kindString": "Parameter",
@@ -1835,6 +1803,7 @@
"typeArguments": [
{
"type": "reference",
+ "id": 316,
"name": "ConfigHelperConfig"
}
],
@@ -1844,7 +1813,7 @@
]
},
{
- "id": 321,
+ "id": 312,
"name": "getConfig",
"kind": 2048,
"kindString": "Method",
@@ -1860,14 +1829,14 @@
],
"signatures": [
{
- "id": 322,
+ "id": 313,
"name": "getConfig",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 323,
+ "id": 314,
"name": "network",
"kind": 32768,
"kindString": "Parameter",
@@ -1887,7 +1856,7 @@
}
},
{
- "id": 324,
+ "id": 315,
"name": "infuraProjectId",
"kind": 32768,
"kindString": "Parameter",
@@ -1902,7 +1871,7 @@
],
"type": {
"type": "reference",
- "id": 112,
+ "id": 103,
"name": "Config"
}
}
@@ -1913,17 +1882,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 316
- ]
+ "children": [307]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 318,
- 321
- ]
+ "children": [309, 312]
}
],
"sources": [
@@ -1935,7 +1899,7 @@
]
},
{
- "id": 325,
+ "id": 361,
"name": "DDO",
"kind": 128,
"kindString": "Class",
@@ -1945,7 +1909,7 @@
},
"children": [
{
- "id": 332,
+ "id": 368,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1954,14 +1918,14 @@
},
"signatures": [
{
- "id": 333,
+ "id": 369,
"name": "new DDO",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 334,
+ "id": 370,
"name": "ddo",
"kind": 32768,
"kindString": "Parameter",
@@ -1971,7 +1935,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 325,
+ "id": 361,
"name": "DDO"
}
],
@@ -1982,14 +1946,14 @@
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 361,
"name": "DDO"
}
}
]
},
{
- "id": 335,
+ "id": 371,
"name": "@context",
"kind": 1024,
"kindString": "Property",
@@ -2010,7 +1974,7 @@
"defaultValue": "'https://w3id.org/did/v1'"
},
{
- "id": 341,
+ "id": 377,
"name": "authentication",
"kind": 1024,
"kindString": "Property",
@@ -2028,14 +1992,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 381,
+ "id": 417,
"name": "Authentication"
}
},
"defaultValue": "..."
},
{
- "id": 337,
+ "id": 373,
"name": "created",
"kind": 1024,
"kindString": "Property",
@@ -2055,7 +2019,7 @@
}
},
{
- "id": 339,
+ "id": 375,
"name": "dataToken",
"kind": 1024,
"kindString": "Property",
@@ -2075,7 +2039,7 @@
}
},
{
- "id": 347,
+ "id": 383,
"name": "dataTokenInfo",
"kind": 1024,
"kindString": "Property",
@@ -2096,7 +2060,7 @@
}
},
{
- "id": 336,
+ "id": 372,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2120,7 +2084,7 @@
"defaultValue": "null"
},
{
- "id": 345,
+ "id": 381,
"name": "isInPurgatory",
"kind": 1024,
"kindString": "Property",
@@ -2149,7 +2113,7 @@
}
},
{
- "id": 344,
+ "id": 380,
"name": "price",
"kind": 1024,
"kindString": "Property",
@@ -2165,12 +2129,12 @@
],
"type": {
"type": "reference",
- "id": 384,
+ "id": 420,
"name": "BestPrice"
}
},
{
- "id": 343,
+ "id": 379,
"name": "proof",
"kind": 1024,
"kindString": "Property",
@@ -2186,12 +2150,12 @@
],
"type": {
"type": "reference",
- "id": 442,
+ "id": 478,
"name": "Proof"
}
},
{
- "id": 340,
+ "id": 376,
"name": "publicKey",
"kind": 1024,
"kindString": "Property",
@@ -2209,14 +2173,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 447,
+ "id": 483,
"name": "PublicKey"
}
},
"defaultValue": "..."
},
{
- "id": 346,
+ "id": 382,
"name": "purgatoryData",
"kind": 1024,
"kindString": "Property",
@@ -2233,12 +2197,12 @@
],
"type": {
"type": "reference",
- "id": 543,
+ "id": 579,
"name": "PurgatoryData"
}
},
{
- "id": 342,
+ "id": 378,
"name": "service",
"kind": 1024,
"kindString": "Property",
@@ -2256,14 +2220,14 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 464,
+ "id": 500,
"name": "ServiceCommon"
}
},
"defaultValue": "..."
},
{
- "id": 338,
+ "id": 374,
"name": "updated",
"kind": 1024,
"kindString": "Property",
@@ -2283,7 +2247,7 @@
}
},
{
- "id": 360,
+ "id": 396,
"name": "addProof",
"kind": 2048,
"kindString": "Method",
@@ -2299,7 +2263,7 @@
],
"signatures": [
{
- "id": 361,
+ "id": 397,
"name": "addProof",
"kind": 4096,
"kindString": "Call signature",
@@ -2310,7 +2274,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 398,
"name": "ocean",
"kind": 32768,
"kindString": "Parameter",
@@ -2320,12 +2284,12 @@
},
"type": {
"type": "reference",
- "id": 27,
+ "id": 18,
"name": "Ocean"
}
},
{
- "id": 363,
+ "id": 399,
"name": "publicKey",
"kind": 32768,
"kindString": "Parameter",
@@ -2339,7 +2303,7 @@
}
},
{
- "id": 364,
+ "id": 400,
"name": "password",
"kind": 32768,
"kindString": "Parameter",
@@ -2366,7 +2330,7 @@
]
},
{
- "id": 350,
+ "id": 386,
"name": "findServiceById",
"kind": 2048,
"kindString": "Method",
@@ -2382,7 +2346,7 @@
],
"signatures": [
{
- "id": 351,
+ "id": 387,
"name": "findServiceById",
"kind": 4096,
"kindString": "Call signature",
@@ -2393,21 +2357,21 @@
},
"typeParameter": [
{
- "id": 352,
+ "id": 388,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 454,
+ "id": 490,
"name": "ServiceType"
}
}
],
"parameters": [
{
- "id": 353,
+ "id": 389,
"name": "index",
"kind": 32768,
"kindString": "Parameter",
@@ -2420,7 +2384,7 @@
],
"type": {
"type": "reference",
- "id": 538,
+ "id": 574,
"typeArguments": [
{
"type": "reference",
@@ -2433,7 +2397,7 @@
]
},
{
- "id": 354,
+ "id": 390,
"name": "findServiceByType",
"kind": 2048,
"kindString": "Method",
@@ -2449,7 +2413,7 @@
],
"signatures": [
{
- "id": 355,
+ "id": 391,
"name": "findServiceByType",
"kind": 4096,
"kindString": "Call signature",
@@ -2460,21 +2424,21 @@
},
"typeParameter": [
{
- "id": 356,
+ "id": 392,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 454,
+ "id": 490,
"name": "ServiceType"
}
}
],
"parameters": [
{
- "id": 357,
+ "id": 393,
"name": "serviceType",
"kind": 32768,
"kindString": "Parameter",
@@ -2490,7 +2454,7 @@
],
"type": {
"type": "reference",
- "id": 538,
+ "id": 574,
"typeArguments": [
{
"type": "reference",
@@ -2503,7 +2467,7 @@
]
},
{
- "id": 358,
+ "id": 394,
"name": "getChecksum",
"kind": 2048,
"kindString": "Method",
@@ -2519,7 +2483,7 @@
],
"signatures": [
{
- "id": 359,
+ "id": 395,
"name": "getChecksum",
"kind": 4096,
"kindString": "Call signature",
@@ -2536,7 +2500,7 @@
]
},
{
- "id": 348,
+ "id": 384,
"name": "shortId",
"kind": 2048,
"kindString": "Method",
@@ -2552,7 +2516,7 @@
],
"signatures": [
{
- "id": 349,
+ "id": 385,
"name": "shortId",
"kind": 4096,
"kindString": "Call signature",
@@ -2565,7 +2529,7 @@
]
},
{
- "id": 329,
+ "id": 365,
"name": "deserialize",
"kind": 2048,
"kindString": "Method",
@@ -2582,7 +2546,7 @@
],
"signatures": [
{
- "id": 330,
+ "id": 366,
"name": "deserialize",
"kind": 4096,
"kindString": "Call signature",
@@ -2593,7 +2557,7 @@
},
"parameters": [
{
- "id": 331,
+ "id": 367,
"name": "ddoString",
"kind": 32768,
"kindString": "Parameter",
@@ -2606,14 +2570,14 @@
],
"type": {
"type": "reference",
- "id": 325,
+ "id": 361,
"name": "DDO"
}
}
]
},
{
- "id": 326,
+ "id": 362,
"name": "serialize",
"kind": 2048,
"kindString": "Method",
@@ -2630,7 +2594,7 @@
],
"signatures": [
{
- "id": 327,
+ "id": 363,
"name": "serialize",
"kind": 4096,
"kindString": "Call signature",
@@ -2641,14 +2605,14 @@
},
"parameters": [
{
- "id": 328,
+ "id": 364,
"name": "ddo",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 325,
+ "id": 361,
"name": "DDO"
}
}
@@ -2665,41 +2629,31 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 332
- ]
+ "children": [368]
},
{
"title": "Properties",
"kind": 1024,
"children": [
- 335,
- 341,
- 337,
- 339,
- 347,
- 336,
- 345,
- 344,
- 343,
- 340,
- 346,
- 342,
- 338
+ 371,
+ 377,
+ 373,
+ 375,
+ 383,
+ 372,
+ 381,
+ 380,
+ 379,
+ 376,
+ 382,
+ 378,
+ 374
]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 360,
- 350,
- 354,
- 358,
- 348,
- 329,
- 326
- ]
+ "children": [396, 386, 390, 394, 384, 365, 362]
}
],
"sources": [
@@ -2711,7 +2665,7 @@
]
},
{
- "id": 137,
+ "id": 128,
"name": "DID",
"kind": 128,
"kindString": "Class",
@@ -2721,7 +2675,7 @@
},
"children": [
{
- "id": 144,
+ "id": 135,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -2730,14 +2684,14 @@
},
"signatures": [
{
- "id": 145,
+ "id": 136,
"name": "new DID",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 146,
+ "id": 137,
"name": "id",
"kind": 32768,
"kindString": "Parameter",
@@ -2750,14 +2704,14 @@
],
"type": {
"type": "reference",
- "id": 137,
+ "id": 128,
"name": "default"
}
}
]
},
{
- "id": 147,
+ "id": 138,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2780,7 +2734,7 @@
}
},
{
- "id": 148,
+ "id": 139,
"name": "getDid",
"kind": 2048,
"kindString": "Method",
@@ -2796,7 +2750,7 @@
],
"signatures": [
{
- "id": 149,
+ "id": 140,
"name": "getDid",
"kind": 4096,
"kindString": "Call signature",
@@ -2813,7 +2767,7 @@
]
},
{
- "id": 150,
+ "id": 141,
"name": "getId",
"kind": 2048,
"kindString": "Method",
@@ -2829,7 +2783,7 @@
],
"signatures": [
{
- "id": 151,
+ "id": 142,
"name": "getId",
"kind": 4096,
"kindString": "Call signature",
@@ -2846,7 +2800,7 @@
]
},
{
- "id": 141,
+ "id": 132,
"name": "generate",
"kind": 2048,
"kindString": "Method",
@@ -2863,7 +2817,7 @@
],
"signatures": [
{
- "id": 142,
+ "id": 133,
"name": "generate",
"kind": 4096,
"kindString": "Call signature",
@@ -2874,7 +2828,7 @@
},
"parameters": [
{
- "id": 143,
+ "id": 134,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -2890,14 +2844,14 @@
],
"type": {
"type": "reference",
- "id": 137,
+ "id": 128,
"name": "default"
}
}
]
},
{
- "id": 138,
+ "id": 129,
"name": "parse",
"kind": 2048,
"kindString": "Method",
@@ -2914,7 +2868,7 @@
],
"signatures": [
{
- "id": 139,
+ "id": 130,
"name": "parse",
"kind": 4096,
"kindString": "Call signature",
@@ -2925,7 +2879,7 @@
},
"parameters": [
{
- "id": 140,
+ "id": 131,
"name": "didString",
"kind": 32768,
"kindString": "Parameter",
@@ -2942,7 +2896,7 @@
},
{
"type": "reference",
- "id": 137,
+ "id": 128,
"name": "default"
}
]
@@ -2951,7 +2905,7 @@
],
"type": {
"type": "reference",
- "id": 137,
+ "id": 128,
"name": "default"
}
}
@@ -2962,26 +2916,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 144
- ]
+ "children": [135]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 147
- ]
+ "children": [138]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 148,
- 150,
- 141,
- 138
- ]
+ "children": [139, 141, 132, 129]
}
],
"sources": [
@@ -2993,7 +2938,7 @@
]
},
{
- "id": 204,
+ "id": 195,
"name": "DataTokens",
"kind": 128,
"kindString": "Class",
@@ -3003,14 +2948,14 @@
},
"children": [
{
- "id": 205,
+ "id": 196,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 206,
+ "id": 197,
"name": "new DataTokens",
"kind": 16384,
"kindString": "Constructor signature",
@@ -3020,7 +2965,7 @@
},
"parameters": [
{
- "id": 207,
+ "id": 198,
"name": "factoryAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -3032,7 +2977,7 @@
}
},
{
- "id": 208,
+ "id": 199,
"name": "factoryABI",
"kind": 32768,
"kindString": "Parameter",
@@ -3056,7 +3001,7 @@
}
},
{
- "id": 209,
+ "id": 200,
"name": "datatokensABI",
"kind": 32768,
"kindString": "Parameter",
@@ -3080,7 +3025,7 @@
}
},
{
- "id": 210,
+ "id": 201,
"name": "web3",
"kind": 32768,
"kindString": "Parameter",
@@ -3094,7 +3039,7 @@
}
},
{
- "id": 211,
+ "id": 202,
"name": "logger",
"kind": 32768,
"kindString": "Parameter",
@@ -3107,14 +3052,14 @@
],
"type": {
"type": "reference",
- "id": 204,
+ "id": 195,
"name": "DataTokens"
}
}
]
},
{
- "id": 212,
+ "id": 203,
"name": "GASLIMIT_DEFAULT",
"kind": 1024,
"kindString": "Property",
@@ -3135,7 +3080,7 @@
"defaultValue": "1000000"
},
{
- "id": 215,
+ "id": 206,
"name": "datatokensABI",
"kind": 1024,
"kindString": "Property",
@@ -3167,7 +3112,7 @@
}
},
{
- "id": 214,
+ "id": 205,
"name": "factoryABI",
"kind": 1024,
"kindString": "Property",
@@ -3199,7 +3144,7 @@
}
},
{
- "id": 213,
+ "id": 204,
"name": "factoryAddress",
"kind": 1024,
"kindString": "Property",
@@ -3219,7 +3164,7 @@
}
},
{
- "id": 217,
+ "id": 208,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -3239,7 +3184,7 @@
}
},
{
- "id": 216,
+ "id": 207,
"name": "web3",
"kind": 1024,
"kindString": "Property",
@@ -3259,7 +3204,7 @@
}
},
{
- "id": 274,
+ "id": 265,
"name": "allowance",
"kind": 2048,
"kindString": "Method",
@@ -3275,7 +3220,7 @@
],
"signatures": [
{
- "id": 275,
+ "id": 266,
"name": "allowance",
"kind": 4096,
"kindString": "Call signature",
@@ -3285,7 +3230,7 @@
},
"parameters": [
{
- "id": 276,
+ "id": 267,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -3297,7 +3242,7 @@
}
},
{
- "id": 277,
+ "id": 268,
"name": "owner",
"kind": 32768,
"kindString": "Parameter",
@@ -3309,7 +3254,7 @@
}
},
{
- "id": 278,
+ "id": 269,
"name": "spender",
"kind": 32768,
"kindString": "Parameter",
@@ -3337,7 +3282,7 @@
]
},
{
- "id": 234,
+ "id": 225,
"name": "approve",
"kind": 2048,
"kindString": "Method",
@@ -3353,7 +3298,7 @@
],
"signatures": [
{
- "id": 235,
+ "id": 226,
"name": "approve",
"kind": 4096,
"kindString": "Call signature",
@@ -3364,7 +3309,7 @@
},
"parameters": [
{
- "id": 236,
+ "id": 227,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -3376,7 +3321,7 @@
}
},
{
- "id": 237,
+ "id": 228,
"name": "spender",
"kind": 32768,
"kindString": "Parameter",
@@ -3387,7 +3332,7 @@
}
},
{
- "id": 238,
+ "id": 229,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -3401,7 +3346,7 @@
}
},
{
- "id": 239,
+ "id": 230,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -3427,7 +3372,7 @@
]
},
{
- "id": 270,
+ "id": 261,
"name": "balance",
"kind": 2048,
"kindString": "Method",
@@ -3443,7 +3388,7 @@
],
"signatures": [
{
- "id": 271,
+ "id": 262,
"name": "balance",
"kind": 4096,
"kindString": "Call signature",
@@ -3454,7 +3399,7 @@
},
"parameters": [
{
- "id": 272,
+ "id": 263,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -3466,7 +3411,7 @@
}
},
{
- "id": 273,
+ "id": 264,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -3492,7 +3437,7 @@
]
},
{
- "id": 227,
+ "id": 218,
"name": "create",
"kind": 2048,
"kindString": "Method",
@@ -3508,7 +3453,7 @@
],
"signatures": [
{
- "id": 228,
+ "id": 219,
"name": "create",
"kind": 4096,
"kindString": "Call signature",
@@ -3519,7 +3464,7 @@
},
"parameters": [
{
- "id": 229,
+ "id": 220,
"name": "metadataCacheUri",
"kind": 32768,
"kindString": "Parameter",
@@ -3531,7 +3476,7 @@
}
},
{
- "id": 230,
+ "id": 221,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -3543,7 +3488,7 @@
}
},
{
- "id": 231,
+ "id": 222,
"name": "cap",
"kind": 32768,
"kindString": "Parameter",
@@ -3559,7 +3504,7 @@
}
},
{
- "id": 232,
+ "id": 223,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -3575,7 +3520,7 @@
}
},
{
- "id": 233,
+ "id": 224,
"name": "symbol",
"kind": 32768,
"kindString": "Parameter",
@@ -3605,7 +3550,7 @@
]
},
{
- "id": 294,
+ "id": 285,
"name": "fromWei",
"kind": 2048,
"kindString": "Method",
@@ -3621,7 +3566,7 @@
],
"signatures": [
{
- "id": 295,
+ "id": 286,
"name": "fromWei",
"kind": 4096,
"kindString": "Call signature",
@@ -3632,7 +3577,7 @@
},
"parameters": [
{
- "id": 296,
+ "id": 287,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -3652,7 +3597,7 @@
]
},
{
- "id": 218,
+ "id": 209,
"name": "generateDtName",
"kind": 2048,
"kindString": "Method",
@@ -3668,7 +3613,7 @@
],
"signatures": [
{
- "id": 219,
+ "id": 210,
"name": "generateDtName",
"kind": 4096,
"kindString": "Call signature",
@@ -3679,7 +3624,7 @@
},
"parameters": [
{
- "id": 220,
+ "id": 211,
"name": "wordList",
"kind": 32768,
"kindString": "Parameter",
@@ -3689,14 +3634,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 221,
+ "id": 212,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 223,
+ "id": 214,
"name": "adjectives",
"kind": 1024,
"kindString": "Property",
@@ -3717,7 +3662,7 @@
}
},
{
- "id": 222,
+ "id": 213,
"name": "nouns",
"kind": 1024,
"kindString": "Property",
@@ -3742,10 +3687,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 223,
- 222
- ]
+ "children": [214, 213]
}
]
}
@@ -3755,14 +3697,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 224,
+ "id": 215,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 225,
+ "id": 216,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -3780,7 +3722,7 @@
}
},
{
- "id": 226,
+ "id": 217,
"name": "symbol",
"kind": 1024,
"kindString": "Property",
@@ -3802,10 +3744,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 225,
- 226
- ]
+ "children": [216, 217]
}
]
}
@@ -3814,7 +3753,7 @@
]
},
{
- "id": 279,
+ "id": 270,
"name": "getBlob",
"kind": 2048,
"kindString": "Method",
@@ -3830,7 +3769,7 @@
],
"signatures": [
{
- "id": 280,
+ "id": 271,
"name": "getBlob",
"kind": 4096,
"kindString": "Call signature",
@@ -3839,6 +3778,59 @@
"shortText": "Get Blob",
"returns": "string\n"
},
+ "parameters": [
+ {
+ "id": 272,
+ "name": "dataTokenAddress",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 279,
+ "name": "getCap",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPublic": true
+ },
+ "sources": [
+ {
+ "fileName": "datatokens/Datatokens.ts",
+ "line": 374,
+ "character": 21
+ }
+ ],
+ "signatures": [
+ {
+ "id": 280,
+ "name": "getCap",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get Cap",
+ "returns": "string\n"
+ },
"parameters": [
{
"id": 281,
@@ -3867,60 +3859,7 @@
]
},
{
- "id": 288,
- "name": "getCap",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPublic": true
- },
- "sources": [
- {
- "fileName": "datatokens/Datatokens.ts",
- "line": 374,
- "character": 21
- }
- ],
- "signatures": [
- {
- "id": 289,
- "name": "getCap",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Get Cap",
- "returns": "string\n"
- },
- "parameters": [
- {
- "id": 290,
- "name": "dataTokenAddress",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 282,
+ "id": 273,
"name": "getName",
"kind": 2048,
"kindString": "Method",
@@ -3936,7 +3875,7 @@
],
"signatures": [
{
- "id": 283,
+ "id": 274,
"name": "getName",
"kind": 4096,
"kindString": "Call signature",
@@ -3947,7 +3886,7 @@
},
"parameters": [
{
- "id": 284,
+ "id": 275,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -3973,7 +3912,7 @@
]
},
{
- "id": 305,
+ "id": 296,
"name": "getPreviousValidOrders",
"kind": 2048,
"kindString": "Method",
@@ -3989,7 +3928,7 @@
],
"signatures": [
{
- "id": 306,
+ "id": 297,
"name": "getPreviousValidOrders",
"kind": 4096,
"kindString": "Call signature",
@@ -4000,7 +3939,7 @@
},
"parameters": [
{
- "id": 307,
+ "id": 298,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4012,7 +3951,7 @@
}
},
{
- "id": 308,
+ "id": 299,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -4024,7 +3963,7 @@
}
},
{
- "id": 309,
+ "id": 300,
"name": "serviceId",
"kind": 32768,
"kindString": "Parameter",
@@ -4036,7 +3975,7 @@
}
},
{
- "id": 310,
+ "id": 301,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -4050,7 +3989,7 @@
}
},
{
- "id": 311,
+ "id": 302,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -4078,7 +4017,7 @@
]
},
{
- "id": 312,
+ "id": 303,
"name": "getStartOrderEventSignature",
"kind": 2048,
"kindString": "Method",
@@ -4094,7 +4033,7 @@
],
"signatures": [
{
- "id": 313,
+ "id": 304,
"name": "getStartOrderEventSignature",
"kind": 4096,
"kindString": "Call signature",
@@ -4107,7 +4046,7 @@
]
},
{
- "id": 285,
+ "id": 276,
"name": "getSymbol",
"kind": 2048,
"kindString": "Method",
@@ -4123,7 +4062,7 @@
],
"signatures": [
{
- "id": 286,
+ "id": 277,
"name": "getSymbol",
"kind": 4096,
"kindString": "Call signature",
@@ -4134,7 +4073,7 @@
},
"parameters": [
{
- "id": 287,
+ "id": 278,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4160,7 +4099,7 @@
]
},
{
- "id": 240,
+ "id": 231,
"name": "mint",
"kind": 2048,
"kindString": "Method",
@@ -4176,7 +4115,7 @@
],
"signatures": [
{
- "id": 241,
+ "id": 232,
"name": "mint",
"kind": 4096,
"kindString": "Call signature",
@@ -4187,7 +4126,7 @@
},
"parameters": [
{
- "id": 242,
+ "id": 233,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4199,7 +4138,7 @@
}
},
{
- "id": 243,
+ "id": 234,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -4211,7 +4150,7 @@
}
},
{
- "id": 244,
+ "id": 235,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -4225,7 +4164,7 @@
}
},
{
- "id": 245,
+ "id": 236,
"name": "toAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4255,7 +4194,7 @@
]
},
{
- "id": 297,
+ "id": 288,
"name": "startOrder",
"kind": 2048,
"kindString": "Method",
@@ -4271,7 +4210,7 @@
],
"signatures": [
{
- "id": 298,
+ "id": 289,
"name": "startOrder",
"kind": 4096,
"kindString": "Call signature",
@@ -4282,7 +4221,7 @@
},
"parameters": [
{
- "id": 299,
+ "id": 290,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4294,7 +4233,7 @@
}
},
{
- "id": 300,
+ "id": 291,
"name": "consumer",
"kind": 32768,
"kindString": "Parameter",
@@ -4308,7 +4247,7 @@
}
},
{
- "id": 301,
+ "id": 292,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -4320,7 +4259,7 @@
}
},
{
- "id": 302,
+ "id": 293,
"name": "serviceId",
"kind": 32768,
"kindString": "Parameter",
@@ -4332,7 +4271,7 @@
}
},
{
- "id": 303,
+ "id": 294,
"name": "mpFeeAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4344,7 +4283,7 @@
}
},
{
- "id": 304,
+ "id": 295,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -4372,7 +4311,7 @@
]
},
{
- "id": 291,
+ "id": 282,
"name": "toWei",
"kind": 2048,
"kindString": "Method",
@@ -4388,7 +4327,7 @@
],
"signatures": [
{
- "id": 292,
+ "id": 283,
"name": "toWei",
"kind": 4096,
"kindString": "Call signature",
@@ -4399,7 +4338,7 @@
},
"parameters": [
{
- "id": 293,
+ "id": 284,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -4419,7 +4358,7 @@
]
},
{
- "id": 246,
+ "id": 237,
"name": "transfer",
"kind": 2048,
"kindString": "Method",
@@ -4435,7 +4374,7 @@
],
"signatures": [
{
- "id": 247,
+ "id": 238,
"name": "transfer",
"kind": 4096,
"kindString": "Call signature",
@@ -4446,7 +4385,7 @@
},
"parameters": [
{
- "id": 248,
+ "id": 239,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4458,7 +4397,7 @@
}
},
{
- "id": 249,
+ "id": 240,
"name": "toAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4470,7 +4409,7 @@
}
},
{
- "id": 250,
+ "id": 241,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -4484,7 +4423,7 @@
}
},
{
- "id": 251,
+ "id": 242,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -4510,7 +4449,7 @@
]
},
{
- "id": 264,
+ "id": 255,
"name": "transferFrom",
"kind": 2048,
"kindString": "Method",
@@ -4526,7 +4465,7 @@
],
"signatures": [
{
- "id": 265,
+ "id": 256,
"name": "transferFrom",
"kind": 4096,
"kindString": "Call signature",
@@ -4537,7 +4476,7 @@
},
"parameters": [
{
- "id": 266,
+ "id": 257,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4549,7 +4488,7 @@
}
},
{
- "id": 267,
+ "id": 258,
"name": "fromAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4561,7 +4500,7 @@
}
},
{
- "id": 268,
+ "id": 259,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -4575,7 +4514,7 @@
}
},
{
- "id": 269,
+ "id": 260,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -4601,7 +4540,7 @@
]
},
{
- "id": 252,
+ "id": 243,
"name": "transferToken",
"kind": 2048,
"kindString": "Method",
@@ -4617,7 +4556,7 @@
],
"signatures": [
{
- "id": 253,
+ "id": 244,
"name": "transferToken",
"kind": 4096,
"kindString": "Call signature",
@@ -4628,7 +4567,7 @@
},
"parameters": [
{
- "id": 254,
+ "id": 245,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4640,7 +4579,7 @@
}
},
{
- "id": 255,
+ "id": 246,
"name": "toAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4652,7 +4591,7 @@
}
},
{
- "id": 256,
+ "id": 247,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -4666,7 +4605,7 @@
}
},
{
- "id": 257,
+ "id": 248,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -4692,7 +4631,7 @@
]
},
{
- "id": 258,
+ "id": 249,
"name": "transferWei",
"kind": 2048,
"kindString": "Method",
@@ -4708,7 +4647,7 @@
],
"signatures": [
{
- "id": 259,
+ "id": 250,
"name": "transferWei",
"kind": 4096,
"kindString": "Call signature",
@@ -4719,7 +4658,7 @@
},
"parameters": [
{
- "id": 260,
+ "id": 251,
"name": "dataTokenAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4731,7 +4670,7 @@
}
},
{
- "id": 261,
+ "id": 252,
"name": "toAddress",
"kind": 32768,
"kindString": "Parameter",
@@ -4743,7 +4682,7 @@
}
},
{
- "id": 262,
+ "id": 253,
"name": "amount",
"kind": 32768,
"kindString": "Parameter",
@@ -4757,7 +4696,7 @@
}
},
{
- "id": 263,
+ "id": 254,
"name": "address",
"kind": 32768,
"kindString": "Parameter",
@@ -4787,45 +4726,36 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 205
- ]
+ "children": [196]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 212,
- 215,
- 214,
- 213,
- 217,
- 216
- ]
+ "children": [203, 206, 205, 204, 208, 207]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 274,
- 234,
- 270,
- 227,
- 294,
+ 265,
+ 225,
+ 261,
218,
+ 285,
+ 209,
+ 270,
279,
+ 273,
+ 296,
+ 303,
+ 276,
+ 231,
288,
282,
- 305,
- 312,
- 285,
- 240,
- 297,
- 291,
- 246,
- 264,
- 252,
- 258
+ 237,
+ 255,
+ 243,
+ 249
]
}
],
@@ -4838,7 +4768,7 @@
]
},
{
- "id": 153,
+ "id": 144,
"name": "MetadataCache",
"kind": 128,
"kindString": "Class",
@@ -4848,14 +4778,14 @@
},
"children": [
{
- "id": 154,
+ "id": 145,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 155,
+ "id": 146,
"name": "new MetadataCache",
"kind": 16384,
"kindString": "Constructor signature",
@@ -4865,7 +4795,7 @@
},
"parameters": [
{
- "id": 156,
+ "id": 147,
"name": "metadataCacheUri",
"kind": 32768,
"kindString": "Parameter",
@@ -4877,7 +4807,7 @@
}
},
{
- "id": 157,
+ "id": 148,
"name": "logger",
"kind": 32768,
"kindString": "Parameter",
@@ -4893,14 +4823,14 @@
],
"type": {
"type": "reference",
- "id": 153,
+ "id": 144,
"name": "MetadataCache"
}
}
]
},
{
- "id": 158,
+ "id": 149,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -4920,7 +4850,7 @@
}
},
{
- "id": 159,
+ "id": 150,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -4940,7 +4870,7 @@
}
},
{
- "id": 160,
+ "id": 151,
"name": "metadataCacheUri",
"kind": 1024,
"kindString": "Property",
@@ -4960,7 +4890,7 @@
}
},
{
- "id": 161,
+ "id": 152,
"name": "url",
"kind": 262144,
"kindString": "Accessor",
@@ -4974,7 +4904,7 @@
],
"getSignature": [
{
- "id": 162,
+ "id": 153,
"name": "url",
"kind": 524288,
"kindString": "Get signature",
@@ -4987,7 +4917,7 @@
]
},
{
- "id": 165,
+ "id": 156,
"name": "getAccessUrl",
"kind": 2048,
"kindString": "Method",
@@ -5003,14 +4933,14 @@
],
"signatures": [
{
- "id": 166,
+ "id": 157,
"name": "getAccessUrl",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 167,
+ "id": 158,
"name": "accessToken",
"kind": 32768,
"kindString": "Parameter",
@@ -5021,7 +4951,7 @@
}
},
{
- "id": 168,
+ "id": 159,
"name": "payload",
"kind": 32768,
"kindString": "Parameter",
@@ -5046,7 +4976,7 @@
]
},
{
- "id": 188,
+ "id": 179,
"name": "getOwnerAssets",
"kind": 2048,
"kindString": "Method",
@@ -5062,14 +4992,14 @@
],
"signatures": [
{
- "id": 189,
+ "id": 180,
"name": "getOwnerAssets",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 190,
+ "id": 181,
"name": "owner",
"kind": 32768,
"kindString": "Parameter",
@@ -5094,7 +5024,7 @@
]
},
{
- "id": 196,
+ "id": 187,
"name": "getServiceEndpoint",
"kind": 2048,
"kindString": "Method",
@@ -5110,21 +5040,21 @@
],
"signatures": [
{
- "id": 197,
+ "id": 188,
"name": "getServiceEndpoint",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 198,
+ "id": 189,
"name": "did",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 137,
+ "id": 128,
"name": "default"
}
}
@@ -5137,7 +5067,7 @@
]
},
{
- "id": 199,
+ "id": 190,
"name": "getURI",
"kind": 2048,
"kindString": "Method",
@@ -5153,7 +5083,7 @@
],
"signatures": [
{
- "id": 200,
+ "id": 191,
"name": "getURI",
"kind": 4096,
"kindString": "Call signature",
@@ -5166,7 +5096,7 @@
]
},
{
- "id": 163,
+ "id": 154,
"name": "getVersionInfo",
"kind": 2048,
"kindString": "Method",
@@ -5182,7 +5112,7 @@
],
"signatures": [
{
- "id": 164,
+ "id": 155,
"name": "getVersionInfo",
"kind": 4096,
"kindString": "Call signature",
@@ -5201,7 +5131,7 @@
]
},
{
- "id": 169,
+ "id": 160,
"name": "queryMetadata",
"kind": 2048,
"kindString": "Method",
@@ -5217,7 +5147,7 @@
],
"signatures": [
{
- "id": 170,
+ "id": 161,
"name": "queryMetadata",
"kind": 4096,
"kindString": "Call signature",
@@ -5228,7 +5158,7 @@
},
"parameters": [
{
- "id": 171,
+ "id": 162,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
@@ -5256,7 +5186,7 @@
]
},
{
- "id": 191,
+ "id": 182,
"name": "retire",
"kind": 2048,
"kindString": "Method",
@@ -5272,7 +5202,7 @@
],
"signatures": [
{
- "id": 192,
+ "id": 183,
"name": "retire",
"kind": 4096,
"kindString": "Call signature",
@@ -5281,286 +5211,6 @@
"shortText": "Retire a DDO (Delete)",
"returns": "Result.\n"
},
- "parameters": [
- {
- "id": 193,
- "name": "did",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "text": "DID of the asset to update."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 137,
- "name": "default"
- }
- ]
- }
- },
- {
- "id": 194,
- "name": "updated",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "text": "Updated field of the DDO"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 195,
- "name": "signature",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "text": "Signature using updated field to verify that the consumer has rights"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "intrinsic",
- "name": "string"
- }
- ],
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 175,
- "name": "retrieveDDO",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPublic": true
- },
- "sources": [
- {
- "fileName": "metadatacache/MetadataCache.ts",
- "line": 133,
- "character": 26
- }
- ],
- "signatures": [
- {
- "id": 176,
- "name": "retrieveDDO",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Retrieves a DDO by DID.",
- "returns": "DDO of the asset.\n"
- },
- "parameters": [
- {
- "id": 177,
- "name": "did",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "text": "DID of the asset."
- },
- "type": {
- "type": "union",
- "types": [
- {
- "type": "intrinsic",
- "name": "string"
- },
- {
- "type": "reference",
- "id": 137,
- "name": "default"
- }
- ]
- }
- },
- {
- "id": 178,
- "name": "metadataServiceEndpoint",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 325,
- "name": "DDO"
- }
- ],
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 179,
- "name": "retrieveDDOByUrl",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPublic": true
- },
- "sources": [
- {
- "fileName": "metadatacache/MetadataCache.ts",
- "line": 159,
- "character": 31
- }
- ],
- "signatures": [
- {
- "id": 180,
- "name": "retrieveDDOByUrl",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "parameters": [
- {
- "id": 181,
- "name": "metadataServiceEndpoint",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {
- "isOptional": true
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 325,
- "name": "DDO"
- }
- ],
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 172,
- "name": "storeDDO",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPublic": true
- },
- "sources": [
- {
- "fileName": "metadatacache/MetadataCache.ts",
- "line": 106,
- "character": 23
- }
- ],
- "signatures": [
- {
- "id": 173,
- "name": "storeDDO",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Stores a DDO in Metadata Store.",
- "returns": "Final DDO.\n"
- },
- "parameters": [
- {
- "id": 174,
- "name": "ddo",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "text": "DDO to be stored."
- },
- "type": {
- "type": "reference",
- "id": 325,
- "name": "DDO"
- }
- }
- ],
- "type": {
- "type": "reference",
- "typeArguments": [
- {
- "type": "reference",
- "id": 325,
- "name": "DDO"
- }
- ],
- "name": "Promise"
- }
- }
- ]
- },
- {
- "id": 182,
- "name": "transferOwnership",
- "kind": 2048,
- "kindString": "Method",
- "flags": {
- "isPublic": true
- },
- "sources": [
- {
- "fileName": "metadatacache/MetadataCache.ts",
- "line": 171,
- "character": 32
- }
- ],
- "signatures": [
- {
- "id": 183,
- "name": "transferOwnership",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "comment": {
- "shortText": "Transfer ownership of a DDO",
- "returns": "Result.\n"
- },
"parameters": [
{
"id": 184,
@@ -5580,7 +5230,7 @@
},
{
"type": "reference",
- "id": 137,
+ "id": 128,
"name": "default"
}
]
@@ -5588,20 +5238,6 @@
},
{
"id": 185,
- "name": "newOwner",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "comment": {
- "text": "New owner of the DDO"
- },
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 186,
"name": "updated",
"kind": 32768,
"kindString": "Parameter",
@@ -5615,7 +5251,7 @@
}
},
{
- "id": 187,
+ "id": 186,
"name": "signature",
"kind": 32768,
"kindString": "Parameter",
@@ -5643,7 +5279,301 @@
]
},
{
- "id": 201,
+ "id": 166,
+ "name": "retrieveDDO",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPublic": true
+ },
+ "sources": [
+ {
+ "fileName": "metadatacache/MetadataCache.ts",
+ "line": 133,
+ "character": 26
+ }
+ ],
+ "signatures": [
+ {
+ "id": 167,
+ "name": "retrieveDDO",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Retrieves a DDO by DID.",
+ "returns": "DDO of the asset.\n"
+ },
+ "parameters": [
+ {
+ "id": 168,
+ "name": "did",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "text": "DID of the asset."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 128,
+ "name": "default"
+ }
+ ]
+ }
+ },
+ {
+ "id": 169,
+ "name": "metadataServiceEndpoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 361,
+ "name": "DDO"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 170,
+ "name": "retrieveDDOByUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPublic": true
+ },
+ "sources": [
+ {
+ "fileName": "metadatacache/MetadataCache.ts",
+ "line": 159,
+ "character": 31
+ }
+ ],
+ "signatures": [
+ {
+ "id": 171,
+ "name": "retrieveDDOByUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 172,
+ "name": "metadataServiceEndpoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 361,
+ "name": "DDO"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 163,
+ "name": "storeDDO",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPublic": true
+ },
+ "sources": [
+ {
+ "fileName": "metadatacache/MetadataCache.ts",
+ "line": 106,
+ "character": 23
+ }
+ ],
+ "signatures": [
+ {
+ "id": 164,
+ "name": "storeDDO",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Stores a DDO in Metadata Store.",
+ "returns": "Final DDO.\n"
+ },
+ "parameters": [
+ {
+ "id": 165,
+ "name": "ddo",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "text": "DDO to be stored."
+ },
+ "type": {
+ "type": "reference",
+ "id": 361,
+ "name": "DDO"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 361,
+ "name": "DDO"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "transferOwnership",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPublic": true
+ },
+ "sources": [
+ {
+ "fileName": "metadatacache/MetadataCache.ts",
+ "line": 171,
+ "character": 32
+ }
+ ],
+ "signatures": [
+ {
+ "id": 174,
+ "name": "transferOwnership",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Transfer ownership of a DDO",
+ "returns": "Result.\n"
+ },
+ "parameters": [
+ {
+ "id": 175,
+ "name": "did",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "text": "DID of the asset to update."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 128,
+ "name": "default"
+ }
+ ]
+ }
+ },
+ {
+ "id": 176,
+ "name": "newOwner",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "text": "New owner of the DDO"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 177,
+ "name": "updated",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "text": "Updated field of the DDO"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 178,
+ "name": "signature",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "text": "Signature using updated field to verify that the consumer has rights"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 192,
"name": "transformResult",
"kind": 2048,
"kindString": "Method",
@@ -5659,14 +5589,14 @@
],
"signatures": [
{
- "id": 202,
+ "id": 193,
"name": "transformResult",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 203,
+ "id": 194,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -5690,42 +5620,34 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 154
- ]
+ "children": [145]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 158,
- 159,
- 160
- ]
+ "children": [149, 150, 151]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [
- 161
- ]
+ "children": [152]
},
{
"title": "Methods",
"kind": 2048,
"children": [
- 165,
- 188,
- 196,
- 199,
- 163,
- 169,
- 191,
- 175,
+ 156,
179,
- 172,
+ 187,
+ 190,
+ 154,
+ 160,
182,
- 201
+ 166,
+ 170,
+ 163,
+ 173,
+ 192
]
}
],
@@ -5738,7 +5660,7 @@
]
},
{
- "id": 27,
+ "id": 18,
"name": "Ocean",
"kind": 128,
"kindString": "Class",
@@ -5748,28 +5670,28 @@
},
"children": [
{
- "id": 36,
+ "id": 27,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {},
"signatures": [
{
- "id": 37,
+ "id": 28,
"name": "new Ocean",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"type": {
"type": "reference",
- "id": 27,
+ "id": 18,
"name": "Ocean"
}
}
]
},
{
- "id": 43,
+ "id": 34,
"name": "accounts",
"kind": 1024,
"kindString": "Property",
@@ -5792,7 +5714,7 @@
}
},
{
- "id": 44,
+ "id": 35,
"name": "assets",
"kind": 1024,
"kindString": "Property",
@@ -5815,7 +5737,7 @@
}
},
{
- "id": 45,
+ "id": 36,
"name": "compute",
"kind": 1024,
"kindString": "Property",
@@ -5838,7 +5760,7 @@
}
},
{
- "id": 46,
+ "id": 37,
"name": "datatokens",
"kind": 1024,
"kindString": "Property",
@@ -5857,12 +5779,12 @@
],
"type": {
"type": "reference",
- "id": 204,
+ "id": 195,
"name": "DataTokens"
}
},
{
- "id": 48,
+ "id": 39,
"name": "fixedRateExchange",
"kind": 1024,
"kindString": "Property",
@@ -5885,7 +5807,7 @@
}
},
{
- "id": 41,
+ "id": 32,
"name": "metadataCache",
"kind": 1024,
"kindString": "Property",
@@ -5904,12 +5826,12 @@
],
"type": {
"type": "reference",
- "id": 153,
+ "id": 144,
"name": "MetadataCache"
}
},
{
- "id": 38,
+ "id": 29,
"name": "network",
"kind": 1024,
"kindString": "Property",
@@ -5932,7 +5854,7 @@
}
},
{
- "id": 42,
+ "id": 33,
"name": "onChainMetadata",
"kind": 1024,
"kindString": "Property",
@@ -5955,7 +5877,7 @@
}
},
{
- "id": 47,
+ "id": 38,
"name": "pool",
"kind": 1024,
"kindString": "Property",
@@ -5978,7 +5900,7 @@
}
},
{
- "id": 39,
+ "id": 30,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -6001,7 +5923,7 @@
}
},
{
- "id": 50,
+ "id": 41,
"name": "utils",
"kind": 1024,
"kindString": "Property",
@@ -6024,7 +5946,7 @@
}
},
{
- "id": 49,
+ "id": 40,
"name": "versions",
"kind": 1024,
"kindString": "Property",
@@ -6047,7 +5969,7 @@
}
},
{
- "id": 40,
+ "id": 31,
"name": "web3Provider",
"kind": 1024,
"kindString": "Property",
@@ -6070,7 +5992,7 @@
}
},
{
- "id": 55,
+ "id": 46,
"name": "config",
"kind": 262144,
"kindString": "Accessor",
@@ -6084,21 +6006,21 @@
],
"getSignature": [
{
- "id": 56,
+ "id": 47,
"name": "config",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
- "id": 112,
+ "id": 103,
"name": "Config"
}
}
]
},
{
- "id": 59,
+ "id": 50,
"name": "instanceConfig",
"kind": 262144,
"kindString": "Accessor",
@@ -6112,7 +6034,7 @@
],
"getSignature": [
{
- "id": 60,
+ "id": 51,
"name": "instanceConfig",
"kind": 524288,
"kindString": "Get signature",
@@ -6125,7 +6047,7 @@
]
},
{
- "id": 57,
+ "id": 48,
"name": "logger",
"kind": 262144,
"kindString": "Accessor",
@@ -6139,7 +6061,7 @@
],
"getSignature": [
{
- "id": 58,
+ "id": 49,
"name": "logger",
"kind": 524288,
"kindString": "Get signature",
@@ -6152,7 +6074,7 @@
]
},
{
- "id": 51,
+ "id": 42,
"name": "ocean",
"kind": 262144,
"kindString": "Accessor",
@@ -6166,21 +6088,21 @@
],
"getSignature": [
{
- "id": 52,
+ "id": 43,
"name": "ocean",
"kind": 524288,
"kindString": "Get signature",
"flags": {},
"type": {
"type": "reference",
- "id": 27,
+ "id": 18,
"name": "Ocean"
}
}
]
},
{
- "id": 53,
+ "id": 44,
"name": "web3",
"kind": 262144,
"kindString": "Accessor",
@@ -6194,7 +6116,7 @@
],
"getSignature": [
{
- "id": 54,
+ "id": 45,
"name": "web3",
"kind": 524288,
"kindString": "Get signature",
@@ -6207,7 +6129,7 @@
]
},
{
- "id": 61,
+ "id": 52,
"name": "setInstanceConfig",
"kind": 2048,
"kindString": "Method",
@@ -6223,14 +6145,14 @@
],
"signatures": [
{
- "id": 62,
+ "id": 53,
"name": "setInstanceConfig",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 63,
+ "id": 54,
"name": "config",
"kind": 32768,
"kindString": "Parameter",
@@ -6249,7 +6171,7 @@
]
},
{
- "id": 28,
+ "id": 19,
"name": "getInstance",
"kind": 2048,
"kindString": "Method",
@@ -6266,7 +6188,7 @@
],
"signatures": [
{
- "id": 29,
+ "id": 20,
"name": "getInstance",
"kind": 4096,
"kindString": "Call signature",
@@ -6277,7 +6199,7 @@
},
"parameters": [
{
- "id": 30,
+ "id": 21,
"name": "config",
"kind": 32768,
"kindString": "Parameter",
@@ -6287,7 +6209,7 @@
},
"type": {
"type": "reference",
- "id": 112,
+ "id": 103,
"name": "Config"
}
}
@@ -6297,7 +6219,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 27,
+ "id": 18,
"name": "Ocean"
}
],
@@ -6307,7 +6229,7 @@
]
},
{
- "id": 31,
+ "id": 22,
"name": "setInstanceConfig",
"kind": 2048,
"kindString": "Method",
@@ -6324,14 +6246,14 @@
],
"signatures": [
{
- "id": 32,
+ "id": 23,
"name": "setInstanceConfig",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"typeParameter": [
{
- "id": 33,
+ "id": 24,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -6350,7 +6272,7 @@
],
"parameters": [
{
- "id": 34,
+ "id": 25,
"name": "instance",
"kind": 32768,
"kindString": "Parameter",
@@ -6361,7 +6283,7 @@
}
},
{
- "id": 35,
+ "id": 26,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
@@ -6384,48 +6306,22 @@
{
"title": "Constructors",
"kind": 512,
- "children": [
- 36
- ]
+ "children": [27]
},
{
"title": "Properties",
"kind": 1024,
- "children": [
- 43,
- 44,
- 45,
- 46,
- 48,
- 41,
- 38,
- 42,
- 47,
- 39,
- 50,
- 49,
- 40
- ]
+ "children": [34, 35, 36, 37, 39, 32, 29, 33, 38, 30, 41, 40, 31]
},
{
"title": "Accessors",
"kind": 262144,
- "children": [
- 55,
- 59,
- 57,
- 51,
- 53
- ]
+ "children": [46, 50, 48, 42, 44]
},
{
"title": "Methods",
"kind": 2048,
- "children": [
- 61,
- 28,
- 31
- ]
+ "children": [52, 19, 22]
}
],
"sources": [
@@ -6443,7 +6339,7 @@
]
},
{
- "id": 365,
+ "id": 401,
"name": "AdditionalInformation",
"kind": 256,
"kindString": "Interface",
@@ -6459,7 +6355,7 @@
},
"children": [
{
- "id": 374,
+ "id": 410,
"name": "categories",
"kind": 1024,
"kindString": "Property",
@@ -6491,7 +6387,7 @@
}
},
{
- "id": 367,
+ "id": 403,
"name": "copyrightHolder",
"kind": 1024,
"kindString": "Property",
@@ -6520,7 +6416,7 @@
}
},
{
- "id": 366,
+ "id": 402,
"name": "description",
"kind": 1024,
"kindString": "Property",
@@ -6549,7 +6445,7 @@
}
},
{
- "id": 373,
+ "id": 409,
"name": "inLanguage",
"kind": 1024,
"kindString": "Property",
@@ -6578,7 +6474,7 @@
}
},
{
- "id": 369,
+ "id": 405,
"name": "links",
"kind": 1024,
"kindString": "Property",
@@ -6606,20 +6502,20 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 370,
+ "id": 406,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 371,
+ "id": 407,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 372,
+ "id": 408,
"name": "name",
"kind": 32768,
"flags": {},
@@ -6639,7 +6535,7 @@
}
},
{
- "id": 377,
+ "id": 413,
"name": "structuredMarkup",
"kind": 1024,
"kindString": "Property",
@@ -6661,14 +6557,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 378,
+ "id": 414,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 380,
+ "id": 416,
"name": "mediaType",
"kind": 1024,
"kindString": "Property",
@@ -6686,7 +6582,7 @@
}
},
{
- "id": 379,
+ "id": 415,
"name": "uri",
"kind": 1024,
"kindString": "Property",
@@ -6708,10 +6604,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 380,
- 379
- ]
+ "children": [416, 415]
}
]
}
@@ -6719,7 +6612,7 @@
}
},
{
- "id": 375,
+ "id": 411,
"name": "tags",
"kind": 1024,
"kindString": "Property",
@@ -6751,7 +6644,7 @@
}
},
{
- "id": 376,
+ "id": 412,
"name": "updateFrequency",
"kind": 1024,
"kindString": "Property",
@@ -6780,7 +6673,7 @@
}
},
{
- "id": 368,
+ "id": 404,
"name": "workExample",
"kind": 1024,
"kindString": "Property",
@@ -6813,17 +6706,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 374,
- 367,
- 366,
- 373,
- 369,
- 377,
- 375,
- 376,
- 368
- ]
+ "children": [410, 403, 402, 409, 405, 413, 411, 412, 404]
}
],
"sources": [
@@ -6835,14 +6718,14 @@
]
},
{
- "id": 381,
+ "id": 417,
"name": "Authentication",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 383,
+ "id": 419,
"name": "publicKey",
"kind": 1024,
"kindString": "Property",
@@ -6860,7 +6743,7 @@
}
},
{
- "id": 382,
+ "id": 418,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6882,10 +6765,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 383,
- 382
- ]
+ "children": [419, 418]
}
],
"sources": [
@@ -6897,14 +6777,14 @@
]
},
{
- "id": 384,
+ "id": 420,
"name": "BestPrice",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 386,
+ "id": 422,
"name": "address",
"kind": 1024,
"kindString": "Property",
@@ -6922,7 +6802,7 @@
}
},
{
- "id": 390,
+ "id": 426,
"name": "datatoken",
"kind": 1024,
"kindString": "Property",
@@ -6942,7 +6822,7 @@
}
},
{
- "id": 388,
+ "id": 424,
"name": "isConsumable",
"kind": 1024,
"kindString": "Property",
@@ -6975,7 +6855,7 @@
}
},
{
- "id": 389,
+ "id": 425,
"name": "ocean",
"kind": 1024,
"kindString": "Property",
@@ -6995,7 +6875,7 @@
}
},
{
- "id": 391,
+ "id": 427,
"name": "pools",
"kind": 1024,
"kindString": "Property",
@@ -7016,7 +6896,7 @@
}
},
{
- "id": 385,
+ "id": 421,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7047,7 +6927,7 @@
}
},
{
- "id": 387,
+ "id": 423,
"name": "value",
"kind": 1024,
"kindString": "Property",
@@ -7069,15 +6949,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 386,
- 390,
- 388,
- 389,
- 391,
- 385,
- 387
- ]
+ "children": [422, 426, 424, 425, 427, 421, 423]
}
],
"sources": [
@@ -7089,7 +6961,846 @@
]
},
{
- "id": 392,
+ "id": 316,
+ "name": "ConfigHelperConfig",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 338,
+ "name": "authMessage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Message shown when the user creates its own token."
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 114,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 124,
+ "name": "Config.authMessage"
+ }
+ },
+ {
+ "id": 339,
+ "name": "authTokenExpiration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Token expiration time in ms."
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 120,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 125,
+ "name": "Config.authTokenExpiration"
+ }
+ },
+ {
+ "id": 328,
+ "name": "datatokensABI",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "datatokens ABI"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 57,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "AbiItem"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "AbiItem"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 114,
+ "name": "Config.datatokensABI"
+ }
+ },
+ {
+ "id": 327,
+ "name": "factoryABI",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Factory ABI"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 51,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "AbiItem"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "AbiItem"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 113,
+ "name": "Config.factoryABI"
+ }
+ },
+ {
+ "id": 326,
+ "name": "factoryAddress",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Factory address"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 45,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 112,
+ "name": "Config.factoryAddress"
+ }
+ },
+ {
+ "id": 332,
+ "name": "fixedRateExchangeAddress",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "FixedRateExchangeAddress"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 81,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 118,
+ "name": "Config.fixedRateExchangeAddress"
+ }
+ },
+ {
+ "id": 333,
+ "name": "fixedRateExchangeAddressABI",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "FixedRateExchangeAddressABI"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 87,
+ "character": 36
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "AbiItem"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "AbiItem"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 119,
+ "name": "Config.fixedRateExchangeAddressABI"
+ }
+ },
+ {
+ "id": 322,
+ "name": "metadataCacheUri",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Metadata Store URL."
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 21,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 108,
+ "name": "Config.metadataCacheUri"
+ }
+ },
+ {
+ "id": 335,
+ "name": "metadataContractABI",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "DDOContractABI"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 98,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "AbiItem"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "AbiItem"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 121,
+ "name": "Config.metadataContractABI"
+ }
+ },
+ {
+ "id": 334,
+ "name": "metadataContractAddress",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "DDOContractAddress"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 92,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 120,
+ "name": "Config.metadataContractAddress"
+ }
+ },
+ {
+ "id": 318,
+ "name": "network",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "utils/ConfigHelper.ts",
+ "line": 17,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 317,
+ "name": "networkId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "utils/ConfigHelper.ts",
+ "line": 16,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 320,
+ "name": "nodeUri",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Ethereum node URL."
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 9,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 106,
+ "name": "Config.nodeUri"
+ }
+ },
+ {
+ "id": 325,
+ "name": "oceanTokenAddress",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Ocean Token address"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 39,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 111,
+ "name": "Config.oceanTokenAddress"
+ }
+ },
+ {
+ "id": 340,
+ "name": "parityUri",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 123,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 126,
+ "name": "Config.parityUri"
+ }
+ },
+ {
+ "id": 331,
+ "name": "poolABI",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pool ABI"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 75,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "AbiItem"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "AbiItem"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 117,
+ "name": "Config.poolABI"
+ }
+ },
+ {
+ "id": 330,
+ "name": "poolFactoryABI",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pool Factory ABI"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 69,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "AbiItem"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "AbiItem"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 116,
+ "name": "Config.poolFactoryABI"
+ }
+ },
+ {
+ "id": 329,
+ "name": "poolFactoryAddress",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Pool Factory address"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 63,
+ "character": 27
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 115,
+ "name": "Config.poolFactoryAddress"
+ }
+ },
+ {
+ "id": 321,
+ "name": "providerAddress",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Address of Provider."
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 15,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 107,
+ "name": "Config.providerAddress"
+ }
+ },
+ {
+ "id": 323,
+ "name": "providerUri",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Provider URL."
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 27,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 109,
+ "name": "Config.providerUri"
+ }
+ },
+ {
+ "id": 336,
+ "name": "startBlock",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "block number of the deployment"
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 103,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 122,
+ "name": "Config.startBlock"
+ }
+ },
+ {
+ "id": 319,
+ "name": "subgraphUri",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "utils/ConfigHelper.ts",
+ "line": 18,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 341,
+ "name": "threshold",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 125,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 127,
+ "name": "Config.threshold"
+ }
+ },
+ {
+ "id": 337,
+ "name": "verbose",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Log level."
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 108,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ {
+ "type": "reference",
+ "name": "None"
+ },
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "reference",
+ "name": "Warn"
+ },
+ {
+ "type": "reference",
+ "name": "Log"
+ },
+ {
+ "type": "reference",
+ "name": "Verbose"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 123,
+ "name": "Config.verbose"
+ }
+ },
+ {
+ "id": 324,
+ "name": "web3Provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Web3 Provider."
+ },
+ "sources": [
+ {
+ "fileName": "models/Config.ts",
+ "line": 33,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 110,
+ "name": "Config.web3Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 338,
+ 339,
+ 328,
+ 327,
+ 326,
+ 332,
+ 333,
+ 322,
+ 335,
+ 334,
+ 318,
+ 317,
+ 320,
+ 325,
+ 340,
+ 331,
+ 330,
+ 329,
+ 321,
+ 323,
+ 336,
+ 319,
+ 341,
+ 337,
+ 324
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "utils/ConfigHelper.ts",
+ "line": 15,
+ "character": 35
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 103,
+ "name": "Config"
+ }
+ ]
+ },
+ {
+ "id": 428,
"name": "Curation",
"kind": 256,
"kindString": "Interface",
@@ -7105,7 +7816,7 @@
},
"children": [
{
- "id": 396,
+ "id": 432,
"name": "isListed",
"kind": 1024,
"kindString": "Property",
@@ -7134,7 +7845,7 @@
}
},
{
- "id": 394,
+ "id": 430,
"name": "numVotes",
"kind": 1024,
"kindString": "Property",
@@ -7161,7 +7872,7 @@
}
},
{
- "id": 393,
+ "id": 429,
"name": "rating",
"kind": 1024,
"kindString": "Property",
@@ -7188,7 +7899,7 @@
}
},
{
- "id": 395,
+ "id": 431,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -7221,12 +7932,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 396,
- 394,
- 393,
- 395
- ]
+ "children": [432, 430, 429, 431]
}
],
"sources": [
@@ -7238,14 +7944,14 @@
]
},
{
- "id": 397,
+ "id": 433,
"name": "EditableMetadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 398,
+ "id": 434,
"name": "description",
"kind": 1024,
"kindString": "Property",
@@ -7265,7 +7971,7 @@
}
},
{
- "id": 400,
+ "id": 436,
"name": "links",
"kind": 1024,
"kindString": "Property",
@@ -7283,13 +7989,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 401,
+ "id": 437,
"name": "EditableMetadataLinks"
}
}
},
{
- "id": 399,
+ "id": 435,
"name": "title",
"kind": 1024,
"kindString": "Property",
@@ -7313,11 +8019,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 398,
- 400,
- 399
- ]
+ "children": [434, 436, 435]
}
],
"sources": [
@@ -7329,14 +8031,14 @@
]
},
{
- "id": 401,
+ "id": 437,
"name": "EditableMetadataLinks",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 402,
+ "id": 438,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7354,7 +8056,7 @@
}
},
{
- "id": 404,
+ "id": 440,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7372,7 +8074,7 @@
}
},
{
- "id": 403,
+ "id": 439,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -7394,11 +8096,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 402,
- 404,
- 403
- ]
+ "children": [438, 440, 439]
}
],
"sources": [
@@ -7410,14 +8108,14 @@
]
},
{
- "id": 405,
+ "id": 441,
"name": "File",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 411,
+ "id": 447,
"name": "checksum",
"kind": 1024,
"kindString": "Property",
@@ -7440,7 +8138,7 @@
}
},
{
- "id": 412,
+ "id": 448,
"name": "checksumType",
"kind": 1024,
"kindString": "Property",
@@ -7463,7 +8161,7 @@
}
},
{
- "id": 416,
+ "id": 452,
"name": "compression",
"kind": 1024,
"kindString": "Property",
@@ -7492,7 +8190,7 @@
}
},
{
- "id": 413,
+ "id": 449,
"name": "contentLength",
"kind": 1024,
"kindString": "Property",
@@ -7515,7 +8213,7 @@
}
},
{
- "id": 410,
+ "id": 446,
"name": "contentType",
"kind": 1024,
"kindString": "Property",
@@ -7542,7 +8240,7 @@
}
},
{
- "id": 415,
+ "id": 451,
"name": "encoding",
"kind": 1024,
"kindString": "Property",
@@ -7571,7 +8269,7 @@
}
},
{
- "id": 409,
+ "id": 445,
"name": "index",
"kind": 1024,
"kindString": "Property",
@@ -7594,7 +8292,7 @@
}
},
{
- "id": 406,
+ "id": 442,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7617,7 +8315,7 @@
}
},
{
- "id": 414,
+ "id": 450,
"name": "resourceId",
"kind": 1024,
"kindString": "Property",
@@ -7640,7 +8338,7 @@
}
},
{
- "id": 407,
+ "id": 443,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -7663,7 +8361,7 @@
}
},
{
- "id": 408,
+ "id": 444,
"name": "valid",
"kind": 1024,
"kindString": "Property",
@@ -7690,19 +8388,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 411,
- 412,
- 416,
- 413,
- 410,
- 415,
- 409,
- 406,
- 414,
- 407,
- 408
- ]
+ "children": [447, 448, 452, 449, 446, 451, 445, 442, 450, 443, 444]
}
],
"sources": [
@@ -7714,14 +8400,14 @@
]
},
{
- "id": 417,
+ "id": 453,
"name": "Metadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 420,
+ "id": 456,
"name": "additionalInformation",
"kind": 1024,
"kindString": "Property",
@@ -7737,12 +8423,12 @@
],
"type": {
"type": "reference",
- "id": 365,
+ "id": 401,
"name": "AdditionalInformation"
}
},
{
- "id": 421,
+ "id": 457,
"name": "curation",
"kind": 1024,
"kindString": "Property",
@@ -7758,12 +8444,12 @@
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 428,
"name": "Curation"
}
},
{
- "id": 419,
+ "id": 455,
"name": "encryptedFiles",
"kind": 1024,
"kindString": "Property",
@@ -7783,7 +8469,7 @@
}
},
{
- "id": 418,
+ "id": 454,
"name": "main",
"kind": 1024,
"kindString": "Property",
@@ -7797,7 +8483,7 @@
],
"type": {
"type": "reference",
- "id": 433,
+ "id": 469,
"name": "MetadataMain"
}
}
@@ -7806,12 +8492,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 420,
- 421,
- 419,
- 418
- ]
+ "children": [456, 457, 455, 454]
}
],
"sources": [
@@ -7823,14 +8504,14 @@
]
},
{
- "id": 422,
+ "id": 458,
"name": "MetadataAlgorithm",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 428,
+ "id": 464,
"name": "container",
"kind": 1024,
"kindString": "Property",
@@ -7845,14 +8526,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 429,
+ "id": 465,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 430,
+ "id": 466,
"name": "entrypoint",
"kind": 1024,
"kindString": "Property",
@@ -7870,7 +8551,7 @@
}
},
{
- "id": 431,
+ "id": 467,
"name": "image",
"kind": 1024,
"kindString": "Property",
@@ -7888,7 +8569,7 @@
}
},
{
- "id": 432,
+ "id": 468,
"name": "tag",
"kind": 1024,
"kindString": "Property",
@@ -7910,18 +8591,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 430,
- 431,
- 432
- ]
+ "children": [466, 467, 468]
}
]
}
}
},
{
- "id": 426,
+ "id": 462,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -7941,7 +8618,7 @@
}
},
{
- "id": 425,
+ "id": 461,
"name": "language",
"kind": 1024,
"kindString": "Property",
@@ -7961,7 +8638,7 @@
}
},
{
- "id": 424,
+ "id": 460,
"name": "rawcode",
"kind": 1024,
"kindString": "Property",
@@ -7981,7 +8658,7 @@
}
},
{
- "id": 423,
+ "id": 459,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -8001,7 +8678,7 @@
}
},
{
- "id": 427,
+ "id": 463,
"name": "version",
"kind": 1024,
"kindString": "Property",
@@ -8025,14 +8702,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 428,
- 426,
- 425,
- 424,
- 423,
- 427
- ]
+ "children": [464, 462, 461, 460, 459, 463]
}
],
"sources": [
@@ -8044,7 +8714,7 @@
]
},
{
- "id": 433,
+ "id": 469,
"name": "MetadataMain",
"kind": 256,
"kindString": "Interface",
@@ -8060,7 +8730,7 @@
},
"children": [
{
- "id": 441,
+ "id": 477,
"name": "algorithm",
"kind": 1024,
"kindString": "Property",
@@ -8079,12 +8749,12 @@
],
"type": {
"type": "reference",
- "id": 422,
+ "id": 458,
"name": "MetadataAlgorithm"
}
},
{
- "id": 438,
+ "id": 474,
"name": "author",
"kind": 1024,
"kindString": "Property",
@@ -8111,7 +8781,7 @@
}
},
{
- "id": 436,
+ "id": 472,
"name": "dateCreated",
"kind": 1024,
"kindString": "Property",
@@ -8138,7 +8808,7 @@
}
},
{
- "id": 437,
+ "id": 473,
"name": "datePublished",
"kind": 1024,
"kindString": "Property",
@@ -8167,7 +8837,7 @@
}
},
{
- "id": 440,
+ "id": 476,
"name": "files",
"kind": 1024,
"kindString": "Property",
@@ -8186,13 +8856,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 405,
+ "id": 441,
"name": "File"
}
}
},
{
- "id": 439,
+ "id": 475,
"name": "license",
"kind": 1024,
"kindString": "Property",
@@ -8219,7 +8889,7 @@
}
},
{
- "id": 434,
+ "id": 470,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8246,7 +8916,7 @@
}
},
{
- "id": 435,
+ "id": 471,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8286,16 +8956,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 441,
- 438,
- 436,
- 437,
- 440,
- 439,
- 434,
- 435
- ]
+ "children": [477, 474, 472, 473, 476, 475, 470, 471]
}
],
"sources": [
@@ -8307,14 +8968,14 @@
]
},
{
- "id": 15,
+ "id": 6,
"name": "OceanPlatformTech",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 18,
+ "id": 9,
"name": "commit",
"kind": 1024,
"kindString": "Property",
@@ -8334,7 +8995,7 @@
}
},
{
- "id": 16,
+ "id": 7,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -8352,7 +9013,7 @@
}
},
{
- "id": 19,
+ "id": 10,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8366,12 +9027,12 @@
],
"type": {
"type": "reference",
- "id": 10,
+ "id": 1,
"name": "OceanPlatformTechStatus"
}
},
{
- "id": 17,
+ "id": 8,
"name": "version",
"kind": 1024,
"kindString": "Property",
@@ -8395,12 +9056,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 18,
- 16,
- 19,
- 17
- ]
+ "children": [9, 7, 10, 8]
}
],
"sources": [
@@ -8412,14 +9068,14 @@
]
},
{
- "id": 20,
+ "id": 11,
"name": "OceanPlatformVersions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 21,
+ "id": 12,
"name": "lib",
"kind": 1024,
"kindString": "Property",
@@ -8433,12 +9089,12 @@
],
"type": {
"type": "reference",
- "id": 15,
+ "id": 6,
"name": "OceanPlatformTech"
}
},
{
- "id": 22,
+ "id": 13,
"name": "metadataCache",
"kind": 1024,
"kindString": "Property",
@@ -8452,12 +9108,12 @@
],
"type": {
"type": "reference",
- "id": 15,
+ "id": 6,
"name": "OceanPlatformTech"
}
},
{
- "id": 23,
+ "id": 14,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -8471,12 +9127,12 @@
],
"type": {
"type": "reference",
- "id": 15,
+ "id": 6,
"name": "OceanPlatformTech"
}
},
{
- "id": 24,
+ "id": 15,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -8491,14 +9147,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 25,
+ "id": 16,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 26,
+ "id": 17,
"name": "ok",
"kind": 1024,
"kindString": "Property",
@@ -8520,9 +9176,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 26
- ]
+ "children": [17]
}
]
}
@@ -8533,12 +9187,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 21,
- 22,
- 23,
- 24
- ]
+ "children": [12, 13, 14, 15]
}
],
"sources": [
@@ -8550,14 +9199,205 @@
]
},
{
- "id": 442,
+ "id": 351,
+ "name": "Order",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 353,
+ "name": "amount",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 32,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 356,
+ "name": "consumer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 35,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 358,
+ "name": "did",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 37,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 352,
+ "name": "dtAddress",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 31,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 357,
+ "name": "payer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 36,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 359,
+ "name": "serviceId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 38,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 360,
+ "name": "serviceType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 39,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 354,
+ "name": "timestamp",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 33,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 355,
+ "name": "transactionHash",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 34,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [353, 356, 358, 352, 357, 359, 360, 354, 355]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "ocean/Assets.ts",
+ "line": 30,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 478,
"name": "Proof",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 444,
+ "id": 480,
"name": "created",
"kind": 1024,
"kindString": "Property",
@@ -8575,7 +9415,7 @@
}
},
{
- "id": 445,
+ "id": 481,
"name": "creator",
"kind": 1024,
"kindString": "Property",
@@ -8593,7 +9433,7 @@
}
},
{
- "id": 446,
+ "id": 482,
"name": "signatureValue",
"kind": 1024,
"kindString": "Property",
@@ -8611,7 +9451,7 @@
}
},
{
- "id": 443,
+ "id": 479,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8633,12 +9473,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 444,
- 445,
- 446,
- 443
- ]
+ "children": [480, 481, 482, 479]
}
],
"sources": [
@@ -8650,7 +9485,7 @@
]
},
{
- "id": 447,
+ "id": 483,
"name": "PublicKey",
"kind": 256,
"kindString": "Interface",
@@ -8660,7 +9495,7 @@
},
"children": [
{
- "id": 448,
+ "id": 484,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -8687,7 +9522,7 @@
}
},
{
- "id": 450,
+ "id": 486,
"name": "owner",
"kind": 1024,
"kindString": "Property",
@@ -8714,7 +9549,7 @@
}
},
{
- "id": 452,
+ "id": 488,
"name": "publicKeyBase58",
"kind": 1024,
"kindString": "Property",
@@ -8734,7 +9569,7 @@
}
},
{
- "id": 453,
+ "id": 489,
"name": "publicKeyHex",
"kind": 1024,
"kindString": "Property",
@@ -8754,7 +9589,7 @@
}
},
{
- "id": 451,
+ "id": 487,
"name": "publicKeyPem",
"kind": 1024,
"kindString": "Property",
@@ -8774,7 +9609,7 @@
}
},
{
- "id": 449,
+ "id": 485,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8816,14 +9651,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 448,
- 450,
- 452,
- 453,
- 451,
- 449
- ]
+ "children": [484, 486, 488, 489, 487, 485]
}
],
"sources": [
@@ -8835,14 +9663,14 @@
]
},
{
- "id": 543,
+ "id": 579,
"name": "PurgatoryData",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 544,
+ "id": 580,
"name": "did",
"kind": 1024,
"kindString": "Property",
@@ -8860,7 +9688,7 @@
}
},
{
- "id": 545,
+ "id": 581,
"name": "reason",
"kind": 1024,
"kindString": "Property",
@@ -8882,10 +9710,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 544,
- 545
- ]
+ "children": [580, 581]
}
],
"sources": [
@@ -8897,14 +9722,14 @@
]
},
{
- "id": 528,
+ "id": 564,
"name": "ServiceAccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 566,
"name": "attributes",
"kind": 1024,
"kindString": "Property",
@@ -8918,17 +9743,17 @@
],
"type": {
"type": "reference",
- "id": 469,
+ "id": 505,
"name": "ServiceAccessAttributes"
},
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 504,
"name": "ServiceCommon.attributes"
}
},
{
- "id": 531,
+ "id": 567,
"name": "index",
"kind": 1024,
"kindString": "Property",
@@ -8946,12 +9771,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 466,
+ "id": 502,
"name": "ServiceCommon.index"
}
},
{
- "id": 532,
+ "id": 568,
"name": "serviceEndpoint",
"kind": 1024,
"kindString": "Property",
@@ -8971,12 +9796,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 467,
+ "id": 503,
"name": "ServiceCommon.serviceEndpoint"
}
},
{
- "id": 529,
+ "id": 565,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8994,7 +9819,7 @@
},
"overwrites": {
"type": "reference",
- "id": 465,
+ "id": 501,
"name": "ServiceCommon.type"
}
}
@@ -9003,12 +9828,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 530,
- 531,
- 532,
- 529
- ]
+ "children": [566, 567, 568, 565]
}
],
"sources": [
@@ -9021,20 +9841,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 464,
+ "id": 500,
"name": "ServiceCommon"
}
]
},
{
- "id": 469,
+ "id": 505,
"name": "ServiceAccessAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 477,
+ "id": 513,
"name": "additionalInformation",
"kind": 1024,
"kindString": "Property",
@@ -9051,20 +9871,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 478,
+ "id": 514,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 479,
+ "id": 515,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 480,
+ "id": 516,
"name": "key",
"kind": 32768,
"flags": {},
@@ -9083,12 +9903,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 460,
+ "id": 496,
"name": "ServiceCommonAttributes.additionalInformation"
}
},
{
- "id": 470,
+ "id": 506,
"name": "main",
"kind": 1024,
"kindString": "Property",
@@ -9103,14 +9923,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 471,
+ "id": 507,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 475,
+ "id": 511,
"name": "cost",
"kind": 1024,
"kindString": "Property",
@@ -9128,7 +9948,7 @@
}
},
{
- "id": 472,
+ "id": 508,
"name": "creator",
"kind": 1024,
"kindString": "Property",
@@ -9146,7 +9966,7 @@
}
},
{
- "id": 474,
+ "id": 510,
"name": "datePublished",
"kind": 1024,
"kindString": "Property",
@@ -9164,7 +9984,7 @@
}
},
{
- "id": 473,
+ "id": 509,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -9182,7 +10002,7 @@
}
},
{
- "id": 476,
+ "id": 512,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -9204,20 +10024,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 475,
- 472,
- 474,
- 473,
- 476
- ]
+ "children": [511, 508, 510, 509, 512]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 456,
+ "id": 492,
"name": "ServiceCommonAttributes.main"
}
}
@@ -9226,10 +10040,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 477,
- 470
- ]
+ "children": [513, 506]
}
],
"sources": [
@@ -9242,20 +10053,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 455,
+ "id": 491,
"name": "ServiceCommonAttributes"
}
]
},
{
- "id": 464,
+ "id": 500,
"name": "ServiceCommon",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 468,
+ "id": 504,
"name": "attributes",
"kind": 1024,
"kindString": "Property",
@@ -9269,12 +10080,12 @@
],
"type": {
"type": "reference",
- "id": 455,
+ "id": 491,
"name": "ServiceCommonAttributes"
}
},
{
- "id": 466,
+ "id": 502,
"name": "index",
"kind": 1024,
"kindString": "Property",
@@ -9292,7 +10103,7 @@
}
},
{
- "id": 467,
+ "id": 503,
"name": "serviceEndpoint",
"kind": 1024,
"kindString": "Property",
@@ -9312,7 +10123,7 @@
}
},
{
- "id": 465,
+ "id": 501,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9326,7 +10137,7 @@
],
"type": {
"type": "reference",
- "id": 454,
+ "id": 490,
"name": "ServiceType"
}
}
@@ -9335,12 +10146,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 468,
- 466,
- 467,
- 465
- ]
+ "children": [504, 502, 503, 501]
}
],
"sources": [
@@ -9353,30 +10159,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 523,
+ "id": 559,
"name": "ServiceMetadata"
},
{
"type": "reference",
- "id": 528,
+ "id": 564,
"name": "ServiceAccess"
},
{
"type": "reference",
- "id": 533,
+ "id": 569,
"name": "ServiceCompute"
}
]
},
{
- "id": 455,
+ "id": 491,
"name": "ServiceCommonAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 460,
+ "id": 496,
"name": "additionalInformation",
"kind": 1024,
"kindString": "Property",
@@ -9393,20 +10199,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 461,
+ "id": 497,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 462,
+ "id": 498,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 463,
+ "id": 499,
"name": "key",
"kind": 32768,
"flags": {},
@@ -9425,7 +10231,7 @@
}
},
{
- "id": 456,
+ "id": 492,
"name": "main",
"kind": 1024,
"kindString": "Property",
@@ -9440,20 +10246,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 457,
+ "id": 493,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 458,
+ "id": 494,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 459,
+ "id": 495,
"name": "key",
"kind": 32768,
"flags": {},
@@ -9476,10 +10282,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 460,
- 456
- ]
+ "children": [496, 492]
}
],
"sources": [
@@ -9492,25 +10295,25 @@
"extendedBy": [
{
"type": "reference",
- "id": 469,
+ "id": 505,
"name": "ServiceAccessAttributes"
},
{
"type": "reference",
- "id": 509,
+ "id": 545,
"name": "ServiceComputeAttributes"
}
]
},
{
- "id": 533,
+ "id": 569,
"name": "ServiceCompute",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 535,
+ "id": 571,
"name": "attributes",
"kind": 1024,
"kindString": "Property",
@@ -9524,17 +10327,17 @@
],
"type": {
"type": "reference",
- "id": 509,
+ "id": 545,
"name": "ServiceComputeAttributes"
},
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 504,
"name": "ServiceCommon.attributes"
}
},
{
- "id": 536,
+ "id": 572,
"name": "index",
"kind": 1024,
"kindString": "Property",
@@ -9552,12 +10355,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 466,
+ "id": 502,
"name": "ServiceCommon.index"
}
},
{
- "id": 537,
+ "id": 573,
"name": "serviceEndpoint",
"kind": 1024,
"kindString": "Property",
@@ -9577,12 +10380,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 467,
+ "id": 503,
"name": "ServiceCommon.serviceEndpoint"
}
},
{
- "id": 534,
+ "id": 570,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9600,7 +10403,7 @@
},
"overwrites": {
"type": "reference",
- "id": 465,
+ "id": 501,
"name": "ServiceCommon.type"
}
}
@@ -9609,12 +10412,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 535,
- 536,
- 537,
- 534
- ]
+ "children": [571, 572, 573, 570]
}
],
"sources": [
@@ -9627,20 +10425,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 464,
+ "id": 500,
"name": "ServiceCommon"
}
]
},
{
- "id": 509,
+ "id": 545,
"name": "ServiceComputeAttributes",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 519,
+ "id": 555,
"name": "additionalInformation",
"kind": 1024,
"kindString": "Property",
@@ -9657,20 +10455,20 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 520,
+ "id": 556,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"indexSignature": {
- "id": 521,
+ "id": 557,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 522,
+ "id": 558,
"name": "key",
"kind": 32768,
"flags": {},
@@ -9689,12 +10487,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 460,
+ "id": 496,
"name": "ServiceCommonAttributes.additionalInformation"
}
},
{
- "id": 510,
+ "id": 546,
"name": "main",
"kind": 1024,
"kindString": "Property",
@@ -9709,14 +10507,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 511,
+ "id": 547,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 514,
+ "id": 550,
"name": "cost",
"kind": 1024,
"kindString": "Property",
@@ -9734,7 +10532,7 @@
}
},
{
- "id": 512,
+ "id": 548,
"name": "creator",
"kind": 1024,
"kindString": "Property",
@@ -9752,7 +10550,7 @@
}
},
{
- "id": 513,
+ "id": 549,
"name": "datePublished",
"kind": 1024,
"kindString": "Property",
@@ -9770,7 +10568,7 @@
}
},
{
- "id": 517,
+ "id": 553,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -9788,7 +10586,7 @@
}
},
{
- "id": 518,
+ "id": 554,
"name": "privacy",
"kind": 1024,
"kindString": "Property",
@@ -9804,12 +10602,12 @@
],
"type": {
"type": "reference",
- "id": 481,
+ "id": 517,
"name": "ServiceComputePrivacy"
}
},
{
- "id": 516,
+ "id": 552,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -9825,12 +10623,12 @@
],
"type": {
"type": "reference",
- "id": 485,
+ "id": 521,
"name": "ServiceComputeProvider"
}
},
{
- "id": 515,
+ "id": 551,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -9852,22 +10650,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 514,
- 512,
- 513,
- 517,
- 518,
- 516,
- 515
- ]
+ "children": [550, 548, 549, 553, 554, 552, 551]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 456,
+ "id": 492,
"name": "ServiceCommonAttributes.main"
}
}
@@ -9876,10 +10666,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 519,
- 510
- ]
+ "children": [555, 546]
}
],
"sources": [
@@ -9892,20 +10679,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 455,
+ "id": 491,
"name": "ServiceCommonAttributes"
}
]
},
{
- "id": 481,
+ "id": 517,
"name": "ServiceComputePrivacy",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 483,
+ "id": 519,
"name": "allowNetworkAccess",
"kind": 1024,
"kindString": "Property",
@@ -9923,7 +10710,7 @@
}
},
{
- "id": 482,
+ "id": 518,
"name": "allowRawAlgorithm",
"kind": 1024,
"kindString": "Property",
@@ -9941,7 +10728,7 @@
}
},
{
- "id": 484,
+ "id": 520,
"name": "trustedAlgorithms",
"kind": 1024,
"kindString": "Property",
@@ -9966,11 +10753,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 483,
- 482,
- 484
- ]
+ "children": [519, 518, 520]
}
],
"sources": [
@@ -9982,14 +10765,14 @@
]
},
{
- "id": 485,
+ "id": 521,
"name": "ServiceComputeProvider",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 487,
+ "id": 523,
"name": "description",
"kind": 1024,
"kindString": "Property",
@@ -10007,7 +10790,7 @@
}
},
{
- "id": 488,
+ "id": 524,
"name": "environment",
"kind": 1024,
"kindString": "Property",
@@ -10022,14 +10805,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 489,
+ "id": 525,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 490,
+ "id": 526,
"name": "cluster",
"kind": 1024,
"kindString": "Property",
@@ -10044,14 +10827,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 491,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 492,
+ "id": 528,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10069,7 +10852,7 @@
}
},
{
- "id": 493,
+ "id": 529,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -10091,17 +10874,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 492,
- 493
- ]
+ "children": [528, 529]
}
]
}
}
},
{
- "id": 494,
+ "id": 530,
"name": "supportedContainers",
"kind": 1024,
"kindString": "Property",
@@ -10118,14 +10898,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 495,
+ "id": 531,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 498,
+ "id": 534,
"name": "checksum",
"kind": 1024,
"kindString": "Property",
@@ -10143,7 +10923,7 @@
}
},
{
- "id": 496,
+ "id": 532,
"name": "image",
"kind": 1024,
"kindString": "Property",
@@ -10161,7 +10941,7 @@
}
},
{
- "id": 497,
+ "id": 533,
"name": "tag",
"kind": 1024,
"kindString": "Property",
@@ -10183,11 +10963,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 498,
- 496,
- 497
- ]
+ "children": [534, 532, 533]
}
]
}
@@ -10195,7 +10971,7 @@
}
},
{
- "id": 499,
+ "id": 535,
"name": "supportedServers",
"kind": 1024,
"kindString": "Property",
@@ -10212,14 +10988,14 @@
"elementType": {
"type": "reflection",
"declaration": {
- "id": 500,
+ "id": 536,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 503,
+ "id": 539,
"name": "cost",
"kind": 1024,
"kindString": "Property",
@@ -10237,7 +11013,7 @@
}
},
{
- "id": 504,
+ "id": 540,
"name": "cpu",
"kind": 1024,
"kindString": "Property",
@@ -10255,7 +11031,7 @@
}
},
{
- "id": 507,
+ "id": 543,
"name": "disk",
"kind": 1024,
"kindString": "Property",
@@ -10273,7 +11049,7 @@
}
},
{
- "id": 505,
+ "id": 541,
"name": "gpu",
"kind": 1024,
"kindString": "Property",
@@ -10291,7 +11067,7 @@
}
},
{
- "id": 508,
+ "id": 544,
"name": "maxExecutionTime",
"kind": 1024,
"kindString": "Property",
@@ -10309,7 +11085,7 @@
}
},
{
- "id": 506,
+ "id": 542,
"name": "memory",
"kind": 1024,
"kindString": "Property",
@@ -10327,7 +11103,7 @@
}
},
{
- "id": 501,
+ "id": 537,
"name": "serverId",
"kind": 1024,
"kindString": "Property",
@@ -10345,7 +11121,7 @@
}
},
{
- "id": 502,
+ "id": 538,
"name": "serverType",
"kind": 1024,
"kindString": "Property",
@@ -10367,16 +11143,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 503,
- 504,
- 507,
- 505,
- 508,
- 506,
- 501,
- 502
- ]
+ "children": [539, 540, 543, 541, 544, 542, 537, 538]
}
]
}
@@ -10388,18 +11155,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 490,
- 494,
- 499
- ]
+ "children": [526, 530, 535]
}
]
}
}
},
{
- "id": 486,
+ "id": 522,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10421,11 +11184,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 487,
- 488,
- 486
- ]
+ "children": [523, 524, 522]
}
],
"sources": [
@@ -10437,14 +11196,14 @@
]
},
{
- "id": 523,
+ "id": 559,
"name": "ServiceMetadata",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 525,
+ "id": 561,
"name": "attributes",
"kind": 1024,
"kindString": "Property",
@@ -10458,17 +11217,17 @@
],
"type": {
"type": "reference",
- "id": 417,
+ "id": 453,
"name": "Metadata"
},
"overwrites": {
"type": "reference",
- "id": 468,
+ "id": 504,
"name": "ServiceCommon.attributes"
}
},
{
- "id": 526,
+ "id": 562,
"name": "index",
"kind": 1024,
"kindString": "Property",
@@ -10486,12 +11245,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 466,
+ "id": 502,
"name": "ServiceCommon.index"
}
},
{
- "id": 527,
+ "id": 563,
"name": "serviceEndpoint",
"kind": 1024,
"kindString": "Property",
@@ -10511,12 +11270,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 467,
+ "id": 503,
"name": "ServiceCommon.serviceEndpoint"
}
},
{
- "id": 524,
+ "id": 560,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10534,7 +11293,7 @@
},
"overwrites": {
"type": "reference",
- "id": 465,
+ "id": 501,
"name": "ServiceCommon.type"
}
}
@@ -10543,12 +11302,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 525,
- 526,
- 527,
- 524
- ]
+ "children": [561, 562, 563, 560]
}
],
"sources": [
@@ -10561,20 +11315,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 464,
+ "id": 500,
"name": "ServiceCommon"
}
]
},
{
- "id": 540,
+ "id": 576,
"name": "ServicePrices",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 542,
+ "id": 578,
"name": "cost",
"kind": 1024,
"kindString": "Property",
@@ -10592,7 +11346,7 @@
}
},
{
- "id": 541,
+ "id": 577,
"name": "serviceIndex",
"kind": 1024,
"kindString": "Property",
@@ -10614,10 +11368,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [
- 542,
- 541
- ]
+ "children": [578, 577]
}
],
"sources": [
@@ -10629,7 +11380,7 @@
]
},
{
- "id": 538,
+ "id": 574,
"name": "Service",
"kind": 4194304,
"kindString": "Type alias",
@@ -10643,7 +11394,7 @@
],
"typeParameter": [
{
- "id": 539,
+ "id": 575,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -10653,7 +11404,7 @@
"types": [
{
"type": "reference",
- "id": 454,
+ "id": 490,
"name": "ServiceType"
},
{
@@ -10680,7 +11431,7 @@
},
"trueType": {
"type": "reference",
- "id": 523,
+ "id": 559,
"name": "ServiceMetadata"
},
"falseType": {
@@ -10695,7 +11446,7 @@
},
"trueType": {
"type": "reference",
- "id": 528,
+ "id": 564,
"name": "ServiceAccess"
},
"falseType": {
@@ -10710,7 +11461,7 @@
},
"trueType": {
"type": "reference",
- "id": 533,
+ "id": 569,
"name": "ServiceCompute"
},
"falseType": {
@@ -10725,12 +11476,12 @@
},
"trueType": {
"type": "reference",
- "id": 464,
+ "id": 500,
"name": "ServiceCommon"
},
"falseType": {
"type": "reference",
- "id": 464,
+ "id": 500,
"name": "ServiceCommon"
}
}
@@ -10739,7 +11490,7 @@
}
},
{
- "id": 454,
+ "id": 490,
"name": "ServiceType",
"kind": 4194304,
"kindString": "Type alias",
@@ -10774,7 +11525,7 @@
}
},
{
- "id": 152,
+ "id": 143,
"name": "Logger",
"kind": 32,
"kindString": "Variable",
@@ -10799,78 +11550,60 @@
{
"title": "Namespaces",
"kind": 2,
- "children": [
- 314
- ]
+ "children": [305]
},
{
"title": "Enumerations",
"kind": 4,
- "children": [
- 1,
- 10,
- 8
- ]
+ "children": [342, 1, 349]
},
{
"title": "Classes",
"kind": 128,
- "children": [
- 64,
- 112,
- 315,
- 325,
- 137,
- 204,
- 153,
- 27
- ]
+ "children": [55, 103, 306, 361, 128, 195, 144, 18]
},
{
"title": "Interfaces",
"kind": 256,
"children": [
- 365,
- 381,
- 384,
- 392,
- 397,
401,
- 405,
417,
- 422,
+ 420,
+ 316,
+ 428,
433,
- 15,
- 20,
- 442,
- 447,
- 543,
- 528,
+ 437,
+ 441,
+ 453,
+ 458,
469,
- 464,
- 455,
- 533,
- 509,
- 481,
- 485,
- 523,
- 540
+ 6,
+ 11,
+ 351,
+ 478,
+ 483,
+ 579,
+ 564,
+ 505,
+ 500,
+ 491,
+ 569,
+ 545,
+ 517,
+ 521,
+ 559,
+ 576
]
},
{
"title": "Type aliases",
"kind": 4194304,
- "children": [
- 538,
- 454
- ]
+ "children": [574, 490]
},
{
"title": "Variables",
"kind": 32,
- "children": [
- 152
- ]
+ "children": [143]
}
],
"sources": [
@@ -10880,4 +11613,4 @@
"character": 0
}
]
-}
\ No newline at end of file
+}
diff --git a/src/templates/Typedoc/Entities.jsx b/src/templates/Typedoc/Entities.jsx
index 767293fc..6c3f9277 100644
--- a/src/templates/Typedoc/Entities.jsx
+++ b/src/templates/Typedoc/Entities.jsx
@@ -4,7 +4,6 @@ import slugify from 'slugify'
import shortid from 'shortid'
import Scroll from '../../components/Scroll'
import styles from './Entities.module.scss'
-import { filterByKindOfProperty } from './utils'
const Type = ({ type }) => {
let isArray = false
@@ -213,16 +212,14 @@ const Entities = ({ entities, sourceUrl }) =>
)}
{children &&
- children
- .filter(filterByKindOfProperty)
- .map((property) => (
-
- ))}
+ children.map((property) => (
+
+ ))}
))
diff --git a/src/templates/Typedoc/Toc.jsx b/src/templates/Typedoc/Toc.jsx
index c1890cf2..0104a40f 100644
--- a/src/templates/Typedoc/Toc.jsx
+++ b/src/templates/Typedoc/Toc.jsx
@@ -4,7 +4,6 @@ import slugify from 'slugify'
import shortid from 'shortid'
import Scrollspy from 'react-scrollspy'
import Scroll from '../../components/Scroll'
-// import { filterByKindOfProperty } from './utils'
import stylesSidebar from '../../components/Sidebar.module.scss'
export default class Toc extends PureComponent {
diff --git a/src/templates/Typedoc/index.jsx b/src/templates/Typedoc/index.jsx
index d3ba71df..2b4fec64 100644
--- a/src/templates/Typedoc/index.jsx
+++ b/src/templates/Typedoc/index.jsx
@@ -8,15 +8,12 @@ import HeaderSection from '../../components/HeaderSection'
import Sidebar from '../../components/Sidebar'
import DocHeader from '../../components/DocHeader'
import Seo from '../../components/Seo'
-// import { cleanTypedocData } from './utils'
import Entities from './Entities'
import Toc from './Toc'
import stylesDoc from '../Doc.module.scss'
-import typedocSpecMock from '../../../ocean.js.json'
-
export default class TypedocTemplate extends Component {
static propTypes = {
data: PropTypes.object.isRequired,
@@ -34,9 +31,8 @@ export default class TypedocTemplate extends Component {
render() {
const { location, pageContext } = this.props
- // const { typedoc } = pageContext
- const { info } = typedocSpecMock
- const { title, description, version, sourceUrl } = info
+ const { typedoc } = pageContext
+ const { title, description, version, sourceUrl } = typedoc.info
return (
<>
@@ -63,7 +59,7 @@ export default class TypedocTemplate extends Component {
sidebar="references"
collapsed
toc
- tocComponent={}
+ tocComponent={}
/>
@@ -73,10 +69,7 @@ export default class TypedocTemplate extends Component {
prepend={{version}}
/>
-
+
diff --git a/src/templates/Typedoc/utils.js b/src/templates/Typedoc/utils.js
deleted file mode 100644
index 99a49382..00000000
--- a/src/templates/Typedoc/utils.js
+++ /dev/null
@@ -1,44 +0,0 @@
-export const cleanTypedocData = (data, useClasses) => {
- const nodes = data.children
-
- const cleanData = nodes
- .map((node) => {
- const child =
- node.children &&
- node.children.filter(({ kindString }) => kindString === 'Class')[0]
-
- return {
- ...node,
- name: node.name.replace(/"/g, '').replace('src/', ''),
- child
- }
- })
- .filter(({ name }) => (useClasses || []).includes(name))
- .sort((a, b) => useClasses.indexOf(a.name) - useClasses.indexOf(b.name))
- .map(({ child }) => child)
- .map((node) => ({
- ...node,
- children:
- node && node.children && node.children.sort((a, b) => a.id - b.id)
- }))
-
- return cleanData
-}
-
-// more kinds: 'Property', 'Enumeration'
-const showKindOfProperty = {
- Method: { onlyPublic: true },
- Property: { onlyPublic: true }
-}
-
-export const filterByKindOfProperty = ({ kindString, flags }) => {
- const config = showKindOfProperty[kindString]
- if (!config) return
-
- // filter out static methods by default
- if (flags.isStatic) return
-
- if (config.onlyPublic && !flags.isPublic) return
-
- return true
-}