IO-3092 Implement delete, move and download on image proxy. Add imgproxy based components.
This commit is contained in:
@@ -2722,3 +2722,30 @@ exports.GET_DOCUMENTS_BY_JOB = `
|
||||
}
|
||||
}
|
||||
}`;
|
||||
|
||||
exports.QUERY_TEMPORARY_DOCS = ` query QUERY_TEMPORARY_DOCS {
|
||||
documents(where: { jobid: { _is_null: true } }, order_by: { takenat: desc }) {
|
||||
id
|
||||
name
|
||||
key
|
||||
type
|
||||
extension
|
||||
size
|
||||
takenat
|
||||
}
|
||||
}`;
|
||||
|
||||
exports.GET_DOCUMENTS_BY_IDS = `
|
||||
query GET_DOCUMENTS_BY_IDS($documentIds: [uuid!]!) {
|
||||
documents(where: {id: {_in: $documentIds}}, order_by: {takenat: desc}) {
|
||||
id
|
||||
name
|
||||
key
|
||||
type
|
||||
extension
|
||||
size
|
||||
takenat
|
||||
}
|
||||
}
|
||||
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user