22d039a229
* ✨ Initial implementation of sets api on ozone * ✨ Introduce sortDirection to querySets * 🧹 Cleanup and refactor * ✨ Align setView for response * ♻️ Rename and add specific error * 🐛 Cleanup unnecessary check that is covered by lexicon * ✨ Rename remove to delete and add set suffix * ✨ Use id and createdAt for values pagination * ✨ Add index on createdAt for query perf and other cleanups * 🐛 Set createdAt when inserting values * 📝 Add changeset * ✨ Add index on setId and createdAt
25 lines
508 B
JSON
25 lines
508 B
JSON
{
|
|
"lexicon": 1,
|
|
"id": "tools.ozone.set.upsertSet",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"description": "Create or update set metadata",
|
|
"input": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "ref",
|
|
"ref": "tools.ozone.set.defs#set"
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "ref",
|
|
"ref": "tools.ozone.set.defs#setView"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|