@owlmeans/marketing-consent-postgres 0.1.18-rc.1 → 0.1.18-rc.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
CHANGED
|
@@ -6,7 +6,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
6
6
|
your project's skill store (`.agents/skills/`):
|
|
7
7
|
|
|
8
8
|
```sh
|
|
9
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
9
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.36
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/marketing-consent-postgres",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-09-
|
|
4
|
+
"version": "0.1.18-rc.3",
|
|
5
|
+
"generatedAt": "2026-09-22T22:22:19.442Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -8,7 +8,7 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/marketing-consent-postgres
|
|
9
9
|
|
|
10
10
|
**Layer:** Infra extension
|
|
11
|
-
**Install:** `"@owlmeans/marketing-consent-postgres": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/marketing-consent-postgres": "^0.1.18-rc.3"` in `dependencies` (peers `pg`, `ajv`)
|
|
12
12
|
|
|
13
13
|
The Postgres counterpart to `@owlmeans/server-marketing-consent`'s two resources. This package is
|
|
14
14
|
for a **generated target project**, which runs Postgres — the platform's own equivalent for
|
|
@@ -46,9 +46,9 @@ that accidentally reshapes `decisions` into something path-addressable).
|
|
|
46
46
|
|
|
47
47
|
## Indexes
|
|
48
48
|
|
|
49
|
-
- `idx_mc_state_subject` — `{ columns: ['subject'], unique: true }`: one state row per subject
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
- `idx_mc_state_subject` — `{ columns: ['subject'], unique: true }`: one state row per subject.
|
|
50
|
+
The service addresses a person's row by `subject` (the row's `id` is minted by Postgres), so
|
|
51
|
+
this index is what makes that address unique, and what a racing first save collides on.
|
|
52
52
|
- `idx_mc_state_user` — `{ columns: ['userId'] }`: lookups across a user's profiles/entities.
|
|
53
53
|
- `idx_mc_log_subject_key` — `{ columns: ['subject', 'key', 'decidedAt'] }`: a subject's history
|
|
54
54
|
for one consent key, newest first.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/marketing-consent-postgres",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Postgres-backed resources for @owlmeans/marketing-consent — the state and log tables of a generated target project, compiled from the shared AJV schema in @owlmeans/server-marketing-consent.",
|
|
6
6
|
"type": "module",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@owlmeans/context": "^0.1.18-rc.
|
|
27
|
-
"@owlmeans/marketing-consent": "^0.1.18-rc.
|
|
28
|
-
"@owlmeans/postgres-resource": "^0.1.18-rc.
|
|
29
|
-
"@owlmeans/resource": "^0.1.18-rc.
|
|
30
|
-
"@owlmeans/server-marketing-consent": "^0.1.18-rc.
|
|
26
|
+
"@owlmeans/context": "^0.1.18-rc.32",
|
|
27
|
+
"@owlmeans/marketing-consent": "^0.1.18-rc.2",
|
|
28
|
+
"@owlmeans/postgres-resource": "^0.1.18-rc.34",
|
|
29
|
+
"@owlmeans/resource": "^0.1.18-rc.34",
|
|
30
|
+
"@owlmeans/server-marketing-consent": "^0.1.18-rc.3"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"ajv": "*",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@owlmeans/dep-config": "workspace:*",
|
|
38
|
-
"@owlmeans/test": "^0.1.18-rc.
|
|
39
|
-
"@owlmeans/test-integration": "^0.1.18-rc.
|
|
38
|
+
"@owlmeans/test": "^0.1.18-rc.32",
|
|
39
|
+
"@owlmeans/test-integration": "^0.1.18-rc.29",
|
|
40
40
|
"@types/bun": "^1.4.0",
|
|
41
41
|
"@types/pg": "^8.20.4",
|
|
42
42
|
"ajv": "^8.17.1",
|