TimeChain/src/data/interfaces.js
Jason Tudisco c617c63510 Change page security.
Added special script to handle parcel and node require.
Added new tagging control.
Adding new HTML Sanitizer.
Packages so I could be sqlite with the right electron version.
Some style changes.
Interface changes.
Changes to the sqlite/client. Interfaces cuased errors.
Fixed bugs in electron ipc handling.
Fixes to the sqlite libs.
Create a new input control that can handle pasting.
pasting HTML works with cycle through HTML,Text, Sanatized HTML.
New UI controls.
Time stamp control has more functionality.
2022-02-03 03:27:51 -06:00

39 lines
815 B
JavaScript

const InterfaceRecord = {
find(search,sort,limit,offset){},
get(uuid){},
add(uuid,timestamp,content,mime,hash){},
update(uuid,content,mime,hash){},
delete(uuid){},
}
const InterfaceFile = {
add(uuid_record,uuid,timestamp,content,mime,hash){},
getByRecord(uuid_record){},
get(uuid){},
delete(uuid){},
deleteRecord(uuid_record){},
update(uuid,timestamp,content,mime,hash){}
}
const InterfaceTag = {
add(tag){},
delete(tag){},
get(tag){},
has(tag){}
}
const InterfaceTagLink = {
add(uuid,tag){},
delete(uuid,tag){},
deleteTag(tag){},
deleteRecord(uuid){},
getRecords(tag){},
getTags(uuid){}
}
module.exports = {
InterfaceTagLink,
InterfaceTag,
InterfaceFile,
InterfaceRecord
}