@lbu/store
Advanced tools
Comparing version 0.0.44 to 0.0.45
{ | ||
"name": "@lbu/store", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"description": "Postgres & S3-compatible wrappers for common things", | ||
@@ -17,4 +17,4 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@lbu/insight": "0.0.44", | ||
"@lbu/stdlib": "0.0.44", | ||
"@lbu/insight": "0.0.45", | ||
"@lbu/stdlib": "0.0.45", | ||
"mime-types": "2.1.27", | ||
@@ -39,3 +39,3 @@ "minio": "7.0.16", | ||
}, | ||
"gitHead": "7b7f5bb4365346c8e3098c0eb8a8b43ad306635f" | ||
"gitHead": "2a7bd7e726fc2f6b5709d5b4f3edfc676bb36407" | ||
} |
@@ -93,6 +93,6 @@ // Generated by @lbu/code-gen | ||
argList.push( | ||
it.bucketName ?? undefined, | ||
it.contentLength ?? undefined, | ||
it.contentType ?? undefined, | ||
it.filename ?? undefined, | ||
it.bucketName ?? null, | ||
it.contentLength ?? null, | ||
it.contentType ?? null, | ||
it.filename ?? null, | ||
it.createdAt ?? new Date(), | ||
@@ -169,4 +169,3 @@ it.updatedAt ?? new Date(), | ||
query += `fs."id" `; | ||
query += `= ANY $${idx++}::uuid[]`; | ||
argList.push(where.idIn); | ||
query += `= ANY (ARRAY['${where.idIn.join("', '")}']::uuid[])`; | ||
query += " AND "; | ||
@@ -307,3 +306,3 @@ } | ||
argList.push( | ||
it.expires ?? undefined, | ||
it.expires ?? null, | ||
JSON.stringify(it.data ?? {}), | ||
@@ -355,4 +354,3 @@ it.createdAt ?? new Date(), | ||
query += `ss."id" `; | ||
query += `= ANY $${idx++}::uuid[]`; | ||
argList.push(where.idIn); | ||
query += `= ANY (ARRAY['${where.idIn.join("', '")}']::uuid[])`; | ||
query += " AND "; | ||
@@ -393,5 +391,5 @@ } | ||
) VALUES ( | ||
${it.id ?? uuid()}, ${it.expires ?? undefined}, ${JSON.stringify( | ||
it.data ?? {}, | ||
)}, ${it.createdAt ?? new Date()}, ${it.updatedAt ?? new Date()} | ||
${it.id ?? uuid()}, ${it.expires ?? null}, ${JSON.stringify(it.data ?? {})}, ${ | ||
it.createdAt ?? new Date() | ||
}, ${it.updatedAt ?? new Date()} | ||
) ON CONFLICT("id") DO UPDATE SET | ||
@@ -413,5 +411,5 @@ "expires" = EXCLUDED."expires", "data" = EXCLUDED."data", "updatedAt" = EXCLUDED."updatedAt" | ||
) VALUES ( | ||
${it.id ?? uuid()}, ${it.expires ?? undefined}, ${JSON.stringify( | ||
it.data ?? {}, | ||
)}, ${it.createdAt ?? new Date()}, ${it.updatedAt ?? new Date()} | ||
${it.id ?? uuid()}, ${it.expires ?? null}, ${JSON.stringify(it.data ?? {})}, ${ | ||
it.createdAt ?? new Date() | ||
}, ${it.updatedAt ?? new Date()} | ||
) ON CONFLICT("expires") DO UPDATE SET | ||
@@ -506,3 +504,3 @@ "data" = EXCLUDED."data", "updatedAt" = EXCLUDED."updatedAt" | ||
it.scheduledAt ?? new Date(), | ||
it.name ?? undefined, | ||
it.name ?? null, | ||
JSON.stringify(it.data ?? {}), | ||
@@ -605,3 +603,3 @@ it.createdAt ?? new Date(), | ||
it.scheduledAt ?? new Date() | ||
}, ${it.name ?? undefined}, ${JSON.stringify(it.data ?? {})}, ${ | ||
}, ${it.name ?? null}, ${JSON.stringify(it.data ?? {})}, ${ | ||
it.createdAt ?? new Date() | ||
@@ -627,3 +625,3 @@ }, ${it.updatedAt ?? new Date()} | ||
it.scheduledAt ?? new Date() | ||
}, ${it.name ?? undefined}, ${JSON.stringify(it.data ?? {})}, ${ | ||
}, ${it.name ?? null}, ${JSON.stringify(it.data ?? {})}, ${ | ||
it.createdAt ?? new Date() | ||
@@ -630,0 +628,0 @@ }, ${it.updatedAt ?? new Date()} |
70380
1937
+ Added@lbu/insight@0.0.45(transitive)
+ Added@lbu/stdlib@0.0.45(transitive)
- Removed@lbu/insight@0.0.44(transitive)
- Removed@lbu/stdlib@0.0.44(transitive)
Updated@lbu/insight@0.0.45
Updated@lbu/stdlib@0.0.45