Add signature and authed_requests to database
This commit is contained in:
@@ -22,9 +22,22 @@ export interface ResourceDataTable {
|
||||
|
||||
/** Millisecond timestamp of the last write. */
|
||||
timestamp: Timestamp;
|
||||
|
||||
/** Signature of the write. */
|
||||
signature: string;
|
||||
}
|
||||
|
||||
export interface AuthedRequestsTable {
|
||||
|
||||
/** Signature of the request. */
|
||||
signature: string;
|
||||
|
||||
/** Millisecond timestamp of the request. */
|
||||
timestamp: Timestamp;
|
||||
}
|
||||
|
||||
/** Complete Kysely schema mapping for the sync server database. */
|
||||
export interface DatabaseTables {
|
||||
resource_data: ResourceDataTable;
|
||||
authed_requests: AuthedRequestsTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user