Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_: added a couple of new schemas and methods #5843

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
150 changes: 150 additions & 0 deletions integration-tests/schemas/accounts_getKeypairs
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"result": {
"items": {
"properties": {
"accounts": {
"items": {
"properties": {
"address": {
"type": "string"
},
"chat": {
"type": "boolean"
},
"clock": {
"type": "integer"
},
"colorId": {
"type": "string"
},
"createdAt": {
"type": "integer"
},
"emoji": {
"type": "string"
},
"hidden": {
"type": "boolean"
},
"key-uid": {
"type": "string"
},
"mixedcase-address": {
"type": "string"
},
"name": {
"type": "string"
},
"operable": {
"type": "string"
},
"path": {
"type": "string"
},
"position": {
"type": "integer"
},
"prodPreferredChainIds": {
"type": "string"
},
"public-key": {
"type": "string"
},
"removed": {
"type": "boolean"
},
"testPreferredChainIds": {
"type": "string"
},
"type": {
"type": "string"
},
"wallet": {
"type": "boolean"
}
},
"required": [
"address",
"chat",
"clock",
"colorId",
"createdAt",
"emoji",
"hidden",
"key-uid",
"mixedcase-address",
"name",
"operable",
"path",
"position",
"prodPreferredChainIds",
"public-key",
"removed",
"testPreferredChainIds",
"type",
"wallet"
],
"type": "object"
},
"type": "array"
},
"clock": {
"type": "integer"
},
"derived-from": {
"type": "string"
},
"key-uid": {
"type": "string"
},
"keycards": {
"type": "array"
},
"last-used-derivation-index": {
"type": "integer"
},
"name": {
"type": "string"
},
"removed": {
"type": "boolean"
},
"synced-from": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"accounts",
"clock",
"derived-from",
"key-uid",
"keycards",
"last-used-derivation-index",
"name",
"removed",
"synced-from",
"type"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
20 changes: 20 additions & 0 deletions integration-tests/schemas/accounts_hasPairedDevices
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"result": {
"type": "boolean"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
20 changes: 20 additions & 0 deletions integration-tests/schemas/accounts_remainingAccountCapacity
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"result": {
"type": "integer"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
Loading