added base protocol types that every app in this monorepo import it
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://sadtech.ir/schemas/sync-response.schema.json",
|
||||
"title": "SyncResponse",
|
||||
"description": "A sync response is a response sent by the server to a device to synchronize its local database with the server's database.",
|
||||
"description": "A sync response is a response sent by the server.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cursor": {
|
||||
"description": "The cursor is a string that represents the last known state of the database on the device. It is used to determine which operations need to be sent to the device.",
|
||||
"description": "The cursor is an integer that represents the last known state of the database.",
|
||||
"type": "integer"
|
||||
},
|
||||
"operations": {
|
||||
@@ -25,4 +25,4 @@
|
||||
"cursor",
|
||||
"operations"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user