@webda/postgres 4.0.0-beta.1 → 4.0.0-beta.3
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.
- package/README.md +125 -0
- package/lib/index.d.ts +4 -1
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/pgpool.d.ts +40 -0
- package/lib/pgpool.d.ts.map +1 -0
- package/lib/pgpool.js +101 -0
- package/lib/pgpool.js.map +1 -0
- package/lib/postgrespubsub.service.d.ts +131 -0
- package/lib/postgrespubsub.service.d.ts.map +1 -0
- package/lib/postgrespubsub.service.js +208 -0
- package/lib/postgrespubsub.service.js.map +1 -0
- package/lib/postgresqueue.service.d.ts +144 -0
- package/lib/postgresqueue.service.d.ts.map +1 -0
- package/lib/postgresqueue.service.js +210 -0
- package/lib/postgresqueue.service.js.map +1 -0
- package/lib/postgresstore.service.d.ts +132 -0
- package/lib/postgresstore.service.d.ts.map +1 -0
- package/lib/postgresstore.service.js +327 -0
- package/lib/postgresstore.service.js.map +1 -0
- package/lib/sqlstore.d.ts +122 -40
- package/lib/sqlstore.d.ts.map +1 -0
- package/lib/sqlstore.js +313 -103
- package/lib/sqlstore.js.map +1 -1
- package/package.json +33 -30
- package/test/config.json +2 -53
- package/webda.module.json +2386 -2414
- package/lib/postgresstore.d.ts +0 -114
- package/lib/postgresstore.js +0 -271
- package/lib/postgresstore.js.map +0 -1
package/test/config.json
CHANGED
|
@@ -1,56 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 2,
|
|
3
|
-
"parameters": {
|
|
4
|
-
|
|
5
|
-
"postgresqlServer": {
|
|
6
|
-
"host": "localhost",
|
|
7
|
-
"user": "webda.io",
|
|
8
|
-
"database": "webda.io",
|
|
9
|
-
"password": "webda.io",
|
|
10
|
-
"statement_timeout": 60000,
|
|
11
|
-
"max": 2
|
|
12
|
-
},
|
|
13
|
-
"usePool": true,
|
|
14
|
-
"sessionSecret": "Lp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5ENLp4B72FPU5n6q4EpVRGyPFnZp5cgLRPScVWixW52Yq84hD4MmnfVfgxKQ5EN"
|
|
15
|
-
},
|
|
16
|
-
"services": {
|
|
17
|
-
"ConsoleLogger": {
|
|
18
|
-
"type": "Webda/ConsoleLogger",
|
|
19
|
-
"logLevel": "INFO"
|
|
20
|
-
},
|
|
21
|
-
"IdentsMapper": {
|
|
22
|
-
"type": "Webda/Mapper",
|
|
23
|
-
"source": "idents",
|
|
24
|
-
"targetAttribute": "idents",
|
|
25
|
-
"target": "users",
|
|
26
|
-
"attribute": "_user",
|
|
27
|
-
"fields": "type,_lastUpdate,counter",
|
|
28
|
-
"cascade": true
|
|
29
|
-
},
|
|
30
|
-
"idents": {
|
|
31
|
-
"expose": {
|
|
32
|
-
"restrict": {
|
|
33
|
-
"create": true,
|
|
34
|
-
"update": true,
|
|
35
|
-
"get": true
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"asyncDelete": true,
|
|
39
|
-
"type": "PostgresStore",
|
|
40
|
-
"table": "idents",
|
|
41
|
-
"model": "Webda/Ident"
|
|
42
|
-
},
|
|
43
|
-
"users": {
|
|
44
|
-
"expose": {
|
|
45
|
-
"url": "/users",
|
|
46
|
-
"restrict": {
|
|
47
|
-
"authentication": true,
|
|
48
|
-
"create": true
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"type": "PostgresStore",
|
|
52
|
-
"table": "users",
|
|
53
|
-
"model": "Webda/User"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
3
|
+
"parameters": {},
|
|
4
|
+
"services": {}
|
|
56
5
|
}
|