@protobase/server 0.133.0 → 0.133.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,7 +16,7 @@ const watchTable = ddl`create table if not exists ${retiredSchema}.${"writes"} (
|
|
|
16
16
|
const countFunction = ddl`create or replace function ${retiredSchema}.${"count_write"}() returns trigger language plpgsql security definer set search_path = pg_catalog, pg_temp as $retired$
|
|
17
17
|
begin
|
|
18
18
|
insert into retired.writes as counted (table_name, column_name, hour, writes)
|
|
19
|
-
values (format('%I.%I', tg_table_schema, tg_table_name), tg_argv[0], date_trunc('hour',
|
|
19
|
+
values (format('%I.%I', tg_table_schema, tg_table_name), tg_argv[0], date_trunc('hour', clock_timestamp()), 1)
|
|
20
20
|
on conflict (table_name, column_name, hour) do update set writes = counted.writes + 1;
|
|
21
21
|
return null;
|
|
22
22
|
end
|
package/dist/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/server",
|
|
3
|
-
"version": "0.133.
|
|
3
|
+
"version": "0.133.1",
|
|
4
4
|
"description": "The Protobase REST API as a Hono app, with Better Auth sign-in.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@better-auth/sso": "^1.7.12",
|
|
45
45
|
"@livekit/protocol": "1.53.1",
|
|
46
46
|
"@modelcontextprotocol/server": "^2.3.1",
|
|
47
|
-
"@protobase/layout": "0.133.
|
|
48
|
-
"@protobase/query": "0.133.
|
|
49
|
-
"@protobase/schema": "0.133.
|
|
50
|
-
"@protobase/workflow-plugins": "0.133.
|
|
51
|
-
"@protobase/workflows": "0.133.
|
|
47
|
+
"@protobase/layout": "0.133.1",
|
|
48
|
+
"@protobase/query": "0.133.1",
|
|
49
|
+
"@protobase/schema": "0.133.1",
|
|
50
|
+
"@protobase/workflow-plugins": "0.133.1",
|
|
51
|
+
"@protobase/workflows": "0.133.1",
|
|
52
52
|
"@react-email/render": "^2.1.0",
|
|
53
53
|
"@react-pdf/primitives": "^4.4.0",
|
|
54
54
|
"@react-pdf/renderer": "^4.9.1",
|