@voltro/plugin-governance 0.83.1 → 0.85.0
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/CHANGELOG.md +1191 -0
- package/THIRD-PARTY-NOTICES.md +71 -525
- package/dist/index.d.ts +26 -7
- package/dist/index.js +231 -151
- package/dist/rpc.d.ts +18 -18
- package/dist/rpc.js +2 -5
- package/package.json +5 -5
package/dist/rpc.d.ts
CHANGED
|
@@ -5,37 +5,37 @@ import { QueryProcedureDescriptor } from '@voltro/protocol';
|
|
|
5
5
|
import { Schema } from 'effect';
|
|
6
6
|
|
|
7
7
|
export declare const consentDescriptor: MutationProcedureDescriptor<"governance.consent", Schema.Struct<{
|
|
8
|
-
purpose:
|
|
9
|
-
granted:
|
|
8
|
+
readonly purpose: Schema.String;
|
|
9
|
+
readonly granted: Schema.Boolean;
|
|
10
10
|
}>, Schema.Struct<{
|
|
11
|
-
ok:
|
|
12
|
-
}>,
|
|
11
|
+
readonly ok: Schema.Boolean;
|
|
12
|
+
}>, Schema.Never>;
|
|
13
13
|
|
|
14
14
|
export declare const eraseDescriptor: ActionProcedureDescriptor<"governance.erase", Schema.Struct<{
|
|
15
|
-
subjectId:
|
|
16
|
-
mode: Schema.optional<Schema.
|
|
15
|
+
readonly subjectId: Schema.String;
|
|
16
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["delete", "anonymize"]>>;
|
|
17
17
|
}>, Schema.Struct<{
|
|
18
|
-
subjectId:
|
|
19
|
-
at:
|
|
20
|
-
mode:
|
|
21
|
-
affected: Schema
|
|
22
|
-
table:
|
|
23
|
-
count:
|
|
18
|
+
readonly subjectId: Schema.String;
|
|
19
|
+
readonly at: Schema.String;
|
|
20
|
+
readonly mode: Schema.String;
|
|
21
|
+
readonly affected: Schema.$Array<Schema.Struct<{
|
|
22
|
+
readonly table: Schema.String;
|
|
23
|
+
readonly count: Schema.Number;
|
|
24
24
|
}>>;
|
|
25
|
-
}>,
|
|
25
|
+
}>, Schema.Never>;
|
|
26
26
|
|
|
27
27
|
export declare const exportDescriptor: ActionProcedureDescriptor<"governance.export", Schema.Struct<{
|
|
28
|
-
subjectId:
|
|
29
|
-
}>, Schema
|
|
28
|
+
readonly subjectId: Schema.String;
|
|
29
|
+
}>, Schema.$Record<Schema.String, Schema.Unknown>, Schema.Never>;
|
|
30
30
|
|
|
31
31
|
/** Declared for the codegen (`VoltroPlugin.rpcClientDescriptors`) so each tag is
|
|
32
32
|
* emitted into the generated client group. Kept in lockstep with the exports. */
|
|
33
33
|
export declare const governanceRpcClientImports: ReadonlyArray<PluginRpcClientDescriptor>;
|
|
34
34
|
|
|
35
35
|
export declare const hasConsentDescriptor: QueryProcedureDescriptor<"governance.hasConsent", Schema.Struct<{
|
|
36
|
-
purpose:
|
|
36
|
+
readonly purpose: Schema.String;
|
|
37
37
|
}>, Schema.Struct<{
|
|
38
|
-
granted:
|
|
39
|
-
}>,
|
|
38
|
+
readonly granted: Schema.Boolean;
|
|
39
|
+
}>, Schema.Never>;
|
|
40
40
|
|
|
41
41
|
export { }
|
package/dist/rpc.js
CHANGED
|
@@ -4,16 +4,13 @@ import { ADMIN_SCOPE as t, defineAction as n, defineMutation as r, defineQuery a
|
|
|
4
4
|
var a = n({
|
|
5
5
|
name: "governance.export",
|
|
6
6
|
input: e.Struct({ subjectId: e.String }),
|
|
7
|
-
output: e.Record(
|
|
8
|
-
key: e.String,
|
|
9
|
-
value: e.Unknown
|
|
10
|
-
}),
|
|
7
|
+
output: e.Record(e.String, e.Unknown),
|
|
11
8
|
guards: [{ scope: t }]
|
|
12
9
|
}), o = n({
|
|
13
10
|
name: "governance.erase",
|
|
14
11
|
input: e.Struct({
|
|
15
12
|
subjectId: e.String,
|
|
16
|
-
mode: e.optional(e.
|
|
13
|
+
mode: e.optional(e.Literals(["delete", "anonymize"]))
|
|
17
14
|
}),
|
|
18
15
|
output: e.Struct({
|
|
19
16
|
subjectId: e.String,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/plugin-governance",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.85.0",
|
|
4
4
|
"description": "Data governance — retention policies (TTL sweep), GDPR subject export + erasure (right-to-be-forgotten), and consent recording. Builds on audit + soft-delete.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"voltro",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"node": ">=24.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@voltro/database": "0.
|
|
42
|
-
"@voltro/protocol": "0.
|
|
43
|
-
"@voltro/runtime": "0.
|
|
41
|
+
"@voltro/database": "0.85.0",
|
|
42
|
+
"@voltro/protocol": "0.85.0",
|
|
43
|
+
"@voltro/runtime": "0.85.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"effect": "
|
|
46
|
+
"effect": "4.0.1"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|